invoke_infrastructure_queries
Creates, updates, deletes, gets or lists an invoke_infrastructure_queries resource.
Overview
| Name | invoke_infrastructure_queries |
| Type | Resource |
| Id | azure.service_fabric_dataplane.invoke_infrastructure_queries |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
invoke_infrastructure_query | exec | Command, endpoint | ServiceId, timeout | Invokes a read-only query on the given infrastructure service instance. For clusters that have one or more instances of the Infrastructure Service configured, this API provides a way to send infrastructure-specific queries to a particular instance of the Infrastructure Service. Available commands and their corresponding response formats vary depending upon the infrastructure on which the cluster is running. This API supports the Service Fabric platform; it is not meant to be used directly from your code. |
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 |
|---|---|---|
Command | string | The text of the command to be invoked. The content of the command is infrastructure-specific. |
endpoint | string | The service endpoint host (no scheme). (default: ) |
ServiceId | string | The identity of the infrastructure service. This is the full name of the infrastructure service without the 'fabric:' URI scheme. This parameter required only for the cluster that has more than one instance of infrastructure service running. |
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. |
Lifecycle Methods
- invoke_infrastructure_query
Invokes a read-only query on the given infrastructure service instance. For clusters that have one or more instances of the Infrastructure Service configured, this API provides a way to send infrastructure-specific queries to a particular instance of the Infrastructure Service. Available commands and their corresponding response formats vary depending upon the infrastructure on which the cluster is running. This API supports the Service Fabric platform; it is not meant to be used directly from your code.
EXEC azure.service_fabric_dataplane.invoke_infrastructure_queries.invoke_infrastructure_query
@Command='{{ Command }}' --required,
@endpoint='{{ endpoint }}' --required,
@ServiceId='{{ ServiceId }}',
@timeout='{{ timeout }}'
;