共用方式為


ContainerAppsRevisions interface

Interface representing a ContainerAppsRevisions.

Methods

activateRevision(string, string, string, ContainerAppsRevisionsActivateRevisionOptionalParams)

Activates a revision for a Container App

deactivateRevision(string, string, string, ContainerAppsRevisionsDeactivateRevisionOptionalParams)

Deactivates a revision for a Container App

getRevision(string, string, string, ContainerAppsRevisionsGetRevisionOptionalParams)

Get a revision of a Container App.

listRevisions(string, string, ContainerAppsRevisionsListRevisionsOptionalParams)

Get the Revisions for a given Container App.

restartRevision(string, string, string, ContainerAppsRevisionsRestartRevisionOptionalParams)

Restarts a revision for a Container App

Method Details

activateRevision(string, string, string, ContainerAppsRevisionsActivateRevisionOptionalParams)

Activates a revision for a Container App

function activateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsActivateRevisionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

containerAppName

string

Name of the Container App.

name

string

Name of the Container App Revision to activate

Returns

Promise<void>

deactivateRevision(string, string, string, ContainerAppsRevisionsDeactivateRevisionOptionalParams)

Deactivates a revision for a Container App

function deactivateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

containerAppName

string

Name of the Container App.

name

string

Name of the Container App Revision to deactivate

Returns

Promise<void>

getRevision(string, string, string, ContainerAppsRevisionsGetRevisionOptionalParams)

Get a revision of a Container App.

function getRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsGetRevisionOptionalParams): Promise<Revision>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

containerAppName

string

Name of the Container App.

name

string

Name of the Container App Revision.

options
ContainerAppsRevisionsGetRevisionOptionalParams

The options parameters.

Returns

Promise<Revision>

listRevisions(string, string, ContainerAppsRevisionsListRevisionsOptionalParams)

Get the Revisions for a given Container App.

function listRevisions(resourceGroupName: string, containerAppName: string, options?: ContainerAppsRevisionsListRevisionsOptionalParams): PagedAsyncIterableIterator<Revision, Revision[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

containerAppName

string

Name of the Container App for which Revisions are needed.

options
ContainerAppsRevisionsListRevisionsOptionalParams

The options parameters.

Returns

restartRevision(string, string, string, ContainerAppsRevisionsRestartRevisionOptionalParams)

Restarts a revision for a Container App

function restartRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsRestartRevisionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

containerAppName

string

Name of the Container App.

name

string

Name of the Container App Revision to restart

options
ContainerAppsRevisionsRestartRevisionOptionalParams

The options parameters.

Returns

Promise<void>