/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import {
ContainerApp,
ContainerAppsListBySubscriptionOptionalParams,
ContainerAppsListByResourceGroupOptionalParams,
ContainerAppsGetOptionalParams,
ContainerAppsGetResponse,
ContainerAppsCreateOrUpdateOptionalParams,
ContainerAppsCreateOrUpdateResponse,
ContainerAppsDeleteOptionalParams,
ContainerAppsListSecretsOptionalParams,
ContainerAppsListSecretsResponse
} from "../models";
///
/** Interface representing a ContainerApps. */
export interface ContainerApps {
/**
* Get the Container Apps in a given subscription.
* @param options The options parameters.
*/
listBySubscription(
options?: ContainerAppsListBySubscriptionOptionalParams
): PagedAsyncIterableIterator;
/**
* Get the Container Apps in a given resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
listByResourceGroup(
resourceGroupName: string,
options?: ContainerAppsListByResourceGroupOptionalParams
): PagedAsyncIterableIterator;
/**
* Get the properties of a Container App.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Container App.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
options?: ContainerAppsGetOptionalParams
): Promise;
/**
* Description for Create or update a Container App.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Container App.
* @param containerAppEnvelope Container App.
* @param options The options parameters.
*/
beginCreateOrUpdate(
resourceGroupName: string,
name: string,
containerAppEnvelope: ContainerApp,
options?: ContainerAppsCreateOrUpdateOptionalParams
): Promise<
PollerLike<
PollOperationState,
ContainerAppsCreateOrUpdateResponse
>
>;
/**
* Description for Create or update a Container App.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Container App.
* @param containerAppEnvelope Container App.
* @param options The options parameters.
*/
beginCreateOrUpdateAndWait(
resourceGroupName: string,
name: string,
containerAppEnvelope: ContainerApp,
options?: ContainerAppsCreateOrUpdateOptionalParams
): Promise;
/**
* Description for Delete a Container App.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Container App.
* @param options The options parameters.
*/
beginDelete(
resourceGroupName: string,
name: string,
options?: ContainerAppsDeleteOptionalParams
): Promise, void>>;
/**
* Description for Delete a Container App.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Container App.
* @param options The options parameters.
*/
beginDeleteAndWait(
resourceGroupName: string,
name: string,
options?: ContainerAppsDeleteOptionalParams
): Promise;
/**
* List secrets for a container app
* @param name Name of the Container App.
* @param options The options parameters.
*/
listSecrets(
name: string,
options?: ContainerAppsListSecretsOptionalParams
): Promise;
}