Interface IVersionsClient
- Namespace
- Auth0.ManagementApi.Actions
- Assembly
- Auth0.ManagementApi.dll
public interface IVersionsClient
- Extension Methods
Methods
DeployAsync(string, string, Optional<DeployActionVersionRequestContent?>, RequestOptions?, CancellationToken)
Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed action version that is identical to the specified version. If this action is currently bound to a trigger, the system will begin executing the newly-created version immediately.
WithRawResponseTask<DeployActionVersionResponseContent> DeployAsync(string actionId, string id, Optional<DeployActionVersionRequestContent?> request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
actionIdstringidstringrequestOptional<DeployActionVersionRequestContent>optionsRequestOptionscancellationTokenCancellationToken
Returns
GetAsync(string, string, RequestOptions?, CancellationToken)
Retrieve a specific version of an action. An action version is created whenever an action is deployed. An action version is immutable, once created.
WithRawResponseTask<GetActionVersionResponseContent> GetAsync(string actionId, string id, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
actionIdstringidstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
ListAsync(string, ListActionVersionsRequestParameters, RequestOptions?, CancellationToken)
Retrieve all of an action's versions. An action version is created whenever an action is deployed. An action version is immutable, once created.
Task<Pager<ActionVersion>> ListAsync(string actionId, ListActionVersionsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
actionIdstringrequestListActionVersionsRequestParametersoptionsRequestOptionscancellationTokenCancellationToken