Skip to main content

professional_service_subscription_levels

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

Overview

Nameprofessional_service_subscription_levels
TypeResource
Idazure_extras.professional_services.professional_service_subscription_levels

Fields

NameDatatypeDescription
idstringThe resource uri
namestringThe name of the resource
propertiesobjectprofessionalService properties
tagsobjectthe resource tags.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, resourceName, subscriptionIdGets information about the specified Subscription Level ProfessionalService.
list_by_azure_subscriptionSELECTsubscriptionIdGets information about all the Subscription Level ProfessionalService in a certain Azure subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets information about all the Subscription Level ProfessionalService in a certain resource group.
create_or_updateINSERTresourceGroupName, resourceName, subscriptionIdCreates or updates a ProfessionalService resource.
deleteDELETEresourceGroupName, resourceName, subscriptionIdDeletes the specified ProfessionalService.

SELECT examples

Gets information about all the Subscription Level ProfessionalService in a certain Azure subscription.

SELECT
id,
name,
properties,
tags,
type
FROM azure_extras.professional_services.professional_service_subscription_levels
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_extras.professional_services.professional_service_subscription_levels (
resourceGroupName,
resourceName,
subscriptionId,
name,
tags,
location,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ name }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

DELETE example

Deletes the specified professional_service_subscription_levels resource.

/*+ delete */
DELETE FROM azure_extras.professional_services.professional_service_subscription_levels
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';