Skip to main content

orchestrator_instance_services

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

Overview

Nameorchestrator_instance_services
TypeResource
Idazure.delegated_network.orchestrator_instance_services

Fields

NameDatatypeDescription
idstringAn identifier that represents the resource.
namestringThe name of the resource.
identityobject
kindstringThe kind of workbook. Choices are user and shared.
locationstringLocation of the resource.
propertiesobjectProperties of orchestrator
tagsobjectThe resource tags.
typestringThe type of resource.

Methods

NameAccessible byRequired ParamsDescription
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGet all the OrchestratorInstances resources in a resource group.
list_by_subscriptionSELECTsubscriptionIdGet all the orchestratorInstance resources in a subscription.
createINSERTresourceGroupName, resourceName, subscriptionIdCreate a orchestrator instance
deleteDELETEresourceGroupName, resourceName, subscriptionIdDeletes the Orchestrator Instance
patchUPDATEresourceGroupName, resourceName, subscriptionIdUpdate Orchestrator Instance

SELECT examples

Get all the orchestratorInstance resources in a subscription.

SELECT
id,
name,
identity,
kind,
location,
properties,
tags,
type
FROM azure.delegated_network.orchestrator_instance_services
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.delegated_network.orchestrator_instance_services (
resourceGroupName,
resourceName,
subscriptionId,
location,
kind,
identity,
tags,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ kind }}',
'{{ identity }}',
'{{ tags }}',
'{{ properties }}'
;

UPDATE example

Updates a orchestrator_instance_services resource.

/*+ update */
UPDATE azure.delegated_network.orchestrator_instance_services
SET
tags = '{{ tags }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified orchestrator_instance_services resource.

/*+ delete */
DELETE FROM azure.delegated_network.orchestrator_instance_services
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';