service_name_infos
Creates, updates, deletes, gets or lists a service_name_infos resource.
Overview
| Name | service_name_infos |
| Type | Resource |
| Id | azure.service_fabric_dataplane.service_name_infos |
Fields
The following fields are returned by SELECT queries:
- get_service_name_info
| Name | Datatype | Description |
|---|---|---|
Id | string | |
Name | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_service_name_info | select | partition_id, endpoint | timeout | Gets the name of the Service Fabric service for a partition. Gets name of the service for the specified partition. A 404 error is returned if the partition ID does not exist in the cluster. |
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 |
|---|---|---|
endpoint | string | The service endpoint host (no scheme). (default: ) |
partition_id | string | The identity of the partition. |
timeout | integer (int64) | The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds. |
SELECT examples
- get_service_name_info
Gets the name of the Service Fabric service for a partition. Gets name of the service for the specified partition. A 404 error is returned if the partition ID does not exist in the cluster.
SELECT
Id,
Name
FROM azure.service_fabric_dataplane.service_name_infos
WHERE partition_id = '{{ partition_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;