observability_services
Creates, updates, deletes, gets or lists a observability_services
resource.
Overview
Name | observability_services |
Type | Resource |
Id | azure_extras.mobile_packet_core.observability_services |
Fields
- vw_observability_services
- observability_services
Name | Datatype | Description |
---|---|---|
cluster_service | text | field from the properties object |
component_parameters | text | field from the properties object |
location | text | The geo-location where the resource lives |
observabilityServiceName | text | field from the properties object |
operational_status | text | field from the properties object |
provisioning_state | text | field from the properties object |
release_version | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Observability Service Properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | observabilityServiceName, resourceGroupName, subscriptionId | Get a ObservabilityServiceResource |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List all Observability Services by Resource Group. |
list_by_subscription | SELECT | subscriptionId | List all Observability Services by Subscription ID. |
create_or_update | INSERT | observabilityServiceName, resourceGroupName, subscriptionId | Create a ObservabilityServiceResource |
delete | DELETE | observabilityServiceName, resourceGroupName, subscriptionId | Delete a ObservabilityServiceResource |
update_tags | EXEC | observabilityServiceName, resourceGroupName, subscriptionId | Update a ObservabilityServiceResource |
SELECT
examples
List all Observability Services by Subscription ID.
- vw_observability_services
- observability_services
SELECT
cluster_service,
component_parameters,
location,
observabilityServiceName,
operational_status,
provisioning_state,
release_version,
resourceGroupName,
subscriptionId,
tags
FROM azure_extras.mobile_packet_core.vw_observability_services
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure_extras.mobile_packet_core.observability_services
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new observability_services
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.mobile_packet_core.observability_services (
observabilityServiceName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ observabilityServiceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: componentParameters
value:
- - name: type
value: []
- name: parameters
value: []
- name: secrets
value: []
- name: clusterService
value: []
- name: releaseVersion
value: []
- name: operationalStatus
value:
- name: workload
value: string
- name: healthCheck
value: string
- name: tags
value: object
- name: location
value: string
DELETE
example
Deletes the specified observability_services
resource.
/*+ delete */
DELETE FROM azure_extras.mobile_packet_core.observability_services
WHERE observabilityServiceName = '{{ observabilityServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';