Skip to main content

operator_api_connections

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

Overview

Nameoperator_api_connections
TypeResource
Idazure.programmableconnectivity.operator_api_connections

Fields

NameDatatypeDescription
account_typetextfield from the properties object
app_idtextfield from the properties object
app_secrettextfield from the properties object
camara_api_nametextfield from the properties object
configured_applicationtextfield from the properties object
gateway_idtextfield from the properties object
locationtextThe geo-location where the resource lives
operatorApiConnectionNametextfield from the properties object
operator_api_plan_idtextfield from the properties object
operator_nametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
saas_propertiestextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECToperatorApiConnectionName, resourceGroupName, subscriptionIdGet an Operator API Connection.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList OperatorApiConnection resources by resource group.
list_by_subscriptionSELECTsubscriptionIdList OperatorApiConnection resources by subscription ID.
createINSERToperatorApiConnectionName, resourceGroupName, subscriptionIdCreate an Operator API Connection.
deleteDELETEoperatorApiConnectionName, resourceGroupName, subscriptionIdDelete an Operator API Connection.
updateUPDATEoperatorApiConnectionName, resourceGroupName, subscriptionIdUpdate an Operator API Connection.

SELECT examples

List OperatorApiConnection resources by subscription ID.

SELECT
account_type,
app_id,
app_secret,
camara_api_name,
configured_application,
gateway_id,
location,
operatorApiConnectionName,
operator_api_plan_id,
operator_name,
provisioning_state,
resourceGroupName,
saas_properties,
status,
subscriptionId,
tags
FROM azure.programmableconnectivity.vw_operator_api_connections
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.programmableconnectivity.operator_api_connections (
operatorApiConnectionName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ operatorApiConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a operator_api_connections resource.

/*+ update */
UPDATE azure.programmableconnectivity.operator_api_connections
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
operatorApiConnectionName = '{{ operatorApiConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified operator_api_connections resource.

/*+ delete */
DELETE FROM azure.programmableconnectivity.operator_api_connections
WHERE operatorApiConnectionName = '{{ operatorApiConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';