professional_service_subscription_levels
Creates, updates, deletes, gets or lists a professional_service_subscription_levels
resource.
Overview
Name | professional_service_subscription_levels |
Type | Resource |
Id | azure_extras.professional_services.professional_service_subscription_levels |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The resource uri |
name | string | The name of the resource |
properties | object | professionalService properties |
tags | object | the resource tags. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, resourceName, subscriptionId | Gets information about the specified Subscription Level ProfessionalService. |
list_by_azure_subscription | SELECT | subscriptionId | Gets information about all the Subscription Level ProfessionalService in a certain Azure subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Gets information about all the Subscription Level ProfessionalService in a certain resource group. |
create_or_update | INSERT | resourceGroupName, resourceName, subscriptionId | Creates or updates a ProfessionalService resource. |
delete | DELETE | resourceGroupName, resourceName, subscriptionId | Deletes 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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: tags
value: []
- name: location
value: string
- name: properties
value:
- name: offerId
value: string
- name: publisherId
value: string
- name: skuId
value: string
- name: autoRenew
value: boolean
- name: quoteId
value: string
- name: storeFront
value: string
- name: termUnit
value: string
- name: billingPeriod
value: string
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 }}';