Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idazure.service_fabric_mesh.applications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectThis type describes properties of an application resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, applicationResourceNameapi-versionGets the information about the application resource with the given name. The information include the description and other properties of the application.
list_by_resource_groupselectsubscriptionId, resourceGroupNameapi-versionGets the information about all application resources in a given resource group. The information include the description and other properties of the Application.
list_by_subscriptionselectsubscriptionIdapi-versionGets the information about all application resources in a given resource group. The information include the description and other properties of the application.
createinsertsubscriptionId, resourceGroupName, applicationResourceName, data__propertiesapi-versionCreates 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.
deletedeletesubscriptionId, resourceGroupName, applicationResourceNameapi-versionDeletes the application resource identified by the name.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
applicationResourceNamestringThe identity of the application.
resourceGroupNamestringAzure resource group name
subscriptionIdstringThe customer subscription identifier
api-versionstringThe version of the API. This parameter is required and its value must be 2018-09-01-preview.

SELECT examples

Gets the information about the application resource with the given name. The information include the description and other properties of the application.

SELECT
location,
properties,
tags
FROM azure.service_fabric_mesh.applications
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND applicationResourceName = '{{ applicationResourceName }}' -- required
AND api-version = '{{ api-version }}'
;

INSERT examples

Creates 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.

INSERT INTO azure.service_fabric_mesh.applications (
data__tags,
data__location,
data__properties,
subscriptionId,
resourceGroupName,
applicationResourceName,
api-version
)
SELECT
'{{ tags }}',
'{{ location }}',
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ applicationResourceName }}',
'{{ api-version }}'
RETURNING
location,
properties,
tags
;

DELETE examples

Deletes the application resource identified by the name.

DELETE FROM azure.service_fabric_mesh.applications
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND applicationResourceName = '{{ applicationResourceName }}' --required
AND api-version = '{{ api-version }}'
;