共用方式為


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, revisionName: string, options?: ContainerAppsRevisionsActivateRevisionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

containerAppName

string

Name of the Container App.

revisionName

string

Name of the Container App Revision.

Returns

Promise<void>

deactivateRevision(string, string, string, ContainerAppsRevisionsDeactivateRevisionOptionalParams)

Deactivates a revision for a Container App

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

containerAppName

string

Name of the Container App.

revisionName

string

Name of the Container App Revision.

Returns

Promise<void>

getRevision(string, string, string, ContainerAppsRevisionsGetRevisionOptionalParams)

Get a revision of a Container App.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

containerAppName

string

Name of the Container App.

revisionName

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

The name of the resource group. The name is case insensitive.

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, revisionName: string, options?: ContainerAppsRevisionsRestartRevisionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

containerAppName

string

Name of the Container App.

revisionName

string

Name of the Container App Revision.

options
ContainerAppsRevisionsRestartRevisionOptionalParams

The options parameters.

Returns

Promise<void>