application_types
Creates, updates, deletes, gets or lists a application_types
resource.
Overview
Name | application_types |
Type | Resource |
Id | azure.service_fabric.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 |
etag | text | Azure resource etag. |
location | text | It will be deprecated in New API, 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. |
etag | string | Azure resource etag. |
location | string | It will be deprecated in New API, 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 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 cluster resource. |
create_or_update | INSERT | applicationTypeName, clusterName, resourceGroupName, subscriptionId | Create or update a Service Fabric application type name resource with the specified name. |
delete | DELETE | applicationTypeName, clusterName, resourceGroupName, subscriptionId | Delete a Service Fabric application type name resource with the specified name. |
SELECT
examples
Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource.
- vw_application_types
- application_types
SELECT
id,
name,
applicationTypeName,
clusterName,
etag,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
tags,
type
FROM azure.service_fabric.vw_application_types
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
etag,
location,
properties,
systemData,
tags,
type
FROM azure.service_fabric.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.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: etag
value: string
- 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
DELETE
example
Deletes the specified application_types
resource.
/*+ delete */
DELETE FROM azure.service_fabric.application_types
WHERE applicationTypeName = '{{ applicationTypeName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';