mesh_service_replica
Creates, updates, deletes, gets or lists a mesh_service_replica resource.
Overview
| Name | mesh_service_replica |
| Type | Resource |
| Id | azure.service_fabric_dataplane.mesh_service_replica |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
codePackages | array | |
diagnostics | object | Reference to sinks in DiagnosticsDescription. |
networkRefs | array | |
osType | string | |
replicaName | string |
| Name | Datatype | Description |
|---|---|---|
ContinuationToken | string | |
Items | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | application_resource_name, service_resource_name, replica_name, endpoint | 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. | |
list | select | application_resource_name, service_resource_name, endpoint | Lists 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.
| Name | Datatype | Description |
|---|---|---|
application_resource_name | string | The identity of the application. |
endpoint | string | The service endpoint host (no scheme). (default: ) |
replica_name | string | Service Fabric replica name. |
service_resource_name | string | The identity of the service. |
SELECT examples
- get
- list
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
;
Lists 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.
SELECT
ContinuationToken,
Items
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 endpoint = '{{ endpoint }}' -- required
;