application_types
Creates, updates, deletes, gets or lists a application_types
resource.
Overview
Name | application_types |
Type | Resource |
Id | azure.service_fabric_managed_clusters.application_types |
Fields
- vw_application_types
- application_types
Name | Datatype | Description |
---|---|---|
id | text | Azure resource identifier. |
name | text | Azure resource name. |
applicationTypeName | text | field from the properties object |
clusterName | text | field from the properties object |
location | text | Resource location depends on the parent resource. |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Azure resource tags. |
type | text | Azure resource type. |
Name | Datatype | Description |
---|---|---|
id | string | Azure resource identifier. |
name | string | Azure resource name. |
location | string | Resource location depends on the parent resource. |
properties | object | The application type name properties |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Azure resource tags. |
type | string | Azure resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationTypeName, clusterName, resourceGroupName, subscriptionId | Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric managed cluster resource. |
list | SELECT | clusterName, resourceGroupName, subscriptionId | Gets all application type name resources created or in the process of being created in the Service Fabric managed cluster resource. |
create_or_update | INSERT | applicationTypeName, clusterName, resourceGroupName, subscriptionId | Create or update a Service Fabric managed application type name resource with the specified name. |
delete | DELETE | applicationTypeName, clusterName, resourceGroupName, subscriptionId | Delete a Service Fabric managed application type name resource with the specified name. |
update | UPDATE | applicationTypeName, clusterName, resourceGroupName, subscriptionId | Updates 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.
- vw_application_types
- application_types
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 }}';
SELECT
id,
name,
location,
properties,
systemData,
tags,
type
FROM azure.service_fabric_managed_clusters.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
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 }}';