application_types
Creates, updates, deletes, gets or lists an application_types resource.
Overview
| Name | application_types |
| Type | Resource |
| Id | azure.service_fabric.application_types |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
etag | string | Azure resource etag. |
location | string | It will be deprecated in New API, resource location depends on the parent resource. |
provisioningState | string | The current deployment or provisioning state, which only appears in the response. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Azure resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
etag | string | Azure resource etag. |
location | string | It will be deprecated in New API, resource location depends on the parent resource. |
provisioningState | string | The current deployment or provisioning state, which only appears in the response. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Azure resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, cluster_name, application_type_name, subscription_id | 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. | |
list | select | resource_group_name, cluster_name, subscription_id | Gets 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_update | insert | resource_group_name, cluster_name, application_type_name, subscription_id | Creates 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_update | replace | resource_group_name, cluster_name, application_type_name, subscription_id | Creates or updates a Service Fabric application type name resource. Create or update a Service Fabric application type name resource with the specified name. | |
delete | delete | resource_group_name, cluster_name, application_type_name, subscription_id | Deletes 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.
| Name | Datatype | Description |
|---|---|---|
application_type_name | string | The name of the application type name resource. Required. |
cluster_name | string | The name of the cluster resource. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get
- list
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
;
Gets 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.
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 subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: application_types
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the application_types resource.
- name: cluster_name
value: "{{ cluster_name }}"
description: Required parameter for the application_types resource.
- name: application_type_name
value: "{{ application_type_name }}"
description: Required parameter for the application_types resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the application_types resource.
- name: properties
description: |
The application type name properties.
value:
provisioningState: "{{ provisioningState }}"
- name: location
value: "{{ location }}"
description: |
It will be deprecated in New API, resource location depends on the parent resource.
- name: tags
value: "{{ tags }}"
description: |
Azure resource tags.
REPLACE examples
- create_or_update
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
- delete
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
;