ContainerAppsRevisions interface
Interface representing a ContainerAppsRevisions.
Methods
activate |
Activates a revision for a Container App |
deactivate |
Deactivates a revision for a Container App |
get |
Get a revision of a Container App. |
list |
Get the Revisions for a given Container App. |
restart |
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
The options parameters.
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
The options parameters.
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.
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.
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
The options parameters.
Returns
Promise<void>