Skip to main content

application_type_versions

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

Overview

Nameapplication_type_versions
TypeResource
Idazure.service_fabric.application_type_versions

Fields

NameDatatypeDescription
idtextAzure resource identifier.
nametextAzure resource name.
app_package_urltextfield from the properties object
applicationTypeNametextfield from the properties object
clusterNametextfield from the properties object
default_parameter_listtextfield 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.
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationTypeName, clusterName, resourceGroupName, subscriptionId, versionGet a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource.
listSELECTapplicationTypeName, clusterName, resourceGroupName, subscriptionIdGets all application type version resources created or in the process of being created in the Service Fabric application type name resource.
create_or_updateINSERTapplicationTypeName, clusterName, resourceGroupName, subscriptionId, versionCreate or update a Service Fabric application type version resource with the specified name.
deleteDELETEapplicationTypeName, clusterName, resourceGroupName, subscriptionId, versionDelete a Service Fabric application type version resource with the specified name.

SELECT examples

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

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

INSERT example

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

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

DELETE example

Deletes the specified application_type_versions resource.

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