Skip to main content

application_types

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

Overview

Nameapplication_types
TypeResource
Idazure.service_fabric.application_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
etagstringAzure resource etag.
locationstringIt will be deprecated in New API, resource location depends on the parent resource.
provisioningStatestringThe current deployment or provisioning state, which only appears in the response.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectAzure resource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cluster_name, application_type_name, subscription_idGets a Service Fabric application type name resource. Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource.
listselectresource_group_name, cluster_name, subscription_idGets the list of application type name resources created in the specified Service Fabric cluster resource. Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource.
create_or_updateinsertresource_group_name, cluster_name, application_type_name, subscription_idCreates or updates a Service Fabric application type name resource. Create or update a Service Fabric application type name resource with the specified name.
create_or_updatereplaceresource_group_name, cluster_name, application_type_name, subscription_idCreates or updates a Service Fabric application type name resource. Create or update a Service Fabric application type name resource with the specified name.
deletedeleteresource_group_name, cluster_name, application_type_name, subscription_idDeletes a Service Fabric application type name resource. Delete a Service Fabric 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
application_type_namestringThe name of the application type name resource. Required.
cluster_namestringThe name of the cluster resource. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

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

SELECT
id,
name,
etag,
location,
provisioningState,
systemData,
tags,
type
FROM azure.service_fabric.application_types
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND application_type_name = '{{ application_type_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

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

INSERT INTO azure.service_fabric.application_types (
properties,
location,
tags,
resource_group_name,
cluster_name,
application_type_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ resource_group_name }}',
'{{ cluster_name }}',
'{{ application_type_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type
;

REPLACE examples

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

REPLACE azure.service_fabric.application_types
SET
properties = '{{ properties }}',
location = '{{ location }}',
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND application_type_name = '{{ application_type_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type;

DELETE examples

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

DELETE FROM azure.service_fabric.application_types
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND application_type_name = '{{ application_type_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;