Skip to main content

mesh_service_replica

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

Overview

Namemesh_service_replica
TypeResource
Idazure.service_fabric_dataplane.mesh_service_replica

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
codePackagesarray
diagnosticsobjectReference to sinks in DiagnosticsDescription.
networkRefsarray
osTypestring
replicaNamestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectapplication_resource_name, service_resource_name, replica_name, endpointGets the given replica of the service of an application. Gets the information about the service replica with the given name. The information include the description and other properties of the service replica.
listselectapplication_resource_name, service_resource_name, endpointLists all the replicas of a service. Gets the information about all replicas of a service. The information include the description and other properties of the service replica.

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.

NameDatatypeDescription
application_resource_namestringThe identity of the application.
endpointstringThe service endpoint host (no scheme). (default: )
replica_namestringService Fabric replica name.
service_resource_namestringThe identity of the service.

SELECT examples

Gets the given replica of the service of an application. Gets the information about the service replica with the given name. The information include the description and other properties of the service replica.

SELECT
codePackages,
diagnostics,
networkRefs,
osType,
replicaName
FROM azure.service_fabric_dataplane.mesh_service_replica
WHERE application_resource_name = '{{ application_resource_name }}' -- required
AND service_resource_name = '{{ service_resource_name }}' -- required
AND replica_name = '{{ replica_name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;