Skip to main content

rollback_application_upgrades

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

Overview

Namerollback_application_upgrades
TypeResource
Idazure.service_fabric_dataplane.rollback_application_upgrades

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:

NameAccessible byRequired ParamsOptional ParamsDescription
rollback_application_upgradeexecapplication_id, endpointtimeoutStarts rolling back the currently on-going upgrade of an application in the Service Fabric cluster. Starts rolling back the current application upgrade to the previous version. This API can only be used to roll back the current in-progress upgrade that is rolling forward to new version. If the application is not currently being upgraded use StartApplicationUpgrade API to upgrade it to desired version, including rolling back to a previous version.

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
application_idstringThe identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myappapp1" in 6.0+ and "myapp/app1" in previous versions.
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.

Lifecycle Methods

Starts rolling back the currently on-going upgrade of an application in the Service Fabric cluster. Starts rolling back the current application upgrade to the previous version. This API can only be used to roll back the current in-progress upgrade that is rolling forward to new version. If the application is not currently being upgraded use StartApplicationUpgrade API to upgrade it to desired version, including rolling back to a previous version.

EXEC azure.service_fabric_dataplane.rollback_application_upgrades.rollback_application_upgrade 
@application_id='{{ application_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
;