Skip to main content

application_types

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

Overview

Nameapplication_types
TypeResource
Idazure.service_fabric_managed_clusters.application_types

Fields

NameDatatypeDescription
idtextAzure resource identifier.
nametextAzure resource name.
applicationTypeNametextfield from the properties object
clusterNametextfield from the properties object
locationtextResource 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 managed cluster resource.
listSELECTclusterName, resourceGroupName, subscriptionIdGets all application type name resources created or in the process of being created in the Service Fabric managed cluster resource.
create_or_updateINSERTapplicationTypeName, clusterName, resourceGroupName, subscriptionIdCreate or update a Service Fabric managed application type name resource with the specified name.
deleteDELETEapplicationTypeName, clusterName, resourceGroupName, subscriptionIdDelete a Service Fabric managed application type name resource with the specified name.
updateUPDATEapplicationTypeName, clusterName, resourceGroupName, subscriptionIdUpdates the tags of an application type resource of a given managed cluster.

SELECT examples

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

SELECT
id,
name,
applicationTypeName,
clusterName,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
tags,
type
FROM azure.service_fabric_managed_clusters.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_managed_clusters.application_types (
applicationTypeName,
clusterName,
resourceGroupName,
subscriptionId,
properties,
location,
tags,
systemData
)
SELECT
'{{ applicationTypeName }}',
'{{ clusterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ systemData }}'
;

UPDATE example

Updates a application_types resource.

/*+ update */
UPDATE azure.service_fabric_managed_clusters.application_types
SET
tags = '{{ tags }}'
WHERE
applicationTypeName = '{{ applicationTypeName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified application_types resource.

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