Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
@@ -0,0 +1,339 @@
/*
* 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 {
AppServiceCertificateOrder,
AppServiceCertificateOrdersListOptionalParams,
AppServiceCertificateOrdersListByResourceGroupOptionalParams,
AppServiceCertificateResource,
AppServiceCertificateOrdersListCertificatesOptionalParams,
AppServiceCertificateOrdersValidatePurchaseInformationOptionalParams,
AppServiceCertificateOrdersGetOptionalParams,
AppServiceCertificateOrdersGetResponse,
AppServiceCertificateOrdersCreateOrUpdateOptionalParams,
AppServiceCertificateOrdersCreateOrUpdateResponse,
AppServiceCertificateOrdersDeleteOptionalParams,
AppServiceCertificateOrderPatchResource,
AppServiceCertificateOrdersUpdateOptionalParams,
AppServiceCertificateOrdersUpdateResponse,
AppServiceCertificateOrdersGetCertificateOptionalParams,
AppServiceCertificateOrdersGetCertificateResponse,
AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams,
AppServiceCertificateOrdersCreateOrUpdateCertificateResponse,
AppServiceCertificateOrdersDeleteCertificateOptionalParams,
AppServiceCertificatePatchResource,
AppServiceCertificateOrdersUpdateCertificateOptionalParams,
AppServiceCertificateOrdersUpdateCertificateResponse,
ReissueCertificateOrderRequest,
AppServiceCertificateOrdersReissueOptionalParams,
RenewCertificateOrderRequest,
AppServiceCertificateOrdersRenewOptionalParams,
AppServiceCertificateOrdersResendEmailOptionalParams,
NameIdentifier,
AppServiceCertificateOrdersResendRequestEmailsOptionalParams,
SiteSealRequest,
AppServiceCertificateOrdersRetrieveSiteSealOptionalParams,
AppServiceCertificateOrdersRetrieveSiteSealResponse,
AppServiceCertificateOrdersVerifyDomainOwnershipOptionalParams,
AppServiceCertificateOrdersRetrieveCertificateActionsOptionalParams,
AppServiceCertificateOrdersRetrieveCertificateActionsResponse,
AppServiceCertificateOrdersRetrieveCertificateEmailHistoryOptionalParams,
AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a AppServiceCertificateOrders. */
export interface AppServiceCertificateOrders {
/**
* Description for List all certificate orders in a subscription.
* @param options The options parameters.
*/
list(
options?: AppServiceCertificateOrdersListOptionalParams
): PagedAsyncIterableIterator<AppServiceCertificateOrder>;
/**
* Description for Get certificate orders in a resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
listByResourceGroup(
resourceGroupName: string,
options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams
): PagedAsyncIterableIterator<AppServiceCertificateOrder>;
/**
* Description for List all certificates associated with a certificate order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param options The options parameters.
*/
listCertificates(
resourceGroupName: string,
certificateOrderName: string,
options?: AppServiceCertificateOrdersListCertificatesOptionalParams
): PagedAsyncIterableIterator<AppServiceCertificateResource>;
/**
* Description for Validate information for a certificate order.
* @param appServiceCertificateOrder Information for a certificate order.
* @param options The options parameters.
*/
validatePurchaseInformation(
appServiceCertificateOrder: AppServiceCertificateOrder,
options?: AppServiceCertificateOrdersValidatePurchaseInformationOptionalParams
): Promise<void>;
/**
* Description for Get a certificate order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order..
* @param options The options parameters.
*/
get(
resourceGroupName: string,
certificateOrderName: string,
options?: AppServiceCertificateOrdersGetOptionalParams
): Promise<AppServiceCertificateOrdersGetResponse>;
/**
* Description for Create or update a certificate purchase order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param certificateDistinguishedName Distinguished name to use for the certificate order.
* @param options The options parameters.
*/
beginCreateOrUpdate(
resourceGroupName: string,
certificateOrderName: string,
certificateDistinguishedName: AppServiceCertificateOrder,
options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams
): Promise<
PollerLike<
PollOperationState<AppServiceCertificateOrdersCreateOrUpdateResponse>,
AppServiceCertificateOrdersCreateOrUpdateResponse
>
>;
/**
* Description for Create or update a certificate purchase order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param certificateDistinguishedName Distinguished name to use for the certificate order.
* @param options The options parameters.
*/
beginCreateOrUpdateAndWait(
resourceGroupName: string,
certificateOrderName: string,
certificateDistinguishedName: AppServiceCertificateOrder,
options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams
): Promise<AppServiceCertificateOrdersCreateOrUpdateResponse>;
/**
* Description for Delete an existing certificate order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param options The options parameters.
*/
delete(
resourceGroupName: string,
certificateOrderName: string,
options?: AppServiceCertificateOrdersDeleteOptionalParams
): Promise<void>;
/**
* Description for Create or update a certificate purchase order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param certificateDistinguishedName Distinguished name to use for the certificate order.
* @param options The options parameters.
*/
update(
resourceGroupName: string,
certificateOrderName: string,
certificateDistinguishedName: AppServiceCertificateOrderPatchResource,
options?: AppServiceCertificateOrdersUpdateOptionalParams
): Promise<AppServiceCertificateOrdersUpdateResponse>;
/**
* Description for Get the certificate associated with a certificate order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param name Name of the certificate.
* @param options The options parameters.
*/
getCertificate(
resourceGroupName: string,
certificateOrderName: string,
name: string,
options?: AppServiceCertificateOrdersGetCertificateOptionalParams
): Promise<AppServiceCertificateOrdersGetCertificateResponse>;
/**
* Description for Creates or updates a certificate and associates with key vault secret.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param name Name of the certificate.
* @param keyVaultCertificate Key vault certificate resource Id.
* @param options The options parameters.
*/
beginCreateOrUpdateCertificate(
resourceGroupName: string,
certificateOrderName: string,
name: string,
keyVaultCertificate: AppServiceCertificateResource,
options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams
): Promise<
PollerLike<
PollOperationState<
AppServiceCertificateOrdersCreateOrUpdateCertificateResponse
>,
AppServiceCertificateOrdersCreateOrUpdateCertificateResponse
>
>;
/**
* Description for Creates or updates a certificate and associates with key vault secret.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param name Name of the certificate.
* @param keyVaultCertificate Key vault certificate resource Id.
* @param options The options parameters.
*/
beginCreateOrUpdateCertificateAndWait(
resourceGroupName: string,
certificateOrderName: string,
name: string,
keyVaultCertificate: AppServiceCertificateResource,
options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams
): Promise<AppServiceCertificateOrdersCreateOrUpdateCertificateResponse>;
/**
* Description for Delete the certificate associated with a certificate order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param name Name of the certificate.
* @param options The options parameters.
*/
deleteCertificate(
resourceGroupName: string,
certificateOrderName: string,
name: string,
options?: AppServiceCertificateOrdersDeleteCertificateOptionalParams
): Promise<void>;
/**
* Description for Creates or updates a certificate and associates with key vault secret.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param name Name of the certificate.
* @param keyVaultCertificate Key vault certificate resource Id.
* @param options The options parameters.
*/
updateCertificate(
resourceGroupName: string,
certificateOrderName: string,
name: string,
keyVaultCertificate: AppServiceCertificatePatchResource,
options?: AppServiceCertificateOrdersUpdateCertificateOptionalParams
): Promise<AppServiceCertificateOrdersUpdateCertificateResponse>;
/**
* Description for Reissue an existing certificate order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param reissueCertificateOrderRequest Parameters for the reissue.
* @param options The options parameters.
*/
reissue(
resourceGroupName: string,
certificateOrderName: string,
reissueCertificateOrderRequest: ReissueCertificateOrderRequest,
options?: AppServiceCertificateOrdersReissueOptionalParams
): Promise<void>;
/**
* Description for Renew an existing certificate order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param renewCertificateOrderRequest Renew parameters
* @param options The options parameters.
*/
renew(
resourceGroupName: string,
certificateOrderName: string,
renewCertificateOrderRequest: RenewCertificateOrderRequest,
options?: AppServiceCertificateOrdersRenewOptionalParams
): Promise<void>;
/**
* Description for Resend certificate email.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param options The options parameters.
*/
resendEmail(
resourceGroupName: string,
certificateOrderName: string,
options?: AppServiceCertificateOrdersResendEmailOptionalParams
): Promise<void>;
/**
* Resend domain verification ownership email containing steps on how to verify a domain for a given
* certificate order
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param nameIdentifier Email address
* @param options The options parameters.
*/
resendRequestEmails(
resourceGroupName: string,
certificateOrderName: string,
nameIdentifier: NameIdentifier,
options?: AppServiceCertificateOrdersResendRequestEmailsOptionalParams
): Promise<void>;
/**
* This method is used to obtain the site seal information for an issued certificate. A site seal is a
* graphic that the certificate purchaser can embed on their web site to show their visitors
* information about their SSL certificate. If a web site visitor clicks on the site seal image, a
* pop-up page is displayed that contains detailed information about the SSL certificate. The site seal
* token is used to link the site seal graphic image to the appropriate certificate details pop-up page
* display when a user clicks on the site seal. The site seal images are expected to be static images
* and hosted by the reseller, to minimize delays for customer page load times.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param siteSealRequest Site seal request.
* @param options The options parameters.
*/
retrieveSiteSeal(
resourceGroupName: string,
certificateOrderName: string,
siteSealRequest: SiteSealRequest,
options?: AppServiceCertificateOrdersRetrieveSiteSealOptionalParams
): Promise<AppServiceCertificateOrdersRetrieveSiteSealResponse>;
/**
* Description for Verify domain ownership for this certificate order.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param options The options parameters.
*/
verifyDomainOwnership(
resourceGroupName: string,
certificateOrderName: string,
options?: AppServiceCertificateOrdersVerifyDomainOwnershipOptionalParams
): Promise<void>;
/**
* Description for Retrieve the list of certificate actions.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate order.
* @param options The options parameters.
*/
retrieveCertificateActions(
resourceGroupName: string,
name: string,
options?: AppServiceCertificateOrdersRetrieveCertificateActionsOptionalParams
): Promise<AppServiceCertificateOrdersRetrieveCertificateActionsResponse>;
/**
* Description for Retrieve email history.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate order.
* @param options The options parameters.
*/
retrieveCertificateEmailHistory(
resourceGroupName: string,
name: string,
options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryOptionalParams
): Promise<
AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse
>;
}
@@ -0,0 +1,805 @@
/*
* 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 {
AppServiceEnvironmentResource,
AppServiceEnvironmentsListOptionalParams,
AppServiceEnvironmentsListByResourceGroupOptionalParams,
StampCapacity,
AppServiceEnvironmentsListCapacitiesOptionalParams,
Site,
VirtualNetworkProfile,
AppServiceEnvironmentsChangeVnetOptionalParams,
InboundEnvironmentEndpoint,
AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams,
WorkerPoolResource,
AppServiceEnvironmentsListMultiRolePoolsOptionalParams,
ResourceMetricDefinition,
AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams,
AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams,
SkuInfo,
AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams,
Usage,
AppServiceEnvironmentsListMultiRoleUsagesOptionalParams,
OutboundEnvironmentEndpoint,
AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams,
RemotePrivateEndpointConnectionARMResource,
AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams,
AppServiceEnvironmentsResumeOptionalParams,
AppServicePlan,
AppServiceEnvironmentsListAppServicePlansOptionalParams,
AppServiceEnvironmentsListWebAppsOptionalParams,
AppServiceEnvironmentsSuspendOptionalParams,
CsmUsageQuota,
AppServiceEnvironmentsListUsagesOptionalParams,
AppServiceEnvironmentsListWorkerPoolsOptionalParams,
AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams,
AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams,
AppServiceEnvironmentsListWorkerPoolSkusOptionalParams,
AppServiceEnvironmentsListWebWorkerUsagesOptionalParams,
AppServiceEnvironmentsGetOptionalParams,
AppServiceEnvironmentsGetResponse,
AppServiceEnvironmentsCreateOrUpdateOptionalParams,
AppServiceEnvironmentsCreateOrUpdateResponse,
AppServiceEnvironmentsDeleteOptionalParams,
AppServiceEnvironmentPatchResource,
AppServiceEnvironmentsUpdateOptionalParams,
AppServiceEnvironmentsUpdateResponse,
AppServiceEnvironmentsGetVipInfoOptionalParams,
AppServiceEnvironmentsGetVipInfoResponse,
AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationOptionalParams,
AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationResponse,
CustomDnsSuffixConfiguration,
AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationOptionalParams,
AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationResponse,
AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationOptionalParams,
AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationResponse,
AppServiceEnvironmentsGetAseV3NetworkingConfigurationOptionalParams,
AppServiceEnvironmentsGetAseV3NetworkingConfigurationResponse,
AseV3NetworkingConfiguration,
AppServiceEnvironmentsUpdateAseNetworkingConfigurationOptionalParams,
AppServiceEnvironmentsUpdateAseNetworkingConfigurationResponse,
AppServiceEnvironmentsListDiagnosticsOptionalParams,
AppServiceEnvironmentsListDiagnosticsResponse,
AppServiceEnvironmentsGetDiagnosticsItemOptionalParams,
AppServiceEnvironmentsGetDiagnosticsItemResponse,
AppServiceEnvironmentsGetMultiRolePoolOptionalParams,
AppServiceEnvironmentsGetMultiRolePoolResponse,
AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams,
AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse,
AppServiceEnvironmentsUpdateMultiRolePoolOptionalParams,
AppServiceEnvironmentsUpdateMultiRolePoolResponse,
AppServiceEnvironmentsTestUpgradeAvailableNotificationOptionalParams,
AppServiceEnvironmentsUpgradeOptionalParams,
AppServiceEnvironmentsListOperationsOptionalParams,
AppServiceEnvironmentsListOperationsResponse,
AppServiceEnvironmentsGetPrivateEndpointConnectionOptionalParams,
AppServiceEnvironmentsGetPrivateEndpointConnectionResponse,
PrivateLinkConnectionApprovalRequestResource,
AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams,
AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse,
AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams,
AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse,
AppServiceEnvironmentsGetPrivateLinkResourcesOptionalParams,
AppServiceEnvironmentsGetPrivateLinkResourcesResponse,
AppServiceEnvironmentsRebootOptionalParams,
AppServiceEnvironmentsGetWorkerPoolOptionalParams,
AppServiceEnvironmentsGetWorkerPoolResponse,
AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams,
AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse,
AppServiceEnvironmentsUpdateWorkerPoolOptionalParams,
AppServiceEnvironmentsUpdateWorkerPoolResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a AppServiceEnvironments. */
export interface AppServiceEnvironments {
/**
* Description for Get all App Service Environments for a subscription.
* @param options The options parameters.
*/
list(
options?: AppServiceEnvironmentsListOptionalParams
): PagedAsyncIterableIterator<AppServiceEnvironmentResource>;
/**
* Description for Get all App Service Environments in a resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
listByResourceGroup(
resourceGroupName: string,
options?: AppServiceEnvironmentsListByResourceGroupOptionalParams
): PagedAsyncIterableIterator<AppServiceEnvironmentResource>;
/**
* Description for Get the used, available, and total worker capacity an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listCapacities(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListCapacitiesOptionalParams
): PagedAsyncIterableIterator<StampCapacity>;
/**
* Description for Move an App Service Environment to a different VNET.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param vnetInfo Details for the new virtual network.
* @param options The options parameters.
*/
beginListChangeVnetAndWait(
resourceGroupName: string,
name: string,
vnetInfo: VirtualNetworkProfile,
options?: AppServiceEnvironmentsChangeVnetOptionalParams
): PagedAsyncIterableIterator<Site>;
/**
* Description for Get the network endpoints of all inbound dependencies of an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listInboundNetworkDependenciesEndpoints(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsOptionalParams
): PagedAsyncIterableIterator<InboundEnvironmentEndpoint>;
/**
* Description for Get all multi-role pools.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listMultiRolePools(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListMultiRolePoolsOptionalParams
): PagedAsyncIterableIterator<WorkerPoolResource>;
/**
* Description for Get metric definitions for a specific instance of a multi-role pool of an App
* Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param instance Name of the instance in the multi-role pool.
* @param options The options parameters.
*/
listMultiRolePoolInstanceMetricDefinitions(
resourceGroupName: string,
name: string,
instance: string,
options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsOptionalParams
): PagedAsyncIterableIterator<ResourceMetricDefinition>;
/**
* Description for Get metric definitions for a multi-role pool of an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listMultiRoleMetricDefinitions(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsOptionalParams
): PagedAsyncIterableIterator<ResourceMetricDefinition>;
/**
* Description for Get available SKUs for scaling a multi-role pool.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listMultiRolePoolSkus(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListMultiRolePoolSkusOptionalParams
): PagedAsyncIterableIterator<SkuInfo>;
/**
* Description for Get usage metrics for a multi-role pool of an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listMultiRoleUsages(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListMultiRoleUsagesOptionalParams
): PagedAsyncIterableIterator<Usage>;
/**
* Description for Get the network endpoints of all outbound dependencies of an App Service
* Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listOutboundNetworkDependenciesEndpoints(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsOptionalParams
): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint>;
/**
* Description for Gets the list of private endpoints associated with a hosting environment
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listPrivateEndpointConnectionList(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListOptionalParams
): PagedAsyncIterableIterator<RemotePrivateEndpointConnectionARMResource>;
/**
* Description for Resume an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
beginListResumeAndWait(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsResumeOptionalParams
): PagedAsyncIterableIterator<Site>;
/**
* Description for Get all App Service plans in an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listAppServicePlans(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListAppServicePlansOptionalParams
): PagedAsyncIterableIterator<AppServicePlan>;
/**
* Description for Get all apps in an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listWebApps(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListWebAppsOptionalParams
): PagedAsyncIterableIterator<Site>;
/**
* Description for Suspend an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
beginListSuspendAndWait(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsSuspendOptionalParams
): PagedAsyncIterableIterator<Site>;
/**
* Description for Get global usage metrics of an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listUsages(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListUsagesOptionalParams
): PagedAsyncIterableIterator<CsmUsageQuota>;
/**
* Description for Get all worker pools of an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listWorkerPools(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListWorkerPoolsOptionalParams
): PagedAsyncIterableIterator<WorkerPoolResource>;
/**
* Description for Get metric definitions for a specific instance of a worker pool of an App Service
* Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param workerPoolName Name of the worker pool.
* @param instance Name of the instance in the worker pool.
* @param options The options parameters.
*/
listWorkerPoolInstanceMetricDefinitions(
resourceGroupName: string,
name: string,
workerPoolName: string,
instance: string,
options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsOptionalParams
): PagedAsyncIterableIterator<ResourceMetricDefinition>;
/**
* Description for Get metric definitions for a worker pool of an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param workerPoolName Name of the worker pool.
* @param options The options parameters.
*/
listWebWorkerMetricDefinitions(
resourceGroupName: string,
name: string,
workerPoolName: string,
options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsOptionalParams
): PagedAsyncIterableIterator<ResourceMetricDefinition>;
/**
* Description for Get available SKUs for scaling a worker pool.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param workerPoolName Name of the worker pool.
* @param options The options parameters.
*/
listWorkerPoolSkus(
resourceGroupName: string,
name: string,
workerPoolName: string,
options?: AppServiceEnvironmentsListWorkerPoolSkusOptionalParams
): PagedAsyncIterableIterator<SkuInfo>;
/**
* Description for Get usage metrics for a worker pool of an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param workerPoolName Name of the worker pool.
* @param options The options parameters.
*/
listWebWorkerUsages(
resourceGroupName: string,
name: string,
workerPoolName: string,
options?: AppServiceEnvironmentsListWebWorkerUsagesOptionalParams
): PagedAsyncIterableIterator<Usage>;
/**
* Description for Get the properties of an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsGetOptionalParams
): Promise<AppServiceEnvironmentsGetResponse>;
/**
* Description for Create or update an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param hostingEnvironmentEnvelope Configuration details of the App Service Environment.
* @param options The options parameters.
*/
beginCreateOrUpdate(
resourceGroupName: string,
name: string,
hostingEnvironmentEnvelope: AppServiceEnvironmentResource,
options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams
): Promise<
PollerLike<
PollOperationState<AppServiceEnvironmentsCreateOrUpdateResponse>,
AppServiceEnvironmentsCreateOrUpdateResponse
>
>;
/**
* Description for Create or update an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param hostingEnvironmentEnvelope Configuration details of the App Service Environment.
* @param options The options parameters.
*/
beginCreateOrUpdateAndWait(
resourceGroupName: string,
name: string,
hostingEnvironmentEnvelope: AppServiceEnvironmentResource,
options?: AppServiceEnvironmentsCreateOrUpdateOptionalParams
): Promise<AppServiceEnvironmentsCreateOrUpdateResponse>;
/**
* Description for Delete an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
beginDelete(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsDeleteOptionalParams
): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Description for Delete an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
beginDeleteAndWait(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsDeleteOptionalParams
): Promise<void>;
/**
* Description for Create or update an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param hostingEnvironmentEnvelope Configuration details of the App Service Environment.
* @param options The options parameters.
*/
update(
resourceGroupName: string,
name: string,
hostingEnvironmentEnvelope: AppServiceEnvironmentPatchResource,
options?: AppServiceEnvironmentsUpdateOptionalParams
): Promise<AppServiceEnvironmentsUpdateResponse>;
/**
* Description for Get IP addresses assigned to an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
getVipInfo(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsGetVipInfoOptionalParams
): Promise<AppServiceEnvironmentsGetVipInfoResponse>;
/**
* Get Custom Dns Suffix configuration of an App Service Environment
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
getAseCustomDnsSuffixConfiguration(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationOptionalParams
): Promise<AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationResponse>;
/**
* Update Custom Dns Suffix configuration of an App Service Environment
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param customDnsSuffixConfiguration Full view of the custom domain suffix configuration for ASEv3.
* @param options The options parameters.
*/
updateAseCustomDnsSuffixConfiguration(
resourceGroupName: string,
name: string,
customDnsSuffixConfiguration: CustomDnsSuffixConfiguration,
options?: AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationOptionalParams
): Promise<
AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationResponse
>;
/**
* Delete Custom Dns Suffix configuration of an App Service Environment
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
deleteAseCustomDnsSuffixConfiguration(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationOptionalParams
): Promise<
AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationResponse
>;
/**
* Description for Get networking configuration of an App Service Environment
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
getAseV3NetworkingConfiguration(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationOptionalParams
): Promise<AppServiceEnvironmentsGetAseV3NetworkingConfigurationResponse>;
/**
* Description for Update networking configuration of an App Service Environment
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param aseNetworkingConfiguration Full view of networking configuration for an ASE.
* @param options The options parameters.
*/
updateAseNetworkingConfiguration(
resourceGroupName: string,
name: string,
aseNetworkingConfiguration: AseV3NetworkingConfiguration,
options?: AppServiceEnvironmentsUpdateAseNetworkingConfigurationOptionalParams
): Promise<AppServiceEnvironmentsUpdateAseNetworkingConfigurationResponse>;
/**
* Description for Get diagnostic information for an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listDiagnostics(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListDiagnosticsOptionalParams
): Promise<AppServiceEnvironmentsListDiagnosticsResponse>;
/**
* Description for Get a diagnostics item for an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param diagnosticsName Name of the diagnostics item.
* @param options The options parameters.
*/
getDiagnosticsItem(
resourceGroupName: string,
name: string,
diagnosticsName: string,
options?: AppServiceEnvironmentsGetDiagnosticsItemOptionalParams
): Promise<AppServiceEnvironmentsGetDiagnosticsItemResponse>;
/**
* Description for Get properties of a multi-role pool.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
getMultiRolePool(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsGetMultiRolePoolOptionalParams
): Promise<AppServiceEnvironmentsGetMultiRolePoolResponse>;
/**
* Description for Create or update a multi-role pool.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param multiRolePoolEnvelope Properties of the multi-role pool.
* @param options The options parameters.
*/
beginCreateOrUpdateMultiRolePool(
resourceGroupName: string,
name: string,
multiRolePoolEnvelope: WorkerPoolResource,
options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams
): Promise<
PollerLike<
PollOperationState<
AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse
>,
AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse
>
>;
/**
* Description for Create or update a multi-role pool.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param multiRolePoolEnvelope Properties of the multi-role pool.
* @param options The options parameters.
*/
beginCreateOrUpdateMultiRolePoolAndWait(
resourceGroupName: string,
name: string,
multiRolePoolEnvelope: WorkerPoolResource,
options?: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolOptionalParams
): Promise<AppServiceEnvironmentsCreateOrUpdateMultiRolePoolResponse>;
/**
* Description for Create or update a multi-role pool.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param multiRolePoolEnvelope Properties of the multi-role pool.
* @param options The options parameters.
*/
updateMultiRolePool(
resourceGroupName: string,
name: string,
multiRolePoolEnvelope: WorkerPoolResource,
options?: AppServiceEnvironmentsUpdateMultiRolePoolOptionalParams
): Promise<AppServiceEnvironmentsUpdateMultiRolePoolResponse>;
/**
* Send a test notification that an upgrade is available for this App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
testUpgradeAvailableNotification(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsTestUpgradeAvailableNotificationOptionalParams
): Promise<void>;
/**
* Description for Initiate an upgrade of an App Service Environment if one is available.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
beginUpgrade(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsUpgradeOptionalParams
): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Description for Initiate an upgrade of an App Service Environment if one is available.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
beginUpgradeAndWait(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsUpgradeOptionalParams
): Promise<void>;
/**
* Description for List all currently running operations on the App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
listOperations(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsListOperationsOptionalParams
): Promise<AppServiceEnvironmentsListOperationsResponse>;
/**
* Description for Gets a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param options The options parameters.
*/
getPrivateEndpointConnection(
resourceGroupName: string,
name: string,
privateEndpointConnectionName: string,
options?: AppServiceEnvironmentsGetPrivateEndpointConnectionOptionalParams
): Promise<AppServiceEnvironmentsGetPrivateEndpointConnectionResponse>;
/**
* Description for Approves or rejects a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param privateEndpointConnectionName
* @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource.
* @param options The options parameters.
*/
beginApproveOrRejectPrivateEndpointConnection(
resourceGroupName: string,
name: string,
privateEndpointConnectionName: string,
privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource,
options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams
): Promise<
PollerLike<
PollOperationState<
AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse
>,
AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse
>
>;
/**
* Description for Approves or rejects a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param privateEndpointConnectionName
* @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource.
* @param options The options parameters.
*/
beginApproveOrRejectPrivateEndpointConnectionAndWait(
resourceGroupName: string,
name: string,
privateEndpointConnectionName: string,
privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource,
options?: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionOptionalParams
): Promise<
AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionResponse
>;
/**
* Description for Deletes a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param privateEndpointConnectionName
* @param options The options parameters.
*/
beginDeletePrivateEndpointConnection(
resourceGroupName: string,
name: string,
privateEndpointConnectionName: string,
options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams
): Promise<
PollerLike<
PollOperationState<
AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse
>,
AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse
>
>;
/**
* Description for Deletes a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param privateEndpointConnectionName
* @param options The options parameters.
*/
beginDeletePrivateEndpointConnectionAndWait(
resourceGroupName: string,
name: string,
privateEndpointConnectionName: string,
options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionOptionalParams
): Promise<AppServiceEnvironmentsDeletePrivateEndpointConnectionResponse>;
/**
* Description for Gets the private link resources
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
getPrivateLinkResources(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsGetPrivateLinkResourcesOptionalParams
): Promise<AppServiceEnvironmentsGetPrivateLinkResourcesResponse>;
/**
* Description for Reboot all machines in an App Service Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param options The options parameters.
*/
reboot(
resourceGroupName: string,
name: string,
options?: AppServiceEnvironmentsRebootOptionalParams
): Promise<void>;
/**
* Description for Get properties of a worker pool.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param workerPoolName Name of the worker pool.
* @param options The options parameters.
*/
getWorkerPool(
resourceGroupName: string,
name: string,
workerPoolName: string,
options?: AppServiceEnvironmentsGetWorkerPoolOptionalParams
): Promise<AppServiceEnvironmentsGetWorkerPoolResponse>;
/**
* Description for Create or update a worker pool.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param workerPoolName Name of the worker pool.
* @param workerPoolEnvelope Properties of the worker pool.
* @param options The options parameters.
*/
beginCreateOrUpdateWorkerPool(
resourceGroupName: string,
name: string,
workerPoolName: string,
workerPoolEnvelope: WorkerPoolResource,
options?: AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams
): Promise<
PollerLike<
PollOperationState<
AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse
>,
AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse
>
>;
/**
* Description for Create or update a worker pool.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param workerPoolName Name of the worker pool.
* @param workerPoolEnvelope Properties of the worker pool.
* @param options The options parameters.
*/
beginCreateOrUpdateWorkerPoolAndWait(
resourceGroupName: string,
name: string,
workerPoolName: string,
workerPoolEnvelope: WorkerPoolResource,
options?: AppServiceEnvironmentsCreateOrUpdateWorkerPoolOptionalParams
): Promise<AppServiceEnvironmentsCreateOrUpdateWorkerPoolResponse>;
/**
* Description for Create or update a worker pool.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param workerPoolName Name of the worker pool.
* @param workerPoolEnvelope Properties of the worker pool.
* @param options The options parameters.
*/
updateWorkerPool(
resourceGroupName: string,
name: string,
workerPoolName: string,
workerPoolEnvelope: WorkerPoolResource,
options?: AppServiceEnvironmentsUpdateWorkerPoolOptionalParams
): Promise<AppServiceEnvironmentsUpdateWorkerPoolResponse>;
}
@@ -0,0 +1,432 @@
/*
* 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 {
AppServicePlan,
AppServicePlansListOptionalParams,
AppServicePlansListByResourceGroupOptionalParams,
AppServicePlansListWebAppsByHybridConnectionOptionalParams,
HybridConnection,
AppServicePlansListHybridConnectionsOptionalParams,
Site,
AppServicePlansListWebAppsOptionalParams,
CsmUsageQuota,
AppServicePlansListUsagesOptionalParams,
AppServicePlansGetOptionalParams,
AppServicePlansGetResponse,
AppServicePlansCreateOrUpdateOptionalParams,
AppServicePlansCreateOrUpdateResponse,
AppServicePlansDeleteOptionalParams,
AppServicePlanPatchResource,
AppServicePlansUpdateOptionalParams,
AppServicePlansUpdateResponse,
AppServicePlansListCapabilitiesOptionalParams,
AppServicePlansListCapabilitiesResponse,
AppServicePlansGetHybridConnectionOptionalParams,
AppServicePlansGetHybridConnectionResponse,
AppServicePlansDeleteHybridConnectionOptionalParams,
AppServicePlansListHybridConnectionKeysOptionalParams,
AppServicePlansListHybridConnectionKeysResponse,
AppServicePlansGetHybridConnectionPlanLimitOptionalParams,
AppServicePlansGetHybridConnectionPlanLimitResponse,
AppServicePlansRestartWebAppsOptionalParams,
AppServicePlansGetServerFarmSkusOptionalParams,
AppServicePlansGetServerFarmSkusResponse,
AppServicePlansListVnetsOptionalParams,
AppServicePlansListVnetsResponse,
AppServicePlansGetVnetFromServerFarmOptionalParams,
AppServicePlansGetVnetFromServerFarmResponse,
AppServicePlansGetVnetGatewayOptionalParams,
AppServicePlansGetVnetGatewayResponse,
VnetGateway,
AppServicePlansUpdateVnetGatewayOptionalParams,
AppServicePlansUpdateVnetGatewayResponse,
AppServicePlansListRoutesForVnetOptionalParams,
AppServicePlansListRoutesForVnetResponse,
AppServicePlansGetRouteForVnetOptionalParams,
AppServicePlansGetRouteForVnetResponse,
VnetRoute,
AppServicePlansCreateOrUpdateVnetRouteOptionalParams,
AppServicePlansCreateOrUpdateVnetRouteResponse,
AppServicePlansDeleteVnetRouteOptionalParams,
AppServicePlansUpdateVnetRouteOptionalParams,
AppServicePlansUpdateVnetRouteResponse,
AppServicePlansRebootWorkerOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a AppServicePlans. */
export interface AppServicePlans {
/**
* Description for Get all App Service plans for a subscription.
* @param options The options parameters.
*/
list(
options?: AppServicePlansListOptionalParams
): PagedAsyncIterableIterator<AppServicePlan>;
/**
* Description for Get all App Service plans in a resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
listByResourceGroup(
resourceGroupName: string,
options?: AppServicePlansListByResourceGroupOptionalParams
): PagedAsyncIterableIterator<AppServicePlan>;
/**
* Description for Get all apps that use a Hybrid Connection in an App Service Plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param namespaceName Name of the Hybrid Connection namespace.
* @param relayName Name of the Hybrid Connection relay.
* @param options The options parameters.
*/
listWebAppsByHybridConnection(
resourceGroupName: string,
name: string,
namespaceName: string,
relayName: string,
options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams
): PagedAsyncIterableIterator<string>;
/**
* Description for Retrieve all Hybrid Connections in use in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param options The options parameters.
*/
listHybridConnections(
resourceGroupName: string,
name: string,
options?: AppServicePlansListHybridConnectionsOptionalParams
): PagedAsyncIterableIterator<HybridConnection>;
/**
* Description for Get all apps associated with an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param options The options parameters.
*/
listWebApps(
resourceGroupName: string,
name: string,
options?: AppServicePlansListWebAppsOptionalParams
): PagedAsyncIterableIterator<Site>;
/**
* Description for Gets server farm usage information
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of App Service Plan
* @param options The options parameters.
*/
listUsages(
resourceGroupName: string,
name: string,
options?: AppServicePlansListUsagesOptionalParams
): PagedAsyncIterableIterator<CsmUsageQuota>;
/**
* Description for Get an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
options?: AppServicePlansGetOptionalParams
): Promise<AppServicePlansGetResponse>;
/**
* Description for Creates or updates an App Service Plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param appServicePlan Details of the App Service plan.
* @param options The options parameters.
*/
beginCreateOrUpdate(
resourceGroupName: string,
name: string,
appServicePlan: AppServicePlan,
options?: AppServicePlansCreateOrUpdateOptionalParams
): Promise<
PollerLike<
PollOperationState<AppServicePlansCreateOrUpdateResponse>,
AppServicePlansCreateOrUpdateResponse
>
>;
/**
* Description for Creates or updates an App Service Plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param appServicePlan Details of the App Service plan.
* @param options The options parameters.
*/
beginCreateOrUpdateAndWait(
resourceGroupName: string,
name: string,
appServicePlan: AppServicePlan,
options?: AppServicePlansCreateOrUpdateOptionalParams
): Promise<AppServicePlansCreateOrUpdateResponse>;
/**
* Description for Delete an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param options The options parameters.
*/
delete(
resourceGroupName: string,
name: string,
options?: AppServicePlansDeleteOptionalParams
): Promise<void>;
/**
* Description for Creates or updates an App Service Plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param appServicePlan Details of the App Service plan.
* @param options The options parameters.
*/
update(
resourceGroupName: string,
name: string,
appServicePlan: AppServicePlanPatchResource,
options?: AppServicePlansUpdateOptionalParams
): Promise<AppServicePlansUpdateResponse>;
/**
* Description for List all capabilities of an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param options The options parameters.
*/
listCapabilities(
resourceGroupName: string,
name: string,
options?: AppServicePlansListCapabilitiesOptionalParams
): Promise<AppServicePlansListCapabilitiesResponse>;
/**
* Description for Retrieve a Hybrid Connection in use in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param namespaceName Name of the Service Bus namespace.
* @param relayName Name of the Service Bus relay.
* @param options The options parameters.
*/
getHybridConnection(
resourceGroupName: string,
name: string,
namespaceName: string,
relayName: string,
options?: AppServicePlansGetHybridConnectionOptionalParams
): Promise<AppServicePlansGetHybridConnectionResponse>;
/**
* Description for Delete a Hybrid Connection in use in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param namespaceName Name of the Service Bus namespace.
* @param relayName Name of the Service Bus relay.
* @param options The options parameters.
*/
deleteHybridConnection(
resourceGroupName: string,
name: string,
namespaceName: string,
relayName: string,
options?: AppServicePlansDeleteHybridConnectionOptionalParams
): Promise<void>;
/**
* Description for Get the send key name and value of a Hybrid Connection.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param namespaceName The name of the Service Bus namespace.
* @param relayName The name of the Service Bus relay.
* @param options The options parameters.
*/
listHybridConnectionKeys(
resourceGroupName: string,
name: string,
namespaceName: string,
relayName: string,
options?: AppServicePlansListHybridConnectionKeysOptionalParams
): Promise<AppServicePlansListHybridConnectionKeysResponse>;
/**
* Description for Get the maximum number of Hybrid Connections allowed in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param options The options parameters.
*/
getHybridConnectionPlanLimit(
resourceGroupName: string,
name: string,
options?: AppServicePlansGetHybridConnectionPlanLimitOptionalParams
): Promise<AppServicePlansGetHybridConnectionPlanLimitResponse>;
/**
* Description for Restart all apps in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param options The options parameters.
*/
restartWebApps(
resourceGroupName: string,
name: string,
options?: AppServicePlansRestartWebAppsOptionalParams
): Promise<void>;
/**
* Description for Gets all selectable SKUs for a given App Service Plan
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of App Service Plan
* @param options The options parameters.
*/
getServerFarmSkus(
resourceGroupName: string,
name: string,
options?: AppServicePlansGetServerFarmSkusOptionalParams
): Promise<AppServicePlansGetServerFarmSkusResponse>;
/**
* Description for Get all Virtual Networks associated with an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param options The options parameters.
*/
listVnets(
resourceGroupName: string,
name: string,
options?: AppServicePlansListVnetsOptionalParams
): Promise<AppServicePlansListVnetsResponse>;
/**
* Description for Get a Virtual Network associated with an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param vnetName Name of the Virtual Network.
* @param options The options parameters.
*/
getVnetFromServerFarm(
resourceGroupName: string,
name: string,
vnetName: string,
options?: AppServicePlansGetVnetFromServerFarmOptionalParams
): Promise<AppServicePlansGetVnetFromServerFarmResponse>;
/**
* Description for Get a Virtual Network gateway.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param vnetName Name of the Virtual Network.
* @param gatewayName Name of the gateway. Only the 'primary' gateway is supported.
* @param options The options parameters.
*/
getVnetGateway(
resourceGroupName: string,
name: string,
vnetName: string,
gatewayName: string,
options?: AppServicePlansGetVnetGatewayOptionalParams
): Promise<AppServicePlansGetVnetGatewayResponse>;
/**
* Description for Update a Virtual Network gateway.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param vnetName Name of the Virtual Network.
* @param gatewayName Name of the gateway. Only the 'primary' gateway is supported.
* @param connectionEnvelope Definition of the gateway.
* @param options The options parameters.
*/
updateVnetGateway(
resourceGroupName: string,
name: string,
vnetName: string,
gatewayName: string,
connectionEnvelope: VnetGateway,
options?: AppServicePlansUpdateVnetGatewayOptionalParams
): Promise<AppServicePlansUpdateVnetGatewayResponse>;
/**
* Description for Get all routes that are associated with a Virtual Network in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param vnetName Name of the Virtual Network.
* @param options The options parameters.
*/
listRoutesForVnet(
resourceGroupName: string,
name: string,
vnetName: string,
options?: AppServicePlansListRoutesForVnetOptionalParams
): Promise<AppServicePlansListRoutesForVnetResponse>;
/**
* Description for Get a Virtual Network route in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param vnetName Name of the Virtual Network.
* @param routeName Name of the Virtual Network route.
* @param options The options parameters.
*/
getRouteForVnet(
resourceGroupName: string,
name: string,
vnetName: string,
routeName: string,
options?: AppServicePlansGetRouteForVnetOptionalParams
): Promise<AppServicePlansGetRouteForVnetResponse>;
/**
* Description for Create or update a Virtual Network route in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param vnetName Name of the Virtual Network.
* @param routeName Name of the Virtual Network route.
* @param route Definition of the Virtual Network route.
* @param options The options parameters.
*/
createOrUpdateVnetRoute(
resourceGroupName: string,
name: string,
vnetName: string,
routeName: string,
route: VnetRoute,
options?: AppServicePlansCreateOrUpdateVnetRouteOptionalParams
): Promise<AppServicePlansCreateOrUpdateVnetRouteResponse>;
/**
* Description for Delete a Virtual Network route in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param vnetName Name of the Virtual Network.
* @param routeName Name of the Virtual Network route.
* @param options The options parameters.
*/
deleteVnetRoute(
resourceGroupName: string,
name: string,
vnetName: string,
routeName: string,
options?: AppServicePlansDeleteVnetRouteOptionalParams
): Promise<void>;
/**
* Description for Create or update a Virtual Network route in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param vnetName Name of the Virtual Network.
* @param routeName Name of the Virtual Network route.
* @param route Definition of the Virtual Network route.
* @param options The options parameters.
*/
updateVnetRoute(
resourceGroupName: string,
name: string,
vnetName: string,
routeName: string,
route: VnetRoute,
options?: AppServicePlansUpdateVnetRouteOptionalParams
): Promise<AppServicePlansUpdateVnetRouteResponse>;
/**
* Description for Reboot a worker machine in an App Service plan.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param workerName Name of worker machine, which typically starts with RD.
* @param options The options parameters.
*/
rebootWorker(
resourceGroupName: string,
name: string,
workerName: string,
options?: AppServicePlansRebootWorkerOptionalParams
): Promise<void>;
}
@@ -0,0 +1,46 @@
/*
* 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 {
DetectorResponse,
CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams,
CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams,
CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a CertificateOrdersDiagnostics. */
export interface CertificateOrdersDiagnostics {
/**
* Description for Microsoft.CertificateRegistration to get the list of detectors for this RP.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName The certificate order name for which the response is needed.
* @param options The options parameters.
*/
listAppServiceCertificateOrderDetectorResponse(
resourceGroupName: string,
certificateOrderName: string,
options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams
): PagedAsyncIterableIterator<DetectorResponse>;
/**
* Description for Microsoft.CertificateRegistration call to get a detector response from App Lens.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName The certificate order name for which the response is needed.
* @param detectorName The detector name which needs to be run.
* @param options The options parameters.
*/
getAppServiceCertificateOrderDetectorResponse(
resourceGroupName: string,
certificateOrderName: string,
detectorName: string,
options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams
): Promise<
CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse
>;
}
@@ -0,0 +1,26 @@
/*
* 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 {
CsmOperationDescription,
CertificateRegistrationProviderListOperationsOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a CertificateRegistrationProvider. */
export interface CertificateRegistrationProvider {
/**
* Description for Implements Csm operations Api to exposes the list of available Csm Apis under the
* resource provider
* @param options The options parameters.
*/
listOperations(
options?: CertificateRegistrationProviderListOperationsOptionalParams
): PagedAsyncIterableIterator<CsmOperationDescription>;
}
@@ -0,0 +1,91 @@
/*
* 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 {
Certificate,
CertificatesListOptionalParams,
CertificatesListByResourceGroupOptionalParams,
CertificatesGetOptionalParams,
CertificatesGetResponse,
CertificatesCreateOrUpdateOptionalParams,
CertificatesCreateOrUpdateResponse,
CertificatesDeleteOptionalParams,
CertificatePatchResource,
CertificatesUpdateOptionalParams,
CertificatesUpdateResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a Certificates. */
export interface Certificates {
/**
* Description for Get all certificates for a subscription.
* @param options The options parameters.
*/
list(
options?: CertificatesListOptionalParams
): PagedAsyncIterableIterator<Certificate>;
/**
* Description for Get all certificates in a resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
listByResourceGroup(
resourceGroupName: string,
options?: CertificatesListByResourceGroupOptionalParams
): PagedAsyncIterableIterator<Certificate>;
/**
* Description for Get a certificate.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
options?: CertificatesGetOptionalParams
): Promise<CertificatesGetResponse>;
/**
* Description for Create or update a certificate.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate.
* @param certificateEnvelope Details of certificate, if it exists already.
* @param options The options parameters.
*/
createOrUpdate(
resourceGroupName: string,
name: string,
certificateEnvelope: Certificate,
options?: CertificatesCreateOrUpdateOptionalParams
): Promise<CertificatesCreateOrUpdateResponse>;
/**
* Description for Delete a certificate.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate.
* @param options The options parameters.
*/
delete(
resourceGroupName: string,
name: string,
options?: CertificatesDeleteOptionalParams
): Promise<void>;
/**
* Description for Create or update a certificate.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate.
* @param certificateEnvelope Details of certificate, if it exists already.
* @param options The options parameters.
*/
update(
resourceGroupName: string,
name: string,
certificateEnvelope: CertificatePatchResource,
options?: CertificatesUpdateOptionalParams
): Promise<CertificatesUpdateResponse>;
}
@@ -0,0 +1,116 @@
/*
* 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";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a ContainerApps. */
export interface ContainerApps {
/**
* Get the Container Apps in a given subscription.
* @param options The options parameters.
*/
listBySubscription(
options?: ContainerAppsListBySubscriptionOptionalParams
): PagedAsyncIterableIterator<ContainerApp>;
/**
* 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<ContainerApp>;
/**
* 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<ContainerAppsGetResponse>;
/**
* 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>,
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<ContainerAppsCreateOrUpdateResponse>;
/**
* 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<PollerLike<PollOperationState<void>, 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<void>;
/**
* List secrets for a container app
* @param name Name of the Container App.
* @param options The options parameters.
*/
listSecrets(
name: string,
options?: ContainerAppsListSecretsOptionalParams
): Promise<ContainerAppsListSecretsResponse>;
}
@@ -0,0 +1,86 @@
/*
* 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 {
Revision,
ContainerAppsRevisionsListRevisionsOptionalParams,
ContainerAppsRevisionsGetRevisionOptionalParams,
ContainerAppsRevisionsGetRevisionResponse,
ContainerAppsRevisionsActivateRevisionOptionalParams,
ContainerAppsRevisionsDeactivateRevisionOptionalParams,
ContainerAppsRevisionsRestartRevisionOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a ContainerAppsRevisions. */
export interface ContainerAppsRevisions {
/**
* 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>;
/**
* 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>;
}
@@ -0,0 +1,48 @@
/*
* 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 {
DeletedSite,
DeletedWebAppsListOptionalParams,
DeletedWebAppsListByLocationOptionalParams,
DeletedWebAppsGetDeletedWebAppByLocationOptionalParams,
DeletedWebAppsGetDeletedWebAppByLocationResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a DeletedWebApps. */
export interface DeletedWebApps {
/**
* Description for Get all deleted apps for a subscription.
* @param options The options parameters.
*/
list(
options?: DeletedWebAppsListOptionalParams
): PagedAsyncIterableIterator<DeletedSite>;
/**
* Description for Get all deleted apps for a subscription at location
* @param location
* @param options The options parameters.
*/
listByLocation(
location: string,
options?: DeletedWebAppsListByLocationOptionalParams
): PagedAsyncIterableIterator<DeletedSite>;
/**
* Description for Get deleted app for a subscription at location.
* @param location
* @param deletedSiteId The numeric ID of the deleted app, e.g. 12345
* @param options The options parameters.
*/
getDeletedWebAppByLocation(
location: string,
deletedSiteId: string,
options?: DeletedWebAppsGetDeletedWebAppByLocationOptionalParams
): Promise<DeletedWebAppsGetDeletedWebAppByLocationResponse>;
}
@@ -0,0 +1,367 @@
/*
* 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 {
DetectorResponse,
DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams,
DiagnosticsListSiteDetectorResponsesOptionalParams,
DiagnosticCategory,
DiagnosticsListSiteDiagnosticCategoriesOptionalParams,
AnalysisDefinition,
DiagnosticsListSiteAnalysesOptionalParams,
DetectorDefinitionResource,
DiagnosticsListSiteDetectorsOptionalParams,
DiagnosticsListSiteDetectorResponsesSlotOptionalParams,
DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams,
DiagnosticsListSiteAnalysesSlotOptionalParams,
DiagnosticsListSiteDetectorsSlotOptionalParams,
DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams,
DiagnosticsGetHostingEnvironmentDetectorResponseResponse,
DiagnosticsGetSiteDetectorResponseOptionalParams,
DiagnosticsGetSiteDetectorResponseResponse,
DiagnosticsGetSiteDiagnosticCategoryOptionalParams,
DiagnosticsGetSiteDiagnosticCategoryResponse,
DiagnosticsGetSiteAnalysisOptionalParams,
DiagnosticsGetSiteAnalysisResponse,
DiagnosticsExecuteSiteAnalysisOptionalParams,
DiagnosticsExecuteSiteAnalysisResponse,
DiagnosticsGetSiteDetectorOptionalParams,
DiagnosticsGetSiteDetectorResponse,
DiagnosticsExecuteSiteDetectorOptionalParams,
DiagnosticsExecuteSiteDetectorResponse,
DiagnosticsGetSiteDetectorResponseSlotOptionalParams,
DiagnosticsGetSiteDetectorResponseSlotResponse,
DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams,
DiagnosticsGetSiteDiagnosticCategorySlotResponse,
DiagnosticsGetSiteAnalysisSlotOptionalParams,
DiagnosticsGetSiteAnalysisSlotResponse,
DiagnosticsExecuteSiteAnalysisSlotOptionalParams,
DiagnosticsExecuteSiteAnalysisSlotResponse,
DiagnosticsGetSiteDetectorSlotOptionalParams,
DiagnosticsGetSiteDetectorSlotResponse,
DiagnosticsExecuteSiteDetectorSlotOptionalParams,
DiagnosticsExecuteSiteDetectorSlotResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a Diagnostics. */
export interface Diagnostics {
/**
* Description for List Hosting Environment Detector Responses
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site Name
* @param options The options parameters.
*/
listHostingEnvironmentDetectorResponses(
resourceGroupName: string,
name: string,
options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams
): PagedAsyncIterableIterator<DetectorResponse>;
/**
* Description for List Site Detector Responses
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param options The options parameters.
*/
listSiteDetectorResponses(
resourceGroupName: string,
siteName: string,
options?: DiagnosticsListSiteDetectorResponsesOptionalParams
): PagedAsyncIterableIterator<DetectorResponse>;
/**
* Description for Get Diagnostics Categories
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param options The options parameters.
*/
listSiteDiagnosticCategories(
resourceGroupName: string,
siteName: string,
options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams
): PagedAsyncIterableIterator<DiagnosticCategory>;
/**
* Description for Get Site Analyses
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param options The options parameters.
*/
listSiteAnalyses(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
options?: DiagnosticsListSiteAnalysesOptionalParams
): PagedAsyncIterableIterator<AnalysisDefinition>;
/**
* Description for Get Detectors
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param options The options parameters.
*/
listSiteDetectors(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
options?: DiagnosticsListSiteDetectorsOptionalParams
): PagedAsyncIterableIterator<DetectorDefinitionResource>;
/**
* Description for List Site Detector Responses
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param slot Slot Name
* @param options The options parameters.
*/
listSiteDetectorResponsesSlot(
resourceGroupName: string,
siteName: string,
slot: string,
options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams
): PagedAsyncIterableIterator<DetectorResponse>;
/**
* Description for Get Diagnostics Categories
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param slot Slot Name
* @param options The options parameters.
*/
listSiteDiagnosticCategoriesSlot(
resourceGroupName: string,
siteName: string,
slot: string,
options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams
): PagedAsyncIterableIterator<DiagnosticCategory>;
/**
* Description for Get Site Analyses
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param slot Slot Name
* @param options The options parameters.
*/
listSiteAnalysesSlot(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
slot: string,
options?: DiagnosticsListSiteAnalysesSlotOptionalParams
): PagedAsyncIterableIterator<AnalysisDefinition>;
/**
* Description for Get Detectors
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param slot Slot Name
* @param options The options parameters.
*/
listSiteDetectorsSlot(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
slot: string,
options?: DiagnosticsListSiteDetectorsSlotOptionalParams
): PagedAsyncIterableIterator<DetectorDefinitionResource>;
/**
* Description for Get Hosting Environment Detector Response
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name App Service Environment Name
* @param detectorName Detector Resource Name
* @param options The options parameters.
*/
getHostingEnvironmentDetectorResponse(
resourceGroupName: string,
name: string,
detectorName: string,
options?: DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams
): Promise<DiagnosticsGetHostingEnvironmentDetectorResponseResponse>;
/**
* Description for Get site detector response
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param detectorName Detector Resource Name
* @param options The options parameters.
*/
getSiteDetectorResponse(
resourceGroupName: string,
siteName: string,
detectorName: string,
options?: DiagnosticsGetSiteDetectorResponseOptionalParams
): Promise<DiagnosticsGetSiteDetectorResponseResponse>;
/**
* Description for Get Diagnostics Category
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param options The options parameters.
*/
getSiteDiagnosticCategory(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
options?: DiagnosticsGetSiteDiagnosticCategoryOptionalParams
): Promise<DiagnosticsGetSiteDiagnosticCategoryResponse>;
/**
* Description for Get Site Analysis
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param analysisName Analysis Name
* @param options The options parameters.
*/
getSiteAnalysis(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
analysisName: string,
options?: DiagnosticsGetSiteAnalysisOptionalParams
): Promise<DiagnosticsGetSiteAnalysisResponse>;
/**
* Description for Execute Analysis
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Category Name
* @param analysisName Analysis Resource Name
* @param options The options parameters.
*/
executeSiteAnalysis(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
analysisName: string,
options?: DiagnosticsExecuteSiteAnalysisOptionalParams
): Promise<DiagnosticsExecuteSiteAnalysisResponse>;
/**
* Description for Get Detector
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param detectorName Detector Name
* @param options The options parameters.
*/
getSiteDetector(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
detectorName: string,
options?: DiagnosticsGetSiteDetectorOptionalParams
): Promise<DiagnosticsGetSiteDetectorResponse>;
/**
* Description for Execute Detector
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param detectorName Detector Resource Name
* @param diagnosticCategory Category Name
* @param options The options parameters.
*/
executeSiteDetector(
resourceGroupName: string,
siteName: string,
detectorName: string,
diagnosticCategory: string,
options?: DiagnosticsExecuteSiteDetectorOptionalParams
): Promise<DiagnosticsExecuteSiteDetectorResponse>;
/**
* Description for Get site detector response
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param detectorName Detector Resource Name
* @param slot Slot Name
* @param options The options parameters.
*/
getSiteDetectorResponseSlot(
resourceGroupName: string,
siteName: string,
detectorName: string,
slot: string,
options?: DiagnosticsGetSiteDetectorResponseSlotOptionalParams
): Promise<DiagnosticsGetSiteDetectorResponseSlotResponse>;
/**
* Description for Get Diagnostics Category
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param slot Slot Name
* @param options The options parameters.
*/
getSiteDiagnosticCategorySlot(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
slot: string,
options?: DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams
): Promise<DiagnosticsGetSiteDiagnosticCategorySlotResponse>;
/**
* Description for Get Site Analysis
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param analysisName Analysis Name
* @param slot Slot - optional
* @param options The options parameters.
*/
getSiteAnalysisSlot(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
analysisName: string,
slot: string,
options?: DiagnosticsGetSiteAnalysisSlotOptionalParams
): Promise<DiagnosticsGetSiteAnalysisSlotResponse>;
/**
* Description for Execute Analysis
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Category Name
* @param analysisName Analysis Resource Name
* @param slot Slot Name
* @param options The options parameters.
*/
executeSiteAnalysisSlot(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
analysisName: string,
slot: string,
options?: DiagnosticsExecuteSiteAnalysisSlotOptionalParams
): Promise<DiagnosticsExecuteSiteAnalysisSlotResponse>;
/**
* Description for Get Detector
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param detectorName Detector Name
* @param slot Slot Name
* @param options The options parameters.
*/
getSiteDetectorSlot(
resourceGroupName: string,
siteName: string,
diagnosticCategory: string,
detectorName: string,
slot: string,
options?: DiagnosticsGetSiteDetectorSlotOptionalParams
): Promise<DiagnosticsGetSiteDetectorSlotResponse>;
/**
* Description for Execute Detector
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param detectorName Detector Resource Name
* @param diagnosticCategory Category Name
* @param slot Slot Name
* @param options The options parameters.
*/
executeSiteDetectorSlot(
resourceGroupName: string,
siteName: string,
detectorName: string,
diagnosticCategory: string,
slot: string,
options?: DiagnosticsExecuteSiteDetectorSlotOptionalParams
): Promise<DiagnosticsExecuteSiteDetectorSlotResponse>;
}
@@ -0,0 +1,26 @@
/*
* 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 {
CsmOperationDescription,
DomainRegistrationProviderListOperationsOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a DomainRegistrationProvider. */
export interface DomainRegistrationProvider {
/**
* Description for Implements Csm operations Api to exposes the list of available Csm Apis under the
* resource provider
* @param options The options parameters.
*/
listOperations(
options?: DomainRegistrationProviderListOperationsOptionalParams
): PagedAsyncIterableIterator<CsmOperationDescription>;
}
+243
View File
@@ -0,0 +1,243 @@
/*
* 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 {
Domain,
DomainsListOptionalParams,
NameIdentifier,
DomainRecommendationSearchParameters,
DomainsListRecommendationsOptionalParams,
DomainsListByResourceGroupOptionalParams,
DomainOwnershipIdentifier,
DomainsListOwnershipIdentifiersOptionalParams,
DomainsCheckAvailabilityOptionalParams,
DomainsCheckAvailabilityResponse,
DomainsGetControlCenterSsoRequestOptionalParams,
DomainsGetControlCenterSsoRequestResponse,
DomainsGetOptionalParams,
DomainsGetResponse,
DomainsCreateOrUpdateOptionalParams,
DomainsCreateOrUpdateResponse,
DomainsDeleteOptionalParams,
DomainPatchResource,
DomainsUpdateOptionalParams,
DomainsUpdateResponse,
DomainsGetOwnershipIdentifierOptionalParams,
DomainsGetOwnershipIdentifierResponse,
DomainsCreateOrUpdateOwnershipIdentifierOptionalParams,
DomainsCreateOrUpdateOwnershipIdentifierResponse,
DomainsDeleteOwnershipIdentifierOptionalParams,
DomainsUpdateOwnershipIdentifierOptionalParams,
DomainsUpdateOwnershipIdentifierResponse,
DomainsRenewOptionalParams,
DomainsTransferOutOptionalParams,
DomainsTransferOutResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a Domains. */
export interface Domains {
/**
* Description for Get all domains in a subscription.
* @param options The options parameters.
*/
list(options?: DomainsListOptionalParams): PagedAsyncIterableIterator<Domain>;
/**
* Description for Get domain name recommendations based on keywords.
* @param parameters Search parameters for domain name recommendations.
* @param options The options parameters.
*/
listRecommendations(
parameters: DomainRecommendationSearchParameters,
options?: DomainsListRecommendationsOptionalParams
): PagedAsyncIterableIterator<NameIdentifier>;
/**
* Description for Get all domains in a resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
listByResourceGroup(
resourceGroupName: string,
options?: DomainsListByResourceGroupOptionalParams
): PagedAsyncIterableIterator<Domain>;
/**
* Description for Lists domain ownership identifiers.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of domain.
* @param options The options parameters.
*/
listOwnershipIdentifiers(
resourceGroupName: string,
domainName: string,
options?: DomainsListOwnershipIdentifiersOptionalParams
): PagedAsyncIterableIterator<DomainOwnershipIdentifier>;
/**
* Description for Check if a domain is available for registration.
* @param identifier Name of the domain.
* @param options The options parameters.
*/
checkAvailability(
identifier: NameIdentifier,
options?: DomainsCheckAvailabilityOptionalParams
): Promise<DomainsCheckAvailabilityResponse>;
/**
* Description for Generate a single sign-on request for the domain management portal.
* @param options The options parameters.
*/
getControlCenterSsoRequest(
options?: DomainsGetControlCenterSsoRequestOptionalParams
): Promise<DomainsGetControlCenterSsoRequestResponse>;
/**
* Description for Get a domain.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of the domain.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
domainName: string,
options?: DomainsGetOptionalParams
): Promise<DomainsGetResponse>;
/**
* Description for Creates or updates a domain.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of the domain.
* @param domain Domain registration information.
* @param options The options parameters.
*/
beginCreateOrUpdate(
resourceGroupName: string,
domainName: string,
domain: Domain,
options?: DomainsCreateOrUpdateOptionalParams
): Promise<
PollerLike<
PollOperationState<DomainsCreateOrUpdateResponse>,
DomainsCreateOrUpdateResponse
>
>;
/**
* Description for Creates or updates a domain.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of the domain.
* @param domain Domain registration information.
* @param options The options parameters.
*/
beginCreateOrUpdateAndWait(
resourceGroupName: string,
domainName: string,
domain: Domain,
options?: DomainsCreateOrUpdateOptionalParams
): Promise<DomainsCreateOrUpdateResponse>;
/**
* Description for Delete a domain.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of the domain.
* @param options The options parameters.
*/
delete(
resourceGroupName: string,
domainName: string,
options?: DomainsDeleteOptionalParams
): Promise<void>;
/**
* Description for Creates or updates a domain.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of the domain.
* @param domain Domain registration information.
* @param options The options parameters.
*/
update(
resourceGroupName: string,
domainName: string,
domain: DomainPatchResource,
options?: DomainsUpdateOptionalParams
): Promise<DomainsUpdateResponse>;
/**
* Description for Get ownership identifier for domain
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of domain.
* @param name Name of identifier.
* @param options The options parameters.
*/
getOwnershipIdentifier(
resourceGroupName: string,
domainName: string,
name: string,
options?: DomainsGetOwnershipIdentifierOptionalParams
): Promise<DomainsGetOwnershipIdentifierResponse>;
/**
* Description for Creates an ownership identifier for a domain or updates identifier details for an
* existing identifier
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of domain.
* @param name Name of identifier.
* @param domainOwnershipIdentifier A JSON representation of the domain ownership properties.
* @param options The options parameters.
*/
createOrUpdateOwnershipIdentifier(
resourceGroupName: string,
domainName: string,
name: string,
domainOwnershipIdentifier: DomainOwnershipIdentifier,
options?: DomainsCreateOrUpdateOwnershipIdentifierOptionalParams
): Promise<DomainsCreateOrUpdateOwnershipIdentifierResponse>;
/**
* Description for Delete ownership identifier for domain
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of domain.
* @param name Name of identifier.
* @param options The options parameters.
*/
deleteOwnershipIdentifier(
resourceGroupName: string,
domainName: string,
name: string,
options?: DomainsDeleteOwnershipIdentifierOptionalParams
): Promise<void>;
/**
* Description for Creates an ownership identifier for a domain or updates identifier details for an
* existing identifier
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of domain.
* @param name Name of identifier.
* @param domainOwnershipIdentifier A JSON representation of the domain ownership properties.
* @param options The options parameters.
*/
updateOwnershipIdentifier(
resourceGroupName: string,
domainName: string,
name: string,
domainOwnershipIdentifier: DomainOwnershipIdentifier,
options?: DomainsUpdateOwnershipIdentifierOptionalParams
): Promise<DomainsUpdateOwnershipIdentifierResponse>;
/**
* Description for Renew a domain.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of the domain.
* @param options The options parameters.
*/
renew(
resourceGroupName: string,
domainName: string,
options?: DomainsRenewOptionalParams
): Promise<void>;
/**
* Transfer out domain to another registrar
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of domain.
* @param options The options parameters.
*/
transferOut(
resourceGroupName: string,
domainName: string,
options?: DomainsTransferOutOptionalParams
): Promise<DomainsTransferOutResponse>;
}
+48
View File
@@ -0,0 +1,48 @@
/*
* 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 {
GlobalGetDeletedWebAppOptionalParams,
GlobalGetDeletedWebAppResponse,
GlobalGetDeletedWebAppSnapshotsOptionalParams,
GlobalGetDeletedWebAppSnapshotsResponse,
GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams
} from "../models";
/** Interface representing a Global. */
export interface Global {
/**
* Description for Get deleted app for a subscription.
* @param deletedSiteId The numeric ID of the deleted app, e.g. 12345
* @param options The options parameters.
*/
getDeletedWebApp(
deletedSiteId: string,
options?: GlobalGetDeletedWebAppOptionalParams
): Promise<GlobalGetDeletedWebAppResponse>;
/**
* Description for Get all deleted apps for a subscription.
* @param deletedSiteId The numeric ID of the deleted app, e.g. 12345
* @param options The options parameters.
*/
getDeletedWebAppSnapshots(
deletedSiteId: string,
options?: GlobalGetDeletedWebAppSnapshotsOptionalParams
): Promise<GlobalGetDeletedWebAppSnapshotsResponse>;
/**
* Description for Gets an operation in a subscription and given region
* @param location Location name
* @param operationId Operation Id
* @param options The options parameters.
*/
getSubscriptionOperationWithAsyncResponse(
location: string,
operationId: string,
options?: GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams
): Promise<void>;
}
+37
View File
@@ -0,0 +1,37 @@
/*
* 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.
*/
export * from "./appServiceCertificateOrders";
export * from "./certificateOrdersDiagnostics";
export * from "./certificateRegistrationProvider";
export * from "./domains";
export * from "./topLevelDomains";
export * from "./domainRegistrationProvider";
export * from "./appServiceEnvironments";
export * from "./appServicePlans";
export * from "./certificates";
export * from "./containerApps";
export * from "./containerAppsRevisions";
export * from "./deletedWebApps";
export * from "./diagnostics";
export * from "./global";
export * from "./kubeEnvironments";
export * from "./provider";
export * from "./recommendations";
export * from "./resourceHealthMetadataOperations";
export * from "./staticSites";
export * from "./webApps";
export * from "./workflows";
export * from "./workflowRuns";
export * from "./workflowRunActions";
export * from "./workflowRunActionRepetitions";
export * from "./workflowRunActionRepetitionsRequestHistories";
export * from "./workflowRunActionScopeRepetitions";
export * from "./workflowTriggers";
export * from "./workflowTriggerHistories";
export * from "./workflowVersions";
@@ -0,0 +1,121 @@
/*
* 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 {
KubeEnvironment,
KubeEnvironmentsListBySubscriptionOptionalParams,
KubeEnvironmentsListByResourceGroupOptionalParams,
KubeEnvironmentsGetOptionalParams,
KubeEnvironmentsGetResponse,
KubeEnvironmentsCreateOrUpdateOptionalParams,
KubeEnvironmentsCreateOrUpdateResponse,
KubeEnvironmentsDeleteOptionalParams,
KubeEnvironmentPatchResource,
KubeEnvironmentsUpdateOptionalParams,
KubeEnvironmentsUpdateResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a KubeEnvironments. */
export interface KubeEnvironments {
/**
* Description for Get all Kubernetes Environments for a subscription.
* @param options The options parameters.
*/
listBySubscription(
options?: KubeEnvironmentsListBySubscriptionOptionalParams
): PagedAsyncIterableIterator<KubeEnvironment>;
/**
* Description for Get all the Kubernetes Environments in a resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
listByResourceGroup(
resourceGroupName: string,
options?: KubeEnvironmentsListByResourceGroupOptionalParams
): PagedAsyncIterableIterator<KubeEnvironment>;
/**
* Description for Get the properties of a Kubernetes Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Kubernetes Environment.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
options?: KubeEnvironmentsGetOptionalParams
): Promise<KubeEnvironmentsGetResponse>;
/**
* Description for Creates or updates a Kubernetes Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Kubernetes Environment.
* @param kubeEnvironmentEnvelope Configuration details of the Kubernetes Environment.
* @param options The options parameters.
*/
beginCreateOrUpdate(
resourceGroupName: string,
name: string,
kubeEnvironmentEnvelope: KubeEnvironment,
options?: KubeEnvironmentsCreateOrUpdateOptionalParams
): Promise<
PollerLike<
PollOperationState<KubeEnvironmentsCreateOrUpdateResponse>,
KubeEnvironmentsCreateOrUpdateResponse
>
>;
/**
* Description for Creates or updates a Kubernetes Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Kubernetes Environment.
* @param kubeEnvironmentEnvelope Configuration details of the Kubernetes Environment.
* @param options The options parameters.
*/
beginCreateOrUpdateAndWait(
resourceGroupName: string,
name: string,
kubeEnvironmentEnvelope: KubeEnvironment,
options?: KubeEnvironmentsCreateOrUpdateOptionalParams
): Promise<KubeEnvironmentsCreateOrUpdateResponse>;
/**
* Description for Delete a Kubernetes Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Kubernetes Environment.
* @param options The options parameters.
*/
beginDelete(
resourceGroupName: string,
name: string,
options?: KubeEnvironmentsDeleteOptionalParams
): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Description for Delete a Kubernetes Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Kubernetes Environment.
* @param options The options parameters.
*/
beginDeleteAndWait(
resourceGroupName: string,
name: string,
options?: KubeEnvironmentsDeleteOptionalParams
): Promise<void>;
/**
* Description for Creates or updates a Kubernetes Environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the Kubernetes Environment.
* @param kubeEnvironmentEnvelope Configuration details of the Kubernetes Environment.
* @param options The options parameters.
*/
update(
resourceGroupName: string,
name: string,
kubeEnvironmentEnvelope: KubeEnvironmentPatchResource,
options?: KubeEnvironmentsUpdateOptionalParams
): Promise<KubeEnvironmentsUpdateResponse>;
}
@@ -0,0 +1,81 @@
/*
* 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 {
ApplicationStackResource,
ProviderGetAvailableStacksOptionalParams,
FunctionAppStack,
ProviderGetFunctionAppStacksOptionalParams,
ProviderGetFunctionAppStacksForLocationOptionalParams,
WebAppStack,
ProviderGetWebAppStacksForLocationOptionalParams,
CsmOperationDescription,
ProviderListOperationsOptionalParams,
ProviderGetWebAppStacksOptionalParams,
ProviderGetAvailableStacksOnPremOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a Provider. */
export interface Provider {
/**
* Description for Get available application frameworks and their versions
* @param options The options parameters.
*/
listAvailableStacks(
options?: ProviderGetAvailableStacksOptionalParams
): PagedAsyncIterableIterator<ApplicationStackResource>;
/**
* Description for Get available Function app frameworks and their versions
* @param options The options parameters.
*/
listFunctionAppStacks(
options?: ProviderGetFunctionAppStacksOptionalParams
): PagedAsyncIterableIterator<FunctionAppStack>;
/**
* Description for Get available Function app frameworks and their versions for location
* @param location Function App stack location.
* @param options The options parameters.
*/
listFunctionAppStacksForLocation(
location: string,
options?: ProviderGetFunctionAppStacksForLocationOptionalParams
): PagedAsyncIterableIterator<FunctionAppStack>;
/**
* Description for Get available Web app frameworks and their versions for location
* @param location Web App stack location.
* @param options The options parameters.
*/
listWebAppStacksForLocation(
location: string,
options?: ProviderGetWebAppStacksForLocationOptionalParams
): PagedAsyncIterableIterator<WebAppStack>;
/**
* Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes
* resource metric definitions
* @param options The options parameters.
*/
listOperations(
options?: ProviderListOperationsOptionalParams
): PagedAsyncIterableIterator<CsmOperationDescription>;
/**
* Description for Get available Web app frameworks and their versions
* @param options The options parameters.
*/
listWebAppStacks(
options?: ProviderGetWebAppStacksOptionalParams
): PagedAsyncIterableIterator<WebAppStack>;
/**
* Description for Get available application frameworks and their versions
* @param options The options parameters.
*/
listAvailableStacksOnPrem(
options?: ProviderGetAvailableStacksOnPremOptionalParams
): PagedAsyncIterableIterator<ApplicationStackResource>;
}
@@ -0,0 +1,203 @@
/*
* 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 {
Recommendation,
RecommendationsListOptionalParams,
RecommendationsListHistoryForHostingEnvironmentOptionalParams,
RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams,
RecommendationsListHistoryForWebAppOptionalParams,
RecommendationsListRecommendedRulesForWebAppOptionalParams,
RecommendationsResetAllFiltersOptionalParams,
RecommendationsDisableRecommendationForSubscriptionOptionalParams,
RecommendationsDisableAllForHostingEnvironmentOptionalParams,
RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams,
RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams,
RecommendationsGetRuleDetailsByHostingEnvironmentResponse,
RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams,
RecommendationsDisableAllForWebAppOptionalParams,
RecommendationsResetAllFiltersForWebAppOptionalParams,
RecommendationsGetRuleDetailsByWebAppOptionalParams,
RecommendationsGetRuleDetailsByWebAppResponse,
RecommendationsDisableRecommendationForSiteOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a Recommendations. */
export interface Recommendations {
/**
* Description for List all recommendations for a subscription.
* @param options The options parameters.
*/
list(
options?: RecommendationsListOptionalParams
): PagedAsyncIterableIterator<Recommendation>;
/**
* Description for Get past recommendations for an app, optionally specified by the time range.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param hostingEnvironmentName Name of the hosting environment.
* @param options The options parameters.
*/
listHistoryForHostingEnvironment(
resourceGroupName: string,
hostingEnvironmentName: string,
options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams
): PagedAsyncIterableIterator<Recommendation>;
/**
* Description for Get all recommendations for a hosting environment.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param hostingEnvironmentName Name of the app.
* @param options The options parameters.
*/
listRecommendedRulesForHostingEnvironment(
resourceGroupName: string,
hostingEnvironmentName: string,
options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams
): PagedAsyncIterableIterator<Recommendation>;
/**
* Description for Get past recommendations for an app, optionally specified by the time range.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Name of the app.
* @param options The options parameters.
*/
listHistoryForWebApp(
resourceGroupName: string,
siteName: string,
options?: RecommendationsListHistoryForWebAppOptionalParams
): PagedAsyncIterableIterator<Recommendation>;
/**
* Description for Get all recommendations for an app.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Name of the app.
* @param options The options parameters.
*/
listRecommendedRulesForWebApp(
resourceGroupName: string,
siteName: string,
options?: RecommendationsListRecommendedRulesForWebAppOptionalParams
): PagedAsyncIterableIterator<Recommendation>;
/**
* Description for Reset all recommendation opt-out settings for a subscription.
* @param options The options parameters.
*/
resetAllFilters(
options?: RecommendationsResetAllFiltersOptionalParams
): Promise<void>;
/**
* Description for Disables the specified rule so it will not apply to a subscription in the future.
* @param name Rule name
* @param options The options parameters.
*/
disableRecommendationForSubscription(
name: string,
options?: RecommendationsDisableRecommendationForSubscriptionOptionalParams
): Promise<void>;
/**
* Description for Disable all recommendations for an app.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param environmentName Name of the app.
* @param hostingEnvironmentName
* @param options The options parameters.
*/
disableAllForHostingEnvironment(
resourceGroupName: string,
environmentName: string,
hostingEnvironmentName: string,
options?: RecommendationsDisableAllForHostingEnvironmentOptionalParams
): Promise<void>;
/**
* Description for Reset all recommendation opt-out settings for an app.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param environmentName Name of the app.
* @param hostingEnvironmentName
* @param options The options parameters.
*/
resetAllFiltersForHostingEnvironment(
resourceGroupName: string,
environmentName: string,
hostingEnvironmentName: string,
options?: RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams
): Promise<void>;
/**
* Description for Get a recommendation rule for an app.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param hostingEnvironmentName Name of the hosting environment.
* @param name Name of the recommendation.
* @param options The options parameters.
*/
getRuleDetailsByHostingEnvironment(
resourceGroupName: string,
hostingEnvironmentName: string,
name: string,
options?: RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams
): Promise<RecommendationsGetRuleDetailsByHostingEnvironmentResponse>;
/**
* Description for Disables the specific rule for a web site permanently.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param environmentName Site name
* @param name Rule name
* @param hostingEnvironmentName
* @param options The options parameters.
*/
disableRecommendationForHostingEnvironment(
resourceGroupName: string,
environmentName: string,
name: string,
hostingEnvironmentName: string,
options?: RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams
): Promise<void>;
/**
* Description for Disable all recommendations for an app.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Name of the app.
* @param options The options parameters.
*/
disableAllForWebApp(
resourceGroupName: string,
siteName: string,
options?: RecommendationsDisableAllForWebAppOptionalParams
): Promise<void>;
/**
* Description for Reset all recommendation opt-out settings for an app.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Name of the app.
* @param options The options parameters.
*/
resetAllFiltersForWebApp(
resourceGroupName: string,
siteName: string,
options?: RecommendationsResetAllFiltersForWebAppOptionalParams
): Promise<void>;
/**
* Description for Get a recommendation rule for an app.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Name of the app.
* @param name Name of the recommendation.
* @param options The options parameters.
*/
getRuleDetailsByWebApp(
resourceGroupName: string,
siteName: string,
name: string,
options?: RecommendationsGetRuleDetailsByWebAppOptionalParams
): Promise<RecommendationsGetRuleDetailsByWebAppResponse>;
/**
* Description for Disables the specific rule for a web site permanently.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site name
* @param name Rule name
* @param options The options parameters.
*/
disableRecommendationForSite(
resourceGroupName: string,
siteName: string,
name: string,
options?: RecommendationsDisableRecommendationForSiteOptionalParams
): Promise<void>;
}
@@ -0,0 +1,92 @@
/*
* 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 {
ResourceHealthMetadata,
ResourceHealthMetadataListOptionalParams,
ResourceHealthMetadataListByResourceGroupOptionalParams,
ResourceHealthMetadataListBySiteOptionalParams,
ResourceHealthMetadataListBySiteSlotOptionalParams,
ResourceHealthMetadataGetBySiteOptionalParams,
ResourceHealthMetadataGetBySiteResponse,
ResourceHealthMetadataGetBySiteSlotOptionalParams,
ResourceHealthMetadataGetBySiteSlotResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a ResourceHealthMetadataOperations. */
export interface ResourceHealthMetadataOperations {
/**
* Description for List all ResourceHealthMetadata for all sites in the subscription.
* @param options The options parameters.
*/
list(
options?: ResourceHealthMetadataListOptionalParams
): PagedAsyncIterableIterator<ResourceHealthMetadata>;
/**
* Description for List all ResourceHealthMetadata for all sites in the resource group in the
* subscription.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
listByResourceGroup(
resourceGroupName: string,
options?: ResourceHealthMetadataListByResourceGroupOptionalParams
): PagedAsyncIterableIterator<ResourceHealthMetadata>;
/**
* Description for Gets the category of ResourceHealthMetadata to use for the given site as a
* collection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of web app.
* @param options The options parameters.
*/
listBySite(
resourceGroupName: string,
name: string,
options?: ResourceHealthMetadataListBySiteOptionalParams
): PagedAsyncIterableIterator<ResourceHealthMetadata>;
/**
* Description for Gets the category of ResourceHealthMetadata to use for the given site as a
* collection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of web app.
* @param slot Name of web app slot. If not specified then will default to production slot.
* @param options The options parameters.
*/
listBySiteSlot(
resourceGroupName: string,
name: string,
slot: string,
options?: ResourceHealthMetadataListBySiteSlotOptionalParams
): PagedAsyncIterableIterator<ResourceHealthMetadata>;
/**
* Description for Gets the category of ResourceHealthMetadata to use for the given site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of web app
* @param options The options parameters.
*/
getBySite(
resourceGroupName: string,
name: string,
options?: ResourceHealthMetadataGetBySiteOptionalParams
): Promise<ResourceHealthMetadataGetBySiteResponse>;
/**
* Description for Gets the category of ResourceHealthMetadata to use for the given site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of web app
* @param slot Name of web app slot. If not specified then will default to production slot.
* @param options The options parameters.
*/
getBySiteSlot(
resourceGroupName: string,
name: string,
slot: string,
options?: ResourceHealthMetadataGetBySiteSlotOptionalParams
): Promise<ResourceHealthMetadataGetBySiteSlotResponse>;
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,50 @@
/*
* 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 {
TopLevelDomain,
TopLevelDomainsListOptionalParams,
TldLegalAgreement,
TopLevelDomainAgreementOption,
TopLevelDomainsListAgreementsOptionalParams,
TopLevelDomainsGetOptionalParams,
TopLevelDomainsGetResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a TopLevelDomains. */
export interface TopLevelDomains {
/**
* Description for Get all top-level domains supported for registration.
* @param options The options parameters.
*/
list(
options?: TopLevelDomainsListOptionalParams
): PagedAsyncIterableIterator<TopLevelDomain>;
/**
* Description for Gets all legal agreements that user needs to accept before purchasing a domain.
* @param name Name of the top-level domain.
* @param agreementOption Domain agreement options.
* @param options The options parameters.
*/
listAgreements(
name: string,
agreementOption: TopLevelDomainAgreementOption,
options?: TopLevelDomainsListAgreementsOptionalParams
): PagedAsyncIterableIterator<TldLegalAgreement>;
/**
* Description for Get details of a top-level domain.
* @param name Name of the top-level domain.
* @param options The options parameters.
*/
get(
name: string,
options?: TopLevelDomainsGetOptionalParams
): Promise<TopLevelDomainsGetResponse>;
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,77 @@
/*
* 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 {
WorkflowRunActionRepetitionDefinition,
WorkflowRunActionRepetitionsListOptionalParams,
ExpressionRoot,
WorkflowRunActionRepetitionsListExpressionTracesOptionalParams,
WorkflowRunActionRepetitionsGetOptionalParams,
WorkflowRunActionRepetitionsGetResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a WorkflowRunActionRepetitions. */
export interface WorkflowRunActionRepetitions {
/**
* Get all of a workflow run action repetitions.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param actionName The workflow action name.
* @param options The options parameters.
*/
list(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
actionName: string,
options?: WorkflowRunActionRepetitionsListOptionalParams
): PagedAsyncIterableIterator<WorkflowRunActionRepetitionDefinition>;
/**
* Lists a workflow run expression trace.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param actionName The workflow action name.
* @param repetitionName The workflow repetition.
* @param options The options parameters.
*/
listExpressionTraces(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
actionName: string,
repetitionName: string,
options?: WorkflowRunActionRepetitionsListExpressionTracesOptionalParams
): PagedAsyncIterableIterator<ExpressionRoot>;
/**
* Get a workflow run action repetition.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param actionName The workflow action name.
* @param repetitionName The workflow repetition.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
actionName: string,
repetitionName: string,
options?: WorkflowRunActionRepetitionsGetOptionalParams
): Promise<WorkflowRunActionRepetitionsGetResponse>;
}
@@ -0,0 +1,60 @@
/*
* 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 {
RequestHistory,
WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams,
WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams,
WorkflowRunActionRepetitionsRequestHistoriesGetResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a WorkflowRunActionRepetitionsRequestHistories. */
export interface WorkflowRunActionRepetitionsRequestHistories {
/**
* List a workflow run repetition request history.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param actionName The workflow action name.
* @param repetitionName The workflow repetition.
* @param options The options parameters.
*/
list(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
actionName: string,
repetitionName: string,
options?: WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams
): PagedAsyncIterableIterator<RequestHistory>;
/**
* Gets a workflow run repetition request history.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param actionName The workflow action name.
* @param repetitionName The workflow repetition.
* @param requestHistoryName The request history name.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
actionName: string,
repetitionName: string,
requestHistoryName: string,
options?: WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams
): Promise<WorkflowRunActionRepetitionsRequestHistoriesGetResponse>;
}
@@ -0,0 +1,56 @@
/*
* 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 {
WorkflowRunActionRepetitionDefinition,
WorkflowRunActionScopeRepetitionsListOptionalParams,
WorkflowRunActionScopeRepetitionsGetOptionalParams,
WorkflowRunActionScopeRepetitionsGetResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a WorkflowRunActionScopeRepetitions. */
export interface WorkflowRunActionScopeRepetitions {
/**
* List the workflow run action scoped repetitions.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param actionName The workflow action name.
* @param options The options parameters.
*/
list(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
actionName: string,
options?: WorkflowRunActionScopeRepetitionsListOptionalParams
): PagedAsyncIterableIterator<WorkflowRunActionRepetitionDefinition>;
/**
* Get a workflow run action scoped repetition.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param actionName The workflow action name.
* @param repetitionName The workflow repetition.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
actionName: string,
repetitionName: string,
options?: WorkflowRunActionScopeRepetitionsGetOptionalParams
): Promise<WorkflowRunActionScopeRepetitionsGetResponse>;
}
@@ -0,0 +1,71 @@
/*
* 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 {
WorkflowRunAction,
WorkflowRunActionsListOptionalParams,
ExpressionRoot,
WorkflowRunActionsListExpressionTracesOptionalParams,
WorkflowRunActionsGetOptionalParams,
WorkflowRunActionsGetResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a WorkflowRunActions. */
export interface WorkflowRunActions {
/**
* Gets a list of workflow run actions.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param options The options parameters.
*/
list(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
options?: WorkflowRunActionsListOptionalParams
): PagedAsyncIterableIterator<WorkflowRunAction>;
/**
* Lists a workflow run expression trace.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param actionName The workflow action name.
* @param options The options parameters.
*/
listExpressionTraces(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
actionName: string,
options?: WorkflowRunActionsListExpressionTracesOptionalParams
): PagedAsyncIterableIterator<ExpressionRoot>;
/**
* Gets a workflow run action.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param actionName The workflow action name.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
actionName: string,
options?: WorkflowRunActionsGetOptionalParams
): Promise<WorkflowRunActionsGetResponse>;
}
@@ -0,0 +1,64 @@
/*
* 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 {
WorkflowRun,
WorkflowRunsListOptionalParams,
WorkflowRunsGetOptionalParams,
WorkflowRunsGetResponse,
WorkflowRunsCancelOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a WorkflowRuns. */
export interface WorkflowRuns {
/**
* Gets a list of workflow runs.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param options The options parameters.
*/
list(
resourceGroupName: string,
name: string,
workflowName: string,
options?: WorkflowRunsListOptionalParams
): PagedAsyncIterableIterator<WorkflowRun>;
/**
* Gets a workflow run.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
options?: WorkflowRunsGetOptionalParams
): Promise<WorkflowRunsGetResponse>;
/**
* Cancels a workflow run.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param options The options parameters.
*/
cancel(
resourceGroupName: string,
name: string,
workflowName: string,
runName: string,
options?: WorkflowRunsCancelOptionalParams
): Promise<void>;
}
@@ -0,0 +1,91 @@
/*
* 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 {
WorkflowTriggerHistory,
WorkflowTriggerHistoriesListOptionalParams,
WorkflowTriggerHistoriesGetOptionalParams,
WorkflowTriggerHistoriesGetResponse,
WorkflowTriggerHistoriesResubmitOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a WorkflowTriggerHistories. */
export interface WorkflowTriggerHistories {
/**
* Gets a list of workflow trigger histories.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param triggerName The workflow trigger name.
* @param options The options parameters.
*/
list(
resourceGroupName: string,
name: string,
workflowName: string,
triggerName: string,
options?: WorkflowTriggerHistoriesListOptionalParams
): PagedAsyncIterableIterator<WorkflowTriggerHistory>;
/**
* Gets a workflow trigger history.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param triggerName The workflow trigger name.
* @param historyName The workflow trigger history name. Corresponds to the run name for triggers that
* resulted in a run.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
workflowName: string,
triggerName: string,
historyName: string,
options?: WorkflowTriggerHistoriesGetOptionalParams
): Promise<WorkflowTriggerHistoriesGetResponse>;
/**
* Resubmits a workflow run based on the trigger history.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param triggerName The workflow trigger name.
* @param historyName The workflow trigger history name. Corresponds to the run name for triggers that
* resulted in a run.
* @param options The options parameters.
*/
beginResubmit(
resourceGroupName: string,
name: string,
workflowName: string,
triggerName: string,
historyName: string,
options?: WorkflowTriggerHistoriesResubmitOptionalParams
): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Resubmits a workflow run based on the trigger history.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param triggerName The workflow trigger name.
* @param historyName The workflow trigger history name. Corresponds to the run name for triggers that
* resulted in a run.
* @param options The options parameters.
*/
beginResubmitAndWait(
resourceGroupName: string,
name: string,
workflowName: string,
triggerName: string,
historyName: string,
options?: WorkflowTriggerHistoriesResubmitOptionalParams
): Promise<void>;
}
@@ -0,0 +1,114 @@
/*
* 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 {
WorkflowTrigger,
WorkflowTriggersListOptionalParams,
WorkflowTriggersGetOptionalParams,
WorkflowTriggersGetResponse,
WorkflowTriggersListCallbackUrlOptionalParams,
WorkflowTriggersListCallbackUrlResponse,
WorkflowTriggersRunOptionalParams,
WorkflowTriggersGetSchemaJsonOptionalParams,
WorkflowTriggersGetSchemaJsonResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a WorkflowTriggers. */
export interface WorkflowTriggers {
/**
* Gets a list of workflow triggers.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param options The options parameters.
*/
list(
resourceGroupName: string,
name: string,
workflowName: string,
options?: WorkflowTriggersListOptionalParams
): PagedAsyncIterableIterator<WorkflowTrigger>;
/**
* Gets a workflow trigger.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param triggerName The workflow trigger name.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
workflowName: string,
triggerName: string,
options?: WorkflowTriggersGetOptionalParams
): Promise<WorkflowTriggersGetResponse>;
/**
* Get the callback URL for a workflow trigger.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param triggerName The workflow trigger name.
* @param options The options parameters.
*/
listCallbackUrl(
resourceGroupName: string,
name: string,
workflowName: string,
triggerName: string,
options?: WorkflowTriggersListCallbackUrlOptionalParams
): Promise<WorkflowTriggersListCallbackUrlResponse>;
/**
* Runs a workflow trigger.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param triggerName The workflow trigger name.
* @param options The options parameters.
*/
beginRun(
resourceGroupName: string,
name: string,
workflowName: string,
triggerName: string,
options?: WorkflowTriggersRunOptionalParams
): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Runs a workflow trigger.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param triggerName The workflow trigger name.
* @param options The options parameters.
*/
beginRunAndWait(
resourceGroupName: string,
name: string,
workflowName: string,
triggerName: string,
options?: WorkflowTriggersRunOptionalParams
): Promise<void>;
/**
* Get the trigger schema as JSON.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param triggerName The workflow trigger name.
* @param options The options parameters.
*/
getSchemaJson(
resourceGroupName: string,
name: string,
workflowName: string,
triggerName: string,
options?: WorkflowTriggersGetSchemaJsonOptionalParams
): Promise<WorkflowTriggersGetSchemaJsonResponse>;
}
@@ -0,0 +1,48 @@
/*
* 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 {
WorkflowVersion,
WorkflowVersionsListOptionalParams,
WorkflowVersionsGetOptionalParams,
WorkflowVersionsGetResponse
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a WorkflowVersions. */
export interface WorkflowVersions {
/**
* Gets a list of workflow versions.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param options The options parameters.
*/
list(
resourceGroupName: string,
name: string,
workflowName: string,
options?: WorkflowVersionsListOptionalParams
): PagedAsyncIterableIterator<WorkflowVersion>;
/**
* Gets a workflow version.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param versionId The workflow versionId.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
name: string,
workflowName: string,
versionId: string,
options?: WorkflowVersionsGetOptionalParams
): Promise<WorkflowVersionsGetResponse>;
}
@@ -0,0 +1,48 @@
/*
* 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 {
RegenerateActionParameter,
WorkflowsRegenerateAccessKeyOptionalParams,
Workflow,
WorkflowsValidateOptionalParams
} from "../models";
/** Interface representing a Workflows. */
export interface Workflows {
/**
* Regenerates the callback URL access key for request triggers.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param keyType The access key type.
* @param options The options parameters.
*/
regenerateAccessKey(
resourceGroupName: string,
name: string,
workflowName: string,
keyType: RegenerateActionParameter,
options?: WorkflowsRegenerateAccessKeyOptionalParams
): Promise<void>;
/**
* Validates the workflow definition.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param validate The workflow.
* @param options The options parameters.
*/
validate(
resourceGroupName: string,
name: string,
workflowName: string,
validate: Workflow,
options?: WorkflowsValidateOptionalParams
): Promise<void>;
}