Skip to main content

service_replicas

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

Overview

Nameservice_replicas
TypeResource
Idazure.service_fabric_mesh.service_replicas

Fields

NameDatatypeDescription
codePackagesarrayDescribes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).
diagnosticsobjectReference to sinks in DiagnosticsDescription.
networkRefsarrayThe names of the private networks that this service needs to be part of.
osTypestringThe operation system required by the code in service.
replicaNamestringName of the replica.

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationResourceName, replicaName, resourceGroupName, serviceResourceName, subscriptionIdGets the information about the service replica with the given name. The information include the description and other properties of the service replica.
listSELECTapplicationResourceName, resourceGroupName, serviceResourceName, subscriptionIdGets the information about all replicas of a given service of an application. The information includes the runtime properties of the replica instance.

SELECT examples

Gets the information about all replicas of a given service of an application. The information includes the runtime properties of the replica instance.

SELECT
codePackages,
diagnostics,
networkRefs,
osType,
replicaName
FROM azure.service_fabric_mesh.service_replicas
WHERE applicationResourceName = '{{ applicationResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceResourceName = '{{ serviceResourceName }}'
AND subscriptionId = '{{ subscriptionId }}';