Skip to main content

upgrade_orchestration_service_states

Creates, updates, deletes, gets or lists a upgrade_orchestration_service_states resource.

Overview​

Nameupgrade_orchestration_service_states
TypeResource
Idazure.service_fabric_dataplane.upgrade_orchestration_service_states

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
ServiceStatestring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_upgrade_orchestration_service_stateselectendpointtimeoutGet 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_stateexecendpointtimeoutUpdate 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.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
timeoutinteger (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 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​

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 }}"
}'
;