service_replicas
Creates, updates, deletes, gets or lists a service_replicas
resource.
Overview
Name | service_replicas |
Type | Resource |
Id | azure.service_fabric_mesh.service_replicas |
Fields
Name | Datatype | Description |
---|---|---|
codePackages | array | Describes 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.). |
diagnostics | object | Reference to sinks in DiagnosticsDescription. |
networkRefs | array | The names of the private networks that this service needs to be part of. |
osType | string | The operation system required by the code in service. |
replicaName | string | Name of the replica. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationResourceName, replicaName, resourceGroupName, serviceResourceName, subscriptionId | Gets the information about the service replica with the given name. The information include the description and other properties of the service replica. |
list | SELECT | applicationResourceName, resourceGroupName, serviceResourceName, subscriptionId | Gets 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 }}';