Skip to main content

application_types

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

Overview

Nameapplication_types
TypeResource
Idazure.service_fabric.application_types

Fields

NameDatatypeDescription
idtextAzure resource identifier.
nametextAzure resource name.
applicationTypeNametextfield from the properties object
clusterNametextfield from the properties object
etagtextAzure resource etag.
locationtextIt will be deprecated in New API, resource location depends on the parent resource.
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextAzure resource tags.
typetextAzure resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationTypeName, clusterName, resourceGroupName, subscriptionIdGet a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource.
listSELECTclusterName, resourceGroupName, subscriptionIdGets all application type name resources created or in the process of being created in the Service Fabric cluster resource.
create_or_updateINSERTapplicationTypeName, clusterName, resourceGroupName, subscriptionIdCreate or update a Service Fabric application type name resource with the specified name.
deleteDELETEapplicationTypeName, clusterName, resourceGroupName, subscriptionIdDelete a Service Fabric application type name resource with the specified name.

SELECT examples

Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource.

SELECT
id,
name,
applicationTypeName,
clusterName,
etag,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
tags,
type
FROM azure.service_fabric.vw_application_types
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.service_fabric.application_types (
applicationTypeName,
clusterName,
resourceGroupName,
subscriptionId,
properties,
location,
tags,
systemData
)
SELECT
'{{ applicationTypeName }}',
'{{ clusterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ systemData }}'
;

DELETE example

Deletes the specified application_types resource.

/*+ delete */
DELETE FROM azure.service_fabric.application_types
WHERE applicationTypeName = '{{ applicationTypeName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';