Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idazure.service_fabric_mesh.applications

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
applicationResourceNametextfield from the properties object
debug_paramstextfield from the properties object
diagnosticstextfield from the properties object
health_statetextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
service_namestextfield from the properties object
servicestextfield from the properties object
statustextfield from the properties object
status_detailstextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
unhealthy_evaluationtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationResourceName, resourceGroupName, subscriptionIdGets the information about the application resource with the given name. The information include the description and other properties of the application.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets the information about all application resources in a given resource group. The information include the description and other properties of the Application.
list_by_subscriptionSELECTsubscriptionIdGets the information about all application resources in a given resource group. The information include the description and other properties of the application.
createINSERTapplicationResourceName, resourceGroupName, subscriptionId, data__propertiesCreates an application resource with the specified name, description and properties. If an application resource with the same name exists, then it is updated with the specified description and properties.
deleteDELETEapplicationResourceName, resourceGroupName, subscriptionIdDeletes the application resource identified by the name.

SELECT examples

Gets the information about all application resources in a given resource group. The information include the description and other properties of the application.

SELECT
description,
applicationResourceName,
debug_params,
diagnostics,
health_state,
location,
provisioning_state,
resourceGroupName,
service_names,
services,
status,
status_details,
subscriptionId,
tags,
unhealthy_evaluation
FROM azure.service_fabric_mesh.vw_applications
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.service_fabric_mesh.applications (
applicationResourceName,
resourceGroupName,
subscriptionId,
data__properties,
tags,
location,
properties
)
SELECT
'{{ applicationResourceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

DELETE example

Deletes the specified applications resource.

/*+ delete */
DELETE FROM azure.service_fabric_mesh.applications
WHERE applicationResourceName = '{{ applicationResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';