@azure-rest/arm-appservice 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +95 -0
- package/dist/index.js +144 -0
- package/dist/index.js.map +1 -0
- package/dist-esm/src/clientDefinitions.js +4 -0
- package/dist-esm/src/clientDefinitions.js.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models.js +4 -0
- package/dist-esm/src/models.js.map +1 -0
- package/dist-esm/src/outputModels.js +4 -0
- package/dist-esm/src/outputModels.js.map +1 -0
- package/dist-esm/src/paginateHelper.js +70 -0
- package/dist-esm/src/paginateHelper.js.map +1 -0
- package/dist-esm/src/parameters.js +4 -0
- package/dist-esm/src/parameters.js.map +1 -0
- package/dist-esm/src/pollingHelper.js +46 -0
- package/dist-esm/src/pollingHelper.js.map +1 -0
- package/dist-esm/src/responses.js +4 -0
- package/dist-esm/src/responses.js.map +1 -0
- package/dist-esm/src/webSiteManagementClient.js +21 -0
- package/dist-esm/src/webSiteManagementClient.js.map +1 -0
- package/package.json +129 -0
- package/review/arm-appservice.api.md +27581 -0
- package/types/arm-appservice.d.ts +27921 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT license.
|
|
3
|
+
import { getPagedAsyncIterator } from "@azure/core-paging";
|
|
4
|
+
import { createRestError } from "@azure-rest/core-client";
|
|
5
|
+
/**
|
|
6
|
+
* Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
|
|
7
|
+
* @param client - Client to use for sending the next page requests
|
|
8
|
+
* @param initialResponse - Initial response containing the nextLink and current page of elements
|
|
9
|
+
* @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
|
|
10
|
+
* @returns - PagedAsyncIterableIterator to iterate the elements
|
|
11
|
+
*/
|
|
12
|
+
export function paginate(client, initialResponse, options = {}) {
|
|
13
|
+
let firstRun = true;
|
|
14
|
+
const itemName = "value";
|
|
15
|
+
const nextLinkName = "nextLink";
|
|
16
|
+
const { customGetPage } = options;
|
|
17
|
+
const pagedResult = {
|
|
18
|
+
firstPageLink: "",
|
|
19
|
+
getPage: typeof customGetPage === "function"
|
|
20
|
+
? customGetPage
|
|
21
|
+
: async (pageLink) => {
|
|
22
|
+
const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get();
|
|
23
|
+
firstRun = false;
|
|
24
|
+
checkPagingRequest(result);
|
|
25
|
+
const nextLink = getNextLink(result.body, nextLinkName);
|
|
26
|
+
const values = getElements(result.body, itemName);
|
|
27
|
+
return {
|
|
28
|
+
page: values,
|
|
29
|
+
nextPageLink: nextLink,
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
return getPagedAsyncIterator(pagedResult);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Gets for the value of nextLink in the body
|
|
37
|
+
*/
|
|
38
|
+
function getNextLink(body, nextLinkName) {
|
|
39
|
+
if (!nextLinkName) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
const nextLink = body[nextLinkName];
|
|
43
|
+
if (typeof nextLink !== "string" && typeof nextLink !== "undefined") {
|
|
44
|
+
throw new Error(`Body Property ${nextLinkName} should be a string or undefined`);
|
|
45
|
+
}
|
|
46
|
+
return nextLink;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Gets the elements of the current request in the body.
|
|
50
|
+
*/
|
|
51
|
+
function getElements(body, itemName) {
|
|
52
|
+
const value = body[itemName];
|
|
53
|
+
// value has to be an array according to the x-ms-pageable extension.
|
|
54
|
+
// The fact that this must be an array is used above to calculate the
|
|
55
|
+
// type of elements in the page in PaginateReturn
|
|
56
|
+
if (!Array.isArray(value)) {
|
|
57
|
+
throw new Error(`Couldn't paginate response\n Body doesn't contain an array property with name: ${itemName}`);
|
|
58
|
+
}
|
|
59
|
+
return value !== null && value !== void 0 ? value : [];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Checks if a request failed
|
|
63
|
+
*/
|
|
64
|
+
function checkPagingRequest(response) {
|
|
65
|
+
const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"];
|
|
66
|
+
if (!Http2xxStatusCodes.includes(response.status)) {
|
|
67
|
+
throw createRestError(`Pagination failed with unexpected statusCode ${response.status}`, response);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=paginateHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginateHelper.js","sourceRoot":"","sources":["../../src/paginateHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,qBAAqB,EAA2C,MAAM,oBAAoB,CAAC;AACpG,OAAO,EAAU,eAAe,EAAyB,MAAM,yBAAyB,CAAC;AAyCzF;;;;;;GAMG;AACH,MAAM,UAAU,QAAQ,CACtB,MAAc,EACd,eAA0B,EAC1B,UAAoC,EAAE;IAItC,IAAI,QAAQ,GAAG,IAAI,CAAC;IACpB,MAAM,QAAQ,GAAG,OAAO,CAAC;IACzB,MAAM,YAAY,GAAG,UAAU,CAAC;IAChC,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC;IAClC,MAAM,WAAW,GAA4B;QAC3C,aAAa,EAAE,EAAE;QACjB,OAAO,EACL,OAAO,aAAa,KAAK,UAAU;YACjC,CAAC,CAAC,aAAa;YACf,CAAC,CAAC,KAAK,EAAE,QAAgB,EAAE,EAAE;gBACzB,MAAM,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,GAAG,EAAE,CAAC;gBACvF,QAAQ,GAAG,KAAK,CAAC;gBACjB,kBAAkB,CAAC,MAAM,CAAC,CAAC;gBAC3B,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;gBACxD,MAAM,MAAM,GAAG,WAAW,CAAW,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;gBAC5D,OAAO;oBACL,IAAI,EAAE,MAAM;oBACZ,YAAY,EAAE,QAAQ;iBACvB,CAAC;YACJ,CAAC;KACR,CAAC;IAEF,OAAO,qBAAqB,CAAC,WAAW,CAAC,CAAC;AAC5C,CAAC;AAED;;GAEG;AACH,SAAS,WAAW,CAAC,IAAa,EAAE,YAAqB;IACvD,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,QAAQ,GAAI,IAAgC,CAAC,YAAY,CAAC,CAAC;IAEjE,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;QACnE,MAAM,IAAI,KAAK,CAAC,iBAAiB,YAAY,kCAAkC,CAAC,CAAC;KAClF;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;GAEG;AACH,SAAS,WAAW,CAAc,IAAa,EAAE,QAAgB;IAC/D,MAAM,KAAK,GAAI,IAAgC,CAAC,QAAQ,CAAQ,CAAC;IAEjE,qEAAqE;IACrE,qEAAqE;IACrE,iDAAiD;IACjD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QACzB,MAAM,IAAI,KAAK,CACb,kFAAkF,QAAQ,EAAE,CAC7F,CAAC;KACH;IAED,OAAO,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC;AACrB,CAAC;AAED;;GAEG;AACH,SAAS,kBAAkB,CAAC,QAA+B;IACzD,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClG,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;QACjD,MAAM,eAAe,CACnB,gDAAgD,QAAQ,CAAC,MAAM,EAAE,EACjE,QAAQ,CACT,CAAC;KACH;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { getPagedAsyncIterator, PagedAsyncIterableIterator, PagedResult } from \"@azure/core-paging\";\nimport { Client, createRestError, PathUncheckedResponse } from \"@azure-rest/core-client\";\n\n/**\n * Helper type to extract the type of an array\n */\nexport type GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n/**\n * The type of a custom function that defines how to get a page and a link to the next one if any.\n */\nexport type GetPage<TPage> = (\n pageLink: string,\n maxPageSize?: number\n) => Promise<{\n page: TPage;\n nextPageLink?: string;\n}>;\n\n/**\n * Options for the paging helper\n */\nexport interface PagingOptions<TResponse> {\n /**\n * Custom function to extract pagination details for crating the PagedAsyncIterableIterator\n */\n customGetPage?: GetPage<PaginateReturn<TResponse>[]>;\n}\n\n/**\n * Helper type to infer the Type of the paged elements from the response type\n * This type is generated based on the swagger information for x-ms-pageable\n * specifically on the itemName property which indicates the property of the response\n * where the page items are found. The default value is `value`.\n * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter\n */\nexport type PaginateReturn<TResult> = TResult extends {\n body: { value?: infer TPage };\n}\n ? GetArrayType<TPage>\n : Array<unknown>;\n\n/**\n * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension\n * @param client - Client to use for sending the next page requests\n * @param initialResponse - Initial response containing the nextLink and current page of elements\n * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results\n * @returns - PagedAsyncIterableIterator to iterate the elements\n */\nexport function paginate<TResponse extends PathUncheckedResponse>(\n client: Client,\n initialResponse: TResponse,\n options: PagingOptions<TResponse> = {}\n): PagedAsyncIterableIterator<PaginateReturn<TResponse>> {\n // Extract element type from initial response\n type TElement = PaginateReturn<TResponse>;\n let firstRun = true;\n const itemName = \"value\";\n const nextLinkName = \"nextLink\";\n const { customGetPage } = options;\n const pagedResult: PagedResult<TElement[]> = {\n firstPageLink: \"\",\n getPage:\n typeof customGetPage === \"function\"\n ? customGetPage\n : async (pageLink: string) => {\n const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get();\n firstRun = false;\n checkPagingRequest(result);\n const nextLink = getNextLink(result.body, nextLinkName);\n const values = getElements<TElement>(result.body, itemName);\n return {\n page: values,\n nextPageLink: nextLink,\n };\n },\n };\n\n return getPagedAsyncIterator(pagedResult);\n}\n\n/**\n * Gets for the value of nextLink in the body\n */\nfunction getNextLink(body: unknown, nextLinkName?: string): string | undefined {\n if (!nextLinkName) {\n return undefined;\n }\n\n const nextLink = (body as Record<string, unknown>)[nextLinkName];\n\n if (typeof nextLink !== \"string\" && typeof nextLink !== \"undefined\") {\n throw new Error(`Body Property ${nextLinkName} should be a string or undefined`);\n }\n\n return nextLink;\n}\n\n/**\n * Gets the elements of the current request in the body.\n */\nfunction getElements<T = unknown>(body: unknown, itemName: string): T[] {\n const value = (body as Record<string, unknown>)[itemName] as T[];\n\n // value has to be an array according to the x-ms-pageable extension.\n // The fact that this must be an array is used above to calculate the\n // type of elements in the page in PaginateReturn\n if (!Array.isArray(value)) {\n throw new Error(\n `Couldn't paginate response\\n Body doesn't contain an array property with name: ${itemName}`\n );\n }\n\n return value ?? [];\n}\n\n/**\n * Checks if a request failed\n */\nfunction checkPagingRequest(response: PathUncheckedResponse): void {\n const Http2xxStatusCodes = [\"200\", \"201\", \"202\", \"203\", \"204\", \"205\", \"206\", \"207\", \"208\", \"226\"];\n if (!Http2xxStatusCodes.includes(response.status)) {\n throw createRestError(\n `Pagination failed with unexpected statusCode ${response.status}`,\n response\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestParameters } from \"@azure-rest/core-client\";\nimport {\n AppServiceCertificateOrder,\n AppServiceCertificateOrderPatchResource,\n AppServiceCertificateResource,\n AppServiceCertificatePatchResource,\n ReissueCertificateOrderRequest,\n RenewCertificateOrderRequest,\n NameIdentifier,\n SiteSealRequest,\n DomainRecommendationSearchParameters,\n Domain,\n DomainPatchResource,\n DomainOwnershipIdentifier,\n TopLevelDomainAgreementOption,\n AppServiceEnvironmentResource,\n AppServiceEnvironmentPatchResource,\n VirtualNetworkProfile,\n AseV3NetworkingConfiguration,\n WorkerPoolResource,\n PrivateLinkConnectionApprovalRequestResource,\n AppServicePlan,\n AppServicePlanPatchResource,\n VnetGateway,\n VnetRoute,\n Certificate,\n CertificatePatchResource,\n ContainerApp,\n KubeEnvironment,\n KubeEnvironmentPatchResource,\n User,\n SourceControl,\n ResourceNameAvailabilityRequest,\n VnetParameters,\n CsmMoveResourceEnvelope,\n ValidateRequest,\n StaticSitesWorkflowPreviewRequest,\n StaticSiteARMResource,\n StaticSitePatchResource,\n StaticSiteUserARMResource,\n StringDictionary,\n StaticSiteUserProvidedFunctionAppARMResource,\n StaticSiteZipDeploymentARMResource,\n StaticSiteUserInvitationRequestResource,\n StaticSiteCustomDomainRequestPropertiesARMResource,\n StaticSiteResetPropertiesARMResource,\n Site,\n SitePatchResource,\n CsmSlotEntity,\n BackupRequest,\n RestoreRequest,\n CsmPublishingCredentialsPoliciesEntity,\n SiteAuthSettings,\n SiteAuthSettingsV2,\n AzureStoragePropertyDictionaryResource,\n ConnectionStringDictionary,\n SiteLogsConfig,\n PushSettings,\n SlotConfigNamesResource,\n SiteConfigResource,\n Deployment,\n Identifier,\n MSDeploy,\n FunctionEnvelope,\n KeyInfo,\n HostNameBinding,\n HybridConnection,\n RelayServiceConnectionEntity,\n StorageMigrationOptions,\n MigrateMySqlRequest,\n SwiftVirtualNetwork,\n PremierAddOn,\n PremierAddOnPatchResource,\n PrivateAccess,\n PublicCertificate,\n CsmPublishingProfileOptions,\n DeletedAppRestoreRequest,\n SnapshotRestoreRequest,\n SiteSourceControl,\n VnetInfoResource,\n} from \"./models\";\n\nexport type AppServiceCertificateOrdersListParameters = RequestParameters;\n\nexport interface AppServiceCertificateOrdersValidatePurchaseInformationBodyParam {\n /** Information for a certificate order. */\n body: AppServiceCertificateOrder;\n}\n\nexport interface AppServiceCertificateOrdersValidatePurchaseInformationMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceCertificateOrdersValidatePurchaseInformationParameters = AppServiceCertificateOrdersValidatePurchaseInformationMediaTypesParam &\n AppServiceCertificateOrdersValidatePurchaseInformationBodyParam &\n RequestParameters;\nexport type AppServiceCertificateOrdersListByResourceGroupParameters = RequestParameters;\nexport type AppServiceCertificateOrdersGetParameters = RequestParameters;\n\nexport interface AppServiceCertificateOrdersCreateOrUpdateBodyParam {\n /** Distinguished name to use for the certificate order. */\n body: AppServiceCertificateOrder;\n}\n\nexport interface AppServiceCertificateOrdersCreateOrUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceCertificateOrdersCreateOrUpdateParameters = AppServiceCertificateOrdersCreateOrUpdateMediaTypesParam &\n AppServiceCertificateOrdersCreateOrUpdateBodyParam &\n RequestParameters;\nexport type AppServiceCertificateOrdersDeleteParameters = RequestParameters;\n\nexport interface AppServiceCertificateOrdersUpdateBodyParam {\n /** Distinguished name to use for the certificate order. */\n body: AppServiceCertificateOrderPatchResource;\n}\n\nexport interface AppServiceCertificateOrdersUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceCertificateOrdersUpdateParameters = AppServiceCertificateOrdersUpdateMediaTypesParam &\n AppServiceCertificateOrdersUpdateBodyParam &\n RequestParameters;\nexport type AppServiceCertificateOrdersListCertificatesParameters = RequestParameters;\nexport type AppServiceCertificateOrdersGetCertificateParameters = RequestParameters;\n\nexport interface AppServiceCertificateOrdersCreateOrUpdateCertificateBodyParam {\n /** Key vault certificate resource Id. */\n body: AppServiceCertificateResource;\n}\n\nexport interface AppServiceCertificateOrdersCreateOrUpdateCertificateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceCertificateOrdersCreateOrUpdateCertificateParameters = AppServiceCertificateOrdersCreateOrUpdateCertificateMediaTypesParam &\n AppServiceCertificateOrdersCreateOrUpdateCertificateBodyParam &\n RequestParameters;\nexport type AppServiceCertificateOrdersDeleteCertificateParameters = RequestParameters;\n\nexport interface AppServiceCertificateOrdersUpdateCertificateBodyParam {\n /** Key vault certificate resource Id. */\n body: AppServiceCertificatePatchResource;\n}\n\nexport interface AppServiceCertificateOrdersUpdateCertificateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceCertificateOrdersUpdateCertificateParameters = AppServiceCertificateOrdersUpdateCertificateMediaTypesParam &\n AppServiceCertificateOrdersUpdateCertificateBodyParam &\n RequestParameters;\n\nexport interface AppServiceCertificateOrdersReissueBodyParam {\n /** Parameters for the reissue. */\n body: ReissueCertificateOrderRequest;\n}\n\nexport interface AppServiceCertificateOrdersReissueMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceCertificateOrdersReissueParameters = AppServiceCertificateOrdersReissueMediaTypesParam &\n AppServiceCertificateOrdersReissueBodyParam &\n RequestParameters;\n\nexport interface AppServiceCertificateOrdersRenewBodyParam {\n /** Renew parameters */\n body: RenewCertificateOrderRequest;\n}\n\nexport interface AppServiceCertificateOrdersRenewMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceCertificateOrdersRenewParameters = AppServiceCertificateOrdersRenewMediaTypesParam &\n AppServiceCertificateOrdersRenewBodyParam &\n RequestParameters;\nexport type AppServiceCertificateOrdersResendEmailParameters = RequestParameters;\n\nexport interface AppServiceCertificateOrdersResendRequestEmailsBodyParam {\n /** Email address */\n body: NameIdentifier;\n}\n\nexport interface AppServiceCertificateOrdersResendRequestEmailsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceCertificateOrdersResendRequestEmailsParameters = AppServiceCertificateOrdersResendRequestEmailsMediaTypesParam &\n AppServiceCertificateOrdersResendRequestEmailsBodyParam &\n RequestParameters;\n\nexport interface AppServiceCertificateOrdersRetrieveSiteSealBodyParam {\n /** Site seal request. */\n body: SiteSealRequest;\n}\n\nexport interface AppServiceCertificateOrdersRetrieveSiteSealMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceCertificateOrdersRetrieveSiteSealParameters = AppServiceCertificateOrdersRetrieveSiteSealMediaTypesParam &\n AppServiceCertificateOrdersRetrieveSiteSealBodyParam &\n RequestParameters;\nexport type AppServiceCertificateOrdersVerifyDomainOwnershipParameters = RequestParameters;\nexport type AppServiceCertificateOrdersRetrieveCertificateActionsParameters = RequestParameters;\nexport type AppServiceCertificateOrdersRetrieveCertificateEmailHistoryParameters = RequestParameters;\nexport type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseParameters = RequestParameters;\n\nexport interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseQueryParamProperties {\n /** The start time for detector response. */\n startTime?: Date | string;\n /** The end time for the detector response. */\n endTime?: Date | string;\n /** The time grain for the detector response. */\n timeGrain?: string;\n}\n\nexport interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseQueryParam {\n queryParameters?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseQueryParamProperties;\n}\n\nexport type CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseParameters = CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseQueryParam &\n RequestParameters;\nexport type CertificateRegistrationProviderListOperationsParameters = RequestParameters;\n\nexport interface DomainsCheckAvailabilityBodyParam {\n /** Name of the domain. */\n body: NameIdentifier;\n}\n\nexport interface DomainsCheckAvailabilityMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type DomainsCheckAvailabilityParameters = DomainsCheckAvailabilityMediaTypesParam &\n DomainsCheckAvailabilityBodyParam &\n RequestParameters;\nexport type DomainsListParameters = RequestParameters;\nexport type DomainsGetControlCenterSsoRequestParameters = RequestParameters;\n\nexport interface DomainsListRecommendationsBodyParam {\n /** Search parameters for domain name recommendations. */\n body: DomainRecommendationSearchParameters;\n}\n\nexport interface DomainsListRecommendationsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type DomainsListRecommendationsParameters = DomainsListRecommendationsMediaTypesParam &\n DomainsListRecommendationsBodyParam &\n RequestParameters;\nexport type DomainsListByResourceGroupParameters = RequestParameters;\nexport type DomainsGetParameters = RequestParameters;\n\nexport interface DomainsCreateOrUpdateBodyParam {\n /** Domain registration information. */\n body: Domain;\n}\n\nexport interface DomainsCreateOrUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type DomainsCreateOrUpdateParameters = DomainsCreateOrUpdateMediaTypesParam &\n DomainsCreateOrUpdateBodyParam &\n RequestParameters;\n\nexport interface DomainsDeleteQueryParamProperties {\n /** Specify <code>true</code> to delete the domain immediately. The default is <code>false</code> which deletes the domain after 24 hours. */\n forceHardDeleteDomain?: boolean;\n}\n\nexport interface DomainsDeleteQueryParam {\n queryParameters?: DomainsDeleteQueryParamProperties;\n}\n\nexport type DomainsDeleteParameters = DomainsDeleteQueryParam & RequestParameters;\n\nexport interface DomainsUpdateBodyParam {\n /** Domain registration information. */\n body: DomainPatchResource;\n}\n\nexport interface DomainsUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type DomainsUpdateParameters = DomainsUpdateMediaTypesParam &\n DomainsUpdateBodyParam &\n RequestParameters;\nexport type DomainsListOwnershipIdentifiersParameters = RequestParameters;\nexport type DomainsGetOwnershipIdentifierParameters = RequestParameters;\n\nexport interface DomainsCreateOrUpdateOwnershipIdentifierBodyParam {\n /** A JSON representation of the domain ownership properties. */\n body: DomainOwnershipIdentifier;\n}\n\nexport interface DomainsCreateOrUpdateOwnershipIdentifierMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type DomainsCreateOrUpdateOwnershipIdentifierParameters = DomainsCreateOrUpdateOwnershipIdentifierMediaTypesParam &\n DomainsCreateOrUpdateOwnershipIdentifierBodyParam &\n RequestParameters;\nexport type DomainsDeleteOwnershipIdentifierParameters = RequestParameters;\n\nexport interface DomainsUpdateOwnershipIdentifierBodyParam {\n /** A JSON representation of the domain ownership properties. */\n body: DomainOwnershipIdentifier;\n}\n\nexport interface DomainsUpdateOwnershipIdentifierMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type DomainsUpdateOwnershipIdentifierParameters = DomainsUpdateOwnershipIdentifierMediaTypesParam &\n DomainsUpdateOwnershipIdentifierBodyParam &\n RequestParameters;\nexport type DomainsRenewParameters = RequestParameters;\nexport type DomainsTransferOutParameters = RequestParameters;\nexport type TopLevelDomainsListParameters = RequestParameters;\nexport type TopLevelDomainsGetParameters = RequestParameters;\n\nexport interface TopLevelDomainsListAgreementsBodyParam {\n /** Domain agreement options. */\n body: TopLevelDomainAgreementOption;\n}\n\nexport interface TopLevelDomainsListAgreementsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type TopLevelDomainsListAgreementsParameters = TopLevelDomainsListAgreementsMediaTypesParam &\n TopLevelDomainsListAgreementsBodyParam &\n RequestParameters;\nexport type DomainRegistrationProviderListOperationsParameters = RequestParameters;\nexport type AppServiceEnvironmentsListParameters = RequestParameters;\nexport type AppServiceEnvironmentsListByResourceGroupParameters = RequestParameters;\nexport type AppServiceEnvironmentsGetParameters = RequestParameters;\n\nexport interface AppServiceEnvironmentsCreateOrUpdateBodyParam {\n /** Configuration details of the App Service Environment. */\n body: AppServiceEnvironmentResource;\n}\n\nexport interface AppServiceEnvironmentsCreateOrUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceEnvironmentsCreateOrUpdateParameters = AppServiceEnvironmentsCreateOrUpdateMediaTypesParam &\n AppServiceEnvironmentsCreateOrUpdateBodyParam &\n RequestParameters;\n\nexport interface AppServiceEnvironmentsDeleteQueryParamProperties {\n /** Specify <code>true</code> to force the deletion even if the App Service Environment contains resources. The default is <code>false</code>. */\n forceDelete?: boolean;\n}\n\nexport interface AppServiceEnvironmentsDeleteQueryParam {\n queryParameters?: AppServiceEnvironmentsDeleteQueryParamProperties;\n}\n\nexport type AppServiceEnvironmentsDeleteParameters = AppServiceEnvironmentsDeleteQueryParam &\n RequestParameters;\n\nexport interface AppServiceEnvironmentsUpdateBodyParam {\n /** Configuration details of the App Service Environment. */\n body: AppServiceEnvironmentPatchResource;\n}\n\nexport interface AppServiceEnvironmentsUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceEnvironmentsUpdateParameters = AppServiceEnvironmentsUpdateMediaTypesParam &\n AppServiceEnvironmentsUpdateBodyParam &\n RequestParameters;\nexport type AppServiceEnvironmentsListCapacitiesParameters = RequestParameters;\nexport type AppServiceEnvironmentsGetVipInfoParameters = RequestParameters;\n\nexport interface AppServiceEnvironmentsChangeVnetBodyParam {\n /** Details for the new virtual network. */\n body: VirtualNetworkProfile;\n}\n\nexport interface AppServiceEnvironmentsChangeVnetMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceEnvironmentsChangeVnetParameters = AppServiceEnvironmentsChangeVnetMediaTypesParam &\n AppServiceEnvironmentsChangeVnetBodyParam &\n RequestParameters;\nexport type AppServiceEnvironmentsGetAseV3NetworkingConfigurationParameters = RequestParameters;\n\nexport interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationBodyParam {\n body: AseV3NetworkingConfiguration;\n}\n\nexport interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceEnvironmentsUpdateAseNetworkingConfigurationParameters = AppServiceEnvironmentsUpdateAseNetworkingConfigurationMediaTypesParam &\n AppServiceEnvironmentsUpdateAseNetworkingConfigurationBodyParam &\n RequestParameters;\nexport type AppServiceEnvironmentsListDiagnosticsParameters = RequestParameters;\nexport type AppServiceEnvironmentsGetDiagnosticsItemParameters = RequestParameters;\nexport type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsParameters = RequestParameters;\nexport type AppServiceEnvironmentsListMultiRolePoolsParameters = RequestParameters;\nexport type AppServiceEnvironmentsGetMultiRolePoolParameters = RequestParameters;\n\nexport interface AppServiceEnvironmentsCreateOrUpdateMultiRolePoolBodyParam {\n /** Properties of the multi-role pool. */\n body: WorkerPoolResource;\n}\n\nexport interface AppServiceEnvironmentsCreateOrUpdateMultiRolePoolMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceEnvironmentsCreateOrUpdateMultiRolePoolParameters = AppServiceEnvironmentsCreateOrUpdateMultiRolePoolMediaTypesParam &\n AppServiceEnvironmentsCreateOrUpdateMultiRolePoolBodyParam &\n RequestParameters;\n\nexport interface AppServiceEnvironmentsUpdateMultiRolePoolBodyParam {\n /** Properties of the multi-role pool. */\n body: WorkerPoolResource;\n}\n\nexport interface AppServiceEnvironmentsUpdateMultiRolePoolMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceEnvironmentsUpdateMultiRolePoolParameters = AppServiceEnvironmentsUpdateMultiRolePoolMediaTypesParam &\n AppServiceEnvironmentsUpdateMultiRolePoolBodyParam &\n RequestParameters;\nexport type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsParameters = RequestParameters;\nexport type AppServiceEnvironmentsListMultiRoleMetricDefinitionsParameters = RequestParameters;\nexport type AppServiceEnvironmentsListMultiRolePoolSkusParameters = RequestParameters;\nexport type AppServiceEnvironmentsListMultiRoleUsagesParameters = RequestParameters;\nexport type AppServiceEnvironmentsListOperationsParameters = RequestParameters;\nexport type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsParameters = RequestParameters;\nexport type AppServiceEnvironmentsGetPrivateEndpointConnectionListParameters = RequestParameters;\nexport type AppServiceEnvironmentsGetPrivateEndpointConnectionParameters = RequestParameters;\n\nexport interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionBodyParam {\n body: PrivateLinkConnectionApprovalRequestResource;\n}\n\nexport interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionParameters = AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionMediaTypesParam &\n AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionBodyParam &\n RequestParameters;\nexport type AppServiceEnvironmentsDeletePrivateEndpointConnectionParameters = RequestParameters;\nexport type AppServiceEnvironmentsGetPrivateLinkResourcesParameters = RequestParameters;\nexport type AppServiceEnvironmentsRebootParameters = RequestParameters;\nexport type AppServiceEnvironmentsResumeParameters = RequestParameters;\nexport type AppServiceEnvironmentsListAppServicePlansParameters = RequestParameters;\n\nexport interface AppServiceEnvironmentsListWebAppsQueryParamProperties {\n /** Comma separated list of app properties to include. */\n propertiesToInclude?: string;\n}\n\nexport interface AppServiceEnvironmentsListWebAppsQueryParam {\n queryParameters?: AppServiceEnvironmentsListWebAppsQueryParamProperties;\n}\n\nexport type AppServiceEnvironmentsListWebAppsParameters = AppServiceEnvironmentsListWebAppsQueryParam &\n RequestParameters;\nexport type AppServiceEnvironmentsSuspendParameters = RequestParameters;\n\nexport interface AppServiceEnvironmentsListUsagesQueryParamProperties {\n /** Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. */\n $filter?: string;\n}\n\nexport interface AppServiceEnvironmentsListUsagesQueryParam {\n queryParameters?: AppServiceEnvironmentsListUsagesQueryParamProperties;\n}\n\nexport type AppServiceEnvironmentsListUsagesParameters = AppServiceEnvironmentsListUsagesQueryParam &\n RequestParameters;\nexport type AppServiceEnvironmentsListWorkerPoolsParameters = RequestParameters;\nexport type AppServiceEnvironmentsGetWorkerPoolParameters = RequestParameters;\n\nexport interface AppServiceEnvironmentsCreateOrUpdateWorkerPoolBodyParam {\n /** Properties of the worker pool. */\n body: WorkerPoolResource;\n}\n\nexport interface AppServiceEnvironmentsCreateOrUpdateWorkerPoolMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceEnvironmentsCreateOrUpdateWorkerPoolParameters = AppServiceEnvironmentsCreateOrUpdateWorkerPoolMediaTypesParam &\n AppServiceEnvironmentsCreateOrUpdateWorkerPoolBodyParam &\n RequestParameters;\n\nexport interface AppServiceEnvironmentsUpdateWorkerPoolBodyParam {\n /** Properties of the worker pool. */\n body: WorkerPoolResource;\n}\n\nexport interface AppServiceEnvironmentsUpdateWorkerPoolMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServiceEnvironmentsUpdateWorkerPoolParameters = AppServiceEnvironmentsUpdateWorkerPoolMediaTypesParam &\n AppServiceEnvironmentsUpdateWorkerPoolBodyParam &\n RequestParameters;\nexport type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsParameters = RequestParameters;\nexport type AppServiceEnvironmentsListWebWorkerMetricDefinitionsParameters = RequestParameters;\nexport type AppServiceEnvironmentsListWorkerPoolSkusParameters = RequestParameters;\nexport type AppServiceEnvironmentsListWebWorkerUsagesParameters = RequestParameters;\n\nexport interface AppServicePlansListQueryParamProperties {\n /**\n * Specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties.\n * Retrieval of all properties may increase the API latency.\n */\n detailed?: boolean;\n}\n\nexport interface AppServicePlansListQueryParam {\n queryParameters?: AppServicePlansListQueryParamProperties;\n}\n\nexport type AppServicePlansListParameters = AppServicePlansListQueryParam & RequestParameters;\nexport type AppServicePlansListByResourceGroupParameters = RequestParameters;\nexport type AppServicePlansGetParameters = RequestParameters;\n\nexport interface AppServicePlansCreateOrUpdateBodyParam {\n /** Details of the App Service plan. */\n body: AppServicePlan;\n}\n\nexport interface AppServicePlansCreateOrUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServicePlansCreateOrUpdateParameters = AppServicePlansCreateOrUpdateMediaTypesParam &\n AppServicePlansCreateOrUpdateBodyParam &\n RequestParameters;\nexport type AppServicePlansDeleteParameters = RequestParameters;\n\nexport interface AppServicePlansUpdateBodyParam {\n /** Details of the App Service plan. */\n body: AppServicePlanPatchResource;\n}\n\nexport interface AppServicePlansUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServicePlansUpdateParameters = AppServicePlansUpdateMediaTypesParam &\n AppServicePlansUpdateBodyParam &\n RequestParameters;\nexport type AppServicePlansListCapabilitiesParameters = RequestParameters;\nexport type AppServicePlansGetHybridConnectionParameters = RequestParameters;\nexport type AppServicePlansDeleteHybridConnectionParameters = RequestParameters;\nexport type AppServicePlansListHybridConnectionKeysParameters = RequestParameters;\nexport type AppServicePlansListWebAppsByHybridConnectionParameters = RequestParameters;\nexport type AppServicePlansGetHybridConnectionPlanLimitParameters = RequestParameters;\nexport type AppServicePlansListHybridConnectionsParameters = RequestParameters;\n\nexport interface AppServicePlansRestartWebAppsQueryParamProperties {\n /** Specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps */\n softRestart?: boolean;\n}\n\nexport interface AppServicePlansRestartWebAppsQueryParam {\n queryParameters?: AppServicePlansRestartWebAppsQueryParamProperties;\n}\n\nexport type AppServicePlansRestartWebAppsParameters = AppServicePlansRestartWebAppsQueryParam &\n RequestParameters;\n\nexport interface AppServicePlansListWebAppsQueryParamProperties {\n /** Skip to a web app in the list of webapps associated with app service plan. If specified, the resulting list will contain web apps starting from (including) the skipToken. Otherwise, the resulting list contains web apps from the start of the list */\n $skipToken?: string;\n /** Supported filter: $filter=state eq running. Returns only web apps that are currently running */\n $filter?: string;\n /** List page size. If specified, results are paged. */\n $top?: string;\n}\n\nexport interface AppServicePlansListWebAppsQueryParam {\n queryParameters?: AppServicePlansListWebAppsQueryParamProperties;\n}\n\nexport type AppServicePlansListWebAppsParameters = AppServicePlansListWebAppsQueryParam &\n RequestParameters;\nexport type AppServicePlansGetServerFarmSkusParameters = RequestParameters;\n\nexport interface AppServicePlansListUsagesQueryParamProperties {\n /** Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2'). */\n $filter?: string;\n}\n\nexport interface AppServicePlansListUsagesQueryParam {\n queryParameters?: AppServicePlansListUsagesQueryParamProperties;\n}\n\nexport type AppServicePlansListUsagesParameters = AppServicePlansListUsagesQueryParam &\n RequestParameters;\nexport type AppServicePlansListVnetsParameters = RequestParameters;\nexport type AppServicePlansGetVnetFromServerFarmParameters = RequestParameters;\nexport type AppServicePlansGetVnetGatewayParameters = RequestParameters;\n\nexport interface AppServicePlansUpdateVnetGatewayBodyParam {\n /** Definition of the gateway. */\n body: VnetGateway;\n}\n\nexport interface AppServicePlansUpdateVnetGatewayMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServicePlansUpdateVnetGatewayParameters = AppServicePlansUpdateVnetGatewayMediaTypesParam &\n AppServicePlansUpdateVnetGatewayBodyParam &\n RequestParameters;\nexport type AppServicePlansListRoutesForVnetParameters = RequestParameters;\nexport type AppServicePlansGetRouteForVnetParameters = RequestParameters;\n\nexport interface AppServicePlansCreateOrUpdateVnetRouteBodyParam {\n /** Definition of the Virtual Network route. */\n body: VnetRoute;\n}\n\nexport interface AppServicePlansCreateOrUpdateVnetRouteMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServicePlansCreateOrUpdateVnetRouteParameters = AppServicePlansCreateOrUpdateVnetRouteMediaTypesParam &\n AppServicePlansCreateOrUpdateVnetRouteBodyParam &\n RequestParameters;\nexport type AppServicePlansDeleteVnetRouteParameters = RequestParameters;\n\nexport interface AppServicePlansUpdateVnetRouteBodyParam {\n /** Definition of the Virtual Network route. */\n body: VnetRoute;\n}\n\nexport interface AppServicePlansUpdateVnetRouteMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type AppServicePlansUpdateVnetRouteParameters = AppServicePlansUpdateVnetRouteMediaTypesParam &\n AppServicePlansUpdateVnetRouteBodyParam &\n RequestParameters;\nexport type AppServicePlansRebootWorkerParameters = RequestParameters;\n\nexport interface CertificatesListQueryParamProperties {\n /** Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId' */\n $filter?: string;\n}\n\nexport interface CertificatesListQueryParam {\n queryParameters?: CertificatesListQueryParamProperties;\n}\n\nexport type CertificatesListParameters = CertificatesListQueryParam & RequestParameters;\nexport type CertificatesListByResourceGroupParameters = RequestParameters;\nexport type CertificatesGetParameters = RequestParameters;\n\nexport interface CertificatesCreateOrUpdateBodyParam {\n /** Details of certificate, if it exists already. */\n body: Certificate;\n}\n\nexport interface CertificatesCreateOrUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CertificatesCreateOrUpdateParameters = CertificatesCreateOrUpdateMediaTypesParam &\n CertificatesCreateOrUpdateBodyParam &\n RequestParameters;\nexport type CertificatesDeleteParameters = RequestParameters;\n\nexport interface CertificatesUpdateBodyParam {\n /** Details of certificate, if it exists already. */\n body: CertificatePatchResource;\n}\n\nexport interface CertificatesUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CertificatesUpdateParameters = CertificatesUpdateMediaTypesParam &\n CertificatesUpdateBodyParam &\n RequestParameters;\nexport type ContainerAppsListBySubscriptionParameters = RequestParameters;\nexport type ContainerAppsListByResourceGroupParameters = RequestParameters;\nexport type ContainerAppsGetParameters = RequestParameters;\n\nexport interface ContainerAppsCreateOrUpdateBodyParam {\n body: ContainerApp;\n}\n\nexport interface ContainerAppsCreateOrUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type ContainerAppsCreateOrUpdateParameters = ContainerAppsCreateOrUpdateMediaTypesParam &\n ContainerAppsCreateOrUpdateBodyParam &\n RequestParameters;\nexport type ContainerAppsDeleteParameters = RequestParameters;\nexport type ContainerAppsListSecretsParameters = RequestParameters;\nexport type ContainerAppsRevisionsListRevisionsParameters = RequestParameters;\nexport type ContainerAppsRevisionsGetRevisionParameters = RequestParameters;\nexport type ContainerAppsRevisionsActivateRevisionParameters = RequestParameters;\nexport type ContainerAppsRevisionsDeactivateRevisionParameters = RequestParameters;\nexport type ContainerAppsRevisionsRestartRevisionParameters = RequestParameters;\nexport type DeletedWebAppsListParameters = RequestParameters;\nexport type DeletedWebAppsListByLocationParameters = RequestParameters;\nexport type DeletedWebAppsGetDeletedWebAppByLocationParameters = RequestParameters;\nexport type DiagnosticsListHostingEnvironmentDetectorResponsesParameters = RequestParameters;\n\nexport interface DiagnosticsGetHostingEnvironmentDetectorResponseQueryParamProperties {\n /** Start Time */\n startTime?: Date | string;\n /** End Time */\n endTime?: Date | string;\n /** Time Grain */\n timeGrain?: string;\n}\n\nexport interface DiagnosticsGetHostingEnvironmentDetectorResponseQueryParam {\n queryParameters?: DiagnosticsGetHostingEnvironmentDetectorResponseQueryParamProperties;\n}\n\nexport type DiagnosticsGetHostingEnvironmentDetectorResponseParameters = DiagnosticsGetHostingEnvironmentDetectorResponseQueryParam &\n RequestParameters;\nexport type DiagnosticsListSiteDetectorResponsesParameters = RequestParameters;\n\nexport interface DiagnosticsGetSiteDetectorResponseQueryParamProperties {\n /** Start Time */\n startTime?: Date | string;\n /** End Time */\n endTime?: Date | string;\n /** Time Grain */\n timeGrain?: string;\n}\n\nexport interface DiagnosticsGetSiteDetectorResponseQueryParam {\n queryParameters?: DiagnosticsGetSiteDetectorResponseQueryParamProperties;\n}\n\nexport type DiagnosticsGetSiteDetectorResponseParameters = DiagnosticsGetSiteDetectorResponseQueryParam &\n RequestParameters;\nexport type DiagnosticsListSiteDiagnosticCategoriesParameters = RequestParameters;\nexport type DiagnosticsGetSiteDiagnosticCategoryParameters = RequestParameters;\nexport type DiagnosticsListSiteAnalysesParameters = RequestParameters;\nexport type DiagnosticsGetSiteAnalysisParameters = RequestParameters;\n\nexport interface DiagnosticsExecuteSiteAnalysisQueryParamProperties {\n /** Start Time */\n startTime?: Date | string;\n /** End Time */\n endTime?: Date | string;\n /** Time Grain */\n timeGrain?: string;\n}\n\nexport interface DiagnosticsExecuteSiteAnalysisQueryParam {\n queryParameters?: DiagnosticsExecuteSiteAnalysisQueryParamProperties;\n}\n\nexport type DiagnosticsExecuteSiteAnalysisParameters = DiagnosticsExecuteSiteAnalysisQueryParam &\n RequestParameters;\nexport type DiagnosticsListSiteDetectorsParameters = RequestParameters;\nexport type DiagnosticsGetSiteDetectorParameters = RequestParameters;\n\nexport interface DiagnosticsExecuteSiteDetectorQueryParamProperties {\n /** Start Time */\n startTime?: Date | string;\n /** End Time */\n endTime?: Date | string;\n /** Time Grain */\n timeGrain?: string;\n}\n\nexport interface DiagnosticsExecuteSiteDetectorQueryParam {\n queryParameters?: DiagnosticsExecuteSiteDetectorQueryParamProperties;\n}\n\nexport type DiagnosticsExecuteSiteDetectorParameters = DiagnosticsExecuteSiteDetectorQueryParam &\n RequestParameters;\nexport type DiagnosticsListSiteDetectorResponsesSlotParameters = RequestParameters;\n\nexport interface DiagnosticsGetSiteDetectorResponseSlotQueryParamProperties {\n /** Start Time */\n startTime?: Date | string;\n /** End Time */\n endTime?: Date | string;\n /** Time Grain */\n timeGrain?: string;\n}\n\nexport interface DiagnosticsGetSiteDetectorResponseSlotQueryParam {\n queryParameters?: DiagnosticsGetSiteDetectorResponseSlotQueryParamProperties;\n}\n\nexport type DiagnosticsGetSiteDetectorResponseSlotParameters = DiagnosticsGetSiteDetectorResponseSlotQueryParam &\n RequestParameters;\nexport type DiagnosticsListSiteDiagnosticCategoriesSlotParameters = RequestParameters;\nexport type DiagnosticsGetSiteDiagnosticCategorySlotParameters = RequestParameters;\nexport type DiagnosticsListSiteAnalysesSlotParameters = RequestParameters;\nexport type DiagnosticsGetSiteAnalysisSlotParameters = RequestParameters;\n\nexport interface DiagnosticsExecuteSiteAnalysisSlotQueryParamProperties {\n /** Start Time */\n startTime?: Date | string;\n /** End Time */\n endTime?: Date | string;\n /** Time Grain */\n timeGrain?: string;\n}\n\nexport interface DiagnosticsExecuteSiteAnalysisSlotQueryParam {\n queryParameters?: DiagnosticsExecuteSiteAnalysisSlotQueryParamProperties;\n}\n\nexport type DiagnosticsExecuteSiteAnalysisSlotParameters = DiagnosticsExecuteSiteAnalysisSlotQueryParam &\n RequestParameters;\nexport type DiagnosticsListSiteDetectorsSlotParameters = RequestParameters;\nexport type DiagnosticsGetSiteDetectorSlotParameters = RequestParameters;\n\nexport interface DiagnosticsExecuteSiteDetectorSlotQueryParamProperties {\n /** Start Time */\n startTime?: Date | string;\n /** End Time */\n endTime?: Date | string;\n /** Time Grain */\n timeGrain?: string;\n}\n\nexport interface DiagnosticsExecuteSiteDetectorSlotQueryParam {\n queryParameters?: DiagnosticsExecuteSiteDetectorSlotQueryParamProperties;\n}\n\nexport type DiagnosticsExecuteSiteDetectorSlotParameters = DiagnosticsExecuteSiteDetectorSlotQueryParam &\n RequestParameters;\nexport type GlobalGetDeletedWebAppParameters = RequestParameters;\nexport type GlobalGetDeletedWebAppSnapshotsParameters = RequestParameters;\nexport type GlobalGetSubscriptionOperationWithAsyncResponseParameters = RequestParameters;\nexport type KubeEnvironmentsListBySubscriptionParameters = RequestParameters;\nexport type KubeEnvironmentsListByResourceGroupParameters = RequestParameters;\nexport type KubeEnvironmentsGetParameters = RequestParameters;\n\nexport interface KubeEnvironmentsCreateOrUpdateBodyParam {\n /** Configuration details of the Kubernetes Environment. */\n body: KubeEnvironment;\n}\n\nexport interface KubeEnvironmentsCreateOrUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type KubeEnvironmentsCreateOrUpdateParameters = KubeEnvironmentsCreateOrUpdateMediaTypesParam &\n KubeEnvironmentsCreateOrUpdateBodyParam &\n RequestParameters;\nexport type KubeEnvironmentsDeleteParameters = RequestParameters;\n\nexport interface KubeEnvironmentsUpdateBodyParam {\n /** Configuration details of the Kubernetes Environment. */\n body: KubeEnvironmentPatchResource;\n}\n\nexport interface KubeEnvironmentsUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type KubeEnvironmentsUpdateParameters = KubeEnvironmentsUpdateMediaTypesParam &\n KubeEnvironmentsUpdateBodyParam &\n RequestParameters;\n\nexport interface ProviderGetAvailableStacksQueryParamProperties {\n osTypeSelected?: \"Windows\" | \"Linux\" | \"WindowsFunctions\" | \"LinuxFunctions\" | \"All\";\n}\n\nexport interface ProviderGetAvailableStacksQueryParam {\n queryParameters?: ProviderGetAvailableStacksQueryParamProperties;\n}\n\nexport type ProviderGetAvailableStacksParameters = ProviderGetAvailableStacksQueryParam &\n RequestParameters;\n\nexport interface ProviderGetFunctionAppStacksQueryParamProperties {\n /** Stack OS Type */\n stackOsType?: \"Windows\" | \"Linux\" | \"All\";\n}\n\nexport interface ProviderGetFunctionAppStacksQueryParam {\n queryParameters?: ProviderGetFunctionAppStacksQueryParamProperties;\n}\n\nexport type ProviderGetFunctionAppStacksParameters = ProviderGetFunctionAppStacksQueryParam &\n RequestParameters;\n\nexport interface ProviderGetFunctionAppStacksForLocationQueryParamProperties {\n /** Stack OS Type */\n stackOsType?: \"Windows\" | \"Linux\" | \"All\";\n}\n\nexport interface ProviderGetFunctionAppStacksForLocationQueryParam {\n queryParameters?: ProviderGetFunctionAppStacksForLocationQueryParamProperties;\n}\n\nexport type ProviderGetFunctionAppStacksForLocationParameters = ProviderGetFunctionAppStacksForLocationQueryParam &\n RequestParameters;\n\nexport interface ProviderGetWebAppStacksForLocationQueryParamProperties {\n /** Stack OS Type */\n stackOsType?: \"Windows\" | \"Linux\" | \"All\";\n}\n\nexport interface ProviderGetWebAppStacksForLocationQueryParam {\n queryParameters?: ProviderGetWebAppStacksForLocationQueryParamProperties;\n}\n\nexport type ProviderGetWebAppStacksForLocationParameters = ProviderGetWebAppStacksForLocationQueryParam &\n RequestParameters;\nexport type ProviderListOperationsParameters = RequestParameters;\n\nexport interface ProviderGetWebAppStacksQueryParamProperties {\n /** Stack OS Type */\n stackOsType?: \"Windows\" | \"Linux\" | \"All\";\n}\n\nexport interface ProviderGetWebAppStacksQueryParam {\n queryParameters?: ProviderGetWebAppStacksQueryParamProperties;\n}\n\nexport type ProviderGetWebAppStacksParameters = ProviderGetWebAppStacksQueryParam &\n RequestParameters;\n\nexport interface ProviderGetAvailableStacksOnPremQueryParamProperties {\n osTypeSelected?: \"Windows\" | \"Linux\" | \"WindowsFunctions\" | \"LinuxFunctions\" | \"All\";\n}\n\nexport interface ProviderGetAvailableStacksOnPremQueryParam {\n queryParameters?: ProviderGetAvailableStacksOnPremQueryParamProperties;\n}\n\nexport type ProviderGetAvailableStacksOnPremParameters = ProviderGetAvailableStacksOnPremQueryParam &\n RequestParameters;\n\nexport interface RecommendationsListQueryParamProperties {\n /** Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. */\n featured?: boolean;\n /** Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] */\n $filter?: string;\n}\n\nexport interface RecommendationsListQueryParam {\n queryParameters?: RecommendationsListQueryParamProperties;\n}\n\nexport type RecommendationsListParameters = RecommendationsListQueryParam & RequestParameters;\nexport type RecommendationsResetAllFiltersParameters = RequestParameters;\nexport type RecommendationsDisableRecommendationForSubscriptionParameters = RequestParameters;\n\nexport interface RecommendationsListHistoryForHostingEnvironmentQueryParamProperties {\n /** Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations. */\n expiredOnly?: boolean;\n /** Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] */\n $filter?: string;\n}\n\nexport interface RecommendationsListHistoryForHostingEnvironmentQueryParam {\n queryParameters?: RecommendationsListHistoryForHostingEnvironmentQueryParamProperties;\n}\n\nexport type RecommendationsListHistoryForHostingEnvironmentParameters = RecommendationsListHistoryForHostingEnvironmentQueryParam &\n RequestParameters;\n\nexport interface RecommendationsListRecommendedRulesForHostingEnvironmentQueryParamProperties {\n /** Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. */\n featured?: boolean;\n /** Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' */\n $filter?: string;\n}\n\nexport interface RecommendationsListRecommendedRulesForHostingEnvironmentQueryParam {\n queryParameters?: RecommendationsListRecommendedRulesForHostingEnvironmentQueryParamProperties;\n}\n\nexport type RecommendationsListRecommendedRulesForHostingEnvironmentParameters = RecommendationsListRecommendedRulesForHostingEnvironmentQueryParam &\n RequestParameters;\n\nexport interface RecommendationsDisableAllForHostingEnvironmentQueryParamProperties {\n /** Name of the app. */\n environmentName: string;\n}\n\nexport interface RecommendationsDisableAllForHostingEnvironmentQueryParam {\n queryParameters: RecommendationsDisableAllForHostingEnvironmentQueryParamProperties;\n}\n\nexport type RecommendationsDisableAllForHostingEnvironmentParameters = RecommendationsDisableAllForHostingEnvironmentQueryParam &\n RequestParameters;\n\nexport interface RecommendationsResetAllFiltersForHostingEnvironmentQueryParamProperties {\n /** Name of the app. */\n environmentName: string;\n}\n\nexport interface RecommendationsResetAllFiltersForHostingEnvironmentQueryParam {\n queryParameters: RecommendationsResetAllFiltersForHostingEnvironmentQueryParamProperties;\n}\n\nexport type RecommendationsResetAllFiltersForHostingEnvironmentParameters = RecommendationsResetAllFiltersForHostingEnvironmentQueryParam &\n RequestParameters;\n\nexport interface RecommendationsGetRuleDetailsByHostingEnvironmentQueryParamProperties {\n /** Specify <code>true</code> to update the last-seen timestamp of the recommendation object. */\n updateSeen?: boolean;\n /** The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry. */\n recommendationId?: string;\n}\n\nexport interface RecommendationsGetRuleDetailsByHostingEnvironmentQueryParam {\n queryParameters?: RecommendationsGetRuleDetailsByHostingEnvironmentQueryParamProperties;\n}\n\nexport type RecommendationsGetRuleDetailsByHostingEnvironmentParameters = RecommendationsGetRuleDetailsByHostingEnvironmentQueryParam &\n RequestParameters;\n\nexport interface RecommendationsDisableRecommendationForHostingEnvironmentQueryParamProperties {\n /** Site name */\n environmentName: string;\n}\n\nexport interface RecommendationsDisableRecommendationForHostingEnvironmentQueryParam {\n queryParameters: RecommendationsDisableRecommendationForHostingEnvironmentQueryParamProperties;\n}\n\nexport type RecommendationsDisableRecommendationForHostingEnvironmentParameters = RecommendationsDisableRecommendationForHostingEnvironmentQueryParam &\n RequestParameters;\n\nexport interface RecommendationsListHistoryForWebAppQueryParamProperties {\n /** Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations. */\n expiredOnly?: boolean;\n /** Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] */\n $filter?: string;\n}\n\nexport interface RecommendationsListHistoryForWebAppQueryParam {\n queryParameters?: RecommendationsListHistoryForWebAppQueryParamProperties;\n}\n\nexport type RecommendationsListHistoryForWebAppParameters = RecommendationsListHistoryForWebAppQueryParam &\n RequestParameters;\n\nexport interface RecommendationsListRecommendedRulesForWebAppQueryParamProperties {\n /** Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. */\n featured?: boolean;\n /** Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' */\n $filter?: string;\n}\n\nexport interface RecommendationsListRecommendedRulesForWebAppQueryParam {\n queryParameters?: RecommendationsListRecommendedRulesForWebAppQueryParamProperties;\n}\n\nexport type RecommendationsListRecommendedRulesForWebAppParameters = RecommendationsListRecommendedRulesForWebAppQueryParam &\n RequestParameters;\nexport type RecommendationsDisableAllForWebAppParameters = RequestParameters;\nexport type RecommendationsResetAllFiltersForWebAppParameters = RequestParameters;\n\nexport interface RecommendationsGetRuleDetailsByWebAppQueryParamProperties {\n /** Specify <code>true</code> to update the last-seen timestamp of the recommendation object. */\n updateSeen?: boolean;\n /** The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry. */\n recommendationId?: string;\n}\n\nexport interface RecommendationsGetRuleDetailsByWebAppQueryParam {\n queryParameters?: RecommendationsGetRuleDetailsByWebAppQueryParamProperties;\n}\n\nexport type RecommendationsGetRuleDetailsByWebAppParameters = RecommendationsGetRuleDetailsByWebAppQueryParam &\n RequestParameters;\nexport type RecommendationsDisableRecommendationForSiteParameters = RequestParameters;\nexport type ResourceHealthMetadataListParameters = RequestParameters;\nexport type ResourceHealthMetadataListByResourceGroupParameters = RequestParameters;\nexport type ResourceHealthMetadataListBySiteParameters = RequestParameters;\nexport type ResourceHealthMetadataGetBySiteParameters = RequestParameters;\nexport type ResourceHealthMetadataListBySiteSlotParameters = RequestParameters;\nexport type ResourceHealthMetadataGetBySiteSlotParameters = RequestParameters;\nexport type GetPublishingUserParameters = RequestParameters;\n\nexport interface UpdatePublishingUserBodyParam {\n /** Details of publishing user */\n body: User;\n}\n\nexport interface UpdatePublishingUserMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type UpdatePublishingUserParameters = UpdatePublishingUserMediaTypesParam &\n UpdatePublishingUserBodyParam &\n RequestParameters;\nexport type ListSourceControlsParameters = RequestParameters;\nexport type GetSourceControlParameters = RequestParameters;\n\nexport interface UpdateSourceControlBodyParam {\n /** Source control token information */\n body: SourceControl;\n}\n\nexport interface UpdateSourceControlMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type UpdateSourceControlParameters = UpdateSourceControlMediaTypesParam &\n UpdateSourceControlBodyParam &\n RequestParameters;\n\nexport interface ListBillingMetersQueryParamProperties {\n /** Azure Location of billable resource */\n billingLocation?: string;\n /** App Service OS type meters used for */\n osType?: string;\n}\n\nexport interface ListBillingMetersQueryParam {\n queryParameters?: ListBillingMetersQueryParamProperties;\n}\n\nexport type ListBillingMetersParameters = ListBillingMetersQueryParam & RequestParameters;\n\nexport interface CheckNameAvailabilityBodyParam {\n /** Name availability request. */\n body: ResourceNameAvailabilityRequest;\n}\n\nexport interface CheckNameAvailabilityMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CheckNameAvailabilityParameters = CheckNameAvailabilityMediaTypesParam &\n CheckNameAvailabilityBodyParam &\n RequestParameters;\nexport type ListCustomHostNameSitesParameters = RequestParameters;\nexport type GetSubscriptionDeploymentLocationsParameters = RequestParameters;\n\nexport interface ListGeoRegionsQueryParamProperties {\n /** Name of SKU used to filter the regions. */\n sku?:\n | \"Free\"\n | \"Shared\"\n | \"Basic\"\n | \"Standard\"\n | \"Premium\"\n | \"Dynamic\"\n | \"Isolated\"\n | \"IsolatedV2\"\n | \"PremiumV2\"\n | \"PremiumV3\"\n | \"PremiumContainer\"\n | \"ElasticPremium\"\n | \"ElasticIsolated\";\n /** Specify <code>true</code> if you want to filter to only regions that support Linux workers. */\n linuxWorkersEnabled?: boolean;\n /** Specify <code>true</code> if you want to filter to only regions that support Xenon workers. */\n xenonWorkersEnabled?: boolean;\n /** Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers. */\n linuxDynamicWorkersEnabled?: boolean;\n}\n\nexport interface ListGeoRegionsQueryParam {\n queryParameters?: ListGeoRegionsQueryParamProperties;\n}\n\nexport type ListGeoRegionsParameters = ListGeoRegionsQueryParam & RequestParameters;\n\nexport interface ListSiteIdentifiersAssignedToHostNameBodyParam {\n /** Hostname information. */\n body: NameIdentifier;\n}\n\nexport interface ListSiteIdentifiersAssignedToHostNameMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type ListSiteIdentifiersAssignedToHostNameParameters = ListSiteIdentifiersAssignedToHostNameMediaTypesParam &\n ListSiteIdentifiersAssignedToHostNameBodyParam &\n RequestParameters;\nexport type ListPremierAddOnOffersParameters = RequestParameters;\nexport type ListSkusParameters = RequestParameters;\n\nexport interface VerifyHostingEnvironmentVnetBodyParam {\n /** VNET information */\n body: VnetParameters;\n}\n\nexport interface VerifyHostingEnvironmentVnetMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type VerifyHostingEnvironmentVnetParameters = VerifyHostingEnvironmentVnetMediaTypesParam &\n VerifyHostingEnvironmentVnetBodyParam &\n RequestParameters;\n\nexport interface MoveBodyParam {\n /** Object that represents the resource to move. */\n body: CsmMoveResourceEnvelope;\n}\n\nexport interface MoveMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type MoveParameters = MoveMediaTypesParam & MoveBodyParam & RequestParameters;\n\nexport interface ValidateBodyParam {\n /** Request with the resources to validate. */\n body: ValidateRequest;\n}\n\nexport interface ValidateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type ValidateParameters = ValidateMediaTypesParam & ValidateBodyParam & RequestParameters;\n\nexport interface ValidateMoveBodyParam {\n /** Object that represents the resource to move. */\n body: CsmMoveResourceEnvelope;\n}\n\nexport interface ValidateMoveMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type ValidateMoveParameters = ValidateMoveMediaTypesParam &\n ValidateMoveBodyParam &\n RequestParameters;\n\nexport interface StaticSitesPreviewWorkflowBodyParam {\n /** A JSON representation of the StaticSitesWorkflowPreviewRequest properties. See example. */\n body: StaticSitesWorkflowPreviewRequest;\n}\n\nexport interface StaticSitesPreviewWorkflowMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesPreviewWorkflowParameters = StaticSitesPreviewWorkflowMediaTypesParam &\n StaticSitesPreviewWorkflowBodyParam &\n RequestParameters;\nexport type StaticSitesListParameters = RequestParameters;\nexport type StaticSitesGetStaticSitesByResourceGroupParameters = RequestParameters;\nexport type StaticSitesGetStaticSiteParameters = RequestParameters;\n\nexport interface StaticSitesCreateOrUpdateStaticSiteBodyParam {\n /** A JSON representation of the staticsite properties. See example. */\n body: StaticSiteARMResource;\n}\n\nexport interface StaticSitesCreateOrUpdateStaticSiteMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesCreateOrUpdateStaticSiteParameters = StaticSitesCreateOrUpdateStaticSiteMediaTypesParam &\n StaticSitesCreateOrUpdateStaticSiteBodyParam &\n RequestParameters;\nexport type StaticSitesDeleteStaticSiteParameters = RequestParameters;\n\nexport interface StaticSitesUpdateStaticSiteBodyParam {\n /** A JSON representation of the staticsite properties. See example. */\n body: StaticSitePatchResource;\n}\n\nexport interface StaticSitesUpdateStaticSiteMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesUpdateStaticSiteParameters = StaticSitesUpdateStaticSiteMediaTypesParam &\n StaticSitesUpdateStaticSiteBodyParam &\n RequestParameters;\nexport type StaticSitesListStaticSiteUsersParameters = RequestParameters;\nexport type StaticSitesDeleteStaticSiteUserParameters = RequestParameters;\n\nexport interface StaticSitesUpdateStaticSiteUserBodyParam {\n /** A JSON representation of the StaticSiteUser properties. See example. */\n body: StaticSiteUserARMResource;\n}\n\nexport interface StaticSitesUpdateStaticSiteUserMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesUpdateStaticSiteUserParameters = StaticSitesUpdateStaticSiteUserMediaTypesParam &\n StaticSitesUpdateStaticSiteUserBodyParam &\n RequestParameters;\nexport type StaticSitesGetStaticSiteBuildsParameters = RequestParameters;\nexport type StaticSitesGetStaticSiteBuildParameters = RequestParameters;\nexport type StaticSitesDeleteStaticSiteBuildParameters = RequestParameters;\n\nexport interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsBodyParam {\n /** The dictionary containing the static site app settings to update. */\n body: StringDictionary;\n}\n\nexport interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsParameters = StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsMediaTypesParam &\n StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsBodyParam &\n RequestParameters;\n\nexport interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsBodyParam {\n /** The dictionary containing the static site function app settings to update. */\n body: StringDictionary;\n}\n\nexport interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsParameters = StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsMediaTypesParam &\n StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsBodyParam &\n RequestParameters;\nexport type StaticSitesListStaticSiteBuildFunctionsParameters = RequestParameters;\nexport type StaticSitesListStaticSiteBuildAppSettingsParameters = RequestParameters;\nexport type StaticSitesListStaticSiteBuildFunctionAppSettingsParameters = RequestParameters;\nexport type StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildParameters = RequestParameters;\nexport type StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildParameters = RequestParameters;\n\nexport interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildBodyParam {\n /** A JSON representation of the user provided function app properties. See example. */\n body: StaticSiteUserProvidedFunctionAppARMResource;\n}\n\nexport interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildQueryParamProperties {\n /** Specify <code>true</code> to force the update of the auth configuration on the function app even if an AzureStaticWebApps provider is already configured on the function app. The default is <code>false</code>. */\n isForced?: boolean;\n}\n\nexport interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildQueryParam {\n queryParameters?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildQueryParamProperties;\n}\n\nexport interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildParameters = StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildQueryParam &\n StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildMediaTypesParam &\n StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildBodyParam &\n RequestParameters;\nexport type StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildParameters = RequestParameters;\n\nexport interface StaticSitesCreateZipDeploymentForStaticSiteBuildBodyParam {\n /** A JSON representation of the StaticSiteZipDeployment properties. See example. */\n body: StaticSiteZipDeploymentARMResource;\n}\n\nexport interface StaticSitesCreateZipDeploymentForStaticSiteBuildMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesCreateZipDeploymentForStaticSiteBuildParameters = StaticSitesCreateZipDeploymentForStaticSiteBuildMediaTypesParam &\n StaticSitesCreateZipDeploymentForStaticSiteBuildBodyParam &\n RequestParameters;\n\nexport interface StaticSitesCreateOrUpdateStaticSiteAppSettingsBodyParam {\n /** The dictionary containing the static site app settings to update. */\n body: StringDictionary;\n}\n\nexport interface StaticSitesCreateOrUpdateStaticSiteAppSettingsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesCreateOrUpdateStaticSiteAppSettingsParameters = StaticSitesCreateOrUpdateStaticSiteAppSettingsMediaTypesParam &\n StaticSitesCreateOrUpdateStaticSiteAppSettingsBodyParam &\n RequestParameters;\n\nexport interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsBodyParam {\n /** The dictionary containing the static site function app settings to update. */\n body: StringDictionary;\n}\n\nexport interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsParameters = StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsMediaTypesParam &\n StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsBodyParam &\n RequestParameters;\n\nexport interface StaticSitesCreateUserRolesInvitationLinkBodyParam {\n body: StaticSiteUserInvitationRequestResource;\n}\n\nexport interface StaticSitesCreateUserRolesInvitationLinkMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesCreateUserRolesInvitationLinkParameters = StaticSitesCreateUserRolesInvitationLinkMediaTypesParam &\n StaticSitesCreateUserRolesInvitationLinkBodyParam &\n RequestParameters;\nexport type StaticSitesListStaticSiteCustomDomainsParameters = RequestParameters;\nexport type StaticSitesGetStaticSiteCustomDomainParameters = RequestParameters;\n\nexport interface StaticSitesCreateOrUpdateStaticSiteCustomDomainBodyParam {\n /** A JSON representation of the static site custom domain request properties. See example. */\n body: StaticSiteCustomDomainRequestPropertiesARMResource;\n}\n\nexport interface StaticSitesCreateOrUpdateStaticSiteCustomDomainMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesCreateOrUpdateStaticSiteCustomDomainParameters = StaticSitesCreateOrUpdateStaticSiteCustomDomainMediaTypesParam &\n StaticSitesCreateOrUpdateStaticSiteCustomDomainBodyParam &\n RequestParameters;\nexport type StaticSitesDeleteStaticSiteCustomDomainParameters = RequestParameters;\n\nexport interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteBodyParam {\n /** A JSON representation of the static site custom domain request properties. See example. */\n body: StaticSiteCustomDomainRequestPropertiesARMResource;\n}\n\nexport interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesValidateCustomDomainCanBeAddedToStaticSiteParameters = StaticSitesValidateCustomDomainCanBeAddedToStaticSiteMediaTypesParam &\n StaticSitesValidateCustomDomainCanBeAddedToStaticSiteBodyParam &\n RequestParameters;\nexport type StaticSitesDetachStaticSiteParameters = RequestParameters;\nexport type StaticSitesListStaticSiteFunctionsParameters = RequestParameters;\nexport type StaticSitesListStaticSiteAppSettingsParameters = RequestParameters;\nexport type StaticSitesListStaticSiteConfiguredRolesParameters = RequestParameters;\nexport type StaticSitesListStaticSiteFunctionAppSettingsParameters = RequestParameters;\nexport type StaticSitesListStaticSiteSecretsParameters = RequestParameters;\nexport type StaticSitesGetPrivateEndpointConnectionListParameters = RequestParameters;\nexport type StaticSitesGetPrivateEndpointConnectionParameters = RequestParameters;\n\nexport interface StaticSitesApproveOrRejectPrivateEndpointConnectionBodyParam {\n /** Request body. */\n body: PrivateLinkConnectionApprovalRequestResource;\n}\n\nexport interface StaticSitesApproveOrRejectPrivateEndpointConnectionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesApproveOrRejectPrivateEndpointConnectionParameters = StaticSitesApproveOrRejectPrivateEndpointConnectionMediaTypesParam &\n StaticSitesApproveOrRejectPrivateEndpointConnectionBodyParam &\n RequestParameters;\nexport type StaticSitesDeletePrivateEndpointConnectionParameters = RequestParameters;\nexport type StaticSitesGetPrivateLinkResourcesParameters = RequestParameters;\n\nexport interface StaticSitesResetStaticSiteApiKeyBodyParam {\n body: StaticSiteResetPropertiesARMResource;\n}\n\nexport interface StaticSitesResetStaticSiteApiKeyMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesResetStaticSiteApiKeyParameters = StaticSitesResetStaticSiteApiKeyMediaTypesParam &\n StaticSitesResetStaticSiteApiKeyBodyParam &\n RequestParameters;\nexport type StaticSitesGetUserProvidedFunctionAppsForStaticSiteParameters = RequestParameters;\nexport type StaticSitesGetUserProvidedFunctionAppForStaticSiteParameters = RequestParameters;\n\nexport interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBodyParam {\n /** A JSON representation of the user provided function app properties. See example. */\n body: StaticSiteUserProvidedFunctionAppARMResource;\n}\n\nexport interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteQueryParamProperties {\n /** Specify <code>true</code> to force the update of the auth configuration on the function app even if an AzureStaticWebApps provider is already configured on the function app. The default is <code>false</code>. */\n isForced?: boolean;\n}\n\nexport interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteQueryParam {\n queryParameters?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteQueryParamProperties;\n}\n\nexport interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteParameters = StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteQueryParam &\n StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteMediaTypesParam &\n StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBodyParam &\n RequestParameters;\nexport type StaticSitesDetachUserProvidedFunctionAppFromStaticSiteParameters = RequestParameters;\n\nexport interface StaticSitesCreateZipDeploymentForStaticSiteBodyParam {\n /** A JSON representation of the StaticSiteZipDeployment properties. See example. */\n body: StaticSiteZipDeploymentARMResource;\n}\n\nexport interface StaticSitesCreateZipDeploymentForStaticSiteMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type StaticSitesCreateZipDeploymentForStaticSiteParameters = StaticSitesCreateZipDeploymentForStaticSiteMediaTypesParam &\n StaticSitesCreateZipDeploymentForStaticSiteBodyParam &\n RequestParameters;\nexport type WebAppsListParameters = RequestParameters;\n\nexport interface WebAppsListByResourceGroupQueryParamProperties {\n /** Specify <strong>true</strong> to include deployment slots in results. The default is false, which only gives you the production slot of all apps. */\n includeSlots?: boolean;\n}\n\nexport interface WebAppsListByResourceGroupQueryParam {\n queryParameters?: WebAppsListByResourceGroupQueryParamProperties;\n}\n\nexport type WebAppsListByResourceGroupParameters = WebAppsListByResourceGroupQueryParam &\n RequestParameters;\nexport type WebAppsGetParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateBodyParam {\n /** A JSON representation of the app properties. See example. */\n body: Site;\n}\n\nexport interface WebAppsCreateOrUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateParameters = WebAppsCreateOrUpdateMediaTypesParam &\n WebAppsCreateOrUpdateBodyParam &\n RequestParameters;\n\nexport interface WebAppsDeleteQueryParamProperties {\n /** If true, web app metrics are also deleted. */\n deleteMetrics?: boolean;\n /** Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted. */\n deleteEmptyServerFarm?: boolean;\n}\n\nexport interface WebAppsDeleteQueryParam {\n queryParameters?: WebAppsDeleteQueryParamProperties;\n}\n\nexport type WebAppsDeleteParameters = WebAppsDeleteQueryParam & RequestParameters;\n\nexport interface WebAppsUpdateBodyParam {\n /** A JSON representation of the app properties. See example. */\n body: SitePatchResource;\n}\n\nexport interface WebAppsUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateParameters = WebAppsUpdateMediaTypesParam &\n WebAppsUpdateBodyParam &\n RequestParameters;\n\nexport interface WebAppsAnalyzeCustomHostnameQueryParamProperties {\n /** Custom hostname. */\n hostName?: string;\n}\n\nexport interface WebAppsAnalyzeCustomHostnameQueryParam {\n queryParameters?: WebAppsAnalyzeCustomHostnameQueryParamProperties;\n}\n\nexport type WebAppsAnalyzeCustomHostnameParameters = WebAppsAnalyzeCustomHostnameQueryParam &\n RequestParameters;\n\nexport interface WebAppsApplySlotConfigToProductionBodyParam {\n /** JSON object that contains the target slot name. See example. */\n body: CsmSlotEntity;\n}\n\nexport interface WebAppsApplySlotConfigToProductionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsApplySlotConfigToProductionParameters = WebAppsApplySlotConfigToProductionMediaTypesParam &\n WebAppsApplySlotConfigToProductionBodyParam &\n RequestParameters;\n\nexport interface WebAppsBackupBodyParam {\n /** Backup configuration. You can use the JSON response from the POST action as input here. */\n body: BackupRequest;\n}\n\nexport interface WebAppsBackupMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsBackupParameters = WebAppsBackupMediaTypesParam &\n WebAppsBackupBodyParam &\n RequestParameters;\nexport type WebAppsListBackupsParameters = RequestParameters;\nexport type WebAppsGetBackupStatusParameters = RequestParameters;\nexport type WebAppsDeleteBackupParameters = RequestParameters;\n\nexport interface WebAppsListBackupStatusSecretsBodyParam {\n /** Information on backup request. */\n body: BackupRequest;\n}\n\nexport interface WebAppsListBackupStatusSecretsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsListBackupStatusSecretsParameters = WebAppsListBackupStatusSecretsMediaTypesParam &\n WebAppsListBackupStatusSecretsBodyParam &\n RequestParameters;\n\nexport interface WebAppsRestoreBodyParam {\n /** Information on restore request . */\n body: RestoreRequest;\n}\n\nexport interface WebAppsRestoreMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsRestoreParameters = WebAppsRestoreMediaTypesParam &\n WebAppsRestoreBodyParam &\n RequestParameters;\nexport type WebAppsListBasicPublishingCredentialsPoliciesParameters = RequestParameters;\nexport type WebAppsGetFtpAllowedParameters = RequestParameters;\n\nexport interface WebAppsUpdateFtpAllowedBodyParam {\n body: CsmPublishingCredentialsPoliciesEntity;\n}\n\nexport interface WebAppsUpdateFtpAllowedMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateFtpAllowedParameters = WebAppsUpdateFtpAllowedMediaTypesParam &\n WebAppsUpdateFtpAllowedBodyParam &\n RequestParameters;\nexport type WebAppsGetScmAllowedParameters = RequestParameters;\n\nexport interface WebAppsUpdateScmAllowedBodyParam {\n body: CsmPublishingCredentialsPoliciesEntity;\n}\n\nexport interface WebAppsUpdateScmAllowedMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateScmAllowedParameters = WebAppsUpdateScmAllowedMediaTypesParam &\n WebAppsUpdateScmAllowedBodyParam &\n RequestParameters;\nexport type WebAppsListConfigurationsParameters = RequestParameters;\n\nexport interface WebAppsUpdateApplicationSettingsBodyParam {\n /** Application settings of the app. */\n body: StringDictionary;\n}\n\nexport interface WebAppsUpdateApplicationSettingsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateApplicationSettingsParameters = WebAppsUpdateApplicationSettingsMediaTypesParam &\n WebAppsUpdateApplicationSettingsBodyParam &\n RequestParameters;\nexport type WebAppsListApplicationSettingsParameters = RequestParameters;\n\nexport interface WebAppsUpdateAuthSettingsBodyParam {\n /** Auth settings associated with web app. */\n body: SiteAuthSettings;\n}\n\nexport interface WebAppsUpdateAuthSettingsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateAuthSettingsParameters = WebAppsUpdateAuthSettingsMediaTypesParam &\n WebAppsUpdateAuthSettingsBodyParam &\n RequestParameters;\nexport type WebAppsGetAuthSettingsParameters = RequestParameters;\nexport type WebAppsGetAuthSettingsV2WithoutSecretsParameters = RequestParameters;\n\nexport interface WebAppsUpdateAuthSettingsV2BodyParam {\n /** Auth settings associated with web app. */\n body: SiteAuthSettingsV2;\n}\n\nexport interface WebAppsUpdateAuthSettingsV2MediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateAuthSettingsV2Parameters = WebAppsUpdateAuthSettingsV2MediaTypesParam &\n WebAppsUpdateAuthSettingsV2BodyParam &\n RequestParameters;\nexport type WebAppsGetAuthSettingsV2Parameters = RequestParameters;\n\nexport interface WebAppsUpdateAzureStorageAccountsBodyParam {\n /** Azure storage accounts of the app. */\n body: AzureStoragePropertyDictionaryResource;\n}\n\nexport interface WebAppsUpdateAzureStorageAccountsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateAzureStorageAccountsParameters = WebAppsUpdateAzureStorageAccountsMediaTypesParam &\n WebAppsUpdateAzureStorageAccountsBodyParam &\n RequestParameters;\nexport type WebAppsListAzureStorageAccountsParameters = RequestParameters;\n\nexport interface WebAppsUpdateBackupConfigurationBodyParam {\n /** Edited backup configuration. */\n body: BackupRequest;\n}\n\nexport interface WebAppsUpdateBackupConfigurationMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateBackupConfigurationParameters = WebAppsUpdateBackupConfigurationMediaTypesParam &\n WebAppsUpdateBackupConfigurationBodyParam &\n RequestParameters;\nexport type WebAppsDeleteBackupConfigurationParameters = RequestParameters;\nexport type WebAppsGetBackupConfigurationParameters = RequestParameters;\nexport type WebAppsGetAppSettingsKeyVaultReferencesParameters = RequestParameters;\nexport type WebAppsGetAppSettingKeyVaultReferenceParameters = RequestParameters;\nexport type WebAppsGetSiteConnectionStringKeyVaultReferencesParameters = RequestParameters;\nexport type WebAppsGetSiteConnectionStringKeyVaultReferenceParameters = RequestParameters;\n\nexport interface WebAppsUpdateConnectionStringsBodyParam {\n /** Connection strings of the app or deployment slot. See example. */\n body: ConnectionStringDictionary;\n}\n\nexport interface WebAppsUpdateConnectionStringsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateConnectionStringsParameters = WebAppsUpdateConnectionStringsMediaTypesParam &\n WebAppsUpdateConnectionStringsBodyParam &\n RequestParameters;\nexport type WebAppsListConnectionStringsParameters = RequestParameters;\nexport type WebAppsGetDiagnosticLogsConfigurationParameters = RequestParameters;\n\nexport interface WebAppsUpdateDiagnosticLogsConfigBodyParam {\n /** A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property. */\n body: SiteLogsConfig;\n}\n\nexport interface WebAppsUpdateDiagnosticLogsConfigMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateDiagnosticLogsConfigParameters = WebAppsUpdateDiagnosticLogsConfigMediaTypesParam &\n WebAppsUpdateDiagnosticLogsConfigBodyParam &\n RequestParameters;\n\nexport interface WebAppsUpdateMetadataBodyParam {\n /** Edited metadata of the app or deployment slot. See example. */\n body: StringDictionary;\n}\n\nexport interface WebAppsUpdateMetadataMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateMetadataParameters = WebAppsUpdateMetadataMediaTypesParam &\n WebAppsUpdateMetadataBodyParam &\n RequestParameters;\nexport type WebAppsListMetadataParameters = RequestParameters;\nexport type WebAppsListPublishingCredentialsParameters = RequestParameters;\n\nexport interface WebAppsUpdateSitePushSettingsBodyParam {\n /** Push settings associated with web app. */\n body: PushSettings;\n}\n\nexport interface WebAppsUpdateSitePushSettingsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateSitePushSettingsParameters = WebAppsUpdateSitePushSettingsMediaTypesParam &\n WebAppsUpdateSitePushSettingsBodyParam &\n RequestParameters;\nexport type WebAppsListSitePushSettingsParameters = RequestParameters;\nexport type WebAppsListSlotConfigurationNamesParameters = RequestParameters;\n\nexport interface WebAppsUpdateSlotConfigurationNamesBodyParam {\n /** Names of application settings and connection strings. See example. */\n body: SlotConfigNamesResource;\n}\n\nexport interface WebAppsUpdateSlotConfigurationNamesMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateSlotConfigurationNamesParameters = WebAppsUpdateSlotConfigurationNamesMediaTypesParam &\n WebAppsUpdateSlotConfigurationNamesBodyParam &\n RequestParameters;\nexport type WebAppsGetConfigurationParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateConfigurationBodyParam {\n /** JSON representation of a SiteConfig object. See example. */\n body: SiteConfigResource;\n}\n\nexport interface WebAppsCreateOrUpdateConfigurationMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateConfigurationParameters = WebAppsCreateOrUpdateConfigurationMediaTypesParam &\n WebAppsCreateOrUpdateConfigurationBodyParam &\n RequestParameters;\n\nexport interface WebAppsUpdateConfigurationBodyParam {\n /** JSON representation of a SiteConfig object. See example. */\n body: SiteConfigResource;\n}\n\nexport interface WebAppsUpdateConfigurationMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateConfigurationParameters = WebAppsUpdateConfigurationMediaTypesParam &\n WebAppsUpdateConfigurationBodyParam &\n RequestParameters;\nexport type WebAppsListConfigurationSnapshotInfoParameters = RequestParameters;\nexport type WebAppsGetConfigurationSnapshotParameters = RequestParameters;\nexport type WebAppsRecoverSiteConfigurationSnapshotParameters = RequestParameters;\nexport type WebAppsGetWebSiteContainerLogsParameters = RequestParameters;\nexport type WebAppsGetContainerLogsZipParameters = RequestParameters;\nexport type WebAppsListContinuousWebJobsParameters = RequestParameters;\nexport type WebAppsGetContinuousWebJobParameters = RequestParameters;\nexport type WebAppsDeleteContinuousWebJobParameters = RequestParameters;\nexport type WebAppsStartContinuousWebJobParameters = RequestParameters;\nexport type WebAppsStopContinuousWebJobParameters = RequestParameters;\nexport type WebAppsListDeploymentsParameters = RequestParameters;\nexport type WebAppsGetDeploymentParameters = RequestParameters;\n\nexport interface WebAppsCreateDeploymentBodyParam {\n /** Deployment details. */\n body: Deployment;\n}\n\nexport interface WebAppsCreateDeploymentMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateDeploymentParameters = WebAppsCreateDeploymentMediaTypesParam &\n WebAppsCreateDeploymentBodyParam &\n RequestParameters;\nexport type WebAppsDeleteDeploymentParameters = RequestParameters;\nexport type WebAppsListDeploymentLogParameters = RequestParameters;\n\nexport interface WebAppsDiscoverBackupBodyParam {\n /** A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. */\n body: RestoreRequest;\n}\n\nexport interface WebAppsDiscoverBackupMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsDiscoverBackupParameters = WebAppsDiscoverBackupMediaTypesParam &\n WebAppsDiscoverBackupBodyParam &\n RequestParameters;\nexport type WebAppsListDomainOwnershipIdentifiersParameters = RequestParameters;\nexport type WebAppsGetDomainOwnershipIdentifierParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateDomainOwnershipIdentifierBodyParam {\n /** A JSON representation of the domain ownership properties. */\n body: Identifier;\n}\n\nexport interface WebAppsCreateOrUpdateDomainOwnershipIdentifierMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateDomainOwnershipIdentifierParameters = WebAppsCreateOrUpdateDomainOwnershipIdentifierMediaTypesParam &\n WebAppsCreateOrUpdateDomainOwnershipIdentifierBodyParam &\n RequestParameters;\nexport type WebAppsDeleteDomainOwnershipIdentifierParameters = RequestParameters;\n\nexport interface WebAppsUpdateDomainOwnershipIdentifierBodyParam {\n /** A JSON representation of the domain ownership properties. */\n body: Identifier;\n}\n\nexport interface WebAppsUpdateDomainOwnershipIdentifierMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateDomainOwnershipIdentifierParameters = WebAppsUpdateDomainOwnershipIdentifierMediaTypesParam &\n WebAppsUpdateDomainOwnershipIdentifierBodyParam &\n RequestParameters;\nexport type WebAppsGetMSDeployStatusParameters = RequestParameters;\n\nexport interface WebAppsCreateMSDeployOperationBodyParam {\n /** Details of MSDeploy operation */\n body: MSDeploy;\n}\n\nexport interface WebAppsCreateMSDeployOperationMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateMSDeployOperationParameters = WebAppsCreateMSDeployOperationMediaTypesParam &\n WebAppsCreateMSDeployOperationBodyParam &\n RequestParameters;\nexport type WebAppsGetMSDeployLogParameters = RequestParameters;\nexport type WebAppsGetOneDeployStatusParameters = RequestParameters;\nexport type WebAppsCreateOneDeployOperationParameters = RequestParameters;\nexport type WebAppsListFunctionsParameters = RequestParameters;\nexport type WebAppsGetFunctionsAdminTokenParameters = RequestParameters;\nexport type WebAppsGetFunctionParameters = RequestParameters;\n\nexport interface WebAppsCreateFunctionBodyParam {\n /** Function details. */\n body: FunctionEnvelope;\n}\n\nexport interface WebAppsCreateFunctionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateFunctionParameters = WebAppsCreateFunctionMediaTypesParam &\n WebAppsCreateFunctionBodyParam &\n RequestParameters;\nexport type WebAppsDeleteFunctionParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateFunctionSecretBodyParam {\n /** The key to create or update */\n body: KeyInfo;\n}\n\nexport interface WebAppsCreateOrUpdateFunctionSecretMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateFunctionSecretParameters = WebAppsCreateOrUpdateFunctionSecretMediaTypesParam &\n WebAppsCreateOrUpdateFunctionSecretBodyParam &\n RequestParameters;\nexport type WebAppsDeleteFunctionSecretParameters = RequestParameters;\nexport type WebAppsListFunctionKeysParameters = RequestParameters;\nexport type WebAppsListFunctionSecretsParameters = RequestParameters;\nexport type WebAppsListHostKeysParameters = RequestParameters;\nexport type WebAppsListSyncStatusParameters = RequestParameters;\nexport type WebAppsSyncFunctionsParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateHostSecretBodyParam {\n /** The key to create or update */\n body: KeyInfo;\n}\n\nexport interface WebAppsCreateOrUpdateHostSecretMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateHostSecretParameters = WebAppsCreateOrUpdateHostSecretMediaTypesParam &\n WebAppsCreateOrUpdateHostSecretBodyParam &\n RequestParameters;\nexport type WebAppsDeleteHostSecretParameters = RequestParameters;\nexport type WebAppsListHostNameBindingsParameters = RequestParameters;\nexport type WebAppsGetHostNameBindingParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateHostNameBindingBodyParam {\n /** Binding details. This is the JSON representation of a HostNameBinding object. */\n body: HostNameBinding;\n}\n\nexport interface WebAppsCreateOrUpdateHostNameBindingMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateHostNameBindingParameters = WebAppsCreateOrUpdateHostNameBindingMediaTypesParam &\n WebAppsCreateOrUpdateHostNameBindingBodyParam &\n RequestParameters;\nexport type WebAppsDeleteHostNameBindingParameters = RequestParameters;\nexport type WebAppsGetHybridConnectionParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateHybridConnectionBodyParam {\n /** The details of the hybrid connection. */\n body: HybridConnection;\n}\n\nexport interface WebAppsCreateOrUpdateHybridConnectionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateHybridConnectionParameters = WebAppsCreateOrUpdateHybridConnectionMediaTypesParam &\n WebAppsCreateOrUpdateHybridConnectionBodyParam &\n RequestParameters;\nexport type WebAppsDeleteHybridConnectionParameters = RequestParameters;\n\nexport interface WebAppsUpdateHybridConnectionBodyParam {\n /** The details of the hybrid connection. */\n body: HybridConnection;\n}\n\nexport interface WebAppsUpdateHybridConnectionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateHybridConnectionParameters = WebAppsUpdateHybridConnectionMediaTypesParam &\n WebAppsUpdateHybridConnectionBodyParam &\n RequestParameters;\nexport type WebAppsListHybridConnectionsParameters = RequestParameters;\nexport type WebAppsListRelayServiceConnectionsParameters = RequestParameters;\nexport type WebAppsGetRelayServiceConnectionParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateRelayServiceConnectionBodyParam {\n /** Details of the hybrid connection configuration. */\n body: RelayServiceConnectionEntity;\n}\n\nexport interface WebAppsCreateOrUpdateRelayServiceConnectionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateRelayServiceConnectionParameters = WebAppsCreateOrUpdateRelayServiceConnectionMediaTypesParam &\n WebAppsCreateOrUpdateRelayServiceConnectionBodyParam &\n RequestParameters;\nexport type WebAppsDeleteRelayServiceConnectionParameters = RequestParameters;\n\nexport interface WebAppsUpdateRelayServiceConnectionBodyParam {\n /** Details of the hybrid connection configuration. */\n body: RelayServiceConnectionEntity;\n}\n\nexport interface WebAppsUpdateRelayServiceConnectionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateRelayServiceConnectionParameters = WebAppsUpdateRelayServiceConnectionMediaTypesParam &\n WebAppsUpdateRelayServiceConnectionBodyParam &\n RequestParameters;\nexport type WebAppsListInstanceIdentifiersParameters = RequestParameters;\nexport type WebAppsGetInstanceInfoParameters = RequestParameters;\nexport type WebAppsGetInstanceMsDeployStatusParameters = RequestParameters;\n\nexport interface WebAppsCreateInstanceMSDeployOperationBodyParam {\n /** Details of MSDeploy operation */\n body: MSDeploy;\n}\n\nexport interface WebAppsCreateInstanceMSDeployOperationMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateInstanceMSDeployOperationParameters = WebAppsCreateInstanceMSDeployOperationMediaTypesParam &\n WebAppsCreateInstanceMSDeployOperationBodyParam &\n RequestParameters;\nexport type WebAppsGetInstanceMSDeployLogParameters = RequestParameters;\nexport type WebAppsListInstanceProcessesParameters = RequestParameters;\nexport type WebAppsGetInstanceProcessParameters = RequestParameters;\nexport type WebAppsDeleteInstanceProcessParameters = RequestParameters;\nexport type WebAppsGetInstanceProcessDumpParameters = RequestParameters;\nexport type WebAppsListInstanceProcessModulesParameters = RequestParameters;\nexport type WebAppsGetInstanceProcessModuleParameters = RequestParameters;\nexport type WebAppsListInstanceProcessThreadsParameters = RequestParameters;\nexport type WebAppsIsCloneableParameters = RequestParameters;\nexport type WebAppsListSiteBackupsParameters = RequestParameters;\nexport type WebAppsListSyncFunctionTriggersParameters = RequestParameters;\n\nexport interface WebAppsMigrateStorageBodyParam {\n /** Migration migrationOptions. */\n body: StorageMigrationOptions;\n}\n\nexport interface WebAppsMigrateStorageQueryParamProperties {\n /** Azure subscription. */\n subscriptionName: string;\n}\n\nexport interface WebAppsMigrateStorageQueryParam {\n queryParameters: WebAppsMigrateStorageQueryParamProperties;\n}\n\nexport interface WebAppsMigrateStorageMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsMigrateStorageParameters = WebAppsMigrateStorageQueryParam &\n WebAppsMigrateStorageMediaTypesParam &\n WebAppsMigrateStorageBodyParam &\n RequestParameters;\n\nexport interface WebAppsMigrateMySqlBodyParam {\n /** MySql migration options. */\n body: MigrateMySqlRequest;\n}\n\nexport interface WebAppsMigrateMySqlMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsMigrateMySqlParameters = WebAppsMigrateMySqlMediaTypesParam &\n WebAppsMigrateMySqlBodyParam &\n RequestParameters;\nexport type WebAppsGetMigrateMySqlStatusParameters = RequestParameters;\nexport type WebAppsGetSwiftVirtualNetworkConnectionParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckBodyParam {\n /** Properties of the Virtual Network connection. See example. */\n body: SwiftVirtualNetwork;\n}\n\nexport interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckParameters = WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckMediaTypesParam &\n WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckBodyParam &\n RequestParameters;\nexport type WebAppsDeleteSwiftVirtualNetworkParameters = RequestParameters;\n\nexport interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckBodyParam {\n /** Properties of the Virtual Network connection. See example. */\n body: SwiftVirtualNetwork;\n}\n\nexport interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckParameters = WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckMediaTypesParam &\n WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckBodyParam &\n RequestParameters;\nexport type WebAppsListNetworkFeaturesParameters = RequestParameters;\nexport type WebAppsGetNetworkTraceOperationParameters = RequestParameters;\n\nexport interface WebAppsStartWebSiteNetworkTraceQueryParamProperties {\n /** The duration to keep capturing in seconds. */\n durationInSeconds?: number;\n /** The maximum frame length in bytes (Optional). */\n maxFrameLength?: number;\n /** The Blob URL to store capture file. */\n sasUrl?: string;\n}\n\nexport interface WebAppsStartWebSiteNetworkTraceQueryParam {\n queryParameters?: WebAppsStartWebSiteNetworkTraceQueryParamProperties;\n}\n\nexport type WebAppsStartWebSiteNetworkTraceParameters = WebAppsStartWebSiteNetworkTraceQueryParam &\n RequestParameters;\n\nexport interface WebAppsStartWebSiteNetworkTraceOperationQueryParamProperties {\n /** The duration to keep capturing in seconds. */\n durationInSeconds?: number;\n /** The maximum frame length in bytes (Optional). */\n maxFrameLength?: number;\n /** The Blob URL to store capture file. */\n sasUrl?: string;\n}\n\nexport interface WebAppsStartWebSiteNetworkTraceOperationQueryParam {\n queryParameters?: WebAppsStartWebSiteNetworkTraceOperationQueryParamProperties;\n}\n\nexport type WebAppsStartWebSiteNetworkTraceOperationParameters = WebAppsStartWebSiteNetworkTraceOperationQueryParam &\n RequestParameters;\nexport type WebAppsStopWebSiteNetworkTraceParameters = RequestParameters;\nexport type WebAppsGetNetworkTracesParameters = RequestParameters;\nexport type WebAppsGetNetworkTraceOperationV2Parameters = RequestParameters;\nexport type WebAppsGetNetworkTracesV2Parameters = RequestParameters;\nexport type WebAppsGenerateNewSitePublishingPasswordParameters = RequestParameters;\n\nexport interface WebAppsListPerfMonCountersQueryParamProperties {\n /** Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. */\n $filter?: string;\n}\n\nexport interface WebAppsListPerfMonCountersQueryParam {\n queryParameters?: WebAppsListPerfMonCountersQueryParamProperties;\n}\n\nexport type WebAppsListPerfMonCountersParameters = WebAppsListPerfMonCountersQueryParam &\n RequestParameters;\nexport type WebAppsGetSitePhpErrorLogFlagParameters = RequestParameters;\nexport type WebAppsListPremierAddOnsParameters = RequestParameters;\nexport type WebAppsGetPremierAddOnParameters = RequestParameters;\n\nexport interface WebAppsAddPremierAddOnBodyParam {\n /** A JSON representation of the edited premier add-on. */\n body: PremierAddOn;\n}\n\nexport interface WebAppsAddPremierAddOnMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsAddPremierAddOnParameters = WebAppsAddPremierAddOnMediaTypesParam &\n WebAppsAddPremierAddOnBodyParam &\n RequestParameters;\nexport type WebAppsDeletePremierAddOnParameters = RequestParameters;\n\nexport interface WebAppsUpdatePremierAddOnBodyParam {\n /** A JSON representation of the edited premier add-on. */\n body: PremierAddOnPatchResource;\n}\n\nexport interface WebAppsUpdatePremierAddOnMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdatePremierAddOnParameters = WebAppsUpdatePremierAddOnMediaTypesParam &\n WebAppsUpdatePremierAddOnBodyParam &\n RequestParameters;\nexport type WebAppsGetPrivateAccessParameters = RequestParameters;\n\nexport interface WebAppsPutPrivateAccessVnetBodyParam {\n /** The information for the private access */\n body: PrivateAccess;\n}\n\nexport interface WebAppsPutPrivateAccessVnetMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsPutPrivateAccessVnetParameters = WebAppsPutPrivateAccessVnetMediaTypesParam &\n WebAppsPutPrivateAccessVnetBodyParam &\n RequestParameters;\nexport type WebAppsGetPrivateEndpointConnectionListParameters = RequestParameters;\nexport type WebAppsGetPrivateEndpointConnectionParameters = RequestParameters;\n\nexport interface WebAppsApproveOrRejectPrivateEndpointConnectionBodyParam {\n body: PrivateLinkConnectionApprovalRequestResource;\n}\n\nexport interface WebAppsApproveOrRejectPrivateEndpointConnectionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsApproveOrRejectPrivateEndpointConnectionParameters = WebAppsApproveOrRejectPrivateEndpointConnectionMediaTypesParam &\n WebAppsApproveOrRejectPrivateEndpointConnectionBodyParam &\n RequestParameters;\nexport type WebAppsDeletePrivateEndpointConnectionParameters = RequestParameters;\nexport type WebAppsGetPrivateLinkResourcesParameters = RequestParameters;\nexport type WebAppsListProcessesParameters = RequestParameters;\nexport type WebAppsGetProcessParameters = RequestParameters;\nexport type WebAppsDeleteProcessParameters = RequestParameters;\nexport type WebAppsGetProcessDumpParameters = RequestParameters;\nexport type WebAppsListProcessModulesParameters = RequestParameters;\nexport type WebAppsGetProcessModuleParameters = RequestParameters;\nexport type WebAppsListProcessThreadsParameters = RequestParameters;\nexport type WebAppsListPublicCertificatesParameters = RequestParameters;\nexport type WebAppsGetPublicCertificateParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdatePublicCertificateBodyParam {\n /** Public certificate details. This is the JSON representation of a PublicCertificate object. */\n body: PublicCertificate;\n}\n\nexport interface WebAppsCreateOrUpdatePublicCertificateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdatePublicCertificateParameters = WebAppsCreateOrUpdatePublicCertificateMediaTypesParam &\n WebAppsCreateOrUpdatePublicCertificateBodyParam &\n RequestParameters;\nexport type WebAppsDeletePublicCertificateParameters = RequestParameters;\n\nexport interface WebAppsListPublishingProfileXmlWithSecretsBodyParam {\n /** Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile. */\n body: CsmPublishingProfileOptions;\n}\n\nexport interface WebAppsListPublishingProfileXmlWithSecretsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsListPublishingProfileXmlWithSecretsParameters = WebAppsListPublishingProfileXmlWithSecretsMediaTypesParam &\n WebAppsListPublishingProfileXmlWithSecretsBodyParam &\n RequestParameters;\nexport type WebAppsResetProductionSlotConfigParameters = RequestParameters;\n\nexport interface WebAppsRestartQueryParamProperties {\n /** Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. */\n softRestart?: boolean;\n /** Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). */\n synchronous?: boolean;\n}\n\nexport interface WebAppsRestartQueryParam {\n queryParameters?: WebAppsRestartQueryParamProperties;\n}\n\nexport type WebAppsRestartParameters = WebAppsRestartQueryParam & RequestParameters;\n\nexport interface WebAppsRestoreFromBackupBlobBodyParam {\n /** Information on restore request . */\n body: RestoreRequest;\n}\n\nexport interface WebAppsRestoreFromBackupBlobMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsRestoreFromBackupBlobParameters = WebAppsRestoreFromBackupBlobMediaTypesParam &\n WebAppsRestoreFromBackupBlobBodyParam &\n RequestParameters;\n\nexport interface WebAppsRestoreFromDeletedAppBodyParam {\n /** Deleted web app restore information. */\n body: DeletedAppRestoreRequest;\n}\n\nexport interface WebAppsRestoreFromDeletedAppMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsRestoreFromDeletedAppParameters = WebAppsRestoreFromDeletedAppMediaTypesParam &\n WebAppsRestoreFromDeletedAppBodyParam &\n RequestParameters;\n\nexport interface WebAppsRestoreSnapshotBodyParam {\n /** Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. */\n body: SnapshotRestoreRequest;\n}\n\nexport interface WebAppsRestoreSnapshotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsRestoreSnapshotParameters = WebAppsRestoreSnapshotMediaTypesParam &\n WebAppsRestoreSnapshotBodyParam &\n RequestParameters;\nexport type WebAppsListSiteExtensionsParameters = RequestParameters;\nexport type WebAppsGetSiteExtensionParameters = RequestParameters;\nexport type WebAppsInstallSiteExtensionParameters = RequestParameters;\nexport type WebAppsDeleteSiteExtensionParameters = RequestParameters;\nexport type WebAppsListSlotsParameters = RequestParameters;\nexport type WebAppsGetSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateSlotBodyParam {\n /** A JSON representation of the app properties. See example. */\n body: Site;\n}\n\nexport interface WebAppsCreateOrUpdateSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateSlotParameters = WebAppsCreateOrUpdateSlotMediaTypesParam &\n WebAppsCreateOrUpdateSlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsDeleteSlotQueryParamProperties {\n /** If true, web app metrics are also deleted. */\n deleteMetrics?: boolean;\n /** Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted. */\n deleteEmptyServerFarm?: boolean;\n}\n\nexport interface WebAppsDeleteSlotQueryParam {\n queryParameters?: WebAppsDeleteSlotQueryParamProperties;\n}\n\nexport type WebAppsDeleteSlotParameters = WebAppsDeleteSlotQueryParam & RequestParameters;\n\nexport interface WebAppsUpdateSlotBodyParam {\n /** A JSON representation of the app properties. See example. */\n body: SitePatchResource;\n}\n\nexport interface WebAppsUpdateSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateSlotParameters = WebAppsUpdateSlotMediaTypesParam &\n WebAppsUpdateSlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsAnalyzeCustomHostnameSlotQueryParamProperties {\n /** Custom hostname. */\n hostName?: string;\n}\n\nexport interface WebAppsAnalyzeCustomHostnameSlotQueryParam {\n queryParameters?: WebAppsAnalyzeCustomHostnameSlotQueryParamProperties;\n}\n\nexport type WebAppsAnalyzeCustomHostnameSlotParameters = WebAppsAnalyzeCustomHostnameSlotQueryParam &\n RequestParameters;\n\nexport interface WebAppsApplySlotConfigurationSlotBodyParam {\n /** JSON object that contains the target slot name. See example. */\n body: CsmSlotEntity;\n}\n\nexport interface WebAppsApplySlotConfigurationSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsApplySlotConfigurationSlotParameters = WebAppsApplySlotConfigurationSlotMediaTypesParam &\n WebAppsApplySlotConfigurationSlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsBackupSlotBodyParam {\n /** Backup configuration. You can use the JSON response from the POST action as input here. */\n body: BackupRequest;\n}\n\nexport interface WebAppsBackupSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsBackupSlotParameters = WebAppsBackupSlotMediaTypesParam &\n WebAppsBackupSlotBodyParam &\n RequestParameters;\nexport type WebAppsListBackupsSlotParameters = RequestParameters;\nexport type WebAppsGetBackupStatusSlotParameters = RequestParameters;\nexport type WebAppsDeleteBackupSlotParameters = RequestParameters;\n\nexport interface WebAppsListBackupStatusSecretsSlotBodyParam {\n /** Information on backup request. */\n body: BackupRequest;\n}\n\nexport interface WebAppsListBackupStatusSecretsSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsListBackupStatusSecretsSlotParameters = WebAppsListBackupStatusSecretsSlotMediaTypesParam &\n WebAppsListBackupStatusSecretsSlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsRestoreSlotBodyParam {\n /** Information on restore request . */\n body: RestoreRequest;\n}\n\nexport interface WebAppsRestoreSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsRestoreSlotParameters = WebAppsRestoreSlotMediaTypesParam &\n WebAppsRestoreSlotBodyParam &\n RequestParameters;\nexport type WebAppsListBasicPublishingCredentialsPoliciesSlotParameters = RequestParameters;\nexport type WebAppsGetFtpAllowedSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateFtpAllowedSlotBodyParam {\n body: CsmPublishingCredentialsPoliciesEntity;\n}\n\nexport interface WebAppsUpdateFtpAllowedSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateFtpAllowedSlotParameters = WebAppsUpdateFtpAllowedSlotMediaTypesParam &\n WebAppsUpdateFtpAllowedSlotBodyParam &\n RequestParameters;\nexport type WebAppsGetScmAllowedSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateScmAllowedSlotBodyParam {\n body: CsmPublishingCredentialsPoliciesEntity;\n}\n\nexport interface WebAppsUpdateScmAllowedSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateScmAllowedSlotParameters = WebAppsUpdateScmAllowedSlotMediaTypesParam &\n WebAppsUpdateScmAllowedSlotBodyParam &\n RequestParameters;\nexport type WebAppsListConfigurationsSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateApplicationSettingsSlotBodyParam {\n /** Application settings of the app. */\n body: StringDictionary;\n}\n\nexport interface WebAppsUpdateApplicationSettingsSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateApplicationSettingsSlotParameters = WebAppsUpdateApplicationSettingsSlotMediaTypesParam &\n WebAppsUpdateApplicationSettingsSlotBodyParam &\n RequestParameters;\nexport type WebAppsListApplicationSettingsSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateAuthSettingsSlotBodyParam {\n /** Auth settings associated with web app. */\n body: SiteAuthSettings;\n}\n\nexport interface WebAppsUpdateAuthSettingsSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateAuthSettingsSlotParameters = WebAppsUpdateAuthSettingsSlotMediaTypesParam &\n WebAppsUpdateAuthSettingsSlotBodyParam &\n RequestParameters;\nexport type WebAppsGetAuthSettingsSlotParameters = RequestParameters;\nexport type WebAppsGetAuthSettingsV2WithoutSecretsSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateAuthSettingsV2SlotBodyParam {\n /** Auth settings associated with web app. */\n body: SiteAuthSettingsV2;\n}\n\nexport interface WebAppsUpdateAuthSettingsV2SlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateAuthSettingsV2SlotParameters = WebAppsUpdateAuthSettingsV2SlotMediaTypesParam &\n WebAppsUpdateAuthSettingsV2SlotBodyParam &\n RequestParameters;\nexport type WebAppsGetAuthSettingsV2SlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateAzureStorageAccountsSlotBodyParam {\n /** Azure storage accounts of the app. */\n body: AzureStoragePropertyDictionaryResource;\n}\n\nexport interface WebAppsUpdateAzureStorageAccountsSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateAzureStorageAccountsSlotParameters = WebAppsUpdateAzureStorageAccountsSlotMediaTypesParam &\n WebAppsUpdateAzureStorageAccountsSlotBodyParam &\n RequestParameters;\nexport type WebAppsListAzureStorageAccountsSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateBackupConfigurationSlotBodyParam {\n /** Edited backup configuration. */\n body: BackupRequest;\n}\n\nexport interface WebAppsUpdateBackupConfigurationSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateBackupConfigurationSlotParameters = WebAppsUpdateBackupConfigurationSlotMediaTypesParam &\n WebAppsUpdateBackupConfigurationSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteBackupConfigurationSlotParameters = RequestParameters;\nexport type WebAppsGetBackupConfigurationSlotParameters = RequestParameters;\nexport type WebAppsGetAppSettingsKeyVaultReferencesSlotParameters = RequestParameters;\nexport type WebAppsGetAppSettingKeyVaultReferenceSlotParameters = RequestParameters;\nexport type WebAppsGetSiteConnectionStringKeyVaultReferencesSlotParameters = RequestParameters;\nexport type WebAppsGetSiteConnectionStringKeyVaultReferenceSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateConnectionStringsSlotBodyParam {\n /** Connection strings of the app or deployment slot. See example. */\n body: ConnectionStringDictionary;\n}\n\nexport interface WebAppsUpdateConnectionStringsSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateConnectionStringsSlotParameters = WebAppsUpdateConnectionStringsSlotMediaTypesParam &\n WebAppsUpdateConnectionStringsSlotBodyParam &\n RequestParameters;\nexport type WebAppsListConnectionStringsSlotParameters = RequestParameters;\nexport type WebAppsGetDiagnosticLogsConfigurationSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateDiagnosticLogsConfigSlotBodyParam {\n /** A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property. */\n body: SiteLogsConfig;\n}\n\nexport interface WebAppsUpdateDiagnosticLogsConfigSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateDiagnosticLogsConfigSlotParameters = WebAppsUpdateDiagnosticLogsConfigSlotMediaTypesParam &\n WebAppsUpdateDiagnosticLogsConfigSlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsUpdateMetadataSlotBodyParam {\n /** Edited metadata of the app or deployment slot. See example. */\n body: StringDictionary;\n}\n\nexport interface WebAppsUpdateMetadataSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateMetadataSlotParameters = WebAppsUpdateMetadataSlotMediaTypesParam &\n WebAppsUpdateMetadataSlotBodyParam &\n RequestParameters;\nexport type WebAppsListMetadataSlotParameters = RequestParameters;\nexport type WebAppsListPublishingCredentialsSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateSitePushSettingsSlotBodyParam {\n /** Push settings associated with web app. */\n body: PushSettings;\n}\n\nexport interface WebAppsUpdateSitePushSettingsSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateSitePushSettingsSlotParameters = WebAppsUpdateSitePushSettingsSlotMediaTypesParam &\n WebAppsUpdateSitePushSettingsSlotBodyParam &\n RequestParameters;\nexport type WebAppsListSitePushSettingsSlotParameters = RequestParameters;\nexport type WebAppsGetConfigurationSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateConfigurationSlotBodyParam {\n /** JSON representation of a SiteConfig object. See example. */\n body: SiteConfigResource;\n}\n\nexport interface WebAppsCreateOrUpdateConfigurationSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateConfigurationSlotParameters = WebAppsCreateOrUpdateConfigurationSlotMediaTypesParam &\n WebAppsCreateOrUpdateConfigurationSlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsUpdateConfigurationSlotBodyParam {\n /** JSON representation of a SiteConfig object. See example. */\n body: SiteConfigResource;\n}\n\nexport interface WebAppsUpdateConfigurationSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateConfigurationSlotParameters = WebAppsUpdateConfigurationSlotMediaTypesParam &\n WebAppsUpdateConfigurationSlotBodyParam &\n RequestParameters;\nexport type WebAppsListConfigurationSnapshotInfoSlotParameters = RequestParameters;\nexport type WebAppsGetConfigurationSnapshotSlotParameters = RequestParameters;\nexport type WebAppsRecoverSiteConfigurationSnapshotSlotParameters = RequestParameters;\nexport type WebAppsGetWebSiteContainerLogsSlotParameters = RequestParameters;\nexport type WebAppsGetContainerLogsZipSlotParameters = RequestParameters;\nexport type WebAppsListContinuousWebJobsSlotParameters = RequestParameters;\nexport type WebAppsGetContinuousWebJobSlotParameters = RequestParameters;\nexport type WebAppsDeleteContinuousWebJobSlotParameters = RequestParameters;\nexport type WebAppsStartContinuousWebJobSlotParameters = RequestParameters;\nexport type WebAppsStopContinuousWebJobSlotParameters = RequestParameters;\nexport type WebAppsListDeploymentsSlotParameters = RequestParameters;\nexport type WebAppsGetDeploymentSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateDeploymentSlotBodyParam {\n /** Deployment details. */\n body: Deployment;\n}\n\nexport interface WebAppsCreateDeploymentSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateDeploymentSlotParameters = WebAppsCreateDeploymentSlotMediaTypesParam &\n WebAppsCreateDeploymentSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteDeploymentSlotParameters = RequestParameters;\nexport type WebAppsListDeploymentLogSlotParameters = RequestParameters;\n\nexport interface WebAppsDiscoverBackupSlotBodyParam {\n /** A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. */\n body: RestoreRequest;\n}\n\nexport interface WebAppsDiscoverBackupSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsDiscoverBackupSlotParameters = WebAppsDiscoverBackupSlotMediaTypesParam &\n WebAppsDiscoverBackupSlotBodyParam &\n RequestParameters;\nexport type WebAppsListDomainOwnershipIdentifiersSlotParameters = RequestParameters;\nexport type WebAppsGetDomainOwnershipIdentifierSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotBodyParam {\n /** A JSON representation of the domain ownership properties. */\n body: Identifier;\n}\n\nexport interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotParameters = WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotMediaTypesParam &\n WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteDomainOwnershipIdentifierSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateDomainOwnershipIdentifierSlotBodyParam {\n /** A JSON representation of the domain ownership properties. */\n body: Identifier;\n}\n\nexport interface WebAppsUpdateDomainOwnershipIdentifierSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateDomainOwnershipIdentifierSlotParameters = WebAppsUpdateDomainOwnershipIdentifierSlotMediaTypesParam &\n WebAppsUpdateDomainOwnershipIdentifierSlotBodyParam &\n RequestParameters;\nexport type WebAppsGetMSDeployStatusSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateMSDeployOperationSlotBodyParam {\n /** Details of MSDeploy operation */\n body: MSDeploy;\n}\n\nexport interface WebAppsCreateMSDeployOperationSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateMSDeployOperationSlotParameters = WebAppsCreateMSDeployOperationSlotMediaTypesParam &\n WebAppsCreateMSDeployOperationSlotBodyParam &\n RequestParameters;\nexport type WebAppsGetMSDeployLogSlotParameters = RequestParameters;\nexport type WebAppsListInstanceFunctionsSlotParameters = RequestParameters;\nexport type WebAppsGetFunctionsAdminTokenSlotParameters = RequestParameters;\nexport type WebAppsGetInstanceFunctionSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateInstanceFunctionSlotBodyParam {\n /** Function details. */\n body: FunctionEnvelope;\n}\n\nexport interface WebAppsCreateInstanceFunctionSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateInstanceFunctionSlotParameters = WebAppsCreateInstanceFunctionSlotMediaTypesParam &\n WebAppsCreateInstanceFunctionSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteInstanceFunctionSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateFunctionSecretSlotBodyParam {\n /** The key to create or update */\n body: KeyInfo;\n}\n\nexport interface WebAppsCreateOrUpdateFunctionSecretSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateFunctionSecretSlotParameters = WebAppsCreateOrUpdateFunctionSecretSlotMediaTypesParam &\n WebAppsCreateOrUpdateFunctionSecretSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteFunctionSecretSlotParameters = RequestParameters;\nexport type WebAppsListFunctionKeysSlotParameters = RequestParameters;\nexport type WebAppsListFunctionSecretsSlotParameters = RequestParameters;\nexport type WebAppsListHostKeysSlotParameters = RequestParameters;\nexport type WebAppsListSyncStatusSlotParameters = RequestParameters;\nexport type WebAppsSyncFunctionsSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateHostSecretSlotBodyParam {\n /** The key to create or update */\n body: KeyInfo;\n}\n\nexport interface WebAppsCreateOrUpdateHostSecretSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateHostSecretSlotParameters = WebAppsCreateOrUpdateHostSecretSlotMediaTypesParam &\n WebAppsCreateOrUpdateHostSecretSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteHostSecretSlotParameters = RequestParameters;\nexport type WebAppsListHostNameBindingsSlotParameters = RequestParameters;\nexport type WebAppsGetHostNameBindingSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateHostNameBindingSlotBodyParam {\n /** Binding details. This is the JSON representation of a HostNameBinding object. */\n body: HostNameBinding;\n}\n\nexport interface WebAppsCreateOrUpdateHostNameBindingSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateHostNameBindingSlotParameters = WebAppsCreateOrUpdateHostNameBindingSlotMediaTypesParam &\n WebAppsCreateOrUpdateHostNameBindingSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteHostNameBindingSlotParameters = RequestParameters;\nexport type WebAppsGetHybridConnectionSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateHybridConnectionSlotBodyParam {\n /** The details of the hybrid connection. */\n body: HybridConnection;\n}\n\nexport interface WebAppsCreateOrUpdateHybridConnectionSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateHybridConnectionSlotParameters = WebAppsCreateOrUpdateHybridConnectionSlotMediaTypesParam &\n WebAppsCreateOrUpdateHybridConnectionSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteHybridConnectionSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateHybridConnectionSlotBodyParam {\n /** The details of the hybrid connection. */\n body: HybridConnection;\n}\n\nexport interface WebAppsUpdateHybridConnectionSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateHybridConnectionSlotParameters = WebAppsUpdateHybridConnectionSlotMediaTypesParam &\n WebAppsUpdateHybridConnectionSlotBodyParam &\n RequestParameters;\nexport type WebAppsListHybridConnectionsSlotParameters = RequestParameters;\nexport type WebAppsListRelayServiceConnectionsSlotParameters = RequestParameters;\nexport type WebAppsGetRelayServiceConnectionSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateRelayServiceConnectionSlotBodyParam {\n /** Details of the hybrid connection configuration. */\n body: RelayServiceConnectionEntity;\n}\n\nexport interface WebAppsCreateOrUpdateRelayServiceConnectionSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateRelayServiceConnectionSlotParameters = WebAppsCreateOrUpdateRelayServiceConnectionSlotMediaTypesParam &\n WebAppsCreateOrUpdateRelayServiceConnectionSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteRelayServiceConnectionSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateRelayServiceConnectionSlotBodyParam {\n /** Details of the hybrid connection configuration. */\n body: RelayServiceConnectionEntity;\n}\n\nexport interface WebAppsUpdateRelayServiceConnectionSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateRelayServiceConnectionSlotParameters = WebAppsUpdateRelayServiceConnectionSlotMediaTypesParam &\n WebAppsUpdateRelayServiceConnectionSlotBodyParam &\n RequestParameters;\nexport type WebAppsListInstanceIdentifiersSlotParameters = RequestParameters;\nexport type WebAppsGetInstanceInfoSlotParameters = RequestParameters;\nexport type WebAppsGetInstanceMsDeployStatusSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateInstanceMSDeployOperationSlotBodyParam {\n /** Details of MSDeploy operation */\n body: MSDeploy;\n}\n\nexport interface WebAppsCreateInstanceMSDeployOperationSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateInstanceMSDeployOperationSlotParameters = WebAppsCreateInstanceMSDeployOperationSlotMediaTypesParam &\n WebAppsCreateInstanceMSDeployOperationSlotBodyParam &\n RequestParameters;\nexport type WebAppsGetInstanceMSDeployLogSlotParameters = RequestParameters;\nexport type WebAppsListInstanceProcessesSlotParameters = RequestParameters;\nexport type WebAppsGetInstanceProcessSlotParameters = RequestParameters;\nexport type WebAppsDeleteInstanceProcessSlotParameters = RequestParameters;\nexport type WebAppsGetInstanceProcessDumpSlotParameters = RequestParameters;\nexport type WebAppsListInstanceProcessModulesSlotParameters = RequestParameters;\nexport type WebAppsGetInstanceProcessModuleSlotParameters = RequestParameters;\nexport type WebAppsListInstanceProcessThreadsSlotParameters = RequestParameters;\nexport type WebAppsIsCloneableSlotParameters = RequestParameters;\nexport type WebAppsListSiteBackupsSlotParameters = RequestParameters;\nexport type WebAppsListSyncFunctionTriggersSlotParameters = RequestParameters;\nexport type WebAppsGetMigrateMySqlStatusSlotParameters = RequestParameters;\nexport type WebAppsGetSwiftVirtualNetworkConnectionSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotBodyParam {\n /** Properties of the Virtual Network connection. See example. */\n body: SwiftVirtualNetwork;\n}\n\nexport interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters = WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotMediaTypesParam &\n WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteSwiftVirtualNetworkSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotBodyParam {\n /** Properties of the Virtual Network connection. See example. */\n body: SwiftVirtualNetwork;\n}\n\nexport interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters = WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotMediaTypesParam &\n WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotBodyParam &\n RequestParameters;\nexport type WebAppsListNetworkFeaturesSlotParameters = RequestParameters;\nexport type WebAppsGetNetworkTraceOperationSlotParameters = RequestParameters;\n\nexport interface WebAppsStartWebSiteNetworkTraceSlotQueryParamProperties {\n /** The duration to keep capturing in seconds. */\n durationInSeconds?: number;\n /** The maximum frame length in bytes (Optional). */\n maxFrameLength?: number;\n /** The Blob URL to store capture file. */\n sasUrl?: string;\n}\n\nexport interface WebAppsStartWebSiteNetworkTraceSlotQueryParam {\n queryParameters?: WebAppsStartWebSiteNetworkTraceSlotQueryParamProperties;\n}\n\nexport type WebAppsStartWebSiteNetworkTraceSlotParameters = WebAppsStartWebSiteNetworkTraceSlotQueryParam &\n RequestParameters;\n\nexport interface WebAppsStartWebSiteNetworkTraceOperationSlotQueryParamProperties {\n /** The duration to keep capturing in seconds. */\n durationInSeconds?: number;\n /** The maximum frame length in bytes (Optional). */\n maxFrameLength?: number;\n /** The Blob URL to store capture file. */\n sasUrl?: string;\n}\n\nexport interface WebAppsStartWebSiteNetworkTraceOperationSlotQueryParam {\n queryParameters?: WebAppsStartWebSiteNetworkTraceOperationSlotQueryParamProperties;\n}\n\nexport type WebAppsStartWebSiteNetworkTraceOperationSlotParameters = WebAppsStartWebSiteNetworkTraceOperationSlotQueryParam &\n RequestParameters;\nexport type WebAppsStopWebSiteNetworkTraceSlotParameters = RequestParameters;\nexport type WebAppsGetNetworkTracesSlotParameters = RequestParameters;\nexport type WebAppsGetNetworkTraceOperationSlotV2Parameters = RequestParameters;\nexport type WebAppsGetNetworkTracesSlotV2Parameters = RequestParameters;\nexport type WebAppsGenerateNewSitePublishingPasswordSlotParameters = RequestParameters;\n\nexport interface WebAppsListPerfMonCountersSlotQueryParamProperties {\n /** Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. */\n $filter?: string;\n}\n\nexport interface WebAppsListPerfMonCountersSlotQueryParam {\n queryParameters?: WebAppsListPerfMonCountersSlotQueryParamProperties;\n}\n\nexport type WebAppsListPerfMonCountersSlotParameters = WebAppsListPerfMonCountersSlotQueryParam &\n RequestParameters;\nexport type WebAppsGetSitePhpErrorLogFlagSlotParameters = RequestParameters;\nexport type WebAppsListPremierAddOnsSlotParameters = RequestParameters;\nexport type WebAppsGetPremierAddOnSlotParameters = RequestParameters;\n\nexport interface WebAppsAddPremierAddOnSlotBodyParam {\n /** A JSON representation of the edited premier add-on. */\n body: PremierAddOn;\n}\n\nexport interface WebAppsAddPremierAddOnSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsAddPremierAddOnSlotParameters = WebAppsAddPremierAddOnSlotMediaTypesParam &\n WebAppsAddPremierAddOnSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeletePremierAddOnSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdatePremierAddOnSlotBodyParam {\n /** A JSON representation of the edited premier add-on. */\n body: PremierAddOnPatchResource;\n}\n\nexport interface WebAppsUpdatePremierAddOnSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdatePremierAddOnSlotParameters = WebAppsUpdatePremierAddOnSlotMediaTypesParam &\n WebAppsUpdatePremierAddOnSlotBodyParam &\n RequestParameters;\nexport type WebAppsGetPrivateAccessSlotParameters = RequestParameters;\n\nexport interface WebAppsPutPrivateAccessVnetSlotBodyParam {\n /** The information for the private access */\n body: PrivateAccess;\n}\n\nexport interface WebAppsPutPrivateAccessVnetSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsPutPrivateAccessVnetSlotParameters = WebAppsPutPrivateAccessVnetSlotMediaTypesParam &\n WebAppsPutPrivateAccessVnetSlotBodyParam &\n RequestParameters;\nexport type WebAppsGetPrivateEndpointConnectionListSlotParameters = RequestParameters;\nexport type WebAppsGetPrivateEndpointConnectionSlotParameters = RequestParameters;\n\nexport interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotBodyParam {\n body: PrivateLinkConnectionApprovalRequestResource;\n}\n\nexport interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsApproveOrRejectPrivateEndpointConnectionSlotParameters = WebAppsApproveOrRejectPrivateEndpointConnectionSlotMediaTypesParam &\n WebAppsApproveOrRejectPrivateEndpointConnectionSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeletePrivateEndpointConnectionSlotParameters = RequestParameters;\nexport type WebAppsGetPrivateLinkResourcesSlotParameters = RequestParameters;\nexport type WebAppsListProcessesSlotParameters = RequestParameters;\nexport type WebAppsGetProcessSlotParameters = RequestParameters;\nexport type WebAppsDeleteProcessSlotParameters = RequestParameters;\nexport type WebAppsGetProcessDumpSlotParameters = RequestParameters;\nexport type WebAppsListProcessModulesSlotParameters = RequestParameters;\nexport type WebAppsGetProcessModuleSlotParameters = RequestParameters;\nexport type WebAppsListProcessThreadsSlotParameters = RequestParameters;\nexport type WebAppsListPublicCertificatesSlotParameters = RequestParameters;\nexport type WebAppsGetPublicCertificateSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdatePublicCertificateSlotBodyParam {\n /** Public certificate details. This is the JSON representation of a PublicCertificate object. */\n body: PublicCertificate;\n}\n\nexport interface WebAppsCreateOrUpdatePublicCertificateSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdatePublicCertificateSlotParameters = WebAppsCreateOrUpdatePublicCertificateSlotMediaTypesParam &\n WebAppsCreateOrUpdatePublicCertificateSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeletePublicCertificateSlotParameters = RequestParameters;\n\nexport interface WebAppsListPublishingProfileXmlWithSecretsSlotBodyParam {\n /** Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile. */\n body: CsmPublishingProfileOptions;\n}\n\nexport interface WebAppsListPublishingProfileXmlWithSecretsSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsListPublishingProfileXmlWithSecretsSlotParameters = WebAppsListPublishingProfileXmlWithSecretsSlotMediaTypesParam &\n WebAppsListPublishingProfileXmlWithSecretsSlotBodyParam &\n RequestParameters;\nexport type WebAppsResetSlotConfigurationSlotParameters = RequestParameters;\n\nexport interface WebAppsRestartSlotQueryParamProperties {\n /** Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. */\n softRestart?: boolean;\n /** Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). */\n synchronous?: boolean;\n}\n\nexport interface WebAppsRestartSlotQueryParam {\n queryParameters?: WebAppsRestartSlotQueryParamProperties;\n}\n\nexport type WebAppsRestartSlotParameters = WebAppsRestartSlotQueryParam & RequestParameters;\n\nexport interface WebAppsRestoreFromBackupBlobSlotBodyParam {\n /** Information on restore request . */\n body: RestoreRequest;\n}\n\nexport interface WebAppsRestoreFromBackupBlobSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsRestoreFromBackupBlobSlotParameters = WebAppsRestoreFromBackupBlobSlotMediaTypesParam &\n WebAppsRestoreFromBackupBlobSlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsRestoreFromDeletedAppSlotBodyParam {\n /** Deleted web app restore information. */\n body: DeletedAppRestoreRequest;\n}\n\nexport interface WebAppsRestoreFromDeletedAppSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsRestoreFromDeletedAppSlotParameters = WebAppsRestoreFromDeletedAppSlotMediaTypesParam &\n WebAppsRestoreFromDeletedAppSlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsRestoreSnapshotSlotBodyParam {\n /** Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. */\n body: SnapshotRestoreRequest;\n}\n\nexport interface WebAppsRestoreSnapshotSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsRestoreSnapshotSlotParameters = WebAppsRestoreSnapshotSlotMediaTypesParam &\n WebAppsRestoreSnapshotSlotBodyParam &\n RequestParameters;\nexport type WebAppsListSiteExtensionsSlotParameters = RequestParameters;\nexport type WebAppsGetSiteExtensionSlotParameters = RequestParameters;\nexport type WebAppsInstallSiteExtensionSlotParameters = RequestParameters;\nexport type WebAppsDeleteSiteExtensionSlotParameters = RequestParameters;\n\nexport interface WebAppsListSlotDifferencesSlotBodyParam {\n /** JSON object that contains the target slot name. See example. */\n body: CsmSlotEntity;\n}\n\nexport interface WebAppsListSlotDifferencesSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsListSlotDifferencesSlotParameters = WebAppsListSlotDifferencesSlotMediaTypesParam &\n WebAppsListSlotDifferencesSlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsSwapSlotBodyParam {\n /** JSON object that contains the target slot name. See example. */\n body: CsmSlotEntity;\n}\n\nexport interface WebAppsSwapSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsSwapSlotParameters = WebAppsSwapSlotMediaTypesParam &\n WebAppsSwapSlotBodyParam &\n RequestParameters;\nexport type WebAppsListSnapshotsSlotParameters = RequestParameters;\nexport type WebAppsListSnapshotsFromDRSecondarySlotParameters = RequestParameters;\nexport type WebAppsGetSourceControlSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateSourceControlSlotBodyParam {\n /** JSON representation of a SiteSourceControl object. See example. */\n body: SiteSourceControl;\n}\n\nexport interface WebAppsCreateOrUpdateSourceControlSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateSourceControlSlotParameters = WebAppsCreateOrUpdateSourceControlSlotMediaTypesParam &\n WebAppsCreateOrUpdateSourceControlSlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsDeleteSourceControlSlotQueryParamProperties {\n additionalFlags?: string;\n}\n\nexport interface WebAppsDeleteSourceControlSlotQueryParam {\n queryParameters?: WebAppsDeleteSourceControlSlotQueryParamProperties;\n}\n\nexport type WebAppsDeleteSourceControlSlotParameters = WebAppsDeleteSourceControlSlotQueryParam &\n RequestParameters;\n\nexport interface WebAppsUpdateSourceControlSlotBodyParam {\n /** JSON representation of a SiteSourceControl object. See example. */\n body: SiteSourceControl;\n}\n\nexport interface WebAppsUpdateSourceControlSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateSourceControlSlotParameters = WebAppsUpdateSourceControlSlotMediaTypesParam &\n WebAppsUpdateSourceControlSlotBodyParam &\n RequestParameters;\nexport type WebAppsStartSlotParameters = RequestParameters;\n\nexport interface WebAppsStartNetworkTraceSlotQueryParamProperties {\n /** The duration to keep capturing in seconds. */\n durationInSeconds?: number;\n /** The maximum frame length in bytes (Optional). */\n maxFrameLength?: number;\n /** The Blob URL to store capture file. */\n sasUrl?: string;\n}\n\nexport interface WebAppsStartNetworkTraceSlotQueryParam {\n queryParameters?: WebAppsStartNetworkTraceSlotQueryParamProperties;\n}\n\nexport type WebAppsStartNetworkTraceSlotParameters = WebAppsStartNetworkTraceSlotQueryParam &\n RequestParameters;\nexport type WebAppsStopSlotParameters = RequestParameters;\nexport type WebAppsStopNetworkTraceSlotParameters = RequestParameters;\nexport type WebAppsSyncRepositorySlotParameters = RequestParameters;\nexport type WebAppsSyncFunctionTriggersSlotParameters = RequestParameters;\nexport type WebAppsListTriggeredWebJobsSlotParameters = RequestParameters;\nexport type WebAppsGetTriggeredWebJobSlotParameters = RequestParameters;\nexport type WebAppsDeleteTriggeredWebJobSlotParameters = RequestParameters;\nexport type WebAppsListTriggeredWebJobHistorySlotParameters = RequestParameters;\nexport type WebAppsGetTriggeredWebJobHistorySlotParameters = RequestParameters;\nexport type WebAppsRunTriggeredWebJobSlotParameters = RequestParameters;\n\nexport interface WebAppsListUsagesSlotQueryParamProperties {\n /** Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. */\n $filter?: string;\n}\n\nexport interface WebAppsListUsagesSlotQueryParam {\n queryParameters?: WebAppsListUsagesSlotQueryParamProperties;\n}\n\nexport type WebAppsListUsagesSlotParameters = WebAppsListUsagesSlotQueryParam & RequestParameters;\nexport type WebAppsListVnetConnectionsSlotParameters = RequestParameters;\nexport type WebAppsGetVnetConnectionSlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateVnetConnectionSlotBodyParam {\n /** Properties of the Virtual Network connection. See example. */\n body: VnetInfoResource;\n}\n\nexport interface WebAppsCreateOrUpdateVnetConnectionSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateVnetConnectionSlotParameters = WebAppsCreateOrUpdateVnetConnectionSlotMediaTypesParam &\n WebAppsCreateOrUpdateVnetConnectionSlotBodyParam &\n RequestParameters;\nexport type WebAppsDeleteVnetConnectionSlotParameters = RequestParameters;\n\nexport interface WebAppsUpdateVnetConnectionSlotBodyParam {\n /** Properties of the Virtual Network connection. See example. */\n body: VnetInfoResource;\n}\n\nexport interface WebAppsUpdateVnetConnectionSlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateVnetConnectionSlotParameters = WebAppsUpdateVnetConnectionSlotMediaTypesParam &\n WebAppsUpdateVnetConnectionSlotBodyParam &\n RequestParameters;\nexport type WebAppsGetVnetConnectionGatewaySlotParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotBodyParam {\n /** The properties to update this gateway with. */\n body: VnetGateway;\n}\n\nexport interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateVnetConnectionGatewaySlotParameters = WebAppsCreateOrUpdateVnetConnectionGatewaySlotMediaTypesParam &\n WebAppsCreateOrUpdateVnetConnectionGatewaySlotBodyParam &\n RequestParameters;\n\nexport interface WebAppsUpdateVnetConnectionGatewaySlotBodyParam {\n /** The properties to update this gateway with. */\n body: VnetGateway;\n}\n\nexport interface WebAppsUpdateVnetConnectionGatewaySlotMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateVnetConnectionGatewaySlotParameters = WebAppsUpdateVnetConnectionGatewaySlotMediaTypesParam &\n WebAppsUpdateVnetConnectionGatewaySlotBodyParam &\n RequestParameters;\nexport type WebAppsListWebJobsSlotParameters = RequestParameters;\nexport type WebAppsGetWebJobSlotParameters = RequestParameters;\n\nexport interface WebAppsListSlotDifferencesFromProductionBodyParam {\n /** JSON object that contains the target slot name. See example. */\n body: CsmSlotEntity;\n}\n\nexport interface WebAppsListSlotDifferencesFromProductionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsListSlotDifferencesFromProductionParameters = WebAppsListSlotDifferencesFromProductionMediaTypesParam &\n WebAppsListSlotDifferencesFromProductionBodyParam &\n RequestParameters;\n\nexport interface WebAppsSwapSlotWithProductionBodyParam {\n /** JSON object that contains the target slot name. See example. */\n body: CsmSlotEntity;\n}\n\nexport interface WebAppsSwapSlotWithProductionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsSwapSlotWithProductionParameters = WebAppsSwapSlotWithProductionMediaTypesParam &\n WebAppsSwapSlotWithProductionBodyParam &\n RequestParameters;\nexport type WebAppsListSnapshotsParameters = RequestParameters;\nexport type WebAppsListSnapshotsFromDRSecondaryParameters = RequestParameters;\nexport type WebAppsGetSourceControlParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateSourceControlBodyParam {\n /** JSON representation of a SiteSourceControl object. See example. */\n body: SiteSourceControl;\n}\n\nexport interface WebAppsCreateOrUpdateSourceControlMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateSourceControlParameters = WebAppsCreateOrUpdateSourceControlMediaTypesParam &\n WebAppsCreateOrUpdateSourceControlBodyParam &\n RequestParameters;\n\nexport interface WebAppsDeleteSourceControlQueryParamProperties {\n additionalFlags?: string;\n}\n\nexport interface WebAppsDeleteSourceControlQueryParam {\n queryParameters?: WebAppsDeleteSourceControlQueryParamProperties;\n}\n\nexport type WebAppsDeleteSourceControlParameters = WebAppsDeleteSourceControlQueryParam &\n RequestParameters;\n\nexport interface WebAppsUpdateSourceControlBodyParam {\n /** JSON representation of a SiteSourceControl object. See example. */\n body: SiteSourceControl;\n}\n\nexport interface WebAppsUpdateSourceControlMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateSourceControlParameters = WebAppsUpdateSourceControlMediaTypesParam &\n WebAppsUpdateSourceControlBodyParam &\n RequestParameters;\nexport type WebAppsStartParameters = RequestParameters;\n\nexport interface WebAppsStartNetworkTraceQueryParamProperties {\n /** The duration to keep capturing in seconds. */\n durationInSeconds?: number;\n /** The maximum frame length in bytes (Optional). */\n maxFrameLength?: number;\n /** The Blob URL to store capture file. */\n sasUrl?: string;\n}\n\nexport interface WebAppsStartNetworkTraceQueryParam {\n queryParameters?: WebAppsStartNetworkTraceQueryParamProperties;\n}\n\nexport type WebAppsStartNetworkTraceParameters = WebAppsStartNetworkTraceQueryParam &\n RequestParameters;\nexport type WebAppsStopParameters = RequestParameters;\nexport type WebAppsStopNetworkTraceParameters = RequestParameters;\nexport type WebAppsSyncRepositoryParameters = RequestParameters;\nexport type WebAppsSyncFunctionTriggersParameters = RequestParameters;\nexport type WebAppsListTriggeredWebJobsParameters = RequestParameters;\nexport type WebAppsGetTriggeredWebJobParameters = RequestParameters;\nexport type WebAppsDeleteTriggeredWebJobParameters = RequestParameters;\nexport type WebAppsListTriggeredWebJobHistoryParameters = RequestParameters;\nexport type WebAppsGetTriggeredWebJobHistoryParameters = RequestParameters;\nexport type WebAppsRunTriggeredWebJobParameters = RequestParameters;\n\nexport interface WebAppsListUsagesQueryParamProperties {\n /** Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. */\n $filter?: string;\n}\n\nexport interface WebAppsListUsagesQueryParam {\n queryParameters?: WebAppsListUsagesQueryParamProperties;\n}\n\nexport type WebAppsListUsagesParameters = WebAppsListUsagesQueryParam & RequestParameters;\nexport type WebAppsListVnetConnectionsParameters = RequestParameters;\nexport type WebAppsGetVnetConnectionParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateVnetConnectionBodyParam {\n /** Properties of the Virtual Network connection. See example. */\n body: VnetInfoResource;\n}\n\nexport interface WebAppsCreateOrUpdateVnetConnectionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateVnetConnectionParameters = WebAppsCreateOrUpdateVnetConnectionMediaTypesParam &\n WebAppsCreateOrUpdateVnetConnectionBodyParam &\n RequestParameters;\nexport type WebAppsDeleteVnetConnectionParameters = RequestParameters;\n\nexport interface WebAppsUpdateVnetConnectionBodyParam {\n /** Properties of the Virtual Network connection. See example. */\n body: VnetInfoResource;\n}\n\nexport interface WebAppsUpdateVnetConnectionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateVnetConnectionParameters = WebAppsUpdateVnetConnectionMediaTypesParam &\n WebAppsUpdateVnetConnectionBodyParam &\n RequestParameters;\nexport type WebAppsGetVnetConnectionGatewayParameters = RequestParameters;\n\nexport interface WebAppsCreateOrUpdateVnetConnectionGatewayBodyParam {\n /** The properties to update this gateway with. */\n body: VnetGateway;\n}\n\nexport interface WebAppsCreateOrUpdateVnetConnectionGatewayMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsCreateOrUpdateVnetConnectionGatewayParameters = WebAppsCreateOrUpdateVnetConnectionGatewayMediaTypesParam &\n WebAppsCreateOrUpdateVnetConnectionGatewayBodyParam &\n RequestParameters;\n\nexport interface WebAppsUpdateVnetConnectionGatewayBodyParam {\n /** The properties to update this gateway with. */\n body: VnetGateway;\n}\n\nexport interface WebAppsUpdateVnetConnectionGatewayMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type WebAppsUpdateVnetConnectionGatewayParameters = WebAppsUpdateVnetConnectionGatewayMediaTypesParam &\n WebAppsUpdateVnetConnectionGatewayBodyParam &\n RequestParameters;\nexport type WebAppsListWebJobsParameters = RequestParameters;\nexport type WebAppsGetWebJobParameters = RequestParameters;\n"]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT license.
|
|
3
|
+
import { LroEngine, } from "@azure/core-lro";
|
|
4
|
+
/**
|
|
5
|
+
* Helper function that builds a Poller object to help polling a long running operation.
|
|
6
|
+
* @param client - Client to use for sending the request to get additional pages.
|
|
7
|
+
* @param initialResponse - The initial response.
|
|
8
|
+
* @param options - Options to set a resume state or custom polling interval.
|
|
9
|
+
* @returns - A poller object to poll for operation state updates and eventually get the final response.
|
|
10
|
+
*/
|
|
11
|
+
export function getLongRunningPoller(client, initialResponse, options = {}) {
|
|
12
|
+
const poller = {
|
|
13
|
+
requestMethod: initialResponse.request.method,
|
|
14
|
+
requestPath: initialResponse.request.url,
|
|
15
|
+
sendInitialRequest: async () => {
|
|
16
|
+
// In the case of Rest Clients we are building the LRO poller object from a response that's the reason
|
|
17
|
+
// we are not triggering the initial request here, just extracting the information from the
|
|
18
|
+
// response we were provided.
|
|
19
|
+
return getLroResponse(initialResponse);
|
|
20
|
+
},
|
|
21
|
+
sendPollRequest: async (path) => {
|
|
22
|
+
// This is the callback that is going to be called to poll the service
|
|
23
|
+
// to get the latest status. We use the client provided and the polling path
|
|
24
|
+
// which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location
|
|
25
|
+
// depending on the lro pattern that the service implements. If non is provided we default to the initial path.
|
|
26
|
+
const response = await client.pathUnchecked(path !== null && path !== void 0 ? path : initialResponse.request.url).get();
|
|
27
|
+
return getLroResponse(response);
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
return new LroEngine(poller, options);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Converts a Rest Client response to a response that the LRO engine knows about
|
|
34
|
+
* @param response - a rest client http response
|
|
35
|
+
* @returns - An LRO response that the LRO engine can work with
|
|
36
|
+
*/
|
|
37
|
+
function getLroResponse(response) {
|
|
38
|
+
if (Number.isNaN(response.status)) {
|
|
39
|
+
throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`);
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
flatResponse: response,
|
|
43
|
+
rawResponse: Object.assign(Object.assign({}, response), { statusCode: Number.parseInt(response.status), body: response.body }),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=pollingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,SAAS,GAKV,MAAM,iBAAiB,CAAC;AAEzB;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAClC,MAAc,EACd,eAAwB,EACxB,UAAkE,EAAE;IAEpE,MAAM,MAAM,GAAkC;QAC5C,aAAa,EAAE,eAAe,CAAC,OAAO,CAAC,MAAM;QAC7C,WAAW,EAAE,eAAe,CAAC,OAAO,CAAC,GAAG;QACxC,kBAAkB,EAAE,KAAK,IAAI,EAAE;YAC7B,sGAAsG;YACtG,2FAA2F;YAC3F,6BAA6B;YAC7B,OAAO,cAAc,CAAC,eAAe,CAAC,CAAC;QACzC,CAAC;QACD,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;YAC9B,sEAAsE;YACtE,4EAA4E;YAC5E,0JAA0J;YAC1J,+GAA+G;YAC/G,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;YACvF,OAAO,cAAc,CAAC,QAAmB,CAAC,CAAC;QAC7C,CAAC;KACF,CAAC;IAEF,OAAO,IAAI,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACxC,CAAC;AAED;;;;GAIG;AACH,SAAS,cAAc,CAA+B,QAAiB;IACrE,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;QACjC,MAAM,IAAI,SAAS,CAAC,uDAAuD,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;KAC/F;IAED,OAAO;QACL,YAAY,EAAE,QAAQ;QACtB,WAAW,kCACN,QAAQ,KACX,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC5C,IAAI,EAAE,QAAQ,CAAC,IAAI,GACpB;KACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Client, HttpResponse } from \"@azure-rest/core-client\";\nimport {\n LongRunningOperation,\n LroEngine,\n LroEngineOptions,\n LroResponse,\n PollerLike,\n PollOperationState,\n} from \"@azure/core-lro\";\n\n/**\n * Helper function that builds a Poller object to help polling a long running operation.\n * @param client - Client to use for sending the request to get additional pages.\n * @param initialResponse - The initial response.\n * @param options - Options to set a resume state or custom polling interval.\n * @returns - A poller object to poll for operation state updates and eventually get the final response.\n */\nexport function getLongRunningPoller<TResult extends HttpResponse>(\n client: Client,\n initialResponse: TResult,\n options: LroEngineOptions<TResult, PollOperationState<TResult>> = {}\n): PollerLike<PollOperationState<TResult>, TResult> {\n const poller: LongRunningOperation<TResult> = {\n requestMethod: initialResponse.request.method,\n requestPath: initialResponse.request.url,\n sendInitialRequest: async () => {\n // In the case of Rest Clients we are building the LRO poller object from a response that's the reason\n // we are not triggering the initial request here, just extracting the information from the\n // response we were provided.\n return getLroResponse(initialResponse);\n },\n sendPollRequest: async (path) => {\n // This is the callback that is going to be called to poll the service\n // to get the latest status. We use the client provided and the polling path\n // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location\n // depending on the lro pattern that the service implements. If non is provided we default to the initial path.\n const response = await client.pathUnchecked(path ?? initialResponse.request.url).get();\n return getLroResponse(response as TResult);\n },\n };\n\n return new LroEngine(poller, options);\n}\n\n/**\n * Converts a Rest Client response to a response that the LRO engine knows about\n * @param response - a rest client http response\n * @returns - An LRO response that the LRO engine can work with\n */\nfunction getLroResponse<TResult extends HttpResponse>(response: TResult): LroResponse<TResult> {\n if (Number.isNaN(response.status)) {\n throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`);\n }\n\n return {\n flatResponse: response,\n rawResponse: {\n ...response,\n statusCode: Number.parseInt(response.status),\n body: response.body,\n },\n };\n}\n"]}
|