Skip to main content

application_type_versions

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

Overview

Nameapplication_type_versions
TypeResource
Idazure.service_fabric_managed_clusters.application_type_versions

Fields

The following fields are returned by SELECT queries:

The operation completed successfully.

NameDatatypeDescription
idstringAzure resource identifier.
namestringAzure resource name.
locationstringResource location depends on the parent resource.
propertiesobjectThe properties of the application type version resource.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
tagsobjectAzure resource tags.
typestringAzure resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, clusterName, applicationTypeName, versionapi-versionGet a Service Fabric managed application type version resource created or in the process of being created in the Service Fabric managed application type name resource.
list_by_application_typesselectsubscriptionId, resourceGroupName, clusterName, applicationTypeNameapi-versionGets all application type version resources created or in the process of being created in the Service Fabric managed application type name resource.
create_or_updateinsertsubscriptionId, resourceGroupName, clusterName, applicationTypeName, versionapi-versionCreate or update a Service Fabric managed application type version resource with the specified name.
updateupdatesubscriptionId, resourceGroupName, clusterName, applicationTypeName, versionapi-versionUpdates the tags of an application type version resource of a given managed cluster.
deletedeletesubscriptionId, resourceGroupName, clusterName, applicationTypeName, versionapi-versionDelete a Service Fabric managed application type version resource with the specified 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
applicationTypeNamestringThe name of the application type name resource.
clusterNamestringThe name of the cluster resource.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringThe customer subscription identifier.
versionstringThe application type version.
api-versionstringThe version of the Service Fabric resource provider API. This is a required parameter and it's value must be "2024-06-01-preview" for this specification.

SELECT examples

Get a Service Fabric managed application type version resource created or in the process of being created in the Service Fabric managed application type name resource.

SELECT
id,
name,
location,
properties,
systemData,
tags,
type
FROM azure.service_fabric_managed_clusters.application_type_versions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND applicationTypeName = '{{ applicationTypeName }}' -- required
AND version = '{{ version }}' -- required
AND api-version = '{{ api-version }}'
;

INSERT examples

Create or update a Service Fabric managed application type version resource with the specified name.

INSERT INTO azure.service_fabric_managed_clusters.application_type_versions (
data__properties,
data__location,
data__tags,
subscriptionId,
resourceGroupName,
clusterName,
applicationTypeName,
version,
api-version
)
SELECT
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ clusterName }}',
'{{ applicationTypeName }}',
'{{ version }}',
'{{ api-version }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Updates the tags of an application type version resource of a given managed cluster.

UPDATE azure.service_fabric_managed_clusters.application_type_versions
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND applicationTypeName = '{{ applicationTypeName }}' --required
AND version = '{{ version }}' --required
AND api-version = '{{ api-version}}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Delete a Service Fabric managed application type version resource with the specified name.

DELETE FROM azure.service_fabric_managed_clusters.application_type_versions
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND applicationTypeName = '{{ applicationTypeName }}' --required
AND version = '{{ version }}' --required
AND api-version = '{{ api-version }}'
;