upgrade_orchestration_service_states
Creates, updates, deletes, gets or lists a upgrade_orchestration_service_states resource.
Overview
| Name | upgrade_orchestration_service_states |
| Type | Resource |
| Id | azure.service_fabric_dataplane.upgrade_orchestration_service_states |
Fields
The following fields are returned by SELECT queries:
- get_upgrade_orchestration_service_state
| Name | Datatype | Description |
|---|---|---|
ServiceState | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_upgrade_orchestration_service_state | select | endpoint | timeout | Get the service state of Service Fabric Upgrade Orchestration Service. Get the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes. |
set_upgrade_orchestration_service_state | exec | endpoint | timeout | Update the service state of Service Fabric Upgrade Orchestration Service. Update the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes. |
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: ) |
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_upgrade_orchestration_service_state
Get the service state of Service Fabric Upgrade Orchestration Service. Get the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.
SELECT
ServiceState
FROM azure.service_fabric_dataplane.upgrade_orchestration_service_states
WHERE endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;
Lifecycle Methods
- set_upgrade_orchestration_service_state
Update the service state of Service Fabric Upgrade Orchestration Service. Update the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.
EXEC azure.service_fabric_dataplane.upgrade_orchestration_service_states.set_upgrade_orchestration_service_state
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
@@json=
'{
"ServiceState": "{{ ServiceState }}"
}'
;