Skip to main content

application_types

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

Overview

Nameapplication_types
TypeResource
Idazure.service_fabric_managed_clusters.application_types

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 application type name properties
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, applicationTypeNameapi-versionGet a Service Fabric application type name resource created or in the process of being created in the Service Fabric managed cluster resource.
listselectsubscriptionId, resourceGroupName, clusterNameapi-versionGets all application type name resources created or in the process of being created in the Service Fabric managed cluster resource.
create_or_updateinsertsubscriptionId, resourceGroupName, clusterName, applicationTypeNameapi-versionCreate or update a Service Fabric managed application type name resource with the specified name.
updateupdatesubscriptionId, resourceGroupName, clusterName, applicationTypeNameapi-versionUpdates the tags of an application type resource of a given managed cluster.
deletedeletesubscriptionId, resourceGroupName, clusterName, applicationTypeNameapi-versionDelete a Service Fabric managed application type name 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.
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 application type name resource created or in the process of being created in the Service Fabric managed cluster resource.

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

INSERT examples

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

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

UPDATE examples

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

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

DELETE examples

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

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