Initial commit

This commit is contained in:
schihei committed 2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 files changed
+5280367

No files matched your search

@@ -0,0 +1,232 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { AppServiceCertificateOrders } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
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";
/** Class containing AppServiceCertificateOrders operations. */
export declare class AppServiceCertificateOrdersImpl implements AppServiceCertificateOrders {
private readonly client;
/**
* Initialize a new instance of the class AppServiceCertificateOrders class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for List all certificate orders in a subscription.
* @param options The options parameters.
*/
list(options?: AppServiceCertificateOrdersListOptionalParams): PagedAsyncIterableIterator<AppServiceCertificateOrder>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listByResourceGroupPagingPage;
private listByResourceGroupPagingAll;
/**
* 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>;
private listCertificatesPagingPage;
private listCertificatesPagingAll;
/**
* Description for List all certificate orders in a subscription.
* @param options The options parameters.
*/
private _list;
/**
* 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 certificate orders in a resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
private _listByResourceGroup;
/**
* 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 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.
*/
private _listCertificates;
/**
* 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>;
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
private _listByResourceGroupNext;
/**
* ListCertificatesNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param certificateOrderName Name of the certificate order.
* @param nextLink The nextLink from the previous successful call to the ListCertificates method.
* @param options The options parameters.
*/
private _listCertificatesNext;
}
//# sourceMappingURL=appServiceCertificateOrders.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrders.d.ts","sourceRoot":"","sources":["../../../src/operations/appServiceCertificateOrders.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAItE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,0BAA0B,EAE1B,6CAA6C,EAG7C,4DAA4D,EAE5D,6BAA6B,EAE7B,yDAAyD,EAEzD,oEAAoE,EACpE,4CAA4C,EAC5C,sCAAsC,EACtC,uDAAuD,EACvD,iDAAiD,EACjD,+CAA+C,EAC/C,uCAAuC,EACvC,+CAA+C,EAC/C,yCAAyC,EACzC,uDAAuD,EACvD,iDAAiD,EACjD,kEAAkE,EAClE,4DAA4D,EAC5D,0DAA0D,EAC1D,kCAAkC,EAClC,0DAA0D,EAC1D,oDAAoD,EACpD,8BAA8B,EAC9B,gDAAgD,EAChD,4BAA4B,EAC5B,8CAA8C,EAC9C,oDAAoD,EACpD,cAAc,EACd,4DAA4D,EAC5D,eAAe,EACf,yDAAyD,EACzD,mDAAmD,EACnD,8DAA8D,EAC9D,mEAAmE,EACnE,6DAA6D,EAC7D,wEAAwE,EACxE,kEAAkE,EAInE,MAAM,WAAW,CAAC;AAGnB,+DAA+D;AAC/D,qBAAa,+BACX,YAAW,2BAA2B;IACtC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,0BAA0B,CAAC;YAkB1C,cAAc;YAsBd,aAAa;IAQ5B;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACz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OAAO,CACR,kEAAkE,CACnE;IAOD;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;CAW9B"}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrders.js","sourceRoot":"","sources":["../../../src/operations/appServiceCertificateOrders.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAkDrC,4CAA4C;AAC5C,+DAA+D;AAC/D,MAAM,OAAO,+BAA+B;IAI1C;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAuD;QAEvD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;Y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A,CAAC;gBACF,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,oBAAM,IAAI,CAAA,CAAC;aACZ;YACD,OAAO,iBAAiB,EAAE;gBACxB,MAAM,GAAG,cAAM,IAAI,CAAC,qBAAqB,CACvC,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,OAAO,CACR,CAAA,CAAC;gBACF,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,oBAAM,IAAI,CAAA,CAAC;aACZ;QACH,CAAC;KAAA;IAEc,yBAAyB,CACtC,iBAAyB,EACzB,oBAA4B,EAC5B,OAAmE;;;;gBAEnE,KAAyB,IAAA,KAAA,cAAA,IAAI,CAAC,0BAA0B,CACtD,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR,CAAA,IAAA;oBAJU,MAAM,IAAI,WAAA,CAAA;oBAKnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;iBACb;;;;;;;;;QACH,CAAC;KAAA;IAED;;;OAGG;IACK,KAAK,CACX,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;ILine truncated
@@ -0,0 +1,822 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { AppServiceEnvironments } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
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";
/** Class containing AppServiceEnvironments operations. */
export declare class AppServiceEnvironmentsImpl implements AppServiceEnvironments {
private readonly client;
/**
* Initialize a new instance of the class AppServiceEnvironments class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for Get all App Service Environments for a subscription.
* @param options The options parameters.
*/
list(options?: AppServiceEnvironmentsListOptionalParams): PagedAsyncIterableIterator<AppServiceEnvironmentResource>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listByResourceGroupPagingPage;
private listByResourceGroupPagingAll;
/**
* 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>;
private listCapacitiesPagingPage;
private listCapacitiesPagingAll;
/**
* 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>;
private changeVnetPagingPage;
private changeVnetPagingAll;
/**
* 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>;
private getInboundNetworkDependenciesEndpointsPagingPage;
private getInboundNetworkDependenciesEndpointsPagingAll;
/**
* 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>;
private listMultiRolePoolsPagingPage;
private listMultiRolePoolsPagingAll;
/**
* 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>;
private listMultiRolePoolInstanceMetricDefinitionsPagingPage;
private listMultiRolePoolInstanceMetricDefinitionsPagingAll;
/**
* 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>;
private listMultiRoleMetricDefinitionsPagingPage;
private listMultiRoleMetricDefinitionsPagingAll;
/**
* 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>;
private listMultiRolePoolSkusPagingPage;
private listMultiRolePoolSkusPagingAll;
/**
* 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>;
private listMultiRoleUsagesPagingPage;
private listMultiRoleUsagesPagingAll;
/**
* 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>;
private getOutboundNetworkDependenciesEndpointsPagingPage;
private getOutboundNetworkDependenciesEndpointsPagingAll;
/**
* 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>;
private getPrivateEndpointConnectionListPagingPage;
private getPrivateEndpointConnectionListPagingAll;
/**
* 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>;
private resumePagingPage;
private resumePagingAll;
/**
* 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>;
private listAppServicePlansPagingPage;
private listAppServicePlansPagingAll;
/**
* 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>;
private listWebAppsPagingPage;
private listWebAppsPagingAll;
/**
* 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>;
private suspendPagingPage;
private suspendPagingAll;
/**
* 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>;
private listUsagesPagingPage;
private listUsagesPagingAll;
/**
* 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>;
private listWorkerPoolsPagingPage;
private listWorkerPoolsPagingAll;
/**
* 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>;
private listWorkerPoolInstanceMetricDefinitionsPagingPage;
private listWorkerPoolInstanceMetricDefinitionsPagingAll;
/**
* 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>;
private listWebWorkerMetricDefinitionsPagingPage;
private listWebWorkerMetricDefinitionsPagingAll;
/**
* 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>;
private listWorkerPoolSkusPagingPage;
private listWorkerPoolSkusPagingAll;
/**
* 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>;
private listWebWorkerUsagesPagingPage;
private listWebWorkerUsagesPagingAll;
/**
* Description for Get all App Service Environments for a subscription.
* @param options The options parameters.
*/
private _list;
/**
* 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.
*/
private _listByResourceGroup;
/**
* 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 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.
*/
private _listCapacities;
/**
* 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>;
/**
* 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.
*/
private _changeVnet;
/**
* 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 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.
*/
private _getInboundNetworkDependenciesEndpoints;
/**
* 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.
*/
private _listMultiRolePools;
/**
* 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>;
/**
* 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.
*/
private _listMultiRolePoolInstanceMetricDefinitions;
/**
* 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.
*/
private _listMultiRoleMetricDefinitions;
/**
* 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.
*/
private _listMultiRolePoolSkus;
/**
* 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 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.
*/
private _listMultiRoleUsages;
/**
* 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 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.
*/
private _getOutboundNetworkDependenciesEndpoints;
/**
* 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.
*/
private _getPrivateEndpointConnectionList;
/**
* 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 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.
*/
private _resume;
/**
* 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.
*/
private _listAppServicePlans;
/**
* 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.
*/
private _listWebApps;
/**
* 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.
*/
private _suspend;
/**
* 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.
*/
private _listUsages;
/**
* 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.
*/
private _listWorkerPools;
/**
* 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>;
/**
* 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.
*/
private _listWorkerPoolInstanceMetricDefinitions;
/**
* 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.
*/
private _listWebWorkerMetricDefinitions;
/**
* 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.
*/
private _listWorkerPoolSkus;
/**
* 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.
*/
private _listWebWorkerUsages;
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
private _listByResourceGroupNext;
/**
* ListCapacitiesNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the ListCapacities method.
* @param options The options parameters.
*/
private _listCapacitiesNext;
/**
* ChangeVnetNext
* @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 nextLink The nextLink from the previous successful call to the ChangeVnet method.
* @param options The options parameters.
*/
private _changeVnetNext;
/**
* GetInboundNetworkDependenciesEndpointsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the
* GetInboundNetworkDependenciesEndpoints method.
* @param options The options parameters.
*/
private _getInboundNetworkDependenciesEndpointsNext;
/**
* ListMultiRolePoolsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the ListMultiRolePools method.
* @param options The options parameters.
*/
private _listMultiRolePoolsNext;
/**
* ListMultiRolePoolInstanceMetricDefinitionsNext
* @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 nextLink The nextLink from the previous successful call to the
* ListMultiRolePoolInstanceMetricDefinitions method.
* @param options The options parameters.
*/
private _listMultiRolePoolInstanceMetricDefinitionsNext;
/**
* ListMultiRoleMetricDefinitionsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the ListMultiRoleMetricDefinitions
* method.
* @param options The options parameters.
*/
private _listMultiRoleMetricDefinitionsNext;
/**
* ListMultiRolePoolSkusNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the ListMultiRolePoolSkus method.
* @param options The options parameters.
*/
private _listMultiRolePoolSkusNext;
/**
* ListMultiRoleUsagesNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the ListMultiRoleUsages method.
* @param options The options parameters.
*/
private _listMultiRoleUsagesNext;
/**
* GetOutboundNetworkDependenciesEndpointsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the
* GetOutboundNetworkDependenciesEndpoints method.
* @param options The options parameters.
*/
private _getOutboundNetworkDependenciesEndpointsNext;
/**
* GetPrivateEndpointConnectionListNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the
* GetPrivateEndpointConnectionList method.
* @param options The options parameters.
*/
private _getPrivateEndpointConnectionListNext;
/**
* ResumeNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the Resume method.
* @param options The options parameters.
*/
private _resumeNext;
/**
* ListAppServicePlansNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the ListAppServicePlans method.
* @param options The options parameters.
*/
private _listAppServicePlansNext;
/**
* ListWebAppsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the ListWebApps method.
* @param options The options parameters.
*/
private _listWebAppsNext;
/**
* SuspendNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the Suspend method.
* @param options The options parameters.
*/
private _suspendNext;
/**
* ListUsagesNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the ListUsages method.
* @param options The options parameters.
*/
private _listUsagesNext;
/**
* ListWorkerPoolsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @param nextLink The nextLink from the previous successful call to the ListWorkerPools method.
* @param options The options parameters.
*/
private _listWorkerPoolsNext;
/**
* ListWorkerPoolInstanceMetricDefinitionsNext
* @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 nextLink The nextLink from the previous successful call to the
* ListWorkerPoolInstanceMetricDefinitions method.
* @param options The options parameters.
*/
private _listWorkerPoolInstanceMetricDefinitionsNext;
/**
* ListWebWorkerMetricDefinitionsNext
* @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 nextLink The nextLink from the previous successful call to the ListWebWorkerMetricDefinitions
* method.
* @param options The options parameters.
*/
private _listWebWorkerMetricDefinitionsNext;
/**
* ListWorkerPoolSkusNext
* @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 nextLink The nextLink from the previous successful call to the ListWorkerPoolSkus method.
* @param options The options parameters.
*/
private _listWorkerPoolSkusNext;
/**
* ListWebWorkerUsagesNext
* @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 nextLink The nextLink from the previous successful call to the ListWebWorkerUsages method.
* @param options The options parameters.
*/
private _listWebWorkerUsagesNext;
}
//# sourceMappingURL=appServiceEnvironments.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironments.d.ts","sourceRoot":"","sources":["../../../src/operations/appServiceEnvironments.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAIjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,6B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;IAkB/D;;;;;;OAMG;IACI,8BAA8B,CACnC,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kEAAkE,GAC3E,0BAA0B,CAAC,wBAAwB,CAAC;YA6BxC,wCAAwC;YAoCxC,uCAAuC;IAgBtD;;;;;;OAMG;IACI,kBAAkB,CACvB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,OAAO,CAAC;YA6BvB,4BAA4B;YAoC5B,2BAA2B;IAgB1C;;;;;;OAMG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,cAAcLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironments.js","sourceRoot":"","sources":["../../../src/operations/appServiceEnvironments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AA6JrC,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,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OAMG;IACI,0BAA0B,CAC/B,iBAAyB,EACzB,IAAY,EACZ,QAA+B,EAC/B,OAAwD;QAExD,MAAM,IAAI,GAAG,IAAI,CAAC,mBAAmB,CACnC,iBAAiB,EACjB,IAAI,EACJ,QAAQ,EACR,OAAO,CACR,CAAC;QACF,OAAO;YALine truncated
@@ -0,0 +1,338 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { AppServicePlans } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
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";
/** Class containing AppServicePlans operations. */
export declare class AppServicePlansImpl implements AppServicePlans {
private readonly client;
/**
* Initialize a new instance of the class AppServicePlans class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for Get all App Service plans for a subscription.
* @param options The options parameters.
*/
list(options?: AppServicePlansListOptionalParams): PagedAsyncIterableIterator<AppServicePlan>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listByResourceGroupPagingPage;
private listByResourceGroupPagingAll;
/**
* 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>;
private listWebAppsByHybridConnectionPagingPage;
private listWebAppsByHybridConnectionPagingAll;
/**
* 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>;
private listHybridConnectionsPagingPage;
private listHybridConnectionsPagingAll;
/**
* 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>;
private listWebAppsPagingPage;
private listWebAppsPagingAll;
/**
* 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>;
private listUsagesPagingPage;
private listUsagesPagingAll;
/**
* Description for Get all App Service plans for a subscription.
* @param options The options parameters.
*/
private _list;
/**
* 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.
*/
private _listByResourceGroup;
/**
* 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 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.
*/
private _listWebAppsByHybridConnection;
/**
* 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 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.
*/
private _listHybridConnections;
/**
* 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 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.
*/
private _listWebApps;
/**
* 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 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.
*/
private _listUsages;
/**
* 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>;
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
private _listByResourceGroupNext;
/**
* ListWebAppsByHybridConnectionNext
* @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 nextLink The nextLink from the previous successful call to the ListWebAppsByHybridConnection
* method.
* @param options The options parameters.
*/
private _listWebAppsByHybridConnectionNext;
/**
* ListHybridConnectionsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param nextLink The nextLink from the previous successful call to the ListHybridConnections method.
* @param options The options parameters.
*/
private _listHybridConnectionsNext;
/**
* ListWebAppsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service plan.
* @param nextLink The nextLink from the previous successful call to the ListWebApps method.
* @param options The options parameters.
*/
private _listWebAppsNext;
/**
* ListUsagesNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of App Service Plan
* @param nextLink The nextLink from the previous successful call to the ListUsages method.
* @param options The options parameters.
*/
private _listUsagesNext;
}
//# sourceMappingURL=appServicePlans.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServicePlans.d.ts","sourceRoot":"","sources":["../../../src/operations/appServicePlans.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,cAAc,EAEd,iCAAiC,EAGjC,gDAAgD,EAGhD,0DAA0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IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAOpD;;;;;;;OAOG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;;;;;OAQG;IACH,uBAAuB,CACrB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,SALine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"appServicePlans.js","sourceRoot":"","sources":["../../../src/operations/appServicePlans.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAwErC,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC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AAA,CAAA;oBAOnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;iBACb;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;;OAKLine truncated
@@ -0,0 +1,47 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { CertificateOrdersDiagnostics } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { DetectorResponse, CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams, CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams, CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse } from "../models";
/** Class containing CertificateOrdersDiagnostics operations. */
export declare class CertificateOrdersDiagnosticsImpl implements CertificateOrdersDiagnostics {
private readonly client;
/**
* Initialize a new instance of the class CertificateOrdersDiagnostics class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* 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>;
private listAppServiceCertificateOrderDetectorResponsePagingPage;
private listAppServiceCertificateOrderDetectorResponsePagingAll;
/**
* 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.
*/
private _listAppServiceCertificateOrderDetectorResponse;
/**
* 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>;
/**
* ListAppServiceCertificateOrderDetectorResponseNext
* @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 nextLink The nextLink from the previous successful call to the
* ListAppServiceCertificateOrderDetectorResponse method.
* @param options The options parameters.
*/
private _listAppServiceCertificateOrderDetectorResponseNext;
}
//# sourceMappingURL=certificateOrdersDiagnostics.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"certificateOrdersDiagnostics.d.ts","sourceRoot":"","sources":["../../../src/operations/certificateOrdersDiagnostics.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAIvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,wFAAwF,EAExF,uFAAuF,EACvF,iFAAiF,EAElF,MAAM,WAAW,CAAC;AAGnB,gEAAgE;AAChE,qBAAa,gCACX,YAAW,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;OAKG;IACI,8CAA8C,CACnD,iBAAiB,EAAE,MAAM,EACzB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,wFAAwF,GACjG,0BAA0B,CAAC,gBAAgB,CAAC;YA2BhC,wDAAwD;YAiCxD,uDAAuD;IActE;;;;;OAKG;IACH,OAAO,CAAC,+CAA+C;IAavD;;;;;;OAMG;IACH,6CAA6C,CAC3C,iBAAiB,EAAE,MAAM,EACzB,oBAAoB,EAAE,MAAM,EAC5B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,uFAAuF,GAChG,OAAO,CACR,iFAAiF,CAClF;IAOD;;;;;;;OAOG;IACH,OAAO,CAAC,mDAAmD;CAa5D"}
@@ -0,0 +1,187 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing CertificateOrdersDiagnostics operations. */
export class CertificateOrdersDiagnosticsImpl {
/**
* Initialize a new instance of the class CertificateOrdersDiagnostics class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* 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, certificateOrderName, options) {
const iter = this.listAppServiceCertificateOrderDetectorResponsePagingAll(resourceGroupName, certificateOrderName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listAppServiceCertificateOrderDetectorResponsePagingPage(resourceGroupName, certificateOrderName, options, settings);
}
};
}
listAppServiceCertificateOrderDetectorResponsePagingPage(resourceGroupName, certificateOrderName, options, settings) {
return __asyncGenerator(this, arguments, function* listAppServiceCertificateOrderDetectorResponsePagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listAppServiceCertificateOrderDetectorResponse(resourceGroupName, certificateOrderName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listAppServiceCertificateOrderDetectorResponseNext(resourceGroupName, certificateOrderName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listAppServiceCertificateOrderDetectorResponsePagingAll(resourceGroupName, certificateOrderName, options) {
return __asyncGenerator(this, arguments, function* listAppServiceCertificateOrderDetectorResponsePagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listAppServiceCertificateOrderDetectorResponsePagingPage(resourceGroupName, certificateOrderName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, certificateOrderName, options) {
return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, options }, listAppServiceCertificateOrderDetectorResponseOperationSpec);
}
/**
* 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, certificateOrderName, detectorName, options) {
return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, detectorName, options }, getAppServiceCertificateOrderDetectorResponseOperationSpec);
}
/**
* ListAppServiceCertificateOrderDetectorResponseNext
* @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 nextLink The nextLink from the previous successful call to the
* ListAppServiceCertificateOrderDetectorResponse method.
* @param options The options parameters.
*/
_listAppServiceCertificateOrderDetectorResponseNext(resourceGroupName, certificateOrderName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, nextLink, options }, listAppServiceCertificateOrderDetectorResponseNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listAppServiceCertificateOrderDetectorResponseOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DetectorResponseCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.certificateOrderName
],
headerParameters: [Parameters.accept],
serializer
};
const getAppServiceCertificateOrderDetectorResponseOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors/{detectorName}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DetectorResponse
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.startTime,
Parameters.endTime,
Parameters.timeGrain
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.certificateOrderName,
Parameters.detectorName
],
headerParameters: [Parameters.accept],
serializer
};
const listAppServiceCertificateOrderDetectorResponseNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DetectorResponseCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.certificateOrderName,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=certificateOrdersDiagnostics.js.map
@@ -0,0 +1 @@
{"version":3,"file":"certificateOrdersDiagnostics.js","sourceRoot":"","sources":["../../../src/operations/certificateOrdersDiagnostics.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,4CAA4C;AAC5C,gEAAgE;AAChE,MAAM,OAAO,gCAAgC;IAI3C;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,8CAA8C,CACnD,iBAAyB,EACzB,oBAA4B,EAC5B,OAAkG;QAElG,MAAM,IAAI,GAAG,IAAI,CAAC,uDAAuD,CACvE,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,wDAAwD,CAClE,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,wDAAwD,CACrE,iBAAyB,EACzB,oBAA4B,EAC5B,OAAkG,EAClG,QAAuB;;YAEvB,IAAI,MAA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E;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;KACrB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,oBAAoB;QAC/B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+DAA+D,GAA6B;IAChG,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,oBAAoB;QAC/B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,34 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { CertificateRegistrationProvider } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { CsmOperationDescription, CertificateRegistrationProviderListOperationsOptionalParams } from "../models";
/** Class containing CertificateRegistrationProvider operations. */
export declare class CertificateRegistrationProviderImpl implements CertificateRegistrationProvider {
private readonly client;
/**
* Initialize a new instance of the class CertificateRegistrationProvider class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* 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>;
private listOperationsPagingPage;
private listOperationsPagingAll;
/**
* Description for Implements Csm operations Api to exposes the list of available Csm Apis under the
* resource provider
* @param options The options parameters.
*/
private _listOperations;
/**
* ListOperationsNext
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
* @param options The options parameters.
*/
private _listOperationsNext;
}
//# sourceMappingURL=certificateRegistrationProvider.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"certificateRegistrationProvider.d.ts","sourceRoot":"","sources":["../../../src/operations/certificateRegistrationProvider.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAI1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,uBAAuB,EAEvB,2DAA2D,EAG5D,MAAM,WAAW,CAAC;AAGnB,mEAAmE;AACnE,qBAAa,mCACX,YAAW,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;OAIG;IACI,cAAc,CACnB,OAAO,CAAC,EAAE,2DAA2D,GACpE,0BAA0B,CAAC,uBAAuB,CAAC;YAkBvC,wBAAwB;YAsBxB,uBAAuB;IAQtC;;;;OAIG;IACH,OAAO,CAAC,eAAe;IASvB;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;CAS5B"}
@@ -0,0 +1,134 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing CertificateRegistrationProvider operations. */
export class CertificateRegistrationProviderImpl {
/**
* Initialize a new instance of the class CertificateRegistrationProvider class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* 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) {
const iter = this.listOperationsPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listOperationsPagingPage(options, settings);
}
};
}
listOperationsPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listOperationsPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listOperations(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listOperationsNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listOperationsPagingAll(options) {
return __asyncGenerator(this, arguments, function* listOperationsPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listOperationsPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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) {
return this.client.sendOperationRequest({ options }, listOperationsOperationSpec);
}
/**
* ListOperationsNext
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
* @param options The options parameters.
*/
_listOperationsNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listOperationsNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationsOperationSpec = {
path: "/providers/Microsoft.CertificateRegistration/operations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.CsmOperationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host],
headerParameters: [Parameters.accept],
serializer
};
const listOperationsNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.CsmOperationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.nextLink],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=certificateRegistrationProvider.js.map
@@ -0,0 +1 @@
{"version":3,"file":"certificateRegistrationProvider.js","sourceRoot":"","sources":["../../../src/operations/certificateRegistrationProvider.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,mEAAmE;AACnE,MAAM,OAAO,mCAAmC;IAI9C;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,cAAc,CACnB,OAAqE;QAErE,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CAAC,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AC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,83 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { Certificates } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { Certificate, CertificatesListOptionalParams, CertificatesListByResourceGroupOptionalParams, CertificatesGetOptionalParams, CertificatesGetResponse, CertificatesCreateOrUpdateOptionalParams, CertificatesCreateOrUpdateResponse, CertificatesDeleteOptionalParams, CertificatePatchResource, CertificatesUpdateOptionalParams, CertificatesUpdateResponse } from "../models";
/** Class containing Certificates operations. */
export declare class CertificatesImpl implements Certificates {
private readonly client;
/**
* Initialize a new instance of the class Certificates class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for Get all certificates for a subscription.
* @param options The options parameters.
*/
list(options?: CertificatesListOptionalParams): PagedAsyncIterableIterator<Certificate>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listByResourceGroupPagingPage;
private listByResourceGroupPagingAll;
/**
* Description for Get all certificates for a subscription.
* @param options The options parameters.
*/
private _list;
/**
* 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.
*/
private _listByResourceGroup;
/**
* 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>;
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
private _listByResourceGroupNext;
}
//# sourceMappingURL=certificates.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"certificates.d.ts","sourceRoot":"","sources":["../../../src/operations/certificates.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,WAAW,EAEX,8BAA8B,EAG9B,6CAA6C,EAE7C,6BAA6B,EAC7B,uBAAuB,EACvB,wCAAwC,EACxC,kCAAkC,EAClC,gCAAgC,EAChC,wBAAwB,EACxB,gCAAgC,EAChC,0BAA0B,E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UjC"}
@@ -0,0 +1,379 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing Certificates operations. */
export class CertificatesImpl {
/**
* Initialize a new instance of the class Certificates class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* Description for Get all certificates for a subscription.
* @param options The options parameters.
*/
list(options) {
const iter = this.listPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(options, settings);
}
};
}
listPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listPagingAll(options) {
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, options) {
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
}
};
}
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listByResourceGroupPagingAll(resourceGroupName, options) {
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* Description for Get all certificates for a subscription.
* @param options The options parameters.
*/
_list(options) {
return this.client.sendOperationRequest({ options }, listOperationSpec);
}
/**
* 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, options) {
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
}
/**
* 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, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
}
/**
* 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, name, certificateEnvelope, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, certificateEnvelope, options }, createOrUpdateOperationSpec);
}
/**
* 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, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, options }, deleteOperationSpec);
}
/**
* 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, name, certificateEnvelope, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, certificateEnvelope, options }, updateOperationSpec);
}
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
}
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.CertificateCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.filter],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const listByResourceGroupOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.CertificateCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName
],
headerParameters: [Parameters.accept],
serializer
};
const getOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.Certificate
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept],
serializer
};
const createOrUpdateOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}",
httpMethod: "PUT",
responses: {
200: {
bodyMapper: Mappers.Certificate
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.certificateEnvelope,
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const deleteOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}",
httpMethod: "DELETE",
responses: {
200: {},
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept],
serializer
};
const updateOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}",
httpMethod: "PATCH",
responses: {
200: {
bodyMapper: Mappers.Certificate
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.certificateEnvelope1,
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.CertificateCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.filter],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listByResourceGroupNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.CertificateCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=certificates.js.map
@@ -0,0 +1 @@
{"version":3,"file":"certificates.js","sourceRoot":"","sources":["../../../src/operations/certificates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAsBnD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAA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AAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,sEAAsE;IAC5E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAACLine truncated
@@ -0,0 +1,97 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { ContainerApps } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import { ContainerApp, ContainerAppsListBySubscriptionOptionalParams, ContainerAppsListByResourceGroupOptionalParams, ContainerAppsGetOptionalParams, ContainerAppsGetResponse, ContainerAppsCreateOrUpdateOptionalParams, ContainerAppsCreateOrUpdateResponse, ContainerAppsDeleteOptionalParams, ContainerAppsListSecretsOptionalParams, ContainerAppsListSecretsResponse } from "../models";
/** Class containing ContainerApps operations. */
export declare class ContainerAppsImpl implements ContainerApps {
private readonly client;
/**
* Initialize a new instance of the class ContainerApps class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Get the Container Apps in a given subscription.
* @param options The options parameters.
*/
listBySubscription(options?: ContainerAppsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ContainerApp>;
private listBySubscriptionPagingPage;
private listBySubscriptionPagingAll;
/**
* 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>;
private listByResourceGroupPagingPage;
private listByResourceGroupPagingAll;
/**
* Get the Container Apps in a given subscription.
* @param options The options parameters.
*/
private _listBySubscription;
/**
* 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.
*/
private _listByResourceGroup;
/**
* 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>;
/**
* ListBySubscriptionNext
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
* @param options The options parameters.
*/
private _listBySubscriptionNext;
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
private _listByResourceGroupNext;
}
//# sourceMappingURL=containerApps.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"containerApps.d.ts","sourceRoot":"","sources":["../../../src/operations/containerApps.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAIxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,YAAY,EAEZ,6CAA6C,EAG7C,8CAA8C,EAE9C,8BAA8B,EAC9B,wBAAwB,EACxB,yCAAyC,EACzC,mCAAmC,EACnC,iCAAiC,EACjC,sCAAsC,EACtC,gCAAgC,EAGjC,MAAM,WAAW,CAAC;AAGnB,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,YAAY,CAAC;YAkB5B,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,YAAY,CAAC;YAsB5B,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IAC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soft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { LroEngine } from "@azure/core-lro";
import { LroImpl } from "../lroImpl";
/// <reference lib="esnext.asynciterable" />
/** Class containing ContainerApps operations. */
export class ContainerAppsImpl {
/**
* Initialize a new instance of the class ContainerApps class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* Get the Container Apps in a given subscription.
* @param options The options parameters.
*/
listBySubscription(options) {
const iter = this.listBySubscriptionPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBySubscriptionPagingPage(options, settings);
}
};
}
listBySubscriptionPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listBySubscription(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listBySubscriptionPagingAll(options) {
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, options) {
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
}
};
}
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listByResourceGroupPagingAll(resourceGroupName, options) {
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* Get the Container Apps in a given subscription.
* @param options The options parameters.
*/
_listBySubscription(options) {
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
}
/**
* 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, options) {
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
}
/**
* 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, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
}
/**
* 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, name, containerAppEnvelope, options) {
return __awaiter(this, void 0, void 0, function* () {
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
return this.client.sendOperationRequest(args, spec);
});
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
var _a;
let currentRawResponse = undefined;
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
const callback = (rawResponse, flatResponse) => {
currentRawResponse = rawResponse;
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
};
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
const flatResponse = yield directSendOperation(updatedArgs, spec);
return {
flatResponse,
rawResponse: {
statusCode: currentRawResponse.status,
body: currentRawResponse.parsedBody,
headers: currentRawResponse.headers.toJSON()
}
};
});
const lro = new LroImpl(sendOperation, { resourceGroupName, name, containerAppEnvelope, options }, createOrUpdateOperationSpec);
const poller = new LroEngine(lro, {
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
});
yield poller.poll();
return poller;
});
}
/**
* 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, name, containerAppEnvelope, options) {
return __awaiter(this, void 0, void 0, function* () {
const poller = yield this.beginCreateOrUpdate(resourceGroupName, name, containerAppEnvelope, options);
return poller.pollUntilDone();
});
}
/**
* 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, name, options) {
return __awaiter(this, void 0, void 0, function* () {
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
return this.client.sendOperationRequest(args, spec);
});
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
var _a;
let currentRawResponse = undefined;
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
const callback = (rawResponse, flatResponse) => {
currentRawResponse = rawResponse;
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
};
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
const flatResponse = yield directSendOperation(updatedArgs, spec);
return {
flatResponse,
rawResponse: {
statusCode: currentRawResponse.status,
body: currentRawResponse.parsedBody,
headers: currentRawResponse.headers.toJSON()
}
};
});
const lro = new LroImpl(sendOperation, { resourceGroupName, name, options }, deleteOperationSpec);
const poller = new LroEngine(lro, {
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
});
yield poller.poll();
return poller;
});
}
/**
* 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, name, options) {
return __awaiter(this, void 0, void 0, function* () {
const poller = yield this.beginDelete(resourceGroupName, name, options);
return poller.pollUntilDone();
});
}
/**
* List secrets for a container app
* @param name Name of the Container App.
* @param options The options parameters.
*/
listSecrets(name, options) {
return this.client.sendOperationRequest({ name, options }, listSecretsOperationSpec);
}
/**
* ListBySubscriptionNext
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
* @param options The options parameters.
*/
_listBySubscriptionNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
}
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listBySubscriptionOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ContainerAppCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const listByResourceGroupOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ContainerAppCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName
],
headerParameters: [Parameters.accept],
serializer
};
const getOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ContainerApp
},
404: {
isError: true
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept],
serializer
};
const createOrUpdateOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}",
httpMethod: "PUT",
responses: {
200: {
bodyMapper: Mappers.ContainerApp
},
201: {
bodyMapper: Mappers.ContainerApp
},
202: {
bodyMapper: Mappers.ContainerApp
},
204: {
bodyMapper: Mappers.ContainerApp
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.containerAppEnvelope,
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const deleteOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}",
httpMethod: "DELETE",
responses: {
200: {},
201: {},
202: {},
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept],
serializer
};
const listSecretsOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps/{name}/listSecrets",
httpMethod: "POST",
responses: {
200: {
bodyMapper: Mappers.SecretsCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name],
headerParameters: [Parameters.accept],
serializer
};
const listBySubscriptionNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ContainerAppCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listByResourceGroupNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ContainerAppCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=containerApps.js.map
@@ -0,0 +1 @@
{"version":3,"file":"containerApps.js","sourceRoot":"","sources":["../../../src/operations/containerApps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAoBrC,4CAA4C;AAC5C,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAuD;QAEvD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,4B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BAClD,MAAM,QAAQ,GAAmC,CAC/C,WAA6C,EAC7C,YAAqB,EACrB,EAAE;oBACF,kBAAkB,GAAG,WAAW,CAAC;oBACjC,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAG,WAAW,EAAE,YAAY,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACF,MAAM,WAAW,mCACZ,IAAI,KACP,OAAO,kCACF,IAAI,CAAC,OAAO,KACf,UAAU,EAAE,QAAQ,MAEvB,CAAC;gBACF,MAAM,YAAY,GAAG,MAAM,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;gBAClE,OAAO;oBACL,YAAY;oBACZ,WAAW,EAAE;wBACX,UAAU,EAAE,kBAAmB,CAAC,MAAM;wBACtC,IAAI,EAAE,kBAAmB,CAAC,UAAU;wBACpC,OAAO,EAAE,kBAAmB,CAAC,OAAO,CAAC,MAAM,EAAE;qBAC9C;iBACF,CAAC;YACJ,CAAC,CAAA,CAAC;YAEF,MAAM,GAAG,GAAG,IAAI,OAAO,CACrB,aAAa,EACb,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAE,OAAO,EAAE,EAC1D,2BAA2B,CAC5B,CAAC;YACF,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC,GAAG,EAAE;gBAChC,UAAU,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU;gBAC/B,YAAY,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB;aAC1C,CAAC,CAAC;YACH,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;YACpB,OAAO,MAAM,CAAC;QAChB,CLine truncated
@@ -0,0 +1,70 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { ContainerAppsRevisions } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { Revision, ContainerAppsRevisionsListRevisionsOptionalParams, ContainerAppsRevisionsGetRevisionOptionalParams, ContainerAppsRevisionsGetRevisionResponse, ContainerAppsRevisionsActivateRevisionOptionalParams, ContainerAppsRevisionsDeactivateRevisionOptionalParams, ContainerAppsRevisionsRestartRevisionOptionalParams } from "../models";
/** Class containing ContainerAppsRevisions operations. */
export declare class ContainerAppsRevisionsImpl implements ContainerAppsRevisions {
private readonly client;
/**
* Initialize a new instance of the class ContainerAppsRevisions class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Get the Revisions for a given Container App.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param containerAppName Name of the Container App for which Revisions are needed.
* @param options The options parameters.
*/
listRevisions(resourceGroupName: string, containerAppName: string, options?: ContainerAppsRevisionsListRevisionsOptionalParams): PagedAsyncIterableIterator<Revision>;
private listRevisionsPagingPage;
private listRevisionsPagingAll;
/**
* Get the Revisions for a given Container App.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param containerAppName Name of the Container App for which Revisions are needed.
* @param options The options parameters.
*/
private _listRevisions;
/**
* Get a revision of a Container App.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param containerAppName Name of the Container App.
* @param name Name of the Container App Revision.
* @param options The options parameters.
*/
getRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsGetRevisionOptionalParams): Promise<ContainerAppsRevisionsGetRevisionResponse>;
/**
* Activates a revision for a Container App
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param containerAppName Name of the Container App.
* @param name Name of the Container App Revision to activate
* @param options The options parameters.
*/
activateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsActivateRevisionOptionalParams): Promise<void>;
/**
* Deactivates a revision for a Container App
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param containerAppName Name of the Container App.
* @param name Name of the Container App Revision to deactivate
* @param options The options parameters.
*/
deactivateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams): Promise<void>;
/**
* Restarts a revision for a Container App
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param containerAppName Name of the Container App.
* @param name Name of the Container App Revision to restart
* @param options The options parameters.
*/
restartRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsRestartRevisionOptionalParams): Promise<void>;
/**
* ListRevisionsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param containerAppName Name of the Container App for which Revisions are needed.
* @param nextLink The nextLink from the previous successful call to the ListRevisions method.
* @param options The options parameters.
*/
private _listRevisionsNext;
}
//# sourceMappingURL=containerAppsRevisions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"containerAppsRevisions.d.ts","sourceRoot":"","sources":["../../../src/operations/containerAppsRevisions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAIjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,QAAQ,EAER,iDAAiD,EAEjD,+CAA+C,EAC/C,yCAAyC,EACzC,oDAAoD,EACpD,sDAAsD,EACtD,mDAAmD,EAEpD,MAAM,WAAW,CAAC;AAGnB,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;OAKG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,0BAA0B,CAAC,QAAQ,CAAC;YA2BxB,uBAAuB;YAiCvB,sBAAsB;IAcrC;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;;OAMG;IACH,gBAAgB,CACd,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;CAW3B"}
@@ -0,0 +1,271 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing ContainerAppsRevisions operations. */
export class ContainerAppsRevisionsImpl {
/**
* Initialize a new instance of the class ContainerAppsRevisions class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* 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, containerAppName, options) {
const iter = this.listRevisionsPagingAll(resourceGroupName, containerAppName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listRevisionsPagingPage(resourceGroupName, containerAppName, options, settings);
}
};
}
listRevisionsPagingPage(resourceGroupName, containerAppName, options, settings) {
return __asyncGenerator(this, arguments, function* listRevisionsPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listRevisions(resourceGroupName, containerAppName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listRevisionsNext(resourceGroupName, containerAppName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listRevisionsPagingAll(resourceGroupName, containerAppName, options) {
return __asyncGenerator(this, arguments, function* listRevisionsPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listRevisionsPagingPage(resourceGroupName, containerAppName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, containerAppName, options) {
return this.client.sendOperationRequest({ resourceGroupName, containerAppName, options }, listRevisionsOperationSpec);
}
/**
* 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, containerAppName, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, containerAppName, name, options }, getRevisionOperationSpec);
}
/**
* 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, containerAppName, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, containerAppName, name, options }, activateRevisionOperationSpec);
}
/**
* 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, containerAppName, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, containerAppName, name, options }, deactivateRevisionOperationSpec);
}
/**
* 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, containerAppName, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, containerAppName, name, options }, restartRevisionOperationSpec);
}
/**
* ListRevisionsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param containerAppName Name of the Container App for which Revisions are needed.
* @param nextLink The nextLink from the previous successful call to the ListRevisions method.
* @param options The options parameters.
*/
_listRevisionsNext(resourceGroupName, containerAppName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, containerAppName, nextLink, options }, listRevisionsNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listRevisionsOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RevisionCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.containerAppName
],
headerParameters: [Parameters.accept],
serializer
};
const getRevisionOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.Revision
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.containerAppName
],
headerParameters: [Parameters.accept],
serializer
};
const activateRevisionOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/activate",
httpMethod: "POST",
responses: {
200: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.containerAppName
],
headerParameters: [Parameters.accept],
serializer
};
const deactivateRevisionOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/deactivate",
httpMethod: "POST",
responses: {
200: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.containerAppName
],
headerParameters: [Parameters.accept],
serializer
};
const restartRevisionOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/restart",
httpMethod: "POST",
responses: {
200: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.containerAppName
],
headerParameters: [Parameters.accept],
serializer
};
const listRevisionsNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RevisionCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink,
Parameters.containerAppName
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=containerAppsRevisions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"containerAppsRevisions.js","sourceRoot":"","sources":["../../../src/operations/containerAppsRevisions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAenD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,gBAAwB,EACxB,OAA2D;QAE3D,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,gBAAgB,EAChB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAA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IACrC,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EACF,uJAAuJ;IACzJ,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EACF,yJAAyJ;IAC3J,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EACF,sJAAsJ;IACxJ,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACPLine truncated
@@ -0,0 +1,60 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { DeletedWebApps } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { DeletedSite, DeletedWebAppsListOptionalParams, DeletedWebAppsListByLocationOptionalParams, DeletedWebAppsGetDeletedWebAppByLocationOptionalParams, DeletedWebAppsGetDeletedWebAppByLocationResponse } from "../models";
/** Class containing DeletedWebApps operations. */
export declare class DeletedWebAppsImpl implements DeletedWebApps {
private readonly client;
/**
* Initialize a new instance of the class DeletedWebApps class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for Get all deleted apps for a subscription.
* @param options The options parameters.
*/
list(options?: DeletedWebAppsListOptionalParams): PagedAsyncIterableIterator<DeletedSite>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listByLocationPagingPage;
private listByLocationPagingAll;
/**
* Description for Get all deleted apps for a subscription.
* @param options The options parameters.
*/
private _list;
/**
* Description for Get all deleted apps for a subscription at location
* @param location
* @param options The options parameters.
*/
private _listByLocation;
/**
* 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>;
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListByLocationNext
* @param location
* @param nextLink The nextLink from the previous successful call to the ListByLocation method.
* @param options The options parameters.
*/
private _listByLocationNext;
}
//# sourceMappingURL=deletedWebApps.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"deletedWebApps.d.ts","sourceRoot":"","sources":["../../../src/operations/deletedWebApps.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAIzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,WAAW,EAEX,gCAAgC,EAGhC,0CAA0C,EAE1C,sDAAsD,EACtD,gDAAgD,EAGjD,MAAM,WAAW,CAAC;AAGnB,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,WAAW,CAAC;YAkB3B,cAAc;YAsBd,aAAa;IAQ5B;;;;OAIG;IACI,cAAc,CACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,WAAW,CAAC;YAkB3B,wBAAwB;YA2BxB,uBAAuB;IAStC;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAUvB;;;;;OAKG;IACH,0BAA0B,CACxB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;IAO5D;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;CAU5B"}
@@ -0,0 +1,284 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing DeletedWebApps operations. */
export class DeletedWebAppsImpl {
/**
* Initialize a new instance of the class DeletedWebApps class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* Description for Get all deleted apps for a subscription.
* @param options The options parameters.
*/
list(options) {
const iter = this.listPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(options, settings);
}
};
}
listPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listPagingAll(options) {
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* Description for Get all deleted apps for a subscription at location
* @param location
* @param options The options parameters.
*/
listByLocation(location, options) {
const iter = this.listByLocationPagingAll(location, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listByLocationPagingPage(location, options, settings);
}
};
}
listByLocationPagingPage(location, options, settings) {
return __asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listByLocation(location, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listByLocationNext(location, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listByLocationPagingAll(location, options) {
return __asyncGenerator(this, arguments, function* listByLocationPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.listByLocationPagingPage(location, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* Description for Get all deleted apps for a subscription.
* @param options The options parameters.
*/
_list(options) {
return this.client.sendOperationRequest({ options }, listOperationSpec);
}
/**
* Description for Get all deleted apps for a subscription at location
* @param location
* @param options The options parameters.
*/
_listByLocation(location, options) {
return this.client.sendOperationRequest({ location, options }, listByLocationOperationSpec);
}
/**
* 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, deletedSiteId, options) {
return this.client.sendOperationRequest({ location, deletedSiteId, options }, getDeletedWebAppByLocationOperationSpec);
}
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
}
/**
* ListByLocationNext
* @param location
* @param nextLink The nextLink from the previous successful call to the ListByLocation method.
* @param options The options parameters.
*/
_listByLocationNext(location, nextLink, options) {
return this.client.sendOperationRequest({ location, nextLink, options }, listByLocationNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeletedWebAppCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const listByLocationOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeletedWebAppCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.location
],
headerParameters: [Parameters.accept],
serializer
};
const getDeletedWebAppByLocationOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeletedSite
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.location,
Parameters.deletedSiteId
],
headerParameters: [Parameters.accept],
serializer
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeletedWebAppCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listByLocationNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeletedWebAppCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink,
Parameters.location
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=deletedWebApps.js.map
@@ -0,0 +1 @@
{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E,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EACF,2FAA2F;IAC7F,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EACF,2GAA2G;IAC7G,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAALine truncated
@@ -0,0 +1,377 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { Diagnostics } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
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";
/** Class containing Diagnostics operations. */
export declare class DiagnosticsImpl implements Diagnostics {
private readonly client;
/**
* Initialize a new instance of the class Diagnostics class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* 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>;
private listHostingEnvironmentDetectorResponsesPagingPage;
private listHostingEnvironmentDetectorResponsesPagingAll;
/**
* 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>;
private listSiteDetectorResponsesPagingPage;
private listSiteDetectorResponsesPagingAll;
/**
* 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>;
private listSiteDiagnosticCategoriesPagingPage;
private listSiteDiagnosticCategoriesPagingAll;
/**
* 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>;
private listSiteAnalysesPagingPage;
private listSiteAnalysesPagingAll;
/**
* 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>;
private listSiteDetectorsPagingPage;
private listSiteDetectorsPagingAll;
/**
* 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>;
private listSiteDetectorResponsesSlotPagingPage;
private listSiteDetectorResponsesSlotPagingAll;
/**
* 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>;
private listSiteDiagnosticCategoriesSlotPagingPage;
private listSiteDiagnosticCategoriesSlotPagingAll;
/**
* 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>;
private listSiteAnalysesSlotPagingPage;
private listSiteAnalysesSlotPagingAll;
/**
* 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>;
private listSiteDetectorsSlotPagingPage;
private listSiteDetectorsSlotPagingAll;
/**
* 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.
*/
private _listHostingEnvironmentDetectorResponses;
/**
* 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 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.
*/
private _listSiteDetectorResponses;
/**
* 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 Categories
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param options The options parameters.
*/
private _listSiteDiagnosticCategories;
/**
* 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 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.
*/
private _listSiteAnalyses;
/**
* 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 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.
*/
private _listSiteDetectors;
/**
* 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 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.
*/
private _listSiteDetectorResponsesSlot;
/**
* 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 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.
*/
private _listSiteDiagnosticCategoriesSlot;
/**
* 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 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.
*/
private _listSiteAnalysesSlot;
/**
* 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 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.
*/
private _listSiteDetectorsSlot;
/**
* 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>;
/**
* ListHostingEnvironmentDetectorResponsesNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site Name
* @param nextLink The nextLink from the previous successful call to the
* ListHostingEnvironmentDetectorResponses method.
* @param options The options parameters.
*/
private _listHostingEnvironmentDetectorResponsesNext;
/**
* ListSiteDetectorResponsesNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param nextLink The nextLink from the previous successful call to the ListSiteDetectorResponses
* method.
* @param options The options parameters.
*/
private _listSiteDetectorResponsesNext;
/**
* ListSiteDiagnosticCategoriesNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param nextLink The nextLink from the previous successful call to the ListSiteDiagnosticCategories
* method.
* @param options The options parameters.
*/
private _listSiteDiagnosticCategoriesNext;
/**
* ListSiteAnalysesNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param nextLink The nextLink from the previous successful call to the ListSiteAnalyses method.
* @param options The options parameters.
*/
private _listSiteAnalysesNext;
/**
* ListSiteDetectorsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param diagnosticCategory Diagnostic Category
* @param nextLink The nextLink from the previous successful call to the ListSiteDetectors method.
* @param options The options parameters.
*/
private _listSiteDetectorsNext;
/**
* ListSiteDetectorResponsesSlotNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param slot Slot Name
* @param nextLink The nextLink from the previous successful call to the ListSiteDetectorResponsesSlot
* method.
* @param options The options parameters.
*/
private _listSiteDetectorResponsesSlotNext;
/**
* ListSiteDiagnosticCategoriesSlotNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Site Name
* @param slot Slot Name
* @param nextLink The nextLink from the previous successful call to the
* ListSiteDiagnosticCategoriesSlot method.
* @param options The options parameters.
*/
private _listSiteDiagnosticCategoriesSlotNext;
/**
* ListSiteAnalysesSlotNext
* @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 nextLink The nextLink from the previous successful call to the ListSiteAnalysesSlot method.
* @param options The options parameters.
*/
private _listSiteAnalysesSlotNext;
/**
* ListSiteDetectorsSlotNext
* @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 nextLink The nextLink from the previous successful call to the ListSiteDetectorsSlot method.
* @param options The options parameters.
*/
private _listSiteDetectorsSlotNext;
}
//# sourceMappingURL=diagnostics.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"diagnostics.d.ts","sourceRoot":"","sources":["../../../src/operations/diagnostics.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,gEAAgE,EAGhE,kDAAkD,EAElD,kBAAkB,EAElB,qDAAqD,EAErD,kBAAkB,EAElB,yCAAyC,EAEzC,0BAA0B,EAE1B,0CAA0C,EAG1C,sDAAsD,EAGtD,yDAAyD,EAGzD,6CAA6C,EAG7C,8CAA8C,EAE9C,8DAA8D,EAC9D,wDAAwD,EACxD,gDAAgD,EAChD,0CAA0C,EAC1C,kDAAkD,EAClD,4CAA4C,EAC5C,wCAAwC,E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ACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAclD;;;;;;;;OAQG;IACH,uBAAuB,CACrB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,YAAY,ELine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"diagnostics.js","sourceRoot":"","sources":["../../../src/operations/diagnostics.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAuEnD,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,uCAAuC,CAC5C,iBAAyB,EACzB,IAAY,EACZ,OAA0E;QAE1E,MAAM,IAAI,GAAG,IAAI,CAAC,gDAAgD,CAChE,iBAAiB,EACjB,IAAI,EACJ,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAi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 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { DomainRegistrationProvider } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { CsmOperationDescription, DomainRegistrationProviderListOperationsOptionalParams } from "../models";
/** Class containing DomainRegistrationProvider operations. */
export declare class DomainRegistrationProviderImpl implements DomainRegistrationProvider {
private readonly client;
/**
* Initialize a new instance of the class DomainRegistrationProvider class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* 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>;
private listOperationsPagingPage;
private listOperationsPagingAll;
/**
* Description for Implements Csm operations Api to exposes the list of available Csm Apis under the
* resource provider
* @param options The options parameters.
*/
private _listOperations;
/**
* ListOperationsNext
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
* @param options The options parameters.
*/
private _listOperationsNext;
}
//# sourceMappingURL=domainRegistrationProvider.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"domainRegistrationProvider.d.ts","sourceRoot":"","sources":["../../../src/operations/domainRegistrationProvider.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,uBAAuB,EAEvB,sDAAsD,EAGvD,MAAM,WAAW,CAAC;AAGnB,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;OAIG;IACI,cAAc,CACnB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,uBAAuB,CAAC;YAkBvC,wBAAwB;YAsBxB,uBAAuB;IAQtC;;;;OAIG;IACH,OAAO,CAAC,eAAe;IASvB;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;CAS5B"}
@@ -0,0 +1,134 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing DomainRegistrationProvider operations. */
export class DomainRegistrationProviderImpl {
/**
* Initialize a new instance of the class DomainRegistrationProvider class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* 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) {
const iter = this.listOperationsPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listOperationsPagingPage(options, settings);
}
};
}
listOperationsPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listOperationsPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listOperations(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listOperationsNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listOperationsPagingAll(options) {
return __asyncGenerator(this, arguments, function* listOperationsPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listOperationsPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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) {
return this.client.sendOperationRequest({ options }, listOperationsOperationSpec);
}
/**
* ListOperationsNext
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
* @param options The options parameters.
*/
_listOperationsNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listOperationsNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationsOperationSpec = {
path: "/providers/Microsoft.DomainRegistration/operations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.CsmOperationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host],
headerParameters: [Parameters.accept],
serializer
};
const listOperationsNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.CsmOperationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.nextLink],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=domainRegistrationProvider.js.map
@@ -0,0 +1 @@
{"version":3,"file":"domainRegistrationProvider.js","sourceRoot":"","sources":["../../../src/operations/domainRegistrationProvider.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,C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UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
+199
View File
@@ -0,0 +1,199 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { Domains } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
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";
/** Class containing Domains operations. */
export declare class DomainsImpl implements Domains {
private readonly client;
/**
* Initialize a new instance of the class Domains class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for Get all domains in a subscription.
* @param options The options parameters.
*/
list(options?: DomainsListOptionalParams): PagedAsyncIterableIterator<Domain>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listRecommendationsPagingPage;
private listRecommendationsPagingAll;
/**
* 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>;
private listByResourceGroupPagingPage;
private listByResourceGroupPagingAll;
/**
* 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>;
private listOwnershipIdentifiersPagingPage;
private listOwnershipIdentifiersPagingAll;
/**
* 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 Get all domains in a subscription.
* @param options The options parameters.
*/
private _list;
/**
* 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 domain name recommendations based on keywords.
* @param parameters Search parameters for domain name recommendations.
* @param options The options parameters.
*/
private _listRecommendations;
/**
* 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.
*/
private _listByResourceGroup;
/**
* 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 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.
*/
private _listOwnershipIdentifiers;
/**
* 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>;
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListRecommendationsNext
* @param parameters Search parameters for domain name recommendations.
* @param nextLink The nextLink from the previous successful call to the ListRecommendations method.
* @param options The options parameters.
*/
private _listRecommendationsNext;
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
private _listByResourceGroupNext;
/**
* ListOwnershipIdentifiersNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of domain.
* @param nextLink The nextLink from the previous successful call to the ListOwnershipIdentifiers
* method.
* @param options The options parameters.
*/
private _listOwnershipIdentifiersNext;
}
//# sourceMappingURL=domains.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"domains.d.ts","sourceRoot":"","sources":["../../../src/operations/domains.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIlD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,MAAM,EAEN,yBAAyB,EAEzB,cAAc,EACd,oCAAoC,EAEpC,wCAAwC,EAGxC,wCAAwC,EAExC,yBAAyB,EAEzB,6CAA6C,EAE7C,sCAAsC,EACtC,gCAAgC,EAChC,+CAA+C,EAC/C,yCAAyC,EACzC,wBAAwB,EACxB,kBAAkB,EAClB,mCAAmC,EACnC,6BAA6B,EAC7B,2BAA2B,EAC3B,mBAAmB,EACnB,2BAA2B,EAC3B,qBAAqB,EACrB,2CAA2C,EAC3C,qCAAqC,EACrC,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAC9C,8CAA8C,EAC9C,wCAAwC,EACxC,0BAA0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AE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;;OAQG;IACH,yBAAyB,CACvB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAapD;;;;;OAKG;IACH,KAAK,CACH,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;;;;OAOG;IACH,OAAO,CAAC,6BAA6B;CAWtC"}
+935
View File
@@ -0,0 +1,935 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { LroEngine } from "@azure/core-lro";
import { LroImpl } from "../lroImpl";
/// <reference lib="esnext.asynciterable" />
/** Class containing Domains operations. */
export class DomainsImpl {
/**
* Initialize a new instance of the class Domains class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* Description for Get all domains in a subscription.
* @param options The options parameters.
*/
list(options) {
const iter = this.listPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(options, settings);
}
};
}
listPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listPagingAll(options) {
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* Description for Get domain name recommendations based on keywords.
* @param parameters Search parameters for domain name recommendations.
* @param options The options parameters.
*/
listRecommendations(parameters, options) {
const iter = this.listRecommendationsPagingAll(parameters, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listRecommendationsPagingPage(parameters, options, settings);
}
};
}
listRecommendationsPagingPage(parameters, options, settings) {
return __asyncGenerator(this, arguments, function* listRecommendationsPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listRecommendations(parameters, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listRecommendationsNext(parameters, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listRecommendationsPagingAll(parameters, options) {
return __asyncGenerator(this, arguments, function* listRecommendationsPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.listRecommendationsPagingPage(parameters, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* 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, options) {
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
}
};
}
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listByResourceGroupPagingAll(resourceGroupName, options) {
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
var e_3, _a;
try {
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_3_1) { e_3 = { error: e_3_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_3) throw e_3.error; }
}
});
}
/**
* 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, domainName, options) {
const iter = this.listOwnershipIdentifiersPagingAll(resourceGroupName, domainName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listOwnershipIdentifiersPagingPage(resourceGroupName, domainName, options, settings);
}
};
}
listOwnershipIdentifiersPagingPage(resourceGroupName, domainName, options, settings) {
return __asyncGenerator(this, arguments, function* listOwnershipIdentifiersPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listOwnershipIdentifiers(resourceGroupName, domainName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listOwnershipIdentifiersNext(resourceGroupName, domainName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listOwnershipIdentifiersPagingAll(resourceGroupName, domainName, options) {
return __asyncGenerator(this, arguments, function* listOwnershipIdentifiersPagingAll_1() {
var e_4, _a;
try {
for (var _b = __asyncValues(this.listOwnershipIdentifiersPagingPage(resourceGroupName, domainName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_4_1) { e_4 = { error: e_4_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_4) throw e_4.error; }
}
});
}
/**
* Description for Check if a domain is available for registration.
* @param identifier Name of the domain.
* @param options The options parameters.
*/
checkAvailability(identifier, options) {
return this.client.sendOperationRequest({ identifier, options }, checkAvailabilityOperationSpec);
}
/**
* Description for Get all domains in a subscription.
* @param options The options parameters.
*/
_list(options) {
return this.client.sendOperationRequest({ options }, listOperationSpec);
}
/**
* Description for Generate a single sign-on request for the domain management portal.
* @param options The options parameters.
*/
getControlCenterSsoRequest(options) {
return this.client.sendOperationRequest({ options }, getControlCenterSsoRequestOperationSpec);
}
/**
* Description for Get domain name recommendations based on keywords.
* @param parameters Search parameters for domain name recommendations.
* @param options The options parameters.
*/
_listRecommendations(parameters, options) {
return this.client.sendOperationRequest({ parameters, options }, listRecommendationsOperationSpec);
}
/**
* 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, options) {
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
}
/**
* 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, domainName, options) {
return this.client.sendOperationRequest({ resourceGroupName, domainName, options }, getOperationSpec);
}
/**
* 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, domainName, domain, options) {
return __awaiter(this, void 0, void 0, function* () {
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
return this.client.sendOperationRequest(args, spec);
});
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
var _a;
let currentRawResponse = undefined;
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
const callback = (rawResponse, flatResponse) => {
currentRawResponse = rawResponse;
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
};
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
const flatResponse = yield directSendOperation(updatedArgs, spec);
return {
flatResponse,
rawResponse: {
statusCode: currentRawResponse.status,
body: currentRawResponse.parsedBody,
headers: currentRawResponse.headers.toJSON()
}
};
});
const lro = new LroImpl(sendOperation, { resourceGroupName, domainName, domain, options }, createOrUpdateOperationSpec);
const poller = new LroEngine(lro, {
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
});
yield poller.poll();
return poller;
});
}
/**
* 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, domainName, domain, options) {
return __awaiter(this, void 0, void 0, function* () {
const poller = yield this.beginCreateOrUpdate(resourceGroupName, domainName, domain, options);
return poller.pollUntilDone();
});
}
/**
* 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, domainName, options) {
return this.client.sendOperationRequest({ resourceGroupName, domainName, options }, deleteOperationSpec);
}
/**
* 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, domainName, domain, options) {
return this.client.sendOperationRequest({ resourceGroupName, domainName, domain, options }, updateOperationSpec);
}
/**
* 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, domainName, options) {
return this.client.sendOperationRequest({ resourceGroupName, domainName, options }, listOwnershipIdentifiersOperationSpec);
}
/**
* 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, domainName, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, domainName, name, options }, getOwnershipIdentifierOperationSpec);
}
/**
* 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, domainName, name, domainOwnershipIdentifier, options) {
return this.client.sendOperationRequest({
resourceGroupName,
domainName,
name,
domainOwnershipIdentifier,
options
}, createOrUpdateOwnershipIdentifierOperationSpec);
}
/**
* 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, domainName, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, domainName, name, options }, deleteOwnershipIdentifierOperationSpec);
}
/**
* 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, domainName, name, domainOwnershipIdentifier, options) {
return this.client.sendOperationRequest({
resourceGroupName,
domainName,
name,
domainOwnershipIdentifier,
options
}, updateOwnershipIdentifierOperationSpec);
}
/**
* 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, domainName, options) {
return this.client.sendOperationRequest({ resourceGroupName, domainName, options }, renewOperationSpec);
}
/**
* 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, domainName, options) {
return this.client.sendOperationRequest({ resourceGroupName, domainName, options }, transferOutOperationSpec);
}
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
}
/**
* ListRecommendationsNext
* @param parameters Search parameters for domain name recommendations.
* @param nextLink The nextLink from the previous successful call to the ListRecommendations method.
* @param options The options parameters.
*/
_listRecommendationsNext(parameters, nextLink, options) {
return this.client.sendOperationRequest({ parameters, nextLink, options }, listRecommendationsNextOperationSpec);
}
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
}
/**
* ListOwnershipIdentifiersNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param domainName Name of domain.
* @param nextLink The nextLink from the previous successful call to the ListOwnershipIdentifiers
* method.
* @param options The options parameters.
*/
_listOwnershipIdentifiersNext(resourceGroupName, domainName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, domainName, nextLink, options }, listOwnershipIdentifiersNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const checkAvailabilityOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability",
httpMethod: "POST",
responses: {
200: {
bodyMapper: Mappers.DomainAvailabilityCheckResult
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.identifier,
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DomainCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const getControlCenterSsoRequestOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/generateSsoRequest",
httpMethod: "POST",
responses: {
200: {
bodyMapper: Mappers.DomainControlCenterSsoRequest
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const listRecommendationsOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations",
httpMethod: "POST",
responses: {
200: {
bodyMapper: Mappers.NameIdentifierCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.parameters,
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const listByResourceGroupOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DomainCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName
],
headerParameters: [Parameters.accept],
serializer
};
const getOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.Domain
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.domainName
],
headerParameters: [Parameters.accept],
serializer
};
const createOrUpdateOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}",
httpMethod: "PUT",
responses: {
200: {
bodyMapper: Mappers.Domain
},
201: {
bodyMapper: Mappers.Domain
},
202: {
bodyMapper: Mappers.Domain
},
204: {
bodyMapper: Mappers.Domain
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.domain,
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.domainName1
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const deleteOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}",
httpMethod: "DELETE",
responses: {
200: {},
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.forceHardDeleteDomain],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.domainName
],
headerParameters: [Parameters.accept],
serializer
};
const updateOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}",
httpMethod: "PATCH",
responses: {
200: {
bodyMapper: Mappers.Domain
},
202: {
bodyMapper: Mappers.Domain
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.domain1,
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.domainName1
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const listOwnershipIdentifiersOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DomainOwnershipIdentifierCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.domainName
],
headerParameters: [Parameters.accept],
serializer
};
const getOwnershipIdentifierOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DomainOwnershipIdentifier
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.domainName
],
headerParameters: [Parameters.accept],
serializer
};
const createOrUpdateOwnershipIdentifierOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}",
httpMethod: "PUT",
responses: {
200: {
bodyMapper: Mappers.DomainOwnershipIdentifier
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.domainOwnershipIdentifier,
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.domainName
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const deleteOwnershipIdentifierOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}",
httpMethod: "DELETE",
responses: {
200: {},
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.domainName
],
headerParameters: [Parameters.accept],
serializer
};
const updateOwnershipIdentifierOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}",
httpMethod: "PATCH",
responses: {
200: {
bodyMapper: Mappers.DomainOwnershipIdentifier
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.domainOwnershipIdentifier,
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.domainName
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const renewOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/renew",
httpMethod: "POST",
responses: {
200: {},
202: {},
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.domainName
],
headerParameters: [Parameters.accept],
serializer
};
const transferOutOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut",
httpMethod: "PUT",
responses: {
200: {
bodyMapper: Mappers.Domain
},
400: {
isError: true
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.domainName
],
headerParameters: [Parameters.accept],
serializer
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DomainCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listRecommendationsNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.NameIdentifierCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const listByResourceGroupNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DomainCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listOwnershipIdentifiersNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DomainOwnershipIdentifierCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink,
Parameters.domainName
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=domains.js.map
@@ -0,0 +1 @@
{"version":3,"file":"domains.js","sourceRoot":"","sources":["../../../src/operations/domains.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,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B,CACzC,iBAAyB,EACzB,OAAkD;;;;gBAElD,KAAyB,IAAA,KAAA,cAAA,IAAI,CAAC,6BAA6B,CACzD,iBAAiB,EACjB,OAAO,CACR,CAAA,IAAA;oBAHU,MAAM,IAAI,WAAA,CAAA;oBAInB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;iBACb;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;;OAKG;IACI,wBAAwB,CAC7B,iBAAyB,EACzB,UAAkB,EAClB,OAAuD;QAEvD,MAAM,IAAI,GAAG,IAAI,CAAC,iCAAiC,CACjD,iBAAiB,EACjB,UAAU,EACV,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAALine truncated
+32
View File
@@ -0,0 +1,32 @@
import { Global } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { GlobalGetDeletedWebAppOptionalParams, GlobalGetDeletedWebAppResponse, GlobalGetDeletedWebAppSnapshotsOptionalParams, GlobalGetDeletedWebAppSnapshotsResponse, GlobalGetSubscriptionOperationWithAsyncResponseOptionalParams } from "../models";
/** Class containing Global operations. */
export declare class GlobalImpl implements Global {
private readonly client;
/**
* Initialize a new instance of the class Global class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* 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>;
}
//# sourceMappingURL=global.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../../src/operations/global.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAIjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,oCAAoC,EACpC,8BAA8B,EAC9B,6CAA6C,EAC7C,uCAAuC,EACvC,6DAA6D,EAC9D,MAAM,WAAW,CAAC;AAEnB,0CAA0C;AAC1C,qBAAa,UAAW,YAAW,MAAM;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;OAIG;IACH,gBAAgB,CACd,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;;OAIG;IACH,yBAAyB,CACvB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAOnD;;;;;OAKG;IACH,yCAAyC,CACvC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CAAC,IAAI,CAAC;CAMjB"}
+112
View File
@@ -0,0 +1,112 @@
/*
* 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 * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/** Class containing Global operations. */
export class GlobalImpl {
/**
* Initialize a new instance of the class Global class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* 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, options) {
return this.client.sendOperationRequest({ deletedSiteId, options }, getDeletedWebAppOperationSpec);
}
/**
* 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, options) {
return this.client.sendOperationRequest({ deletedSiteId, options }, getDeletedWebAppSnapshotsOperationSpec);
}
/**
* 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, operationId, options) {
return this.client.sendOperationRequest({ location, operationId, options }, getSubscriptionOperationWithAsyncResponseOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const getDeletedWebAppOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DeletedSite
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.deletedSiteId
],
headerParameters: [Parameters.accept],
serializer
};
const getDeletedWebAppSnapshotsOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}/snapshots",
httpMethod: "GET",
responses: {
200: {
bodyMapper: {
type: {
name: "Sequence",
element: { type: { name: "Composite", className: "Snapshot" } }
}
}
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.deletedSiteId
],
headerParameters: [Parameters.accept],
serializer
};
const getSubscriptionOperationWithAsyncResponseOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/operations/{operationId}",
httpMethod: "GET",
responses: {
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.location,
Parameters.operationId
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=global.js.map
@@ -0,0 +1 @@
{"version":3,"file":"global.js","sourceRoot":"","sources":["../../../src/operations/global.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,0CAA0C;AAC1C,MAAM,OAAO,UAAU;IAGrB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,gBAAgB,CACd,aAAqB,EACrB,OAA8C;QAE9C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,aAAa,EAAE,OAAO,EAAE,EAC1B,6BAA6B,CAC9B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,yBAAyB,CACvB,aAAqB,EACrB,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,aAAa,EAAE,OAAO,EAAE,EAC1B,sCAAsC,CACvC,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,yCAAyC,CACvC,QAAgB,EAChB,WAAmB,EACnB,OAAuE;QAEvE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,EAClC,sDAAsD,CACv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AG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
+30
View File
@@ -0,0 +1,30 @@
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";
//# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oCAAoC,CAAC;AACnD,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gDAAgD,CAAC;AAC/D,cAAc,qCAAqC,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC"}
+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";
//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oCAAoC,CAAC;AACnD,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gDAAgD,CAAC;AAC/D,cAAc,qCAAqC,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,99 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { KubeEnvironments } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import { KubeEnvironment, KubeEnvironmentsListBySubscriptionOptionalParams, KubeEnvironmentsListByResourceGroupOptionalParams, KubeEnvironmentsGetOptionalParams, KubeEnvironmentsGetResponse, KubeEnvironmentsCreateOrUpdateOptionalParams, KubeEnvironmentsCreateOrUpdateResponse, KubeEnvironmentsDeleteOptionalParams, KubeEnvironmentPatchResource, KubeEnvironmentsUpdateOptionalParams, KubeEnvironmentsUpdateResponse } from "../models";
/** Class containing KubeEnvironments operations. */
export declare class KubeEnvironmentsImpl implements KubeEnvironments {
private readonly client;
/**
* Initialize a new instance of the class KubeEnvironments class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for Get all Kubernetes Environments for a subscription.
* @param options The options parameters.
*/
listBySubscription(options?: KubeEnvironmentsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<KubeEnvironment>;
private listBySubscriptionPagingPage;
private listBySubscriptionPagingAll;
/**
* 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>;
private listByResourceGroupPagingPage;
private listByResourceGroupPagingAll;
/**
* Description for Get all Kubernetes Environments for a subscription.
* @param options The options parameters.
*/
private _listBySubscription;
/**
* 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.
*/
private _listByResourceGroup;
/**
* 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>;
/**
* ListBySubscriptionNext
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
* @param options The options parameters.
*/
private _listBySubscriptionNext;
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
private _listByResourceGroupNext;
}
//# sourceMappingURL=kubeEnvironments.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"kubeEnvironments.d.ts","sourceRoot":"","sources":["../../../src/operations/kubeEnvironments.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,gBAAgB,EAAE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AMG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,uBAAuB,EAAE,eAAe,EACxC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAUlD;;;;;OAKG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAqDtD;;;;;OAKG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,uBAAuB,EAAE,4BAA4B,EACrD,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -0,0 +1,480 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { LroEngine } from "@azure/core-lro";
import { LroImpl } from "../lroImpl";
/// <reference lib="esnext.asynciterable" />
/** Class containing KubeEnvironments operations. */
export class KubeEnvironmentsImpl {
/**
* Initialize a new instance of the class KubeEnvironments class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* Description for Get all Kubernetes Environments for a subscription.
* @param options The options parameters.
*/
listBySubscription(options) {
const iter = this.listBySubscriptionPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBySubscriptionPagingPage(options, settings);
}
};
}
listBySubscriptionPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listBySubscription(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listBySubscriptionPagingAll(options) {
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, options) {
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
}
};
}
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listByResourceGroupPagingAll(resourceGroupName, options) {
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* Description for Get all Kubernetes Environments for a subscription.
* @param options The options parameters.
*/
_listBySubscription(options) {
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
}
/**
* 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, options) {
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
}
/**
* 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, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
}
/**
* 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, name, kubeEnvironmentEnvelope, options) {
return __awaiter(this, void 0, void 0, function* () {
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
return this.client.sendOperationRequest(args, spec);
});
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
var _a;
let currentRawResponse = undefined;
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
const callback = (rawResponse, flatResponse) => {
currentRawResponse = rawResponse;
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
};
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
const flatResponse = yield directSendOperation(updatedArgs, spec);
return {
flatResponse,
rawResponse: {
statusCode: currentRawResponse.status,
body: currentRawResponse.parsedBody,
headers: currentRawResponse.headers.toJSON()
}
};
});
const lro = new LroImpl(sendOperation, { resourceGroupName, name, kubeEnvironmentEnvelope, options }, createOrUpdateOperationSpec);
const poller = new LroEngine(lro, {
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
});
yield poller.poll();
return poller;
});
}
/**
* 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, name, kubeEnvironmentEnvelope, options) {
return __awaiter(this, void 0, void 0, function* () {
const poller = yield this.beginCreateOrUpdate(resourceGroupName, name, kubeEnvironmentEnvelope, options);
return poller.pollUntilDone();
});
}
/**
* 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, name, options) {
return __awaiter(this, void 0, void 0, function* () {
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
return this.client.sendOperationRequest(args, spec);
});
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
var _a;
let currentRawResponse = undefined;
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
const callback = (rawResponse, flatResponse) => {
currentRawResponse = rawResponse;
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
};
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
const flatResponse = yield directSendOperation(updatedArgs, spec);
return {
flatResponse,
rawResponse: {
statusCode: currentRawResponse.status,
body: currentRawResponse.parsedBody,
headers: currentRawResponse.headers.toJSON()
}
};
});
const lro = new LroImpl(sendOperation, { resourceGroupName, name, options }, deleteOperationSpec);
const poller = new LroEngine(lro, {
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
});
yield poller.poll();
return poller;
});
}
/**
* 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, name, options) {
return __awaiter(this, void 0, void 0, function* () {
const poller = yield this.beginDelete(resourceGroupName, name, options);
return poller.pollUntilDone();
});
}
/**
* 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, name, kubeEnvironmentEnvelope, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, kubeEnvironmentEnvelope, options }, updateOperationSpec);
}
/**
* ListBySubscriptionNext
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
* @param options The options parameters.
*/
_listBySubscriptionNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
}
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listBySubscriptionOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.KubeEnvironmentCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const listByResourceGroupOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.KubeEnvironmentCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName
],
headerParameters: [Parameters.accept],
serializer
};
const getOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.KubeEnvironment
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept],
serializer
};
const createOrUpdateOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}",
httpMethod: "PUT",
responses: {
200: {
bodyMapper: Mappers.KubeEnvironment
},
201: {
bodyMapper: Mappers.KubeEnvironment
},
202: {
bodyMapper: Mappers.KubeEnvironment
},
204: {
bodyMapper: Mappers.KubeEnvironment
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.kubeEnvironmentEnvelope,
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const deleteOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}",
httpMethod: "DELETE",
responses: {
200: {},
201: {},
202: {},
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept],
serializer
};
const updateOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}",
httpMethod: "PATCH",
responses: {
200: {
bodyMapper: Mappers.KubeEnvironment
},
201: {
bodyMapper: Mappers.KubeEnvironment
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.kubeEnvironmentEnvelope1,
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const listBySubscriptionNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.KubeEnvironmentCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listByResourceGroupNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.KubeEnvironmentCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=kubeEnvironments.js.map
@@ -0,0 +1 @@
{"version":3,"file":"kubeEnvironments.js","sourceRoot":"","sources":["../../../src/operations/kubeEnvironments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAqBrC,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,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import { WebSiteManagementClient } from "../webSiteManagementClient";
import { ApplicationStackResource, ProviderGetAvailableStacksOptionalParams, FunctionAppStack, ProviderGetFunctionAppStacksOptionalParams, ProviderGetFunctionAppStacksForLocationOptionalParams, WebAppStack, ProviderGetWebAppStacksForLocationOptionalParams, CsmOperationDescription, ProviderListOperationsOptionalParams, ProviderGetWebAppStacksOptionalParams, ProviderGetAvailableStacksOnPremOptionalParams } from "../models";
/** Class containing Provider operations. */
export declare class ProviderImpl implements Provider {
private readonly client;
/**
* Initialize a new instance of the class Provider class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for Get available application frameworks and their versions
* @param options The options parameters.
*/
listAvailableStacks(options?: ProviderGetAvailableStacksOptionalParams): PagedAsyncIterableIterator<ApplicationStackResource>;
private getAvailableStacksPagingPage;
private getAvailableStacksPagingAll;
/**
* Description for Get available Function app frameworks and their versions
* @param options The options parameters.
*/
listFunctionAppStacks(options?: ProviderGetFunctionAppStacksOptionalParams): PagedAsyncIterableIterator<FunctionAppStack>;
private getFunctionAppStacksPagingPage;
private getFunctionAppStacksPagingAll;
/**
* 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>;
private getFunctionAppStacksForLocationPagingPage;
private getFunctionAppStacksForLocationPagingAll;
/**
* 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>;
private getWebAppStacksForLocationPagingPage;
private getWebAppStacksForLocationPagingAll;
/**
* 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>;
private listOperationsPagingPage;
private listOperationsPagingAll;
/**
* Description for Get available Web app frameworks and their versions
* @param options The options parameters.
*/
listWebAppStacks(options?: ProviderGetWebAppStacksOptionalParams): PagedAsyncIterableIterator<WebAppStack>;
private getWebAppStacksPagingPage;
private getWebAppStacksPagingAll;
/**
* Description for Get available application frameworks and their versions
* @param options The options parameters.
*/
listAvailableStacksOnPrem(options?: ProviderGetAvailableStacksOnPremOptionalParams): PagedAsyncIterableIterator<ApplicationStackResource>;
private getAvailableStacksOnPremPagingPage;
private getAvailableStacksOnPremPagingAll;
/**
* Description for Get available application frameworks and their versions
* @param options The options parameters.
*/
private _getAvailableStacks;
/**
* Description for Get available Function app frameworks and their versions
* @param options The options parameters.
*/
private _getFunctionAppStacks;
/**
* Description for Get available Function app frameworks and their versions for location
* @param location Function App stack location.
* @param options The options parameters.
*/
private _getFunctionAppStacksForLocation;
/**
* Description for Get available Web app frameworks and their versions for location
* @param location Web App stack location.
* @param options The options parameters.
*/
private _getWebAppStacksForLocation;
/**
* Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes
* resource metric definitions
* @param options The options parameters.
*/
private _listOperations;
/**
* Description for Get available Web app frameworks and their versions
* @param options The options parameters.
*/
private _getWebAppStacks;
/**
* Description for Get available application frameworks and their versions
* @param options The options parameters.
*/
private _getAvailableStacksOnPrem;
/**
* GetAvailableStacksNext
* @param nextLink The nextLink from the previous successful call to the GetAvailableStacks method.
* @param options The options parameters.
*/
private _getAvailableStacksNext;
/**
* GetFunctionAppStacksNext
* @param nextLink The nextLink from the previous successful call to the GetFunctionAppStacks method.
* @param options The options parameters.
*/
private _getFunctionAppStacksNext;
/**
* GetFunctionAppStacksForLocationNext
* @param location Function App stack location.
* @param nextLink The nextLink from the previous successful call to the
* GetFunctionAppStacksForLocation method.
* @param options The options parameters.
*/
private _getFunctionAppStacksForLocationNext;
/**
* GetWebAppStacksForLocationNext
* @param location Web App stack location.
* @param nextLink The nextLink from the previous successful call to the GetWebAppStacksForLocation
* method.
* @param options The options parameters.
*/
private _getWebAppStacksForLocationNext;
/**
* ListOperationsNext
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
* @param options The options parameters.
*/
private _listOperationsNext;
/**
* GetWebAppStacksNext
* @param nextLink The nextLink from the previous successful call to the GetWebAppStacks method.
* @param options The options parameters.
*/
private _getWebAppStacksNext;
/**
* GetAvailableStacksOnPremNext
* @param nextLink The nextLink from the previous successful call to the GetAvailableStacksOnPrem
* method.
* @param options The options parameters.
*/
private _getAvailableStacksOnPremNext;
}
//# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/operations/provider.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,wBAAwB,EAExB,wCAAwC,EAExC,gBAAgB,EAEhB,0CAA0C,EAG1C,qDAAqD,EAErD,WAAW,EAEX,gDAAgD,EAEhD,uBAAuB,EAEvB,oCAAoC,EAGpC,qCAAqC,EAGrC,8CAA8C,EAS/C,MAAM,WAAW,CAAC;AAGnB,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,mBAAmB,CACxB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,wBAAwB,CAAC;YAkBxC,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;OAGG;IACI,qBAAqB,CAC1B,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,gBAAgB,CAAC;YAkBhC,8BAA8B;YAsB9B,6BAA6B;IAQ5C;;;;OAIG;IACI,gCAAgC,CACrC,QAAQ,EAAE,MAAM,EA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C"}
+783
View File
@@ -0,0 +1,783 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing Provider operations. */
export class ProviderImpl {
/**
* Initialize a new instance of the class Provider class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* Description for Get available application frameworks and their versions
* @param options The options parameters.
*/
listAvailableStacks(options) {
const iter = this.getAvailableStacksPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.getAvailableStacksPagingPage(options, settings);
}
};
}
getAvailableStacksPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* getAvailableStacksPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._getAvailableStacks(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._getAvailableStacksNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
getAvailableStacksPagingAll(options) {
return __asyncGenerator(this, arguments, function* getAvailableStacksPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.getAvailableStacksPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* Description for Get available Function app frameworks and their versions
* @param options The options parameters.
*/
listFunctionAppStacks(options) {
const iter = this.getFunctionAppStacksPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.getFunctionAppStacksPagingPage(options, settings);
}
};
}
getFunctionAppStacksPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* getFunctionAppStacksPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._getFunctionAppStacks(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._getFunctionAppStacksNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
getFunctionAppStacksPagingAll(options) {
return __asyncGenerator(this, arguments, function* getFunctionAppStacksPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.getFunctionAppStacksPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* 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, options) {
const iter = this.getFunctionAppStacksForLocationPagingAll(location, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.getFunctionAppStacksForLocationPagingPage(location, options, settings);
}
};
}
getFunctionAppStacksForLocationPagingPage(location, options, settings) {
return __asyncGenerator(this, arguments, function* getFunctionAppStacksForLocationPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._getFunctionAppStacksForLocation(location, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._getFunctionAppStacksForLocationNext(location, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
getFunctionAppStacksForLocationPagingAll(location, options) {
return __asyncGenerator(this, arguments, function* getFunctionAppStacksForLocationPagingAll_1() {
var e_3, _a;
try {
for (var _b = __asyncValues(this.getFunctionAppStacksForLocationPagingPage(location, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_3_1) { e_3 = { error: e_3_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_3) throw e_3.error; }
}
});
}
/**
* 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, options) {
const iter = this.getWebAppStacksForLocationPagingAll(location, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.getWebAppStacksForLocationPagingPage(location, options, settings);
}
};
}
getWebAppStacksForLocationPagingPage(location, options, settings) {
return __asyncGenerator(this, arguments, function* getWebAppStacksForLocationPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._getWebAppStacksForLocation(location, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._getWebAppStacksForLocationNext(location, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
getWebAppStacksForLocationPagingAll(location, options) {
return __asyncGenerator(this, arguments, function* getWebAppStacksForLocationPagingAll_1() {
var e_4, _a;
try {
for (var _b = __asyncValues(this.getWebAppStacksForLocationPagingPage(location, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_4_1) { e_4 = { error: e_4_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_4) throw e_4.error; }
}
});
}
/**
* Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes
* resource metric definitions
* @param options The options parameters.
*/
listOperations(options) {
const iter = this.listOperationsPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listOperationsPagingPage(options, settings);
}
};
}
listOperationsPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listOperationsPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listOperations(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listOperationsNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listOperationsPagingAll(options) {
return __asyncGenerator(this, arguments, function* listOperationsPagingAll_1() {
var e_5, _a;
try {
for (var _b = __asyncValues(this.listOperationsPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_5_1) { e_5 = { error: e_5_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_5) throw e_5.error; }
}
});
}
/**
* Description for Get available Web app frameworks and their versions
* @param options The options parameters.
*/
listWebAppStacks(options) {
const iter = this.getWebAppStacksPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.getWebAppStacksPagingPage(options, settings);
}
};
}
getWebAppStacksPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* getWebAppStacksPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._getWebAppStacks(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._getWebAppStacksNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
getWebAppStacksPagingAll(options) {
return __asyncGenerator(this, arguments, function* getWebAppStacksPagingAll_1() {
var e_6, _a;
try {
for (var _b = __asyncValues(this.getWebAppStacksPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_6_1) { e_6 = { error: e_6_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_6) throw e_6.error; }
}
});
}
/**
* Description for Get available application frameworks and their versions
* @param options The options parameters.
*/
listAvailableStacksOnPrem(options) {
const iter = this.getAvailableStacksOnPremPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.getAvailableStacksOnPremPagingPage(options, settings);
}
};
}
getAvailableStacksOnPremPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* getAvailableStacksOnPremPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._getAvailableStacksOnPrem(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._getAvailableStacksOnPremNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
getAvailableStacksOnPremPagingAll(options) {
return __asyncGenerator(this, arguments, function* getAvailableStacksOnPremPagingAll_1() {
var e_7, _a;
try {
for (var _b = __asyncValues(this.getAvailableStacksOnPremPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_7_1) { e_7 = { error: e_7_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_7) throw e_7.error; }
}
});
}
/**
* Description for Get available application frameworks and their versions
* @param options The options parameters.
*/
_getAvailableStacks(options) {
return this.client.sendOperationRequest({ options }, getAvailableStacksOperationSpec);
}
/**
* Description for Get available Function app frameworks and their versions
* @param options The options parameters.
*/
_getFunctionAppStacks(options) {
return this.client.sendOperationRequest({ options }, getFunctionAppStacksOperationSpec);
}
/**
* Description for Get available Function app frameworks and their versions for location
* @param location Function App stack location.
* @param options The options parameters.
*/
_getFunctionAppStacksForLocation(location, options) {
return this.client.sendOperationRequest({ location, options }, getFunctionAppStacksForLocationOperationSpec);
}
/**
* Description for Get available Web app frameworks and their versions for location
* @param location Web App stack location.
* @param options The options parameters.
*/
_getWebAppStacksForLocation(location, options) {
return this.client.sendOperationRequest({ location, options }, getWebAppStacksForLocationOperationSpec);
}
/**
* Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes
* resource metric definitions
* @param options The options parameters.
*/
_listOperations(options) {
return this.client.sendOperationRequest({ options }, listOperationsOperationSpec);
}
/**
* Description for Get available Web app frameworks and their versions
* @param options The options parameters.
*/
_getWebAppStacks(options) {
return this.client.sendOperationRequest({ options }, getWebAppStacksOperationSpec);
}
/**
* Description for Get available application frameworks and their versions
* @param options The options parameters.
*/
_getAvailableStacksOnPrem(options) {
return this.client.sendOperationRequest({ options }, getAvailableStacksOnPremOperationSpec);
}
/**
* GetAvailableStacksNext
* @param nextLink The nextLink from the previous successful call to the GetAvailableStacks method.
* @param options The options parameters.
*/
_getAvailableStacksNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, getAvailableStacksNextOperationSpec);
}
/**
* GetFunctionAppStacksNext
* @param nextLink The nextLink from the previous successful call to the GetFunctionAppStacks method.
* @param options The options parameters.
*/
_getFunctionAppStacksNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, getFunctionAppStacksNextOperationSpec);
}
/**
* GetFunctionAppStacksForLocationNext
* @param location Function App stack location.
* @param nextLink The nextLink from the previous successful call to the
* GetFunctionAppStacksForLocation method.
* @param options The options parameters.
*/
_getFunctionAppStacksForLocationNext(location, nextLink, options) {
return this.client.sendOperationRequest({ location, nextLink, options }, getFunctionAppStacksForLocationNextOperationSpec);
}
/**
* GetWebAppStacksForLocationNext
* @param location Web App stack location.
* @param nextLink The nextLink from the previous successful call to the GetWebAppStacksForLocation
* method.
* @param options The options parameters.
*/
_getWebAppStacksForLocationNext(location, nextLink, options) {
return this.client.sendOperationRequest({ location, nextLink, options }, getWebAppStacksForLocationNextOperationSpec);
}
/**
* ListOperationsNext
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
* @param options The options parameters.
*/
_listOperationsNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listOperationsNextOperationSpec);
}
/**
* GetWebAppStacksNext
* @param nextLink The nextLink from the previous successful call to the GetWebAppStacks method.
* @param options The options parameters.
*/
_getWebAppStacksNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, getWebAppStacksNextOperationSpec);
}
/**
* GetAvailableStacksOnPremNext
* @param nextLink The nextLink from the previous successful call to the GetAvailableStacksOnPrem
* method.
* @param options The options parameters.
*/
_getAvailableStacksOnPremNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, getAvailableStacksOnPremNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const getAvailableStacksOperationSpec = {
path: "/providers/Microsoft.Web/availableStacks",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ApplicationStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected],
urlParameters: [Parameters.$host],
headerParameters: [Parameters.accept],
serializer
};
const getFunctionAppStacksOperationSpec = {
path: "/providers/Microsoft.Web/functionAppStacks",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.FunctionAppStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.stackOsType],
urlParameters: [Parameters.$host],
headerParameters: [Parameters.accept],
serializer
};
const getFunctionAppStacksForLocationOperationSpec = {
path: "/providers/Microsoft.Web/locations/{location}/functionAppStacks",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.FunctionAppStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.stackOsType1],
urlParameters: [Parameters.$host, Parameters.location],
headerParameters: [Parameters.accept],
serializer
};
const getWebAppStacksForLocationOperationSpec = {
path: "/providers/Microsoft.Web/locations/{location}/webAppStacks",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WebAppStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.stackOsType2],
urlParameters: [Parameters.$host, Parameters.location],
headerParameters: [Parameters.accept],
serializer
};
const listOperationsOperationSpec = {
path: "/providers/Microsoft.Web/operations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.CsmOperationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host],
headerParameters: [Parameters.accept],
serializer
};
const getWebAppStacksOperationSpec = {
path: "/providers/Microsoft.Web/webAppStacks",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WebAppStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.stackOsType3],
urlParameters: [Parameters.$host],
headerParameters: [Parameters.accept],
serializer
};
const getAvailableStacksOnPremOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ApplicationStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected1],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const getAvailableStacksNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ApplicationStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected],
urlParameters: [Parameters.$host, Parameters.nextLink],
headerParameters: [Parameters.accept],
serializer
};
const getFunctionAppStacksNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.FunctionAppStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.stackOsType],
urlParameters: [Parameters.$host, Parameters.nextLink],
headerParameters: [Parameters.accept],
serializer
};
const getFunctionAppStacksForLocationNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.FunctionAppStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.stackOsType1],
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location],
headerParameters: [Parameters.accept],
serializer
};
const getWebAppStacksForLocationNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WebAppStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.stackOsType2],
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location],
headerParameters: [Parameters.accept],
serializer
};
const listOperationsNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.CsmOperationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.nextLink],
headerParameters: [Parameters.accept],
serializer
};
const getWebAppStacksNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WebAppStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.stackOsType3],
urlParameters: [Parameters.$host, Parameters.nextLink],
headerParameters: [Parameters.accept],
serializer
};
const getAvailableStacksOnPremNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ApplicationStackCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected1],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../src/operations/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ACH,CAAC;KAAA;IAEc,wCAAwC,CACrD,QAAgB,EAChB,OAA+D;;;;gBAE/D,KAAyB,IAAA,KAAA,cAAA,IAAI,CAAC,yCAAyC,CACrE,QAAQ,EACR,OAAO,CACR,CAAA,IAAA;oBAHU,MAAM,IAAI,WAAA,CAAA;oBAInB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;iBACb;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;OAIG;IACI,2BAA2B,CAChC,QAAgB,EAChB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,mCAAmC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,oCAAoC,CAC9C,QAAQ,EACR,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CALine truncated
@@ -0,0 +1,205 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { Recommendations } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { Recommendation, RecommendationsListOptionalParams, RecommendationsListHistoryForHostingEnvironmentOptionalParams, RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams, RecommendationsListHistoryForWebAppOptionalParams, RecommendationsListRecommendedRulesForWebAppOptionalParams, RecommendationsResetAllFiltersOptionalParams, RecommendationsDisableRecommendationForSubscriptionOptionalParams, RecommendationsDisableAllForHostingEnvironmentOptionalParams, RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams, RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams, RecommendationsGetRuleDetailsByHostingEnvironmentResponse, RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams, RecommendationsDisableAllForWebAppOptionalParams, RecommendationsResetAllFiltersForWebAppOptionalParams, RecommendationsGetRuleDetailsByWebAppOptionalParams, RecommendationsGetRuleDetailsByWebAppResponse, RecommendationsDisableRecommendationForSiteOptionalParams } from "../models";
/** Class containing Recommendations operations. */
export declare class RecommendationsImpl implements Recommendations {
private readonly client;
/**
* Initialize a new instance of the class Recommendations class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for List all recommendations for a subscription.
* @param options The options parameters.
*/
list(options?: RecommendationsListOptionalParams): PagedAsyncIterableIterator<Recommendation>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listHistoryForHostingEnvironmentPagingPage;
private listHistoryForHostingEnvironmentPagingAll;
/**
* 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>;
private listRecommendedRulesForHostingEnvironmentPagingPage;
private listRecommendedRulesForHostingEnvironmentPagingAll;
/**
* 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>;
private listHistoryForWebAppPagingPage;
private listHistoryForWebAppPagingAll;
/**
* 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>;
private listRecommendedRulesForWebAppPagingPage;
private listRecommendedRulesForWebAppPagingAll;
/**
* Description for List all recommendations for a subscription.
* @param options The options parameters.
*/
private _list;
/**
* 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 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.
*/
private _listHistoryForHostingEnvironment;
/**
* 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.
*/
private _listRecommendedRulesForHostingEnvironment;
/**
* 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 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.
*/
private _listHistoryForWebApp;
/**
* 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.
*/
private _listRecommendedRulesForWebApp;
/**
* 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>;
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListHistoryForHostingEnvironmentNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param hostingEnvironmentName Name of the hosting environment.
* @param nextLink The nextLink from the previous successful call to the
* ListHistoryForHostingEnvironment method.
* @param options The options parameters.
*/
private _listHistoryForHostingEnvironmentNext;
/**
* ListRecommendedRulesForHostingEnvironmentNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param hostingEnvironmentName Name of the app.
* @param nextLink The nextLink from the previous successful call to the
* ListRecommendedRulesForHostingEnvironment method.
* @param options The options parameters.
*/
private _listRecommendedRulesForHostingEnvironmentNext;
/**
* ListHistoryForWebAppNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Name of the app.
* @param nextLink The nextLink from the previous successful call to the ListHistoryForWebApp method.
* @param options The options parameters.
*/
private _listHistoryForWebAppNext;
/**
* ListRecommendedRulesForWebAppNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Name of the app.
* @param nextLink The nextLink from the previous successful call to the ListRecommendedRulesForWebApp
* method.
* @param options The options parameters.
*/
private _listRecommendedRulesForWebAppNext;
}
//# sourceMappingURL=recommendations.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"recommendations.d.ts","sourceRoot":"","sources":["../../../src/operations/recommendations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,e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AC,qBAAqB;IAW7B;;;;;OAKG;IACH,OAAO,CAAC,8BAA8B;IAWtC;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;IAOzD;;;;;;OAMG;IACH,4BAA4B,CAC1B,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,yDAAyD,GAClE,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;;;OAOG;IACH,OAAO,CAAC,qCAAqC;IAY7C;;;;;;;OAOG;IACH,OAAO,CAAC,8CAA8C;IActD;;;;;;OAMG;IACH,OAAO,CAAC,yBAAyB;IAYjC;;;;;;;OAOG;IACH,OAAO,CAAC,kCAAkC;CAW3C"}
@@ -0,0 +1,967 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing Recommendations operations. */
export class RecommendationsImpl {
/**
* Initialize a new instance of the class Recommendations class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* Description for List all recommendations for a subscription.
* @param options The options parameters.
*/
list(options) {
const iter = this.listPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(options, settings);
}
};
}
listPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listPagingAll(options) {
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, hostingEnvironmentName, options) {
const iter = this.listHistoryForHostingEnvironmentPagingAll(resourceGroupName, hostingEnvironmentName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listHistoryForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options, settings);
}
};
}
listHistoryForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options, settings) {
return __asyncGenerator(this, arguments, function* listHistoryForHostingEnvironmentPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listHistoryForHostingEnvironment(resourceGroupName, hostingEnvironmentName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listHistoryForHostingEnvironmentNext(resourceGroupName, hostingEnvironmentName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listHistoryForHostingEnvironmentPagingAll(resourceGroupName, hostingEnvironmentName, options) {
return __asyncGenerator(this, arguments, function* listHistoryForHostingEnvironmentPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.listHistoryForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* 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, hostingEnvironmentName, options) {
const iter = this.listRecommendedRulesForHostingEnvironmentPagingAll(resourceGroupName, hostingEnvironmentName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listRecommendedRulesForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options, settings);
}
};
}
listRecommendedRulesForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options, settings) {
return __asyncGenerator(this, arguments, function* listRecommendedRulesForHostingEnvironmentPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listRecommendedRulesForHostingEnvironment(resourceGroupName, hostingEnvironmentName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listRecommendedRulesForHostingEnvironmentNext(resourceGroupName, hostingEnvironmentName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listRecommendedRulesForHostingEnvironmentPagingAll(resourceGroupName, hostingEnvironmentName, options) {
return __asyncGenerator(this, arguments, function* listRecommendedRulesForHostingEnvironmentPagingAll_1() {
var e_3, _a;
try {
for (var _b = __asyncValues(this.listRecommendedRulesForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_3_1) { e_3 = { error: e_3_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_3) throw e_3.error; }
}
});
}
/**
* 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, siteName, options) {
const iter = this.listHistoryForWebAppPagingAll(resourceGroupName, siteName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listHistoryForWebAppPagingPage(resourceGroupName, siteName, options, settings);
}
};
}
listHistoryForWebAppPagingPage(resourceGroupName, siteName, options, settings) {
return __asyncGenerator(this, arguments, function* listHistoryForWebAppPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listHistoryForWebApp(resourceGroupName, siteName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listHistoryForWebAppNext(resourceGroupName, siteName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listHistoryForWebAppPagingAll(resourceGroupName, siteName, options) {
return __asyncGenerator(this, arguments, function* listHistoryForWebAppPagingAll_1() {
var e_4, _a;
try {
for (var _b = __asyncValues(this.listHistoryForWebAppPagingPage(resourceGroupName, siteName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_4_1) { e_4 = { error: e_4_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_4) throw e_4.error; }
}
});
}
/**
* 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, siteName, options) {
const iter = this.listRecommendedRulesForWebAppPagingAll(resourceGroupName, siteName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listRecommendedRulesForWebAppPagingPage(resourceGroupName, siteName, options, settings);
}
};
}
listRecommendedRulesForWebAppPagingPage(resourceGroupName, siteName, options, settings) {
return __asyncGenerator(this, arguments, function* listRecommendedRulesForWebAppPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listRecommendedRulesForWebApp(resourceGroupName, siteName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listRecommendedRulesForWebAppNext(resourceGroupName, siteName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listRecommendedRulesForWebAppPagingAll(resourceGroupName, siteName, options) {
return __asyncGenerator(this, arguments, function* listRecommendedRulesForWebAppPagingAll_1() {
var e_5, _a;
try {
for (var _b = __asyncValues(this.listRecommendedRulesForWebAppPagingPage(resourceGroupName, siteName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_5_1) { e_5 = { error: e_5_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_5) throw e_5.error; }
}
});
}
/**
* Description for List all recommendations for a subscription.
* @param options The options parameters.
*/
_list(options) {
return this.client.sendOperationRequest({ options }, listOperationSpec);
}
/**
* Description for Reset all recommendation opt-out settings for a subscription.
* @param options The options parameters.
*/
resetAllFilters(options) {
return this.client.sendOperationRequest({ options }, resetAllFiltersOperationSpec);
}
/**
* 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, options) {
return this.client.sendOperationRequest({ name, options }, disableRecommendationForSubscriptionOperationSpec);
}
/**
* 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, hostingEnvironmentName, options) {
return this.client.sendOperationRequest({ resourceGroupName, hostingEnvironmentName, options }, listHistoryForHostingEnvironmentOperationSpec);
}
/**
* 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, hostingEnvironmentName, options) {
return this.client.sendOperationRequest({ resourceGroupName, hostingEnvironmentName, options }, listRecommendedRulesForHostingEnvironmentOperationSpec);
}
/**
* 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, environmentName, hostingEnvironmentName, options) {
return this.client.sendOperationRequest({ resourceGroupName, environmentName, hostingEnvironmentName, options }, disableAllForHostingEnvironmentOperationSpec);
}
/**
* 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, environmentName, hostingEnvironmentName, options) {
return this.client.sendOperationRequest({ resourceGroupName, environmentName, hostingEnvironmentName, options }, resetAllFiltersForHostingEnvironmentOperationSpec);
}
/**
* 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, hostingEnvironmentName, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, hostingEnvironmentName, name, options }, getRuleDetailsByHostingEnvironmentOperationSpec);
}
/**
* 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, environmentName, name, hostingEnvironmentName, options) {
return this.client.sendOperationRequest({
resourceGroupName,
environmentName,
name,
hostingEnvironmentName,
options
}, disableRecommendationForHostingEnvironmentOperationSpec);
}
/**
* 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, siteName, options) {
return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, listHistoryForWebAppOperationSpec);
}
/**
* 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, siteName, options) {
return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, listRecommendedRulesForWebAppOperationSpec);
}
/**
* 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, siteName, options) {
return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, disableAllForWebAppOperationSpec);
}
/**
* 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, siteName, options) {
return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, resetAllFiltersForWebAppOperationSpec);
}
/**
* 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, siteName, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, siteName, name, options }, getRuleDetailsByWebAppOperationSpec);
}
/**
* 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, siteName, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, siteName, name, options }, disableRecommendationForSiteOperationSpec);
}
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
}
/**
* ListHistoryForHostingEnvironmentNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param hostingEnvironmentName Name of the hosting environment.
* @param nextLink The nextLink from the previous successful call to the
* ListHistoryForHostingEnvironment method.
* @param options The options parameters.
*/
_listHistoryForHostingEnvironmentNext(resourceGroupName, hostingEnvironmentName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, hostingEnvironmentName, nextLink, options }, listHistoryForHostingEnvironmentNextOperationSpec);
}
/**
* ListRecommendedRulesForHostingEnvironmentNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param hostingEnvironmentName Name of the app.
* @param nextLink The nextLink from the previous successful call to the
* ListRecommendedRulesForHostingEnvironment method.
* @param options The options parameters.
*/
_listRecommendedRulesForHostingEnvironmentNext(resourceGroupName, hostingEnvironmentName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, hostingEnvironmentName, nextLink, options }, listRecommendedRulesForHostingEnvironmentNextOperationSpec);
}
/**
* ListHistoryForWebAppNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Name of the app.
* @param nextLink The nextLink from the previous successful call to the ListHistoryForWebApp method.
* @param options The options parameters.
*/
_listHistoryForWebAppNext(resourceGroupName, siteName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, siteName, nextLink, options }, listHistoryForWebAppNextOperationSpec);
}
/**
* ListRecommendedRulesForWebAppNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param siteName Name of the app.
* @param nextLink The nextLink from the previous successful call to the ListRecommendedRulesForWebApp
* method.
* @param options The options parameters.
*/
_listRecommendedRulesForWebAppNext(resourceGroupName, siteName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, siteName, nextLink, options }, listRecommendedRulesForWebAppNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.filter,
Parameters.featured
],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const resetAllFiltersOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/reset",
httpMethod: "POST",
responses: {
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const disableRecommendationForSubscriptionOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/{name}/disable",
httpMethod: "POST",
responses: {
200: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name],
headerParameters: [Parameters.accept],
serializer
};
const listHistoryForHostingEnvironmentOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendationHistory",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.filter,
Parameters.expiredOnly
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.hostingEnvironmentName
],
headerParameters: [Parameters.accept],
serializer
};
const listRecommendedRulesForHostingEnvironmentOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.filter,
Parameters.featured
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.hostingEnvironmentName
],
headerParameters: [Parameters.accept],
serializer
};
const disableAllForHostingEnvironmentOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/disable",
httpMethod: "POST",
responses: {
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.environmentName],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.hostingEnvironmentName
],
headerParameters: [Parameters.accept],
serializer
};
const resetAllFiltersForHostingEnvironmentOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/reset",
httpMethod: "POST",
responses: {
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.environmentName],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.hostingEnvironmentName
],
headerParameters: [Parameters.accept],
serializer
};
const getRuleDetailsByHostingEnvironmentOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationRule
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.updateSeen,
Parameters.recommendationId
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.hostingEnvironmentName
],
headerParameters: [Parameters.accept],
serializer
};
const disableRecommendationForHostingEnvironmentOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable",
httpMethod: "POST",
responses: {
200: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.environmentName],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.hostingEnvironmentName
],
headerParameters: [Parameters.accept],
serializer
};
const listHistoryForWebAppOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.filter,
Parameters.expiredOnly
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.siteName
],
headerParameters: [Parameters.accept],
serializer
};
const listRecommendedRulesForWebAppOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.filter,
Parameters.featured
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.siteName
],
headerParameters: [Parameters.accept],
serializer
};
const disableAllForWebAppOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/disable",
httpMethod: "POST",
responses: {
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.siteName
],
headerParameters: [Parameters.accept],
serializer
};
const resetAllFiltersForWebAppOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/reset",
httpMethod: "POST",
responses: {
204: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.siteName
],
headerParameters: [Parameters.accept],
serializer
};
const getRuleDetailsByWebAppOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationRule
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.updateSeen,
Parameters.recommendationId
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.siteName
],
headerParameters: [Parameters.accept],
serializer
};
const disableRecommendationForSiteOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}/disable",
httpMethod: "POST",
responses: {
200: {},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.siteName
],
headerParameters: [Parameters.accept],
serializer
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.filter,
Parameters.featured
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listHistoryForHostingEnvironmentNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.filter,
Parameters.expiredOnly
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink,
Parameters.hostingEnvironmentName
],
headerParameters: [Parameters.accept],
serializer
};
const listRecommendedRulesForHostingEnvironmentNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.filter,
Parameters.featured
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink,
Parameters.hostingEnvironmentName
],
headerParameters: [Parameters.accept],
serializer
};
const listHistoryForWebAppNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.filter,
Parameters.expiredOnly
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink,
Parameters.siteName
],
headerParameters: [Parameters.accept],
serializer
};
const listRecommendedRulesForWebAppNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RecommendationCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [
Parameters.apiVersion,
Parameters.filter,
Parameters.featured
],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink,
Parameters.siteName
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=recommendations.js.map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AM,IAAI,CAAA,CAAC;aACZ;YACD,OAAO,iBAAiB,EAAE;gBACxB,MAAM,GAAG,cAAM,IAAI,CAAC,8CAA8C,CAChE,iBAAiB,EACjB,sBAAsB,EACtB,iBAAiB,EACjB,OAAO,CACR,CAAA,CAAC;gBACF,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,oBAAM,IAAI,CAAA,CAAC;aACZ;QACH,CAAC;KAAA;IAEc,kDAAkD,CAC/D,iBAAyB,EACzB,sBAA8B,EAC9B,OAAgF;;;;gBAEhF,KAAyB,IAAA,KAAA,cAAA,IAAI,CAAC,mDAAmD,CAC/E,iBAAiB,EACjB,sBAAsB,EACtB,OAAO,CACR,CAAA,IAAA;oBAJU,MAAM,IAAI,WAAA,CAAA;oBAKnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;iBACb;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;;OAKG;IACI,oBAAoB,CACzB,iBAAyB,EACzB,QAAgB,EAChB,OAA2D;QAE3D,MAAM,IAAI,GAAG,IAAI,CAAC,6BAA6B,CAC7C,iBAAiB,EACjB,QAAQ,EACR,OAAO,CACR,Line truncated
@@ -0,0 +1,125 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { ResourceHealthMetadataOperations } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { ResourceHealthMetadata, ResourceHealthMetadataListOptionalParams, ResourceHealthMetadataListByResourceGroupOptionalParams, ResourceHealthMetadataListBySiteOptionalParams, ResourceHealthMetadataListBySiteSlotOptionalParams, ResourceHealthMetadataGetBySiteOptionalParams, ResourceHealthMetadataGetBySiteResponse, ResourceHealthMetadataGetBySiteSlotOptionalParams, ResourceHealthMetadataGetBySiteSlotResponse } from "../models";
/** Class containing ResourceHealthMetadataOperations operations. */
export declare class ResourceHealthMetadataOperationsImpl implements ResourceHealthMetadataOperations {
private readonly client;
/**
* Initialize a new instance of the class ResourceHealthMetadataOperations class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for List all ResourceHealthMetadata for all sites in the subscription.
* @param options The options parameters.
*/
list(options?: ResourceHealthMetadataListOptionalParams): PagedAsyncIterableIterator<ResourceHealthMetadata>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listByResourceGroupPagingPage;
private listByResourceGroupPagingAll;
/**
* 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>;
private listBySitePagingPage;
private listBySitePagingAll;
/**
* 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>;
private listBySiteSlotPagingPage;
private listBySiteSlotPagingAll;
/**
* Description for List all ResourceHealthMetadata for all sites in the subscription.
* @param options The options parameters.
*/
private _list;
/**
* 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.
*/
private _listByResourceGroup;
/**
* 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.
*/
private _listBySite;
/**
* 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 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.
*/
private _listBySiteSlot;
/**
* 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>;
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
private _listByResourceGroupNext;
/**
* ListBySiteNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of web app.
* @param nextLink The nextLink from the previous successful call to the ListBySite method.
* @param options The options parameters.
*/
private _listBySiteNext;
/**
* ListBySiteSlotNext
* @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 nextLink The nextLink from the previous successful call to the ListBySiteSlot method.
* @param options The options parameters.
*/
private _listBySiteSlotNext;
}
//# sourceMappingURL=resourceHealthMetadataOperations.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"resourceHealthMetadataOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/resourceHealthMetadataOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,yBAAyB,CAAC;AAI3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,sBAAsB,EAEtB,wCAAwC,EAGxC,uDAAuD,EAGvD,8CAA8C,EAG9C,kDAAkD,EAElD,6CAA6C,EAC7C,uCAAuC,EACvC,iDAAiD,EACjD,2CAA2C,EAK5C,MAAM,WAAW,CAAC;AAGnB,oEAAoE;AACpE,qBAAa,oCACX,YAAW,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,sBAAsB,CAAC;YAkBtC,cAAc;YAsBd,aAAa;IAQ5B;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,sBAAsB,CAAC;YAsBtC,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;;;;OAMG;IACI,UAAU,CACf,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,sBAAsB,CAAC;YAuBtC,oBAAoB;YA6BpB,mBAAmB;IAclC;;;;;;;OAOG;IACI,cAAc,CACnB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,kDAAkD,GAC3D,0BAA0B,CAAC,sBAAsB,CAAC;YA6BtC,wBAAwB;YAoCxB,uBAAuB;IAgBtC;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;OAMG;IACH,OAAO,CAAC,WAAW;IAWnB;;;;;OAKG;IACH,SAAS,CACP,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAOnD;;;;;;;OAOG;IACH,OAAO,CAAC,eAAe;IAYvB;;;;;;OAMG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAOvD;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAYvB;;;;;;;OAOG;IACH,OAAO,CAAC,mBAAmB;CAY5B"}
@@ -0,0 +1,573 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing ResourceHealthMetadataOperations operations. */
export class ResourceHealthMetadataOperationsImpl {
/**
* Initialize a new instance of the class ResourceHealthMetadataOperations class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* Description for List all ResourceHealthMetadata for all sites in the subscription.
* @param options The options parameters.
*/
list(options) {
const iter = this.listPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(options, settings);
}
};
}
listPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listPagingAll(options) {
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, options) {
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
}
};
}
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listByResourceGroupPagingAll(resourceGroupName, options) {
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* 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, name, options) {
const iter = this.listBySitePagingAll(resourceGroupName, name, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBySitePagingPage(resourceGroupName, name, options, settings);
}
};
}
listBySitePagingPage(resourceGroupName, name, options, settings) {
return __asyncGenerator(this, arguments, function* listBySitePagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listBySite(resourceGroupName, name, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listBySiteNext(resourceGroupName, name, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listBySitePagingAll(resourceGroupName, name, options) {
return __asyncGenerator(this, arguments, function* listBySitePagingAll_1() {
var e_3, _a;
try {
for (var _b = __asyncValues(this.listBySitePagingPage(resourceGroupName, name, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_3_1) { e_3 = { error: e_3_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_3) throw e_3.error; }
}
});
}
/**
* 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, name, slot, options) {
const iter = this.listBySiteSlotPagingAll(resourceGroupName, name, slot, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBySiteSlotPagingPage(resourceGroupName, name, slot, options, settings);
}
};
}
listBySiteSlotPagingPage(resourceGroupName, name, slot, options, settings) {
return __asyncGenerator(this, arguments, function* listBySiteSlotPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listBySiteSlot(resourceGroupName, name, slot, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listBySiteSlotNext(resourceGroupName, name, slot, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listBySiteSlotPagingAll(resourceGroupName, name, slot, options) {
return __asyncGenerator(this, arguments, function* listBySiteSlotPagingAll_1() {
var e_4, _a;
try {
for (var _b = __asyncValues(this.listBySiteSlotPagingPage(resourceGroupName, name, slot, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_4_1) { e_4 = { error: e_4_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_4) throw e_4.error; }
}
});
}
/**
* Description for List all ResourceHealthMetadata for all sites in the subscription.
* @param options The options parameters.
*/
_list(options) {
return this.client.sendOperationRequest({ options }, listOperationSpec);
}
/**
* 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, options) {
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
}
/**
* 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, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, options }, listBySiteOperationSpec);
}
/**
* 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, name, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getBySiteOperationSpec);
}
/**
* 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, name, slot, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, slot, options }, listBySiteSlotOperationSpec);
}
/**
* 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, name, slot, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, slot, options }, getBySiteSlotOperationSpec);
}
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
}
/**
* ListByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
}
/**
* ListBySiteNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of web app.
* @param nextLink The nextLink from the previous successful call to the ListBySite method.
* @param options The options parameters.
*/
_listBySiteNext(resourceGroupName, name, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, nextLink, options }, listBySiteNextOperationSpec);
}
/**
* ListBySiteSlotNext
* @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 nextLink The nextLink from the previous successful call to the ListBySiteSlot method.
* @param options The options parameters.
*/
_listBySiteSlotNext(resourceGroupName, name, slot, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, slot, nextLink, options }, listBySiteSlotNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ResourceHealthMetadataCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const listByResourceGroupOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ResourceHealthMetadataCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName
],
headerParameters: [Parameters.accept],
serializer
};
const listBySiteOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ResourceHealthMetadataCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept],
serializer
};
const getBySiteOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ResourceHealthMetadata
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name
],
headerParameters: [Parameters.accept],
serializer
};
const listBySiteSlotOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ResourceHealthMetadataCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.slot
],
headerParameters: [Parameters.accept],
serializer
};
const getBySiteSlotOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ResourceHealthMetadata
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.slot
],
headerParameters: [Parameters.accept],
serializer
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ResourceHealthMetadataCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listByResourceGroupNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ResourceHealthMetadataCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listBySiteNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ResourceHealthMetadataCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listBySiteSlotNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ResourceHealthMetadataCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.nextLink,
Parameters.slot
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=resourceHealthMetadataOperations.js.map
@@ -0,0 +1 @@
{"version":3,"file":"resourceHealthMetadataOperations.js","sourceRoot":"","sources":["../../../src/operations/resourceHealthMetadataOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA0BnD,4CAA4C;AAC5C,oEAAoE;AACpE,MAAM,OAAO,oCAAoC;IAI/C;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAkD,EAClD,QAAuB;;YAEvB,IAAI,MAA0C,CAAC;YAC/C,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE;gBACtB,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;gBACnC,IAAI,I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iB,EACjB,OAAO,CACR,CAAA,CAAC;gBACF,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,oBAAM,IAAI,CAAA,CAAC;aACZ;QACH,CAAC;KAAA;IAEc,mBAAmB,CAChC,iBAAyB,EACzB,IAAY,EACZ,OAAwD;;;;gBAExD,KAAyB,IAAA,KAAA,cAAA,IAAI,CAAC,oBAAoB,CAChD,iBAAiB,EACjB,IAAI,EACJ,OAAO,CACR,CAAA,IAAA;oBAJU,MAAM,IAAI,WAAA,CAAA;oBAKnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;iBACb;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;;;;OAOG;IACI,cAAc,CACnB,iBAAyB,EACzB,IAAY,EACZ,IAAY,EACZ,OAA4D;QAE5D,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CACvC,iBAAiB,EACjB,IAAI,EACJ,IAAI,EACJ,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAMLine truncated
@@ -0,0 +1,871 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { StaticSites } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import { StaticSiteARMResource, StaticSitesListOptionalParams, StaticSitesGetStaticSitesByResourceGroupOptionalParams, StaticSiteUserARMResource, StaticSitesListStaticSiteUsersOptionalParams, StaticSiteBuildARMResource, StaticSitesGetStaticSiteBuildsOptionalParams, StaticSiteFunctionOverviewARMResource, StaticSitesListStaticSiteBuildFunctionsOptionalParams, StaticSiteUserProvidedFunctionAppARMResource, StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams, StaticSiteCustomDomainOverviewARMResource, StaticSitesListStaticSiteCustomDomainsOptionalParams, StaticSitesListStaticSiteFunctionsOptionalParams, RemotePrivateEndpointConnectionARMResource, StaticSitesGetPrivateEndpointConnectionListOptionalParams, StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams, StaticSiteLinkedBackendARMResource, StaticSitesGetLinkedBackendsOptionalParams, StaticSitesGetLinkedBackendsForBuildOptionalParams, StaticSitesWorkflowPreviewRequest, StaticSitesPreviewWorkflowOptionalParams, StaticSitesPreviewWorkflowResponse, StaticSitesGetStaticSiteOptionalParams, StaticSitesGetStaticSiteResponse, StaticSitesCreateOrUpdateStaticSiteOptionalParams, StaticSitesCreateOrUpdateStaticSiteResponse, StaticSitesDeleteStaticSiteOptionalParams, StaticSitePatchResource, StaticSitesUpdateStaticSiteOptionalParams, StaticSitesUpdateStaticSiteResponse, StaticSitesDeleteStaticSiteUserOptionalParams, StaticSitesUpdateStaticSiteUserOptionalParams, StaticSitesUpdateStaticSiteUserResponse, StaticSitesGetStaticSiteBuildOptionalParams, StaticSitesGetStaticSiteBuildResponse, StaticSitesDeleteStaticSiteBuildOptionalParams, StringDictionary, StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams, StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsResponse, StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams, StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse, StaticSitesListStaticSiteBuildAppSettingsOptionalParams, StaticSitesListStaticSiteBuildAppSettingsResponse, StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams, StaticSitesListStaticSiteBuildFunctionAppSettingsResponse, StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams, StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildResponse, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse, StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams, StaticSiteZipDeploymentARMResource, StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams, StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams, StaticSitesCreateOrUpdateStaticSiteAppSettingsResponse, StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams, StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsResponse, StaticSiteUserInvitationRequestResource, StaticSitesCreateUserRolesInvitationLinkOptionalParams, StaticSitesCreateUserRolesInvitationLinkResponse, StaticSitesGetStaticSiteCustomDomainOptionalParams, StaticSitesGetStaticSiteCustomDomainResponse, StaticSiteCustomDomainRequestPropertiesARMResource, StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams, StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse, StaticSitesDeleteStaticSiteCustomDomainOptionalParams, StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams, StaticSitesDetachStaticSiteOptionalParams, StaticSitesListStaticSiteAppSettingsOptionalParams, StaticSitesListStaticSiteAppSettingsResponse, StaticSitesListStaticSiteConfiguredRolesOptionalParams, StaticSitesListStaticSiteConfiguredRolesResponse, StaticSitesListStaticSiteFunctionAppSettingsOptionalParams, StaticSitesListStaticSiteFunctionAppSettingsResponse, StaticSitesListStaticSiteSecretsOptionalParams, StaticSitesListStaticSiteSecretsResponse, StaticSitesGetPrivateEndpointConnectionOptionalParams, StaticSitesGetPrivateEndpointConnectionResponse, PrivateLinkConnectionApprovalRequestResource, StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams, StaticSitesApproveOrRejectPrivateEndpointConnectionResponse, StaticSitesDeletePrivateEndpointConnectionOptionalParams, StaticSitesDeletePrivateEndpointConnectionResponse, StaticSitesGetPrivateLinkResourcesOptionalParams, StaticSitesGetPrivateLinkResourcesResponse, StaticSiteResetPropertiesARMResource, StaticSitesResetStaticSiteApiKeyOptionalParams, StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams, StaticSitesGetUserProvidedFunctionAppForStaticSiteResponse, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse, StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams, StaticSitesCreateZipDeploymentForStaticSiteOptionalParams, StaticSitesValidateBackendOptionalParams, StaticSitesValidateBackendForBuildOptionalParams, StaticSitesGetLinkedBackendOptionalParams, StaticSitesGetLinkedBackendResponse, StaticSitesLinkBLine truncated
/** Class containing StaticSites operations. */
export declare class StaticSitesImpl implements StaticSites {
private readonly client;
/**
* Initialize a new instance of the class StaticSites class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for Get all Static Sites for a subscription.
* @param options The options parameters.
*/
list(options?: StaticSitesListOptionalParams): PagedAsyncIterableIterator<StaticSiteARMResource>;
private listPagingPage;
private listPagingAll;
/**
* Description for Gets all static sites in the specified resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
listStaticSitesByResourceGroup(resourceGroupName: string, options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams): PagedAsyncIterableIterator<StaticSiteARMResource>;
private getStaticSitesByResourceGroupPagingPage;
private getStaticSitesByResourceGroupPagingAll;
/**
* Description for Gets the list of users of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param authprovider The auth provider for the users.
* @param options The options parameters.
*/
listStaticSiteUsers(resourceGroupName: string, name: string, authprovider: string, options?: StaticSitesListStaticSiteUsersOptionalParams): PagedAsyncIterableIterator<StaticSiteUserARMResource>;
private listStaticSiteUsersPagingPage;
private listStaticSiteUsersPagingAll;
/**
* Description for Gets all static site builds for a particular static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteBuilds(resourceGroupName: string, name: string, options?: StaticSitesGetStaticSiteBuildsOptionalParams): PagedAsyncIterableIterator<StaticSiteBuildARMResource>;
private getStaticSiteBuildsPagingPage;
private getStaticSiteBuildsPagingAll;
/**
* Description for Gets the functions of a particular static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
listStaticSiteBuildFunctions(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams): PagedAsyncIterableIterator<StaticSiteFunctionOverviewARMResource>;
private listStaticSiteBuildFunctionsPagingPage;
private listStaticSiteBuildFunctionsPagingAll;
/**
* Description for Gets the details of the user provided function apps registered with a static site
* build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
listUserProvidedFunctionAppsForStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams): PagedAsyncIterableIterator<StaticSiteUserProvidedFunctionAppARMResource>;
private getUserProvidedFunctionAppsForStaticSiteBuildPagingPage;
private getUserProvidedFunctionAppsForStaticSiteBuildPagingAll;
/**
* Description for Gets all static site custom domains for a particular static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site resource to search in.
* @param options The options parameters.
*/
listStaticSiteCustomDomains(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteCustomDomainsOptionalParams): PagedAsyncIterableIterator<StaticSiteCustomDomainOverviewARMResource>;
private listStaticSiteCustomDomainsPagingPage;
private listStaticSiteCustomDomainsPagingAll;
/**
* Description for Gets the functions of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteFunctions(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteFunctionsOptionalParams): PagedAsyncIterableIterator<StaticSiteFunctionOverviewARMResource>;
private listStaticSiteFunctionsPagingPage;
private listStaticSiteFunctionsPagingAll;
/**
* Description for Gets the list of private endpoint connections associated with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listPrivateEndpointConnectionList(resourceGroupName: string, name: string, options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams): PagedAsyncIterableIterator<RemotePrivateEndpointConnectionARMResource>;
private getPrivateEndpointConnectionListPagingPage;
private getPrivateEndpointConnectionListPagingAll;
/**
* Description for Gets the details of the user provided function apps registered with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listUserProvidedFunctionAppsForStaticSite(resourceGroupName: string, name: string, options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams): PagedAsyncIterableIterator<StaticSiteUserProvidedFunctionAppARMResource>;
private getUserProvidedFunctionAppsForStaticSitePagingPage;
private getUserProvidedFunctionAppsForStaticSitePagingAll;
/**
* Returns details of all backends linked to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param options The options parameters.
*/
listLinkedBackends(resourceGroupName: string, name: string, options?: StaticSitesGetLinkedBackendsOptionalParams): PagedAsyncIterableIterator<StaticSiteLinkedBackendARMResource>;
private getLinkedBackendsPagingPage;
private getLinkedBackendsPagingAll;
/**
* Returns details of all backends linked to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param options The options parameters.
*/
listLinkedBackendsForBuild(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesGetLinkedBackendsForBuildOptionalParams): PagedAsyncIterableIterator<StaticSiteLinkedBackendARMResource>;
private getLinkedBackendsForBuildPagingPage;
private getLinkedBackendsForBuildPagingAll;
/**
* Description for Generates a preview workflow file for the static site
* @param location Location where you plan to create the static site.
* @param staticSitesWorkflowPreviewRequest A JSON representation of the
* StaticSitesWorkflowPreviewRequest properties. See example.
* @param options The options parameters.
*/
previewWorkflow(location: string, staticSitesWorkflowPreviewRequest: StaticSitesWorkflowPreviewRequest, options?: StaticSitesPreviewWorkflowOptionalParams): Promise<StaticSitesPreviewWorkflowResponse>;
/**
* Description for Get all Static Sites for a subscription.
* @param options The options parameters.
*/
private _list;
/**
* Description for Gets all static sites in the specified resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
private _getStaticSitesByResourceGroup;
/**
* Description for Gets the details of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
getStaticSite(resourceGroupName: string, name: string, options?: StaticSitesGetStaticSiteOptionalParams): Promise<StaticSitesGetStaticSiteResponse>;
/**
* Description for Creates a new static site in an existing resource group, or updates an existing
* static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to create or update.
* @param staticSiteEnvelope A JSON representation of the staticsite properties. See example.
* @param options The options parameters.
*/
beginCreateOrUpdateStaticSite(resourceGroupName: string, name: string, staticSiteEnvelope: StaticSiteARMResource, options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams): Promise<PollerLike<PollOperationState<StaticSitesCreateOrUpdateStaticSiteResponse>, StaticSitesCreateOrUpdateStaticSiteResponse>>;
/**
* Description for Creates a new static site in an existing resource group, or updates an existing
* static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to create or update.
* @param staticSiteEnvelope A JSON representation of the staticsite properties. See example.
* @param options The options parameters.
*/
beginCreateOrUpdateStaticSiteAndWait(resourceGroupName: string, name: string, staticSiteEnvelope: StaticSiteARMResource, options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams): Promise<StaticSitesCreateOrUpdateStaticSiteResponse>;
/**
* Description for Deletes a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to delete.
* @param options The options parameters.
*/
beginDeleteStaticSite(resourceGroupName: string, name: string, options?: StaticSitesDeleteStaticSiteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Description for Deletes a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to delete.
* @param options The options parameters.
*/
beginDeleteStaticSiteAndWait(resourceGroupName: string, name: string, options?: StaticSitesDeleteStaticSiteOptionalParams): Promise<void>;
/**
* Description for Creates a new static site in an existing resource group, or updates an existing
* static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to create or update.
* @param staticSiteEnvelope A JSON representation of the staticsite properties. See example.
* @param options The options parameters.
*/
updateStaticSite(resourceGroupName: string, name: string, staticSiteEnvelope: StaticSitePatchResource, options?: StaticSitesUpdateStaticSiteOptionalParams): Promise<StaticSitesUpdateStaticSiteResponse>;
/**
* Description for Gets the list of users of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param authprovider The auth provider for the users.
* @param options The options parameters.
*/
private _listStaticSiteUsers;
/**
* Description for Deletes the user entry from the static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the staticsite.
* @param authprovider The auth provider for this user.
* @param userid The user id of the user.
* @param options The options parameters.
*/
deleteStaticSiteUser(resourceGroupName: string, name: string, authprovider: string, userid: string, options?: StaticSitesDeleteStaticSiteUserOptionalParams): Promise<void>;
/**
* Description for Updates a user entry with the listed roles
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param authprovider The auth provider for this user.
* @param userid The user id of the user.
* @param staticSiteUserEnvelope A JSON representation of the StaticSiteUser properties. See example.
* @param options The options parameters.
*/
updateStaticSiteUser(resourceGroupName: string, name: string, authprovider: string, userid: string, staticSiteUserEnvelope: StaticSiteUserARMResource, options?: StaticSitesUpdateStaticSiteUserOptionalParams): Promise<StaticSitesUpdateStaticSiteUserResponse>;
/**
* Description for Gets all static site builds for a particular static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
private _getStaticSiteBuilds;
/**
* Description for Gets the details of a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
getStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesGetStaticSiteBuildOptionalParams): Promise<StaticSitesGetStaticSiteBuildResponse>;
/**
* Description for Deletes a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
beginDeleteStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesDeleteStaticSiteBuildOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Description for Deletes a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
beginDeleteStaticSiteBuildAndWait(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesDeleteStaticSiteBuildOptionalParams): Promise<void>;
/**
* Description for Creates or updates the app settings of a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param appSettings The dictionary containing the static site app settings to update.
* @param options The options parameters.
*/
createOrUpdateStaticSiteBuildAppSettings(resourceGroupName: string, name: string, environmentName: string, appSettings: StringDictionary, options?: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams): Promise<StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsResponse>;
/**
* Description for Creates or updates the function app settings of a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param appSettings The dictionary containing the static site function app settings to update.
* @param options The options parameters.
*/
createOrUpdateStaticSiteBuildFunctionAppSettings(resourceGroupName: string, name: string, environmentName: string, appSettings: StringDictionary, options?: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams): Promise<StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse>;
/**
* Description for Gets the functions of a particular static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
private _listStaticSiteBuildFunctions;
/**
* Description for Gets the application settings of a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
listStaticSiteBuildAppSettings(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesListStaticSiteBuildAppSettingsOptionalParams): Promise<StaticSitesListStaticSiteBuildAppSettingsResponse>;
/**
* Description for Gets the application settings of a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
listStaticSiteBuildFunctionAppSettings(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams): Promise<StaticSitesListStaticSiteBuildFunctionAppSettingsResponse>;
/**
* Description for Gets the details of the user provided function apps registered with a static site
* build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
private _getUserProvidedFunctionAppsForStaticSiteBuild;
/**
* Description for Gets the details of the user provided function app registered with a static site
* build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param functionAppName Name of the function app registered with the static site build.
* @param options The options parameters.
*/
getUserProvidedFunctionAppForStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, functionAppName: string, options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams): Promise<StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildResponse>;
/**
* Description for Register a user provided function app with a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param functionAppName Name of the function app to register with the static site build.
* @param staticSiteUserProvidedFunctionEnvelope A JSON representation of the user provided function
* app properties. See example.
* @param options The options parameters.
*/
beginRegisterUserProvidedFunctionAppWithStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams): Promise<PollerLike<PollOperationState<StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse>, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse>>;
/**
* Description for Register a user provided function app with a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param functionAppName Name of the function app to register with the static site build.
* @param staticSiteUserProvidedFunctionEnvelope A JSON representation of the user provided function
* app properties. See example.
* @param options The options parameters.
*/
beginRegisterUserProvidedFunctionAppWithStaticSiteBuildAndWait(resourceGroupName: string, name: string, environmentName: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams): Promise<StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse>;
/**
* Description for Detach the user provided function app from the static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param functionAppName Name of the function app registered with the static site build.
* @param options The options parameters.
*/
detachUserProvidedFunctionAppFromStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, functionAppName: string, options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams): Promise<void>;
/**
* Description for Deploys zipped content to a specific environment of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName Name of the environment.
* @param staticSiteZipDeploymentEnvelope A JSON representation of the StaticSiteZipDeployment
* properties. See example.
* @param options The options parameters.
*/
beginCreateZipDeploymentForStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Description for Deploys zipped content to a specific environment of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName Name of the environment.
* @param staticSiteZipDeploymentEnvelope A JSON representation of the StaticSiteZipDeployment
* properties. See example.
* @param options The options parameters.
*/
beginCreateZipDeploymentForStaticSiteBuildAndWait(resourceGroupName: string, name: string, environmentName: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams): Promise<void>;
/**
* Description for Creates or updates the app settings of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param appSettings The dictionary containing the static site app settings to update.
* @param options The options parameters.
*/
createOrUpdateStaticSiteAppSettings(resourceGroupName: string, name: string, appSettings: StringDictionary, options?: StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams): Promise<StaticSitesCreateOrUpdateStaticSiteAppSettingsResponse>;
/**
* Description for Creates or updates the function app settings of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param appSettings The dictionary containing the static site function app settings to update.
* @param options The options parameters.
*/
createOrUpdateStaticSiteFunctionAppSettings(resourceGroupName: string, name: string, appSettings: StringDictionary, options?: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams): Promise<StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsResponse>;
/**
* Description for Creates an invitation link for a user with the role
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param staticSiteUserRolesInvitationEnvelope Static sites user roles invitation resource.
* @param options The options parameters.
*/
createUserRolesInvitationLink(resourceGroupName: string, name: string, staticSiteUserRolesInvitationEnvelope: StaticSiteUserInvitationRequestResource, options?: StaticSitesCreateUserRolesInvitationLinkOptionalParams): Promise<StaticSitesCreateUserRolesInvitationLinkResponse>;
/**
* Description for Gets all static site custom domains for a particular static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site resource to search in.
* @param options The options parameters.
*/
private _listStaticSiteCustomDomains;
/**
* Description for Gets an existing custom domain for a particular static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site resource to search in.
* @param domainName The custom domain name.
* @param options The options parameters.
*/
getStaticSiteCustomDomain(resourceGroupName: string, name: string, domainName: string, options?: StaticSitesGetStaticSiteCustomDomainOptionalParams): Promise<StaticSitesGetStaticSiteCustomDomainResponse>;
/**
* Description for Creates a new static site custom domain in an existing resource group and static
* site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to create.
* @param staticSiteCustomDomainRequestPropertiesEnvelope A JSON representation of the static site
* custom domain request properties. See example.
* @param options The options parameters.
*/
beginCreateOrUpdateStaticSiteCustomDomain(resourceGroupName: string, name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams): Promise<PollerLike<PollOperationState<StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse>, StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse>>;
/**
* Description for Creates a new static site custom domain in an existing resource group and static
* site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to create.
* @param staticSiteCustomDomainRequestPropertiesEnvelope A JSON representation of the static site
* custom domain request properties. See example.
* @param options The options parameters.
*/
beginCreateOrUpdateStaticSiteCustomDomainAndWait(resourceGroupName: string, name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams): Promise<StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse>;
/**
* Description for Deletes a custom domain.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to delete.
* @param options The options parameters.
*/
beginDeleteStaticSiteCustomDomain(resourceGroupName: string, name: string, domainName: string, options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Description for Deletes a custom domain.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to delete.
* @param options The options parameters.
*/
beginDeleteStaticSiteCustomDomainAndWait(resourceGroupName: string, name: string, domainName: string, options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams): Promise<void>;
/**
* Description for Validates a particular custom domain can be added to a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to validate.
* @param staticSiteCustomDomainRequestPropertiesEnvelope A JSON representation of the static site
* custom domain request properties. See example.
* @param options The options parameters.
*/
beginValidateCustomDomainCanBeAddedToStaticSite(resourceGroupName: string, name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Description for Validates a particular custom domain can be added to a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to validate.
* @param staticSiteCustomDomainRequestPropertiesEnvelope A JSON representation of the static site
* custom domain request properties. See example.
* @param options The options parameters.
*/
beginValidateCustomDomainCanBeAddedToStaticSiteAndWait(resourceGroupName: string, name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams): Promise<void>;
/**
* Description for Detaches a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to detach.
* @param options The options parameters.
*/
beginDetachStaticSite(resourceGroupName: string, name: string, options?: StaticSitesDetachStaticSiteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Description for Detaches a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to detach.
* @param options The options parameters.
*/
beginDetachStaticSiteAndWait(resourceGroupName: string, name: string, options?: StaticSitesDetachStaticSiteOptionalParams): Promise<void>;
/**
* Description for Gets the functions of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
private _listStaticSiteFunctions;
/**
* Description for Gets the application settings of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteAppSettings(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteAppSettingsOptionalParams): Promise<StaticSitesListStaticSiteAppSettingsResponse>;
/**
* Description for Lists the roles configured for the static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteConfiguredRoles(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteConfiguredRolesOptionalParams): Promise<StaticSitesListStaticSiteConfiguredRolesResponse>;
/**
* Description for Gets the application settings of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteFunctionAppSettings(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteFunctionAppSettingsOptionalParams): Promise<StaticSitesListStaticSiteFunctionAppSettingsResponse>;
/**
* Description for Lists the secrets for an existing static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteSecrets(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteSecretsOptionalParams): Promise<StaticSitesListStaticSiteSecretsResponse>;
/**
* Description for Gets the list of private endpoint connections associated with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
private _getPrivateEndpointConnectionList;
/**
* Description for Gets a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param options The options parameters.
*/
getPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: StaticSitesGetPrivateEndpointConnectionOptionalParams): Promise<StaticSitesGetPrivateEndpointConnectionResponse>;
/**
* 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 static site.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param privateEndpointWrapper Request body.
* @param options The options parameters.
*/
beginApproveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise<PollerLike<PollOperationState<StaticSitesApproveOrRejectPrivateEndpointConnectionResponse>, StaticSitesApproveOrRejectPrivateEndpointConnectionResponse>>;
/**
* 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 static site.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param privateEndpointWrapper Request body.
* @param options The options parameters.
*/
beginApproveOrRejectPrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise<StaticSitesApproveOrRejectPrivateEndpointConnectionResponse>;
/**
* Description for Deletes a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param options The options parameters.
*/
beginDeletePrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams): Promise<PollerLike<PollOperationState<StaticSitesDeletePrivateEndpointConnectionResponse>, StaticSitesDeletePrivateEndpointConnectionResponse>>;
/**
* Description for Deletes a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param options The options parameters.
*/
beginDeletePrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams): Promise<StaticSitesDeletePrivateEndpointConnectionResponse>;
/**
* Description for Gets the private link resources
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the site.
* @param options The options parameters.
*/
getPrivateLinkResources(resourceGroupName: string, name: string, options?: StaticSitesGetPrivateLinkResourcesOptionalParams): Promise<StaticSitesGetPrivateLinkResourcesResponse>;
/**
* Description for Resets the api key for an existing static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param resetPropertiesEnvelope Static Site Reset Properties ARM resource.
* @param options The options parameters.
*/
resetStaticSiteApiKey(resourceGroupName: string, name: string, resetPropertiesEnvelope: StaticSiteResetPropertiesARMResource, options?: StaticSitesResetStaticSiteApiKeyOptionalParams): Promise<void>;
/**
* Description for Gets the details of the user provided function apps registered with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
private _getUserProvidedFunctionAppsForStaticSite;
/**
* Description for Gets the details of the user provided function app registered with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param functionAppName Name of the function app registered with the static site.
* @param options The options parameters.
*/
getUserProvidedFunctionAppForStaticSite(resourceGroupName: string, name: string, functionAppName: string, options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams): Promise<StaticSitesGetUserProvidedFunctionAppForStaticSiteResponse>;
/**
* Description for Register a user provided function app with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param functionAppName Name of the function app to register with the static site.
* @param staticSiteUserProvidedFunctionEnvelope A JSON representation of the user provided function
* app properties. See example.
* @param options The options parameters.
*/
beginRegisterUserProvidedFunctionAppWithStaticSite(resourceGroupName: string, name: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams): Promise<PollerLike<PollOperationState<StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse>, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse>>;
/**
* Description for Register a user provided function app with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param functionAppName Name of the function app to register with the static site.
* @param staticSiteUserProvidedFunctionEnvelope A JSON representation of the user provided function
* app properties. See example.
* @param options The options parameters.
*/
beginRegisterUserProvidedFunctionAppWithStaticSiteAndWait(resourceGroupName: string, name: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams): Promise<StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse>;
/**
* Description for Detach the user provided function app from the static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param functionAppName Name of the function app registered with the static site.
* @param options The options parameters.
*/
detachUserProvidedFunctionAppFromStaticSite(resourceGroupName: string, name: string, functionAppName: string, options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams): Promise<void>;
/**
* Description for Deploys zipped content to a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param staticSiteZipDeploymentEnvelope A JSON representation of the StaticSiteZipDeployment
* properties. See example.
* @param options The options parameters.
*/
beginCreateZipDeploymentForStaticSite(resourceGroupName: string, name: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Description for Deploys zipped content to a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param staticSiteZipDeploymentEnvelope A JSON representation of the StaticSiteZipDeployment
* properties. See example.
* @param options The options parameters.
*/
beginCreateZipDeploymentForStaticSiteAndWait(resourceGroupName: string, name: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams): Promise<void>;
/**
* Validates that a backend can be linked to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginValidateBackend(resourceGroupName: string, name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesValidateBackendOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Validates that a backend can be linked to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginValidateBackendAndWait(resourceGroupName: string, name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesValidateBackendOptionalParams): Promise<void>;
/**
* Validates that a backend can be linked to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginValidateBackendForBuild(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesValidateBackendForBuildOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Validates that a backend can be linked to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginValidateBackendForBuildAndWait(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesValidateBackendForBuildOptionalParams): Promise<void>;
/**
* Returns details of all backends linked to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param options The options parameters.
*/
private _getLinkedBackends;
/**
* Returns details of all backends linked to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param options The options parameters.
*/
private _getLinkedBackendsForBuild;
/**
* Returns the details of a linked backend linked to a static site by name
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param options The options parameters.
*/
getLinkedBackend(resourceGroupName: string, name: string, linkedBackendName: string, options?: StaticSitesGetLinkedBackendOptionalParams): Promise<StaticSitesGetLinkedBackendResponse>;
/**
* Link backend to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the backend to link to the static site
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginLinkBackend(resourceGroupName: string, name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesLinkBackendOptionalParams): Promise<PollerLike<PollOperationState<StaticSitesLinkBackendResponse>, StaticSitesLinkBackendResponse>>;
/**
* Link backend to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the backend to link to the static site
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginLinkBackendAndWait(resourceGroupName: string, name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesLinkBackendOptionalParams): Promise<StaticSitesLinkBackendResponse>;
/**
* Unlink a backend from a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the backend linked to the static site
* @param options The options parameters.
*/
unlinkBackend(resourceGroupName: string, name: string, linkedBackendName: string, options?: StaticSitesUnlinkBackendOptionalParams): Promise<void>;
/**
* Returns the details of a linked backend linked to a static site build by name
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param options The options parameters.
*/
getLinkedBackendForBuild(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, options?: StaticSitesGetLinkedBackendForBuildOptionalParams): Promise<StaticSitesGetLinkedBackendForBuildResponse>;
/**
* Link backend to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the backend to link to the static site
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginLinkBackendToBuild(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesLinkBackendToBuildOptionalParams): Promise<PollerLike<PollOperationState<StaticSitesLinkBackendToBuildResponse>, StaticSitesLinkBackendToBuildResponse>>;
/**
* Link backend to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the backend to link to the static site
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginLinkBackendToBuildAndWait(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesLinkBackendToBuildOptionalParams): Promise<StaticSitesLinkBackendToBuildResponse>;
/**
* Unlink a backend from a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the backend linked to the static site
* @param options The options parameters.
*/
unlinkBackendFromBuild(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, options?: StaticSitesUnlinkBackendFromBuildOptionalParams): Promise<void>;
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* GetStaticSitesByResourceGroupNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param nextLink The nextLink from the previous successful call to the GetStaticSitesByResourceGroup
* method.
* @param options The options parameters.
*/
private _getStaticSitesByResourceGroupNext;
/**
* ListStaticSiteUsersNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param authprovider The auth provider for the users.
* @param nextLink The nextLink from the previous successful call to the ListStaticSiteUsers method.
* @param options The options parameters.
*/
private _listStaticSiteUsersNext;
/**
* GetStaticSiteBuildsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param nextLink The nextLink from the previous successful call to the GetStaticSiteBuilds method.
* @param options The options parameters.
*/
private _getStaticSiteBuildsNext;
/**
* ListStaticSiteBuildFunctionsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param nextLink The nextLink from the previous successful call to the ListStaticSiteBuildFunctions
* method.
* @param options The options parameters.
*/
private _listStaticSiteBuildFunctionsNext;
/**
* GetUserProvidedFunctionAppsForStaticSiteBuildNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param nextLink The nextLink from the previous successful call to the
* GetUserProvidedFunctionAppsForStaticSiteBuild method.
* @param options The options parameters.
*/
private _getUserProvidedFunctionAppsForStaticSiteBuildNext;
/**
* ListStaticSiteCustomDomainsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site resource to search in.
* @param nextLink The nextLink from the previous successful call to the ListStaticSiteCustomDomains
* method.
* @param options The options parameters.
*/
private _listStaticSiteCustomDomainsNext;
/**
* ListStaticSiteFunctionsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param nextLink The nextLink from the previous successful call to the ListStaticSiteFunctions
* method.
* @param options The options parameters.
*/
private _listStaticSiteFunctionsNext;
/**
* GetPrivateEndpointConnectionListNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param nextLink The nextLink from the previous successful call to the
* GetPrivateEndpointConnectionList method.
* @param options The options parameters.
*/
private _getPrivateEndpointConnectionListNext;
/**
* GetUserProvidedFunctionAppsForStaticSiteNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param nextLink The nextLink from the previous successful call to the
* GetUserProvidedFunctionAppsForStaticSite method.
* @param options The options parameters.
*/
private _getUserProvidedFunctionAppsForStaticSiteNext;
/**
* GetLinkedBackendsNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param nextLink The nextLink from the previous successful call to the GetLinkedBackends method.
* @param options The options parameters.
*/
private _getLinkedBackendsNext;
/**
* GetLinkedBackendsForBuildNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param nextLink The nextLink from the previous successful call to the GetLinkedBackendsForBuild
* method.
* @param options The options parameters.
*/
private _getLinkedBackendsForBuildNext;
}
//# sourceMappingURL=staticSites.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"staticSites.d.ts","sourceRoot":"","sources":["../../../src/operations/staticSites.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAA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,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAqDtD;;;;;OAKG;IACG,4BAA4B,CAChC,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;IAShB;;;;;;;OAOG;IACH,gBAAgB,CACd,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,kBAAkB,EAAE,uBAAuB,EAC3C,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;IAY5B;;;;;;;OAOG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,EACd,OAAO,CAACLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"staticSites.js","sourceRoot":"","sources":["../../../src/operations/staticSites.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAiJrC,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAuC;QAEvC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAA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AAI,WAAA,CAAA;oBAMnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;iBACb;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;;OAKG;IACI,oBAAoB,CACzB,iBAAyB,EACzB,IAAY,EACZ,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAC5C,iBLine truncated
@@ -0,0 +1,62 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { TopLevelDomains } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { TopLevelDomain, TopLevelDomainsListOptionalParams, TldLegalAgreement, TopLevelDomainAgreementOption, TopLevelDomainsListAgreementsOptionalParams, TopLevelDomainsGetOptionalParams, TopLevelDomainsGetResponse } from "../models";
/** Class containing TopLevelDomains operations. */
export declare class TopLevelDomainsImpl implements TopLevelDomains {
private readonly client;
/**
* Initialize a new instance of the class TopLevelDomains class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Description for Get all top-level domains supported for registration.
* @param options The options parameters.
*/
list(options?: TopLevelDomainsListOptionalParams): PagedAsyncIterableIterator<TopLevelDomain>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listAgreementsPagingPage;
private listAgreementsPagingAll;
/**
* Description for Get all top-level domains supported for registration.
* @param options The options parameters.
*/
private _list;
/**
* 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>;
/**
* 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.
*/
private _listAgreements;
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListAgreementsNext
* @param name Name of the top-level domain.
* @param agreementOption Domain agreement options.
* @param nextLink The nextLink from the previous successful call to the ListAgreements method.
* @param options The options parameters.
*/
private _listAgreementsNext;
}
//# sourceMappingURL=topLevelDomains.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"topLevelDomains.d.ts","sourceRoot":"","sources":["../../../src/operations/topLevelDomains.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,cAAc,EAEd,iCAAiC,EAEjC,iBAAiB,EACjB,6BAA6B,EAE7B,2CAA2C,EAE3C,gCAAgC,EAChC,0BAA0B,EAG3B,MAAM,WAAW,CAAC;AAGnB,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,cAAc,CAAC;YAkB9B,cAAc;YAsBd,aAAa;IAQ5B;;;;;OAKG;IACI,cAAc,CACnB,IAAI,EAAE,MAAM,EACZ,eAAe,EAAE,6BAA6B,EAC9C,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,iBAAiB,CAAC;YAuBjC,wBAAwB;YA6BxB,uBAAuB;IActC;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,GAAG,CACD,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;OAKG;IACH,OAAO,CAAC,eAAe;IAWvB;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;CAW5B"}
@@ -0,0 +1,280 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing TopLevelDomains operations. */
export class TopLevelDomainsImpl {
/**
* Initialize a new instance of the class TopLevelDomains class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* Description for Get all top-level domains supported for registration.
* @param options The options parameters.
*/
list(options) {
const iter = this.listPagingAll(options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(options, settings);
}
};
}
listPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listPagingAll(options) {
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, agreementOption, options) {
const iter = this.listAgreementsPagingAll(name, agreementOption, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listAgreementsPagingPage(name, agreementOption, options, settings);
}
};
}
listAgreementsPagingPage(name, agreementOption, options, settings) {
return __asyncGenerator(this, arguments, function* listAgreementsPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listAgreements(name, agreementOption, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listAgreementsNext(name, agreementOption, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listAgreementsPagingAll(name, agreementOption, options) {
return __asyncGenerator(this, arguments, function* listAgreementsPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.listAgreementsPagingPage(name, agreementOption, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* Description for Get all top-level domains supported for registration.
* @param options The options parameters.
*/
_list(options) {
return this.client.sendOperationRequest({ options }, listOperationSpec);
}
/**
* Description for Get details of a top-level domain.
* @param name Name of the top-level domain.
* @param options The options parameters.
*/
get(name, options) {
return this.client.sendOperationRequest({ name, options }, getOperationSpec);
}
/**
* 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, agreementOption, options) {
return this.client.sendOperationRequest({ name, agreementOption, options }, listAgreementsOperationSpec);
}
/**
* ListNext
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(nextLink, options) {
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
}
/**
* ListAgreementsNext
* @param name Name of the top-level domain.
* @param agreementOption Domain agreement options.
* @param nextLink The nextLink from the previous successful call to the ListAgreements method.
* @param options The options parameters.
*/
_listAgreementsNext(name, agreementOption, nextLink, options) {
return this.client.sendOperationRequest({ name, agreementOption, nextLink, options }, listAgreementsNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.TopLevelDomainCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId],
headerParameters: [Parameters.accept],
serializer
};
const getOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.TopLevelDomain
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name],
headerParameters: [Parameters.accept],
serializer
};
const listAgreementsOperationSpec = {
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements",
httpMethod: "POST",
responses: {
200: {
bodyMapper: Mappers.TldLegalAgreementCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
requestBody: Parameters.agreementOption,
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.TopLevelDomainCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.nextLink
],
headerParameters: [Parameters.accept],
serializer
};
const listAgreementsNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.TldLegalAgreementCollection
},
default: {
bodyMapper: Mappers.DefaultErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.name,
Parameters.nextLink
],
headerParameters: [Parameters.accept, Parameters.contentType],
mediaType: "json",
serializer
};
//# sourceMappingURL=topLevelDomains.js.map
@@ -0,0 +1 @@
{"version":3,"file":"topLevelDomains.js","sourceRoot":"","sources":["../../../src/operations/topLevelDomains.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAkBnD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,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eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,IAAI,CAAC;IAC7E,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EACF,8GAA8G;IAChH,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAOLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"webApps.d.ts","sourceRoot":"","sources":["../../../src/operations/webApps.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIlD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,IAAI,EAEJ,yBAAyB,EAGzB,wCAAwC,EAExC,UAAU,EAEV,gCAAgC,EAEhC,sCAAsC,EAEtC,2DAA2D,EAE3D,kBAAkB,EAElB,uCAAuC,EAEvC,cAAc,EAEd,qDAAqD,EAGrD,8DAA8D,EAE9D,6BAA6B,EAE7B,kDAAkD,EAElD,gBAAgB,EAEhB,0CAA0C,EAE1C,mBAAmB,EAEnB,yDAAyD,EAEzD,UAAU,EAEV,oCAAoC,EAEpC,UAAU,EAEV,mDAAmD,EAEnD,gBAAgB,EAEhB,kCAAkC,EAElC,eAAe,EAEf,yCAAyC,EAEzC,qBAAqB,EAErB,4CAA4C,EAE5C,WAAW,EAEX,0CAA0C,EAE1C,iBAAiB,EAEjB,+CAA+C,EAE/C,iBAAiB,EAEjB,+CAA+C,EAG/C,oCAAoC,EAEpC,eAAe,EA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AAE;gBACxB,MAAM,GAAG,cAAM,IAAI,CAAC,gBAAgB,CAClC,iBAAiB,EACjB,IAAI,EACJ,iBAAiB,EACjB,OAAO,CACR,CAAA,CAAC;gBACF,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,oBAAM,IAAI,CAAA,CAAC;aACZ;QACH,CAAC;KAAA;IAEc,oBAAoB,CACjC,iBAAyB,EACzB,IAAY,EACZ,OAA0C;;;;gBAE1C,KAAyB,IAAA,KAAA,cAAA,IAAI,CAAC,qBAAqB,CACjD,iBAAiB,EACjB,IAAI,EACJ,OAAO,CACR,CAAA,IAAA;oBAJU,MAAM,IAAI,WAAA,CAAA;oBAKnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;iBACb;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;;;OAMG;IACI,sCAAsC,CAC3C,iBAAyB,EACzB,IAAY,EACZ,OAAqE;QAErE,MAAM,IAAI,GAAG,IAAI,CAAC,+CAA+C,CAC/D,iBAAiB,EACjB,IAAI,EACJ,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAALine truncated
@@ -0,0 +1,94 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { WorkflowRunActionRepetitions } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { WorkflowRunActionRepetitionDefinition, WorkflowRunActionRepetitionsListOptionalParams, ExpressionRoot, WorkflowRunActionRepetitionsListExpressionTracesOptionalParams, WorkflowRunActionRepetitionsGetOptionalParams, WorkflowRunActionRepetitionsGetResponse } from "../models";
/** Class containing WorkflowRunActionRepetitions operations. */
export declare class WorkflowRunActionRepetitionsImpl implements WorkflowRunActionRepetitions {
private readonly client;
/**
* Initialize a new instance of the class WorkflowRunActionRepetitions class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* 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>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listExpressionTracesPagingPage;
private listExpressionTracesPagingAll;
/**
* 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.
*/
private _list;
/**
* 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>;
/**
* 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.
*/
private _listExpressionTraces;
/**
* ListNext
* @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 nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListExpressionTracesNext
* @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 nextLink The nextLink from the previous successful call to the ListExpressionTraces method.
* @param options The options parameters.
*/
private _listExpressionTracesNext;
}
//# sourceMappingURL=workflowRunActionRepetitions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"workflowRunActionRepetitions.d.ts","sourceRoot":"","sources":["../../../src/operations/workflowRunActionRepetitions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAIvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,qCAAqC,EAErC,8CAA8C,EAE9C,cAAc,EAEd,8DAA8D,EAE9D,6CAA6C,EAC7C,uCAAuC,EAGxC,MAAM,WAAW,CAAC;AAGnB,gEAAgE;AAChE,qBAAa,gCACX,YAAW,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,qCAAqC,CAAC;YAiCrD,cAAc;YA0Cd,aAAa;IAoB5B;;;;;;;;;OASG;IACI,oBAAoB,CACzB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,8DAA8D,GACvE,0BAA0B,CAAC,cAAc,CAAC;YAmC9B,8BAA8B;YA6C9B,6BAA6B;IAsB5C;;;;;;;;OAQG;IACH,OAAO,CAAC,KAAK;IAcb;;;;;;;;;OASG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAenD;;;;;;;;;OASG;IACH,OAAO,CAAC,qBAAqB;IAuB7B;;;;;;;;;OASG;IACH,OAAO,CAAC,SAAS;IAuBjB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,yBAAyB;CAwBlC"}
@@ -0,0 +1,378 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing WorkflowRunActionRepetitions operations. */
export class WorkflowRunActionRepetitionsImpl {
/**
* Initialize a new instance of the class WorkflowRunActionRepetitions class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* 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, name, workflowName, runName, actionName, options) {
const iter = this.listPagingAll(resourceGroupName, name, workflowName, runName, actionName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, name, workflowName, runName, actionName, options, settings);
}
};
}
listPagingPage(resourceGroupName, name, workflowName, runName, actionName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, name, workflowName, runName, actionName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, name, workflowName, runName, actionName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listPagingAll(resourceGroupName, name, workflowName, runName, actionName, options) {
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, name, workflowName, runName, actionName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, name, workflowName, runName, actionName, repetitionName, options) {
const iter = this.listExpressionTracesPagingAll(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listExpressionTracesPagingPage(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options, settings);
}
};
}
listExpressionTracesPagingPage(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options, settings) {
return __asyncGenerator(this, arguments, function* listExpressionTracesPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listExpressionTraces(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options));
let page = result.inputs || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listExpressionTracesNext(resourceGroupName, name, workflowName, runName, actionName, repetitionName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.inputs || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listExpressionTracesPagingAll(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options) {
return __asyncGenerator(this, arguments, function* listExpressionTracesPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.listExpressionTracesPagingPage(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* 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, name, workflowName, runName, actionName, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, workflowName, runName, actionName, options }, listOperationSpec);
}
/**
* 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, name, workflowName, runName, actionName, repetitionName, options) {
return this.client.sendOperationRequest({
resourceGroupName,
name,
workflowName,
runName,
actionName,
repetitionName,
options
}, getOperationSpec);
}
/**
* 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, name, workflowName, runName, actionName, repetitionName, options) {
return this.client.sendOperationRequest({
resourceGroupName,
name,
workflowName,
runName,
actionName,
repetitionName,
options
}, listExpressionTracesOperationSpec);
}
/**
* ListNext
* @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 nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(resourceGroupName, name, workflowName, runName, actionName, nextLink, options) {
return this.client.sendOperationRequest({
resourceGroupName,
name,
workflowName,
runName,
actionName,
nextLink,
options
}, listNextOperationSpec);
}
/**
* ListExpressionTracesNext
* @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 nextLink The nextLink from the previous successful call to the ListExpressionTraces method.
* @param options The options parameters.
*/
_listExpressionTracesNext(resourceGroupName, name, workflowName, runName, actionName, repetitionName, nextLink, options) {
return this.client.sendOperationRequest({
resourceGroupName,
name,
workflowName,
runName,
actionName,
repetitionName,
nextLink,
options
}, listExpressionTracesNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName
],
headerParameters: [Parameters.accept],
serializer
};
const getOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WorkflowRunActionRepetitionDefinition
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName,
Parameters.repetitionName
],
headerParameters: [Parameters.accept],
serializer
};
const listExpressionTracesOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/listExpressionTraces",
httpMethod: "POST",
responses: {
200: {
bodyMapper: Mappers.ExpressionTraces
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName,
Parameters.repetitionName
],
headerParameters: [Parameters.accept],
serializer
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.nextLink,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName
],
headerParameters: [Parameters.accept],
serializer
};
const listExpressionTracesNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ExpressionTraces
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.nextLink,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName,
Parameters.repetitionName
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=workflowRunActionRepetitions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"workflowRunActionRepetitions.js","sourceRoot":"","sources":["../../../src/operations/workflowRunActionRepetitions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAiBnD,4CAA4C;AAC5C,gEAAgE;AAChE,MAAM,OAAO,gCAAgC;IAI3C;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAyB,EACzB,IAAY,EACZ,YAAoB,EACpB,OAA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AAO;YACP,UAAU;YACV,cAAc;YACd,OAAO;SACR,EACD,iCAAiC,CAClC,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACK,SAAS,CACf,iBAAyB,EACzB,IAAY,EACZ,YAAoB,EACpB,OAAe,EACf,UAAkB,EAClB,QAAgB,EAChB,OAA4D;QAE5D,OAAO,IAAI,CAAC,MAAM,CLine truncated
@@ -0,0 +1,62 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { WorkflowRunActionRepetitionsRequestHistories } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { RequestHistory, WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams, WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams, WorkflowRunActionRepetitionsRequestHistoriesGetResponse } from "../models";
/** Class containing WorkflowRunActionRepetitionsRequestHistories operations. */
export declare class WorkflowRunActionRepetitionsRequestHistoriesImpl implements WorkflowRunActionRepetitionsRequestHistories {
private readonly client;
/**
* Initialize a new instance of the class WorkflowRunActionRepetitionsRequestHistories class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* 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>;
private listPagingPage;
private listPagingAll;
/**
* 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.
*/
private _list;
/**
* 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>;
/**
* ListNext
* @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 nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
}
//# sourceMappingURL=workflowRunActionRepetitionsRequestHistories.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"workflowRunActionRepetitionsRequestHistories.d.ts","sourceRoot":"","sources":["../../../src/operations/workflowRunActionRepetitionsRequestHistories.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,4CAA4C,EAAE,MAAM,yBAAyB,CAAC;AAIvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,cAAc,EAEd,8DAA8D,EAE9D,6DAA6D,EAC7D,uDAAuD,EAExD,MAAM,WAAW,CAAC;AAGnB,gFAAgF;AAChF,qBAAa,gDACX,YAAW,4CAA4C;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;;;OASG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,8DAA8D,GACvE,0BAA0B,CAAC,cAAc,CAAC;YAmC9B,cAAc;YA6Cd,aAAa;IAsB5B;;;;;;;;;OASG;IACH,OAAO,CAAC,KAAK;IAuBb;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CAAC,uDAAuD,CAAC;IAgBnE;;;;;;;;;;OAUG;IACH,OAAO,CAAC,SAAS;CAwBlB"}
@@ -0,0 +1,235 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing WorkflowRunActionRepetitionsRequestHistories operations. */
export class WorkflowRunActionRepetitionsRequestHistoriesImpl {
/**
* Initialize a new instance of the class WorkflowRunActionRepetitionsRequestHistories class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* 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, name, workflowName, runName, actionName, repetitionName, options) {
const iter = this.listPagingAll(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options, settings);
}
};
}
listPagingPage(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, name, workflowName, runName, actionName, repetitionName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listPagingAll(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options) {
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, name, workflowName, runName, actionName, repetitionName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, name, workflowName, runName, actionName, repetitionName, options) {
return this.client.sendOperationRequest({
resourceGroupName,
name,
workflowName,
runName,
actionName,
repetitionName,
options
}, listOperationSpec);
}
/**
* 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, name, workflowName, runName, actionName, repetitionName, requestHistoryName, options) {
return this.client.sendOperationRequest({
resourceGroupName,
name,
workflowName,
runName,
actionName,
repetitionName,
requestHistoryName,
options
}, getOperationSpec);
}
/**
* ListNext
* @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 nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(resourceGroupName, name, workflowName, runName, actionName, repetitionName, nextLink, options) {
return this.client.sendOperationRequest({
resourceGroupName,
name,
workflowName,
runName,
actionName,
repetitionName,
nextLink,
options
}, listNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RequestHistoryListResult
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName,
Parameters.repetitionName
],
headerParameters: [Parameters.accept],
serializer
};
const getOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories/{requestHistoryName}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RequestHistory
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName,
Parameters.repetitionName,
Parameters.requestHistoryName
],
headerParameters: [Parameters.accept],
serializer
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.RequestHistoryListResult
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.nextLink,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName,
Parameters.repetitionName
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=workflowRunActionRepetitionsRequestHistories.js.map
@@ -0,0 +1 @@
{"version":3,"file":"workflowRunActionRepetitionsRequestHistories.js","sourceRoot":"","sources":["../../../src/operations/workflowRunActionRepetitionsRequestHistories.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,4CAA4C;AAC5C,gFAAgF;AAChF,MAAM,OAAO,gDAAgD;IAI3D;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;OASG;IACI,IAAI,CACT,iBAAyB,EACzB,IAAY,EACZ,YAAoB,EACpB,OAAe,EACf,UAAkB,EAClB,cAAsB,EACtB,OAAwE;QAExE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,UAAU,EACV,cAAc,EACd,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAA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e,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,58 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { WorkflowRunActionScopeRepetitions } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { WorkflowRunActionRepetitionDefinition, WorkflowRunActionScopeRepetitionsListOptionalParams, WorkflowRunActionScopeRepetitionsGetOptionalParams, WorkflowRunActionScopeRepetitionsGetResponse } from "../models";
/** Class containing WorkflowRunActionScopeRepetitions operations. */
export declare class WorkflowRunActionScopeRepetitionsImpl implements WorkflowRunActionScopeRepetitions {
private readonly client;
/**
* Initialize a new instance of the class WorkflowRunActionScopeRepetitions class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* 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>;
private listPagingPage;
private listPagingAll;
/**
* 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.
*/
private _list;
/**
* 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>;
/**
* ListNext
* @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 nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
}
//# sourceMappingURL=workflowRunActionScopeRepetitions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"workflowRunActionScopeRepetitions.d.ts","sourceRoot":"","sources":["../../../src/operations/workflowRunActionScopeRepetitions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAC;AAI5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,qCAAqC,EAErC,mDAAmD,EAEnD,kDAAkD,EAClD,4CAA4C,EAE7C,MAAM,WAAW,CAAC;AAGnB,qEAAqE;AACrE,qBAAa,qCACX,YAAW,iCAAiC;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,qCAAqC,CAAC;YAiCrD,cAAc;YA0Cd,aAAa;IAoB5B;;;;;;;;OAQG;IACH,OAAO,CAAC,KAAK;IAcb;;;;;;;;;OASG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAexD;;;;;;;;;OASG;IACH,OAAO,CAAC,SAAS;CAsBlB"}
@@ -0,0 +1,218 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing WorkflowRunActionScopeRepetitions operations. */
export class WorkflowRunActionScopeRepetitionsImpl {
/**
* Initialize a new instance of the class WorkflowRunActionScopeRepetitions class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* 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, name, workflowName, runName, actionName, options) {
const iter = this.listPagingAll(resourceGroupName, name, workflowName, runName, actionName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, name, workflowName, runName, actionName, options, settings);
}
};
}
listPagingPage(resourceGroupName, name, workflowName, runName, actionName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, name, workflowName, runName, actionName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, name, workflowName, runName, actionName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listPagingAll(resourceGroupName, name, workflowName, runName, actionName, options) {
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, name, workflowName, runName, actionName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, name, workflowName, runName, actionName, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, workflowName, runName, actionName, options }, listOperationSpec);
}
/**
* 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, name, workflowName, runName, actionName, repetitionName, options) {
return this.client.sendOperationRequest({
resourceGroupName,
name,
workflowName,
runName,
actionName,
repetitionName,
options
}, getOperationSpec);
}
/**
* ListNext
* @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 nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(resourceGroupName, name, workflowName, runName, actionName, nextLink, options) {
return this.client.sendOperationRequest({
resourceGroupName,
name,
workflowName,
runName,
actionName,
nextLink,
options
}, listNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName
],
headerParameters: [Parameters.accept],
serializer
};
const getOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions/{repetitionName}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WorkflowRunActionRepetitionDefinition
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName,
Parameters.repetitionName
],
headerParameters: [Parameters.accept],
serializer
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.nextLink,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=workflowRunActionScopeRepetitions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"workflowRunActionScopeRepetitions.js","sourceRoot":"","sources":["../../../src/operations/workflowRunActionScopeRepetitions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,4CAA4C;AAC5C,qEAAqE;AACrE,MAAM,OAAO,qCAAqC;IAIhD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAA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D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+CAA+C;SACpE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,87 @@
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { WorkflowRunActions } from "../operationsInterfaces";
import { WebSiteManagementClient } from "../webSiteManagementClient";
import { WorkflowRunAction, WorkflowRunActionsListOptionalParams, ExpressionRoot, WorkflowRunActionsListExpressionTracesOptionalParams, WorkflowRunActionsGetOptionalParams, WorkflowRunActionsGetResponse } from "../models";
/** Class containing WorkflowRunActions operations. */
export declare class WorkflowRunActionsImpl implements WorkflowRunActions {
private readonly client;
/**
* Initialize a new instance of the class WorkflowRunActions class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* 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>;
private listPagingPage;
private listPagingAll;
/**
* 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>;
private listExpressionTracesPagingPage;
private listExpressionTracesPagingAll;
/**
* 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.
*/
private _list;
/**
* 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>;
/**
* 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.
*/
private _listExpressionTraces;
/**
* ListNext
* @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 nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
/**
* ListExpressionTracesNext
* @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 nextLink The nextLink from the previous successful call to the ListExpressionTraces method.
* @param options The options parameters.
*/
private _listExpressionTracesNext;
}
//# sourceMappingURL=workflowRunActions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"workflowRunActions.d.ts","sourceRoot":"","sources":["../../../src/operations/workflowRunActions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAI7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,oCAAoC,EAEpC,cAAc,EAEd,oDAAoD,EAEpD,mCAAmC,EACnC,6BAA6B,EAG9B,MAAM,WAAW,CAAC;AAGnB,sDAAsD;AACtD,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;OAOG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,oCAAoC,GAC7C,0BAA0B,CAAC,iBAAiB,CAAC;YA+BjC,cAAc;YAuCd,aAAa;IAkB5B;;;;;;;;OAQG;IACI,oBAAoB,CACzB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,0BAA0B,CAAC,cAAc,CAAC;YAiC9B,8BAA8B;YA0C9B,6BAA6B;IAoB5C;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK;IAab;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAOzC;;;;;;;;OAQG;IACH,OAAO,CAAC,qBAAqB;IAc7B;;;;;;;;OAQG;IACH,OAAO,CAAC,SAAS;IAcjB;;;;;;;;;OASG;IACH,OAAO,CAAC,yBAAyB;CAsBlC"}
@@ -0,0 +1,341 @@
/*
* 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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/// <reference lib="esnext.asynciterable" />
/** Class containing WorkflowRunActions operations. */
export class WorkflowRunActionsImpl {
/**
* Initialize a new instance of the class WorkflowRunActions class.
* @param client Reference to the service client
*/
constructor(client) {
this.client = client;
}
/**
* 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, name, workflowName, runName, options) {
const iter = this.listPagingAll(resourceGroupName, name, workflowName, runName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, name, workflowName, runName, options, settings);
}
};
}
listPagingPage(resourceGroupName, name, workflowName, runName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, name, workflowName, runName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, name, workflowName, runName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listPagingAll(resourceGroupName, name, workflowName, runName, options) {
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
var e_1, _a;
try {
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, name, workflowName, runName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_1) throw e_1.error; }
}
});
}
/**
* 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, name, workflowName, runName, actionName, options) {
const iter = this.listExpressionTracesPagingAll(resourceGroupName, name, workflowName, runName, actionName, options);
return {
next() {
return iter.next();
},
[Symbol.asyncIterator]() {
return this;
},
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listExpressionTracesPagingPage(resourceGroupName, name, workflowName, runName, actionName, options, settings);
}
};
}
listExpressionTracesPagingPage(resourceGroupName, name, workflowName, runName, actionName, options, settings) {
return __asyncGenerator(this, arguments, function* listExpressionTracesPagingPage_1() {
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listExpressionTraces(resourceGroupName, name, workflowName, runName, actionName, options));
let page = result.inputs || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listExpressionTracesNext(resourceGroupName, name, workflowName, runName, actionName, continuationToken, options));
continuationToken = result.nextLink;
let page = result.inputs || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
});
}
listExpressionTracesPagingAll(resourceGroupName, name, workflowName, runName, actionName, options) {
return __asyncGenerator(this, arguments, function* listExpressionTracesPagingAll_1() {
var e_2, _a;
try {
for (var _b = __asyncValues(this.listExpressionTracesPagingPage(resourceGroupName, name, workflowName, runName, actionName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
const page = _c.value;
yield __await(yield* __asyncDelegator(__asyncValues(page)));
}
}
catch (e_2_1) { e_2 = { error: e_2_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
}
finally { if (e_2) throw e_2.error; }
}
});
}
/**
* 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, name, workflowName, runName, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, workflowName, runName, options }, listOperationSpec);
}
/**
* 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, name, workflowName, runName, actionName, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, workflowName, runName, actionName, options }, getOperationSpec);
}
/**
* 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, name, workflowName, runName, actionName, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, workflowName, runName, actionName, options }, listExpressionTracesOperationSpec);
}
/**
* ListNext
* @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 nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
_listNext(resourceGroupName, name, workflowName, runName, nextLink, options) {
return this.client.sendOperationRequest({ resourceGroupName, name, workflowName, runName, nextLink, options }, listNextOperationSpec);
}
/**
* ListExpressionTracesNext
* @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 nextLink The nextLink from the previous successful call to the ListExpressionTraces method.
* @param options The options parameters.
*/
_listExpressionTracesNext(resourceGroupName, name, workflowName, runName, actionName, nextLink, options) {
return this.client.sendOperationRequest({
resourceGroupName,
name,
workflowName,
runName,
actionName,
nextLink,
options
}, listExpressionTracesNextOperationSpec);
}
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
const listOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WorkflowRunActionListResult
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.top1, Parameters.filter1],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.workflowName,
Parameters.runName
],
headerParameters: [Parameters.accept],
serializer
};
const getOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WorkflowRunAction
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName
],
headerParameters: [Parameters.accept],
serializer
};
const listExpressionTracesOperationSpec = {
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/listExpressionTraces",
httpMethod: "POST",
responses: {
200: {
bodyMapper: Mappers.ExpressionTraces
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName
],
headerParameters: [Parameters.accept],
serializer
};
const listNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.WorkflowRunActionListResult
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion, Parameters.top1, Parameters.filter1],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.nextLink,
Parameters.workflowName,
Parameters.runName
],
headerParameters: [Parameters.accept],
serializer
};
const listExpressionTracesNextOperationSpec = {
path: "{nextLink}",
httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ExpressionTraces
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.name,
Parameters.nextLink,
Parameters.workflowName,
Parameters.runName,
Parameters.actionName
],
headerParameters: [Parameters.accept],
serializer
};
//# sourceMappingURL=workflowRunActions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"workflowRunActions.js","sourceRoot":"","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vE,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;;OAQG;IACK,qBAAqB,CAC3B,iBAAyB,EACzB,IAAY,EACZ,YAAoB,EACpB,OAAe,EACf,UAAkB,EAClB,OAA8D;QAE9D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,EACvE,iCAAiC,CAClC,CAAC;IACJ,CAAC;IAED;;;;;;;;OAQG;IACK,SAAS,CACf,iBAAyB,EACzB,IAAY,EACZ,YAAoB,EACpB,OAAe,EACf,QAAgB,EAChB,OAAkD;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrE,qBAAqB,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACK,yBAAyB,CAC/B,iBAAyB,EACzB,IAAY,EACZ,YAAoB,EACpB,OAAe,EACf,UAAkB,EAClB,QAAgB,EAChB,OAAkE;QAElE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACLine truncated
Loaded 100 of 55743 files, more files were not shown because too many files have changed in this diff. Show more