70 lines
4.1 KiB
TypeScript
70 lines
4.1 KiB
TypeScript
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
import { ContainerAppsRevisions } from "../operationsInterfaces";
|
|
import { WebSiteManagementClient } from "../webSiteManagementClient";
|
|
import { Revision, ContainerAppsRevisionsListRevisionsOptionalParams, ContainerAppsRevisionsGetRevisionOptionalParams, ContainerAppsRevisionsGetRevisionResponse, ContainerAppsRevisionsActivateRevisionOptionalParams, ContainerAppsRevisionsDeactivateRevisionOptionalParams, ContainerAppsRevisionsRestartRevisionOptionalParams } from "../models";
|
|
/** Class containing ContainerAppsRevisions operations. */
|
|
export declare class ContainerAppsRevisionsImpl implements ContainerAppsRevisions {
|
|
private readonly client;
|
|
/**
|
|
* Initialize a new instance of the class ContainerAppsRevisions class.
|
|
* @param client Reference to the service client
|
|
*/
|
|
constructor(client: WebSiteManagementClient);
|
|
/**
|
|
* Get the Revisions for a given Container App.
|
|
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
* @param containerAppName Name of the Container App for which Revisions are needed.
|
|
* @param options The options parameters.
|
|
*/
|
|
listRevisions(resourceGroupName: string, containerAppName: string, options?: ContainerAppsRevisionsListRevisionsOptionalParams): PagedAsyncIterableIterator<Revision>;
|
|
private listRevisionsPagingPage;
|
|
private listRevisionsPagingAll;
|
|
/**
|
|
* Get the Revisions for a given Container App.
|
|
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
* @param containerAppName Name of the Container App for which Revisions are needed.
|
|
* @param options The options parameters.
|
|
*/
|
|
private _listRevisions;
|
|
/**
|
|
* Get a revision of a Container App.
|
|
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
* @param containerAppName Name of the Container App.
|
|
* @param name Name of the Container App Revision.
|
|
* @param options The options parameters.
|
|
*/
|
|
getRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsGetRevisionOptionalParams): Promise<ContainerAppsRevisionsGetRevisionResponse>;
|
|
/**
|
|
* Activates a revision for a Container App
|
|
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
* @param containerAppName Name of the Container App.
|
|
* @param name Name of the Container App Revision to activate
|
|
* @param options The options parameters.
|
|
*/
|
|
activateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsActivateRevisionOptionalParams): Promise<void>;
|
|
/**
|
|
* Deactivates a revision for a Container App
|
|
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
* @param containerAppName Name of the Container App.
|
|
* @param name Name of the Container App Revision to deactivate
|
|
* @param options The options parameters.
|
|
*/
|
|
deactivateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams): Promise<void>;
|
|
/**
|
|
* Restarts a revision for a Container App
|
|
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
* @param containerAppName Name of the Container App.
|
|
* @param name Name of the Container App Revision to restart
|
|
* @param options The options parameters.
|
|
*/
|
|
restartRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsRestartRevisionOptionalParams): Promise<void>;
|
|
/**
|
|
* ListRevisionsNext
|
|
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
* @param containerAppName Name of the Container App for which Revisions are needed.
|
|
* @param nextLink The nextLink from the previous successful call to the ListRevisions method.
|
|
* @param options The options parameters.
|
|
*/
|
|
private _listRevisionsNext;
|
|
}
|
|
//# sourceMappingURL=containerAppsRevisions.d.ts.map
|