applications
Creates, updates, deletes, gets or lists a applications
resource.
Overview
Name | applications |
Type | Resource |
Id | azure.service_fabric_mesh.applications |
Fields
- vw_applications
- applications
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
applicationResourceName | text | field from the properties object |
debug_params | text | field from the properties object |
diagnostics | text | field from the properties object |
health_state | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
service_names | text | field from the properties object |
services | text | field from the properties object |
status | text | field from the properties object |
status_details | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
unhealthy_evaluation | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | This type describes properties of an application resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationResourceName, resourceGroupName, subscriptionId | Gets the information about the application resource with the given name. The information include the description and other properties of the application. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Gets the information about all application resources in a given resource group. The information include the description and other properties of the Application. |
list_by_subscription | SELECT | subscriptionId | Gets the information about all application resources in a given resource group. The information include the description and other properties of the application. |
create | INSERT | applicationResourceName, resourceGroupName, subscriptionId, data__properties | Creates an application resource with the specified name, description and properties. If an application resource with the same name exists, then it is updated with the specified description and properties. |
delete | DELETE | applicationResourceName, resourceGroupName, subscriptionId | Deletes the application resource identified by the name. |
SELECT
examples
Gets the information about all application resources in a given resource group. The information include the description and other properties of the application.
- vw_applications
- applications
SELECT
description,
applicationResourceName,
debug_params,
diagnostics,
health_state,
location,
provisioning_state,
resourceGroupName,
service_names,
services,
status,
status_details,
subscriptionId,
tags,
unhealthy_evaluation
FROM azure.service_fabric_mesh.vw_applications
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.service_fabric_mesh.applications
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new applications
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.service_fabric_mesh.applications (
applicationResourceName,
resourceGroupName,
subscriptionId,
data__properties,
tags,
location,
properties
)
SELECT
'{{ applicationResourceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: provisioningState
value: string
- name: description
value: string
- name: services
value:
- - name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: provisioningState
value: string
- name: osType
value: []
- name: codePackages
value:
- - name: name
value: string
- name: image
value: string
- name: imageRegistryCredential
value:
- name: server
value: string
- name: username
value: string
- name: password
value: string
- name: entrypoint
value: string
- name: commands
value:
- string
- name: environmentVariables
value:
- - name: name
value: string
- name: value
value: string
- name: settings
value:
- - name: name
value: string
- name: value
value: string
- name: labels
value:
- - name: name
value: string
- name: value
value: string
- name: endpoints
value:
- - name: name
value: string
- name: port
value: integer
- name: resources
value:
- name: requests
value:
- name: memoryInGB
value: number
- name: cpu
value: number
- name: limits
value:
- name: memoryInGB
value: number
- name: cpu
value: number
- name: volumeRefs
value:
- - name: name
value: string
- name: readOnly
value: boolean
- name: destinationPath
value: string
- name: volumes
value:
- - name: name
value: string
- name: readOnly
value: boolean
- name: destinationPath
value: string
- name: creationParameters
value:
- name: kind
value: []
- name: description
value: string
- name: diagnostics
value:
- name: enabled
value: boolean
- name: sinkRefs
value:
- string
- name: reliableCollectionsRefs
value:
- - name: name
value: string
- name: doNotPersistState
value: boolean
- name: instanceView
value:
- name: restartCount
value: integer
- name: currentState
value:
- name: state
value: string
- name: startTime
value: string
- name: exitCode
value: string
- name: finishTime
value: string
- name: detailStatus
value: string
- name: events
value:
- - name: name
value: string
- name: count
value: integer
- name: firstTimestamp
value: string
- name: lastTimestamp
value: string
- name: message
value: string
- name: type
value: string
- name: networkRefs
value:
- - name: name
value: string
- name: endpointRefs
value:
- - name: name
value: string
- name: description
value: string
- name: replicaCount
value: integer
- name: autoScalingPolicies
value:
- - name: name
value: string
- name: trigger
value:
- name: kind
value: []
- name: mechanism
value:
- name: kind
value: []
- name: status
value: []
- name: statusDetails
value: string
- name: healthState
value: []
- name: unhealthyEvaluation
value: string
- name: diagnostics
value:
- name: sinks
value:
- - name: kind
value: []
- name: name
value: string
- name: description
value: string
- name: enabled
value: boolean
- name: defaultSinkRefs
value:
- string
- name: debugParams
value: string
- name: serviceNames
value:
- string
- name: statusDetails
value: string
- name: unhealthyEvaluation
value: string
DELETE
example
Deletes the specified applications
resource.
/*+ delete */
DELETE FROM azure.service_fabric_mesh.applications
WHERE applicationResourceName = '{{ applicationResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';