Skip to main content

services

Creates, updates, deletes, gets or lists a services resource.

Overview

Nameservices
TypeResource
Idazure.service_fabric_mesh.services

Fields

NameDatatypeDescription
idtextFully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
descriptiontextfield from the properties object
applicationResourceNametextfield from the properties object
auto_scaling_policiestextfield from the properties object
code_packagestextfield from the properties object
diagnosticstextfield from the properties object
health_statetextfield from the properties object
network_refstextfield from the properties object
os_typetextfield from the properties object
provisioning_statetextfield from the properties object
replica_counttextfield from the properties object
resourceGroupNametextfield from the properties object
serviceResourceNametextfield from the properties object
statustextfield from the properties object
status_detailstextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
unhealthy_evaluationtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationResourceName, resourceGroupName, serviceResourceName, subscriptionIdGets the information about the service resource with the given name. The information include the description and other properties of the service.
listSELECTapplicationResourceName, resourceGroupName, subscriptionIdGets the information about all services of an application resource. The information include the description and other properties of the Service.

SELECT examples

Gets the information about all services of an application resource. The information include the description and other properties of the Service.

SELECT
id,
name,
description,
applicationResourceName,
auto_scaling_policies,
code_packages,
diagnostics,
health_state,
network_refs,
os_type,
provisioning_state,
replica_count,
resourceGroupName,
serviceResourceName,
status,
status_details,
subscriptionId,
type,
unhealthy_evaluation
FROM azure.service_fabric_mesh.vw_services
WHERE applicationResourceName = '{{ applicationResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';