From d348354aa543d9bc3ce08746a0e8399fc8f67045 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 20 Jan 2025 09:01:24 +0000 Subject: [PATCH] CodeGen from PR 31834 in Azure/azure-rest-api-specs Merge 25cc26a886d3f1f5581bd0184acdd08328324468 into f8a6ecd39798b8e1e7c62c475d678bafb6e6f915 --- common/config/rush/pnpm-lock.yaml | 27 +- sdk/appservice/arm-appservice/CHANGELOG.md | 28 +- sdk/appservice/arm-appservice/LICENSE | 2 +- sdk/appservice/arm-appservice/README.md | 36 +- sdk/appservice/arm-appservice/_meta.json | 8 +- .../arm-appservice/api-extractor.json | 6 +- sdk/appservice/arm-appservice/package.json | 34 +- .../review/arm-appservice.api.md | 141 +- sdk/appservice/arm-appservice/sample.env | 5 +- ...teOrdersCreateOrUpdateCertificateSample.ts | 4 +- ...ceCertificateOrdersCreateOrUpdateSample.ts | 4 +- ...ertificateOrdersDeleteCertificateSample.ts | 4 +- ...appServiceCertificateOrdersDeleteSample.ts | 4 +- ...ceCertificateOrdersGetCertificateSample.ts | 4 +- .../appServiceCertificateOrdersGetSample.ts | 4 +- ...tificateOrdersListByResourceGroupSample.ts | 4 +- ...CertificateOrdersListCertificatesSample.ts | 4 +- .../appServiceCertificateOrdersListSample.ts | 4 +- ...ppServiceCertificateOrdersReissueSample.ts | 4 +- .../appServiceCertificateOrdersRenewSample.ts | 4 +- ...rviceCertificateOrdersResendEmailSample.ts | 4 +- ...tificateOrdersResendRequestEmailsSample.ts | 4 +- ...eOrdersRetrieveCertificateActionsSample.ts | 4 +- ...rsRetrieveCertificateEmailHistorySample.ts | 4 +- ...CertificateOrdersRetrieveSiteSealSample.ts | 4 +- ...ertificateOrdersUpdateCertificateSample.ts | 4 +- ...appServiceCertificateOrdersUpdateSample.ts | 4 +- ...OrdersValidatePurchaseInformationSample.ts | 4 +- ...ficateOrdersVerifyDomainOwnershipSample.ts | 4 +- ...OrRejectPrivateEndpointConnectionSample.ts | 4 +- .../appServiceEnvironmentsChangeVnetSample.ts | 4 +- ...nmentsCreateOrUpdateMultiRolePoolSample.ts | 4 +- ...ServiceEnvironmentsCreateOrUpdateSample.ts | 4 +- ...ironmentsCreateOrUpdateWorkerPoolSample.ts | 4 +- ...teAseCustomDnsSuffixConfigurationSample.ts | 4 +- ...tsDeletePrivateEndpointConnectionSample.ts | 4 +- .../src/appServiceEnvironmentsDeleteSample.ts | 4 +- ...etAseCustomDnsSuffixConfigurationSample.ts | 4 +- ...tsGetAseV3NetworkingConfigurationSample.ts | 4 +- ...iceEnvironmentsGetDiagnosticsItemSample.ts | 4 +- ...boundNetworkDependenciesEndpointsSample.ts | 4 +- ...rviceEnvironmentsGetMultiRolePoolSample.ts | 4 +- ...boundNetworkDependenciesEndpointsSample.ts | 4 +- ...sGetPrivateEndpointConnectionListSample.ts | 4 +- ...mentsGetPrivateEndpointConnectionSample.ts | 4 +- ...vironmentsGetPrivateLinkResourcesSample.ts | 4 +- .../src/appServiceEnvironmentsGetSample.ts | 4 +- .../appServiceEnvironmentsGetVipInfoSample.ts | 4 +- ...pServiceEnvironmentsGetWorkerPoolSample.ts | 4 +- ...ceEnvironmentsListAppServicePlansSample.ts | 4 +- ...ceEnvironmentsListByResourceGroupSample.ts | 4 +- ...ServiceEnvironmentsListCapacitiesSample.ts | 4 +- ...erviceEnvironmentsListDiagnosticsSample.ts | 4 +- ...ntsListMultiRoleMetricDefinitionsSample.ts | 4 +- ...RolePoolInstanceMetricDefinitionsSample.ts | 4 +- ...EnvironmentsListMultiRolePoolSkusSample.ts | 4 +- ...iceEnvironmentsListMultiRolePoolsSample.ts | 4 +- ...ceEnvironmentsListMultiRoleUsagesSample.ts | 4 +- ...ServiceEnvironmentsListOperationsSample.ts | 4 +- .../src/appServiceEnvironmentsListSample.ts | 4 +- .../appServiceEnvironmentsListUsagesSample.ts | 4 +- ...appServiceEnvironmentsListWebAppsSample.ts | 4 +- ...ntsListWebWorkerMetricDefinitionsSample.ts | 4 +- ...ceEnvironmentsListWebWorkerUsagesSample.ts | 4 +- ...rkerPoolInstanceMetricDefinitionsSample.ts | 4 +- ...iceEnvironmentsListWorkerPoolSkusSample.ts | 4 +- ...erviceEnvironmentsListWorkerPoolsSample.ts | 4 +- .../src/appServiceEnvironmentsRebootSample.ts | 4 +- .../src/appServiceEnvironmentsResumeSample.ts | 4 +- .../appServiceEnvironmentsSuspendSample.ts | 4 +- ...sTestUpgradeAvailableNotificationSample.ts | 4 +- ...teAseCustomDnsSuffixConfigurationSample.ts | 4 +- ...sUpdateAseNetworkingConfigurationSample.ts | 4 +- ...ceEnvironmentsUpdateMultiRolePoolSample.ts | 4 +- .../src/appServiceEnvironmentsUpdateSample.ts | 4 +- ...rviceEnvironmentsUpdateWorkerPoolSample.ts | 4 +- .../appServiceEnvironmentsUpgradeSample.ts | 4 +- .../appServicePlansCreateOrUpdateSample.ts | 4 +- .../src/appServicePlansDeleteSample.ts | 4 +- .../src/appServicePlansGetSample.ts | 4 +- ...ppServicePlansListByResourceGroupSample.ts | 4 +- .../src/appServicePlansListSample.ts | 4 +- .../src/appServicePlansUpdateSample.ts | 4 +- ...eCertificateOrderDetectorResponseSample.ts | 4 +- ...eCertificateOrderDetectorResponseSample.ts | 4 +- ...egistrationProviderListOperationsSample.ts | 4 +- .../src/certificatesCreateOrUpdateSample.ts | 4 +- .../src/certificatesDeleteSample.ts | 4 +- .../typescript/src/certificatesGetSample.ts | 4 +- .../certificatesListByResourceGroupSample.ts | 4 +- .../typescript/src/certificatesListSample.ts | 4 +- .../src/certificatesUpdateSample.ts | 4 +- .../src/containerAppsCreateOrUpdateSample.ts | 4 +- .../src/containerAppsDeleteSample.ts | 4 +- .../typescript/src/containerAppsGetSample.ts | 4 +- .../containerAppsListByResourceGroupSample.ts | 4 +- .../containerAppsListBySubscriptionSample.ts | 4 +- .../src/containerAppsListSecretsSample.ts | 4 +- ...inerAppsRevisionsActivateRevisionSample.ts | 4 +- ...erAppsRevisionsDeactivateRevisionSample.ts | 4 +- ...containerAppsRevisionsGetRevisionSample.ts | 4 +- ...ntainerAppsRevisionsListRevisionsSample.ts | 4 +- ...ainerAppsRevisionsRestartRevisionSample.ts | 4 +- ...WebAppsGetDeletedWebAppByLocationSample.ts | 4 +- .../src/deletedWebAppsListByLocationSample.ts | 4 +- .../diagnosticsExecuteSiteAnalysisSample.ts | 6 +- ...iagnosticsExecuteSiteAnalysisSlotSample.ts | 6 +- .../diagnosticsExecuteSiteDetectorSample.ts | 6 +- ...iagnosticsExecuteSiteDetectorSlotSample.ts | 6 +- ...ostingEnvironmentDetectorResponseSample.ts | 4 +- .../src/diagnosticsGetSiteAnalysisSample.ts | 6 +- .../diagnosticsGetSiteAnalysisSlotSample.ts | 6 +- ...iagnosticsGetSiteDetectorResponseSample.ts | 6 +- ...osticsGetSiteDetectorResponseSlotSample.ts | 6 +- .../src/diagnosticsGetSiteDetectorSample.ts | 6 +- .../diagnosticsGetSiteDetectorSlotSample.ts | 6 +- ...gnosticsGetSiteDiagnosticCategorySample.ts | 6 +- ...ticsGetSiteDiagnosticCategorySlotSample.ts | 6 +- ...stingEnvironmentDetectorResponsesSample.ts | 4 +- .../src/diagnosticsListSiteAnalysesSample.ts | 6 +- .../diagnosticsListSiteAnalysesSlotSample.ts | 6 +- ...gnosticsListSiteDetectorResponsesSample.ts | 6 +- ...ticsListSiteDetectorResponsesSlotSample.ts | 6 +- .../src/diagnosticsListSiteDetectorsSample.ts | 6 +- .../diagnosticsListSiteDetectorsSlotSample.ts | 6 +- ...sticsListSiteDiagnosticCategoriesSample.ts | 6 +- ...sListSiteDiagnosticCategoriesSlotSample.ts | 6 +- ...egistrationProviderListOperationsSample.ts | 4 +- .../src/domainsCheckAvailabilitySample.ts | 4 +- ...CreateOrUpdateOwnershipIdentifierSample.ts | 4 +- .../src/domainsCreateOrUpdateSample.ts | 4 +- .../domainsDeleteOwnershipIdentifierSample.ts | 4 +- .../v15/typescript/src/domainsDeleteSample.ts | 4 +- ...domainsGetControlCenterSsoRequestSample.ts | 4 +- .../domainsGetOwnershipIdentifierSample.ts | 4 +- .../v15/typescript/src/domainsGetSample.ts | 4 +- .../src/domainsListByResourceGroupSample.ts | 4 +- .../domainsListOwnershipIdentifiersSample.ts | 4 +- .../src/domainsListRecommendationsSample.ts | 4 +- .../v15/typescript/src/domainsListSample.ts | 4 +- .../v15/typescript/src/domainsRenewSample.ts | 4 +- .../src/domainsTransferOutSample.ts | 4 +- .../domainsUpdateOwnershipIdentifierSample.ts | 4 +- .../v15/typescript/src/domainsUpdateSample.ts | 4 +- .../src/getUsagesInLocationListSample.ts | 4 +- .../src/globalGetDeletedWebAppSample.ts | 4 +- .../globalGetDeletedWebAppSnapshotsSample.ts | 4 +- ...riptionOperationWithAsyncResponseSample.ts | 4 +- .../kubeEnvironmentsCreateOrUpdateSample.ts | 4 +- .../src/kubeEnvironmentsDeleteSample.ts | 4 +- .../src/kubeEnvironmentsGetSample.ts | 4 +- ...beEnvironmentsListByResourceGroupSample.ts | 4 +- ...ubeEnvironmentsListBySubscriptionSample.ts | 4 +- .../src/kubeEnvironmentsUpdateSample.ts | 4 +- .../typescript/src/listAseRegionsSample.ts | 4 +- .../src/listCustomHostNameSitesSample.ts | 6 +- ...erGetFunctionAppStacksForLocationSample.ts | 4 +- .../src/providerGetFunctionAppStacksSample.ts | 4 +- ...roviderGetWebAppStacksForLocationSample.ts | 4 +- .../src/providerGetWebAppStacksSample.ts | 4 +- .../src/providerListOperationsSample.ts | 4 +- .../resourceHealthMetadataGetBySiteSample.ts | 4 +- ...sourceHealthMetadataGetBySiteSlotSample.ts | 4 +- ...HealthMetadataListByResourceGroupSample.ts | 4 +- .../resourceHealthMetadataListBySiteSample.ts | 4 +- ...ourceHealthMetadataListBySiteSlotSample.ts | 4 +- .../src/resourceHealthMetadataListSample.ts | 4 +- ...OrRejectPrivateEndpointConnectionSample.ts | 4 +- ...taticSitesCreateOrUpdateBasicAuthSample.ts | 4 +- ...teOrUpdateBuildDatabaseConnectionSample.ts | 4 +- ...sCreateOrUpdateDatabaseConnectionSample.ts | 4 +- ...eateOrUpdateStaticSiteAppSettingsSample.ts | 4 +- ...rUpdateStaticSiteBuildAppSettingsSample.ts | 4 +- ...taticSiteBuildFunctionAppSettingsSample.ts | 4 +- ...ateOrUpdateStaticSiteCustomDomainSample.ts | 4 +- ...dateStaticSiteFunctionAppSettingsSample.ts | 4 +- ...aticSitesCreateOrUpdateStaticSiteSample.ts | 4 +- ...itesCreateUserRolesInvitationLinkSample.ts | 4 +- ...teZipDeploymentForStaticSiteBuildSample.ts | 4 +- ...sCreateZipDeploymentForStaticSiteSample.ts | 4 +- ...itesDeleteBuildDatabaseConnectionSample.ts | 4 +- ...aticSitesDeleteDatabaseConnectionSample.ts | 4 +- ...esDeletePrivateEndpointConnectionSample.ts | 4 +- .../staticSitesDeleteStaticSiteBuildSample.ts | 4 +- ...SitesDeleteStaticSiteCustomDomainSample.ts | 4 +- .../src/staticSitesDeleteStaticSiteSample.ts | 4 +- .../staticSitesDeleteStaticSiteUserSample.ts | 4 +- .../src/staticSitesDetachStaticSiteSample.ts | 4 +- ...dedFunctionAppFromStaticSiteBuildSample.ts | 4 +- ...ProvidedFunctionAppFromStaticSiteSample.ts | 4 +- .../src/staticSitesGetBasicAuthSample.ts | 4 +- ...icSitesGetBuildDatabaseConnectionSample.ts | 4 +- ...uildDatabaseConnectionWithDetailsSample.ts | 4 +- ...cSitesGetBuildDatabaseConnectionsSample.ts | 4 +- ...ildDatabaseConnectionsWithDetailsSample.ts | 4 +- .../staticSitesGetDatabaseConnectionSample.ts | 4 +- ...sGetDatabaseConnectionWithDetailsSample.ts | 4 +- ...staticSitesGetDatabaseConnectionsSample.ts | 4 +- ...GetDatabaseConnectionsWithDetailsSample.ts | 4 +- ...aticSitesGetLinkedBackendForBuildSample.ts | 4 +- .../src/staticSitesGetLinkedBackendSample.ts | 4 +- ...ticSitesGetLinkedBackendsForBuildSample.ts | 4 +- .../src/staticSitesGetLinkedBackendsSample.ts | 4 +- ...sGetPrivateEndpointConnectionListSample.ts | 4 +- ...SitesGetPrivateEndpointConnectionSample.ts | 4 +- ...taticSitesGetPrivateLinkResourcesSample.ts | 4 +- .../staticSitesGetStaticSiteBuildSample.ts | 4 +- .../staticSitesGetStaticSiteBuildsSample.ts | 4 +- ...ticSitesGetStaticSiteCustomDomainSample.ts | 4 +- .../src/staticSitesGetStaticSiteSample.ts | 4 +- ...itesGetStaticSitesByResourceGroupSample.ts | 4 +- ...idedFunctionAppForStaticSiteBuildSample.ts | 4 +- ...rProvidedFunctionAppForStaticSiteSample.ts | 4 +- ...dedFunctionAppsForStaticSiteBuildSample.ts | 4 +- ...ProvidedFunctionAppsForStaticSiteSample.ts | 4 +- .../src/staticSitesLinkBackendSample.ts | 4 +- .../staticSitesLinkBackendToBuildSample.ts | 4 +- .../src/staticSitesListBasicAuthSample.ts | 4 +- .../typescript/src/staticSitesListSample.ts | 4 +- ...ticSitesListStaticSiteAppSettingsSample.ts | 4 +- ...tesListStaticSiteBuildAppSettingsSample.ts | 4 +- ...taticSiteBuildFunctionAppSettingsSample.ts | 4 +- ...SitesListStaticSiteBuildFunctionsSample.ts | 4 +- ...itesListStaticSiteConfiguredRolesSample.ts | 4 +- ...cSitesListStaticSiteCustomDomainsSample.ts | 4 +- ...ListStaticSiteFunctionAppSettingsSample.ts | 4 +- ...taticSitesListStaticSiteFunctionsSample.ts | 4 +- .../staticSitesListStaticSiteSecretsSample.ts | 4 +- .../staticSitesListStaticSiteUsersSample.ts | 4 +- .../src/staticSitesPreviewWorkflowSample.ts | 4 +- ...dedFunctionAppWithStaticSiteBuildSample.ts | 4 +- ...ProvidedFunctionAppWithStaticSiteSample.ts | 4 +- .../staticSitesResetStaticSiteApiKeySample.ts | 4 +- ...staticSitesUnlinkBackendFromBuildSample.ts | 4 +- .../src/staticSitesUnlinkBackendSample.ts | 4 +- ...itesUpdateBuildDatabaseConnectionSample.ts | 4 +- ...aticSitesUpdateDatabaseConnectionSample.ts | 4 +- .../src/staticSitesUpdateStaticSiteSample.ts | 4 +- .../staticSitesUpdateStaticSiteUserSample.ts | 4 +- ...taticSitesValidateBackendForBuildSample.ts | 4 +- .../src/staticSitesValidateBackendSample.ts | 4 +- ...ustomDomainCanBeAddedToStaticSiteSample.ts | 4 +- .../src/topLevelDomainsGetSample.ts | 4 +- .../topLevelDomainsListAgreementsSample.ts | 4 +- .../src/topLevelDomainsListSample.ts | 4 +- .../src/verifyHostingEnvironmentVnetSample.ts | 4 +- .../src/webAppsAnalyzeCustomHostnameSample.ts | 4 +- .../webAppsAnalyzeCustomHostnameSlotSample.ts | 4 +- ...ebAppsApplySlotConfigToProductionSample.ts | 4 +- ...OrRejectPrivateEndpointConnectionSample.ts | 4 +- ...jectPrivateEndpointConnectionSlotSample.ts | 4 +- .../v15/typescript/src/webAppsBackupSample.ts | 4 +- ...ebAppsCreateOrUpdateConfigurationSample.ts | 4 +- .../src/webAppsCreateOrUpdateSample.ts | 10 +- .../src/webAppsCreateOrUpdateSlotSample.ts | 6 +- .../src/webAppsDeleteBackupSample.ts | 4 +- ...psDeletePrivateEndpointConnectionSample.ts | 4 +- ...letePrivateEndpointConnectionSlotSample.ts | 4 +- .../v15/typescript/src/webAppsDeleteSample.ts | 4 +- .../typescript/src/webAppsDeleteSlotSample.ts | 4 +- .../webAppsDeployWorkflowArtifactsSample.ts | 6 +- ...ebAppsDeployWorkflowArtifactsSlotSample.ts | 4 +- ...ppsGetAppSettingKeyVaultReferenceSample.ts | 4 +- ...etAppSettingKeyVaultReferenceSlotSample.ts | 4 +- ...sGetAppSettingsKeyVaultReferencesSample.ts | 4 +- ...AppSettingsKeyVaultReferencesSlotSample.ts | 4 +- .../src/webAppsGetAuthSettingsSample.ts | 4 +- .../src/webAppsGetAuthSettingsV2Sample.ts | 4 +- ...psGetAuthSettingsV2WithoutSecretsSample.ts | 4 +- .../src/webAppsGetBackupStatusSample.ts | 4 +- .../src/webAppsGetConfigurationSample.ts | 4 +- .../src/webAppsGetFtpAllowedSample.ts | 4 +- .../src/webAppsGetFtpAllowedSlotSample.ts | 4 +- .../src/webAppsGetInstanceInfoSample.ts | 4 +- .../src/webAppsGetInstanceInfoSlotSample.ts | 4 +- .../webAppsGetInstanceWorkflowSlotSample.ts | 4 +- .../webAppsGetNetworkTraceOperationSample.ts | 4 +- ...bAppsGetNetworkTraceOperationSlotSample.ts | 4 +- ...ppsGetNetworkTraceOperationSlotV2Sample.ts | 4 +- ...webAppsGetNetworkTraceOperationV2Sample.ts | 4 +- .../src/webAppsGetNetworkTracesSample.ts | 4 +- .../src/webAppsGetNetworkTracesSlotSample.ts | 4 +- .../webAppsGetNetworkTracesSlotV2Sample.ts | 4 +- .../src/webAppsGetNetworkTracesV2Sample.ts | 4 +- ...bAppsGetPrivateEndpointConnectionSample.ts | 4 +- ...sGetPrivateEndpointConnectionSlotSample.ts | 4 +- .../webAppsGetPrivateLinkResourcesSample.ts | 4 +- ...ebAppsGetPrivateLinkResourcesSlotSample.ts | 4 +- ...GetProductionSiteDeploymentStatusSample.ts | 4 +- .../v15/typescript/src/webAppsGetSample.ts | 4 +- .../src/webAppsGetScmAllowedSample.ts | 4 +- .../src/webAppsGetScmAllowedSlotSample.ts | 4 +- .../typescript/src/webAppsGetSlotSample.ts | 4 +- ...psGetSlotSiteDeploymentStatusSlotSample.ts | 4 +- .../src/webAppsGetWorkflowSample.ts | 4 +- .../webAppsListApplicationSettingsSample.ts | 4 +- .../webAppsListBackupStatusSecretsSample.ts | 4 +- .../src/webAppsListBackupsSample.ts | 4 +- ...asicPublishingCredentialsPoliciesSample.ts | 4 +- ...PublishingCredentialsPoliciesSlotSample.ts | 4 +- .../src/webAppsListByResourceGroupSample.ts | 4 +- .../src/webAppsListConfigurationsSample.ts | 4 +- .../webAppsListInstanceWorkflowsSlotSample.ts | 4 +- ...tProductionSiteDeploymentStatusesSample.ts | 4 +- .../v15/typescript/src/webAppsListSample.ts | 4 +- .../src/webAppsListSiteBackupsSample.ts | 4 +- .../src/webAppsListSiteBackupsSlotSample.ts | 4 +- ...istSlotSiteDeploymentStatusesSlotSample.ts | 4 +- .../typescript/src/webAppsListSlotsSample.ts | 4 +- .../webAppsListWorkflowsConnectionsSample.ts | 4 +- ...bAppsListWorkflowsConnectionsSlotSample.ts | 4 +- .../src/webAppsListWorkflowsSample.ts | 4 +- .../typescript/src/webAppsRestoreSample.ts | 4 +- .../src/webAppsStartNetworkTraceSample.ts | 4 +- .../src/webAppsStartNetworkTraceSlotSample.ts | 4 +- ...StartWebSiteNetworkTraceOperationSample.ts | 4 +- ...tWebSiteNetworkTraceOperationSlotSample.ts | 4 +- .../src/webAppsStopNetworkTraceSample.ts | 4 +- .../src/webAppsStopNetworkTraceSlotSample.ts | 4 +- .../webAppsStopWebSiteNetworkTraceSample.ts | 4 +- ...ebAppsStopWebSiteNetworkTraceSlotSample.ts | 4 +- .../webAppsUpdateApplicationSettingsSample.ts | 4 +- .../src/webAppsUpdateAuthSettingsSample.ts | 4 +- .../src/webAppsUpdateAuthSettingsV2Sample.ts | 4 +- ...webAppsUpdateAzureStorageAccountsSample.ts | 4 +- .../src/webAppsUpdateFtpAllowedSample.ts | 4 +- .../src/webAppsUpdateFtpAllowedSlotSample.ts | 4 +- .../v15/typescript/src/webAppsUpdateSample.ts | 4 +- .../src/webAppsUpdateScmAllowedSample.ts | 4 +- .../src/webAppsUpdateScmAllowedSlotSample.ts | 4 +- .../typescript/src/webAppsUpdateSlotSample.ts | 4 +- .../workflowRunActionRepetitionsGetSample.ts | 4 +- ...onRepetitionsListExpressionTracesSample.ts | 4 +- .../workflowRunActionRepetitionsListSample.ts | 4 +- ...ionRepetitionsRequestHistoriesGetSample.ts | 4 +- ...onRepetitionsRequestHistoriesListSample.ts | 4 +- ...kflowRunActionScopeRepetitionsGetSample.ts | 4 +- ...flowRunActionScopeRepetitionsListSample.ts | 4 +- .../src/workflowRunActionsGetSample.ts | 4 +- ...lowRunActionsListExpressionTracesSample.ts | 4 +- .../src/workflowRunActionsListSample.ts | 4 +- .../src/workflowRunsCancelSample.ts | 4 +- .../typescript/src/workflowRunsGetSample.ts | 4 +- .../typescript/src/workflowRunsListSample.ts | 4 +- .../src/workflowTriggerHistoriesGetSample.ts | 4 +- .../src/workflowTriggerHistoriesListSample.ts | 4 +- .../workflowTriggerHistoriesResubmitSample.ts | 4 +- .../src/workflowTriggersGetSample.ts | 4 +- .../workflowTriggersGetSchemaJsonSample.ts | 4 +- .../workflowTriggersListCallbackUrlSample.ts | 4 +- .../src/workflowTriggersListSample.ts | 4 +- .../src/workflowTriggersRunSample.ts | 4 +- .../src/workflowVersionsGetSample.ts | 4 +- .../src/workflowVersionsListSample.ts | 4 +- .../src/workflowsRegenerateAccessKeySample.ts | 4 +- .../typescript/src/workflowsValidateSample.ts | 4 +- .../arm-appservice/src/models/index.ts | 1168 +- .../arm-appservice/src/models/mappers.ts | 11152 ++++++++-------- .../arm-appservice/src/models/parameters.ts | 20 +- .../src/operations/containerApps.ts | 611 - .../src/operations/containerAppsRevisions.ts | 364 - .../arm-appservice/src/operations/index.ts | 4 +- .../arm-appservice/src/operations/webApps.ts | 42 + .../src/operationsInterfaces/containerApps.ts | 116 - .../containerAppsRevisions.ts | 86 - .../src/operationsInterfaces/index.ts | 4 +- .../src/operationsInterfaces/webApps.ts | 13 + .../src/webSiteManagementClient.ts | 20 +- .../arm-appservice/test/sampleTest.ts | 40 + .../arm-appservice/test/snippets.spec.ts | 10 - .../tsconfig.browser.config.json | 19 +- sdk/appservice/arm-appservice/tsconfig.json | 37 +- .../arm-appservice/vitest.browser.config.ts | 6 +- .../arm-appservice/vitest.config.ts | 3 +- 374 files changed, 7114 insertions(+), 8328 deletions(-) delete mode 100644 sdk/appservice/arm-appservice/src/operations/containerApps.ts delete mode 100644 sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts delete mode 100644 sdk/appservice/arm-appservice/src/operationsInterfaces/containerApps.ts delete mode 100644 sdk/appservice/arm-appservice/src/operationsInterfaces/containerAppsRevisions.ts create mode 100644 sdk/appservice/arm-appservice/test/sampleTest.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 3790a7bdc5e7..a529e4dfb48f 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -2605,7 +2605,7 @@ packages: version: 0.0.0 '@rush-temp/arm-appservice-1@file:projects/arm-appservice-1.tgz': - resolution: {integrity: sha512-I4PTx+1nAQHr10v5BssfNbuvr8uIS0psZxPHDxXq2WjxJcH/SGHK0/o8kxg+Vlc3n9xkKUoc57CKa+HIOLImQA==, tarball: file:projects/arm-appservice-1.tgz} + resolution: {integrity: sha512-gLam1ls5kgU9fFGjzXyY04kDKoe5DMdpEmpMtfK4Y4JUO4xMrV7I8QDJu1UnxDtwxei7nUnAJNr4msQ52rG5pA==, tarball: file:projects/arm-appservice-1.tgz} version: 0.0.0 '@rush-temp/arm-appservice-profile-2020-09-01-hybrid@file:projects/arm-appservice-profile-2020-09-01-hybrid.tgz': @@ -2697,11 +2697,11 @@ packages: version: 0.0.0 '@rush-temp/arm-commerce-profile-2020-09-01-hybrid@file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz': - resolution: {integrity: sha512-BRIK5ZH2ELXs6VzT9EiCUzSwvfVl95kQ5q6LP7ifFXFKj+h6jsP7US+0tTomlxVW6f1hWprP+21VdXTdzC13KQ==, tarball: file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-qbHpCPlW9aqZSg/D4IXUr+J/YAzvAgD8ujq5FQ80VPHUnw9ywUqNwf/Zh4AGuGA/AIMqeTJU6uP062YAGekT8w==, tarball: file:projects/arm-commerce-profile-2020-09-01-hybrid.tgz} version: 0.0.0 '@rush-temp/arm-commerce@file:projects/arm-commerce.tgz': - resolution: {integrity: sha512-StrevIYD6b6YFSAEKAkBfEtLexT8qfn3UIO1c8sfaIkZY73ol85Y7ZlqGJaJqwJABD8J/O4Vm3+PCtxDLCMlSg==, tarball: file:projects/arm-commerce.tgz} + resolution: {integrity: sha512-G/zUXO95sa7K8wDXohSMN63cj70gNPlC6bcDXLN2m3wQzpcZZuuAR0gc/SidkjtekjjsNAWLIxeMHxvoALVzwQ==, tarball: file:projects/arm-commerce.tgz} version: 0.0.0 '@rush-temp/arm-commitmentplans@file:projects/arm-commitmentplans.tgz': @@ -2713,15 +2713,15 @@ packages: version: 0.0.0 '@rush-temp/arm-compute-1@file:projects/arm-compute-1.tgz': - resolution: {integrity: sha512-Wn/WpXvVjLxRfBlWz9NC6Ag8H/95JqQys002LxgiVYZLEVkOr3HJUANqJzxCtCwzCcpofyA7SSUi4qtuBeuhXA==, tarball: file:projects/arm-compute-1.tgz} + resolution: {integrity: sha512-KCS+2o5NlcZoySjnrvsqFeXBXVm6MuIs0Vnx/NL+/nQCnaJGPku6mDBt/PddG17CwWSKdzrTXZFL40G3wDQxcg==, tarball: file:projects/arm-compute-1.tgz} version: 0.0.0 '@rush-temp/arm-compute-profile-2020-09-01-hybrid@file:projects/arm-compute-profile-2020-09-01-hybrid.tgz': - resolution: {integrity: sha512-5WpRUjlqP4XgyoZ24kqOm7a0VrmcB8tZ8Rh4evEDJ8ZIwVPS3mox9CJ+k9jgSCiPo4H0u2+mfpHLkD/Ws+I5Fg==, tarball: file:projects/arm-compute-profile-2020-09-01-hybrid.tgz} + resolution: {integrity: sha512-wRV/k7u9s/kzyieYNmYuR2X12M8hAWAodvJKU9GMPWdqIDJ1yGlC553Zsd8FGDthMZiayOSRQk7wHp6mV3SKUQ==, tarball: file:projects/arm-compute-profile-2020-09-01-hybrid.tgz} version: 0.0.0 '@rush-temp/arm-compute@file:projects/arm-compute.tgz': - resolution: {integrity: sha512-OO/RoX5bHgrnl+q/r6ExY9iFdoBm2y98S4uEoHw9I0rMm4S1NvtAkO/6O/mnf/55OIaBrl9XTD1PPxhCX8se1g==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-8uP5wM8iPPLrEHbLFqeJrbVXgyPTKrGEWoNKy7SZhBZ/bQSZfJ804hgllcvqSOjX4ElmcN/Oj6eaNC8lCyMzsA==, tarball: file:projects/arm-compute.tgz} version: 0.0.0 '@rush-temp/arm-computefleet@file:projects/arm-computefleet.tgz': @@ -3529,7 +3529,7 @@ packages: version: 0.0.0 '@rush-temp/arm-visualstudio@file:projects/arm-visualstudio.tgz': - resolution: {integrity: sha512-bu9H5YDy7yLXx4+KkVwbCPKeCo6jZzKOpwSOmCSuNBJz6w6pSOqX/qhOGKA129u2KDZcwsjurDeu6Xy4LyKLLg==, tarball: file:projects/arm-visualstudio.tgz} + resolution: {integrity: sha512-jSMd70E8RMku4WFq8JC/IhnOE9B55X0vRL59jp8HVOHCZ6lVcynacrVpI8IuUa16gtDhvGJT7gQqp+bGlZB2FQ==, tarball: file:projects/arm-visualstudio.tgz} version: 0.0.0 '@rush-temp/arm-vmwarecloudsimple@file:projects/arm-vmwarecloudsimple.tgz': @@ -3789,11 +3789,11 @@ packages: version: 0.0.0 '@rush-temp/keyvault-admin@file:projects/keyvault-admin.tgz': - resolution: {integrity: sha512-NizLT7d7g7FIam+lwQJpaMWvoM1SIdA0x1rpi4AN/U99Qw4L3PAAEwZjSa+LQmIco2o8/vBNXgmqTt1OFnGcUQ==, tarball: file:projects/keyvault-admin.tgz} + resolution: {integrity: sha512-TJLp2c5+8jmmOQU4o3J1WgjUBym+ALNt47qwn5G4Almpzn6d4fc4fvaNzIGAAEnTkmhuFGjsId4S2frOmIQyXw==, tarball: file:projects/keyvault-admin.tgz} version: 0.0.0 '@rush-temp/keyvault-certificates@file:projects/keyvault-certificates.tgz': - resolution: {integrity: sha512-1jHJ2NsW3OKtSzvwyCPj5WW1JizSDlqn258gIYCUoNpsftDKWYnYew7L1+7AMGtAjJ9DKIlj3FEkGzBBAs05yw==, tarball: file:projects/keyvault-certificates.tgz} + resolution: {integrity: sha512-3NVltxrn+VzpiQ58GHXy0wRiXTva+Xoys2j6Dfx7wrmGNiGbZXrJf5nLW/H/Bzj9ZeHbzFgDY7QUIdXqqJU7lA==, tarball: file:projects/keyvault-certificates.tgz} version: 0.0.0 '@rush-temp/keyvault-common@file:projects/keyvault-common.tgz': @@ -10762,12 +10762,12 @@ snapshots: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.70 - '@vitest/browser': 2.1.8(@types/node@18.19.70)(playwright@1.49.1)(typescript@5.7.3)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) + '@vitest/browser': 2.1.8(@types/node@18.19.70)(playwright@1.49.1)(typescript@5.6.3)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.7 playwright: 1.49.1 tslib: 2.8.1 - typescript: 5.7.3 + typescript: 5.6.3 vitest: 2.1.8(@types/node@18.19.70)(@vitest/browser@2.1.8)(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.3)) transitivePeerDependencies: - '@edge-runtime/vm' @@ -11581,7 +11581,6 @@ snapshots: dotenv: 16.4.7 playwright: 1.49.1 tslib: 2.8.1 - tsx: 4.19.2 typescript: 5.7.3 vitest: 2.1.8(@types/node@18.19.70)(@vitest/browser@2.1.8)(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.3)) transitivePeerDependencies: @@ -11606,7 +11605,6 @@ snapshots: '@rush-temp/arm-compute-profile-2020-09-01-hybrid@file:projects/arm-compute-profile-2020-09-01-hybrid.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.3))(vite@5.4.11(@types/node@22.7.9))': dependencies: - '@azure/abort-controller': 1.1.0 '@azure/core-lro': 2.7.2 '@types/node': 18.19.70 '@vitest/browser': 2.1.8(@types/node@18.19.70)(playwright@1.49.1)(typescript@5.7.3)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) @@ -11638,7 +11636,6 @@ snapshots: '@rush-temp/arm-compute@file:projects/arm-compute.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.3))(vite@5.4.11(@types/node@22.7.9))': dependencies: - '@azure-rest/core-client': 1.4.0 '@azure/arm-network': 32.2.0 '@types/node': 18.19.70 '@vitest/browser': 2.1.8(@types/node@18.19.70)(playwright@1.49.1)(typescript@5.7.3)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) @@ -25116,7 +25113,7 @@ snapshots: resolve-import: 1.4.6 rimraf: 5.0.10 sync-content: 1.0.2 - typescript: 5.5.4 + typescript: 5.7.3 walk-up-path: 3.0.1 tshy@2.0.1: diff --git a/sdk/appservice/arm-appservice/CHANGELOG.md b/sdk/appservice/arm-appservice/CHANGELOG.md index 13462b727975..5a84798c12c2 100644 --- a/sdk/appservice/arm-appservice/CHANGELOG.md +++ b/sdk/appservice/arm-appservice/CHANGELOG.md @@ -1,15 +1,29 @@ # Release History - -## 15.0.1 (Unreleased) - + +## 16.0.0 (2025-01-20) + ### Features Added -### Breaking Changes - -### Bugs Fixed + - Added operation WebApps.updateMachineKey + - Added Interface CipherSuites + - Added Interface WebAppsUpdateMachineKeyOptionalParams + - Added Type Alias AutoGeneratedDomainNameLabelScope + - Added Type Alias IPMode + - Added Type Alias WebAppsUpdateMachineKeyResponse + - Interface Site has a new optional parameter autoGeneratedDomainNameLabelScope + - Interface Site has a new optional parameter endToEndEncryptionEnabled + - Interface Site has a new optional parameter ipMode + - Interface Site has a new optional parameter sku + - Interface WebSiteInstanceStatus has a new optional parameter physicalZone -### Other Changes +### Breaking Changes + - Removed operation group ContainerApps + - Removed operation group ContainerAppsRevisions + - Class WebSiteManagementClient no longer has parameter containerApps + - Class WebSiteManagementClient no longer has parameter containerAppsRevisions + + ## 15.0.0 (2024-06-11) ### Features Added diff --git a/sdk/appservice/arm-appservice/LICENSE b/sdk/appservice/arm-appservice/LICENSE index 7d5934740965..2ad4de7b17f0 100644 --- a/sdk/appservice/arm-appservice/LICENSE +++ b/sdk/appservice/arm-appservice/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2024 Microsoft +Copyright (c) 2025 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/appservice/arm-appservice/README.md b/sdk/appservice/arm-appservice/README.md index 406da4facc5c..a47018f173ad 100644 --- a/sdk/appservice/arm-appservice/README.md +++ b/sdk/appservice/arm-appservice/README.md @@ -44,36 +44,27 @@ npm install @azure/identity ``` You will also need to **register a new AAD application and grant access to Azure WebSiteManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). -Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). -Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client. - -```ts snippet:ReadmeSampleCreateClient_Node -import { WebSiteManagementClient } from "@azure/arm-appservice"; -import { DefaultAzureCredential } from "@azure/identity"; +```javascript +const { WebSiteManagementClient } = require("@azure/arm-appservice"); +const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new WebSiteManagementClient(new DefaultAzureCredential(), subscriptionId); -``` - -For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate. - -```ts snippet:ReadmeSampleCreateClient_Browser -import { InteractiveBrowserCredential } from "@azure/identity"; -import { WebSiteManagementClient } from "@azure/arm-appservice"; -const subscriptionId = "00000000-0000-0000-0000-000000000000"; -const credential = new InteractiveBrowserCredential({ - tenantId: "", - clientId: "", -}); -const client = new WebSiteManagementClient(credential, subscriptionId); +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new WebSiteManagementClient(credential, subscriptionId); ``` -### JavaScript Bundle +### JavaScript Bundle To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling). ## Key concepts @@ -88,9 +79,8 @@ To use this client library in the browser, first you need to use a bundler. For Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`: -```ts snippet:SetLogLevel -import { setLogLevel } from "@azure/logger"; - +```javascript +const { setLogLevel } = require("@azure/logger"); setLogLevel("info"); ``` diff --git a/sdk/appservice/arm-appservice/_meta.json b/sdk/appservice/arm-appservice/_meta.json index cc1c202d06c6..eb1b08caf41a 100644 --- a/sdk/appservice/arm-appservice/_meta.json +++ b/sdk/appservice/arm-appservice/_meta.json @@ -1,8 +1,8 @@ { - "commit": "e9f47ec88eb06646c53f2a561f3b27434ac5ac57", + "commit": "7f67066a8b98dee2db8b57b92c582f0375b63d74", "readme": "specification/web/resource-manager/readme.md", - "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\web\\resource-manager\\readme.md --use=@autorest/typescript@6.0.23 --generate-sample=true", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/web/resource-manager/readme.md --use=@autorest/typescript@^6.0.12", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.7.9", - "use": "@autorest/typescript@6.0.23" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.18", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/appservice/arm-appservice/api-extractor.json b/sdk/appservice/arm-appservice/api-extractor.json index 1807d1dd8662..8f48a64b5e1f 100644 --- a/sdk/appservice/arm-appservice/api-extractor.json +++ b/sdk/appservice/arm-appservice/api-extractor.json @@ -1,6 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "dist/esm/index.d.ts", + "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", "docModel": { "enabled": true }, @@ -11,7 +11,7 @@ "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "dist/arm-appservice.d.ts" + "publicTrimmedFilePath": "./types/arm-appservice.d.ts" }, "messages": { "tsdocMessageReporting": { @@ -28,4 +28,4 @@ } } } -} +} \ No newline at end of file diff --git a/sdk/appservice/arm-appservice/package.json b/sdk/appservice/arm-appservice/package.json index 2240f81814c5..5f47245dfaa9 100644 --- a/sdk/appservice/arm-appservice/package.json +++ b/sdk/appservice/arm-appservice/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for WebSiteManagementClient.", - "version": "15.0.1", + "version": "16.0.0", "engines": { "node": ">=18.0.0" }, @@ -11,38 +11,40 @@ "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.9.0", "@azure/core-client": "^1.9.2", - "@azure/core-lro": "^2.7.2", + "@azure/core-lro": "^2.5.4", "@azure/core-paging": "^1.6.2", - "@azure/core-rest-pipeline": "^1.18.1", - "tslib": "^2.2.0" + "@azure/core-rest-pipeline": "^1.18.2", + "tslib": "^2.8.1" }, "keywords": [ "node", "azure", "typescript", "browser", - "isomorphic", - "cloud" + "isomorphic" ], "license": "MIT", "main": "./dist/commonjs/index.js", - "module": "./dist/esm/index.js", + "module": "./dist-esm/src/index.js", "types": "./dist/commonjs/index.d.ts", "devDependencies": { "@azure-tools/test-credential": "^2.0.0", "@azure-tools/test-recorder": "^4.1.0", "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.5.0", + "@azure/identity": "^4.6.0", "@types/node": "^18.0.0", "@vitest/browser": "^2.1.8", "@vitest/coverage-istanbul": "^2.1.8", "dotenv": "^16.0.0", "playwright": "^1.49.1", - "typescript": "~5.7.2", + "typescript": "~5.6.2", "vitest": "^2.1.8" }, - "repository": "github:Azure/azure-sdk-for-js", + "repository": { + "type": "git", + "url": "https://github.com/Azure/azure-sdk-for-js.git" + }, "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, @@ -77,7 +79,7 @@ "unit-test": "npm run unit-test:node && npm run unit-test:browser", "unit-test:browser": "echo skipped", "unit-test:node": "dev-tool run test:vitest", - "update-snippets": "dev-tool run update-snippets" + "update-snippets": "echo skipped" }, "sideEffects": false, "//metadata": { @@ -90,14 +92,6 @@ }, "autoPublish": true, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-appservice?view=azure-node-preview" - }, "type": "module", "tshy": { "project": "./tsconfig.src.json", @@ -138,4 +132,4 @@ } } } -} +} \ No newline at end of file diff --git a/sdk/appservice/arm-appservice/review/arm-appservice.api.md b/sdk/appservice/arm-appservice/review/arm-appservice.api.md index d370c17b072c..f68d0e147d38 100644 --- a/sdk/appservice/arm-appservice/review/arm-appservice.api.md +++ b/sdk/appservice/arm-appservice/review/arm-appservice.api.md @@ -1471,6 +1471,9 @@ export interface AuthPlatform { // @public export type AuthType = "Anonymous" | "UserCredentials" | "SystemIdentity" | "UserAssigned"; +// @public +export type AutoGeneratedDomainNameLabelScope = "TenantReuse" | "SubscriptionReuse" | "ResourceGroupReuse" | "NoReuse"; + // @public export interface AutoHealActions { actionType?: AutoHealActionType; @@ -1919,6 +1922,11 @@ export type CheckNameAvailabilityResponse = ResourceNameAvailability; // @public export type CheckNameResourceTypes = string; +// @public +export interface CipherSuites { + suites?: string[]; +} + // @public export type ClientCertMode = "Required" | "Optional" | "OptionalInteractiveUser"; @@ -2024,18 +2032,6 @@ export interface ContainerAppCollection { // @public export type ContainerAppProvisioningState = string; -// @public -export interface ContainerApps { - beginCreateOrUpdate(resourceGroupName: string, name: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsCreateOrUpdateOptionalParams): Promise, ContainerAppsCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, name: string, options?: ContainerAppsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, name: string, options?: ContainerAppsDeleteOptionalParams): Promise; - get(resourceGroupName: string, name: string, options?: ContainerAppsGetOptionalParams): Promise; - listByResourceGroup(resourceGroupName: string, options?: ContainerAppsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; - listBySubscription(options?: ContainerAppsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; - listSecrets(name: string, options?: ContainerAppsListSecretsOptionalParams): Promise; -} - // @public (undocumented) export interface ContainerAppsConfiguration { appSubnetResourceId?: string; @@ -2046,111 +2042,12 @@ export interface ContainerAppsConfiguration { platformReservedDnsIP?: string; } -// @public -export interface ContainerAppsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; -} - -// @public -export type ContainerAppsCreateOrUpdateResponse = ContainerApp; - -// @public -export interface ContainerAppsDeleteOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; -} - // @public export interface ContainerAppSecret { readonly name?: string; readonly value?: string; } -// @public -export interface ContainerAppsGetOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type ContainerAppsGetResponse = ContainerApp; - -// @public -export interface ContainerAppsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type ContainerAppsListByResourceGroupNextResponse = ContainerAppCollection; - -// @public -export interface ContainerAppsListByResourceGroupOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type ContainerAppsListByResourceGroupResponse = ContainerAppCollection; - -// @public -export interface ContainerAppsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type ContainerAppsListBySubscriptionNextResponse = ContainerAppCollection; - -// @public -export interface ContainerAppsListBySubscriptionOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type ContainerAppsListBySubscriptionResponse = ContainerAppCollection; - -// @public -export interface ContainerAppsListSecretsOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type ContainerAppsListSecretsResponse = SecretsCollection; - -// @public -export interface ContainerAppsRevisions { - activateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsActivateRevisionOptionalParams): Promise; - deactivateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams): Promise; - getRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsGetRevisionOptionalParams): Promise; - listRevisions(resourceGroupName: string, containerAppName: string, options?: ContainerAppsRevisionsListRevisionsOptionalParams): PagedAsyncIterableIterator; - restartRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsRestartRevisionOptionalParams): Promise; -} - -// @public -export interface ContainerAppsRevisionsActivateRevisionOptionalParams extends coreClient.OperationOptions { -} - -// @public -export interface ContainerAppsRevisionsDeactivateRevisionOptionalParams extends coreClient.OperationOptions { -} - -// @public -export interface ContainerAppsRevisionsGetRevisionOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type ContainerAppsRevisionsGetRevisionResponse = Revision; - -// @public -export interface ContainerAppsRevisionsListRevisionsNextOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type ContainerAppsRevisionsListRevisionsNextResponse = RevisionCollection; - -// @public -export interface ContainerAppsRevisionsListRevisionsOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type ContainerAppsRevisionsListRevisionsResponse = RevisionCollection; - -// @public -export interface ContainerAppsRevisionsRestartRevisionOptionalParams extends coreClient.OperationOptions { -} - // @public (undocumented) export interface ContainerCpuStatistics { // (undocumented) @@ -4059,6 +3956,9 @@ export interface IpAddressRange { // @public export type IpFilterTag = string; +// @public +export type IPMode = "IPv4" | "IPv6" | "IPv4AndIPv6"; + // @public export interface IpSecurityRestriction { action?: string; @@ -6189,6 +6089,7 @@ export interface ServiceSpecification { // @public export interface Site extends Resource { + autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; readonly availabilityState?: SiteAvailabilityState; clientAffinityEnabled?: boolean; clientCertEnabled?: boolean; @@ -6203,6 +6104,7 @@ export interface Site extends Resource { dnsConfiguration?: SiteDnsConfig; enabled?: boolean; readonly enabledHostNames?: string[]; + endToEndEncryptionEnabled?: boolean; extendedLocation?: ExtendedLocation; functionAppConfig?: FunctionAppConfig; hostingEnvironmentProfile?: HostingEnvironmentProfile; @@ -6213,6 +6115,7 @@ export interface Site extends Resource { hyperV?: boolean; identity?: ManagedServiceIdentity; readonly inProgressOperationId?: string; + ipMode?: IPMode; readonly isDefaultContainer?: boolean; isXenon?: boolean; keyVaultReferenceIdentity?: string; @@ -6230,6 +6133,7 @@ export interface Site extends Resource { scmSiteAlsoStopped?: boolean; serverFarmId?: string; siteConfig?: SiteConfig; + readonly sku?: string; readonly slotSwapStatus?: SlotSwapStatus; readonly state?: string; storageAccountRequired?: boolean; @@ -6569,7 +6473,7 @@ export interface SiteLimits { } // @public -export type SiteLoadBalancing = "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin"; +export type SiteLoadBalancing = "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin" | "LeastRequestsWithTieBreaker"; // @public export interface SiteLogsConfig extends ProxyOnlyResource { @@ -8769,6 +8673,7 @@ export interface WebApps { updateFtpAllowedSlot(resourceGroupName: string, name: string, slot: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, options?: WebAppsUpdateFtpAllowedSlotOptionalParams): Promise; updateHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: HybridConnection, options?: WebAppsUpdateHybridConnectionOptionalParams): Promise; updateHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, connectionEnvelope: HybridConnection, options?: WebAppsUpdateHybridConnectionSlotOptionalParams): Promise; + updateMachineKey(resourceGroupName: string, name: string, options?: WebAppsUpdateMachineKeyOptionalParams): Promise; updateMetadata(resourceGroupName: string, name: string, metadata: StringDictionary, options?: WebAppsUpdateMetadataOptionalParams): Promise; updateMetadataSlot(resourceGroupName: string, name: string, slot: string, metadata: StringDictionary, options?: WebAppsUpdateMetadataSlotOptionalParams): Promise; updatePremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: PremierAddOnPatchResource, options?: WebAppsUpdatePremierAddOnOptionalParams): Promise; @@ -11932,6 +11837,13 @@ export interface WebAppsUpdateHybridConnectionSlotOptionalParams extends coreCli // @public export type WebAppsUpdateHybridConnectionSlotResponse = HybridConnection; +// @public +export interface WebAppsUpdateMachineKeyOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WebAppsUpdateMachineKeyResponse = Record; + // @public export interface WebAppsUpdateMetadataOptionalParams extends coreClient.OperationOptions { } @@ -12109,6 +12021,7 @@ export interface WebSiteInstanceStatus extends ProxyOnlyResource { }; detectorUrl?: string; healthCheckUrl?: string; + physicalZone?: string; // (undocumented) state?: SiteRuntimeState; statusUrl?: string; @@ -12136,10 +12049,6 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { certificates: Certificates; checkNameAvailability(name: string, typeParam: CheckNameResourceTypes, options?: CheckNameAvailabilityOptionalParams): Promise; // (undocumented) - containerApps: ContainerApps; - // (undocumented) - containerAppsRevisions: ContainerAppsRevisions; - // (undocumented) deletedWebApps: DeletedWebApps; // (undocumented) diagnostics: Diagnostics; diff --git a/sdk/appservice/arm-appservice/sample.env b/sdk/appservice/arm-appservice/sample.env index 672847a3fea0..508439fc7d62 100644 --- a/sdk/appservice/arm-appservice/sample.env +++ b/sdk/appservice/arm-appservice/sample.env @@ -1,4 +1 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file +# Feel free to add your own environment variables. \ No newline at end of file diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersCreateOrUpdateCertificateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersCreateOrUpdateCertificateSample.ts index 51a1189e153a..1b92d8ba3b1a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersCreateOrUpdateCertificateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersCreateOrUpdateCertificateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates or updates a certificate and associates with key vault secret. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/CreateAppServiceCertificate.json */ -async function createCertificate() { +async function createCertificate(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -47,7 +47,7 @@ async function createCertificate() { console.log(result); } -async function main() { +async function main(): Promise { createCertificate(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersCreateOrUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersCreateOrUpdateSample.ts index 61437a518a37..106e132b30f1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersCreateOrUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a certificate purchase order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/CreateAppServiceCertificateOrder.json */ -async function createCertificateOrder() { +async function createCertificateOrder(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -59,7 +59,7 @@ async function createCertificateOrder() { console.log(result); } -async function main() { +async function main(): Promise { createCertificateOrder(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersDeleteCertificateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersDeleteCertificateSample.ts index ededb88502b7..c6f02360b715 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersDeleteCertificateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersDeleteCertificateSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Delete the certificate associated with a certificate order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/DeleteAppServiceCertificate.json */ -async function deleteAppServiceCertificate() { +async function deleteAppServiceCertificate(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function deleteAppServiceCertificate() { console.log(result); } -async function main() { +async function main(): Promise { deleteAppServiceCertificate(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersDeleteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersDeleteSample.ts index 4f168b9c9259..adbbccb9312e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersDeleteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersDeleteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Delete an existing certificate order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/DeleteAppServiceCertificateOrder.json */ -async function deleteAppServiceCertificateOrder() { +async function deleteAppServiceCertificateOrder(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function deleteAppServiceCertificateOrder() { console.log(result); } -async function main() { +async function main(): Promise { deleteAppServiceCertificateOrder(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersGetCertificateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersGetCertificateSample.ts index 23c3a5972f15..34f9396159d0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersGetCertificateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersGetCertificateSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get the certificate associated with a certificate order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificate.json */ -async function getAppServiceCertificate() { +async function getAppServiceCertificate(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getAppServiceCertificate() { console.log(result); } -async function main() { +async function main(): Promise { getAppServiceCertificate(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersGetSample.ts index 1afe6c633455..1d32de2aa08b 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get a certificate order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificateOrder.json */ -async function getAppServiceCertificateOrder() { +async function getAppServiceCertificateOrder(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function getAppServiceCertificateOrder() { console.log(result); } -async function main() { +async function main(): Promise { getAppServiceCertificateOrder(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListByResourceGroupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListByResourceGroupSample.ts index b72352fd94af..244f1272cd65 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListByResourceGroupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListByResourceGroupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get certificate orders in a resource group. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListAppServiceCertificateOrdersByResourceGroup.json */ -async function listAppServiceCertificateOrdersByResourceGroup() { +async function listAppServiceCertificateOrdersByResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function listAppServiceCertificateOrdersByResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppServiceCertificateOrdersByResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListCertificatesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListCertificatesSample.ts index 5ace283aea57..bd03111d29b3 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListCertificatesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListCertificatesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for List all certificates associated with a certificate order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListCertificatesByAppServiceCertificateOrder.json */ -async function listCertificatesByAppServiceCertificate() { +async function listCertificatesByAppServiceCertificate(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function listCertificatesByAppServiceCertificate() { console.log(resArray); } -async function main() { +async function main(): Promise { listCertificatesByAppServiceCertificate(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListSample.ts index e905c79d80cd..2ff91dab97a4 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for List all certificate orders in a subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListAppServiceCertificateOrdersBySubscription.json */ -async function listAppServiceCertificateOrdersBySubscription() { +async function listAppServiceCertificateOrdersBySubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function listAppServiceCertificateOrdersBySubscription() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppServiceCertificateOrdersBySubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersReissueSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersReissueSample.ts index 2319e9ad7a04..28138b4b7bd7 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersReissueSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersReissueSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Reissue an existing certificate order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ReissueAppServiceCertificateOrder.json */ -async function reissueAppServiceCertificateOrder() { +async function reissueAppServiceCertificateOrder(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function reissueAppServiceCertificateOrder() { console.log(result); } -async function main() { +async function main(): Promise { reissueAppServiceCertificateOrder(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRenewSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRenewSample.ts index f5e450788d97..3e300d9ee849 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRenewSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRenewSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Renew an existing certificate order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/RenewAppServiceCertificateOrder.json */ -async function renewAppServiceCertificateOrder() { +async function renewAppServiceCertificateOrder(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function renewAppServiceCertificateOrder() { console.log(result); } -async function main() { +async function main(): Promise { renewAppServiceCertificateOrder(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersResendEmailSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersResendEmailSample.ts index 6548544a7c5f..91ab4951f53c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersResendEmailSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersResendEmailSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Resend certificate email. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ResendAppServiceCertificateOrderEmail.json */ -async function resendAppServiceCertificateOrderEmail() { +async function resendAppServiceCertificateOrderEmail(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function resendAppServiceCertificateOrderEmail() { console.log(result); } -async function main() { +async function main(): Promise { resendAppServiceCertificateOrderEmail(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersResendRequestEmailsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersResendRequestEmailsSample.ts index aca3634aee83..63719e37919f 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersResendRequestEmailsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersResendRequestEmailsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ResendDomainOwnershipVerificationEmail.json */ -async function resendDomainOwnershipVerificationEmail() { +async function resendDomainOwnershipVerificationEmail(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function resendDomainOwnershipVerificationEmail() { console.log(result); } -async function main() { +async function main(): Promise { resendDomainOwnershipVerificationEmail(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveCertificateActionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveCertificateActionsSample.ts index e4c68313b030..2f55675b8505 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveCertificateActionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveCertificateActionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Retrieve the list of certificate actions. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/RetrieveCertificateOrderActions.json */ -async function retrieveCertificateOrderActions() { +async function retrieveCertificateOrderActions(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function retrieveCertificateOrderActions() { console.log(result); } -async function main() { +async function main(): Promise { retrieveCertificateOrderActions(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveCertificateEmailHistorySample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveCertificateEmailHistorySample.ts index 3d0dce356633..7312c22676b1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveCertificateEmailHistorySample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveCertificateEmailHistorySample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Retrieve email history. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/RetrieveCertificateEmailHistory.json */ -async function retrieveCertificateEmailHistory() { +async function retrieveCertificateEmailHistory(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function retrieveCertificateEmailHistory() { console.log(result); } -async function main() { +async function main(): Promise { retrieveCertificateEmailHistory(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveSiteSealSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveSiteSealSample.ts index a498b9ed47da..41d19fa536a7 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveSiteSealSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersRetrieveSiteSealSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary This method is used to obtain the site seal information for an issued certificate. A site seal is a graphic that the certificate purchaser can embed on their web site to show their visitors information about their SSL certificate. If a web site visitor clicks on the site seal image, a pop-up page is displayed that contains detailed information about the SSL certificate. The site seal token is used to link the site seal graphic image to the appropriate certificate details pop-up page display when a user clicks on the site seal. The site seal images are expected to be static images and hosted by the reseller, to minimize delays for customer page load times. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/RetrieveSiteSeal.json */ -async function retrieveSiteSeal() { +async function retrieveSiteSeal(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function retrieveSiteSeal() { console.log(result); } -async function main() { +async function main(): Promise { retrieveSiteSeal(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersUpdateCertificateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersUpdateCertificateSample.ts index 44b317f571ad..1278fd92af3c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersUpdateCertificateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersUpdateCertificateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates or updates a certificate and associates with key vault secret. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/UpdateAppServiceCertificate.json */ -async function updateCertificate() { +async function updateCertificate(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function updateCertificate() { console.log(result); } -async function main() { +async function main(): Promise { updateCertificate(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersUpdateSample.ts index 1211140437e8..435dd64569d4 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersUpdateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a certificate purchase order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/UpdateAppServiceCertificateOrder.json */ -async function updateCertificateOrder() { +async function updateCertificateOrder(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -58,7 +58,7 @@ async function updateCertificateOrder() { console.log(result); } -async function main() { +async function main(): Promise { updateCertificateOrder(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersValidatePurchaseInformationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersValidatePurchaseInformationSample.ts index 808c2bafa461..6f7ca2a980b0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersValidatePurchaseInformationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersValidatePurchaseInformationSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Validate information for a certificate order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ValidateAppServiceCertificatePurchaseInformationBySubscription.json */ -async function validateAppServiceCertificatePurchaseInformationBySubscription() { +async function validateAppServiceCertificatePurchaseInformationBySubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -54,7 +54,7 @@ async function validateAppServiceCertificatePurchaseInformationBySubscription() console.log(result); } -async function main() { +async function main(): Promise { validateAppServiceCertificatePurchaseInformationBySubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersVerifyDomainOwnershipSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersVerifyDomainOwnershipSample.ts index fe5ac2940a7d..4068b5ddb7eb 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersVerifyDomainOwnershipSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceCertificateOrdersVerifyDomainOwnershipSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Verify domain ownership for this certificate order. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/VerifyDomainOwnership.json */ -async function verifyDomainOwnership() { +async function verifyDomainOwnership(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function verifyDomainOwnership() { console.log(result); } -async function main() { +async function main(): Promise { verifyDomainOwnership(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionSample.ts index 14b6189cbf15..d7f94b9e43a8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Approves or rejects a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json */ -async function approvesOrRejectsAPrivateEndpointConnection() { +async function approvesOrRejectsAPrivateEndpointConnection(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -47,7 +47,7 @@ async function approvesOrRejectsAPrivateEndpointConnection() { console.log(result); } -async function main() { +async function main(): Promise { approvesOrRejectsAPrivateEndpointConnection(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsChangeVnetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsChangeVnetSample.ts index 7f834a985b06..cc0370382c88 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsChangeVnetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsChangeVnetSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Move an App Service Environment to a different VNET. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ChangeVnet.json */ -async function moveAnAppServiceEnvironmentToADifferentVnet() { +async function moveAnAppServiceEnvironmentToADifferentVnet(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function moveAnAppServiceEnvironmentToADifferentVnet() { console.log(resArray); } -async function main() { +async function main(): Promise { moveAnAppServiceEnvironmentToADifferentVnet(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateMultiRolePoolSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateMultiRolePoolSample.ts index ef4a3c8e916f..7c7300b5f6fa 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateMultiRolePoolSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateMultiRolePoolSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a multi-role pool. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json */ -async function createOrUpdateAMultiRolePool() { +async function createOrUpdateAMultiRolePool(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function createOrUpdateAMultiRolePool() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateAMultiRolePool(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateSample.ts index 3dcbebe66de5..7961669cbb5e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_CreateOrUpdate.json */ -async function createOrUpdateAnAppServiceEnvironment() { +async function createOrUpdateAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function createOrUpdateAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateWorkerPoolSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateWorkerPoolSample.ts index bd700f741138..9b290b42152e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateWorkerPoolSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsCreateOrUpdateWorkerPoolSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a worker pool. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json */ -async function getPropertiesOfAWorkerPool() { +async function getPropertiesOfAWorkerPool(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function getPropertiesOfAWorkerPool() { console.log(result); } -async function main() { +async function main(): Promise { getPropertiesOfAWorkerPool(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationSample.ts index c5788177073c..985ceb969f75 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Delete Custom Dns Suffix configuration of an App Service Environment * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteAseCustomDnsSuffixConfiguration.json */ -async function deleteAseCustomDnsSuffixConfiguration() { +async function deleteAseCustomDnsSuffixConfiguration(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function deleteAseCustomDnsSuffixConfiguration() { console.log(result); } -async function main() { +async function main(): Promise { deleteAseCustomDnsSuffixConfiguration(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeletePrivateEndpointConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeletePrivateEndpointConnectionSample.ts index 94c0607e5662..771913339405 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeletePrivateEndpointConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeletePrivateEndpointConnectionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_DeletePrivateEndpointConnection.json */ -async function deletesAPrivateEndpointConnection() { +async function deletesAPrivateEndpointConnection(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function deletesAPrivateEndpointConnection() { console.log(result); } -async function main() { +async function main(): Promise { deletesAPrivateEndpointConnection(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeleteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeleteSample.ts index 96ed5cbcc02c..57eb2b11c807 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeleteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsDeleteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Delete an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Delete.json */ -async function deleteAnAppServiceEnvironment() { +async function deleteAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function deleteAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { deleteAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetAseCustomDnsSuffixConfigurationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetAseCustomDnsSuffixConfigurationSample.ts index 8c733c9a2fae..9ed56bd60d79 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetAseCustomDnsSuffixConfigurationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetAseCustomDnsSuffixConfigurationSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get Custom Dns Suffix configuration of an App Service Environment * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAseCustomDnsSuffixConfiguration.json */ -async function getAseCustomDnsSuffixConfiguration() { +async function getAseCustomDnsSuffixConfiguration(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getAseCustomDnsSuffixConfiguration() { console.log(result); } -async function main() { +async function main(): Promise { getAseCustomDnsSuffixConfiguration(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetAseV3NetworkingConfigurationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetAseV3NetworkingConfigurationSample.ts index 1500a8c32b6b..8bfb87fa66ab 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetAseV3NetworkingConfigurationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetAseV3NetworkingConfigurationSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get networking configuration of an App Service Environment * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json */ -async function getNetworkingConfigurationOfAnAppServiceEnvironment() { +async function getNetworkingConfigurationOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getNetworkingConfigurationOfAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { getNetworkingConfigurationOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetDiagnosticsItemSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetDiagnosticsItemSample.ts index 461b7e2e782a..e7821c79b8b3 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetDiagnosticsItemSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetDiagnosticsItemSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get a diagnostics item for an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetDiagnosticsItem.json */ -async function getADiagnosticsItemForAnAppServiceEnvironment() { +async function getADiagnosticsItemForAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getADiagnosticsItemForAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { getADiagnosticsItemForAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetInboundNetworkDependenciesEndpointsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetInboundNetworkDependenciesEndpointsSample.ts index 530cb3b62b4e..a910ce45cf9a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetInboundNetworkDependenciesEndpointsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetInboundNetworkDependenciesEndpointsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get the network endpoints of all inbound dependencies of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetInboundNetworkDependenciesEndpoints.json */ -async function getTheNetworkEndpointsOfAllInboundDependenciesOfAnAppServiceEnvironment() { +async function getTheNetworkEndpointsOfAllInboundDependenciesOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getTheNetworkEndpointsOfAllInboundDependenciesOfAnAppServiceEnvir console.log(resArray); } -async function main() { +async function main(): Promise { getTheNetworkEndpointsOfAllInboundDependenciesOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetMultiRolePoolSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetMultiRolePoolSample.ts index 0994f7fba278..9057c8886a80 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetMultiRolePoolSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetMultiRolePoolSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get properties of a multi-role pool. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetMultiRolePool.json */ -async function getPropertiesOfAMultiRolePool() { +async function getPropertiesOfAMultiRolePool(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function getPropertiesOfAMultiRolePool() { console.log(result); } -async function main() { +async function main(): Promise { getPropertiesOfAMultiRolePool(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsSample.ts index 5057b477d7d5..dcb1d8c23608 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get the network endpoints of all outbound dependencies of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetOutboundNetworkDependenciesEndpoints.json */ -async function getTheNetworkEndpointsOfAllOutboundDependenciesOfAnAppServiceEnvironment() { +async function getTheNetworkEndpointsOfAllOutboundDependenciesOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getTheNetworkEndpointsOfAllOutboundDependenciesOfAnAppServiceEnvi console.log(resArray); } -async function main() { +async function main(): Promise { getTheNetworkEndpointsOfAllOutboundDependenciesOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateEndpointConnectionListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateEndpointConnectionListSample.ts index b2303e8d6f03..aaa58d23bb9f 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateEndpointConnectionListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateEndpointConnectionListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the list of private endpoints associated with a hosting environment * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetPrivateEndpointConnectionList.json */ -async function getsTheListOfPrivateEndpointsAssociatedWithAHostingEnvironment() { +async function getsTheListOfPrivateEndpointsAssociatedWithAHostingEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getsTheListOfPrivateEndpointsAssociatedWithAHostingEnvironment() console.log(resArray); } -async function main() { +async function main(): Promise { getsTheListOfPrivateEndpointsAssociatedWithAHostingEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateEndpointConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateEndpointConnectionSample.ts index dbc74ec5b220..6e9af17393c2 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateEndpointConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateEndpointConnectionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetPrivateEndpointConnection.json */ -async function getsAPrivateEndpointConnection() { +async function getsAPrivateEndpointConnection(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getsAPrivateEndpointConnection() { console.log(result); } -async function main() { +async function main(): Promise { getsAPrivateEndpointConnection(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateLinkResourcesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateLinkResourcesSample.ts index d3b061b0a253..669ecd784173 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateLinkResourcesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetPrivateLinkResourcesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the private link resources * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetPrivateLinkResources.json */ -async function getsThePrivateLinkResources() { +async function getsThePrivateLinkResources(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function getsThePrivateLinkResources() { console.log(result); } -async function main() { +async function main(): Promise { getsThePrivateLinkResources(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetSample.ts index c831f0d057c6..aaee3f0790ab 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get the properties of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Get.json */ -async function getThePropertiesOfAnAppServiceEnvironment() { +async function getThePropertiesOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function getThePropertiesOfAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { getThePropertiesOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetVipInfoSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetVipInfoSample.ts index 3a5648423522..9d7bca67bd42 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetVipInfoSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetVipInfoSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get IP addresses assigned to an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetVipInfo.json */ -async function getIPAddressesAssignedToAnAppServiceEnvironment() { +async function getIPAddressesAssignedToAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function getIPAddressesAssignedToAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { getIPAddressesAssignedToAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetWorkerPoolSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetWorkerPoolSample.ts index 0261a0c8b4ea..2961bc30d67d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetWorkerPoolSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsGetWorkerPoolSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get properties of a worker pool. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetWorkerPool.json */ -async function getPropertiesOfAWorkerPool() { +async function getPropertiesOfAWorkerPool(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getPropertiesOfAWorkerPool() { console.log(result); } -async function main() { +async function main(): Promise { getPropertiesOfAWorkerPool(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListAppServicePlansSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListAppServicePlansSample.ts index 50359cab4d03..31be319efc78 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListAppServicePlansSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListAppServicePlansSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all App Service plans in an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListAppServicePlans.json */ -async function getAllAppServicePlansInAnAppServiceEnvironment() { +async function getAllAppServicePlansInAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getAllAppServicePlansInAnAppServiceEnvironment() { console.log(resArray); } -async function main() { +async function main(): Promise { getAllAppServicePlansInAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListByResourceGroupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListByResourceGroupSample.ts index 4b688470c397..d55b5e8881e7 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListByResourceGroupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListByResourceGroupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all App Service Environments in a resource group. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListByResourceGroup.json */ -async function getAllAppServiceEnvironmentsInAResourceGroup() { +async function getAllAppServiceEnvironmentsInAResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getAllAppServiceEnvironmentsInAResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { getAllAppServiceEnvironmentsInAResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListCapacitiesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListCapacitiesSample.ts index 1890f1eb752b..813ad324b684 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListCapacitiesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListCapacitiesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get the used, available, and total worker capacity an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListCapacities.json */ -async function getTheUsedAvailableAndTotalWorkerCapacityAnAppServiceEnvironment() { +async function getTheUsedAvailableAndTotalWorkerCapacityAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getTheUsedAvailableAndTotalWorkerCapacityAnAppServiceEnvironment( console.log(resArray); } -async function main() { +async function main(): Promise { getTheUsedAvailableAndTotalWorkerCapacityAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListDiagnosticsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListDiagnosticsSample.ts index dcfcc1e291ce..a1375c1edabf 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListDiagnosticsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListDiagnosticsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get diagnostic information for an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListDiagnostics.json */ -async function getDiagnosticInformationForAnAppServiceEnvironment() { +async function getDiagnosticInformationForAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function getDiagnosticInformationForAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { getDiagnosticInformationForAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRoleMetricDefinitionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRoleMetricDefinitionsSample.ts index 4e6f7f9e1f93..1362ef0ca9b3 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRoleMetricDefinitionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRoleMetricDefinitionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get metric definitions for a multi-role pool of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json */ -async function getMetricDefinitionsForAMultiRolePoolOfAnAppServiceEnvironment() { +async function getMetricDefinitionsForAMultiRolePoolOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getMetricDefinitionsForAMultiRolePoolOfAnAppServiceEnvironment() console.log(resArray); } -async function main() { +async function main(): Promise { getMetricDefinitionsForAMultiRolePoolOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsSample.ts index 6c56a421fb03..8eee83915f44 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json */ -async function getMetricDefinitionsForASpecificInstanceOfAMultiRolePoolOfAnAppServiceEnvironment() { +async function getMetricDefinitionsForASpecificInstanceOfAMultiRolePoolOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function getMetricDefinitionsForASpecificInstanceOfAMultiRolePoolOfAnAppSe console.log(resArray); } -async function main() { +async function main(): Promise { getMetricDefinitionsForASpecificInstanceOfAMultiRolePoolOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolSkusSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolSkusSample.ts index 03b43abdb024..1a59706f2c4e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolSkusSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolSkusSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get available SKUs for scaling a multi-role pool. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListMultiRolePoolSkus.json */ -async function getAvailableSkUsForScalingAMultiRolePool() { +async function getAvailableSkUsForScalingAMultiRolePool(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getAvailableSkUsForScalingAMultiRolePool() { console.log(resArray); } -async function main() { +async function main(): Promise { getAvailableSkUsForScalingAMultiRolePool(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolsSample.ts index e0cefb7ff5dd..0a2789d94e8e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRolePoolsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all multi-role pools. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListMultiRolePools.json */ -async function getAllMultiRolePools() { +async function getAllMultiRolePools(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getAllMultiRolePools() { console.log(resArray); } -async function main() { +async function main(): Promise { getAllMultiRolePools(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRoleUsagesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRoleUsagesSample.ts index 0a6873cdde5d..252a0c740690 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRoleUsagesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListMultiRoleUsagesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get usage metrics for a multi-role pool of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListMultiRoleUsages.json */ -async function getUsageMetricsForAMultiRolePoolOfAnAppServiceEnvironment() { +async function getUsageMetricsForAMultiRolePoolOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getUsageMetricsForAMultiRolePoolOfAnAppServiceEnvironment() { console.log(resArray); } -async function main() { +async function main(): Promise { getUsageMetricsForAMultiRolePoolOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListOperationsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListOperationsSample.ts index 8cbd79d3f8b6..27eff2786e7f 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListOperationsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListOperationsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for List all currently running operations on the App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListOperations.json */ -async function listAllCurrentlyRunningOperationsOnTheAppServiceEnvironment() { +async function listAllCurrentlyRunningOperationsOnTheAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function listAllCurrentlyRunningOperationsOnTheAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { listAllCurrentlyRunningOperationsOnTheAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListSample.ts index d3a82e6a02cb..43dea9d1ccf9 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all App Service Environments for a subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_List.json */ -async function getAllAppServiceEnvironmentsForASubscription() { +async function getAllAppServiceEnvironmentsForASubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function getAllAppServiceEnvironmentsForASubscription() { console.log(resArray); } -async function main() { +async function main(): Promise { getAllAppServiceEnvironmentsForASubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListUsagesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListUsagesSample.ts index e7751048c491..9e3fe83972ea 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListUsagesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListUsagesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get global usage metrics of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListUsages.json */ -async function getGlobalUsageMetricsOfAnAppServiceEnvironment() { +async function getGlobalUsageMetricsOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getGlobalUsageMetricsOfAnAppServiceEnvironment() { console.log(resArray); } -async function main() { +async function main(): Promise { getGlobalUsageMetricsOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebAppsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebAppsSample.ts index eb9776f40500..734f4cbd7e4d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebAppsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebAppsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all apps in an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWebApps.json */ -async function getAllAppsInAnAppServiceEnvironment() { +async function getAllAppsInAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getAllAppsInAnAppServiceEnvironment() { console.log(resArray); } -async function main() { +async function main(): Promise { getAllAppsInAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebWorkerMetricDefinitionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebWorkerMetricDefinitionsSample.ts index 784d91b75804..1e1beb4a4fd7 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebWorkerMetricDefinitionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebWorkerMetricDefinitionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get metric definitions for a worker pool of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json */ -async function getMetricDefinitionsForAWorkerPoolOfAnAppServiceEnvironment() { +async function getMetricDefinitionsForAWorkerPoolOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function getMetricDefinitionsForAWorkerPoolOfAnAppServiceEnvironment() { console.log(resArray); } -async function main() { +async function main(): Promise { getMetricDefinitionsForAWorkerPoolOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebWorkerUsagesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebWorkerUsagesSample.ts index d3f01ec4a0bd..b3e4e6b96cc3 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebWorkerUsagesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWebWorkerUsagesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get usage metrics for a worker pool of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWebWorkerUsages.json */ -async function getUsageMetricsForAWorkerPoolOfAnAppServiceEnvironment() { +async function getUsageMetricsForAWorkerPoolOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function getUsageMetricsForAWorkerPoolOfAnAppServiceEnvironment() { console.log(resArray); } -async function main() { +async function main(): Promise { getUsageMetricsForAWorkerPoolOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsSample.ts index 1641db43910e..09de2900563c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get metric definitions for a specific instance of a worker pool of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json */ -async function getMetricDefinitionsForASpecificInstanceOfAWorkerPoolOfAnAppServiceEnvironment() { +async function getMetricDefinitionsForASpecificInstanceOfAWorkerPoolOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function getMetricDefinitionsForASpecificInstanceOfAWorkerPoolOfAnAppServi console.log(resArray); } -async function main() { +async function main(): Promise { getMetricDefinitionsForASpecificInstanceOfAWorkerPoolOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolSkusSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolSkusSample.ts index d06bc954f4f4..7b1ec5d21da3 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolSkusSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolSkusSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get available SKUs for scaling a worker pool. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWorkerPoolSkus.json */ -async function getAvailableSkUsForScalingAWorkerPool() { +async function getAvailableSkUsForScalingAWorkerPool(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function getAvailableSkUsForScalingAWorkerPool() { console.log(resArray); } -async function main() { +async function main(): Promise { getAvailableSkUsForScalingAWorkerPool(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolsSample.ts index a9a8cc3ff4cb..3a53b23745e5 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsListWorkerPoolsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all worker pools of an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWorkerPools.json */ -async function getAllWorkerPoolsOfAnAppServiceEnvironment() { +async function getAllWorkerPoolsOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getAllWorkerPoolsOfAnAppServiceEnvironment() { console.log(resArray); } -async function main() { +async function main(): Promise { getAllWorkerPoolsOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsRebootSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsRebootSample.ts index 190839ca248f..35478c01ce9d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsRebootSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsRebootSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Reboot all machines in an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Reboot.json */ -async function rebootAllMachinesInAnAppServiceEnvironment() { +async function rebootAllMachinesInAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function rebootAllMachinesInAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { rebootAllMachinesInAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsResumeSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsResumeSample.ts index 0a4649fc0458..d241a9654fa5 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsResumeSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsResumeSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Resume an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Resume.json */ -async function resumeAnAppServiceEnvironment() { +async function resumeAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function resumeAnAppServiceEnvironment() { console.log(resArray); } -async function main() { +async function main(): Promise { resumeAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsSuspendSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsSuspendSample.ts index 49a7cf933a90..1c862886897e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsSuspendSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsSuspendSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Suspend an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Suspend.json */ -async function suspendAnAppServiceEnvironment() { +async function suspendAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function suspendAnAppServiceEnvironment() { console.log(resArray); } -async function main() { +async function main(): Promise { suspendAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsTestUpgradeAvailableNotificationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsTestUpgradeAvailableNotificationSample.ts index 68342ceb099c..006f9600ef72 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsTestUpgradeAvailableNotificationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsTestUpgradeAvailableNotificationSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Send a test notification that an upgrade is available for this App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_TestUpgradeAvailableNotification.json */ -async function sendATestNotificationThatAnUpgradeIsAvailableForThisAppServiceEnvironment() { +async function sendATestNotificationThatAnUpgradeIsAvailableForThisAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function sendATestNotificationThatAnUpgradeIsAvailableForThisAppServiceEnv console.log(result); } -async function main() { +async function main(): Promise { sendATestNotificationThatAnUpgradeIsAvailableForThisAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationSample.ts index 2c4e062b8675..4f8aa663f0fb 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Update Custom Dns Suffix configuration of an App Service Environment * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateAseCustomDnsSuffixConfiguration.json */ -async function updateAseCustomDnsSuffixConfiguration() { +async function updateAseCustomDnsSuffixConfiguration(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function updateAseCustomDnsSuffixConfiguration() { console.log(result); } -async function main() { +async function main(): Promise { updateAseCustomDnsSuffixConfiguration(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateAseNetworkingConfigurationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateAseNetworkingConfigurationSample.ts index dd85d2416b20..494cef88f51c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateAseNetworkingConfigurationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateAseNetworkingConfigurationSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Update networking configuration of an App Service Environment * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json */ -async function updateNetworkingConfigurationOfAnAppServiceEnvironment() { +async function updateNetworkingConfigurationOfAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function updateNetworkingConfigurationOfAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { updateNetworkingConfigurationOfAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateMultiRolePoolSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateMultiRolePoolSample.ts index cd2d4b06c8c3..e0ded80db0a2 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateMultiRolePoolSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateMultiRolePoolSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a multi-role pool. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json */ -async function createOrUpdateAMultiRolePool() { +async function createOrUpdateAMultiRolePool(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function createOrUpdateAMultiRolePool() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateAMultiRolePool(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateSample.ts index 04497e1ecfc6..645f90ab235e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update an App Service Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Update.json */ -async function createOrUpdateAnAppServiceEnvironment() { +async function createOrUpdateAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function createOrUpdateAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateWorkerPoolSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateWorkerPoolSample.ts index 9f8496c06085..acfbe477d66e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateWorkerPoolSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpdateWorkerPoolSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a worker pool. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json */ -async function getPropertiesOfAWorkerPool() { +async function getPropertiesOfAWorkerPool(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function getPropertiesOfAWorkerPool() { console.log(result); } -async function main() { +async function main(): Promise { getPropertiesOfAWorkerPool(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpgradeSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpgradeSample.ts index cc2ec72d4c3c..da3fad94f281 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpgradeSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServiceEnvironmentsUpgradeSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Initiate an upgrade of an App Service Environment if one is available. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Upgrade.json */ -async function initiateAnUpgradeOnAnAppServiceEnvironment() { +async function initiateAnUpgradeOnAnAppServiceEnvironment(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function initiateAnUpgradeOnAnAppServiceEnvironment() { console.log(result); } -async function main() { +async function main(): Promise { initiateAnUpgradeOnAnAppServiceEnvironment(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansCreateOrUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansCreateOrUpdateSample.ts index 43eb25e3cddf..75cf4947a8b9 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansCreateOrUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Creates or updates an App Service Plan. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateAppServicePlan.json */ -async function createOrUpdateAppServicePlan() { +async function createOrUpdateAppServicePlan(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -40,7 +40,7 @@ async function createOrUpdateAppServicePlan() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateAppServicePlan(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansDeleteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansDeleteSample.ts index 295023c03e46..1502237efa29 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansDeleteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansDeleteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Delete an App Service plan. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteAppServicePlan.json */ -async function deleteAppServicePlan() { +async function deleteAppServicePlan(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function deleteAppServicePlan() { console.log(result); } -async function main() { +async function main(): Promise { deleteAppServicePlan(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansGetSample.ts index 811c9deedcc5..6a4aea3531ab 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get an App Service plan. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAppServicePlan.json */ -async function getAppServicePlan() { +async function getAppServicePlan(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function getAppServicePlan() { console.log(result); } -async function main() { +async function main(): Promise { getAppServicePlan(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansListByResourceGroupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansListByResourceGroupSample.ts index 644614f7fe54..5deb8d8077d8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansListByResourceGroupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansListByResourceGroupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all App Service plans in a resource group. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAppServicePlansByResourceGroup.json */ -async function listAppServicePlansByResourceGroup() { +async function listAppServicePlansByResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function listAppServicePlansByResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppServicePlansByResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansListSample.ts index 41e7081652cd..fc24bb2db7e7 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all App Service plans for a subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAppServicePlans.json */ -async function listAppServicePlans() { +async function listAppServicePlans(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function listAppServicePlans() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppServicePlans(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansUpdateSample.ts index 7440d48d0fda..fa3d551016fc 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/appServicePlansUpdateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates or updates an App Service Plan. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PatchAppServicePlan.json */ -async function patchServicePlan() { +async function patchServicePlan(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function patchServicePlan() { console.log(result); } -async function main() { +async function main(): Promise { patchServicePlan(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseSample.ts index f55f03f888d0..982670b9d99d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Microsoft.CertificateRegistration call to get a detector response from App Lens. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json */ -async function getAppServiceCertificateOrderDetectorResponse() { +async function getAppServiceCertificateOrderDetectorResponse(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "5700fc96-77b4-4f8d-afce-c353d8c443bd"; @@ -37,7 +37,7 @@ async function getAppServiceCertificateOrderDetectorResponse() { console.log(result); } -async function main() { +async function main(): Promise { getAppServiceCertificateOrderDetectorResponse(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseSample.ts index cc9d91ea10be..f4c077aaa866 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Microsoft.CertificateRegistration to get the list of detectors for this RP. * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json */ -async function listAppServiceCertificateDetectorResponse() { +async function listAppServiceCertificateDetectorResponse(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "5700fc96-77b4-4f8d-afce-c353d8c443bd"; @@ -37,7 +37,7 @@ async function listAppServiceCertificateDetectorResponse() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppServiceCertificateDetectorResponse(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateRegistrationProviderListOperationsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateRegistrationProviderListOperationsSample.ts index 526fa9652bd0..8d4aaa98b96b 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateRegistrationProviderListOperationsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificateRegistrationProviderListOperationsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider * x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListOperations.json */ -async function listOperations() { +async function listOperations(): Promise { const credential = new DefaultAzureCredential(); const client = new WebSiteManagementClient(credential); const resArray = new Array(); @@ -28,7 +28,7 @@ async function listOperations() { console.log(resArray); } -async function main() { +async function main(): Promise { listOperations(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesCreateOrUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesCreateOrUpdateSample.ts index 1ca37163d5a6..06eed980aed8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesCreateOrUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Create or update a certificate. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateCertificate.json */ -async function createOrUpdateCertificate() { +async function createOrUpdateCertificate(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -40,7 +40,7 @@ async function createOrUpdateCertificate() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateCertificate(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesDeleteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesDeleteSample.ts index 1f441fd7e67d..6e2123e30553 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesDeleteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesDeleteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Delete a certificate. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteCertificate.json */ -async function deleteCertificate() { +async function deleteCertificate(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function deleteCertificate() { console.log(result); } -async function main() { +async function main(): Promise { deleteCertificate(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesGetSample.ts index a3a275b16ab9..4bb2f50b258a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get a certificate. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetCertificate.json */ -async function getCertificate() { +async function getCertificate(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function getCertificate() { console.log(result); } -async function main() { +async function main(): Promise { getCertificate(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesListByResourceGroupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesListByResourceGroupSample.ts index 2d6aaf8b47c8..c57440e2e012 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesListByResourceGroupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesListByResourceGroupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all certificates in a resource group. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListCertificatesByResourceGroup.json */ -async function listCertificatesByResourceGroup() { +async function listCertificatesByResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function listCertificatesByResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { listCertificatesByResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesListSample.ts index 9043b677a0b9..291940f90099 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all certificates for a subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListCertificates.json */ -async function listCertificatesForSubscription() { +async function listCertificatesForSubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function listCertificatesForSubscription() { console.log(resArray); } -async function main() { +async function main(): Promise { listCertificatesForSubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesUpdateSample.ts index 817cd1386d3a..6d37e47c5ef2 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/certificatesUpdateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a certificate. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PatchCertificate.json */ -async function patchCertificate() { +async function patchCertificate(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function patchCertificate() { console.log(result); } -async function main() { +async function main(): Promise { patchCertificate(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsCreateOrUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsCreateOrUpdateSample.ts index c5bd66d2b801..d0e8275bb1e0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsCreateOrUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Create or update a Container App. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateContainerApp.json */ -async function createOrUpdateContainerApp() { +async function createOrUpdateContainerApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -57,7 +57,7 @@ async function createOrUpdateContainerApp() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateContainerApp(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsDeleteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsDeleteSample.ts index 1fdd46646131..31a023928f48 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsDeleteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsDeleteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Delete a Container App. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteContainerApp.json */ -async function deleteContainerApp() { +async function deleteContainerApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function deleteContainerApp() { console.log(result); } -async function main() { +async function main(): Promise { deleteContainerApp(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsGetSample.ts index a3552380af32..de3b70c464bb 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get the properties of a Container App. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetContainerApp.json */ -async function getContainerApp() { +async function getContainerApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -30,7 +30,7 @@ async function getContainerApp() { console.log(result); } -async function main() { +async function main(): Promise { getContainerApp(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListByResourceGroupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListByResourceGroupSample.ts index f0e4a328d102..407a5850b699 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListByResourceGroupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListByResourceGroupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get the Container Apps in a given resource group. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListContainerAppsByResourceGroup.json */ -async function listContainerAppsByResourceGroup() { +async function listContainerAppsByResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function listContainerAppsByResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { listContainerAppsByResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListBySubscriptionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListBySubscriptionSample.ts index 3c554c6794b3..f418ef991de6 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListBySubscriptionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListBySubscriptionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get the Container Apps in a given subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListContainerAppsBySubscription.json */ -async function listContainerAppsByResourceGroup() { +async function listContainerAppsByResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function listContainerAppsByResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { listContainerAppsByResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListSecretsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListSecretsSample.ts index 763bffdaafda..1fd533f05be6 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListSecretsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsListSecretsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary List secrets for a container app * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListContainerAppSecrets.json */ -async function listContainerAppsSecrets() { +async function listContainerAppsSecrets(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -29,7 +29,7 @@ async function listContainerAppsSecrets() { console.log(result); } -async function main() { +async function main(): Promise { listContainerAppsSecrets(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsActivateRevisionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsActivateRevisionSample.ts index f996e6d4653d..96110d35ed91 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsActivateRevisionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsActivateRevisionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Activates a revision for a Container App * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ActivateRevision.json */ -async function activateContainerAppRevision() { +async function activateContainerAppRevision(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function activateContainerAppRevision() { console.log(result); } -async function main() { +async function main(): Promise { activateContainerAppRevision(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsDeactivateRevisionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsDeactivateRevisionSample.ts index 9bf161ad3cda..1d19218e0535 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsDeactivateRevisionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsDeactivateRevisionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Deactivates a revision for a Container App * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeactivateRevision.json */ -async function deactivateContainerAppRevision() { +async function deactivateContainerAppRevision(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function deactivateContainerAppRevision() { console.log(result); } -async function main() { +async function main(): Promise { deactivateContainerAppRevision(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsGetRevisionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsGetRevisionSample.ts index 11a23746fe19..89599719a47a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsGetRevisionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsGetRevisionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get a revision of a Container App. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetRevision.json */ -async function getContainerAppRevision() { +async function getContainerAppRevision(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getContainerAppRevision() { console.log(result); } -async function main() { +async function main(): Promise { getContainerAppRevision(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsListRevisionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsListRevisionsSample.ts index 75c0bb307394..adc08c71048e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsListRevisionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsListRevisionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get the Revisions for a given Container App. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListRevisions.json */ -async function listContainerAppRevisions() { +async function listContainerAppRevisions(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function listContainerAppRevisions() { console.log(resArray); } -async function main() { +async function main(): Promise { listContainerAppRevisions(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsRestartRevisionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsRestartRevisionSample.ts index 650e7bdcf105..8dcfdf6f0baa 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsRestartRevisionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/containerAppsRevisionsRestartRevisionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Restarts a revision for a Container App * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/RestartRevision.json */ -async function restartContainerAppRevision() { +async function restartContainerAppRevision(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function restartContainerAppRevision() { console.log(result); } -async function main() { +async function main(): Promise { restartContainerAppRevision(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/deletedWebAppsGetDeletedWebAppByLocationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/deletedWebAppsGetDeletedWebAppByLocationSample.ts index 174c922ecc0e..4d79488e07df 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/deletedWebAppsGetDeletedWebAppByLocationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/deletedWebAppsGetDeletedWebAppByLocationSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get deleted app for a subscription at location. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetDeletedWebAppByLocation.json */ -async function getDeletedWebAppByLocation() { +async function getDeletedWebAppByLocation(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function getDeletedWebAppByLocation() { console.log(result); } -async function main() { +async function main(): Promise { getDeletedWebAppByLocation(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/deletedWebAppsListByLocationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/deletedWebAppsListByLocationSample.ts index 6a15f759964a..833d877d91f3 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/deletedWebAppsListByLocationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/deletedWebAppsListByLocationSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all deleted apps for a subscription at location * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListDeletedWebAppsByLocation.json */ -async function listDeletedWebAppByLocation() { +async function listDeletedWebAppByLocation(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -32,7 +32,7 @@ async function listDeletedWebAppByLocation() { console.log(resArray); } -async function main() { +async function main(): Promise { listDeletedWebAppByLocation(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteAnalysisSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteAnalysisSample.ts index 213ca25761fe..a5e1abc0a665 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteAnalysisSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteAnalysisSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Execute Analysis * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteAnalysis.json */ -async function executeSiteAnalysis() { +async function executeSiteAnalysis(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function executeSiteAnalysis() { * @summary Description for Execute Analysis * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json */ -async function executeSiteSlotAnalysis() { +async function executeSiteSlotAnalysis(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -64,7 +64,7 @@ async function executeSiteSlotAnalysis() { console.log(result); } -async function main() { +async function main(): Promise { executeSiteAnalysis(); executeSiteSlotAnalysis(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteAnalysisSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteAnalysisSlotSample.ts index e318d82fe487..2638deac4961 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteAnalysisSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteAnalysisSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Execute Analysis * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteAnalysis.json */ -async function executeSiteAnalysis() { +async function executeSiteAnalysis(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -46,7 +46,7 @@ async function executeSiteAnalysis() { * @summary Description for Execute Analysis * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json */ -async function executeSiteSlotAnalysis() { +async function executeSiteSlotAnalysis(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -68,7 +68,7 @@ async function executeSiteSlotAnalysis() { console.log(result); } -async function main() { +async function main(): Promise { executeSiteAnalysis(); executeSiteSlotAnalysis(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteDetectorSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteDetectorSample.ts index 0e003bb4fb15..b4be3c914cd1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteDetectorSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteDetectorSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Execute Detector * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteDetector.json */ -async function executeSiteDetector() { +async function executeSiteDetector(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function executeSiteDetector() { * @summary Description for Execute Detector * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json */ -async function executeSiteSlotDetector() { +async function executeSiteSlotDetector(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -64,7 +64,7 @@ async function executeSiteSlotDetector() { console.log(result); } -async function main() { +async function main(): Promise { executeSiteDetector(); executeSiteSlotDetector(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteDetectorSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteDetectorSlotSample.ts index 0a5ce13e68e3..496fe60ac936 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteDetectorSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsExecuteSiteDetectorSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Execute Detector * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteDetector.json */ -async function executeSiteDetector() { +async function executeSiteDetector(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -46,7 +46,7 @@ async function executeSiteDetector() { * @summary Description for Execute Detector * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json */ -async function executeSiteSlotDetector() { +async function executeSiteSlotDetector(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -68,7 +68,7 @@ async function executeSiteSlotDetector() { console.log(result); } -async function main() { +async function main(): Promise { executeSiteDetector(); executeSiteSlotDetector(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetHostingEnvironmentDetectorResponseSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetHostingEnvironmentDetectorResponseSample.ts index 5dd7216aafb1..cf7a06548858 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetHostingEnvironmentDetectorResponseSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetHostingEnvironmentDetectorResponseSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Hosting Environment Detector Response * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json */ -async function getAppServiceEnvironmentDetectorResponses() { +async function getAppServiceEnvironmentDetectorResponses(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getAppServiceEnvironmentDetectorResponses() { console.log(result); } -async function main() { +async function main(): Promise { getAppServiceEnvironmentDetectorResponses(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteAnalysisSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteAnalysisSample.ts index 369b45fed2d0..a329f6ebe600 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteAnalysisSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteAnalysisSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Site Analysis * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysis.json */ -async function getAppAnalysis() { +async function getAppAnalysis(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function getAppAnalysis() { * @summary Description for Get Site Analysis * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysisSlot.json */ -async function getAppSlotAnalysis() { +async function getAppSlotAnalysis(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -64,7 +64,7 @@ async function getAppSlotAnalysis() { console.log(result); } -async function main() { +async function main(): Promise { getAppAnalysis(); getAppSlotAnalysis(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteAnalysisSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteAnalysisSlotSample.ts index d4c11288ec0b..a15fa0070bf1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteAnalysisSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteAnalysisSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Site Analysis * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysis.json */ -async function getAppAnalysis() { +async function getAppAnalysis(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -46,7 +46,7 @@ async function getAppAnalysis() { * @summary Description for Get Site Analysis * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysisSlot.json */ -async function getAppSlotAnalysis() { +async function getAppSlotAnalysis(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -68,7 +68,7 @@ async function getAppSlotAnalysis() { console.log(result); } -async function main() { +async function main(): Promise { getAppAnalysis(); getAppSlotAnalysis(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorResponseSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorResponseSample.ts index a323e910612c..3b20ce7ce8c7 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorResponseSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorResponseSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get site detector response * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponse.json */ -async function getAppDetectorResponse() { +async function getAppDetectorResponse(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function getAppDetectorResponse() { * @summary Description for Get site detector response * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json */ -async function getAppSlotDetectorResponse() { +async function getAppSlotDetectorResponse(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -60,7 +60,7 @@ async function getAppSlotDetectorResponse() { console.log(result); } -async function main() { +async function main(): Promise { getAppDetectorResponse(); getAppSlotDetectorResponse(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorResponseSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorResponseSlotSample.ts index 464a1c85591e..0c8b7ddefeca 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorResponseSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorResponseSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get site detector response * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponse.json */ -async function getAppDetectorResponse() { +async function getAppDetectorResponse(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function getAppDetectorResponse() { * @summary Description for Get site detector response * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json */ -async function getAppSlotDetectorResponse() { +async function getAppSlotDetectorResponse(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -64,7 +64,7 @@ async function getAppSlotDetectorResponse() { console.log(result); } -async function main() { +async function main(): Promise { getAppDetectorResponse(); getAppSlotDetectorResponse(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorSample.ts index 4202f7d10e51..105c15ec3a10 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Detector * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetector.json */ -async function getAppDetector() { +async function getAppDetector(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function getAppDetector() { * @summary Description for Get Detector * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorSlot.json */ -async function getAppSlotDetector() { +async function getAppSlotDetector(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -64,7 +64,7 @@ async function getAppSlotDetector() { console.log(result); } -async function main() { +async function main(): Promise { getAppDetector(); getAppSlotDetector(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorSlotSample.ts index 2e0d777264bf..fe4974c8fa39 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDetectorSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Detector * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetector.json */ -async function getAppDetector() { +async function getAppDetector(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -46,7 +46,7 @@ async function getAppDetector() { * @summary Description for Get Detector * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorSlot.json */ -async function getAppSlotDetector() { +async function getAppSlotDetector(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -68,7 +68,7 @@ async function getAppSlotDetector() { console.log(result); } -async function main() { +async function main(): Promise { getAppDetector(); getAppSlotDetector(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDiagnosticCategorySample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDiagnosticCategorySample.ts index 955232d9177e..b4b777573ec9 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDiagnosticCategorySample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDiagnosticCategorySample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Diagnostics Category * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategory.json */ -async function getAppDiagnosticCategory() { +async function getAppDiagnosticCategory(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function getAppDiagnosticCategory() { * @summary Description for Get Diagnostics Category * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json */ -async function getAppSlotDiagnosticCategory() { +async function getAppSlotDiagnosticCategory(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -60,7 +60,7 @@ async function getAppSlotDiagnosticCategory() { console.log(result); } -async function main() { +async function main(): Promise { getAppDiagnosticCategory(); getAppSlotDiagnosticCategory(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDiagnosticCategorySlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDiagnosticCategorySlotSample.ts index 48aa7ccc2d76..dd849d738752 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDiagnosticCategorySlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsGetSiteDiagnosticCategorySlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Diagnostics Category * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategory.json */ -async function getAppDiagnosticCategory() { +async function getAppDiagnosticCategory(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function getAppDiagnosticCategory() { * @summary Description for Get Diagnostics Category * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json */ -async function getAppSlotDiagnosticCategory() { +async function getAppSlotDiagnosticCategory(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -64,7 +64,7 @@ async function getAppSlotDiagnosticCategory() { console.log(result); } -async function main() { +async function main(): Promise { getAppDiagnosticCategory(); getAppSlotDiagnosticCategory(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListHostingEnvironmentDetectorResponsesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListHostingEnvironmentDetectorResponsesSample.ts index f1ab46dcdc54..6cdcc93c8a46 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListHostingEnvironmentDetectorResponsesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListHostingEnvironmentDetectorResponsesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for List Hosting Environment Detector Responses * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json */ -async function getAppServiceEnvironmentDetectorResponses() { +async function getAppServiceEnvironmentDetectorResponses(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getAppServiceEnvironmentDetectorResponses() { console.log(resArray); } -async function main() { +async function main(): Promise { getAppServiceEnvironmentDetectorResponses(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteAnalysesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteAnalysesSample.ts index cd92ae4c1468..2701b7343bf1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteAnalysesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteAnalysesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Site Analyses * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteAnalyses.json */ -async function listAppAnalyses() { +async function listAppAnalyses(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function listAppAnalyses() { * @summary Description for Get Site Analyses * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteAnalysesSlot.json */ -async function listAppSlotAnalyses() { +async function listAppSlotAnalyses(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -66,7 +66,7 @@ async function listAppSlotAnalyses() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppAnalyses(); listAppSlotAnalyses(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteAnalysesSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteAnalysesSlotSample.ts index a998cbf04f9a..43e4f99c8cb1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteAnalysesSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteAnalysesSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Site Analyses * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteAnalyses.json */ -async function listAppAnalyses() { +async function listAppAnalyses(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -47,7 +47,7 @@ async function listAppAnalyses() { * @summary Description for Get Site Analyses * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteAnalysesSlot.json */ -async function listAppSlotAnalyses() { +async function listAppSlotAnalyses(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -70,7 +70,7 @@ async function listAppSlotAnalyses() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppAnalyses(); listAppSlotAnalyses(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorResponsesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorResponsesSample.ts index d71e99311ebd..1150eaa7823c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorResponsesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorResponsesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for List Site Detector Responses * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorResponses.json */ -async function getAppDetectorResponses() { +async function getAppDetectorResponses(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function getAppDetectorResponses() { * @summary Description for List Site Detector Responses * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json */ -async function getAppSlotDetectorResponses() { +async function getAppSlotDetectorResponses(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -62,7 +62,7 @@ async function getAppSlotDetectorResponses() { console.log(resArray); } -async function main() { +async function main(): Promise { getAppDetectorResponses(); getAppSlotDetectorResponses(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorResponsesSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorResponsesSlotSample.ts index 550fd5a13fb4..620f7a410f69 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorResponsesSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorResponsesSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for List Site Detector Responses * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorResponses.json */ -async function getAppDetectorResponses() { +async function getAppDetectorResponses(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function getAppDetectorResponses() { * @summary Description for List Site Detector Responses * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json */ -async function getAppSlotDetectorResponses() { +async function getAppSlotDetectorResponses(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -66,7 +66,7 @@ async function getAppSlotDetectorResponses() { console.log(resArray); } -async function main() { +async function main(): Promise { getAppDetectorResponses(); getAppSlotDetectorResponses(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorsSample.ts index 3459c07493aa..5e812bd30e49 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Detectors * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectors.json */ -async function listAppDetectors() { +async function listAppDetectors(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function listAppDetectors() { * @summary Description for Get Detectors * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorsSlot.json */ -async function listAppSlotDetectors() { +async function listAppSlotDetectors(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -66,7 +66,7 @@ async function listAppSlotDetectors() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppDetectors(); listAppSlotDetectors(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorsSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorsSlotSample.ts index 75df2b3f6466..877aa9b6179b 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorsSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDetectorsSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Detectors * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectors.json */ -async function listAppDetectors() { +async function listAppDetectors(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -47,7 +47,7 @@ async function listAppDetectors() { * @summary Description for Get Detectors * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorsSlot.json */ -async function listAppSlotDetectors() { +async function listAppSlotDetectors(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -70,7 +70,7 @@ async function listAppSlotDetectors() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppDetectors(); listAppSlotDetectors(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDiagnosticCategoriesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDiagnosticCategoriesSample.ts index 6587743c1fac..f53f3334fe85 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDiagnosticCategoriesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDiagnosticCategoriesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Diagnostics Categories * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDiagnosticCategories.json */ -async function listAppDiagnosticCategories() { +async function listAppDiagnosticCategories(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function listAppDiagnosticCategories() { * @summary Description for Get Diagnostics Categories * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json */ -async function listAppSlotDiagnosticCategories() { +async function listAppSlotDiagnosticCategories(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -62,7 +62,7 @@ async function listAppSlotDiagnosticCategories() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppDiagnosticCategories(); listAppSlotDiagnosticCategories(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDiagnosticCategoriesSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDiagnosticCategoriesSlotSample.ts index 134ead055af0..48c534dd5b94 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDiagnosticCategoriesSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/diagnosticsListSiteDiagnosticCategoriesSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get Diagnostics Categories * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDiagnosticCategories.json */ -async function listAppDiagnosticCategories() { +async function listAppDiagnosticCategories(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function listAppDiagnosticCategories() { * @summary Description for Get Diagnostics Categories * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json */ -async function listAppSlotDiagnosticCategories() { +async function listAppSlotDiagnosticCategories(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -66,7 +66,7 @@ async function listAppSlotDiagnosticCategories() { console.log(resArray); } -async function main() { +async function main(): Promise { listAppDiagnosticCategories(); listAppSlotDiagnosticCategories(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainRegistrationProviderListOperationsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainRegistrationProviderListOperationsSample.ts index 7ee837a1c904..7758fb934b31 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainRegistrationProviderListOperationsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainRegistrationProviderListOperationsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListOperations.json */ -async function listOperations() { +async function listOperations(): Promise { const credential = new DefaultAzureCredential(); const client = new WebSiteManagementClient(credential); const resArray = new Array(); @@ -28,7 +28,7 @@ async function listOperations() { console.log(resArray); } -async function main() { +async function main(): Promise { listOperations(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCheckAvailabilitySample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCheckAvailabilitySample.ts index 164013f86a87..1fb684faa109 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCheckAvailabilitySample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCheckAvailabilitySample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Check if a domain is available for registration. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/CheckDomainAvailability.json */ -async function checkDomainAvailability() { +async function checkDomainAvailability(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -29,7 +29,7 @@ async function checkDomainAvailability() { console.log(result); } -async function main() { +async function main(): Promise { checkDomainAvailability(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCreateOrUpdateOwnershipIdentifierSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCreateOrUpdateOwnershipIdentifierSample.ts index 407e54756d54..8e5d728fbbc0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCreateOrUpdateOwnershipIdentifierSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCreateOrUpdateOwnershipIdentifierSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/CreateAppServiceDomainOwnershipIdentifier.json */ -async function createAppServiceDomainOwnershipIdentifier() { +async function createAppServiceDomainOwnershipIdentifier(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function createAppServiceDomainOwnershipIdentifier() { console.log(result); } -async function main() { +async function main(): Promise { createAppServiceDomainOwnershipIdentifier(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCreateOrUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCreateOrUpdateSample.ts index e45fcefd256d..2ebf5eafc652 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCreateOrUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Creates or updates a domain. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/CreateAppServiceDomain.json */ -async function createAppServiceDomain() { +async function createAppServiceDomain(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -116,7 +116,7 @@ async function createAppServiceDomain() { console.log(result); } -async function main() { +async function main(): Promise { createAppServiceDomain(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsDeleteOwnershipIdentifierSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsDeleteOwnershipIdentifierSample.ts index 28b815f175e1..2664f3019ebf 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsDeleteOwnershipIdentifierSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsDeleteOwnershipIdentifierSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Delete ownership identifier for domain * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/DeleteAppServiceDomainOwnershipIdentifier.json */ -async function deleteAppServiceDomainOwnershipIdentifier() { +async function deleteAppServiceDomainOwnershipIdentifier(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function deleteAppServiceDomainOwnershipIdentifier() { console.log(result); } -async function main() { +async function main(): Promise { deleteAppServiceDomainOwnershipIdentifier(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsDeleteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsDeleteSample.ts index 30709bede895..d037671342e6 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsDeleteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsDeleteSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Delete a domain. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/DeleteAppServiceDomain.json */ -async function deleteAppServiceDomain() { +async function deleteAppServiceDomain(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -40,7 +40,7 @@ async function deleteAppServiceDomain() { console.log(result); } -async function main() { +async function main(): Promise { deleteAppServiceDomain(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetControlCenterSsoRequestSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetControlCenterSsoRequestSample.ts index 04631c19eaaf..2f193da9fbf8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetControlCenterSsoRequestSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetControlCenterSsoRequestSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Generate a single sign-on request for the domain management portal. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomainControlCenterSsoRequest.json */ -async function getDomainControlCenterSsoRequest() { +async function getDomainControlCenterSsoRequest(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -28,7 +28,7 @@ async function getDomainControlCenterSsoRequest() { console.log(result); } -async function main() { +async function main(): Promise { getDomainControlCenterSsoRequest(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetOwnershipIdentifierSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetOwnershipIdentifierSample.ts index c0701a00dad5..052ec17314bf 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetOwnershipIdentifierSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetOwnershipIdentifierSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get ownership identifier for domain * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomainOwnershipIdentifier.json */ -async function getDomainOwnershipIdentifier() { +async function getDomainOwnershipIdentifier(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getDomainOwnershipIdentifier() { console.log(result); } -async function main() { +async function main(): Promise { getDomainOwnershipIdentifier(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetSample.ts index 7a96841b73e1..7767507abfd1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get a domain. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomain.json */ -async function getDomain() { +async function getDomain(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function getDomain() { console.log(result); } -async function main() { +async function main(): Promise { getDomain(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListByResourceGroupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListByResourceGroupSample.ts index f741245315f3..a62caea5ea9e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListByResourceGroupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListByResourceGroupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all domains in a resource group. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListDomainsByResourceGroup.json */ -async function listDomainsByResourceGroup() { +async function listDomainsByResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function listDomainsByResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { listDomainsByResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListOwnershipIdentifiersSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListOwnershipIdentifiersSample.ts index f9c33974ba93..4abdb09aed3e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListOwnershipIdentifiersSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListOwnershipIdentifiersSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Lists domain ownership identifiers. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListDomainOwnershipIdentifiers.json */ -async function listDomainOwnershipIdentifiers() { +async function listDomainOwnershipIdentifiers(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function listDomainOwnershipIdentifiers() { console.log(resArray); } -async function main() { +async function main(): Promise { listDomainOwnershipIdentifiers(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListRecommendationsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListRecommendationsSample.ts index f754d3a34ed2..b5e111742b81 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListRecommendationsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListRecommendationsSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Get domain name recommendations based on keywords. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListDomainRecommendations.json */ -async function listDomainRecommendations() { +async function listDomainRecommendations(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function listDomainRecommendations() { console.log(resArray); } -async function main() { +async function main(): Promise { listDomainRecommendations(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListSample.ts index f95e6d4ebb0d..a60ce92bdb7e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all domains in a subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListDomainsBySubscription.json */ -async function listDomainsBySubscription() { +async function listDomainsBySubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function listDomainsBySubscription() { console.log(resArray); } -async function main() { +async function main(): Promise { listDomainsBySubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsRenewSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsRenewSample.ts index 467b54dba186..6ad109b933ad 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsRenewSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsRenewSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Renew a domain. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/RenewDomain.json */ -async function renewAnExistingDomain() { +async function renewAnExistingDomain(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "3dddfa4f-cedf-4dc0-ba29-b6d1a69ab545"; @@ -30,7 +30,7 @@ async function renewAnExistingDomain() { console.log(result); } -async function main() { +async function main(): Promise { renewAnExistingDomain(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsTransferOutSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsTransferOutSample.ts index f42824e9db68..d5165352ba23 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsTransferOutSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsTransferOutSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Transfer out domain to another registrar * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/TransferOutDomain.json */ -async function transferOutDomain() { +async function transferOutDomain(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function transferOutDomain() { console.log(result); } -async function main() { +async function main(): Promise { transferOutDomain(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsUpdateOwnershipIdentifierSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsUpdateOwnershipIdentifierSample.ts index 24fec9abd44a..d018ef0e1798 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsUpdateOwnershipIdentifierSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsUpdateOwnershipIdentifierSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/UpdateAppServiceDomainOwnershipIdentifier.json */ -async function updateAppServiceDomainOwnershipIdentifier() { +async function updateAppServiceDomainOwnershipIdentifier(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function updateAppServiceDomainOwnershipIdentifier() { console.log(result); } -async function main() { +async function main(): Promise { updateAppServiceDomainOwnershipIdentifier(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsUpdateSample.ts index a1c8e41f8446..42209d496e8e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/domainsUpdateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates or updates a domain. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/UpdateAppServiceDomain.json */ -async function updateAppServiceDomain() { +async function updateAppServiceDomain(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -117,7 +117,7 @@ async function updateAppServiceDomain() { console.log(result); } -async function main() { +async function main(): Promise { updateAppServiceDomain(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/getUsagesInLocationListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/getUsagesInLocationListSample.ts index 479a6f0310d8..4fec3420768d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/getUsagesInLocationListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/getUsagesInLocationListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary List usages in cores for all skus used by a subscription in a given location, for a specific quota type. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUsagesInLocation.json */ -async function getUsagesInLocationForSubscription() { +async function getUsagesInLocationForSubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -32,7 +32,7 @@ async function getUsagesInLocationForSubscription() { console.log(resArray); } -async function main() { +async function main(): Promise { getUsagesInLocationForSubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetDeletedWebAppSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetDeletedWebAppSample.ts index dbda41d307f1..39387ec6b60e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetDeletedWebAppSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetDeletedWebAppSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get deleted app for a subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetDeletedWebApp.json */ -async function getDeletedWebApp() { +async function getDeletedWebApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -29,7 +29,7 @@ async function getDeletedWebApp() { console.log(result); } -async function main() { +async function main(): Promise { getDeletedWebApp(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetDeletedWebAppSnapshotsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetDeletedWebAppSnapshotsSample.ts index f2d6f178ec2f..80a08ff251e8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetDeletedWebAppSnapshotsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetDeletedWebAppSnapshotsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all deleted apps for a subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetDeletedWebAppSnapshots.json */ -async function getDeletedWebAppSnapshots() { +async function getDeletedWebAppSnapshots(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -29,7 +29,7 @@ async function getDeletedWebAppSnapshots() { console.log(result); } -async function main() { +async function main(): Promise { getDeletedWebAppSnapshots(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetSubscriptionOperationWithAsyncResponseSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetSubscriptionOperationWithAsyncResponseSample.ts index 41c9c5decb33..6e0923fd0d50 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetSubscriptionOperationWithAsyncResponseSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/globalGetSubscriptionOperationWithAsyncResponseSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets an operation in a subscription and given region * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSubscriptionOperationWithAsyncResponse.json */ -async function getsAnOperationInASubscriptionAndGivenRegion() { +async function getsAnOperationInASubscriptionAndGivenRegion(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function getsAnOperationInASubscriptionAndGivenRegion() { console.log(result); } -async function main() { +async function main(): Promise { getsAnOperationInASubscriptionAndGivenRegion(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsCreateOrUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsCreateOrUpdateSample.ts index ae739d740963..836cdbad83f1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsCreateOrUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates or updates a Kubernetes Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_CreateOrUpdate.json */ -async function createKubeEnvironments() { +async function createKubeEnvironments(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function createKubeEnvironments() { console.log(result); } -async function main() { +async function main(): Promise { createKubeEnvironments(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsDeleteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsDeleteSample.ts index ce719bc02e1a..0ffe752d737b 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsDeleteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsDeleteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Delete a Kubernetes Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_Delete.json */ -async function deleteKubeEnvironmentByName() { +async function deleteKubeEnvironmentByName(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function deleteKubeEnvironmentByName() { console.log(result); } -async function main() { +async function main(): Promise { deleteKubeEnvironmentByName(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsGetSample.ts index 988820f24ec1..db59704a9c5e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get the properties of a Kubernetes Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_Get.json */ -async function getKubeEnvironmentsByName() { +async function getKubeEnvironmentsByName(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "8efdecc5-919e-44eb-b179-915dca89ebf9"; @@ -31,7 +31,7 @@ async function getKubeEnvironmentsByName() { console.log(result); } -async function main() { +async function main(): Promise { getKubeEnvironmentsByName(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsListByResourceGroupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsListByResourceGroupSample.ts index ea7626b5fe03..3e36813bac44 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsListByResourceGroupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsListByResourceGroupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all the Kubernetes Environments in a resource group. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_ListByResourceGroup.json */ -async function listKubeEnvironmentsByResourceGroup() { +async function listKubeEnvironmentsByResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "8efdecc5-919e-44eb-b179-915dca89ebf9"; @@ -35,7 +35,7 @@ async function listKubeEnvironmentsByResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { listKubeEnvironmentsByResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsListBySubscriptionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsListBySubscriptionSample.ts index 3ca902f81573..c39d9a385f9c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsListBySubscriptionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsListBySubscriptionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all Kubernetes Environments for a subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_ListBySubscription.json */ -async function listKubeEnvironmentsBySubscription() { +async function listKubeEnvironmentsBySubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "8efdecc5-919e-44eb-b179-915dca89ebf9"; @@ -31,7 +31,7 @@ async function listKubeEnvironmentsBySubscription() { console.log(resArray); } -async function main() { +async function main(): Promise { listKubeEnvironmentsBySubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsUpdateSample.ts index be5253ad529c..b4d454764c78 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/kubeEnvironmentsUpdateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates or updates a Kubernetes Environment. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_Update.json */ -async function updateKubeEnvironments() { +async function updateKubeEnvironments(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function updateKubeEnvironments() { console.log(result); } -async function main() { +async function main(): Promise { updateKubeEnvironments(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/listAseRegionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/listAseRegionsSample.ts index ac2beb8b4b27..7b94623c5043 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/listAseRegionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/listAseRegionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for get a list of available ASE regions and its supported Skus. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAseRegions.json */ -async function listAseregions() { +async function listAseregions(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function listAseregions() { console.log(resArray); } -async function main() { +async function main(): Promise { listAseregions(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/listCustomHostNameSitesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/listCustomHostNameSitesSample.ts index 634dd573c1e7..83bf7f557710 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/listCustomHostNameSitesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/listCustomHostNameSitesSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Get custom hostnames under this subscription * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListCustomHostNameSites.json */ -async function getCustomHostnamesUnderSubscription() { +async function getCustomHostnamesUnderSubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000"; @@ -40,7 +40,7 @@ async function getCustomHostnamesUnderSubscription() { * @summary Get custom hostnames under this subscription * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListCustomSpecificHostNameSites.json */ -async function getSpecificCustomHostnameUnderSubscription() { +async function getSpecificCustomHostnameUnderSubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000"; @@ -55,7 +55,7 @@ async function getSpecificCustomHostnameUnderSubscription() { console.log(resArray); } -async function main() { +async function main(): Promise { getCustomHostnamesUnderSubscription(); getSpecificCustomHostnameUnderSubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetFunctionAppStacksForLocationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetFunctionAppStacksForLocationSample.ts index 5342f4fb4872..08476d2c01c5 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetFunctionAppStacksForLocationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetFunctionAppStacksForLocationSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get available Function app frameworks and their versions for location * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetFunctionAppStacksForLocation.json */ -async function getLocationsFunctionAppStacks() { +async function getLocationsFunctionAppStacks(): Promise { const location = "westus"; const credential = new DefaultAzureCredential(); const client = new WebSiteManagementClient(credential); @@ -31,7 +31,7 @@ async function getLocationsFunctionAppStacks() { console.log(resArray); } -async function main() { +async function main(): Promise { getLocationsFunctionAppStacks(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetFunctionAppStacksSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetFunctionAppStacksSample.ts index 3231f8ef334e..35e4c5bbada8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetFunctionAppStacksSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetFunctionAppStacksSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get available Function app frameworks and their versions * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetFunctionAppStacks.json */ -async function getFunctionAppStacks() { +async function getFunctionAppStacks(): Promise { const credential = new DefaultAzureCredential(); const client = new WebSiteManagementClient(credential); const resArray = new Array(); @@ -28,7 +28,7 @@ async function getFunctionAppStacks() { console.log(resArray); } -async function main() { +async function main(): Promise { getFunctionAppStacks(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetWebAppStacksForLocationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetWebAppStacksForLocationSample.ts index bcaeb0595178..9506955d5d44 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetWebAppStacksForLocationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetWebAppStacksForLocationSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get available Web app frameworks and their versions for location * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppStacksForLocation.json */ -async function getLocationsWebAppStacks() { +async function getLocationsWebAppStacks(): Promise { const location = "westus"; const credential = new DefaultAzureCredential(); const client = new WebSiteManagementClient(credential); @@ -31,7 +31,7 @@ async function getLocationsWebAppStacks() { console.log(resArray); } -async function main() { +async function main(): Promise { getLocationsWebAppStacks(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetWebAppStacksSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetWebAppStacksSample.ts index b0e79ef3fca1..59111765f343 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetWebAppStacksSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerGetWebAppStacksSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get available Web app frameworks and their versions * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppStacks.json */ -async function getWebAppStacks() { +async function getWebAppStacks(): Promise { const credential = new DefaultAzureCredential(); const client = new WebSiteManagementClient(credential); const resArray = new Array(); @@ -28,7 +28,7 @@ async function getWebAppStacks() { console.log(resArray); } -async function main() { +async function main(): Promise { getWebAppStacks(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerListOperationsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerListOperationsSample.ts index d558f3a88c58..12c02ba855b4 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerListOperationsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/providerListOperationsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListOperations.json */ -async function listOperations() { +async function listOperations(): Promise { const credential = new DefaultAzureCredential(); const client = new WebSiteManagementClient(credential); const resArray = new Array(); @@ -28,7 +28,7 @@ async function listOperations() { console.log(resArray); } -async function main() { +async function main(): Promise { listOperations(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataGetBySiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataGetBySiteSample.ts index 705c92740a5e..da2e9a150bbc 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataGetBySiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataGetBySiteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the category of ResourceHealthMetadata to use for the given site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetResourceHealthMetadataBySite.json */ -async function getResourceHealthMetadata() { +async function getResourceHealthMetadata(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "4adb32ad-8327-4cbb-b775-b84b4465bb38"; @@ -34,7 +34,7 @@ async function getResourceHealthMetadata() { console.log(result); } -async function main() { +async function main(): Promise { getResourceHealthMetadata(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataGetBySiteSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataGetBySiteSlotSample.ts index e5364876dda0..ee473a4bc141 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataGetBySiteSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataGetBySiteSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the category of ResourceHealthMetadata to use for the given site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetResourceHealthMetadataBySite.json */ -async function getResourceHealthMetadata() { +async function getResourceHealthMetadata(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "4adb32ad-8327-4cbb-b775-b84b4465bb38"; @@ -36,7 +36,7 @@ async function getResourceHealthMetadata() { console.log(result); } -async function main() { +async function main(): Promise { getResourceHealthMetadata(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListByResourceGroupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListByResourceGroupSample.ts index 732c63278f9f..fa2c2fc24610 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListByResourceGroupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListByResourceGroupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListResourceHealthMetadataByResourceGroup.json */ -async function listResourceHealthMetadataForAResourceGroup() { +async function listResourceHealthMetadataForAResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "4adb32ad-8327-4cbb-b775-b84b4465bb38"; @@ -35,7 +35,7 @@ async function listResourceHealthMetadataForAResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { listResourceHealthMetadataForAResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListBySiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListBySiteSample.ts index 93dabf99775f..6588f9533089 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListBySiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListBySiteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListResourceHealthMetadataBySite.json */ -async function listResourceHealthMetadataForASite() { +async function listResourceHealthMetadataForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "4adb32ad-8327-4cbb-b775-b84b4465bb38"; @@ -37,7 +37,7 @@ async function listResourceHealthMetadataForASite() { console.log(resArray); } -async function main() { +async function main(): Promise { listResourceHealthMetadataForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListBySiteSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListBySiteSlotSample.ts index 5250403b8013..6ff1ad862c1e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListBySiteSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListBySiteSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListResourceHealthMetadataBySite.json */ -async function listResourceHealthMetadataForASite() { +async function listResourceHealthMetadataForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "4adb32ad-8327-4cbb-b775-b84b4465bb38"; @@ -39,7 +39,7 @@ async function listResourceHealthMetadataForASite() { console.log(resArray); } -async function main() { +async function main(): Promise { listResourceHealthMetadataForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListSample.ts index 8803badb3057..0358e8f7dfa6 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/resourceHealthMetadataListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for List all ResourceHealthMetadata for all sites in the subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListResourceHealthMetadataBySubscription.json */ -async function listResourceHealthMetadataForASubscription() { +async function listResourceHealthMetadataForASubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "4adb32ad-8327-4cbb-b775-b84b4465bb38"; @@ -31,7 +31,7 @@ async function listResourceHealthMetadataForASubscription() { console.log(resArray); } -async function main() { +async function main(): Promise { listResourceHealthMetadataForASubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesApproveOrRejectPrivateEndpointConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesApproveOrRejectPrivateEndpointConnectionSample.ts index 2d02fdf3a081..92ab333e053b 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesApproveOrRejectPrivateEndpointConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesApproveOrRejectPrivateEndpointConnectionSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Approves or rejects a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApproveRejectSitePrivateEndpointConnection.json */ -async function approvesOrRejectsAPrivateEndpointConnectionForASite() { +async function approvesOrRejectsAPrivateEndpointConnectionForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -47,7 +47,7 @@ async function approvesOrRejectsAPrivateEndpointConnectionForASite() { console.log(result); } -async function main() { +async function main(): Promise { approvesOrRejectsAPrivateEndpointConnectionForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateBasicAuthSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateBasicAuthSample.ts index dc22152de6c2..04180ba759f6 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateBasicAuthSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateBasicAuthSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Adds or updates basic auth for a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteBasicAuth.json */ -async function createsOrUpdatesBasicAuthPropertiesForAStaticSite() { +async function createsOrUpdatesBasicAuthPropertiesForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function createsOrUpdatesBasicAuthPropertiesForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { createsOrUpdatesBasicAuthPropertiesForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateBuildDatabaseConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateBuildDatabaseConnectionSample.ts index 9e7b111a057f..85772ce8dfbc 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateBuildDatabaseConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateBuildDatabaseConnectionSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a database connection for a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteBuildDatabaseConnection.json */ -async function createOrUpdateADatabaseConnectionForAStaticSiteBuild() { +async function createOrUpdateADatabaseConnectionForAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -49,7 +49,7 @@ async function createOrUpdateADatabaseConnectionForAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateADatabaseConnectionForAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateDatabaseConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateDatabaseConnectionSample.ts index 7001dc27ad57..91bb8d9647fa 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateDatabaseConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateDatabaseConnectionSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a database connection for a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteDatabaseConnection.json */ -async function createOrUpdateADatabaseConnectionForAStaticSite() { +async function createOrUpdateADatabaseConnectionForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -47,7 +47,7 @@ async function createOrUpdateADatabaseConnectionForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateADatabaseConnectionForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteAppSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteAppSettingsSample.ts index ec14802a4848..29d755e3138d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteAppSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteAppSettingsSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates or updates the app settings of a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteAppSettings.json */ -async function createsOrUpdatesTheAppSettingsOfAStaticSite() { +async function createsOrUpdatesTheAppSettingsOfAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -40,7 +40,7 @@ async function createsOrUpdatesTheAppSettingsOfAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { createsOrUpdatesTheAppSettingsOfAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteBuildAppSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteBuildAppSettingsSample.ts index 5a163299100f..13388005814b 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteBuildAppSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteBuildAppSettingsSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates or updates the app settings of a static site build. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteBuildAppSettings.json */ -async function createsOrUpdatesTheFunctionAppSettingsOfAStaticSiteBuild() { +async function createsOrUpdatesTheFunctionAppSettingsOfAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function createsOrUpdatesTheFunctionAppSettingsOfAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { createsOrUpdatesTheFunctionAppSettingsOfAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsSample.ts index a7725a115510..a297c94e1bb2 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates or updates the function app settings of a static site build. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json */ -async function createsOrUpdatesTheFunctionAppSettingsOfAStaticSiteBuild() { +async function createsOrUpdatesTheFunctionAppSettingsOfAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function createsOrUpdatesTheFunctionAppSettingsOfAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { createsOrUpdatesTheFunctionAppSettingsOfAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteCustomDomainSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteCustomDomainSample.ts index 32a3a4be4873..53fe823c36f3 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteCustomDomainSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteCustomDomainSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates a new static site custom domain in an existing resource group and static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteCustomDomain.json */ -async function createOrUpdateACustomDomainForAStaticSite() { +async function createOrUpdateACustomDomainForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function createOrUpdateACustomDomainForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateACustomDomainForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteFunctionAppSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteFunctionAppSettingsSample.ts index 107e4bda0177..bef21f633ca8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteFunctionAppSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteFunctionAppSettingsSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates or updates the function app settings of a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteFunctionAppSettings.json */ -async function createsOrUpdatesTheFunctionAppSettingsOfAStaticSite() { +async function createsOrUpdatesTheFunctionAppSettingsOfAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function createsOrUpdatesTheFunctionAppSettingsOfAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { createsOrUpdatesTheFunctionAppSettingsOfAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteSample.ts index 3a301d7e0cff..5fd047c8f103 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateOrUpdateStaticSiteSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates a new static site in an existing resource group, or updates an existing static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSite.json */ -async function createOrUpdateAStaticSite() { +async function createOrUpdateAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -49,7 +49,7 @@ async function createOrUpdateAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateUserRolesInvitationLinkSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateUserRolesInvitationLinkSample.ts index 399c9d2a79f3..f78db40bb50f 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateUserRolesInvitationLinkSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateUserRolesInvitationLinkSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates an invitation link for a user with the role * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateUserRolesInvitationLink.json */ -async function createAnInvitationLinkForAUserForAStaticSite() { +async function createAnInvitationLinkForAUserForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function createAnInvitationLinkForAUserForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { createAnInvitationLinkForAUserForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateZipDeploymentForStaticSiteBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateZipDeploymentForStaticSiteBuildSample.ts index 4ba72176d627..92077ae16ed4 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateZipDeploymentForStaticSiteBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateZipDeploymentForStaticSiteBuildSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Deploys zipped content to a specific environment of a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StaticSiteBuildZipDeploy.json */ -async function deployASiteFromAZippedPackageToAParticularStaticSiteBuild() { +async function deployASiteFromAZippedPackageToAParticularStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -49,7 +49,7 @@ async function deployASiteFromAZippedPackageToAParticularStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { deployASiteFromAZippedPackageToAParticularStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateZipDeploymentForStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateZipDeploymentForStaticSiteSample.ts index 7b52384bf734..421874f3e89d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateZipDeploymentForStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesCreateZipDeploymentForStaticSiteSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Deploys zipped content to a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StaticSiteZipDeploy.json */ -async function deployASiteFromAZippedPackage() { +async function deployASiteFromAZippedPackage(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -47,7 +47,7 @@ async function deployASiteFromAZippedPackage() { console.log(result); } -async function main() { +async function main(): Promise { deployASiteFromAZippedPackage(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteBuildDatabaseConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteBuildDatabaseConnectionSample.ts index db86dea2cf9c..2d7902b981a1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteBuildDatabaseConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteBuildDatabaseConnectionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Delete a database connection for a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSiteBuildDatabaseConnection.json */ -async function deleteADatabaseConnectionFromAStaticSiteBuild() { +async function deleteADatabaseConnectionFromAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function deleteADatabaseConnectionFromAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { deleteADatabaseConnectionFromAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteDatabaseConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteDatabaseConnectionSample.ts index a7c9d70a7206..99f12ece8144 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteDatabaseConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteDatabaseConnectionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Delete a database connection for a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSiteDatabaseConnection.json */ -async function deleteADatabaseConnectionFromAStaticSite() { +async function deleteADatabaseConnectionFromAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function deleteADatabaseConnectionFromAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { deleteADatabaseConnectionFromAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeletePrivateEndpointConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeletePrivateEndpointConnectionSample.ts index c2ca7048d3e1..6b738e25c1cd 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeletePrivateEndpointConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeletePrivateEndpointConnectionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteSitePrivateEndpointConnection.json */ -async function deleteAPrivateEndpointConnectionForASite() { +async function deleteAPrivateEndpointConnectionForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function deleteAPrivateEndpointConnectionForASite() { console.log(result); } -async function main() { +async function main(): Promise { deleteAPrivateEndpointConnectionForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteBuildSample.ts index 0b11cf73c936..49fc77dc91d1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteBuildSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes a static site build. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSiteBuild.json */ -async function deleteAStaticSiteBuild() { +async function deleteAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function deleteAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { deleteAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteCustomDomainSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteCustomDomainSample.ts index 7b7200a91361..059f210f3073 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteCustomDomainSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteCustomDomainSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes a custom domain. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSiteCustomDomain.json */ -async function deleteACustomDomainForAStaticSite() { +async function deleteACustomDomainForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function deleteACustomDomainForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { deleteACustomDomainForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteSample.ts index 211b74ad1b92..7f1bb06e2219 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSite.json */ -async function deleteAStaticSite() { +async function deleteAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function deleteAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { deleteAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteUserSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteUserSample.ts index aab53aee69bf..c145fec4d54c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteUserSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDeleteStaticSiteUserSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes the user entry from the static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSiteUser.json */ -async function deleteAUserForAStaticSite() { +async function deleteAUserForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function deleteAUserForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { deleteAUserForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachStaticSiteSample.ts index cad971b59b49..366790de57d6 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachStaticSiteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Detaches a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DetachStaticSite.json */ -async function detachAStaticSite() { +async function detachAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function detachAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { detachAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildSample.ts index 46c60e344a55..62a78a9eebc9 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Detach the user provided function app from the static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json */ -async function detachTheUserProvidedFunctionAppFromTheStaticSiteBuild() { +async function detachTheUserProvidedFunctionAppFromTheStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function detachTheUserProvidedFunctionAppFromTheStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { detachTheUserProvidedFunctionAppFromTheStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachUserProvidedFunctionAppFromStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachUserProvidedFunctionAppFromStaticSiteSample.ts index cf97302f3b0e..5dda9d997205 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachUserProvidedFunctionAppFromStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesDetachUserProvidedFunctionAppFromStaticSiteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Detach the user provided function app from the static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DetachUserProvidedFunctionAppFromStaticSite.json */ -async function detachTheUserProvidedFunctionAppFromTheStaticSite() { +async function detachTheUserProvidedFunctionAppFromTheStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function detachTheUserProvidedFunctionAppFromTheStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { detachTheUserProvidedFunctionAppFromTheStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBasicAuthSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBasicAuthSample.ts index ebc79dddc507..19f9bc21be0d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBasicAuthSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBasicAuthSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the basic auth properties for a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBasicAuth.json */ -async function getsTheBasicAuthPropertiesForAStaticSite() { +async function getsTheBasicAuthPropertiesForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getsTheBasicAuthPropertiesForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { getsTheBasicAuthPropertiesForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionSample.ts index 2cb464515383..0784c12d5671 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns overview of a database connection for a static site build by name * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnection.json */ -async function getOverviewOfDatabaseConnectionsForTheStaticSiteBuild() { +async function getOverviewOfDatabaseConnectionsForTheStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getOverviewOfDatabaseConnectionsForTheStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { getOverviewOfDatabaseConnectionsForTheStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionWithDetailsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionWithDetailsSample.ts index b76aac43cf71..80219cb3f526 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionWithDetailsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionWithDetailsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns details of a database connection for a static site build by name * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnectionWithDetails.json */ -async function getDetailsOfDatabaseConnectionsForTheStaticSiteBuild() { +async function getDetailsOfDatabaseConnectionsForTheStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getDetailsOfDatabaseConnectionsForTheStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { getDetailsOfDatabaseConnectionsForTheStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionsSample.ts index 943b5542ff2d..d15bdf4bca17 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns overviews of database connections for a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnections.json */ -async function listOverviewsOfDatabaseConnectionsForTheStaticSiteBuild() { +async function listOverviewsOfDatabaseConnectionsForTheStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function listOverviewsOfDatabaseConnectionsForTheStaticSiteBuild() { console.log(resArray); } -async function main() { +async function main(): Promise { listOverviewsOfDatabaseConnectionsForTheStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionsWithDetailsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionsWithDetailsSample.ts index 98d36170e3c8..923343b776bc 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionsWithDetailsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetBuildDatabaseConnectionsWithDetailsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns details of database connections for a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnectionsWithDetails.json */ -async function listFullDetailsOfDatabaseConnectionsForTheStaticSiteBuild() { +async function listFullDetailsOfDatabaseConnectionsForTheStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function listFullDetailsOfDatabaseConnectionsForTheStaticSiteBuild() { console.log(resArray); } -async function main() { +async function main(): Promise { listFullDetailsOfDatabaseConnectionsForTheStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionSample.ts index dace3637c471..dbf47ff5c94c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns overview of a database connection for a static site by name * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnection.json */ -async function getOverviewOfDatabaseConnectionsForTheStaticSite() { +async function getOverviewOfDatabaseConnectionsForTheStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getOverviewOfDatabaseConnectionsForTheStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { getOverviewOfDatabaseConnectionsForTheStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionWithDetailsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionWithDetailsSample.ts index 9b713da18145..829729462d81 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionWithDetailsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionWithDetailsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns details of a database connection for a static site by name * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnectionWithDetails.json */ -async function getDetailsOfDatabaseConnectionsForTheStaticSite() { +async function getDetailsOfDatabaseConnectionsForTheStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getDetailsOfDatabaseConnectionsForTheStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { getDetailsOfDatabaseConnectionsForTheStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionsSample.ts index b52d8d2f9ef8..1175b601c877 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns overviews of database connections for a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnections.json */ -async function listOverviewsOfDatabaseConnectionsForTheStaticSite() { +async function listOverviewsOfDatabaseConnectionsForTheStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function listOverviewsOfDatabaseConnectionsForTheStaticSite() { console.log(resArray); } -async function main() { +async function main(): Promise { listOverviewsOfDatabaseConnectionsForTheStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionsWithDetailsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionsWithDetailsSample.ts index a68ce94bdac1..3eea8cf10105 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionsWithDetailsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetDatabaseConnectionsWithDetailsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns details of database connections for a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnectionsWithDetails.json */ -async function listFullDetailsOfDatabaseConnectionsForTheStaticSite() { +async function listFullDetailsOfDatabaseConnectionsForTheStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function listFullDetailsOfDatabaseConnectionsForTheStaticSite() { console.log(resArray); } -async function main() { +async function main(): Promise { listFullDetailsOfDatabaseConnectionsForTheStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendForBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendForBuildSample.ts index e6e1f8f0ab6a..7fc2766bf0b0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendForBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendForBuildSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns the details of a linked backend linked to a static site build by name * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendForStaticSiteBuild.json */ -async function getDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBuildByName() { +async function getDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBuildByName(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBuildByName( console.log(result); } -async function main() { +async function main(): Promise { getDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBuildByName(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendSample.ts index 7610e20d935e..d9a82860d6ca 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns the details of a linked backend linked to a static site by name * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendForStaticSite.json */ -async function getDetailsOfTheLinkedBackendRegisteredWithAStaticSiteByName() { +async function getDetailsOfTheLinkedBackendRegisteredWithAStaticSiteByName(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getDetailsOfTheLinkedBackendRegisteredWithAStaticSiteByName() { console.log(result); } -async function main() { +async function main(): Promise { getDetailsOfTheLinkedBackendRegisteredWithAStaticSiteByName(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendsForBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendsForBuildSample.ts index e008c0b4ac3d..9e80c267e7c1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendsForBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendsForBuildSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns details of all backends linked to a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendsForStaticSiteBuild.json */ -async function getDetailsOfTheLinkedBackendsRegisteredWithAStaticSiteBuild() { +async function getDetailsOfTheLinkedBackendsRegisteredWithAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getDetailsOfTheLinkedBackendsRegisteredWithAStaticSiteBuild() { console.log(resArray); } -async function main() { +async function main(): Promise { getDetailsOfTheLinkedBackendsRegisteredWithAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendsSample.ts index 01b592ca3608..4e82b346490a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetLinkedBackendsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Returns details of all backends linked to a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendsForStaticSite.json */ -async function getDetailsOfTheLinkedBackendsRegisteredWithAStaticSite() { +async function getDetailsOfTheLinkedBackendsRegisteredWithAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getDetailsOfTheLinkedBackendsRegisteredWithAStaticSite() { console.log(resArray); } -async function main() { +async function main(): Promise { getDetailsOfTheLinkedBackendsRegisteredWithAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateEndpointConnectionListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateEndpointConnectionListSample.ts index f06132f5ee0b..0cd77869d177 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateEndpointConnectionListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateEndpointConnectionListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the list of private endpoint connections associated with a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnectionList.json */ -async function getAListOfPrivateEndpointConnectionsAssociatedWithASite() { +async function getAListOfPrivateEndpointConnectionsAssociatedWithASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getAListOfPrivateEndpointConnectionsAssociatedWithASite() { console.log(resArray); } -async function main() { +async function main(): Promise { getAListOfPrivateEndpointConnectionsAssociatedWithASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateEndpointConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateEndpointConnectionSample.ts index 8e0ac0264f31..65c5d1efe3ec 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateEndpointConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateEndpointConnectionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnection.json */ -async function getAPrivateEndpointConnectionForASite() { +async function getAPrivateEndpointConnectionForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getAPrivateEndpointConnectionForASite() { console.log(result); } -async function main() { +async function main(): Promise { getAPrivateEndpointConnectionForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateLinkResourcesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateLinkResourcesSample.ts index c82081cc9f56..d279816d1304 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateLinkResourcesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetPrivateLinkResourcesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the private link resources * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateLinkResources.json */ -async function getPrivateLinkResourcesOfASite() { +async function getPrivateLinkResourcesOfASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function getPrivateLinkResourcesOfASite() { console.log(result); } -async function main() { +async function main(): Promise { getPrivateLinkResourcesOfASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteBuildSample.ts index 8b4ab2478b86..16cec0962158 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteBuildSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the details of a static site build. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuild.json */ -async function getAStaticSiteBuild() { +async function getAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { getAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteBuildsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteBuildsSample.ts index 14d17995a557..6f2d9dd9af64 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteBuildsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteBuildsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets all static site builds for a particular static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuilds.json */ -async function getAllBuildsForAStaticSite() { +async function getAllBuildsForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getAllBuildsForAStaticSite() { console.log(resArray); } -async function main() { +async function main(): Promise { getAllBuildsForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteCustomDomainSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteCustomDomainSample.ts index a187d73722bb..a3bb074764f1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteCustomDomainSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteCustomDomainSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets an existing custom domain for a particular static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteCustomDomain.json */ -async function getCustomDomainForAStaticSite() { +async function getCustomDomainForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getCustomDomainForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { getCustomDomainForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteSample.ts index 9ba15737bbfc..5062ac8297ff 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSiteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the details of a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSite.json */ -async function getDetailsForAStaticSite() { +async function getDetailsForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function getDetailsForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { getDetailsForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSitesByResourceGroupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSitesByResourceGroupSample.ts index d382fd667ff2..776ca8048f54 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSitesByResourceGroupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetStaticSitesByResourceGroupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets all static sites in the specified resource group. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSites.json */ -async function getStaticSitesForAResourceGroup() { +async function getStaticSitesForAResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function getStaticSitesForAResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { getStaticSitesForAResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppForStaticSiteBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppForStaticSiteBuildSample.ts index 722eb77e3002..2010ba554a38 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppForStaticSiteBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppForStaticSiteBuildSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the details of the user provided function app registered with a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json */ -async function getDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSiteBuild() { +async function getDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSiteBu console.log(result); } -async function main() { +async function main(): Promise { getDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppForStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppForStaticSiteSample.ts index 5884bd5502db..066db4288652 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppForStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppForStaticSiteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the details of the user provided function app registered with a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppForStaticSite.json */ -async function getDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSite() { +async function getDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSite() console.log(result); } -async function main() { +async function main(): Promise { getDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppsForStaticSiteBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppsForStaticSiteBuildSample.ts index c217e8d3001a..444ed518d38d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppsForStaticSiteBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppsForStaticSiteBuildSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the details of the user provided function apps registered with a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json */ -async function getDetailsOfTheUserProvidedFunctionAppsRegisteredWithAStaticSiteBuild() { +async function getDetailsOfTheUserProvidedFunctionAppsRegisteredWithAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getDetailsOfTheUserProvidedFunctionAppsRegisteredWithAStaticSiteB console.log(resArray); } -async function main() { +async function main(): Promise { getDetailsOfTheUserProvidedFunctionAppsRegisteredWithAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppsForStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppsForStaticSiteSample.ts index 429168436309..ae572ad730fa 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppsForStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesGetUserProvidedFunctionAppsForStaticSiteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the details of the user provided function apps registered with a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppsForStaticSite.json */ -async function getDetailsOfTheUserProvidedFunctionAppsRegisteredWithAStaticSite() { +async function getDetailsOfTheUserProvidedFunctionAppsRegisteredWithAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getDetailsOfTheUserProvidedFunctionAppsRegisteredWithAStaticSite( console.log(resArray); } -async function main() { +async function main(): Promise { getDetailsOfTheUserProvidedFunctionAppsRegisteredWithAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesLinkBackendSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesLinkBackendSample.ts index f49c60948ea8..8d446b6609bd 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesLinkBackendSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesLinkBackendSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Link backend to a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/LinkBackendToStaticSite.json */ -async function linkABackendToAStaticSite() { +async function linkABackendToAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function linkABackendToAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { linkABackendToAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesLinkBackendToBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesLinkBackendToBuildSample.ts index 27aeec602f36..b4436d348433 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesLinkBackendToBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesLinkBackendToBuildSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Link backend to a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/LinkBackendToStaticSiteBuild.json */ -async function linkABackendToAStaticSiteBuild() { +async function linkABackendToAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -46,7 +46,7 @@ async function linkABackendToAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { linkABackendToAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListBasicAuthSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListBasicAuthSample.ts index 2c4e30089514..0e647049bd2c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListBasicAuthSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListBasicAuthSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the basic auth properties for a static site as a collection. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteBasicAuth.json */ -async function listsTheBasicAuthPropertiesForAStaticSite() { +async function listsTheBasicAuthPropertiesForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function listsTheBasicAuthPropertiesForAStaticSite() { console.log(resArray); } -async function main() { +async function main(): Promise { listsTheBasicAuthPropertiesForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListSample.ts index 9d39b4ca000c..266f19d9c5e0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all Static Sites for a subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAllStaticSites.json */ -async function getAllStaticSitesInASubscription() { +async function getAllStaticSitesInASubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function getAllStaticSitesInASubscription() { console.log(resArray); } -async function main() { +async function main(): Promise { getAllStaticSitesInASubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteAppSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteAppSettingsSample.ts index 68819a171a84..e6b12945113f 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteAppSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteAppSettingsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the application settings of a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteAppSettings.json */ -async function getAppSettingsOfAStaticSite() { +async function getAppSettingsOfAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function getAppSettingsOfAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { getAppSettingsOfAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildAppSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildAppSettingsSample.ts index 0628bb5c3f4b..6b93169d9576 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildAppSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildAppSettingsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the application settings of a static site build. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteBuildAppSettings.json */ -async function getAppSettingsOfAStaticSiteBuild() { +async function getAppSettingsOfAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getAppSettingsOfAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { getAppSettingsOfAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildFunctionAppSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildFunctionAppSettingsSample.ts index 32cd44a92057..d5a788cdeb20 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildFunctionAppSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildFunctionAppSettingsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the application settings of a static site build. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteBuildFunctionAppSettings.json */ -async function getFunctionAppSettingsOfAStaticSiteBuild() { +async function getFunctionAppSettingsOfAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getFunctionAppSettingsOfAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { getFunctionAppSettingsOfAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildFunctionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildFunctionsSample.ts index c263624259e8..cc0aea7bde8a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildFunctionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteBuildFunctionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the functions of a particular static site build. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteBuildFunctions.json */ -async function getsTheFunctionsOfAParticularStaticSiteBuild() { +async function getsTheFunctionsOfAParticularStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getsTheFunctionsOfAParticularStaticSiteBuild() { console.log(resArray); } -async function main() { +async function main(): Promise { getsTheFunctionsOfAParticularStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteConfiguredRolesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteConfiguredRolesSample.ts index 6761ff48b077..bb7f95d45a6c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteConfiguredRolesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteConfiguredRolesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Lists the roles configured for the static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteConfiguredRoles.json */ -async function listsTheConfiguredRolesForAStaticSite() { +async function listsTheConfiguredRolesForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function listsTheConfiguredRolesForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { listsTheConfiguredRolesForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteCustomDomainsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteCustomDomainsSample.ts index 0f65d55e1156..0c00ea362345 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteCustomDomainsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteCustomDomainsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets all static site custom domains for a particular static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteCustomDomains.json */ -async function listCustomDomainsForAStaticSite() { +async function listCustomDomainsForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function listCustomDomainsForAStaticSite() { console.log(resArray); } -async function main() { +async function main(): Promise { listCustomDomainsForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteFunctionAppSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteFunctionAppSettingsSample.ts index fd010e99cfb6..b7b03a274a43 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteFunctionAppSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteFunctionAppSettingsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the application settings of a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteFunctionAppSettings.json */ -async function getFunctionAppSettingsOfAStaticSite() { +async function getFunctionAppSettingsOfAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function getFunctionAppSettingsOfAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { getFunctionAppSettingsOfAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteFunctionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteFunctionsSample.ts index db950af065f6..ea29ffe4caa7 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteFunctionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteFunctionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the functions of a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteFunctions.json */ -async function getsTheFunctionsOfAStaticSite() { +async function getsTheFunctionsOfAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getsTheFunctionsOfAStaticSite() { console.log(resArray); } -async function main() { +async function main(): Promise { getsTheFunctionsOfAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteSecretsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteSecretsSample.ts index 6701849b4ccc..8a672e1f3e34 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteSecretsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteSecretsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Lists the secrets for an existing static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteSecrets.json */ -async function listSecretsForAStaticSite() { +async function listSecretsForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function listSecretsForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { listSecretsForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteUsersSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteUsersSample.ts index f9bc5f307f45..4b266af5b3e1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteUsersSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesListStaticSiteUsersSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the list of users of a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteUsers.json */ -async function listUsersForAStaticSite() { +async function listUsersForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function listUsersForAStaticSite() { console.log(resArray); } -async function main() { +async function main(): Promise { listUsersForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesPreviewWorkflowSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesPreviewWorkflowSample.ts index 66b4a79fd844..b97b8ee921ab 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesPreviewWorkflowSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesPreviewWorkflowSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Generates a preview workflow file for the static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GenerateStaticSiteWorkflowPreview.json */ -async function generatesAPreviewWorkflowFileForTheStaticSite() { +async function generatesAPreviewWorkflowFileForTheStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function generatesAPreviewWorkflowFileForTheStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { generatesAPreviewWorkflowFileForTheStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildSample.ts index 6be87e31d3d2..a13821d99fe8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildSample.ts @@ -22,7 +22,7 @@ import "dotenv/config"; * @summary Description for Register a user provided function app with a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json */ -async function registerAUserProvidedFunctionAppWithAStaticSiteBuild() { +async function registerAUserProvidedFunctionAppWithAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -53,7 +53,7 @@ async function registerAUserProvidedFunctionAppWithAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { registerAUserProvidedFunctionAppWithAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesRegisterUserProvidedFunctionAppWithStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesRegisterUserProvidedFunctionAppWithStaticSiteSample.ts index 10c9b7dc9275..a16a55342530 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesRegisterUserProvidedFunctionAppWithStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesRegisterUserProvidedFunctionAppWithStaticSiteSample.ts @@ -22,7 +22,7 @@ import "dotenv/config"; * @summary Description for Register a user provided function app with a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/RegisterUserProvidedFunctionAppWithStaticSite.json */ -async function registerAUserProvidedFunctionAppWithAStaticSite() { +async function registerAUserProvidedFunctionAppWithAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -51,7 +51,7 @@ async function registerAUserProvidedFunctionAppWithAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { registerAUserProvidedFunctionAppWithAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesResetStaticSiteApiKeySample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesResetStaticSiteApiKeySample.ts index 89bb8d3ea8c3..7e39b4bd0324 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesResetStaticSiteApiKeySample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesResetStaticSiteApiKeySample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Resets the api key for an existing static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ResetStaticSiteApiKey.json */ -async function resetTheApiKeyForAStaticSite() { +async function resetTheApiKeyForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function resetTheApiKeyForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { resetTheApiKeyForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUnlinkBackendFromBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUnlinkBackendFromBuildSample.ts index 02b6fac19130..4956584bd9ff 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUnlinkBackendFromBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUnlinkBackendFromBuildSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Unlink a backend from a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UnlinkBackendFromStaticSiteBuild.json */ -async function unlinkABackendFromAStaticSiteBuild() { +async function unlinkABackendFromAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function unlinkABackendFromAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { unlinkABackendFromAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUnlinkBackendSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUnlinkBackendSample.ts index 9dd024bdff67..d10c6c5b0629 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUnlinkBackendSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUnlinkBackendSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Unlink a backend from a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UnlinkBackendFromStaticSite.json */ -async function unlinkABackendFromAStaticSite() { +async function unlinkABackendFromAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function unlinkABackendFromAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { unlinkABackendFromAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateBuildDatabaseConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateBuildDatabaseConnectionSample.ts index 359184379884..7f98555e0865 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateBuildDatabaseConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateBuildDatabaseConnectionSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a database connection for a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PatchStaticSiteBuildDatabaseConnection.json */ -async function patchADatabaseConnectionForAStaticSiteBuild() { +async function patchADatabaseConnectionForAStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function patchADatabaseConnectionForAStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { patchADatabaseConnectionForAStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateDatabaseConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateDatabaseConnectionSample.ts index cfa29798e4be..d1123dd787c5 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateDatabaseConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateDatabaseConnectionSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Create or update a database connection for a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PatchStaticSiteDatabaseConnection.json */ -async function patchADatabaseConnectionForAStaticSite() { +async function patchADatabaseConnectionForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -40,7 +40,7 @@ async function patchADatabaseConnectionForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { patchADatabaseConnectionForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateStaticSiteSample.ts index 44b206451ffb..039d4c2add4d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateStaticSiteSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates a new static site in an existing resource group, or updates an existing static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PatchStaticSite.json */ -async function patchAStaticSite() { +async function patchAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function patchAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { patchAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateStaticSiteUserSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateStaticSiteUserSample.ts index 15f9f93f1070..eb7fb9f85347 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateStaticSiteUserSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesUpdateStaticSiteUserSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Updates a user entry with the listed roles * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateStaticSiteUser.json */ -async function createOrUpdateAUserForAStaticSite() { +async function createOrUpdateAUserForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function createOrUpdateAUserForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { createOrUpdateAUserForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateBackendForBuildSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateBackendForBuildSample.ts index b71e40136749..da8e05e8ed09 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateBackendForBuildSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateBackendForBuildSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Validates that a backend can be linked to a static site build * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ValidateLinkedBackendForStaticSiteBuild.json */ -async function validateIfBackendCanBeLinkedToStaticSiteBuild() { +async function validateIfBackendCanBeLinkedToStaticSiteBuild(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -46,7 +46,7 @@ async function validateIfBackendCanBeLinkedToStaticSiteBuild() { console.log(result); } -async function main() { +async function main(): Promise { validateIfBackendCanBeLinkedToStaticSiteBuild(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateBackendSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateBackendSample.ts index 344011a9d184..02b2590f4c3b 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateBackendSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateBackendSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Validates that a backend can be linked to a static site * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ValidateLinkedBackendForStaticSite.json */ -async function validateIfBackendCanBeLinkedToStaticSite() { +async function validateIfBackendCanBeLinkedToStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function validateIfBackendCanBeLinkedToStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { validateIfBackendCanBeLinkedToStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateCustomDomainCanBeAddedToStaticSiteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateCustomDomainCanBeAddedToStaticSiteSample.ts index 407650363a30..a9cf13b0709d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateCustomDomainCanBeAddedToStaticSiteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/staticSitesValidateCustomDomainCanBeAddedToStaticSiteSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Validates a particular custom domain can be added to a static site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ValidateStaticSiteCustomDomain.json */ -async function validateACustomDomainForAStaticSite() { +async function validateACustomDomainForAStaticSite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function validateACustomDomainForAStaticSite() { console.log(result); } -async function main() { +async function main(): Promise { validateACustomDomainForAStaticSite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsGetSample.ts index d7545c57846f..aab5c4174697 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get details of a top-level domain. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetTopLevelDomain.json */ -async function getTopLevelDomain() { +async function getTopLevelDomain(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -29,7 +29,7 @@ async function getTopLevelDomain() { console.log(result); } -async function main() { +async function main(): Promise { getTopLevelDomain(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsListAgreementsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsListAgreementsSample.ts index f595d129c43b..b2b487451d6c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsListAgreementsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsListAgreementsSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Gets all legal agreements that user needs to accept before purchasing a domain. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListTopLevelDomainAgreements.json */ -async function listTopLevelDomainAgreements() { +async function listTopLevelDomainAgreements(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function listTopLevelDomainAgreements() { console.log(resArray); } -async function main() { +async function main(): Promise { listTopLevelDomainAgreements(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsListSample.ts index 2366fff7c52b..3eb308c4af15 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/topLevelDomainsListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all top-level domains supported for registration. * x-ms-original-file: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListTopLevelDomains.json */ -async function listTopLevelDomains() { +async function listTopLevelDomains(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function listTopLevelDomains() { console.log(resArray); } -async function main() { +async function main(): Promise { listTopLevelDomains(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/verifyHostingEnvironmentVnetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/verifyHostingEnvironmentVnetSample.ts index dbbac64b3c65..5c917a8d416b 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/verifyHostingEnvironmentVnetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/verifyHostingEnvironmentVnetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/VerifyHostingEnvironmentVnet.json */ -async function verifyHostingEnvironmentVnet() { +async function verifyHostingEnvironmentVnet(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function verifyHostingEnvironmentVnet() { console.log(result); } -async function main() { +async function main(): Promise { verifyHostingEnvironmentVnet(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsAnalyzeCustomHostnameSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsAnalyzeCustomHostnameSample.ts index 1fdb04d1be4e..43efb5764b2d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsAnalyzeCustomHostnameSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsAnalyzeCustomHostnameSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Analyze a custom hostname. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AnalyzeCustomHostName.json */ -async function analyzeCustomHostnameForWebapp() { +async function analyzeCustomHostnameForWebapp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function analyzeCustomHostnameForWebapp() { console.log(result); } -async function main() { +async function main(): Promise { analyzeCustomHostnameForWebapp(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsAnalyzeCustomHostnameSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsAnalyzeCustomHostnameSlotSample.ts index be1b59c55566..dd8f83a384e4 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsAnalyzeCustomHostnameSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsAnalyzeCustomHostnameSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Analyze a custom hostname. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AnalyzeCustomHostNameSlot.json */ -async function analyzeCustomHostnameForSlot() { +async function analyzeCustomHostnameForSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function analyzeCustomHostnameForSlot() { console.log(result); } -async function main() { +async function main(): Promise { analyzeCustomHostnameForSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApplySlotConfigToProductionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApplySlotConfigToProductionSample.ts index a633101db52d..5df97cf1dc2a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApplySlotConfigToProductionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApplySlotConfigToProductionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Applies the configuration settings from the target slot onto the current slot. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApplySlotConfig.json */ -async function applyWebAppSlotConfig() { +async function applyWebAppSlotConfig(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function applyWebAppSlotConfig() { console.log(result); } -async function main() { +async function main(): Promise { applyWebAppSlotConfig(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApproveOrRejectPrivateEndpointConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApproveOrRejectPrivateEndpointConnectionSample.ts index 2bfc4cbb42fc..3c46ba6b118a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApproveOrRejectPrivateEndpointConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApproveOrRejectPrivateEndpointConnectionSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Approves or rejects a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApproveRejectSitePrivateEndpointConnection.json */ -async function approvesOrRejectsAPrivateEndpointConnectionForASite() { +async function approvesOrRejectsAPrivateEndpointConnectionForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -47,7 +47,7 @@ async function approvesOrRejectsAPrivateEndpointConnectionForASite() { console.log(result); } -async function main() { +async function main(): Promise { approvesOrRejectsAPrivateEndpointConnectionForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApproveOrRejectPrivateEndpointConnectionSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApproveOrRejectPrivateEndpointConnectionSlotSample.ts index 497459fc86ea..2b099a38fbb4 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApproveOrRejectPrivateEndpointConnectionSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsApproveOrRejectPrivateEndpointConnectionSlotSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Approves or rejects a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApproveRejectSitePrivateEndpointConnectionSlot.json */ -async function approvesOrRejectsAPrivateEndpointConnectionForASite() { +async function approvesOrRejectsAPrivateEndpointConnectionForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -49,7 +49,7 @@ async function approvesOrRejectsAPrivateEndpointConnectionForASite() { console.log(result); } -async function main() { +async function main(): Promise { approvesOrRejectsAPrivateEndpointConnectionForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsBackupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsBackupSample.ts index ddef855f1740..2fded265d3a8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsBackupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsBackupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Creates a backup of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/BackupWebApp.json */ -async function backupWebApp() { +async function backupWebApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -60,7 +60,7 @@ async function backupWebApp() { console.log(result); } -async function main() { +async function main(): Promise { backupWebApp(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateConfigurationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateConfigurationSample.ts index f864c1469ff6..3be12fdfefef 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateConfigurationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateConfigurationSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Updates the configuration of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateSiteConfig.json */ -async function updateSiteConfig() { +async function updateSiteConfig(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -89,7 +89,7 @@ async function updateSiteConfig() { console.log(result); } -async function main() { +async function main(): Promise { updateSiteConfig(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateSample.ts index ced2ebb0eeb8..ab272f7487fa 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CloneWebApp.json */ -async function cloneWebApp() { +async function cloneWebApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -57,7 +57,7 @@ async function cloneWebApp() { * @summary Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateFunctionAppFlexConsumption.json */ -async function createOrUpdateFlexConsumptionFunctionApp() { +async function createOrUpdateFlexConsumptionFunctionApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -116,7 +116,7 @@ async function createOrUpdateFlexConsumptionFunctionApp() { * @summary Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json */ -async function createOrUpdateFlexConsumptionFunctionAppWithDetails() { +async function createOrUpdateFlexConsumptionFunctionAppWithDetails(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -177,7 +177,7 @@ async function createOrUpdateFlexConsumptionFunctionAppWithDetails() { * @summary Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateWebApp.json */ -async function createOrUpdateWebApp() { +async function createOrUpdateWebApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -200,7 +200,7 @@ async function createOrUpdateWebApp() { console.log(result); } -async function main() { +async function main(): Promise { cloneWebApp(); createOrUpdateFlexConsumptionFunctionApp(); createOrUpdateFlexConsumptionFunctionAppWithDetails(); diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateSlotSample.ts index c3f22f82f37b..d78ec89ab0cd 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsCreateOrUpdateSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CloneWebAppSlot.json */ -async function cloneWebAppSlot() { +async function cloneWebAppSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -59,7 +59,7 @@ async function cloneWebAppSlot() { * @summary Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateWebAppSlot.json */ -async function createOrUpdateWebAppSlot() { +async function createOrUpdateWebAppSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -84,7 +84,7 @@ async function createOrUpdateWebAppSlot() { console.log(result); } -async function main() { +async function main(): Promise { cloneWebAppSlot(); createOrUpdateWebAppSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteBackupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteBackupSample.ts index 9e785069a658..4ff53073564d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteBackupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteBackupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes a backup of an app by its ID. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteWebAppBackup.json */ -async function deleteWebAppBackup() { +async function deleteWebAppBackup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function deleteWebAppBackup() { console.log(result); } -async function main() { +async function main(): Promise { deleteWebAppBackup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeletePrivateEndpointConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeletePrivateEndpointConnectionSample.ts index a0e2e43fd371..5f260346c16b 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeletePrivateEndpointConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeletePrivateEndpointConnectionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteSitePrivateEndpointConnection.json */ -async function deleteAPrivateEndpointConnectionForASite() { +async function deleteAPrivateEndpointConnectionForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function deleteAPrivateEndpointConnectionForASite() { console.log(result); } -async function main() { +async function main(): Promise { deleteAPrivateEndpointConnectionForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeletePrivateEndpointConnectionSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeletePrivateEndpointConnectionSlotSample.ts index e0d4509bc136..ecd2bd86ef34 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeletePrivateEndpointConnectionSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeletePrivateEndpointConnectionSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteSitePrivateEndpointConnectionSlot.json */ -async function deleteAPrivateEndpointConnectionForASite() { +async function deleteAPrivateEndpointConnectionForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function deleteAPrivateEndpointConnectionForASite() { console.log(result); } -async function main() { +async function main(): Promise { deleteAPrivateEndpointConnectionForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteSample.ts index f8940e361567..f58c85ab0e34 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes a web, mobile, or API app, or one of the deployment slots. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteWebApp.json */ -async function deleteWebApp() { +async function deleteWebApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function deleteWebApp() { console.log(result); } -async function main() { +async function main(): Promise { deleteWebApp(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteSlotSample.ts index 81bfec97eb42..5c5653be35c5 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeleteSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Deletes a web, mobile, or API app, or one of the deployment slots. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteWebAppSlot.json */ -async function deleteWebAppSlot() { +async function deleteWebAppSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -32,7 +32,7 @@ async function deleteWebAppSlot() { console.log(result); } -async function main() { +async function main(): Promise { deleteWebAppSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeployWorkflowArtifactsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeployWorkflowArtifactsSample.ts index 3385529725d6..5180b06ed94c 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeployWorkflowArtifactsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeployWorkflowArtifactsSample.ts @@ -22,7 +22,7 @@ import "dotenv/config"; * @summary Description for Creates the artifacts for web site, or a deployment slot. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteDeployWorkflowArtifacts.json */ -async function deleteWorkflowArtifacts() { +async function deleteWorkflowArtifacts(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -51,7 +51,7 @@ async function deleteWorkflowArtifacts() { * @summary Description for Creates the artifacts for web site, or a deployment slot. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PostDeployWorkflowArtifacts.json */ -async function deploysWorkflowArtifacts() { +async function deploysWorkflowArtifacts(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -115,7 +115,7 @@ async function deploysWorkflowArtifacts() { console.log(result); } -async function main() { +async function main(): Promise { deleteWorkflowArtifacts(); deploysWorkflowArtifacts(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeployWorkflowArtifactsSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeployWorkflowArtifactsSlotSample.ts index 8e82d66f8d6b..0ef269911ad8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeployWorkflowArtifactsSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsDeployWorkflowArtifactsSlotSample.ts @@ -22,7 +22,7 @@ import "dotenv/config"; * @summary Description for Creates the artifacts for web site, or a deployment slot. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PostDeployWorkflowArtifactsSlot.json */ -async function deploysWorkflowArtifactsSlot() { +async function deploysWorkflowArtifactsSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -88,7 +88,7 @@ async function deploysWorkflowArtifactsSlot() { console.log(result); } -async function main() { +async function main(): Promise { deploysWorkflowArtifactsSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingKeyVaultReferenceSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingKeyVaultReferenceSample.ts index 9f48fa9b99ce..0bc729aeb0af 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingKeyVaultReferenceSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingKeyVaultReferenceSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the config reference and status of an app * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSetting.json */ -async function getAzureKeyVaultAppSettingReference() { +async function getAzureKeyVaultAppSettingReference(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getAzureKeyVaultAppSettingReference() { console.log(result); } -async function main() { +async function main(): Promise { getAzureKeyVaultAppSettingReference(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingKeyVaultReferenceSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingKeyVaultReferenceSlotSample.ts index 9328e1aa279a..ead9ee3c47d9 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingKeyVaultReferenceSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingKeyVaultReferenceSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the config reference and status of an app * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSettingSlot.json */ -async function getAzureKeyVaultSlotAppSettingReference() { +async function getAzureKeyVaultSlotAppSettingReference(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getAzureKeyVaultSlotAppSettingReference() { console.log(result); } -async function main() { +async function main(): Promise { getAzureKeyVaultSlotAppSettingReference(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingsKeyVaultReferencesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingsKeyVaultReferencesSample.ts index 8e4106d19fa7..8f4718bdd64a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingsKeyVaultReferencesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingsKeyVaultReferencesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the config reference app settings and status of an app * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSettings.json */ -async function getAzureKeyVaultReferencesForAppSettings() { +async function getAzureKeyVaultReferencesForAppSettings(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getAzureKeyVaultReferencesForAppSettings() { console.log(resArray); } -async function main() { +async function main(): Promise { getAzureKeyVaultReferencesForAppSettings(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingsKeyVaultReferencesSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingsKeyVaultReferencesSlotSample.ts index 1b7a63e67785..79ff63d8a6ac 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingsKeyVaultReferencesSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAppSettingsKeyVaultReferencesSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the config reference app settings and status of an app * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSettingsSlot.json */ -async function getAzureKeyVaultReferencesForAppSettingsForSlot() { +async function getAzureKeyVaultReferencesForAppSettingsForSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function getAzureKeyVaultReferencesForAppSettingsForSlot() { console.log(resArray); } -async function main() { +async function main(): Promise { getAzureKeyVaultReferencesForAppSettingsForSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsSample.ts index 3d17d3609ef3..283c17b650b3 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the Authentication/Authorization settings of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAuthSettings.json */ -async function listAuthSettings() { +async function listAuthSettings(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function listAuthSettings() { console.log(result); } -async function main() { +async function main(): Promise { listAuthSettings(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsV2Sample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsV2Sample.ts index 8c18e49541a2..426bb708a173 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsV2Sample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsV2Sample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets site's Authentication / Authorization settings for apps via the V2 format * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAuthSettingsV2.json */ -async function listAuthSettingsV2() { +async function listAuthSettingsV2(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function listAuthSettingsV2() { console.log(result); } -async function main() { +async function main(): Promise { listAuthSettingsV2(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsV2WithoutSecretsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsV2WithoutSecretsSample.ts index b58ed3ff10e6..f88fd40c2515 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsV2WithoutSecretsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetAuthSettingsV2WithoutSecretsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets site's Authentication / Authorization settings for apps via the V2 format * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAuthSettingsV2WithoutSecrets.json */ -async function listAuthSettingsWithoutSecrets() { +async function listAuthSettingsWithoutSecrets(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function listAuthSettingsWithoutSecrets() { console.log(result); } -async function main() { +async function main(): Promise { listAuthSettingsWithoutSecrets(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetBackupStatusSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetBackupStatusSample.ts index 513a04896589..3f4a9e387360 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetBackupStatusSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetBackupStatusSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a backup of an app by its ID. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppBackup.json */ -async function getWebAppBackup() { +async function getWebAppBackup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getWebAppBackup() { console.log(result); } -async function main() { +async function main(): Promise { getWebAppBackup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetConfigurationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetConfigurationSample.ts index 8ca108dbaffc..a6e99a9d7a06 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetConfigurationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetConfigurationSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteConfig.json */ -async function getSiteConfig() { +async function getSiteConfig(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function getSiteConfig() { console.log(result); } -async function main() { +async function main(): Promise { getSiteConfig(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetFtpAllowedSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetFtpAllowedSample.ts index 466272da8364..351e4531f9ed 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetFtpAllowedSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetFtpAllowedSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Returns whether FTP is allowed on the site or not. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetPublishingCredentialsPolicy.json */ -async function getFtpAllowed() { +async function getFtpAllowed(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -30,7 +30,7 @@ async function getFtpAllowed() { console.log(result); } -async function main() { +async function main(): Promise { getFtpAllowed(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetFtpAllowedSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetFtpAllowedSlotSample.ts index d0db19e51f65..4f32ed4efe84 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetFtpAllowedSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetFtpAllowedSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Returns whether FTP is allowed on the site or not. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetPublishingCredentialsPolicySlot.json */ -async function getFtpAllowed() { +async function getFtpAllowed(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getFtpAllowed() { console.log(result); } -async function main() { +async function main(): Promise { getFtpAllowed(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceInfoSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceInfoSample.ts index 710197b54fd2..f819930c6bd1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceInfoSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceInfoSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets all scale-out instances of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteInstanceInfo.json */ -async function getSiteInstanceInfo() { +async function getSiteInstanceInfo(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getSiteInstanceInfo() { console.log(result); } -async function main() { +async function main(): Promise { getSiteInstanceInfo(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceInfoSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceInfoSlotSample.ts index cea92313a1de..d007d787d372 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceInfoSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceInfoSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets all scale-out instances of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteInstanceInfo.json */ -async function getSiteInstanceInfo() { +async function getSiteInstanceInfo(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getSiteInstanceInfo() { console.log(result); } -async function main() { +async function main(): Promise { getSiteInstanceInfo(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceWorkflowSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceWorkflowSlotSample.ts index 851271ec6ea8..2f2ba227ee38 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceWorkflowSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetInstanceWorkflowSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get workflow information by its ID for web site, or a deployment slot. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWorkflow.json */ -async function getAWorkflowSlot() { +async function getAWorkflowSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getAWorkflowSlot() { console.log(result); } -async function main() { +async function main(): Promise { getAWorkflowSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSample.ts index 7136edbdfaa3..1562f8a7bd74 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraceOperation.json */ -async function getTheCurrentStatusOfANetworkTraceOperationForASite() { +async function getTheCurrentStatusOfANetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getTheCurrentStatusOfANetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { getTheCurrentStatusOfANetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSlotSample.ts index d76fe2d44224..9d3bb5fd6607 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraceOperation.json */ -async function getTheCurrentStatusOfANetworkTraceOperationForASite() { +async function getTheCurrentStatusOfANetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getTheCurrentStatusOfANetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { getTheCurrentStatusOfANetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSlotV2Sample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSlotV2Sample.ts index 064db5478fdb..c8060e2bdd65 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSlotV2Sample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationSlotV2Sample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraceOperation.json */ -async function getTheCurrentStatusOfANetworkTraceOperationForASite() { +async function getTheCurrentStatusOfANetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getTheCurrentStatusOfANetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { getTheCurrentStatusOfANetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationV2Sample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationV2Sample.ts index dba4edf1937b..3ca238a1a625 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationV2Sample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTraceOperationV2Sample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraceOperation.json */ -async function getTheCurrentStatusOfANetworkTraceOperationForASite() { +async function getTheCurrentStatusOfANetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getTheCurrentStatusOfANetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { getTheCurrentStatusOfANetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSample.ts index 7303ed37b390..1aa63e7c57fa 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraces.json */ -async function getNetworkTracesForASite() { +async function getNetworkTracesForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getNetworkTracesForASite() { console.log(result); } -async function main() { +async function main(): Promise { getNetworkTracesForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSlotSample.ts index ff64c47dc254..58540e3fc20d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraces.json */ -async function getNetworkTracesForASite() { +async function getNetworkTracesForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getNetworkTracesForASite() { console.log(result); } -async function main() { +async function main(): Promise { getNetworkTracesForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSlotV2Sample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSlotV2Sample.ts index 0fca762bcf1b..a4fafddac4b8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSlotV2Sample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesSlotV2Sample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraces.json */ -async function getNetworkTracesForASite() { +async function getNetworkTracesForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getNetworkTracesForASite() { console.log(result); } -async function main() { +async function main(): Promise { getNetworkTracesForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesV2Sample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesV2Sample.ts index aa59a6897d9b..494e1fcb10f6 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesV2Sample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetNetworkTracesV2Sample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraces.json */ -async function getNetworkTracesForASite() { +async function getNetworkTracesForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getNetworkTracesForASite() { console.log(result); } -async function main() { +async function main(): Promise { getNetworkTracesForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateEndpointConnectionSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateEndpointConnectionSample.ts index c36e6a7b4bcb..7c4fda8be030 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateEndpointConnectionSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateEndpointConnectionSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnection.json */ -async function getAPrivateEndpointConnectionForASite() { +async function getAPrivateEndpointConnectionForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getAPrivateEndpointConnectionForASite() { console.log(result); } -async function main() { +async function main(): Promise { getAPrivateEndpointConnectionForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateEndpointConnectionSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateEndpointConnectionSlotSample.ts index c2f7d8c23c86..cd255c3fd8b5 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateEndpointConnectionSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateEndpointConnectionSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets a private endpoint connection * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnectionSlot.json */ -async function getAPrivateEndpointConnectionForASite() { +async function getAPrivateEndpointConnectionForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function getAPrivateEndpointConnectionForASite() { console.log(result); } -async function main() { +async function main(): Promise { getAPrivateEndpointConnectionForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateLinkResourcesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateLinkResourcesSample.ts index 1448283b9c28..6afc8be31a93 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateLinkResourcesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateLinkResourcesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the private link resources * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateLinkResources.json */ -async function getPrivateLinkResourcesOfASite() { +async function getPrivateLinkResourcesOfASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -33,7 +33,7 @@ async function getPrivateLinkResourcesOfASite() { console.log(result); } -async function main() { +async function main(): Promise { getPrivateLinkResourcesOfASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateLinkResourcesSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateLinkResourcesSlotSample.ts index a3b02ffeaa49..3f3ff31e9c45 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateLinkResourcesSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetPrivateLinkResourcesSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the private link resources * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateLinkResourcesSlot.json */ -async function getPrivateLinkResourcesOfASite() { +async function getPrivateLinkResourcesOfASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getPrivateLinkResourcesOfASite() { console.log(result); } -async function main() { +async function main(): Promise { getPrivateLinkResourcesOfASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetProductionSiteDeploymentStatusSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetProductionSiteDeploymentStatusSample.ts index 9b98991619d1..94dda10e596e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetProductionSiteDeploymentStatusSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetProductionSiteDeploymentStatusSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets the deployment status for an app (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteDeploymentStatus.json */ -async function getDeploymentStatus() { +async function getDeploymentStatus(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getDeploymentStatus() { console.log(result); } -async function main() { +async function main(): Promise { getDeploymentStatus(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSample.ts index 7f037b5240fa..55c9f0f4ed55 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the details of a web, mobile, or API app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebApp.json */ -async function getWebApp() { +async function getWebApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function getWebApp() { console.log(result); } -async function main() { +async function main(): Promise { getWebApp(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetScmAllowedSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetScmAllowedSample.ts index d9e6fbadec51..8969b801ce73 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetScmAllowedSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetScmAllowedSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Returns whether Scm basic auth is allowed on the site or not. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetPublishingCredentialsPolicy.json */ -async function getScmAllowed() { +async function getScmAllowed(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -30,7 +30,7 @@ async function getScmAllowed() { console.log(result); } -async function main() { +async function main(): Promise { getScmAllowed(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetScmAllowedSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetScmAllowedSlotSample.ts index 27ca1c0747ef..b89caf0fc358 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetScmAllowedSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetScmAllowedSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Returns whether Scm basic auth is allowed on the site or not. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetPublishingCredentialsPolicySlot.json */ -async function getScmAllowed() { +async function getScmAllowed(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function getScmAllowed() { console.log(result); } -async function main() { +async function main(): Promise { getScmAllowed(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSlotSample.ts index d7a11b3d73d0..573f6d6fffce 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the details of a web, mobile, or API app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppSlot.json */ -async function getWebAppSlot() { +async function getWebAppSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -32,7 +32,7 @@ async function getWebAppSlot() { console.log(result); } -async function main() { +async function main(): Promise { getWebAppSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSlotSiteDeploymentStatusSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSlotSiteDeploymentStatusSlotSample.ts index 2358dd2ff6b2..21249644014e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSlotSiteDeploymentStatusSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetSlotSiteDeploymentStatusSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets the deployment status for an app (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteDeploymentStatusSlot.json */ -async function getDeploymentStatusSlot() { +async function getDeploymentStatusSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getDeploymentStatusSlot() { console.log(result); } -async function main() { +async function main(): Promise { getDeploymentStatusSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetWorkflowSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetWorkflowSample.ts index 22324e11c4fc..88f1b668b482 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetWorkflowSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsGetWorkflowSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get workflow information by its ID for web site, or a deployment slot. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWorkflow.json */ -async function getAWorkflow() { +async function getAWorkflow(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function getAWorkflow() { console.log(result); } -async function main() { +async function main(): Promise { getAWorkflow(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListApplicationSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListApplicationSettingsSample.ts index 94bad02f0aad..0a45430998fe 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListApplicationSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListApplicationSettingsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets the application settings of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAppSettings.json */ -async function listAppSettings() { +async function listAppSettings(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function listAppSettings() { console.log(result); } -async function main() { +async function main(): Promise { listAppSettings(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBackupStatusSecretsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBackupStatusSecretsSample.ts index c10acb8db3de..728aa50a2c72 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBackupStatusSecretsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBackupStatusSecretsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppBackupWithSecrets.json */ -async function getWebAppBackupWithSecrets() { +async function getWebAppBackupWithSecrets(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -66,7 +66,7 @@ async function getWebAppBackupWithSecrets() { console.log(result); } -async function main() { +async function main(): Promise { getWebAppBackupWithSecrets(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBackupsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBackupsSample.ts index 6daaf91a1af5..72ec3a8d72e1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBackupsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBackupsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets existing backups of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWebAppBackups.json */ -async function listWebAppBackups() { +async function listWebAppBackups(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function listWebAppBackups() { console.log(resArray); } -async function main() { +async function main(): Promise { listWebAppBackups(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBasicPublishingCredentialsPoliciesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBasicPublishingCredentialsPoliciesSample.ts index 09efcc7a26a3..cb4affb0baa2 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBasicPublishingCredentialsPoliciesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBasicPublishingCredentialsPoliciesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListPublishingCredentialsPolicies.json */ -async function listPublishingCredentialsPolicies() { +async function listPublishingCredentialsPolicies(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "3fb8d758-2e2c-42e9-a528-a8acdfe87237"; @@ -37,7 +37,7 @@ async function listPublishingCredentialsPolicies() { console.log(resArray); } -async function main() { +async function main(): Promise { listPublishingCredentialsPolicies(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBasicPublishingCredentialsPoliciesSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBasicPublishingCredentialsPoliciesSlotSample.ts index cf42a9dfb91c..99dd266c56b8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBasicPublishingCredentialsPoliciesSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListBasicPublishingCredentialsPoliciesSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListPublishingCredentialsPoliciesSlot.json */ -async function listPublishingCredentialsPolicies() { +async function listPublishingCredentialsPolicies(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "3fb8d758-2e2c-42e9-a528-a8acdfe87237"; @@ -39,7 +39,7 @@ async function listPublishingCredentialsPolicies() { console.log(resArray); } -async function main() { +async function main(): Promise { listPublishingCredentialsPolicies(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListByResourceGroupSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListByResourceGroupSample.ts index 64399db7f30d..e49e2887ff31 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListByResourceGroupSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListByResourceGroupSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets all web, mobile, and API apps in the specified resource group. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWebAppsByResourceGroup.json */ -async function listWebAppsByResourceGroup() { +async function listWebAppsByResourceGroup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -35,7 +35,7 @@ async function listWebAppsByResourceGroup() { console.log(resArray); } -async function main() { +async function main(): Promise { listWebAppsByResourceGroup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListConfigurationsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListConfigurationsSample.ts index 0358ddb602a7..5859f49a4952 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListConfigurationsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListConfigurationsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for List the configurations of an app * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWebAppConfigurations.json */ -async function listWebAppConfigurations() { +async function listWebAppConfigurations(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function listWebAppConfigurations() { console.log(resArray); } -async function main() { +async function main(): Promise { listWebAppConfigurations(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListInstanceWorkflowsSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListInstanceWorkflowsSlotSample.ts index 74fdd6a10888..a707538b973f 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListInstanceWorkflowsSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListInstanceWorkflowsSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary List the workflows for a web site, or a deployment slot. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWorkflows.json */ -async function listTheWorkflowsSlot() { +async function listTheWorkflowsSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function listTheWorkflowsSlot() { console.log(resArray); } -async function main() { +async function main(): Promise { listTheWorkflowsSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListProductionSiteDeploymentStatusesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListProductionSiteDeploymentStatusesSample.ts index ea9a1cc2fbac..af1bb97e9a15 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListProductionSiteDeploymentStatusesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListProductionSiteDeploymentStatusesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary List deployment statuses for an app (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListSiteDeploymentStatus.json */ -async function listDeploymentStatus() { +async function listDeploymentStatus(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function listDeploymentStatus() { console.log(resArray); } -async function main() { +async function main(): Promise { listDeploymentStatus(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSample.ts index 61596bfa7b62..ed9ca835c647 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Get all apps for a subscription. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWebApps.json */ -async function listWebAppsForSubscription() { +async function listWebAppsForSubscription(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function listWebAppsForSubscription() { console.log(resArray); } -async function main() { +async function main(): Promise { listWebAppsForSubscription(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSiteBackupsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSiteBackupsSample.ts index 1dbe729f205a..ad0572875ff3 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSiteBackupsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSiteBackupsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets existing backups of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListSlotBackups.json */ -async function listBackups() { +async function listBackups(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function listBackups() { console.log(resArray); } -async function main() { +async function main(): Promise { listBackups(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSiteBackupsSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSiteBackupsSlotSample.ts index dfa33407e397..0771be8da85e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSiteBackupsSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSiteBackupsSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets existing backups of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListSlotBackups.json */ -async function listBackups() { +async function listBackups(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function listBackups() { console.log(resArray); } -async function main() { +async function main(): Promise { listBackups(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSlotSiteDeploymentStatusesSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSlotSiteDeploymentStatusesSlotSample.ts index 7e14f84ffd82..ac2f66d0232a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSlotSiteDeploymentStatusesSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSlotSiteDeploymentStatusesSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary List deployment statuses for an app (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListSiteDeploymentStatusSlot.json */ -async function listDeploymentStatusSlot() { +async function listDeploymentStatusSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function listDeploymentStatusSlot() { console.log(resArray); } -async function main() { +async function main(): Promise { listDeploymentStatusSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSlotsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSlotsSample.ts index ff1f0a77b43c..024342f115b0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSlotsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListSlotsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Gets an app's deployment slots. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWebAppSlots.json */ -async function listWebAppSlots() { +async function listWebAppSlots(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function listWebAppSlots() { console.log(resArray); } -async function main() { +async function main(): Promise { listWebAppSlots(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsConnectionsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsConnectionsSample.ts index 8d26874eda7c..d7b447eb36a0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsConnectionsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsConnectionsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Lists logic app's connections for web site, or a deployment slot. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWorkflowsConfigurationConnections.json */ -async function listTheInstanceWorkflowsConfigurationConnections() { +async function listTheInstanceWorkflowsConfigurationConnections(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function listTheInstanceWorkflowsConfigurationConnections() { console.log(result); } -async function main() { +async function main(): Promise { listTheInstanceWorkflowsConfigurationConnections(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsConnectionsSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsConnectionsSlotSample.ts index 165f3da00025..9458e5624a04 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsConnectionsSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsConnectionsSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Lists logic app's connections for web site, or a deployment slot. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWorkflowsConfigurationConnections.json */ -async function listTheInstanceWorkflowsConfigurationConnectionsSlot() { +async function listTheInstanceWorkflowsConfigurationConnectionsSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function listTheInstanceWorkflowsConfigurationConnectionsSlot() { console.log(result); } -async function main() { +async function main(): Promise { listTheInstanceWorkflowsConfigurationConnectionsSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsSample.ts index 2b3a070926cb..0ea05f227490 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsListWorkflowsSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary List the workflows for a web site, or a deployment slot. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWorkflows.json */ -async function listTheWorkflows() { +async function listTheWorkflows(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -37,7 +37,7 @@ async function listTheWorkflows() { console.log(resArray); } -async function main() { +async function main(): Promise { listTheWorkflows(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsRestoreSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsRestoreSample.ts index 4781a8eaed20..f7c777dc3d90 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsRestoreSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsRestoreSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Restores a specific backup to another app (or deployment slot, if specified). * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/RestoreWebAppBackup.json */ -async function restoreWebAppFromBackup() { +async function restoreWebAppFromBackup(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -59,7 +59,7 @@ async function restoreWebAppFromBackup() { console.log(result); } -async function main() { +async function main(): Promise { restoreWebAppFromBackup(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartNetworkTraceSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartNetworkTraceSample.ts index c1ad6f61fcd6..f63534e43bbe 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartNetworkTraceSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartNetworkTraceSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Start capturing network packets for the site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StartWebSiteNetworkTraceOperation.json */ -async function startANewNetworkTraceOperationForASite() { +async function startANewNetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -40,7 +40,7 @@ async function startANewNetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { startANewNetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartNetworkTraceSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartNetworkTraceSlotSample.ts index bab01de55faa..a81b0dfaab71 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartNetworkTraceSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartNetworkTraceSlotSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Start capturing network packets for the site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StartWebSiteNetworkTraceOperation.json */ -async function startANewNetworkTraceOperationForASite() { +async function startANewNetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function startANewNetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { startANewNetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartWebSiteNetworkTraceOperationSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartWebSiteNetworkTraceOperationSample.ts index 02874e640a60..e9fe6c52e470 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartWebSiteNetworkTraceOperationSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartWebSiteNetworkTraceOperationSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Start capturing network packets for the site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StartWebSiteNetworkTraceOperation.json */ -async function startANewNetworkTraceOperationForASite() { +async function startANewNetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function startANewNetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { startANewNetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartWebSiteNetworkTraceOperationSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartWebSiteNetworkTraceOperationSlotSample.ts index 0699c4dc9ead..d88eb39d5069 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartWebSiteNetworkTraceOperationSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStartWebSiteNetworkTraceOperationSlotSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Start capturing network packets for the site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StartWebSiteNetworkTraceOperation.json */ -async function startANewNetworkTraceOperationForASite() { +async function startANewNetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function startANewNetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { startANewNetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopNetworkTraceSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopNetworkTraceSample.ts index 9bc8bacca419..e03a886ae95a 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopNetworkTraceSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopNetworkTraceSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Stop ongoing capturing network packets for the site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StopWebSiteNetworkTrace.json */ -async function stopACurrentlyRunningNetworkTraceOperationForASite() { +async function stopACurrentlyRunningNetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -31,7 +31,7 @@ async function stopACurrentlyRunningNetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { stopACurrentlyRunningNetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopNetworkTraceSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopNetworkTraceSlotSample.ts index 9a24c9571ac6..94a93cda62d8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopNetworkTraceSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopNetworkTraceSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Stop ongoing capturing network packets for the site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StopWebSiteNetworkTrace.json */ -async function stopACurrentlyRunningNetworkTraceOperationForASite() { +async function stopACurrentlyRunningNetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function stopACurrentlyRunningNetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { stopACurrentlyRunningNetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopWebSiteNetworkTraceSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopWebSiteNetworkTraceSample.ts index 66b697ce8f18..15f14cd45bd0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopWebSiteNetworkTraceSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopWebSiteNetworkTraceSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Stop ongoing capturing network packets for the site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StopWebSiteNetworkTrace.json */ -async function stopACurrentlyRunningNetworkTraceOperationForASite() { +async function stopACurrentlyRunningNetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -34,7 +34,7 @@ async function stopACurrentlyRunningNetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { stopACurrentlyRunningNetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopWebSiteNetworkTraceSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopWebSiteNetworkTraceSlotSample.ts index fcf101c15054..d9d1a0e299a2 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopWebSiteNetworkTraceSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsStopWebSiteNetworkTraceSlotSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Description for Stop ongoing capturing network packets for the site. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StopWebSiteNetworkTrace.json */ -async function stopACurrentlyRunningNetworkTraceOperationForASite() { +async function stopACurrentlyRunningNetworkTraceOperationForASite(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -36,7 +36,7 @@ async function stopACurrentlyRunningNetworkTraceOperationForASite() { console.log(result); } -async function main() { +async function main(): Promise { stopACurrentlyRunningNetworkTraceOperationForASite(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateApplicationSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateApplicationSettingsSample.ts index aec3e2d6d0bc..93060b28d1b6 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateApplicationSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateApplicationSettingsSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Replaces the application settings of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateAppSettings.json */ -async function updateAppSettings() { +async function updateAppSettings(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function updateAppSettings() { console.log(result); } -async function main() { +async function main(): Promise { updateAppSettings(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAuthSettingsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAuthSettingsSample.ts index 716d74567d6a..c1793da859de 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAuthSettingsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAuthSettingsSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Updates the Authentication / Authorization settings associated with web app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateAuthSettings.json */ -async function updateAuthSettings() { +async function updateAuthSettings(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -51,7 +51,7 @@ async function updateAuthSettings() { console.log(result); } -async function main() { +async function main(): Promise { updateAuthSettings(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAuthSettingsV2Sample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAuthSettingsV2Sample.ts index 64ff7838318d..eb3b24715711 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAuthSettingsV2Sample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAuthSettingsV2Sample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Updates site's Authentication / Authorization settings for apps via the V2 format * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateAuthSettingsV2.json */ -async function updateAuthSettingsV2() { +async function updateAuthSettingsV2(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -86,7 +86,7 @@ async function updateAuthSettingsV2() { console.log(result); } -async function main() { +async function main(): Promise { updateAuthSettingsV2(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAzureStorageAccountsSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAzureStorageAccountsSample.ts index 61017d2495a9..8125aa9c1d19 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAzureStorageAccountsSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateAzureStorageAccountsSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Updates the Azure storage account configurations of an app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateAzureStorageAccounts.json */ -async function updateAzureStorageAccounts() { +async function updateAzureStorageAccounts(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -49,7 +49,7 @@ async function updateAzureStorageAccounts() { console.log(result); } -async function main() { +async function main(): Promise { updateAzureStorageAccounts(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateFtpAllowedSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateFtpAllowedSample.ts index d04703ca332e..1cc6fb29e01f 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateFtpAllowedSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateFtpAllowedSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Updates whether FTP is allowed on the site or not. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdatePublishingCredentialsPolicy.json */ -async function updateFtpAllowed() { +async function updateFtpAllowed(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function updateFtpAllowed() { console.log(result); } -async function main() { +async function main(): Promise { updateFtpAllowed(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateFtpAllowedSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateFtpAllowedSlotSample.ts index a1af483256bc..efca04b4e367 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateFtpAllowedSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateFtpAllowedSlotSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Updates whether FTP is allowed on the site or not. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdatePublishingCredentialsPolicySlot.json */ -async function updateFtpAllowed() { +async function updateFtpAllowed(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function updateFtpAllowed() { console.log(result); } -async function main() { +async function main(): Promise { updateFtpAllowed(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateSample.ts index 257cd52b9ed9..061e9b2273ad 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateWebApp.json */ -async function updateWebApp() { +async function updateWebApp(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function updateWebApp() { console.log(result); } -async function main() { +async function main(): Promise { updateWebApp(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateScmAllowedSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateScmAllowedSample.ts index 1bbf2402c314..b25308e6a345 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateScmAllowedSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateScmAllowedSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Updates whether user publishing credentials are allowed on the site or not. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdatePublishingCredentialsPolicy.json */ -async function updateScmAllowed() { +async function updateScmAllowed(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function updateScmAllowed() { console.log(result); } -async function main() { +async function main(): Promise { updateScmAllowed(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateScmAllowedSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateScmAllowedSlotSample.ts index 66ae5d4707bb..e3c02e494b9e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateScmAllowedSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateScmAllowedSlotSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Updates whether user publishing credentials are allowed on the site or not. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdatePublishingCredentialsPolicySlot.json */ -async function updateScmAllowed() { +async function updateScmAllowed(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function updateScmAllowed() { console.log(result); } -async function main() { +async function main(): Promise { updateScmAllowed(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateSlotSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateSlotSample.ts index c2f7a73d799a..7b19ef49e263 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateSlotSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/webAppsUpdateSlotSample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateWebAppSlot.json */ -async function updateWebAppSlot() { +async function updateWebAppSlot(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function updateWebAppSlot() { console.log(result); } -async function main() { +async function main(): Promise { updateWebAppSlot(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsGetSample.ts index 7691f551c47b..f48e0a097406 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get a workflow run action repetition. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitions_Get.json */ -async function getARepetition() { +async function getARepetition(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function getARepetition() { console.log(result); } -async function main() { +async function main(): Promise { getARepetition(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsListExpressionTracesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsListExpressionTracesSample.ts index eff5ba80dfc7..7a35cd8e8356 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsListExpressionTracesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsListExpressionTracesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Lists a workflow run expression trace. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json */ -async function listExpressionTracesForARepetition() { +async function listExpressionTracesForARepetition(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function listExpressionTracesForARepetition() { console.log(resArray); } -async function main() { +async function main(): Promise { listExpressionTracesForARepetition(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsListSample.ts index e9851276f460..a8b5625b1490 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get all of a workflow run action repetitions. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitions_List.json */ -async function listRepetitions() { +async function listRepetitions(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function listRepetitions() { console.log(resArray); } -async function main() { +async function main(): Promise { listRepetitions(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsRequestHistoriesGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsRequestHistoriesGetSample.ts index 5e85cf002b72..fcbee21ebd0d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsRequestHistoriesGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsRequestHistoriesGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a workflow run repetition request history. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json */ -async function getARepetitionRequestHistory() { +async function getARepetitionRequestHistory(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -44,7 +44,7 @@ async function getARepetitionRequestHistory() { console.log(result); } -async function main() { +async function main(): Promise { getARepetitionRequestHistory(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsRequestHistoriesListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsRequestHistoriesListSample.ts index 7422e188174e..5554395ffb14 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsRequestHistoriesListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionRepetitionsRequestHistoriesListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary List a workflow run repetition request history. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json */ -async function listRepetitionRequestHistory() { +async function listRepetitionRequestHistory(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -45,7 +45,7 @@ async function listRepetitionRequestHistory() { console.log(resArray); } -async function main() { +async function main(): Promise { listRepetitionRequestHistory(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionScopeRepetitionsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionScopeRepetitionsGetSample.ts index fa70997641ba..7d43abc1afdc 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionScopeRepetitionsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionScopeRepetitionsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get a workflow run action scoped repetition. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionScopeRepetitions_Get.json */ -async function getAScopedRepetition() { +async function getAScopedRepetition(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -42,7 +42,7 @@ async function getAScopedRepetition() { console.log(result); } -async function main() { +async function main(): Promise { getAScopedRepetition(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionScopeRepetitionsListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionScopeRepetitionsListSample.ts index b9076f2fd6c8..6ea61dc70dd0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionScopeRepetitionsListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionScopeRepetitionsListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary List the workflow run action scoped repetitions. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionScopeRepetitions_List.json */ -async function listTheScopedRepetitions() { +async function listTheScopedRepetitions(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function listTheScopedRepetitions() { console.log(resArray); } -async function main() { +async function main(): Promise { listTheScopedRepetitions(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsGetSample.ts index 85a8b8ba9c01..cfd70f9530e0 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a workflow run action. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActions_Get.json */ -async function getAWorkflowRunAction() { +async function getAWorkflowRunAction(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -40,7 +40,7 @@ async function getAWorkflowRunAction() { console.log(result); } -async function main() { +async function main(): Promise { getAWorkflowRunAction(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsListExpressionTracesSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsListExpressionTracesSample.ts index f994ba25a1b3..b1e018dbc1d7 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsListExpressionTracesSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsListExpressionTracesSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Lists a workflow run expression trace. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActions_ListExpressionTraces.json */ -async function listExpressionTraces() { +async function listExpressionTraces(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -43,7 +43,7 @@ async function listExpressionTraces() { console.log(resArray); } -async function main() { +async function main(): Promise { listExpressionTraces(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsListSample.ts index 9b31cc3f7f9f..7f9174f39833 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunActionsListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a list of workflow run actions. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActions_List.json */ -async function listAWorkflowRunActions() { +async function listAWorkflowRunActions(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function listAWorkflowRunActions() { console.log(resArray); } -async function main() { +async function main(): Promise { listAWorkflowRunActions(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsCancelSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsCancelSample.ts index 52288ce8027e..ea28abe21019 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsCancelSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsCancelSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Cancels a workflow run. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRuns_Cancel.json */ -async function cancelAWorkflowRun() { +async function cancelAWorkflowRun(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function cancelAWorkflowRun() { console.log(result); } -async function main() { +async function main(): Promise { cancelAWorkflowRun(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsGetSample.ts index 380f2178cfb5..b944bd70f50d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a workflow run. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRuns_Get.json */ -async function getARunForAWorkflow() { +async function getARunForAWorkflow(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getARunForAWorkflow() { console.log(result); } -async function main() { +async function main(): Promise { getARunForAWorkflow(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsListSample.ts index 9e09e0c812b1..e98b84c90eaa 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowRunsListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a list of workflow runs. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRuns_List.json */ -async function listWorkflowRuns() { +async function listWorkflowRuns(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function listWorkflowRuns() { console.log(resArray); } -async function main() { +async function main(): Promise { listWorkflowRuns(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesGetSample.ts index 8d955b655e59..0d794e741a6e 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a workflow trigger history. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggerHistories_Get.json */ -async function getAWorkflowTriggerHistory() { +async function getAWorkflowTriggerHistory(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -40,7 +40,7 @@ async function getAWorkflowTriggerHistory() { console.log(result); } -async function main() { +async function main(): Promise { getAWorkflowTriggerHistory(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesListSample.ts index a534e0c751d8..14f79d62bc6d 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a list of workflow trigger histories. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggerHistories_List.json */ -async function listAWorkflowTriggerHistory() { +async function listAWorkflowTriggerHistory(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function listAWorkflowTriggerHistory() { console.log(resArray); } -async function main() { +async function main(): Promise { listAWorkflowTriggerHistory(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesResubmitSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesResubmitSample.ts index 0c5d688f7bb2..b564fef18687 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesResubmitSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggerHistoriesResubmitSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Resubmits a workflow run based on the trigger history. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggerHistories_Resubmit.json */ -async function resubmitAWorkflowRunBasedOnTheTriggerHistory() { +async function resubmitAWorkflowRunBasedOnTheTriggerHistory(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -40,7 +40,7 @@ async function resubmitAWorkflowRunBasedOnTheTriggerHistory() { console.log(result); } -async function main() { +async function main(): Promise { resubmitAWorkflowRunBasedOnTheTriggerHistory(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersGetSample.ts index 91323f3c9e04..739648c961f6 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a workflow trigger. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_Get.json */ -async function getAWorkflowTrigger() { +async function getAWorkflowTrigger(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getAWorkflowTrigger() { console.log(result); } -async function main() { +async function main(): Promise { getAWorkflowTrigger(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersGetSchemaJsonSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersGetSchemaJsonSample.ts index 6caf6f1550d3..468b7daf1272 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersGetSchemaJsonSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersGetSchemaJsonSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get the trigger schema as JSON. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_GetSchemaJson.json */ -async function getTriggerSchema() { +async function getTriggerSchema(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getTriggerSchema() { console.log(result); } -async function main() { +async function main(): Promise { getTriggerSchema(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersListCallbackUrlSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersListCallbackUrlSample.ts index ef45348abf54..28d7888688c1 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersListCallbackUrlSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersListCallbackUrlSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Get the callback URL for a workflow trigger. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_ListCallbackUrl.json */ -async function getTheCallbackUrlForATrigger() { +async function getTheCallbackUrlForATrigger(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getTheCallbackUrlForATrigger() { console.log(result); } -async function main() { +async function main(): Promise { getTheCallbackUrlForATrigger(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersListSample.ts index b2cedc772dc2..51f6e9c37b31 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a list of workflow triggers. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_List.json */ -async function listWorkflowTriggers() { +async function listWorkflowTriggers(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function listWorkflowTriggers() { console.log(resArray); } -async function main() { +async function main(): Promise { listWorkflowTriggers(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersRunSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersRunSample.ts index 4e296da16a89..fdd51a1c94b8 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersRunSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowTriggersRunSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Runs a workflow trigger. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_Run.json */ -async function runAWorkflowTrigger() { +async function runAWorkflowTrigger(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function runAWorkflowTrigger() { console.log(result); } -async function main() { +async function main(): Promise { runAWorkflowTrigger(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowVersionsGetSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowVersionsGetSample.ts index 44c519a897bb..e5b77df28a04 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowVersionsGetSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowVersionsGetSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a workflow version. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowVersions_Get.json */ -async function getAWorkflowVersion() { +async function getAWorkflowVersion(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -38,7 +38,7 @@ async function getAWorkflowVersion() { console.log(result); } -async function main() { +async function main(): Promise { getAWorkflowVersion(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowVersionsListSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowVersionsListSample.ts index b370cb1f9f67..d23152cec8af 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowVersionsListSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowVersionsListSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Gets a list of workflow versions. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowVersions_List.json */ -async function listAWorkflowsVersions() { +async function listAWorkflowsVersions(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -39,7 +39,7 @@ async function listAWorkflowsVersions() { console.log(resArray); } -async function main() { +async function main(): Promise { listAWorkflowsVersions(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowsRegenerateAccessKeySample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowsRegenerateAccessKeySample.ts index aba5d37af0eb..ad7ad8b4ee11 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowsRegenerateAccessKeySample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowsRegenerateAccessKeySample.ts @@ -21,7 +21,7 @@ import "dotenv/config"; * @summary Regenerates the callback URL access key for request triggers. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Workflows_RegenerateAccessKey.json */ -async function regenerateTheCallbackUrlAccessKeyForRequestTriggers() { +async function regenerateTheCallbackUrlAccessKeyForRequestTriggers(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -41,7 +41,7 @@ async function regenerateTheCallbackUrlAccessKeyForRequestTriggers() { console.log(result); } -async function main() { +async function main(): Promise { regenerateTheCallbackUrlAccessKeyForRequestTriggers(); } diff --git a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowsValidateSample.ts b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowsValidateSample.ts index 4f646acaa180..b1c60fb6cef7 100644 --- a/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowsValidateSample.ts +++ b/sdk/appservice/arm-appservice/samples/v15/typescript/src/workflowsValidateSample.ts @@ -18,7 +18,7 @@ import "dotenv/config"; * @summary Validates the workflow definition. * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Workflows_Validate.json */ -async function validateAWorkflow() { +async function validateAWorkflow(): Promise { const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] || "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; @@ -49,7 +49,7 @@ async function validateAWorkflow() { console.log(result); } -async function main() { +async function main(): Promise { validateAWorkflow(); } diff --git a/sdk/appservice/arm-appservice/src/models/index.ts b/sdk/appservice/arm-appservice/src/models/index.ts index ed3c7fb3e8dd..8dbc2e69d7d4 100644 --- a/sdk/appservice/arm-appservice/src/models/index.ts +++ b/sdk/appservice/arm-appservice/src/models/index.ts @@ -100,7 +100,7 @@ export interface Resource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; - /** Kind of resource. */ + /** Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */ kind?: string; /** Resource Location. */ location: string; @@ -1958,254 +1958,6 @@ export interface CertificateCollection { readonly nextLink?: string; } -/** Container App collection ARM resource. */ -export interface ContainerAppCollection { - /** Collection of resources. */ - value: ContainerApp[]; - /** - * Link to next page of resources. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** Non versioned Container App configuration properties that define the mutable settings of a Container app */ -export interface Configuration { - /** Collection of secrets used by a Container app */ - secrets?: Secret[]; - /** - * ActiveRevisionsMode controls how active revisions are handled for the Container app: - * Multiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode - */ - activeRevisionsMode?: ActiveRevisionsMode; - /** Ingress configurations. */ - ingress?: Ingress; - /** Collection of private container registry credentials for containers used by the Container app */ - registries?: RegistryCredentials[]; -} - -/** Container App Secret. */ -export interface Secret { - /** Secret Name. */ - name?: string; - /** Secret Value. */ - value?: string; -} - -/** Container App Ingress configuration. */ -export interface Ingress { - /** - * Hostname. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly fqdn?: string; - /** Bool indicating if app exposes an external http endpoint */ - external?: boolean; - /** Target Port in containers for traffic from ingress */ - targetPort?: number; - /** Ingress transport protocol */ - transport?: IngressTransportMethod; - traffic?: TrafficWeight[]; - /** Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections */ - allowInsecure?: boolean; -} - -/** Traffic weight assigned to a revision */ -export interface TrafficWeight { - /** Name of a revision */ - revisionName?: string; - /** Traffic weight assigned to a revision */ - weight?: number; - /** Indicates that the traffic weight belongs to a latest stable revision */ - latestRevision?: boolean; -} - -/** Container App Private Registry */ -export interface RegistryCredentials { - /** Container Registry Server */ - server?: string; - /** Container Registry Username */ - username?: string; - /** The name of the Secret that contains the registry login password */ - passwordSecretRef?: string; -} - -/** - * Container App versioned application definition. - * Defines the desired state of an immutable revision. - * Any changes to this section Will result in a new revision being created - */ -export interface Template { - /** User friendly suffix that is appended to the revision name */ - revisionSuffix?: string; - /** List of container definitions for the Container App. */ - containers?: Container[]; - /** Scaling properties for the Container App. */ - scale?: Scale; - /** Dapr configuration for the Container App. */ - dapr?: Dapr; -} - -/** Container App container definition. */ -export interface Container { - /** Container image tag. */ - image?: string; - /** Custom container name. */ - name?: string; - /** Container start command. */ - command?: string[]; - /** Container start command arguments. */ - args?: string[]; - /** Container environment variables. */ - env?: EnvironmentVar[]; - /** Container resource requirements. */ - resources?: ContainerResources; -} - -/** Container App container environment variable. */ -export interface EnvironmentVar { - /** Environment variable name. */ - name?: string; - /** Non-secret environment variable value. */ - value?: string; - /** Name of the Container App secret from which to pull the environment variable value. */ - secretRef?: string; -} - -/** Container App container resource requirements. */ -export interface ContainerResources { - /** Required CPU in cores, e.g. 0.5 */ - cpu?: number; - /** Required memory, e.g. "250Mb" */ - memory?: string; -} - -/** Container App scaling configurations. */ -export interface Scale { - /** Optional. Minimum number of container replicas. */ - minReplicas?: number; - /** Optional. Maximum number of container replicas. Defaults to 10 if not set. */ - maxReplicas?: number; - /** Scaling rules. */ - rules?: ScaleRule[]; -} - -/** Container App container scaling rule. */ -export interface ScaleRule { - /** Scale Rule Name */ - name?: string; - /** Azure Queue based scaling. */ - azureQueue?: QueueScaleRule; - /** Custom scale rule. */ - custom?: CustomScaleRule; - /** HTTP requests based scaling. */ - http?: HttpScaleRule; -} - -/** Container App container Azure Queue based scaling rule. */ -export interface QueueScaleRule { - /** Queue name. */ - queueName?: string; - /** Queue length. */ - queueLength?: number; - /** Authentication secrets for the queue scale rule. */ - auth?: ScaleRuleAuth[]; -} - -/** Auth Secrets for Container App Scale Rule */ -export interface ScaleRuleAuth { - /** Name of the Container App secret from which to pull the auth params. */ - secretRef?: string; - /** Trigger Parameter that uses the secret */ - triggerParameter?: string; -} - -/** Container App container Custom scaling rule. */ -export interface CustomScaleRule { - /** - * Type of the custom scale rule - * eg: azure-servicebus, redis etc. - */ - type?: string; - /** Metadata properties to describe custom scale rule. */ - metadata?: { [propertyName: string]: string }; - /** Authentication secrets for the custom scale rule. */ - auth?: ScaleRuleAuth[]; -} - -/** Container App container Custom scaling rule. */ -export interface HttpScaleRule { - /** Metadata properties to describe http scale rule. */ - metadata?: { [propertyName: string]: string }; - /** Authentication secrets for the custom scale rule. */ - auth?: ScaleRuleAuth[]; -} - -/** Container App Dapr configuration. */ -export interface Dapr { - /** Boolean indicating if the Dapr side car is enabled */ - enabled?: boolean; - /** Dapr application identifier */ - appId?: string; - /** Port on which the Dapr side car */ - appPort?: number; - /** Collection of Dapr components */ - components?: DaprComponent[]; -} - -/** Dapr component configuration */ -export interface DaprComponent { - /** Component name */ - name?: string; - /** Component type */ - type?: string; - /** Component version */ - version?: string; - /** Component metadata */ - metadata?: DaprMetadata[]; -} - -/** Container App Dapr component metadata. */ -export interface DaprMetadata { - /** Metadata property name. */ - name?: string; - /** Metadata property value. */ - value?: string; - /** Name of the Container App secret from which to pull the metadata property value. */ - secretRef?: string; -} - -/** Container App Secrets Collection ARM resource. */ -export interface SecretsCollection { - /** Collection of resources. */ - value: ContainerAppSecret[]; -} - -/** Container App Secret. */ -export interface ContainerAppSecret { - /** - * Secret Name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * Secret Value. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: string; -} - -/** Container App Revisions collection ARM resource. */ -export interface RevisionCollection { - /** Collection of resources. */ - value: Revision[]; - /** - * Link to next page of resources. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - /** Collection of deleted apps. */ export interface DeletedWebAppCollection { /** Collection of resources. */ @@ -5085,13 +4837,267 @@ export interface WorkflowVersionListResult { nextLink?: string; } -/** Github access token for Appservice CLI github integration. */ -export interface AppserviceGithubToken { - /** Github access token for Appservice CLI github integration */ - accessToken?: string; - /** Scope of the github access token */ - scope?: string; - /** token type */ +/** Describes valid TLS cipher suites. */ +export interface CipherSuites { + /** List of TLS Cipher Suites that are supported by App Service. */ + suites?: string[]; +} + +/** Container App container definition. */ +export interface Container { + /** Container image tag. */ + image?: string; + /** Custom container name. */ + name?: string; + /** Container start command. */ + command?: string[]; + /** Container start command arguments. */ + args?: string[]; + /** Container environment variables. */ + env?: EnvironmentVar[]; + /** Container resource requirements. */ + resources?: ContainerResources; +} + +/** Container App container environment variable. */ +export interface EnvironmentVar { + /** Environment variable name. */ + name?: string; + /** Non-secret environment variable value. */ + value?: string; + /** Name of the Container App secret from which to pull the environment variable value. */ + secretRef?: string; +} + +/** Container App container resource requirements. */ +export interface ContainerResources { + /** Required CPU in cores, e.g. 0.5 */ + cpu?: number; + /** Required memory, e.g. "250Mb" */ + memory?: string; +} + +/** Container App container Custom scaling rule. */ +export interface CustomScaleRule { + /** + * Type of the custom scale rule + * eg: azure-servicebus, redis etc. + */ + type?: string; + /** Metadata properties to describe custom scale rule. */ + metadata?: { [propertyName: string]: string }; + /** Authentication secrets for the custom scale rule. */ + auth?: ScaleRuleAuth[]; +} + +/** Auth Secrets for Container App Scale Rule */ +export interface ScaleRuleAuth { + /** Name of the Container App secret from which to pull the auth params. */ + secretRef?: string; + /** Trigger Parameter that uses the secret */ + triggerParameter?: string; +} + +/** Container App Dapr configuration. */ +export interface Dapr { + /** Boolean indicating if the Dapr side car is enabled */ + enabled?: boolean; + /** Dapr application identifier */ + appId?: string; + /** Port on which the Dapr side car */ + appPort?: number; + /** Collection of Dapr components */ + components?: DaprComponent[]; +} + +/** Dapr component configuration */ +export interface DaprComponent { + /** Component name */ + name?: string; + /** Component type */ + type?: string; + /** Component version */ + version?: string; + /** Component metadata */ + metadata?: DaprMetadata[]; +} + +/** Container App Dapr component metadata. */ +export interface DaprMetadata { + /** Metadata property name. */ + name?: string; + /** Metadata property value. */ + value?: string; + /** Name of the Container App secret from which to pull the metadata property value. */ + secretRef?: string; +} + +/** Container App container Custom scaling rule. */ +export interface HttpScaleRule { + /** Metadata properties to describe http scale rule. */ + metadata?: { [propertyName: string]: string }; + /** Authentication secrets for the custom scale rule. */ + auth?: ScaleRuleAuth[]; +} + +/** Container App container Azure Queue based scaling rule. */ +export interface QueueScaleRule { + /** Queue name. */ + queueName?: string; + /** Queue length. */ + queueLength?: number; + /** Authentication secrets for the queue scale rule. */ + auth?: ScaleRuleAuth[]; +} + +/** Container App scaling configurations. */ +export interface Scale { + /** Optional. Minimum number of container replicas. */ + minReplicas?: number; + /** Optional. Maximum number of container replicas. Defaults to 10 if not set. */ + maxReplicas?: number; + /** Scaling rules. */ + rules?: ScaleRule[]; +} + +/** Container App container scaling rule. */ +export interface ScaleRule { + /** Scale Rule Name */ + name?: string; + /** Azure Queue based scaling. */ + azureQueue?: QueueScaleRule; + /** Custom scale rule. */ + custom?: CustomScaleRule; + /** HTTP requests based scaling. */ + http?: HttpScaleRule; +} + +/** + * Container App versioned application definition. + * Defines the desired state of an immutable revision. + * Any changes to this section Will result in a new revision being created + */ +export interface Template { + /** User friendly suffix that is appended to the revision name */ + revisionSuffix?: string; + /** List of container definitions for the Container App. */ + containers?: Container[]; + /** Scaling properties for the Container App. */ + scale?: Scale; + /** Dapr configuration for the Container App. */ + dapr?: Dapr; +} + +/** Non versioned Container App configuration properties that define the mutable settings of a Container app */ +export interface Configuration { + /** Collection of secrets used by a Container app */ + secrets?: Secret[]; + /** + * ActiveRevisionsMode controls how active revisions are handled for the Container app: + * Multiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode + */ + activeRevisionsMode?: ActiveRevisionsMode; + /** Ingress configurations. */ + ingress?: Ingress; + /** Collection of private container registry credentials for containers used by the Container app */ + registries?: RegistryCredentials[]; +} + +/** Container App Secret. */ +export interface Secret { + /** Secret Name. */ + name?: string; + /** Secret Value. */ + value?: string; +} + +/** Container App Ingress configuration. */ +export interface Ingress { + /** + * Hostname. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly fqdn?: string; + /** Bool indicating if app exposes an external http endpoint */ + external?: boolean; + /** Target Port in containers for traffic from ingress */ + targetPort?: number; + /** Ingress transport protocol */ + transport?: IngressTransportMethod; + traffic?: TrafficWeight[]; + /** Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections */ + allowInsecure?: boolean; +} + +/** Traffic weight assigned to a revision */ +export interface TrafficWeight { + /** Name of a revision */ + revisionName?: string; + /** Traffic weight assigned to a revision */ + weight?: number; + /** Indicates that the traffic weight belongs to a latest stable revision */ + latestRevision?: boolean; +} + +/** Container App Private Registry */ +export interface RegistryCredentials { + /** Container Registry Server */ + server?: string; + /** Container Registry Username */ + username?: string; + /** The name of the Secret that contains the registry login password */ + passwordSecretRef?: string; +} + +/** Container App collection ARM resource. */ +export interface ContainerAppCollection { + /** Collection of resources. */ + value: ContainerApp[]; + /** + * Link to next page of resources. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Container App Secrets Collection ARM resource. */ +export interface SecretsCollection { + /** Collection of resources. */ + value: ContainerAppSecret[]; +} + +/** Container App Secret. */ +export interface ContainerAppSecret { + /** + * Secret Name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Secret Value. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: string; +} + +/** Container App Revisions collection ARM resource. */ +export interface RevisionCollection { + /** Collection of resources. */ + value: Revision[]; + /** + * Link to next page of resources. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Github access token for Appservice CLI github integration. */ +export interface AppserviceGithubToken { + /** Github access token for Appservice CLI github integration */ + accessToken?: string; + /** Scope of the github access token */ + scope?: string; + /** token type */ tokenType?: string; /** True if valid github token received, False otherwise */ gotToken?: boolean; @@ -5479,6 +5485,10 @@ export interface Site extends Resource { clientCertMode?: ClientCertMode; /** client certificate authentication comma-separated exclusion paths */ clientCertExclusionPaths?: string; + /** Specifies the IP mode of the app. */ + ipMode?: IPMode; + /** Whether to use end to end encryption between the FrontEnd and the Worker */ + endToEndEncryptionEnabled?: boolean; /** * true to disable the public hostnames of the app; otherwise, false. * If true, the app is only accessible via API management process. @@ -5551,6 +5561,8 @@ export interface Site extends Resource { storageAccountRequired?: boolean; /** Identity to use for Key Vault Reference authentication. */ keyVaultReferenceIdentity?: string; + /** Specifies the scope of uniqueness for the default hostname during resource creation */ + autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; /** * Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. * This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName} @@ -5558,6 +5570,11 @@ export interface Site extends Resource { virtualNetworkSubnetId?: string; /** Azure Resource Manager ID of the customer's selected Managed Environment on which to host this app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName} */ managedEnvironmentId?: string; + /** + * Current SKU of application based on associated App Service Plan. Some valid SKU values are Free, Shared, Basic, Dynamic, FlexConsumption, Standard, Premium, PremiumV2, PremiumV3, Isolated, IsolatedV2 + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sku?: string; } /** App Service plan. */ @@ -5658,152 +5675,75 @@ export interface Certificate extends Resource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly subjectName?: string; - /** Host names the certificate applies to. */ - hostNames?: string[]; - /** Pfx blob. */ - pfxBlob?: Uint8Array; - /** - * App name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly siteName?: string; - /** - * Self link. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly selfLink?: string; - /** - * Certificate issuer. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly issuer?: string; - /** - * Certificate issue Date. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly issueDate?: Date; - /** - * Certificate expiration date. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly expirationDate?: Date; - /** - * Certificate thumbprint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly thumbprint?: string; - /** - * Is the certificate valid?. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly valid?: boolean; - /** - * Raw bytes of .cer file - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly cerBlob?: Uint8Array; - /** - * Public key hash. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly publicKeyHash?: string; - /** - * Specification for the App Service Environment to use for the certificate. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly hostingEnvironmentProfile?: HostingEnvironmentProfile; - /** Key Vault Csm resource Id. */ - keyVaultId?: string; - /** Key Vault secret name. */ - keyVaultSecretName?: string; - /** - * Status of the Key Vault secret. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly keyVaultSecretStatus?: KeyVaultSecretStatus; - /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ - serverFarmId?: string; - /** CNAME of the certificate to be issued via free certificate */ - canonicalName?: string; - /** Method of domain validation for free cert */ - domainValidationMethod?: string; -} - -/** Container App. */ -export interface ContainerApp extends Resource { - /** - * Provisioning state of the Container App. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ContainerAppProvisioningState; - /** Resource ID of the Container App's KubeEnvironment. */ - kubeEnvironmentId?: string; + /** Host names the certificate applies to. */ + hostNames?: string[]; + /** Pfx blob. */ + pfxBlob?: Uint8Array; /** - * Name of the latest revision of the Container App. + * App name. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly latestRevisionName?: string; + readonly siteName?: string; /** - * Fully Qualified Domain Name of the latest revision of the Container App. + * Self link. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly latestRevisionFqdn?: string; - /** Non versioned Container App configuration properties. */ - configuration?: Configuration; - /** Container App versioned application definition. */ - template?: Template; -} - -/** Container App Revision. */ -export interface Revision extends Resource { + readonly selfLink?: string; /** - * Timestamp describing when the revision was created - * by controller + * Certificate issuer. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly createdTime?: Date; + readonly issuer?: string; /** - * Fully qualified domain name of the revision + * Certificate issue Date. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly fqdn?: string; + readonly issueDate?: Date; /** - * Container App Revision Template with all possible settings and the - * defaults if user did not provide them. The defaults are populated - * as they were at the creation time + * Certificate expiration date. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly template?: Template; + readonly expirationDate?: Date; /** - * Boolean describing if the Revision is Active + * Certificate thumbprint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly active?: boolean; + readonly thumbprint?: string; /** - * Number of pods currently running for this revision + * Is the certificate valid?. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly replicas?: number; + readonly valid?: boolean; /** - * Traffic weight assigned to this revision + * Raw bytes of .cer file * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly trafficWeight?: number; + readonly cerBlob?: Uint8Array; /** - * Optional Field - Platform Error Message + * Public key hash. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningError?: string; + readonly publicKeyHash?: string; /** - * Current health State of the revision + * Specification for the App Service Environment to use for the certificate. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly healthState?: RevisionHealthState; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfile; + /** Key Vault Csm resource Id. */ + keyVaultId?: string; + /** Key Vault secret name. */ + keyVaultSecretName?: string; /** - * Current provisioning State of the revision + * Status of the Key Vault secret. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: RevisionProvisioningState; + readonly keyVaultSecretStatus?: KeyVaultSecretStatus; + /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ + serverFarmId?: string; + /** CNAME of the certificate to be issued via free certificate */ + canonicalName?: string; + /** Method of domain validation for free cert */ + domainValidationMethod?: string; } /** A Kubernetes cluster specialized for web workloads by Azure App Service */ @@ -5930,6 +5870,83 @@ export interface PremierAddOn extends Resource { marketplaceOffer?: string; } +/** Container App. */ +export interface ContainerApp extends Resource { + /** + * Provisioning state of the Container App. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ContainerAppProvisioningState; + /** Resource ID of the Container App's KubeEnvironment. */ + kubeEnvironmentId?: string; + /** + * Name of the latest revision of the Container App. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly latestRevisionName?: string; + /** + * Fully Qualified Domain Name of the latest revision of the Container App. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly latestRevisionFqdn?: string; + /** Non versioned Container App configuration properties. */ + configuration?: Configuration; + /** Container App versioned application definition. */ + template?: Template; +} + +/** Container App Revision. */ +export interface Revision extends Resource { + /** + * Timestamp describing when the revision was created + * by controller + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdTime?: Date; + /** + * Fully qualified domain name of the revision + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly fqdn?: string; + /** + * Container App Revision Template with all possible settings and the + * defaults if user did not provide them. The defaults are populated + * as they were at the creation time + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly template?: Template; + /** + * Boolean describing if the Revision is Active + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly active?: boolean; + /** + * Number of pods currently running for this revision + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly replicas?: number; + /** + * Traffic weight assigned to this revision + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly trafficWeight?: number; + /** + * Optional Field - Platform Error Message + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningError?: string; + /** + * Current health State of the revision + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly healthState?: RevisionHealthState; + /** + * Current provisioning State of the revision + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: RevisionProvisioningState; +} + /** ARM resource for a certificate order that is purchased through Azure. */ export interface AppServiceCertificateOrderPatchResource extends ProxyOnlyResource { @@ -8501,6 +8518,8 @@ export interface WebSiteInstanceStatus extends ProxyOnlyResource { healthCheckUrl?: string; /** Dictionary of */ containers?: { [propertyName: string]: ContainerInfo }; + /** The physical zone that the instance is in */ + physicalZone?: string; } /** Process Thread Information. */ @@ -9888,145 +9907,34 @@ export enum KnownDaprLogLevel { * Defines values for DaprLogLevel. \ * {@link KnownDaprLogLevel} can be used interchangeably with DaprLogLevel, * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **info** \ - * **debug** \ - * **warn** \ - * **error** - */ -export type DaprLogLevel = string; - -/** Known values of {@link RouteType} that the service accepts. */ -export enum KnownRouteType { - /** Default */ - Default = "DEFAULT", - /** Inherited */ - Inherited = "INHERITED", - /** Static */ - Static = "STATIC", -} - -/** - * Defines values for RouteType. \ - * {@link KnownRouteType} can be used interchangeably with RouteType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **DEFAULT** \ - * **INHERITED** \ - * **STATIC** - */ -export type RouteType = string; - -/** Known values of {@link ContainerAppProvisioningState} that the service accepts. */ -export enum KnownContainerAppProvisioningState { - /** InProgress */ - InProgress = "InProgress", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", -} - -/** - * Defines values for ContainerAppProvisioningState. \ - * {@link KnownContainerAppProvisioningState} can be used interchangeably with ContainerAppProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **InProgress** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** - */ -export type ContainerAppProvisioningState = string; - -/** Known values of {@link ActiveRevisionsMode} that the service accepts. */ -export enum KnownActiveRevisionsMode { - /** Multiple */ - Multiple = "multiple", - /** Single */ - Single = "single", -} - -/** - * Defines values for ActiveRevisionsMode. \ - * {@link KnownActiveRevisionsMode} can be used interchangeably with ActiveRevisionsMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **multiple** \ - * **single** - */ -export type ActiveRevisionsMode = string; - -/** Known values of {@link IngressTransportMethod} that the service accepts. */ -export enum KnownIngressTransportMethod { - /** Auto */ - Auto = "auto", - /** Http */ - Http = "http", - /** Http2 */ - Http2 = "http2", -} - -/** - * Defines values for IngressTransportMethod. \ - * {@link KnownIngressTransportMethod} can be used interchangeably with IngressTransportMethod, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **auto** \ - * **http** \ - * **http2** - */ -export type IngressTransportMethod = string; - -/** Known values of {@link RevisionHealthState} that the service accepts. */ -export enum KnownRevisionHealthState { - /** Healthy */ - Healthy = "Healthy", - /** Unhealthy */ - Unhealthy = "Unhealthy", - /** None */ - None = "None", -} - -/** - * Defines values for RevisionHealthState. \ - * {@link KnownRevisionHealthState} can be used interchangeably with RevisionHealthState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Healthy** \ - * **Unhealthy** \ - * **None** + * ### Known values supported by the service + * **info** \ + * **debug** \ + * **warn** \ + * **error** */ -export type RevisionHealthState = string; +export type DaprLogLevel = string; -/** Known values of {@link RevisionProvisioningState} that the service accepts. */ -export enum KnownRevisionProvisioningState { - /** Provisioning */ - Provisioning = "Provisioning", - /** Provisioned */ - Provisioned = "Provisioned", - /** Failed */ - Failed = "Failed", - /** Deprovisioning */ - Deprovisioning = "Deprovisioning", - /** Deprovisioned */ - Deprovisioned = "Deprovisioned", +/** Known values of {@link RouteType} that the service accepts. */ +export enum KnownRouteType { + /** Default */ + Default = "DEFAULT", + /** Inherited */ + Inherited = "INHERITED", + /** Static */ + Static = "STATIC", } /** - * Defines values for RevisionProvisioningState. \ - * {@link KnownRevisionProvisioningState} can be used interchangeably with RevisionProvisioningState, + * Defines values for RouteType. \ + * {@link KnownRouteType} can be used interchangeably with RouteType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Provisioning** \ - * **Provisioned** \ - * **Failed** \ - * **Deprovisioning** \ - * **Deprovisioned** + * **DEFAULT** \ + * **INHERITED** \ + * **STATIC** */ -export type RevisionProvisioningState = string; +export type RouteType = string; /** Known values of {@link ProviderOsTypeSelected} that the service accepts. */ export enum KnownProviderOsTypeSelected { @@ -10828,6 +10736,117 @@ export enum KnownKind { * **Stateless** */ export type Kind = string; + +/** Known values of {@link ActiveRevisionsMode} that the service accepts. */ +export enum KnownActiveRevisionsMode { + /** Multiple */ + Multiple = "multiple", + /** Single */ + Single = "single", +} + +/** + * Defines values for ActiveRevisionsMode. \ + * {@link KnownActiveRevisionsMode} can be used interchangeably with ActiveRevisionsMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **multiple** \ + * **single** + */ +export type ActiveRevisionsMode = string; + +/** Known values of {@link IngressTransportMethod} that the service accepts. */ +export enum KnownIngressTransportMethod { + /** Auto */ + Auto = "auto", + /** Http */ + Http = "http", + /** Http2 */ + Http2 = "http2", +} + +/** + * Defines values for IngressTransportMethod. \ + * {@link KnownIngressTransportMethod} can be used interchangeably with IngressTransportMethod, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **auto** \ + * **http** \ + * **http2** + */ +export type IngressTransportMethod = string; + +/** Known values of {@link ContainerAppProvisioningState} that the service accepts. */ +export enum KnownContainerAppProvisioningState { + /** InProgress */ + InProgress = "InProgress", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for ContainerAppProvisioningState. \ + * {@link KnownContainerAppProvisioningState} can be used interchangeably with ContainerAppProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **InProgress** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type ContainerAppProvisioningState = string; + +/** Known values of {@link RevisionHealthState} that the service accepts. */ +export enum KnownRevisionHealthState { + /** Healthy */ + Healthy = "Healthy", + /** Unhealthy */ + Unhealthy = "Unhealthy", + /** None */ + None = "None", +} + +/** + * Defines values for RevisionHealthState. \ + * {@link KnownRevisionHealthState} can be used interchangeably with RevisionHealthState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Healthy** \ + * **Unhealthy** \ + * **None** + */ +export type RevisionHealthState = string; + +/** Known values of {@link RevisionProvisioningState} that the service accepts. */ +export enum KnownRevisionProvisioningState { + /** Provisioning */ + Provisioning = "Provisioning", + /** Provisioned */ + Provisioned = "Provisioned", + /** Failed */ + Failed = "Failed", + /** Deprovisioning */ + Deprovisioning = "Deprovisioning", + /** Deprovisioned */ + Deprovisioned = "Deprovisioned", +} + +/** + * Defines values for RevisionProvisioningState. \ + * {@link KnownRevisionProvisioningState} can be used interchangeably with RevisionProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Provisioning** \ + * **Provisioned** \ + * **Failed** \ + * **Deprovisioning** \ + * **Deprovisioned** + */ +export type RevisionProvisioningState = string; /** Defines values for KeyVaultSecretStatus. */ export type KeyVaultSecretStatus = | "Initialized" @@ -11010,7 +11029,8 @@ export type SiteLoadBalancing = | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" - | "PerSiteRoundRobin"; + | "PerSiteRoundRobin" + | "LeastRequestsWithTieBreaker"; /** Defines values for AutoHealActionType. */ export type AutoHealActionType = "Recycle" | "LogEvent" | "CustomAction"; /** Defines values for AzureStorageType. */ @@ -11026,6 +11046,8 @@ export type ClientCertMode = | "Required" | "Optional" | "OptionalInteractiveUser"; +/** Defines values for IPMode. */ +export type IPMode = "IPv4" | "IPv6" | "IPv4AndIPv6"; /** Defines values for RedundancyMode. */ export type RedundancyMode = | "None" @@ -11033,6 +11055,12 @@ export type RedundancyMode = | "Failover" | "ActiveActive" | "GeoRedundant"; +/** Defines values for AutoGeneratedDomainNameLabelScope. */ +export type AutoGeneratedDomainNameLabelScope = + | "TenantReuse" + | "SubscriptionReuse" + | "ResourceGroupReuse" + | "NoReuse"; /** Defines values for ManagedServiceIdentityType. */ export type ManagedServiceIdentityType = | "SystemAssigned" @@ -11435,6 +11463,22 @@ export interface CertificateRegistrationProviderListOperationsNextOptionalParams export type CertificateRegistrationProviderListOperationsNextResponse = CsmOperationCollection; +/** Optional parameters. */ +export interface DomainRegistrationProviderListOperationsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listOperations operation. */ +export type DomainRegistrationProviderListOperationsResponse = + CsmOperationCollection; + +/** Optional parameters. */ +export interface DomainRegistrationProviderListOperationsNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listOperationsNext operation. */ +export type DomainRegistrationProviderListOperationsNextResponse = + CsmOperationCollection; + /** Optional parameters. */ export interface DomainsCheckAvailabilityOptionalParams extends coreClient.OperationOptions {} @@ -11614,22 +11658,6 @@ export interface TopLevelDomainsListAgreementsNextOptionalParams export type TopLevelDomainsListAgreementsNextResponse = TldLegalAgreementCollection; -/** Optional parameters. */ -export interface DomainRegistrationProviderListOperationsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listOperations operation. */ -export type DomainRegistrationProviderListOperationsResponse = - CsmOperationCollection; - -/** Optional parameters. */ -export interface DomainRegistrationProviderListOperationsNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listOperationsNext operation. */ -export type DomainRegistrationProviderListOperationsNextResponse = - CsmOperationCollection; - /** Optional parameters. */ export interface AppServiceEnvironmentsListOptionalParams extends coreClient.OperationOptions {} @@ -12519,105 +12547,6 @@ export interface CertificatesListByResourceGroupNextOptionalParams /** Contains response data for the listByResourceGroupNext operation. */ export type CertificatesListByResourceGroupNextResponse = CertificateCollection; -/** Optional parameters. */ -export interface ContainerAppsListBySubscriptionOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listBySubscription operation. */ -export type ContainerAppsListBySubscriptionResponse = ContainerAppCollection; - -/** Optional parameters. */ -export interface ContainerAppsListByResourceGroupOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByResourceGroup operation. */ -export type ContainerAppsListByResourceGroupResponse = ContainerAppCollection; - -/** Optional parameters. */ -export interface ContainerAppsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ContainerAppsGetResponse = ContainerApp; - -/** Optional parameters. */ -export interface ContainerAppsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the createOrUpdate operation. */ -export type ContainerAppsCreateOrUpdateResponse = ContainerApp; - -/** Optional parameters. */ -export interface ContainerAppsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface ContainerAppsListSecretsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listSecrets operation. */ -export type ContainerAppsListSecretsResponse = SecretsCollection; - -/** Optional parameters. */ -export interface ContainerAppsListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listBySubscriptionNext operation. */ -export type ContainerAppsListBySubscriptionNextResponse = - ContainerAppCollection; - -/** Optional parameters. */ -export interface ContainerAppsListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByResourceGroupNext operation. */ -export type ContainerAppsListByResourceGroupNextResponse = - ContainerAppCollection; - -/** Optional parameters. */ -export interface ContainerAppsRevisionsListRevisionsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listRevisions operation. */ -export type ContainerAppsRevisionsListRevisionsResponse = RevisionCollection; - -/** Optional parameters. */ -export interface ContainerAppsRevisionsGetRevisionOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the getRevision operation. */ -export type ContainerAppsRevisionsGetRevisionResponse = Revision; - -/** Optional parameters. */ -export interface ContainerAppsRevisionsActivateRevisionOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface ContainerAppsRevisionsDeactivateRevisionOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface ContainerAppsRevisionsRestartRevisionOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface ContainerAppsRevisionsListRevisionsNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listRevisionsNext operation. */ -export type ContainerAppsRevisionsListRevisionsNextResponse = - RevisionCollection; - /** Optional parameters. */ export interface DeletedWebAppsListOptionalParams extends coreClient.OperationOptions {} @@ -15236,6 +15165,13 @@ export interface WebAppsListSyncFunctionTriggersOptionalParams /** Contains response data for the listSyncFunctionTriggers operation. */ export type WebAppsListSyncFunctionTriggersResponse = FunctionSecrets; +/** Optional parameters. */ +export interface WebAppsUpdateMachineKeyOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the updateMachineKey operation. */ +export type WebAppsUpdateMachineKeyResponse = Record; + /** Optional parameters. */ export interface WebAppsMigrateStorageOptionalParams extends coreClient.OperationOptions { diff --git a/sdk/appservice/arm-appservice/src/models/mappers.ts b/sdk/appservice/arm-appservice/src/models/mappers.ts index de2fa23e8993..fd0f2db68545 100644 --- a/sdk/appservice/arm-appservice/src/models/mappers.ts +++ b/sdk/appservice/arm-appservice/src/models/mappers.ts @@ -2964,6 +2964,7 @@ export const SiteConfig: coreClient.CompositeMapper = { "WeightedTotalTraffic", "RequestHash", "PerSiteRoundRobin", + "LeastRequestsWithTieBreaker", ], }, }, @@ -5964,23 +5965,23 @@ export const CertificateCollection: coreClient.CompositeMapper = { }, }; -export const ContainerAppCollection: coreClient.CompositeMapper = { - serializedName: "ContainerAppCollection", +export const DeletedWebAppCollection: coreClient.CompositeMapper = { + serializedName: "DeletedWebAppCollection", type: { name: "Composite", - className: "ContainerAppCollection", + className: "DeletedWebAppCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "ContainerApp", + xmlElementName: "DeletedSite", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ContainerApp", + className: "DeletedSite", }, }, }, @@ -5997,75 +5998,64 @@ export const ContainerAppCollection: coreClient.CompositeMapper = { }, }; -export const Configuration: coreClient.CompositeMapper = { - serializedName: "Configuration", +export const DiagnosticCategoryCollection: coreClient.CompositeMapper = { + serializedName: "DiagnosticCategoryCollection", type: { name: "Composite", - className: "Configuration", + className: "DiagnosticCategoryCollection", modelProperties: { - secrets: { - serializedName: "secrets", - xmlName: "secrets", - xmlElementName: "Secret", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "DiagnosticCategory", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Secret", + className: "DiagnosticCategory", }, }, }, }, - activeRevisionsMode: { - serializedName: "activeRevisionsMode", - xmlName: "activeRevisionsMode", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { name: "String", }, }, - ingress: { - serializedName: "ingress", - xmlName: "ingress", - type: { - name: "Composite", - className: "Ingress", - }, - }, - registries: { - serializedName: "registries", - xmlName: "registries", - xmlElementName: "RegistryCredentials", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RegistryCredentials", - }, - }, - }, - }, }, }, }; -export const Secret: coreClient.CompositeMapper = { - serializedName: "Secret", +export const DiagnosticAnalysisCollection: coreClient.CompositeMapper = { + serializedName: "DiagnosticAnalysisCollection", type: { name: "Composite", - className: "Secret", + className: "DiagnosticAnalysisCollection", modelProperties: { - name: { - serializedName: "name", - xmlName: "name", - type: { - name: "String", - }, - }, value: { serializedName: "value", + required: true, xmlName: "value", + xmlElementName: "AnalysisDefinition", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AnalysisDefinition", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { name: "String", }, @@ -6074,347 +6064,354 @@ export const Secret: coreClient.CompositeMapper = { }, }; -export const Ingress: coreClient.CompositeMapper = { - serializedName: "Ingress", +export const AbnormalTimePeriod: coreClient.CompositeMapper = { + serializedName: "AbnormalTimePeriod", type: { name: "Composite", - className: "Ingress", + className: "AbnormalTimePeriod", modelProperties: { - fqdn: { - serializedName: "fqdn", - readOnly: true, - xmlName: "fqdn", - type: { - name: "String", - }, - }, - external: { - defaultValue: false, - serializedName: "external", - xmlName: "external", - type: { - name: "Boolean", - }, - }, - targetPort: { - serializedName: "targetPort", - xmlName: "targetPort", + startTime: { + serializedName: "startTime", + xmlName: "startTime", type: { - name: "Number", + name: "DateTime", }, }, - transport: { - serializedName: "transport", - xmlName: "transport", + endTime: { + serializedName: "endTime", + xmlName: "endTime", type: { - name: "String", + name: "DateTime", }, }, - traffic: { - serializedName: "traffic", - xmlName: "traffic", - xmlElementName: "TrafficWeight", + events: { + serializedName: "events", + xmlName: "events", + xmlElementName: "DetectorAbnormalTimePeriod", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TrafficWeight", + className: "DetectorAbnormalTimePeriod", }, }, }, }, - allowInsecure: { - serializedName: "allowInsecure", - xmlName: "allowInsecure", + solutions: { + serializedName: "solutions", + xmlName: "solutions", + xmlElementName: "Solution", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Solution", + }, + }, }, }, }, }, }; -export const TrafficWeight: coreClient.CompositeMapper = { - serializedName: "TrafficWeight", +export const DetectorAbnormalTimePeriod: coreClient.CompositeMapper = { + serializedName: "DetectorAbnormalTimePeriod", type: { name: "Composite", - className: "TrafficWeight", + className: "DetectorAbnormalTimePeriod", modelProperties: { - revisionName: { - serializedName: "revisionName", - xmlName: "revisionName", - type: { - name: "String", - }, - }, - weight: { - serializedName: "weight", - xmlName: "weight", - type: { - name: "Number", - }, - }, - latestRevision: { - defaultValue: false, - serializedName: "latestRevision", - xmlName: "latestRevision", + startTime: { + serializedName: "startTime", + xmlName: "startTime", type: { - name: "Boolean", + name: "DateTime", }, }, - }, - }, -}; - -export const RegistryCredentials: coreClient.CompositeMapper = { - serializedName: "RegistryCredentials", - type: { - name: "Composite", - className: "RegistryCredentials", - modelProperties: { - server: { - serializedName: "server", - xmlName: "server", + endTime: { + serializedName: "endTime", + xmlName: "endTime", type: { - name: "String", + name: "DateTime", }, }, - username: { - serializedName: "username", - xmlName: "username", + message: { + serializedName: "message", + xmlName: "message", type: { name: "String", }, }, - passwordSecretRef: { - serializedName: "passwordSecretRef", - xmlName: "passwordSecretRef", + source: { + serializedName: "source", + xmlName: "source", type: { name: "String", }, }, - }, - }, -}; - -export const Template: coreClient.CompositeMapper = { - serializedName: "Template", - type: { - name: "Composite", - className: "Template", - modelProperties: { - revisionSuffix: { - serializedName: "revisionSuffix", - xmlName: "revisionSuffix", + priority: { + serializedName: "priority", + xmlName: "priority", type: { - name: "String", + name: "Number", }, }, - containers: { - serializedName: "containers", - xmlName: "containers", - xmlElementName: "Container", + metaData: { + serializedName: "metaData", + xmlName: "metaData", + xmlElementName: "DetectorAbnormalTimePeriodMetaDataItem", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Container", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NameValuePair", + }, + }, }, }, }, }, - scale: { - serializedName: "scale", - xmlName: "scale", - type: { - name: "Composite", - className: "Scale", - }, - }, - dapr: { - serializedName: "dapr", - xmlName: "dapr", + type: { + serializedName: "type", + xmlName: "type", type: { - name: "Composite", - className: "Dapr", + name: "Enum", + allowedValues: [ + "ServiceIncident", + "AppDeployment", + "AppCrash", + "RuntimeIssueDetected", + "AseDeployment", + "UserIssue", + "PlatformIssue", + "Other", + ], + }, + }, + solutions: { + serializedName: "solutions", + xmlName: "solutions", + xmlElementName: "Solution", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Solution", + }, + }, }, }, }, }, }; -export const Container: coreClient.CompositeMapper = { - serializedName: "Container", +export const Solution: coreClient.CompositeMapper = { + serializedName: "Solution", type: { name: "Composite", - className: "Container", + className: "Solution", modelProperties: { - image: { - serializedName: "image", - xmlName: "image", + id: { + serializedName: "id", + xmlName: "id", + type: { + name: "Number", + }, + }, + displayName: { + serializedName: "displayName", + xmlName: "displayName", type: { name: "String", }, }, - name: { - serializedName: "name", - xmlName: "name", + order: { + serializedName: "order", + xmlName: "order", + type: { + name: "Number", + }, + }, + description: { + serializedName: "description", + xmlName: "description", type: { name: "String", }, }, - command: { - serializedName: "command", - xmlName: "command", - xmlElementName: "ContainerCommandItem", + type: { + serializedName: "type", + xmlName: "type", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Enum", + allowedValues: [ + "QuickSolution", + "DeepInvestigation", + "BestPractices", + ], }, }, - args: { - serializedName: "args", - xmlName: "args", - xmlElementName: "ContainerArgsItem", + data: { + serializedName: "data", + xmlName: "data", + xmlElementName: "SolutionDataItem", type: { name: "Sequence", element: { type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NameValuePair", + }, + }, }, }, }, }, - env: { - serializedName: "env", - xmlName: "env", - xmlElementName: "EnvironmentVar", + metadata: { + serializedName: "metadata", + xmlName: "metadata", + xmlElementName: "SolutionMetadataItem", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "EnvironmentVar", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NameValuePair", + }, + }, }, }, }, }, - resources: { - serializedName: "resources", - xmlName: "resources", - type: { - name: "Composite", - className: "ContainerResources", - }, - }, }, }, }; -export const EnvironmentVar: coreClient.CompositeMapper = { - serializedName: "EnvironmentVar", +export const AnalysisData: coreClient.CompositeMapper = { + serializedName: "AnalysisData", type: { name: "Composite", - className: "EnvironmentVar", + className: "AnalysisData", modelProperties: { - name: { - serializedName: "name", - xmlName: "name", + source: { + serializedName: "source", + xmlName: "source", type: { name: "String", }, }, - value: { - serializedName: "value", - xmlName: "value", + detectorDefinition: { + serializedName: "detectorDefinition", + xmlName: "detectorDefinition", type: { - name: "String", + name: "Composite", + className: "DetectorDefinition", }, }, - secretRef: { - serializedName: "secretRef", - xmlName: "secretRef", + metrics: { + serializedName: "metrics", + xmlName: "metrics", + xmlElementName: "DiagnosticMetricSet", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnosticMetricSet", + }, + }, }, }, - }, - }, -}; - -export const ContainerResources: coreClient.CompositeMapper = { - serializedName: "ContainerResources", - type: { - name: "Composite", - className: "ContainerResources", - modelProperties: { - cpu: { - serializedName: "cpu", - xmlName: "cpu", + data: { + serializedName: "data", + xmlName: "data", + xmlElementName: "AnalysisDataItem", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NameValuePair", + }, + }, + }, + }, }, }, - memory: { - serializedName: "memory", - xmlName: "memory", + detectorMetaData: { + serializedName: "detectorMetaData", + xmlName: "detectorMetaData", type: { - name: "String", + name: "Composite", + className: "ResponseMetaData", }, }, }, }, }; -export const Scale: coreClient.CompositeMapper = { - serializedName: "Scale", +export const DetectorDefinition: coreClient.CompositeMapper = { + serializedName: "DetectorDefinition", type: { name: "Composite", - className: "Scale", + className: "DetectorDefinition", modelProperties: { - minReplicas: { - serializedName: "minReplicas", - xmlName: "minReplicas", + displayName: { + serializedName: "displayName", + readOnly: true, + xmlName: "displayName", type: { - name: "Number", + name: "String", }, }, - maxReplicas: { - serializedName: "maxReplicas", - xmlName: "maxReplicas", + description: { + serializedName: "description", + readOnly: true, + xmlName: "description", + type: { + name: "String", + }, + }, + rank: { + serializedName: "rank", + readOnly: true, + xmlName: "rank", type: { name: "Number", }, }, - rules: { - serializedName: "rules", - xmlName: "rules", - xmlElementName: "ScaleRule", + isEnabled: { + serializedName: "isEnabled", + readOnly: true, + xmlName: "isEnabled", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ScaleRule", - }, - }, + name: "Boolean", }, }, }, }, }; -export const ScaleRule: coreClient.CompositeMapper = { - serializedName: "ScaleRule", +export const DiagnosticMetricSet: coreClient.CompositeMapper = { + serializedName: "DiagnosticMetricSet", type: { name: "Composite", - className: "ScaleRule", + className: "DiagnosticMetricSet", modelProperties: { name: { serializedName: "name", @@ -6423,64 +6420,44 @@ export const ScaleRule: coreClient.CompositeMapper = { name: "String", }, }, - azureQueue: { - serializedName: "azureQueue", - xmlName: "azureQueue", + unit: { + serializedName: "unit", + xmlName: "unit", type: { - name: "Composite", - className: "QueueScaleRule", + name: "String", }, }, - custom: { - serializedName: "custom", - xmlName: "custom", + startTime: { + serializedName: "startTime", + xmlName: "startTime", type: { - name: "Composite", - className: "CustomScaleRule", + name: "DateTime", }, }, - http: { - serializedName: "http", - xmlName: "http", + endTime: { + serializedName: "endTime", + xmlName: "endTime", type: { - name: "Composite", - className: "HttpScaleRule", + name: "DateTime", }, }, - }, - }, -}; - -export const QueueScaleRule: coreClient.CompositeMapper = { - serializedName: "QueueScaleRule", - type: { - name: "Composite", - className: "QueueScaleRule", - modelProperties: { - queueName: { - serializedName: "queueName", - xmlName: "queueName", + timeGrain: { + serializedName: "timeGrain", + xmlName: "timeGrain", type: { name: "String", }, }, - queueLength: { - serializedName: "queueLength", - xmlName: "queueLength", - type: { - name: "Number", - }, - }, - auth: { - serializedName: "auth", - xmlName: "auth", - xmlElementName: "ScaleRuleAuth", + values: { + serializedName: "values", + xmlName: "values", + xmlElementName: "DiagnosticMetricSample", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ScaleRuleAuth", + className: "DiagnosticMetricSample", }, }, }, @@ -6489,61 +6466,105 @@ export const QueueScaleRule: coreClient.CompositeMapper = { }, }; -export const ScaleRuleAuth: coreClient.CompositeMapper = { - serializedName: "ScaleRuleAuth", +export const DiagnosticMetricSample: coreClient.CompositeMapper = { + serializedName: "DiagnosticMetricSample", type: { name: "Composite", - className: "ScaleRuleAuth", + className: "DiagnosticMetricSample", modelProperties: { - secretRef: { - serializedName: "secretRef", - xmlName: "secretRef", + timestamp: { + serializedName: "timestamp", + xmlName: "timestamp", type: { - name: "String", + name: "DateTime", }, }, - triggerParameter: { - serializedName: "triggerParameter", - xmlName: "triggerParameter", + roleInstance: { + serializedName: "roleInstance", + xmlName: "roleInstance", type: { name: "String", }, }, + total: { + serializedName: "total", + xmlName: "total", + type: { + name: "Number", + }, + }, + maximum: { + serializedName: "maximum", + xmlName: "maximum", + type: { + name: "Number", + }, + }, + minimum: { + serializedName: "minimum", + xmlName: "minimum", + type: { + name: "Number", + }, + }, + isAggregated: { + serializedName: "isAggregated", + xmlName: "isAggregated", + type: { + name: "Boolean", + }, + }, }, }, }; -export const CustomScaleRule: coreClient.CompositeMapper = { - serializedName: "CustomScaleRule", +export const ResponseMetaData: coreClient.CompositeMapper = { + serializedName: "ResponseMetaData", type: { name: "Composite", - className: "CustomScaleRule", + className: "ResponseMetaData", modelProperties: { - type: { - serializedName: "type", - xmlName: "type", + dataSource: { + serializedName: "dataSource", + xmlName: "dataSource", type: { - name: "String", + name: "Composite", + className: "DataSource", }, }, - metadata: { - serializedName: "metadata", - xmlName: "metadata", + }, + }, +}; + +export const DataSource: coreClient.CompositeMapper = { + serializedName: "DataSource", + type: { + name: "Composite", + className: "DataSource", + modelProperties: { + instructions: { + serializedName: "instructions", + xmlName: "instructions", + xmlElementName: "DataSourceInstructionsItem", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - auth: { - serializedName: "auth", - xmlName: "auth", - xmlElementName: "ScaleRuleAuth", + dataSourceUri: { + serializedName: "dataSourceUri", + xmlName: "dataSourceUri", + xmlElementName: "NameValuePair", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ScaleRuleAuth", + className: "NameValuePair", }, }, }, @@ -6552,151 +6573,125 @@ export const CustomScaleRule: coreClient.CompositeMapper = { }, }; -export const HttpScaleRule: coreClient.CompositeMapper = { - serializedName: "HttpScaleRule", +export const DiagnosticDetectorCollection: coreClient.CompositeMapper = { + serializedName: "DiagnosticDetectorCollection", type: { name: "Composite", - className: "HttpScaleRule", + className: "DiagnosticDetectorCollection", modelProperties: { - metadata: { - serializedName: "metadata", - xmlName: "metadata", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - auth: { - serializedName: "auth", - xmlName: "auth", - xmlElementName: "ScaleRuleAuth", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "DetectorDefinitionResource", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ScaleRuleAuth", + className: "DetectorDefinitionResource", }, }, }, }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, }, }; -export const Dapr: coreClient.CompositeMapper = { - serializedName: "Dapr", +export const KubeEnvironmentCollection: coreClient.CompositeMapper = { + serializedName: "KubeEnvironmentCollection", type: { name: "Composite", - className: "Dapr", + className: "KubeEnvironmentCollection", modelProperties: { - enabled: { - serializedName: "enabled", - xmlName: "enabled", - type: { - name: "Boolean", - }, - }, - appId: { - serializedName: "appId", - xmlName: "appId", - type: { - name: "String", - }, - }, - appPort: { - serializedName: "appPort", - xmlName: "appPort", - type: { - name: "Number", - }, - }, - components: { - serializedName: "components", - xmlName: "components", - xmlElementName: "DaprComponent", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "KubeEnvironment", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DaprComponent", + className: "KubeEnvironment", }, }, }, }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, }, }; -export const DaprComponent: coreClient.CompositeMapper = { - serializedName: "DaprComponent", +export const ArcConfiguration: coreClient.CompositeMapper = { + serializedName: "ArcConfiguration", type: { name: "Composite", - className: "DaprComponent", + className: "ArcConfiguration", modelProperties: { - name: { - serializedName: "name", - xmlName: "name", + artifactsStorageType: { + serializedName: "artifactsStorageType", + xmlName: "artifactsStorageType", type: { - name: "String", + name: "Enum", + allowedValues: ["LocalNode", "NetworkFileSystem"], }, }, - type: { - serializedName: "type", - xmlName: "type", + artifactStorageClassName: { + serializedName: "artifactStorageClassName", + xmlName: "artifactStorageClassName", type: { name: "String", }, }, - version: { - serializedName: "version", - xmlName: "version", + artifactStorageMountPath: { + serializedName: "artifactStorageMountPath", + xmlName: "artifactStorageMountPath", type: { name: "String", }, }, - metadata: { - serializedName: "metadata", - xmlName: "metadata", - xmlElementName: "DaprMetadata", + artifactStorageNodeName: { + serializedName: "artifactStorageNodeName", + xmlName: "artifactStorageNodeName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DaprMetadata", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const DaprMetadata: coreClient.CompositeMapper = { - serializedName: "DaprMetadata", - type: { - name: "Composite", - className: "DaprMetadata", - modelProperties: { - name: { - serializedName: "name", - xmlName: "name", + artifactStorageAccessMode: { + serializedName: "artifactStorageAccessMode", + xmlName: "artifactStorageAccessMode", type: { name: "String", }, }, - value: { - serializedName: "value", - xmlName: "value", + frontEndServiceConfiguration: { + serializedName: "frontEndServiceConfiguration", + xmlName: "frontEndServiceConfiguration", type: { - name: "String", + name: "Composite", + className: "FrontEndConfiguration", }, }, - secretRef: { - serializedName: "secretRef", - xmlName: "secretRef", + kubeConfig: { + serializedName: "kubeConfig", + xmlName: "kubeConfig", type: { name: "String", }, @@ -6705,82 +6700,65 @@ export const DaprMetadata: coreClient.CompositeMapper = { }, }; -export const SecretsCollection: coreClient.CompositeMapper = { - serializedName: "SecretsCollection", +export const FrontEndConfiguration: coreClient.CompositeMapper = { + serializedName: "FrontEndConfiguration", type: { name: "Composite", - className: "SecretsCollection", + className: "FrontEndConfiguration", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "ContainerAppSecret", + kind: { + serializedName: "kind", + xmlName: "kind", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContainerAppSecret", - }, - }, + name: "Enum", + allowedValues: ["NodePort", "LoadBalancer"], }, }, }, }, }; -export const ContainerAppSecret: coreClient.CompositeMapper = { - serializedName: "ContainerAppSecret", +export const AppLogsConfiguration: coreClient.CompositeMapper = { + serializedName: "AppLogsConfiguration", type: { name: "Composite", - className: "ContainerAppSecret", + className: "AppLogsConfiguration", modelProperties: { - name: { - serializedName: "name", - readOnly: true, - xmlName: "name", + destination: { + serializedName: "destination", + xmlName: "destination", type: { name: "String", }, }, - value: { - serializedName: "value", - readOnly: true, - xmlName: "value", + logAnalyticsConfiguration: { + serializedName: "logAnalyticsConfiguration", + xmlName: "logAnalyticsConfiguration", type: { - name: "String", + name: "Composite", + className: "LogAnalyticsConfiguration", }, }, }, }, }; -export const RevisionCollection: coreClient.CompositeMapper = { - serializedName: "RevisionCollection", +export const LogAnalyticsConfiguration: coreClient.CompositeMapper = { + serializedName: "LogAnalyticsConfiguration", type: { name: "Composite", - className: "RevisionCollection", + className: "LogAnalyticsConfiguration", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "Revision", + customerId: { + serializedName: "customerId", + xmlName: "customerId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Revision", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + sharedKey: { + serializedName: "sharedKey", + xmlName: "sharedKey", type: { name: "String", }, @@ -6789,64 +6767,50 @@ export const RevisionCollection: coreClient.CompositeMapper = { }, }; -export const DeletedWebAppCollection: coreClient.CompositeMapper = { - serializedName: "DeletedWebAppCollection", +export const ContainerAppsConfiguration: coreClient.CompositeMapper = { + serializedName: "ContainerAppsConfiguration", type: { name: "Composite", - className: "DeletedWebAppCollection", + className: "ContainerAppsConfiguration", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "DeletedSite", + daprAIInstrumentationKey: { + serializedName: "daprAIInstrumentationKey", + xmlName: "daprAIInstrumentationKey", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DeletedSite", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + platformReservedCidr: { + serializedName: "platformReservedCidr", + xmlName: "platformReservedCidr", type: { name: "String", }, }, - }, - }, -}; - -export const DiagnosticCategoryCollection: coreClient.CompositeMapper = { - serializedName: "DiagnosticCategoryCollection", - type: { - name: "Composite", - className: "DiagnosticCategoryCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "DiagnosticCategory", + platformReservedDnsIP: { + serializedName: "platformReservedDnsIP", + xmlName: "platformReservedDnsIP", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnosticCategory", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + controlPlaneSubnetResourceId: { + serializedName: "controlPlaneSubnetResourceId", + xmlName: "controlPlaneSubnetResourceId", + type: { + name: "String", + }, + }, + appSubnetResourceId: { + serializedName: "appSubnetResourceId", + xmlName: "appSubnetResourceId", + type: { + name: "String", + }, + }, + dockerBridgeCidr: { + serializedName: "dockerBridgeCidr", + xmlName: "dockerBridgeCidr", type: { name: "String", }, @@ -6855,23 +6819,23 @@ export const DiagnosticCategoryCollection: coreClient.CompositeMapper = { }, }; -export const DiagnosticAnalysisCollection: coreClient.CompositeMapper = { - serializedName: "DiagnosticAnalysisCollection", +export const ApplicationStackCollection: coreClient.CompositeMapper = { + serializedName: "ApplicationStackCollection", type: { name: "Composite", - className: "DiagnosticAnalysisCollection", + className: "ApplicationStackCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "AnalysisDefinition", + xmlElementName: "ApplicationStackResource", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AnalysisDefinition", + className: "ApplicationStackResource", }, }, }, @@ -6888,146 +6852,165 @@ export const DiagnosticAnalysisCollection: coreClient.CompositeMapper = { }, }; -export const AbnormalTimePeriod: coreClient.CompositeMapper = { - serializedName: "AbnormalTimePeriod", +export const ApplicationStack: coreClient.CompositeMapper = { + serializedName: "ApplicationStack", type: { name: "Composite", - className: "AbnormalTimePeriod", + className: "ApplicationStack", modelProperties: { - startTime: { - serializedName: "startTime", - xmlName: "startTime", + name: { + serializedName: "name", + xmlName: "name", type: { - name: "DateTime", + name: "String", }, }, - endTime: { - serializedName: "endTime", - xmlName: "endTime", + display: { + serializedName: "display", + xmlName: "display", type: { - name: "DateTime", + name: "String", }, }, - events: { - serializedName: "events", - xmlName: "events", - xmlElementName: "DetectorAbnormalTimePeriod", + dependency: { + serializedName: "dependency", + xmlName: "dependency", + type: { + name: "String", + }, + }, + majorVersions: { + serializedName: "majorVersions", + xmlName: "majorVersions", + xmlElementName: "StackMajorVersion", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DetectorAbnormalTimePeriod", + className: "StackMajorVersion", }, }, }, }, - solutions: { - serializedName: "solutions", - xmlName: "solutions", - xmlElementName: "Solution", + frameworks: { + serializedName: "frameworks", + xmlName: "frameworks", + xmlElementName: "ApplicationStack", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Solution", + className: "ApplicationStack", }, }, }, }, - }, - }, + isDeprecated: { + serializedName: "isDeprecated", + xmlName: "isDeprecated", + xmlElementName: "ApplicationStack", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationStack", + }, + }, + }, + }, + }, + }, }; -export const DetectorAbnormalTimePeriod: coreClient.CompositeMapper = { - serializedName: "DetectorAbnormalTimePeriod", +export const StackMajorVersion: coreClient.CompositeMapper = { + serializedName: "StackMajorVersion", type: { name: "Composite", - className: "DetectorAbnormalTimePeriod", + className: "StackMajorVersion", modelProperties: { - startTime: { - serializedName: "startTime", - xmlName: "startTime", - type: { - name: "DateTime", - }, - }, - endTime: { - serializedName: "endTime", - xmlName: "endTime", - type: { - name: "DateTime", - }, - }, - message: { - serializedName: "message", - xmlName: "message", + displayVersion: { + serializedName: "displayVersion", + xmlName: "displayVersion", type: { name: "String", }, }, - source: { - serializedName: "source", - xmlName: "source", + runtimeVersion: { + serializedName: "runtimeVersion", + xmlName: "runtimeVersion", type: { name: "String", }, }, - priority: { - serializedName: "priority", - xmlName: "priority", + isDefault: { + serializedName: "isDefault", + xmlName: "isDefault", type: { - name: "Number", + name: "Boolean", }, }, - metaData: { - serializedName: "metaData", - xmlName: "metaData", - xmlElementName: "DetectorAbnormalTimePeriodMetaDataItem", + minorVersions: { + serializedName: "minorVersions", + xmlName: "minorVersions", + xmlElementName: "StackMinorVersion", type: { name: "Sequence", element: { type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NameValuePair", - }, - }, + name: "Composite", + className: "StackMinorVersion", }, }, }, }, - type: { - serializedName: "type", - xmlName: "type", + applicationInsights: { + serializedName: "applicationInsights", + xmlName: "applicationInsights", type: { - name: "Enum", - allowedValues: [ - "ServiceIncident", - "AppDeployment", - "AppCrash", - "RuntimeIssueDetected", - "AseDeployment", - "UserIssue", - "PlatformIssue", - "Other", - ], + name: "Boolean", }, }, - solutions: { - serializedName: "solutions", - xmlName: "solutions", - xmlElementName: "Solution", + isPreview: { + serializedName: "isPreview", + xmlName: "isPreview", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Solution", - }, + name: "Boolean", + }, + }, + isDeprecated: { + serializedName: "isDeprecated", + xmlName: "isDeprecated", + type: { + name: "Boolean", + }, + }, + isHidden: { + serializedName: "isHidden", + xmlName: "isHidden", + type: { + name: "Boolean", + }, + }, + appSettingsDictionary: { + serializedName: "appSettingsDictionary", + xmlName: "appSettingsDictionary", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + siteConfigPropertiesDictionary: { + serializedName: "siteConfigPropertiesDictionary", + xmlName: "siteConfigPropertiesDictionary", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, }, }, }, @@ -7035,393 +7018,352 @@ export const DetectorAbnormalTimePeriod: coreClient.CompositeMapper = { }, }; -export const Solution: coreClient.CompositeMapper = { - serializedName: "Solution", +export const StackMinorVersion: coreClient.CompositeMapper = { + serializedName: "StackMinorVersion", type: { name: "Composite", - className: "Solution", + className: "StackMinorVersion", modelProperties: { - id: { - serializedName: "id", - xmlName: "id", - type: { - name: "Number", - }, - }, - displayName: { - serializedName: "displayName", - xmlName: "displayName", + displayVersion: { + serializedName: "displayVersion", + xmlName: "displayVersion", type: { name: "String", }, }, - order: { - serializedName: "order", - xmlName: "order", + runtimeVersion: { + serializedName: "runtimeVersion", + xmlName: "runtimeVersion", type: { - name: "Number", + name: "String", }, }, - description: { - serializedName: "description", - xmlName: "description", + isDefault: { + serializedName: "isDefault", + xmlName: "isDefault", type: { - name: "String", + name: "Boolean", }, }, - type: { - serializedName: "type", - xmlName: "type", + isRemoteDebuggingEnabled: { + serializedName: "isRemoteDebuggingEnabled", + xmlName: "isRemoteDebuggingEnabled", type: { - name: "Enum", - allowedValues: [ - "QuickSolution", - "DeepInvestigation", - "BestPractices", - ], + name: "Boolean", }, }, - data: { - serializedName: "data", - xmlName: "data", - xmlElementName: "SolutionDataItem", + }, + }, +}; + +export const FunctionAppStackCollection: coreClient.CompositeMapper = { + serializedName: "FunctionAppStackCollection", + type: { + name: "Composite", + className: "FunctionAppStackCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "FunctionAppStack", type: { name: "Sequence", element: { type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NameValuePair", - }, - }, + name: "Composite", + className: "FunctionAppStack", }, }, }, }, - metadata: { - serializedName: "metadata", - xmlName: "metadata", - xmlElementName: "SolutionMetadataItem", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NameValuePair", - }, - }, - }, - }, + name: "String", }, }, }, }, }; -export const AnalysisData: coreClient.CompositeMapper = { - serializedName: "AnalysisData", +export const FunctionAppMajorVersion: coreClient.CompositeMapper = { + serializedName: "FunctionAppMajorVersion", type: { name: "Composite", - className: "AnalysisData", + className: "FunctionAppMajorVersion", modelProperties: { - source: { - serializedName: "source", - xmlName: "source", + displayText: { + serializedName: "displayText", + readOnly: true, + xmlName: "displayText", type: { name: "String", }, }, - detectorDefinition: { - serializedName: "detectorDefinition", - xmlName: "detectorDefinition", + value: { + serializedName: "value", + readOnly: true, + xmlName: "value", type: { - name: "Composite", - className: "DetectorDefinition", + name: "String", }, }, - metrics: { - serializedName: "metrics", - xmlName: "metrics", - xmlElementName: "DiagnosticMetricSet", + minorVersions: { + serializedName: "minorVersions", + readOnly: true, + xmlName: "minorVersions", + xmlElementName: "FunctionAppMinorVersion", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiagnosticMetricSet", - }, - }, - }, - }, - data: { - serializedName: "data", - xmlName: "data", - xmlElementName: "AnalysisDataItem", - type: { - name: "Sequence", - element: { - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NameValuePair", - }, - }, + className: "FunctionAppMinorVersion", }, }, }, }, - detectorMetaData: { - serializedName: "detectorMetaData", - xmlName: "detectorMetaData", - type: { - name: "Composite", - className: "ResponseMetaData", - }, - }, }, }, }; -export const DetectorDefinition: coreClient.CompositeMapper = { - serializedName: "DetectorDefinition", +export const FunctionAppMinorVersion: coreClient.CompositeMapper = { + serializedName: "FunctionAppMinorVersion", type: { name: "Composite", - className: "DetectorDefinition", + className: "FunctionAppMinorVersion", modelProperties: { - displayName: { - serializedName: "displayName", + displayText: { + serializedName: "displayText", readOnly: true, - xmlName: "displayName", + xmlName: "displayText", type: { name: "String", }, }, - description: { - serializedName: "description", + value: { + serializedName: "value", readOnly: true, - xmlName: "description", + xmlName: "value", type: { name: "String", }, }, - rank: { - serializedName: "rank", - readOnly: true, - xmlName: "rank", + stackSettings: { + serializedName: "stackSettings", + xmlName: "stackSettings", type: { - name: "Number", + name: "Composite", + className: "FunctionAppRuntimes", }, }, - isEnabled: { - serializedName: "isEnabled", - readOnly: true, - xmlName: "isEnabled", + }, + }, +}; + +export const FunctionAppRuntimes: coreClient.CompositeMapper = { + serializedName: "FunctionAppRuntimes", + type: { + name: "Composite", + className: "FunctionAppRuntimes", + modelProperties: { + linuxRuntimeSettings: { + serializedName: "linuxRuntimeSettings", + xmlName: "linuxRuntimeSettings", type: { - name: "Boolean", + name: "Composite", + className: "FunctionAppRuntimeSettings", + }, + }, + windowsRuntimeSettings: { + serializedName: "windowsRuntimeSettings", + xmlName: "windowsRuntimeSettings", + type: { + name: "Composite", + className: "FunctionAppRuntimeSettings", }, }, }, }, }; -export const DiagnosticMetricSet: coreClient.CompositeMapper = { - serializedName: "DiagnosticMetricSet", +export const FunctionAppRuntimeSettings: coreClient.CompositeMapper = { + serializedName: "FunctionAppRuntimeSettings", type: { name: "Composite", - className: "DiagnosticMetricSet", + className: "FunctionAppRuntimeSettings", modelProperties: { - name: { - serializedName: "name", - xmlName: "name", + runtimeVersion: { + serializedName: "runtimeVersion", + readOnly: true, + xmlName: "runtimeVersion", type: { name: "String", }, }, - unit: { - serializedName: "unit", - xmlName: "unit", + remoteDebuggingSupported: { + serializedName: "remoteDebuggingSupported", + readOnly: true, + xmlName: "remoteDebuggingSupported", type: { - name: "String", + name: "Boolean", }, }, - startTime: { - serializedName: "startTime", - xmlName: "startTime", + appInsightsSettings: { + serializedName: "appInsightsSettings", + xmlName: "appInsightsSettings", type: { - name: "DateTime", + name: "Composite", + className: "AppInsightsWebAppStackSettings", }, }, - endTime: { - serializedName: "endTime", - xmlName: "endTime", + gitHubActionSettings: { + serializedName: "gitHubActionSettings", + xmlName: "gitHubActionSettings", type: { - name: "DateTime", + name: "Composite", + className: "GitHubActionWebAppStackSettings", }, }, - timeGrain: { - serializedName: "timeGrain", - xmlName: "timeGrain", + appSettingsDictionary: { + serializedName: "appSettingsDictionary", + readOnly: true, + xmlName: "appSettingsDictionary", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - values: { - serializedName: "values", - xmlName: "values", - xmlElementName: "DiagnosticMetricSample", + siteConfigPropertiesDictionary: { + serializedName: "siteConfigPropertiesDictionary", + xmlName: "siteConfigPropertiesDictionary", + type: { + name: "Composite", + className: "SiteConfigPropertiesDictionary", + }, + }, + supportedFunctionsExtensionVersions: { + serializedName: "supportedFunctionsExtensionVersions", + readOnly: true, + xmlName: "supportedFunctionsExtensionVersions", + xmlElementName: + "FunctionAppRuntimeSettingsSupportedFunctionsExtensionVersionsItem", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DiagnosticMetricSample", + name: "String", }, }, }, }, - }, - }, -}; - -export const DiagnosticMetricSample: coreClient.CompositeMapper = { - serializedName: "DiagnosticMetricSample", - type: { - name: "Composite", - className: "DiagnosticMetricSample", - modelProperties: { - timestamp: { - serializedName: "timestamp", - xmlName: "timestamp", + isPreview: { + serializedName: "isPreview", + readOnly: true, + xmlName: "isPreview", type: { - name: "DateTime", + name: "Boolean", }, }, - roleInstance: { - serializedName: "roleInstance", - xmlName: "roleInstance", + isDeprecated: { + serializedName: "isDeprecated", + readOnly: true, + xmlName: "isDeprecated", type: { - name: "String", + name: "Boolean", }, }, - total: { - serializedName: "total", - xmlName: "total", + isHidden: { + serializedName: "isHidden", + readOnly: true, + xmlName: "isHidden", type: { - name: "Number", + name: "Boolean", }, }, - maximum: { - serializedName: "maximum", - xmlName: "maximum", + endOfLifeDate: { + serializedName: "endOfLifeDate", + readOnly: true, + xmlName: "endOfLifeDate", type: { - name: "Number", + name: "DateTime", }, }, - minimum: { - serializedName: "minimum", - xmlName: "minimum", + isAutoUpdate: { + serializedName: "isAutoUpdate", + readOnly: true, + xmlName: "isAutoUpdate", type: { - name: "Number", + name: "Boolean", }, }, - isAggregated: { - serializedName: "isAggregated", - xmlName: "isAggregated", + isEarlyAccess: { + serializedName: "isEarlyAccess", + readOnly: true, + xmlName: "isEarlyAccess", type: { name: "Boolean", }, }, - }, - }, -}; - -export const ResponseMetaData: coreClient.CompositeMapper = { - serializedName: "ResponseMetaData", - type: { - name: "Composite", - className: "ResponseMetaData", - modelProperties: { - dataSource: { - serializedName: "dataSource", - xmlName: "dataSource", + isDefault: { + serializedName: "isDefault", + readOnly: true, + xmlName: "isDefault", type: { - name: "Composite", - className: "DataSource", + name: "Boolean", }, }, }, }, }; -export const DataSource: coreClient.CompositeMapper = { - serializedName: "DataSource", +export const AppInsightsWebAppStackSettings: coreClient.CompositeMapper = { + serializedName: "AppInsightsWebAppStackSettings", type: { name: "Composite", - className: "DataSource", + className: "AppInsightsWebAppStackSettings", modelProperties: { - instructions: { - serializedName: "instructions", - xmlName: "instructions", - xmlElementName: "DataSourceInstructionsItem", + isSupported: { + serializedName: "isSupported", + readOnly: true, + xmlName: "isSupported", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Boolean", }, }, - dataSourceUri: { - serializedName: "dataSourceUri", - xmlName: "dataSourceUri", - xmlElementName: "NameValuePair", + isDefaultOff: { + serializedName: "isDefaultOff", + readOnly: true, + xmlName: "isDefaultOff", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NameValuePair", - }, - }, + name: "Boolean", }, }, }, }, }; -export const DiagnosticDetectorCollection: coreClient.CompositeMapper = { - serializedName: "DiagnosticDetectorCollection", +export const GitHubActionWebAppStackSettings: coreClient.CompositeMapper = { + serializedName: "GitHubActionWebAppStackSettings", type: { name: "Composite", - className: "DiagnosticDetectorCollection", + className: "GitHubActionWebAppStackSettings", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "DetectorDefinitionResource", + isSupported: { + serializedName: "isSupported", + readOnly: true, + xmlName: "isSupported", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DetectorDefinitionResource", - }, - }, + name: "Boolean", }, }, - nextLink: { - serializedName: "nextLink", + supportedVersion: { + serializedName: "supportedVersion", readOnly: true, - xmlName: "nextLink", + xmlName: "supportedVersion", type: { name: "String", }, @@ -7430,23 +7372,65 @@ export const DiagnosticDetectorCollection: coreClient.CompositeMapper = { }, }; -export const KubeEnvironmentCollection: coreClient.CompositeMapper = { - serializedName: "KubeEnvironmentCollection", +export const SiteConfigPropertiesDictionary: coreClient.CompositeMapper = { + serializedName: "SiteConfigPropertiesDictionary", type: { name: "Composite", - className: "KubeEnvironmentCollection", + className: "SiteConfigPropertiesDictionary", + modelProperties: { + use32BitWorkerProcess: { + serializedName: "use32BitWorkerProcess", + readOnly: true, + xmlName: "use32BitWorkerProcess", + type: { + name: "Boolean", + }, + }, + linuxFxVersion: { + serializedName: "linuxFxVersion", + readOnly: true, + xmlName: "linuxFxVersion", + type: { + name: "String", + }, + }, + javaVersion: { + serializedName: "javaVersion", + readOnly: true, + xmlName: "javaVersion", + type: { + name: "String", + }, + }, + powerShellVersion: { + serializedName: "powerShellVersion", + readOnly: true, + xmlName: "powerShellVersion", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WebAppStackCollection: coreClient.CompositeMapper = { + serializedName: "WebAppStackCollection", + type: { + name: "Composite", + className: "WebAppStackCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "KubeEnvironment", + xmlElementName: "WebAppStack", type: { name: "Sequence", element: { type: { name: "Composite", - className: "KubeEnvironment", + className: "WebAppStack", }, }, }, @@ -7463,342 +7447,312 @@ export const KubeEnvironmentCollection: coreClient.CompositeMapper = { }, }; -export const ArcConfiguration: coreClient.CompositeMapper = { - serializedName: "ArcConfiguration", +export const WebAppMajorVersion: coreClient.CompositeMapper = { + serializedName: "WebAppMajorVersion", type: { name: "Composite", - className: "ArcConfiguration", + className: "WebAppMajorVersion", modelProperties: { - artifactsStorageType: { - serializedName: "artifactsStorageType", - xmlName: "artifactsStorageType", + displayText: { + serializedName: "displayText", + readOnly: true, + xmlName: "displayText", type: { - name: "Enum", - allowedValues: ["LocalNode", "NetworkFileSystem"], + name: "String", }, }, - artifactStorageClassName: { - serializedName: "artifactStorageClassName", - xmlName: "artifactStorageClassName", + value: { + serializedName: "value", + readOnly: true, + xmlName: "value", type: { name: "String", }, }, - artifactStorageMountPath: { - serializedName: "artifactStorageMountPath", - xmlName: "artifactStorageMountPath", + minorVersions: { + serializedName: "minorVersions", + readOnly: true, + xmlName: "minorVersions", + xmlElementName: "WebAppMinorVersion", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WebAppMinorVersion", + }, + }, }, }, - artifactStorageNodeName: { - serializedName: "artifactStorageNodeName", - xmlName: "artifactStorageNodeName", + }, + }, +}; + +export const WebAppMinorVersion: coreClient.CompositeMapper = { + serializedName: "WebAppMinorVersion", + type: { + name: "Composite", + className: "WebAppMinorVersion", + modelProperties: { + displayText: { + serializedName: "displayText", + readOnly: true, + xmlName: "displayText", type: { name: "String", }, }, - artifactStorageAccessMode: { - serializedName: "artifactStorageAccessMode", - xmlName: "artifactStorageAccessMode", + value: { + serializedName: "value", + readOnly: true, + xmlName: "value", type: { name: "String", }, }, - frontEndServiceConfiguration: { - serializedName: "frontEndServiceConfiguration", - xmlName: "frontEndServiceConfiguration", + stackSettings: { + serializedName: "stackSettings", + xmlName: "stackSettings", type: { name: "Composite", - className: "FrontEndConfiguration", - }, - }, - kubeConfig: { - serializedName: "kubeConfig", - xmlName: "kubeConfig", - type: { - name: "String", + className: "WebAppRuntimes", }, }, }, }, }; -export const FrontEndConfiguration: coreClient.CompositeMapper = { - serializedName: "FrontEndConfiguration", +export const WebAppRuntimes: coreClient.CompositeMapper = { + serializedName: "WebAppRuntimes", type: { name: "Composite", - className: "FrontEndConfiguration", + className: "WebAppRuntimes", modelProperties: { - kind: { - serializedName: "kind", - xmlName: "kind", + linuxRuntimeSettings: { + serializedName: "linuxRuntimeSettings", + xmlName: "linuxRuntimeSettings", type: { - name: "Enum", - allowedValues: ["NodePort", "LoadBalancer"], + name: "Composite", + className: "WebAppRuntimeSettings", }, }, - }, - }, -}; - -export const AppLogsConfiguration: coreClient.CompositeMapper = { - serializedName: "AppLogsConfiguration", - type: { - name: "Composite", - className: "AppLogsConfiguration", - modelProperties: { - destination: { - serializedName: "destination", - xmlName: "destination", + windowsRuntimeSettings: { + serializedName: "windowsRuntimeSettings", + xmlName: "windowsRuntimeSettings", type: { - name: "String", + name: "Composite", + className: "WebAppRuntimeSettings", }, }, - logAnalyticsConfiguration: { - serializedName: "logAnalyticsConfiguration", - xmlName: "logAnalyticsConfiguration", + linuxContainerSettings: { + serializedName: "linuxContainerSettings", + xmlName: "linuxContainerSettings", type: { name: "Composite", - className: "LogAnalyticsConfiguration", + className: "LinuxJavaContainerSettings", + }, + }, + windowsContainerSettings: { + serializedName: "windowsContainerSettings", + xmlName: "windowsContainerSettings", + type: { + name: "Composite", + className: "WindowsJavaContainerSettings", }, }, }, }, }; -export const LogAnalyticsConfiguration: coreClient.CompositeMapper = { - serializedName: "LogAnalyticsConfiguration", +export const WebAppRuntimeSettings: coreClient.CompositeMapper = { + serializedName: "WebAppRuntimeSettings", type: { name: "Composite", - className: "LogAnalyticsConfiguration", + className: "WebAppRuntimeSettings", modelProperties: { - customerId: { - serializedName: "customerId", - xmlName: "customerId", + runtimeVersion: { + serializedName: "runtimeVersion", + readOnly: true, + xmlName: "runtimeVersion", type: { name: "String", }, }, - sharedKey: { - serializedName: "sharedKey", - xmlName: "sharedKey", + remoteDebuggingSupported: { + serializedName: "remoteDebuggingSupported", + readOnly: true, + xmlName: "remoteDebuggingSupported", type: { - name: "String", + name: "Boolean", }, }, - }, - }, -}; - -export const ContainerAppsConfiguration: coreClient.CompositeMapper = { - serializedName: "ContainerAppsConfiguration", - type: { - name: "Composite", - className: "ContainerAppsConfiguration", - modelProperties: { - daprAIInstrumentationKey: { - serializedName: "daprAIInstrumentationKey", - xmlName: "daprAIInstrumentationKey", + appInsightsSettings: { + serializedName: "appInsightsSettings", + xmlName: "appInsightsSettings", type: { - name: "String", + name: "Composite", + className: "AppInsightsWebAppStackSettings", }, }, - platformReservedCidr: { - serializedName: "platformReservedCidr", - xmlName: "platformReservedCidr", + gitHubActionSettings: { + serializedName: "gitHubActionSettings", + xmlName: "gitHubActionSettings", type: { - name: "String", + name: "Composite", + className: "GitHubActionWebAppStackSettings", }, }, - platformReservedDnsIP: { - serializedName: "platformReservedDnsIP", - xmlName: "platformReservedDnsIP", + isPreview: { + serializedName: "isPreview", + readOnly: true, + xmlName: "isPreview", type: { - name: "String", + name: "Boolean", }, }, - controlPlaneSubnetResourceId: { - serializedName: "controlPlaneSubnetResourceId", - xmlName: "controlPlaneSubnetResourceId", + isDeprecated: { + serializedName: "isDeprecated", + readOnly: true, + xmlName: "isDeprecated", type: { - name: "String", + name: "Boolean", }, }, - appSubnetResourceId: { - serializedName: "appSubnetResourceId", - xmlName: "appSubnetResourceId", + isHidden: { + serializedName: "isHidden", + readOnly: true, + xmlName: "isHidden", type: { - name: "String", + name: "Boolean", }, }, - dockerBridgeCidr: { - serializedName: "dockerBridgeCidr", - xmlName: "dockerBridgeCidr", + endOfLifeDate: { + serializedName: "endOfLifeDate", + readOnly: true, + xmlName: "endOfLifeDate", type: { - name: "String", + name: "DateTime", }, }, - }, - }, -}; - -export const ApplicationStackCollection: coreClient.CompositeMapper = { - serializedName: "ApplicationStackCollection", - type: { - name: "Composite", - className: "ApplicationStackCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "ApplicationStackResource", + isAutoUpdate: { + serializedName: "isAutoUpdate", + readOnly: true, + xmlName: "isAutoUpdate", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationStackResource", - }, - }, + name: "Boolean", }, }, - nextLink: { - serializedName: "nextLink", + isEarlyAccess: { + serializedName: "isEarlyAccess", readOnly: true, - xmlName: "nextLink", + xmlName: "isEarlyAccess", type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const ApplicationStack: coreClient.CompositeMapper = { - serializedName: "ApplicationStack", +export const LinuxJavaContainerSettings: coreClient.CompositeMapper = { + serializedName: "LinuxJavaContainerSettings", type: { name: "Composite", - className: "ApplicationStack", + className: "LinuxJavaContainerSettings", modelProperties: { - name: { - serializedName: "name", - xmlName: "name", + java11Runtime: { + serializedName: "java11Runtime", + readOnly: true, + xmlName: "java11Runtime", type: { name: "String", }, }, - display: { - serializedName: "display", - xmlName: "display", + java8Runtime: { + serializedName: "java8Runtime", + readOnly: true, + xmlName: "java8Runtime", type: { name: "String", }, }, - dependency: { - serializedName: "dependency", - xmlName: "dependency", + isPreview: { + serializedName: "isPreview", + readOnly: true, + xmlName: "isPreview", type: { - name: "String", + name: "Boolean", }, }, - majorVersions: { - serializedName: "majorVersions", - xmlName: "majorVersions", - xmlElementName: "StackMajorVersion", + isDeprecated: { + serializedName: "isDeprecated", + readOnly: true, + xmlName: "isDeprecated", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StackMajorVersion", - }, - }, + name: "Boolean", }, }, - frameworks: { - serializedName: "frameworks", - xmlName: "frameworks", - xmlElementName: "ApplicationStack", + isHidden: { + serializedName: "isHidden", + readOnly: true, + xmlName: "isHidden", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationStack", - }, - }, + name: "Boolean", }, }, - isDeprecated: { - serializedName: "isDeprecated", - xmlName: "isDeprecated", - xmlElementName: "ApplicationStack", + endOfLifeDate: { + serializedName: "endOfLifeDate", + readOnly: true, + xmlName: "endOfLifeDate", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationStack", - }, - }, + name: "DateTime", + }, + }, + isAutoUpdate: { + serializedName: "isAutoUpdate", + readOnly: true, + xmlName: "isAutoUpdate", + type: { + name: "Boolean", + }, + }, + isEarlyAccess: { + serializedName: "isEarlyAccess", + readOnly: true, + xmlName: "isEarlyAccess", + type: { + name: "Boolean", }, }, }, }, }; -export const StackMajorVersion: coreClient.CompositeMapper = { - serializedName: "StackMajorVersion", +export const WindowsJavaContainerSettings: coreClient.CompositeMapper = { + serializedName: "WindowsJavaContainerSettings", type: { name: "Composite", - className: "StackMajorVersion", + className: "WindowsJavaContainerSettings", modelProperties: { - displayVersion: { - serializedName: "displayVersion", - xmlName: "displayVersion", + javaContainer: { + serializedName: "javaContainer", + readOnly: true, + xmlName: "javaContainer", type: { name: "String", }, }, - runtimeVersion: { - serializedName: "runtimeVersion", - xmlName: "runtimeVersion", + javaContainerVersion: { + serializedName: "javaContainerVersion", + readOnly: true, + xmlName: "javaContainerVersion", type: { name: "String", }, }, - isDefault: { - serializedName: "isDefault", - xmlName: "isDefault", - type: { - name: "Boolean", - }, - }, - minorVersions: { - serializedName: "minorVersions", - xmlName: "minorVersions", - xmlElementName: "StackMinorVersion", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StackMinorVersion", - }, - }, - }, - }, - applicationInsights: { - serializedName: "applicationInsights", - xmlName: "applicationInsights", - type: { - name: "Boolean", - }, - }, isPreview: { serializedName: "isPreview", + readOnly: true, xmlName: "isPreview", type: { name: "Boolean", @@ -7806,6 +7760,7 @@ export const StackMajorVersion: coreClient.CompositeMapper = { }, isDeprecated: { serializedName: "isDeprecated", + readOnly: true, xmlName: "isDeprecated", type: { name: "Boolean", @@ -7813,90 +7768,123 @@ export const StackMajorVersion: coreClient.CompositeMapper = { }, isHidden: { serializedName: "isHidden", + readOnly: true, xmlName: "isHidden", type: { name: "Boolean", }, }, - appSettingsDictionary: { - serializedName: "appSettingsDictionary", - xmlName: "appSettingsDictionary", + endOfLifeDate: { + serializedName: "endOfLifeDate", + readOnly: true, + xmlName: "endOfLifeDate", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "DateTime", }, }, - siteConfigPropertiesDictionary: { - serializedName: "siteConfigPropertiesDictionary", - xmlName: "siteConfigPropertiesDictionary", + isAutoUpdate: { + serializedName: "isAutoUpdate", + readOnly: true, + xmlName: "isAutoUpdate", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Boolean", + }, + }, + isEarlyAccess: { + serializedName: "isEarlyAccess", + readOnly: true, + xmlName: "isEarlyAccess", + type: { + name: "Boolean", }, }, }, }, }; -export const StackMinorVersion: coreClient.CompositeMapper = { - serializedName: "StackMinorVersion", +export const RecommendationCollection: coreClient.CompositeMapper = { + serializedName: "RecommendationCollection", type: { name: "Composite", - className: "StackMinorVersion", + className: "RecommendationCollection", modelProperties: { - displayVersion: { - serializedName: "displayVersion", - xmlName: "displayVersion", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "Recommendation", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Recommendation", + }, + }, }, }, - runtimeVersion: { - serializedName: "runtimeVersion", - xmlName: "runtimeVersion", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { name: "String", }, }, - isDefault: { - serializedName: "isDefault", - xmlName: "isDefault", + }, + }, +}; + +export const ResourceHealthMetadataCollection: coreClient.CompositeMapper = { + serializedName: "ResourceHealthMetadataCollection", + type: { + name: "Composite", + className: "ResourceHealthMetadataCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "ResourceHealthMetadata", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceHealthMetadata", + }, + }, }, }, - isRemoteDebuggingEnabled: { - serializedName: "isRemoteDebuggingEnabled", - xmlName: "isRemoteDebuggingEnabled", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const FunctionAppStackCollection: coreClient.CompositeMapper = { - serializedName: "FunctionAppStackCollection", +export const SourceControlCollection: coreClient.CompositeMapper = { + serializedName: "SourceControlCollection", type: { name: "Composite", - className: "FunctionAppStackCollection", + className: "SourceControlCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "FunctionAppStack", + xmlElementName: "SourceControl", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FunctionAppStack", + className: "SourceControl", }, }, }, @@ -7913,281 +7901,244 @@ export const FunctionAppStackCollection: coreClient.CompositeMapper = { }, }; -export const FunctionAppMajorVersion: coreClient.CompositeMapper = { - serializedName: "FunctionAppMajorVersion", +export const BillingMeterCollection: coreClient.CompositeMapper = { + serializedName: "BillingMeterCollection", type: { name: "Composite", - className: "FunctionAppMajorVersion", + className: "BillingMeterCollection", modelProperties: { - displayText: { - serializedName: "displayText", - readOnly: true, - xmlName: "displayText", - type: { - name: "String", - }, - }, value: { serializedName: "value", - readOnly: true, + required: true, xmlName: "value", - type: { - name: "String", - }, - }, - minorVersions: { - serializedName: "minorVersions", - readOnly: true, - xmlName: "minorVersions", - xmlElementName: "FunctionAppMinorVersion", + xmlElementName: "BillingMeter", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FunctionAppMinorVersion", + className: "BillingMeter", }, }, }, }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, }, }; -export const FunctionAppMinorVersion: coreClient.CompositeMapper = { - serializedName: "FunctionAppMinorVersion", +export const ResourceNameAvailabilityRequest: coreClient.CompositeMapper = { + serializedName: "ResourceNameAvailabilityRequest", type: { name: "Composite", - className: "FunctionAppMinorVersion", + className: "ResourceNameAvailabilityRequest", modelProperties: { - displayText: { - serializedName: "displayText", - readOnly: true, - xmlName: "displayText", + name: { + serializedName: "name", + required: true, + xmlName: "name", type: { name: "String", }, }, - value: { - serializedName: "value", - readOnly: true, - xmlName: "value", + typeParam: { + serializedName: "type", + required: true, + xmlName: "type", type: { name: "String", }, }, - stackSettings: { - serializedName: "stackSettings", - xmlName: "stackSettings", + isFqdn: { + serializedName: "isFqdn", + xmlName: "isFqdn", type: { - name: "Composite", - className: "FunctionAppRuntimes", + name: "Boolean", + }, + }, + environmentId: { + serializedName: "environmentId", + xmlName: "environmentId", + type: { + name: "String", }, }, }, }, }; -export const FunctionAppRuntimes: coreClient.CompositeMapper = { - serializedName: "FunctionAppRuntimes", +export const ResourceNameAvailability: coreClient.CompositeMapper = { + serializedName: "ResourceNameAvailability", type: { name: "Composite", - className: "FunctionAppRuntimes", + className: "ResourceNameAvailability", modelProperties: { - linuxRuntimeSettings: { - serializedName: "linuxRuntimeSettings", - xmlName: "linuxRuntimeSettings", + nameAvailable: { + serializedName: "nameAvailable", + xmlName: "nameAvailable", type: { - name: "Composite", - className: "FunctionAppRuntimeSettings", + name: "Boolean", }, }, - windowsRuntimeSettings: { - serializedName: "windowsRuntimeSettings", - xmlName: "windowsRuntimeSettings", + reason: { + serializedName: "reason", + xmlName: "reason", type: { - name: "Composite", - className: "FunctionAppRuntimeSettings", + name: "String", + }, + }, + message: { + serializedName: "message", + xmlName: "message", + type: { + name: "String", }, }, }, }, }; -export const FunctionAppRuntimeSettings: coreClient.CompositeMapper = { - serializedName: "FunctionAppRuntimeSettings", +export const CustomHostnameSitesCollection: coreClient.CompositeMapper = { + serializedName: "CustomHostnameSitesCollection", type: { name: "Composite", - className: "FunctionAppRuntimeSettings", + className: "CustomHostnameSitesCollection", modelProperties: { - runtimeVersion: { - serializedName: "runtimeVersion", - readOnly: true, - xmlName: "runtimeVersion", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "CustomHostnameSites", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomHostnameSites", + }, + }, }, }, - remoteDebuggingSupported: { - serializedName: "remoteDebuggingSupported", + nextLink: { + serializedName: "nextLink", readOnly: true, - xmlName: "remoteDebuggingSupported", + xmlName: "nextLink", type: { - name: "Boolean", + name: "String", }, }, - appInsightsSettings: { - serializedName: "appInsightsSettings", - xmlName: "appInsightsSettings", - type: { - name: "Composite", - className: "AppInsightsWebAppStackSettings", - }, - }, - gitHubActionSettings: { - serializedName: "gitHubActionSettings", - xmlName: "gitHubActionSettings", - type: { - name: "Composite", - className: "GitHubActionWebAppStackSettings", - }, - }, - appSettingsDictionary: { - serializedName: "appSettingsDictionary", - readOnly: true, - xmlName: "appSettingsDictionary", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - siteConfigPropertiesDictionary: { - serializedName: "siteConfigPropertiesDictionary", - xmlName: "siteConfigPropertiesDictionary", - type: { - name: "Composite", - className: "SiteConfigPropertiesDictionary", - }, - }, - supportedFunctionsExtensionVersions: { - serializedName: "supportedFunctionsExtensionVersions", - readOnly: true, - xmlName: "supportedFunctionsExtensionVersions", - xmlElementName: - "FunctionAppRuntimeSettingsSupportedFunctionsExtensionVersionsItem", + }, + }, +}; + +export const DeploymentLocations: coreClient.CompositeMapper = { + serializedName: "DeploymentLocations", + type: { + name: "Composite", + className: "DeploymentLocations", + modelProperties: { + locations: { + serializedName: "locations", + xmlName: "locations", + xmlElementName: "GeoRegion", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "GeoRegion", }, }, }, }, - isPreview: { - serializedName: "isPreview", - readOnly: true, - xmlName: "isPreview", - type: { - name: "Boolean", - }, - }, - isDeprecated: { - serializedName: "isDeprecated", - readOnly: true, - xmlName: "isDeprecated", - type: { - name: "Boolean", - }, - }, - isHidden: { - serializedName: "isHidden", - readOnly: true, - xmlName: "isHidden", - type: { - name: "Boolean", - }, - }, - endOfLifeDate: { - serializedName: "endOfLifeDate", - readOnly: true, - xmlName: "endOfLifeDate", - type: { - name: "DateTime", - }, - }, - isAutoUpdate: { - serializedName: "isAutoUpdate", - readOnly: true, - xmlName: "isAutoUpdate", - type: { - name: "Boolean", - }, - }, - isEarlyAccess: { - serializedName: "isEarlyAccess", - readOnly: true, - xmlName: "isEarlyAccess", + hostingEnvironments: { + serializedName: "hostingEnvironments", + xmlName: "hostingEnvironments", + xmlElementName: "AppServiceEnvironment", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AppServiceEnvironment", + }, + }, }, }, - isDefault: { - serializedName: "isDefault", - readOnly: true, - xmlName: "isDefault", + hostingEnvironmentDeploymentInfos: { + serializedName: "hostingEnvironmentDeploymentInfos", + xmlName: "hostingEnvironmentDeploymentInfos", + xmlElementName: "HostingEnvironmentDeploymentInfo", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HostingEnvironmentDeploymentInfo", + }, + }, }, }, }, }, }; -export const AppInsightsWebAppStackSettings: coreClient.CompositeMapper = { - serializedName: "AppInsightsWebAppStackSettings", +export const HostingEnvironmentDeploymentInfo: coreClient.CompositeMapper = { + serializedName: "HostingEnvironmentDeploymentInfo", type: { name: "Composite", - className: "AppInsightsWebAppStackSettings", + className: "HostingEnvironmentDeploymentInfo", modelProperties: { - isSupported: { - serializedName: "isSupported", - readOnly: true, - xmlName: "isSupported", + name: { + serializedName: "name", + xmlName: "name", type: { - name: "Boolean", + name: "String", }, }, - isDefaultOff: { - serializedName: "isDefaultOff", - readOnly: true, - xmlName: "isDefaultOff", + location: { + serializedName: "location", + xmlName: "location", type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const GitHubActionWebAppStackSettings: coreClient.CompositeMapper = { - serializedName: "GitHubActionWebAppStackSettings", +export const AseRegionCollection: coreClient.CompositeMapper = { + serializedName: "AseRegionCollection", type: { name: "Composite", - className: "GitHubActionWebAppStackSettings", + className: "AseRegionCollection", modelProperties: { - isSupported: { - serializedName: "isSupported", - readOnly: true, - xmlName: "isSupported", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "AseRegion", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AseRegion", + }, + }, }, }, - supportedVersion: { - serializedName: "supportedVersion", + nextLink: { + serializedName: "nextLink", readOnly: true, - xmlName: "supportedVersion", + xmlName: "nextLink", type: { name: "String", }, @@ -8196,40 +8147,31 @@ export const GitHubActionWebAppStackSettings: coreClient.CompositeMapper = { }, }; -export const SiteConfigPropertiesDictionary: coreClient.CompositeMapper = { - serializedName: "SiteConfigPropertiesDictionary", +export const GeoRegionCollection: coreClient.CompositeMapper = { + serializedName: "GeoRegionCollection", type: { name: "Composite", - className: "SiteConfigPropertiesDictionary", + className: "GeoRegionCollection", modelProperties: { - use32BitWorkerProcess: { - serializedName: "use32BitWorkerProcess", - readOnly: true, - xmlName: "use32BitWorkerProcess", - type: { - name: "Boolean", - }, - }, - linuxFxVersion: { - serializedName: "linuxFxVersion", - readOnly: true, - xmlName: "linuxFxVersion", - type: { - name: "String", - }, - }, - javaVersion: { - serializedName: "javaVersion", - readOnly: true, - xmlName: "javaVersion", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "GeoRegion", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GeoRegion", + }, + }, }, }, - powerShellVersion: { - serializedName: "powerShellVersion", + nextLink: { + serializedName: "nextLink", readOnly: true, - xmlName: "powerShellVersion", + xmlName: "nextLink", type: { name: "String", }, @@ -8238,23 +8180,23 @@ export const SiteConfigPropertiesDictionary: coreClient.CompositeMapper = { }, }; -export const WebAppStackCollection: coreClient.CompositeMapper = { - serializedName: "WebAppStackCollection", +export const IdentifierCollection: coreClient.CompositeMapper = { + serializedName: "IdentifierCollection", type: { name: "Composite", - className: "WebAppStackCollection", + className: "IdentifierCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "WebAppStack", + xmlElementName: "Identifier", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WebAppStack", + className: "Identifier", }, }, }, @@ -8271,419 +8213,421 @@ export const WebAppStackCollection: coreClient.CompositeMapper = { }, }; -export const WebAppMajorVersion: coreClient.CompositeMapper = { - serializedName: "WebAppMajorVersion", +export const PremierAddOnOfferCollection: coreClient.CompositeMapper = { + serializedName: "PremierAddOnOfferCollection", type: { name: "Composite", - className: "WebAppMajorVersion", + className: "PremierAddOnOfferCollection", modelProperties: { - displayText: { - serializedName: "displayText", - readOnly: true, - xmlName: "displayText", - type: { - name: "String", - }, - }, value: { serializedName: "value", - readOnly: true, + required: true, xmlName: "value", - type: { - name: "String", - }, - }, - minorVersions: { - serializedName: "minorVersions", - readOnly: true, - xmlName: "minorVersions", - xmlElementName: "WebAppMinorVersion", + xmlElementName: "PremierAddOnOffer", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WebAppMinorVersion", + className: "PremierAddOnOffer", }, }, }, }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, }, }; -export const WebAppMinorVersion: coreClient.CompositeMapper = { - serializedName: "WebAppMinorVersion", +export const SkuInfos: coreClient.CompositeMapper = { + serializedName: "SkuInfos", type: { name: "Composite", - className: "WebAppMinorVersion", + className: "SkuInfos", modelProperties: { - displayText: { - serializedName: "displayText", - readOnly: true, - xmlName: "displayText", - type: { - name: "String", - }, - }, - value: { - serializedName: "value", - readOnly: true, - xmlName: "value", + resourceType: { + serializedName: "resourceType", + xmlName: "resourceType", type: { name: "String", }, }, - stackSettings: { - serializedName: "stackSettings", - xmlName: "stackSettings", + skus: { + serializedName: "skus", + xmlName: "skus", + xmlElementName: "GlobalCsmSkuDescription", type: { - name: "Composite", - className: "WebAppRuntimes", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GlobalCsmSkuDescription", + }, + }, }, }, }, }, }; -export const WebAppRuntimes: coreClient.CompositeMapper = { - serializedName: "WebAppRuntimes", +export const GlobalCsmSkuDescription: coreClient.CompositeMapper = { + serializedName: "GlobalCsmSkuDescription", type: { name: "Composite", - className: "WebAppRuntimes", + className: "GlobalCsmSkuDescription", modelProperties: { - linuxRuntimeSettings: { - serializedName: "linuxRuntimeSettings", - xmlName: "linuxRuntimeSettings", + name: { + serializedName: "name", + xmlName: "name", type: { - name: "Composite", - className: "WebAppRuntimeSettings", + name: "String", }, }, - windowsRuntimeSettings: { - serializedName: "windowsRuntimeSettings", - xmlName: "windowsRuntimeSettings", + tier: { + serializedName: "tier", + xmlName: "tier", type: { - name: "Composite", - className: "WebAppRuntimeSettings", + name: "String", }, }, - linuxContainerSettings: { - serializedName: "linuxContainerSettings", - xmlName: "linuxContainerSettings", + size: { + serializedName: "size", + xmlName: "size", type: { - name: "Composite", - className: "LinuxJavaContainerSettings", + name: "String", }, }, - windowsContainerSettings: { - serializedName: "windowsContainerSettings", - xmlName: "windowsContainerSettings", + family: { + serializedName: "family", + xmlName: "family", + type: { + name: "String", + }, + }, + capacity: { + serializedName: "capacity", + xmlName: "capacity", type: { name: "Composite", - className: "WindowsJavaContainerSettings", + className: "SkuCapacity", + }, + }, + locations: { + serializedName: "locations", + xmlName: "locations", + xmlElementName: "GlobalCsmSkuDescriptionLocationsItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + capabilities: { + serializedName: "capabilities", + xmlName: "capabilities", + xmlElementName: "Capability", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Capability", + }, + }, }, }, }, }, }; -export const WebAppRuntimeSettings: coreClient.CompositeMapper = { - serializedName: "WebAppRuntimeSettings", +export const CsmMoveResourceEnvelope: coreClient.CompositeMapper = { + serializedName: "CsmMoveResourceEnvelope", type: { name: "Composite", - className: "WebAppRuntimeSettings", + className: "CsmMoveResourceEnvelope", modelProperties: { - runtimeVersion: { - serializedName: "runtimeVersion", - readOnly: true, - xmlName: "runtimeVersion", - type: { - name: "String", + targetResourceGroup: { + constraints: { + Pattern: new RegExp(" ^[-\\w\\._\\(\\)]+[^\\.]$"), + MaxLength: 90, + MinLength: 1, }, - }, - remoteDebuggingSupported: { - serializedName: "remoteDebuggingSupported", - readOnly: true, - xmlName: "remoteDebuggingSupported", + serializedName: "targetResourceGroup", + xmlName: "targetResourceGroup", type: { - name: "Boolean", + name: "String", }, }, - appInsightsSettings: { - serializedName: "appInsightsSettings", - xmlName: "appInsightsSettings", + resources: { + serializedName: "resources", + xmlName: "resources", + xmlElementName: "CsmMoveResourceEnvelopeResourcesItem", type: { - name: "Composite", - className: "AppInsightsWebAppStackSettings", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - gitHubActionSettings: { - serializedName: "gitHubActionSettings", - xmlName: "gitHubActionSettings", + }, + }, +}; + +export const ValidateRequest: coreClient.CompositeMapper = { + serializedName: "ValidateRequest", + type: { + name: "Composite", + className: "ValidateRequest", + modelProperties: { + name: { + serializedName: "name", + required: true, + xmlName: "name", type: { - name: "Composite", - className: "GitHubActionWebAppStackSettings", + name: "String", }, }, - isPreview: { - serializedName: "isPreview", - readOnly: true, - xmlName: "isPreview", + type: { + serializedName: "type", + required: true, + xmlName: "type", type: { - name: "Boolean", + name: "String", }, }, - isDeprecated: { - serializedName: "isDeprecated", - readOnly: true, - xmlName: "isDeprecated", + location: { + serializedName: "location", + required: true, + xmlName: "location", type: { - name: "Boolean", + name: "String", }, }, - isHidden: { - serializedName: "isHidden", - readOnly: true, - xmlName: "isHidden", + serverFarmId: { + serializedName: "properties.serverFarmId", + xmlName: "properties.serverFarmId", type: { - name: "Boolean", + name: "String", }, }, - endOfLifeDate: { - serializedName: "endOfLifeDate", - readOnly: true, - xmlName: "endOfLifeDate", + skuName: { + serializedName: "properties.skuName", + xmlName: "properties.skuName", type: { - name: "DateTime", + name: "String", }, }, - isAutoUpdate: { - serializedName: "isAutoUpdate", - readOnly: true, - xmlName: "isAutoUpdate", + needLinuxWorkers: { + serializedName: "properties.needLinuxWorkers", + xmlName: "properties.needLinuxWorkers", type: { name: "Boolean", }, }, - isEarlyAccess: { - serializedName: "isEarlyAccess", - readOnly: true, - xmlName: "isEarlyAccess", + isSpot: { + serializedName: "properties.isSpot", + xmlName: "properties.isSpot", type: { name: "Boolean", }, }, - }, - }, -}; - -export const LinuxJavaContainerSettings: coreClient.CompositeMapper = { - serializedName: "LinuxJavaContainerSettings", - type: { - name: "Composite", - className: "LinuxJavaContainerSettings", - modelProperties: { - java11Runtime: { - serializedName: "java11Runtime", - readOnly: true, - xmlName: "java11Runtime", + capacity: { + constraints: { + InclusiveMinimum: 1, + }, + serializedName: "properties.capacity", + xmlName: "properties.capacity", type: { - name: "String", + name: "Number", }, }, - java8Runtime: { - serializedName: "java8Runtime", - readOnly: true, - xmlName: "java8Runtime", + hostingEnvironment: { + serializedName: "properties.hostingEnvironment", + xmlName: "properties.hostingEnvironment", type: { name: "String", }, }, - isPreview: { - serializedName: "isPreview", - readOnly: true, - xmlName: "isPreview", + isXenon: { + serializedName: "properties.isXenon", + xmlName: "properties.isXenon", type: { name: "Boolean", }, }, - isDeprecated: { - serializedName: "isDeprecated", - readOnly: true, - xmlName: "isDeprecated", + containerRegistryBaseUrl: { + serializedName: "properties.containerRegistryBaseUrl", + xmlName: "properties.containerRegistryBaseUrl", type: { - name: "Boolean", + name: "String", }, }, - isHidden: { - serializedName: "isHidden", - readOnly: true, - xmlName: "isHidden", + containerRegistryUsername: { + serializedName: "properties.containerRegistryUsername", + xmlName: "properties.containerRegistryUsername", type: { - name: "Boolean", + name: "String", }, }, - endOfLifeDate: { - serializedName: "endOfLifeDate", - readOnly: true, - xmlName: "endOfLifeDate", + containerRegistryPassword: { + serializedName: "properties.containerRegistryPassword", + xmlName: "properties.containerRegistryPassword", type: { - name: "DateTime", + name: "String", }, }, - isAutoUpdate: { - serializedName: "isAutoUpdate", - readOnly: true, - xmlName: "isAutoUpdate", + containerImageRepository: { + serializedName: "properties.containerImageRepository", + xmlName: "properties.containerImageRepository", type: { - name: "Boolean", + name: "String", }, }, - isEarlyAccess: { - serializedName: "isEarlyAccess", - readOnly: true, - xmlName: "isEarlyAccess", + containerImageTag: { + serializedName: "properties.containerImageTag", + xmlName: "properties.containerImageTag", type: { - name: "Boolean", + name: "String", + }, + }, + containerImagePlatform: { + serializedName: "properties.containerImagePlatform", + xmlName: "properties.containerImagePlatform", + type: { + name: "String", + }, + }, + appServiceEnvironment: { + serializedName: "properties.appServiceEnvironment", + xmlName: "properties.appServiceEnvironment", + type: { + name: "Composite", + className: "AppServiceEnvironment", }, }, }, }, }; -export const WindowsJavaContainerSettings: coreClient.CompositeMapper = { - serializedName: "WindowsJavaContainerSettings", +export const ValidateResponse: coreClient.CompositeMapper = { + serializedName: "ValidateResponse", type: { name: "Composite", - className: "WindowsJavaContainerSettings", + className: "ValidateResponse", modelProperties: { - javaContainer: { - serializedName: "javaContainer", - readOnly: true, - xmlName: "javaContainer", + status: { + serializedName: "status", + xmlName: "status", type: { name: "String", }, }, - javaContainerVersion: { - serializedName: "javaContainerVersion", - readOnly: true, - xmlName: "javaContainerVersion", + error: { + serializedName: "error", + xmlName: "error", type: { - name: "String", + name: "Composite", + className: "ValidateResponseError", }, }, - isPreview: { - serializedName: "isPreview", - readOnly: true, - xmlName: "isPreview", + }, + }, +}; + +export const ValidateResponseError: coreClient.CompositeMapper = { + serializedName: "ValidateResponseError", + type: { + name: "Composite", + className: "ValidateResponseError", + modelProperties: { + code: { + serializedName: "code", + xmlName: "code", type: { - name: "Boolean", + name: "String", }, }, - isDeprecated: { - serializedName: "isDeprecated", - readOnly: true, - xmlName: "isDeprecated", + message: { + serializedName: "message", + xmlName: "message", type: { - name: "Boolean", + name: "String", }, }, - isHidden: { - serializedName: "isHidden", - readOnly: true, - xmlName: "isHidden", + }, + }, +}; + +export const StaticSiteBuildProperties: coreClient.CompositeMapper = { + serializedName: "StaticSiteBuildProperties", + type: { + name: "Composite", + className: "StaticSiteBuildProperties", + modelProperties: { + appLocation: { + serializedName: "appLocation", + xmlName: "appLocation", type: { - name: "Boolean", + name: "String", }, }, - endOfLifeDate: { - serializedName: "endOfLifeDate", - readOnly: true, - xmlName: "endOfLifeDate", + apiLocation: { + serializedName: "apiLocation", + xmlName: "apiLocation", type: { - name: "DateTime", + name: "String", }, }, - isAutoUpdate: { - serializedName: "isAutoUpdate", - readOnly: true, - xmlName: "isAutoUpdate", + appArtifactLocation: { + serializedName: "appArtifactLocation", + xmlName: "appArtifactLocation", type: { - name: "Boolean", + name: "String", }, }, - isEarlyAccess: { - serializedName: "isEarlyAccess", - readOnly: true, - xmlName: "isEarlyAccess", + outputLocation: { + serializedName: "outputLocation", + xmlName: "outputLocation", type: { - name: "Boolean", + name: "String", }, }, - }, - }, -}; - -export const RecommendationCollection: coreClient.CompositeMapper = { - serializedName: "RecommendationCollection", - type: { - name: "Composite", - className: "RecommendationCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "Recommendation", + appBuildCommand: { + serializedName: "appBuildCommand", + xmlName: "appBuildCommand", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Recommendation", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + apiBuildCommand: { + serializedName: "apiBuildCommand", + xmlName: "apiBuildCommand", type: { name: "String", }, }, - }, - }, -}; - -export const ResourceHealthMetadataCollection: coreClient.CompositeMapper = { - serializedName: "ResourceHealthMetadataCollection", - type: { - name: "Composite", - className: "ResourceHealthMetadataCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "ResourceHealthMetadata", + skipGithubActionWorkflowGeneration: { + serializedName: "skipGithubActionWorkflowGeneration", + xmlName: "skipGithubActionWorkflowGeneration", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceHealthMetadata", - }, - }, + name: "Boolean", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + githubActionSecretNameOverride: { + serializedName: "githubActionSecretNameOverride", + xmlName: "githubActionSecretNameOverride", type: { name: "String", }, @@ -8692,23 +8636,23 @@ export const ResourceHealthMetadataCollection: coreClient.CompositeMapper = { }, }; -export const SourceControlCollection: coreClient.CompositeMapper = { - serializedName: "SourceControlCollection", +export const StaticSiteCollection: coreClient.CompositeMapper = { + serializedName: "StaticSiteCollection", type: { name: "Composite", - className: "SourceControlCollection", + className: "StaticSiteCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "SourceControl", + xmlElementName: "StaticSiteARMResource", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SourceControl", + className: "StaticSiteARMResource", }, }, }, @@ -8725,71 +8669,151 @@ export const SourceControlCollection: coreClient.CompositeMapper = { }, }; -export const BillingMeterCollection: coreClient.CompositeMapper = { - serializedName: "BillingMeterCollection", - type: { - name: "Composite", - className: "BillingMeterCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "BillingMeter", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BillingMeter", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", +export const ResponseMessageEnvelopeRemotePrivateEndpointConnection: coreClient.CompositeMapper = + { + serializedName: "ResponseMessageEnvelopeRemotePrivateEndpointConnection", + type: { + name: "Composite", + className: "ResponseMessageEnvelopeRemotePrivateEndpointConnection", + modelProperties: { + id: { + serializedName: "id", + xmlName: "id", + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + xmlName: "name", + type: { + name: "String", + }, + }, type: { - name: "String", + serializedName: "type", + xmlName: "type", + type: { + name: "String", + }, + }, + location: { + serializedName: "location", + xmlName: "location", + type: { + name: "String", + }, + }, + tags: { + serializedName: "tags", + xmlName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + plan: { + serializedName: "plan", + xmlName: "plan", + type: { + name: "Composite", + className: "ArmPlan", + }, + }, + properties: { + serializedName: "properties", + xmlName: "properties", + type: { + name: "Composite", + className: "RemotePrivateEndpointConnection", + }, + }, + sku: { + serializedName: "sku", + xmlName: "sku", + type: { + name: "Composite", + className: "SkuDescription", + }, + }, + status: { + serializedName: "status", + xmlName: "status", + type: { + name: "String", + }, + }, + error: { + serializedName: "error", + xmlName: "error", + type: { + name: "Composite", + className: "ErrorEntity", + }, + }, + identity: { + serializedName: "identity", + xmlName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + zones: { + serializedName: "zones", + xmlName: "zones", + xmlElementName: + "ResponseMessageEnvelopeRemotePrivateEndpointConnectionZonesItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, }, }, - }, -}; + }; -export const ResourceNameAvailabilityRequest: coreClient.CompositeMapper = { - serializedName: "ResourceNameAvailabilityRequest", +export const ArmPlan: coreClient.CompositeMapper = { + serializedName: "ArmPlan", type: { name: "Composite", - className: "ResourceNameAvailabilityRequest", + className: "ArmPlan", modelProperties: { name: { serializedName: "name", - required: true, xmlName: "name", type: { name: "String", }, }, - typeParam: { - serializedName: "type", - required: true, - xmlName: "type", + publisher: { + serializedName: "publisher", + xmlName: "publisher", type: { name: "String", }, }, - isFqdn: { - serializedName: "isFqdn", - xmlName: "isFqdn", + product: { + serializedName: "product", + xmlName: "product", type: { - name: "Boolean", + name: "String", }, }, - environmentId: { - serializedName: "environmentId", - xmlName: "environmentId", + promotionCode: { + serializedName: "promotionCode", + xmlName: "promotionCode", + type: { + name: "String", + }, + }, + version: { + serializedName: "version", + xmlName: "version", type: { name: "String", }, @@ -8798,62 +8822,83 @@ export const ResourceNameAvailabilityRequest: coreClient.CompositeMapper = { }, }; -export const ResourceNameAvailability: coreClient.CompositeMapper = { - serializedName: "ResourceNameAvailability", +export const StaticSiteTemplateOptions: coreClient.CompositeMapper = { + serializedName: "StaticSiteTemplateOptions", type: { name: "Composite", - className: "ResourceNameAvailability", + className: "StaticSiteTemplateOptions", modelProperties: { - nameAvailable: { - serializedName: "nameAvailable", - xmlName: "nameAvailable", + templateRepositoryUrl: { + serializedName: "templateRepositoryUrl", + xmlName: "templateRepositoryUrl", type: { - name: "Boolean", + name: "String", }, }, - reason: { - serializedName: "reason", - xmlName: "reason", + owner: { + serializedName: "owner", + xmlName: "owner", type: { name: "String", }, }, - message: { - serializedName: "message", - xmlName: "message", + repositoryName: { + serializedName: "repositoryName", + xmlName: "repositoryName", + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + xmlName: "description", type: { name: "String", }, }, + isPrivate: { + serializedName: "isPrivate", + xmlName: "isPrivate", + type: { + name: "Boolean", + }, + }, }, }, }; -export const CustomHostnameSitesCollection: coreClient.CompositeMapper = { - serializedName: "CustomHostnameSitesCollection", +export const StaticSiteLinkedBackend: coreClient.CompositeMapper = { + serializedName: "StaticSiteLinkedBackend", type: { name: "Composite", - className: "CustomHostnameSitesCollection", + className: "StaticSiteLinkedBackend", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "CustomHostnameSites", + backendResourceId: { + serializedName: "backendResourceId", + xmlName: "backendResourceId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CustomHostnameSites", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + region: { + serializedName: "region", + xmlName: "region", + type: { + name: "String", + }, + }, + createdOn: { + serializedName: "createdOn", readOnly: true, - xmlName: "nextLink", + xmlName: "createdOn", + type: { + name: "DateTime", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + xmlName: "provisioningState", type: { name: "String", }, @@ -8862,132 +8907,116 @@ export const CustomHostnameSitesCollection: coreClient.CompositeMapper = { }, }; -export const DeploymentLocations: coreClient.CompositeMapper = { - serializedName: "DeploymentLocations", +export const DatabaseConnectionOverview: coreClient.CompositeMapper = { + serializedName: "DatabaseConnectionOverview", type: { name: "Composite", - className: "DeploymentLocations", + className: "DatabaseConnectionOverview", modelProperties: { - locations: { - serializedName: "locations", - xmlName: "locations", - xmlElementName: "GeoRegion", + resourceId: { + serializedName: "resourceId", + readOnly: true, + xmlName: "resourceId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GeoRegion", - }, - }, + name: "String", }, }, - hostingEnvironments: { - serializedName: "hostingEnvironments", - xmlName: "hostingEnvironments", - xmlElementName: "AppServiceEnvironment", + connectionIdentity: { + serializedName: "connectionIdentity", + readOnly: true, + xmlName: "connectionIdentity", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AppServiceEnvironment", - }, - }, + name: "String", }, }, - hostingEnvironmentDeploymentInfos: { - serializedName: "hostingEnvironmentDeploymentInfos", - xmlName: "hostingEnvironmentDeploymentInfos", - xmlElementName: "HostingEnvironmentDeploymentInfo", + region: { + serializedName: "region", + readOnly: true, + xmlName: "region", + type: { + name: "String", + }, + }, + configurationFiles: { + serializedName: "configurationFiles", + readOnly: true, + xmlName: "configurationFiles", + xmlElementName: "StaticSiteDatabaseConnectionConfigurationFileOverview", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HostingEnvironmentDeploymentInfo", + className: + "StaticSiteDatabaseConnectionConfigurationFileOverview", }, }, }, }, - }, - }, -}; - -export const HostingEnvironmentDeploymentInfo: coreClient.CompositeMapper = { - serializedName: "HostingEnvironmentDeploymentInfo", - type: { - name: "Composite", - className: "HostingEnvironmentDeploymentInfo", - modelProperties: { name: { serializedName: "name", + readOnly: true, xmlName: "name", type: { name: "String", }, }, - location: { - serializedName: "location", - xmlName: "location", - type: { - name: "String", - }, - }, }, }, }; -export const AseRegionCollection: coreClient.CompositeMapper = { - serializedName: "AseRegionCollection", - type: { - name: "Composite", - className: "AseRegionCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "AseRegion", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AseRegion", - }, +export const StaticSiteDatabaseConnectionConfigurationFileOverview: coreClient.CompositeMapper = + { + serializedName: "StaticSiteDatabaseConnectionConfigurationFileOverview", + type: { + name: "Composite", + className: "StaticSiteDatabaseConnectionConfigurationFileOverview", + modelProperties: { + fileName: { + serializedName: "fileName", + readOnly: true, + xmlName: "fileName", + type: { + name: "String", + }, + }, + contents: { + serializedName: "contents", + readOnly: true, + xmlName: "contents", + type: { + name: "String", }, }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", type: { - name: "String", + serializedName: "type", + readOnly: true, + xmlName: "type", + type: { + name: "String", + }, }, }, }, - }, -}; + }; -export const GeoRegionCollection: coreClient.CompositeMapper = { - serializedName: "GeoRegionCollection", +export const StaticSiteUserCollection: coreClient.CompositeMapper = { + serializedName: "StaticSiteUserCollection", type: { name: "Composite", - className: "GeoRegionCollection", + className: "StaticSiteUserCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "GeoRegion", + xmlElementName: "StaticSiteUserARMResource", type: { name: "Sequence", element: { type: { name: "Composite", - className: "GeoRegion", + className: "StaticSiteUserARMResource", }, }, }, @@ -9004,23 +9033,23 @@ export const GeoRegionCollection: coreClient.CompositeMapper = { }, }; -export const IdentifierCollection: coreClient.CompositeMapper = { - serializedName: "IdentifierCollection", +export const StaticSiteBuildCollection: coreClient.CompositeMapper = { + serializedName: "StaticSiteBuildCollection", type: { name: "Composite", - className: "IdentifierCollection", + className: "StaticSiteBuildCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "Identifier", + xmlElementName: "StaticSiteBuildARMResource", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Identifier", + className: "StaticSiteBuildARMResource", }, }, }, @@ -9037,23 +9066,23 @@ export const IdentifierCollection: coreClient.CompositeMapper = { }, }; -export const PremierAddOnOfferCollection: coreClient.CompositeMapper = { - serializedName: "PremierAddOnOfferCollection", +export const DatabaseConnectionCollection: coreClient.CompositeMapper = { + serializedName: "DatabaseConnectionCollection", type: { name: "Composite", - className: "PremierAddOnOfferCollection", + className: "DatabaseConnectionCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "PremierAddOnOffer", + xmlElementName: "DatabaseConnection", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PremierAddOnOffer", + className: "DatabaseConnection", }, }, }, @@ -9070,322 +9099,432 @@ export const PremierAddOnOfferCollection: coreClient.CompositeMapper = { }, }; -export const SkuInfos: coreClient.CompositeMapper = { - serializedName: "SkuInfos", - type: { - name: "Composite", - className: "SkuInfos", - modelProperties: { - resourceType: { - serializedName: "resourceType", - xmlName: "resourceType", - type: { - name: "String", - }, - }, - skus: { - serializedName: "skus", - xmlName: "skus", - xmlElementName: "GlobalCsmSkuDescription", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GlobalCsmSkuDescription", - }, - }, - }, - }, - }, - }, -}; - -export const GlobalCsmSkuDescription: coreClient.CompositeMapper = { - serializedName: "GlobalCsmSkuDescription", +export const DatabaseConnectionPatchRequest: coreClient.CompositeMapper = { + serializedName: "DatabaseConnectionPatchRequest", type: { name: "Composite", - className: "GlobalCsmSkuDescription", + className: "DatabaseConnectionPatchRequest", modelProperties: { - name: { - serializedName: "name", - xmlName: "name", + resourceId: { + serializedName: "properties.resourceId", + xmlName: "properties.resourceId", type: { name: "String", }, }, - tier: { - serializedName: "tier", - xmlName: "tier", + connectionIdentity: { + serializedName: "properties.connectionIdentity", + xmlName: "properties.connectionIdentity", type: { name: "String", }, }, - size: { - serializedName: "size", - xmlName: "size", + connectionString: { + serializedName: "properties.connectionString", + xmlName: "properties.connectionString", type: { name: "String", }, }, - family: { - serializedName: "family", - xmlName: "family", + region: { + serializedName: "properties.region", + xmlName: "properties.region", type: { name: "String", }, }, - capacity: { - serializedName: "capacity", - xmlName: "capacity", - type: { - name: "Composite", - className: "SkuCapacity", - }, - }, - locations: { - serializedName: "locations", - xmlName: "locations", - xmlElementName: "GlobalCsmSkuDescriptionLocationsItem", - type: { - name: "Sequence", - element: { - type: { - name: "String", + }, + }, +}; + +export const StaticSiteFunctionOverviewCollection: coreClient.CompositeMapper = + { + serializedName: "StaticSiteFunctionOverviewCollection", + type: { + name: "Composite", + className: "StaticSiteFunctionOverviewCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "StaticSiteFunctionOverviewARMResource", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StaticSiteFunctionOverviewARMResource", + }, }, }, }, - }, - capabilities: { - serializedName: "capabilities", - xmlName: "capabilities", - xmlElementName: "Capability", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Capability", - }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", }, }, }, }, - }, -}; + }; -export const CsmMoveResourceEnvelope: coreClient.CompositeMapper = { - serializedName: "CsmMoveResourceEnvelope", - type: { - name: "Composite", - className: "CsmMoveResourceEnvelope", - modelProperties: { - targetResourceGroup: { - constraints: { - Pattern: new RegExp(" ^[-\\w\\._\\(\\)]+[^\\.]$"), - MaxLength: 90, - MinLength: 1, +export const StaticSiteUserProvidedFunctionAppsCollection: coreClient.CompositeMapper = + { + serializedName: "StaticSiteUserProvidedFunctionAppsCollection", + type: { + name: "Composite", + className: "StaticSiteUserProvidedFunctionAppsCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "StaticSiteUserProvidedFunctionAppARMResource", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StaticSiteUserProvidedFunctionAppARMResource", + }, + }, + }, }, - serializedName: "targetResourceGroup", - xmlName: "targetResourceGroup", - type: { - name: "String", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, }, }, - resources: { - serializedName: "resources", - xmlName: "resources", - xmlElementName: "CsmMoveResourceEnvelopeResourcesItem", + }, + }; + +export const StaticSiteBasicAuthPropertiesCollection: coreClient.CompositeMapper = + { + serializedName: "StaticSiteBasicAuthPropertiesCollection", + type: { + name: "Composite", + className: "StaticSiteBasicAuthPropertiesCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "StaticSiteBasicAuthPropertiesARMResource", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StaticSiteBasicAuthPropertiesARMResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const StaticSiteCustomDomainOverviewCollection: coreClient.CompositeMapper = + { + serializedName: "StaticSiteCustomDomainOverviewCollection", + type: { + name: "Composite", + className: "StaticSiteCustomDomainOverviewCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "StaticSiteCustomDomainOverviewARMResource", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StaticSiteCustomDomainOverviewARMResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const StaticSiteLinkedBackendsCollection: coreClient.CompositeMapper = { + serializedName: "StaticSiteLinkedBackendsCollection", + type: { + name: "Composite", + className: "StaticSiteLinkedBackendsCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "StaticSiteLinkedBackendARMResource", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "StaticSiteLinkedBackendARMResource", }, }, }, }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, }, }; -export const ValidateRequest: coreClient.CompositeMapper = { - serializedName: "ValidateRequest", +export const CsmSlotEntity: coreClient.CompositeMapper = { + serializedName: "CsmSlotEntity", type: { name: "Composite", - className: "ValidateRequest", + className: "CsmSlotEntity", modelProperties: { - name: { - serializedName: "name", + targetSlot: { + serializedName: "targetSlot", required: true, - xmlName: "name", + xmlName: "targetSlot", type: { name: "String", }, }, - type: { - serializedName: "type", + preserveVnet: { + serializedName: "preserveVnet", required: true, - xmlName: "type", + xmlName: "preserveVnet", type: { - name: "String", + name: "Boolean", }, }, - location: { - serializedName: "location", + }, + }, +}; + +export const BackupSchedule: coreClient.CompositeMapper = { + serializedName: "BackupSchedule", + type: { + name: "Composite", + className: "BackupSchedule", + modelProperties: { + frequencyInterval: { + defaultValue: 7, + serializedName: "frequencyInterval", required: true, - xmlName: "location", - type: { - name: "String", - }, - }, - serverFarmId: { - serializedName: "properties.serverFarmId", - xmlName: "properties.serverFarmId", + xmlName: "frequencyInterval", type: { - name: "String", + name: "Number", }, }, - skuName: { - serializedName: "properties.skuName", - xmlName: "properties.skuName", + frequencyUnit: { + defaultValue: "Day", + serializedName: "frequencyUnit", + required: true, + xmlName: "frequencyUnit", type: { - name: "String", + name: "Enum", + allowedValues: ["Day", "Hour"], }, }, - needLinuxWorkers: { - serializedName: "properties.needLinuxWorkers", - xmlName: "properties.needLinuxWorkers", + keepAtLeastOneBackup: { + defaultValue: true, + serializedName: "keepAtLeastOneBackup", + required: true, + xmlName: "keepAtLeastOneBackup", type: { name: "Boolean", }, }, - isSpot: { - serializedName: "properties.isSpot", - xmlName: "properties.isSpot", + retentionPeriodInDays: { + defaultValue: 30, + serializedName: "retentionPeriodInDays", + required: true, + xmlName: "retentionPeriodInDays", type: { - name: "Boolean", + name: "Number", }, }, - capacity: { - constraints: { - InclusiveMinimum: 1, - }, - serializedName: "properties.capacity", - xmlName: "properties.capacity", + startTime: { + serializedName: "startTime", + xmlName: "startTime", type: { - name: "Number", + name: "DateTime", }, }, - hostingEnvironment: { - serializedName: "properties.hostingEnvironment", - xmlName: "properties.hostingEnvironment", + lastExecutionTime: { + serializedName: "lastExecutionTime", + readOnly: true, + xmlName: "lastExecutionTime", type: { - name: "String", + name: "DateTime", }, }, - isXenon: { - serializedName: "properties.isXenon", - xmlName: "properties.isXenon", + }, + }, +}; + +export const DatabaseBackupSetting: coreClient.CompositeMapper = { + serializedName: "DatabaseBackupSetting", + type: { + name: "Composite", + className: "DatabaseBackupSetting", + modelProperties: { + databaseType: { + serializedName: "databaseType", + required: true, + xmlName: "databaseType", type: { - name: "Boolean", + name: "String", }, }, - containerRegistryBaseUrl: { - serializedName: "properties.containerRegistryBaseUrl", - xmlName: "properties.containerRegistryBaseUrl", + name: { + serializedName: "name", + xmlName: "name", type: { name: "String", }, }, - containerRegistryUsername: { - serializedName: "properties.containerRegistryUsername", - xmlName: "properties.containerRegistryUsername", - type: { - name: "String", - }, - }, - containerRegistryPassword: { - serializedName: "properties.containerRegistryPassword", - xmlName: "properties.containerRegistryPassword", - type: { - name: "String", - }, - }, - containerImageRepository: { - serializedName: "properties.containerImageRepository", - xmlName: "properties.containerImageRepository", - type: { - name: "String", - }, - }, - containerImageTag: { - serializedName: "properties.containerImageTag", - xmlName: "properties.containerImageTag", + connectionStringName: { + serializedName: "connectionStringName", + xmlName: "connectionStringName", type: { name: "String", }, }, - containerImagePlatform: { - serializedName: "properties.containerImagePlatform", - xmlName: "properties.containerImagePlatform", + connectionString: { + serializedName: "connectionString", + xmlName: "connectionString", type: { name: "String", }, }, - appServiceEnvironment: { - serializedName: "properties.appServiceEnvironment", - xmlName: "properties.appServiceEnvironment", - type: { - name: "Composite", - className: "AppServiceEnvironment", - }, - }, }, }, }; -export const ValidateResponse: coreClient.CompositeMapper = { - serializedName: "ValidateResponse", +export const BackupItemCollection: coreClient.CompositeMapper = { + serializedName: "BackupItemCollection", type: { name: "Composite", - className: "ValidateResponse", + className: "BackupItemCollection", modelProperties: { - status: { - serializedName: "status", - xmlName: "status", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "BackupItem", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BackupItem", + }, + }, }, }, - error: { - serializedName: "error", - xmlName: "error", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { - name: "Composite", - className: "ValidateResponseError", + name: "String", }, }, }, }, }; -export const ValidateResponseError: coreClient.CompositeMapper = { - serializedName: "ValidateResponseError", +export const PublishingCredentialsPoliciesCollection: coreClient.CompositeMapper = + { + serializedName: "PublishingCredentialsPoliciesCollection", + type: { + name: "Composite", + className: "PublishingCredentialsPoliciesCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "CsmPublishingCredentialsPoliciesEntity", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CsmPublishingCredentialsPoliciesEntity", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const SiteConfigResourceCollection: coreClient.CompositeMapper = { + serializedName: "SiteConfigResourceCollection", type: { name: "Composite", - className: "ValidateResponseError", + className: "SiteConfigResourceCollection", modelProperties: { - code: { - serializedName: "code", - xmlName: "code", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "SiteConfigResource", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SiteConfigResource", + }, + }, }, }, - message: { - serializedName: "message", - xmlName: "message", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { name: "String", }, @@ -9394,760 +9533,214 @@ export const ValidateResponseError: coreClient.CompositeMapper = { }, }; -export const StaticSiteBuildProperties: coreClient.CompositeMapper = { - serializedName: "StaticSiteBuildProperties", +export const AuthPlatform: coreClient.CompositeMapper = { + serializedName: "AuthPlatform", type: { name: "Composite", - className: "StaticSiteBuildProperties", + className: "AuthPlatform", modelProperties: { - appLocation: { - serializedName: "appLocation", - xmlName: "appLocation", + enabled: { + serializedName: "enabled", + xmlName: "enabled", type: { - name: "String", + name: "Boolean", }, }, - apiLocation: { - serializedName: "apiLocation", - xmlName: "apiLocation", + runtimeVersion: { + serializedName: "runtimeVersion", + xmlName: "runtimeVersion", type: { name: "String", }, }, - appArtifactLocation: { - serializedName: "appArtifactLocation", - xmlName: "appArtifactLocation", + configFilePath: { + serializedName: "configFilePath", + xmlName: "configFilePath", type: { name: "String", }, }, - outputLocation: { - serializedName: "outputLocation", - xmlName: "outputLocation", + }, + }, +}; + +export const GlobalValidation: coreClient.CompositeMapper = { + serializedName: "GlobalValidation", + type: { + name: "Composite", + className: "GlobalValidation", + modelProperties: { + requireAuthentication: { + serializedName: "requireAuthentication", + xmlName: "requireAuthentication", type: { - name: "String", + name: "Boolean", }, }, - appBuildCommand: { - serializedName: "appBuildCommand", - xmlName: "appBuildCommand", + unauthenticatedClientAction: { + serializedName: "unauthenticatedClientAction", + xmlName: "unauthenticatedClientAction", type: { - name: "String", + name: "Enum", + allowedValues: [ + "RedirectToLoginPage", + "AllowAnonymous", + "Return401", + "Return403", + ], }, }, - apiBuildCommand: { - serializedName: "apiBuildCommand", - xmlName: "apiBuildCommand", + redirectToProvider: { + serializedName: "redirectToProvider", + xmlName: "redirectToProvider", type: { name: "String", }, }, - skipGithubActionWorkflowGeneration: { - serializedName: "skipGithubActionWorkflowGeneration", - xmlName: "skipGithubActionWorkflowGeneration", - type: { - name: "Boolean", - }, - }, - githubActionSecretNameOverride: { - serializedName: "githubActionSecretNameOverride", - xmlName: "githubActionSecretNameOverride", + excludedPaths: { + serializedName: "excludedPaths", + xmlName: "excludedPaths", + xmlElementName: "GlobalValidationExcludedPathsItem", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const StaticSiteCollection: coreClient.CompositeMapper = { - serializedName: "StaticSiteCollection", +export const IdentityProviders: coreClient.CompositeMapper = { + serializedName: "IdentityProviders", type: { name: "Composite", - className: "StaticSiteCollection", + className: "IdentityProviders", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteARMResource", + azureActiveDirectory: { + serializedName: "azureActiveDirectory", + xmlName: "azureActiveDirectory", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteARMResource", - }, - }, + name: "Composite", + className: "AzureActiveDirectory", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + facebook: { + serializedName: "facebook", + xmlName: "facebook", type: { - name: "String", + name: "Composite", + className: "Facebook", }, }, - }, - }, -}; - -export const ResponseMessageEnvelopeRemotePrivateEndpointConnection: coreClient.CompositeMapper = - { - serializedName: "ResponseMessageEnvelopeRemotePrivateEndpointConnection", - type: { - name: "Composite", - className: "ResponseMessageEnvelopeRemotePrivateEndpointConnection", - modelProperties: { - id: { - serializedName: "id", - xmlName: "id", - type: { - name: "String", - }, - }, - name: { - serializedName: "name", - xmlName: "name", - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - xmlName: "type", - type: { - name: "String", - }, - }, - location: { - serializedName: "location", - xmlName: "location", - type: { - name: "String", - }, - }, - tags: { - serializedName: "tags", - xmlName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - plan: { - serializedName: "plan", - xmlName: "plan", - type: { - name: "Composite", - className: "ArmPlan", - }, - }, - properties: { - serializedName: "properties", - xmlName: "properties", - type: { - name: "Composite", - className: "RemotePrivateEndpointConnection", - }, - }, - sku: { - serializedName: "sku", - xmlName: "sku", - type: { - name: "Composite", - className: "SkuDescription", - }, - }, - status: { - serializedName: "status", - xmlName: "status", - type: { - name: "String", - }, - }, - error: { - serializedName: "error", - xmlName: "error", - type: { - name: "Composite", - className: "ErrorEntity", - }, - }, - identity: { - serializedName: "identity", - xmlName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", - }, - }, - zones: { - serializedName: "zones", - xmlName: "zones", - xmlElementName: - "ResponseMessageEnvelopeRemotePrivateEndpointConnectionZonesItem", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - }, - }, - }; - -export const ArmPlan: coreClient.CompositeMapper = { - serializedName: "ArmPlan", - type: { - name: "Composite", - className: "ArmPlan", - modelProperties: { - name: { - serializedName: "name", - xmlName: "name", - type: { - name: "String", - }, - }, - publisher: { - serializedName: "publisher", - xmlName: "publisher", - type: { - name: "String", - }, - }, - product: { - serializedName: "product", - xmlName: "product", - type: { - name: "String", - }, - }, - promotionCode: { - serializedName: "promotionCode", - xmlName: "promotionCode", - type: { - name: "String", - }, - }, - version: { - serializedName: "version", - xmlName: "version", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const StaticSiteTemplateOptions: coreClient.CompositeMapper = { - serializedName: "StaticSiteTemplateOptions", - type: { - name: "Composite", - className: "StaticSiteTemplateOptions", - modelProperties: { - templateRepositoryUrl: { - serializedName: "templateRepositoryUrl", - xmlName: "templateRepositoryUrl", - type: { - name: "String", - }, - }, - owner: { - serializedName: "owner", - xmlName: "owner", - type: { - name: "String", - }, - }, - repositoryName: { - serializedName: "repositoryName", - xmlName: "repositoryName", - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - xmlName: "description", - type: { - name: "String", - }, - }, - isPrivate: { - serializedName: "isPrivate", - xmlName: "isPrivate", - type: { - name: "Boolean", - }, - }, - }, - }, -}; - -export const StaticSiteLinkedBackend: coreClient.CompositeMapper = { - serializedName: "StaticSiteLinkedBackend", - type: { - name: "Composite", - className: "StaticSiteLinkedBackend", - modelProperties: { - backendResourceId: { - serializedName: "backendResourceId", - xmlName: "backendResourceId", - type: { - name: "String", - }, - }, - region: { - serializedName: "region", - xmlName: "region", - type: { - name: "String", - }, - }, - createdOn: { - serializedName: "createdOn", - readOnly: true, - xmlName: "createdOn", - type: { - name: "DateTime", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - xmlName: "provisioningState", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const DatabaseConnectionOverview: coreClient.CompositeMapper = { - serializedName: "DatabaseConnectionOverview", - type: { - name: "Composite", - className: "DatabaseConnectionOverview", - modelProperties: { - resourceId: { - serializedName: "resourceId", - readOnly: true, - xmlName: "resourceId", - type: { - name: "String", - }, - }, - connectionIdentity: { - serializedName: "connectionIdentity", - readOnly: true, - xmlName: "connectionIdentity", - type: { - name: "String", - }, - }, - region: { - serializedName: "region", - readOnly: true, - xmlName: "region", - type: { - name: "String", - }, - }, - configurationFiles: { - serializedName: "configurationFiles", - readOnly: true, - xmlName: "configurationFiles", - xmlElementName: "StaticSiteDatabaseConnectionConfigurationFileOverview", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: - "StaticSiteDatabaseConnectionConfigurationFileOverview", - }, - }, - }, - }, - name: { - serializedName: "name", - readOnly: true, - xmlName: "name", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const StaticSiteDatabaseConnectionConfigurationFileOverview: coreClient.CompositeMapper = - { - serializedName: "StaticSiteDatabaseConnectionConfigurationFileOverview", - type: { - name: "Composite", - className: "StaticSiteDatabaseConnectionConfigurationFileOverview", - modelProperties: { - fileName: { - serializedName: "fileName", - readOnly: true, - xmlName: "fileName", - type: { - name: "String", - }, - }, - contents: { - serializedName: "contents", - readOnly: true, - xmlName: "contents", - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, - xmlName: "type", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const StaticSiteUserCollection: coreClient.CompositeMapper = { - serializedName: "StaticSiteUserCollection", - type: { - name: "Composite", - className: "StaticSiteUserCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteUserARMResource", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteUserARMResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const StaticSiteBuildCollection: coreClient.CompositeMapper = { - serializedName: "StaticSiteBuildCollection", - type: { - name: "Composite", - className: "StaticSiteBuildCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteBuildARMResource", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteBuildARMResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const DatabaseConnectionCollection: coreClient.CompositeMapper = { - serializedName: "DatabaseConnectionCollection", - type: { - name: "Composite", - className: "DatabaseConnectionCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "DatabaseConnection", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DatabaseConnection", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + gitHub: { + serializedName: "gitHub", + xmlName: "gitHub", type: { - name: "String", + name: "Composite", + className: "GitHub", }, }, - }, - }, -}; - -export const DatabaseConnectionPatchRequest: coreClient.CompositeMapper = { - serializedName: "DatabaseConnectionPatchRequest", - type: { - name: "Composite", - className: "DatabaseConnectionPatchRequest", - modelProperties: { - resourceId: { - serializedName: "properties.resourceId", - xmlName: "properties.resourceId", + google: { + serializedName: "google", + xmlName: "google", type: { - name: "String", + name: "Composite", + className: "Google", }, }, - connectionIdentity: { - serializedName: "properties.connectionIdentity", - xmlName: "properties.connectionIdentity", + legacyMicrosoftAccount: { + serializedName: "legacyMicrosoftAccount", + xmlName: "legacyMicrosoftAccount", type: { - name: "String", + name: "Composite", + className: "LegacyMicrosoftAccount", }, }, - connectionString: { - serializedName: "properties.connectionString", - xmlName: "properties.connectionString", + twitter: { + serializedName: "twitter", + xmlName: "twitter", type: { - name: "String", + name: "Composite", + className: "Twitter", }, }, - region: { - serializedName: "properties.region", - xmlName: "properties.region", + apple: { + serializedName: "apple", + xmlName: "apple", type: { - name: "String", - }, - }, - }, - }, -}; - -export const StaticSiteFunctionOverviewCollection: coreClient.CompositeMapper = - { - serializedName: "StaticSiteFunctionOverviewCollection", - type: { - name: "Composite", - className: "StaticSiteFunctionOverviewCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteFunctionOverviewARMResource", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteFunctionOverviewARMResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const StaticSiteUserProvidedFunctionAppsCollection: coreClient.CompositeMapper = - { - serializedName: "StaticSiteUserProvidedFunctionAppsCollection", - type: { - name: "Composite", - className: "StaticSiteUserProvidedFunctionAppsCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteUserProvidedFunctionAppARMResource", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteUserProvidedFunctionAppARMResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const StaticSiteBasicAuthPropertiesCollection: coreClient.CompositeMapper = - { - serializedName: "StaticSiteBasicAuthPropertiesCollection", - type: { - name: "Composite", - className: "StaticSiteBasicAuthPropertiesCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteBasicAuthPropertiesARMResource", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteBasicAuthPropertiesARMResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const StaticSiteCustomDomainOverviewCollection: coreClient.CompositeMapper = - { - serializedName: "StaticSiteCustomDomainOverviewCollection", - type: { - name: "Composite", - className: "StaticSiteCustomDomainOverviewCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteCustomDomainOverviewARMResource", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StaticSiteCustomDomainOverviewARMResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String", - }, + name: "Composite", + className: "Apple", }, }, - }, - }; - -export const StaticSiteLinkedBackendsCollection: coreClient.CompositeMapper = { - serializedName: "StaticSiteLinkedBackendsCollection", - type: { - name: "Composite", - className: "StaticSiteLinkedBackendsCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "StaticSiteLinkedBackendARMResource", + azureStaticWebApps: { + serializedName: "azureStaticWebApps", + xmlName: "azureStaticWebApps", type: { - name: "Sequence", - element: { + name: "Composite", + className: "AzureStaticWebApps", + }, + }, + customOpenIdConnectProviders: { + serializedName: "customOpenIdConnectProviders", + xmlName: "customOpenIdConnectProviders", + type: { + name: "Dictionary", + value: { type: { name: "Composite", - className: "StaticSiteLinkedBackendARMResource", + className: "CustomOpenIdConnectProvider", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const CsmSlotEntity: coreClient.CompositeMapper = { - serializedName: "CsmSlotEntity", +export const AzureActiveDirectory: coreClient.CompositeMapper = { + serializedName: "AzureActiveDirectory", type: { name: "Composite", - className: "CsmSlotEntity", + className: "AzureActiveDirectory", modelProperties: { - targetSlot: { - serializedName: "targetSlot", - required: true, - xmlName: "targetSlot", + enabled: { + serializedName: "enabled", + xmlName: "enabled", type: { - name: "String", + name: "Boolean", }, }, - preserveVnet: { - serializedName: "preserveVnet", - required: true, - xmlName: "preserveVnet", + registration: { + serializedName: "registration", + xmlName: "registration", + type: { + name: "Composite", + className: "AzureActiveDirectoryRegistration", + }, + }, + login: { + serializedName: "login", + xmlName: "login", + type: { + name: "Composite", + className: "AzureActiveDirectoryLogin", + }, + }, + validation: { + serializedName: "validation", + xmlName: "validation", + type: { + name: "Composite", + className: "AzureActiveDirectoryValidation", + }, + }, + isAutoProvisioned: { + serializedName: "isAutoProvisioned", + xmlName: "isAutoProvisioned", type: { name: "Boolean", }, @@ -10156,212 +9749,235 @@ export const CsmSlotEntity: coreClient.CompositeMapper = { }, }; -export const BackupSchedule: coreClient.CompositeMapper = { - serializedName: "BackupSchedule", +export const AzureActiveDirectoryRegistration: coreClient.CompositeMapper = { + serializedName: "AzureActiveDirectoryRegistration", type: { name: "Composite", - className: "BackupSchedule", + className: "AzureActiveDirectoryRegistration", modelProperties: { - frequencyInterval: { - defaultValue: 7, - serializedName: "frequencyInterval", - required: true, - xmlName: "frequencyInterval", + openIdIssuer: { + serializedName: "openIdIssuer", + xmlName: "openIdIssuer", type: { - name: "Number", + name: "String", }, }, - frequencyUnit: { - defaultValue: "Day", - serializedName: "frequencyUnit", - required: true, - xmlName: "frequencyUnit", + clientId: { + serializedName: "clientId", + xmlName: "clientId", type: { - name: "Enum", - allowedValues: ["Day", "Hour"], + name: "String", }, }, - keepAtLeastOneBackup: { - defaultValue: true, - serializedName: "keepAtLeastOneBackup", - required: true, - xmlName: "keepAtLeastOneBackup", + clientSecretSettingName: { + serializedName: "clientSecretSettingName", + xmlName: "clientSecretSettingName", type: { - name: "Boolean", + name: "String", }, }, - retentionPeriodInDays: { - defaultValue: 30, - serializedName: "retentionPeriodInDays", - required: true, - xmlName: "retentionPeriodInDays", + clientSecretCertificateThumbprint: { + serializedName: "clientSecretCertificateThumbprint", + xmlName: "clientSecretCertificateThumbprint", type: { - name: "Number", + name: "String", }, }, - startTime: { - serializedName: "startTime", - xmlName: "startTime", + clientSecretCertificateSubjectAlternativeName: { + serializedName: "clientSecretCertificateSubjectAlternativeName", + xmlName: "clientSecretCertificateSubjectAlternativeName", type: { - name: "DateTime", + name: "String", }, }, - lastExecutionTime: { - serializedName: "lastExecutionTime", - readOnly: true, - xmlName: "lastExecutionTime", + clientSecretCertificateIssuer: { + serializedName: "clientSecretCertificateIssuer", + xmlName: "clientSecretCertificateIssuer", type: { - name: "DateTime", + name: "String", }, }, }, }, }; -export const DatabaseBackupSetting: coreClient.CompositeMapper = { - serializedName: "DatabaseBackupSetting", +export const AzureActiveDirectoryLogin: coreClient.CompositeMapper = { + serializedName: "AzureActiveDirectoryLogin", type: { name: "Composite", - className: "DatabaseBackupSetting", + className: "AzureActiveDirectoryLogin", modelProperties: { - databaseType: { - serializedName: "databaseType", - required: true, - xmlName: "databaseType", - type: { - name: "String", - }, - }, - name: { - serializedName: "name", - xmlName: "name", - type: { - name: "String", - }, - }, - connectionStringName: { - serializedName: "connectionStringName", - xmlName: "connectionStringName", + loginParameters: { + serializedName: "loginParameters", + xmlName: "loginParameters", + xmlElementName: "AzureActiveDirectoryLoginParametersItem", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - connectionString: { - serializedName: "connectionString", - xmlName: "connectionString", + disableWWWAuthenticate: { + serializedName: "disableWWWAuthenticate", + xmlName: "disableWWWAuthenticate", type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const BackupItemCollection: coreClient.CompositeMapper = { - serializedName: "BackupItemCollection", +export const AzureActiveDirectoryValidation: coreClient.CompositeMapper = { + serializedName: "AzureActiveDirectoryValidation", type: { name: "Composite", - className: "BackupItemCollection", + className: "AzureActiveDirectoryValidation", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "BackupItem", + jwtClaimChecks: { + serializedName: "jwtClaimChecks", + xmlName: "jwtClaimChecks", + type: { + name: "Composite", + className: "JwtClaimChecks", + }, + }, + allowedAudiences: { + serializedName: "allowedAudiences", + xmlName: "allowedAudiences", + xmlElementName: "AzureActiveDirectoryValidationAllowedAudiencesItem", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "BackupItem", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + defaultAuthorizationPolicy: { + serializedName: "defaultAuthorizationPolicy", + xmlName: "defaultAuthorizationPolicy", type: { - name: "String", + name: "Composite", + className: "DefaultAuthorizationPolicy", }, }, }, }, }; -export const PublishingCredentialsPoliciesCollection: coreClient.CompositeMapper = - { - serializedName: "PublishingCredentialsPoliciesCollection", - type: { - name: "Composite", - className: "PublishingCredentialsPoliciesCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "CsmPublishingCredentialsPoliciesEntity", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CsmPublishingCredentialsPoliciesEntity", - }, +export const JwtClaimChecks: coreClient.CompositeMapper = { + serializedName: "JwtClaimChecks", + type: { + name: "Composite", + className: "JwtClaimChecks", + modelProperties: { + allowedGroups: { + serializedName: "allowedGroups", + xmlName: "allowedGroups", + xmlElementName: "JwtClaimChecksAllowedGroupsItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + allowedClientApplications: { + serializedName: "allowedClientApplications", + xmlName: "allowedClientApplications", + xmlElementName: "JwtClaimChecksAllowedClientApplicationsItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String", + }, + }, + }, +}; + +export const DefaultAuthorizationPolicy: coreClient.CompositeMapper = { + serializedName: "DefaultAuthorizationPolicy", + type: { + name: "Composite", + className: "DefaultAuthorizationPolicy", + modelProperties: { + allowedPrincipals: { + serializedName: "allowedPrincipals", + xmlName: "allowedPrincipals", + type: { + name: "Composite", + className: "AllowedPrincipals", + }, + }, + allowedApplications: { + serializedName: "allowedApplications", + xmlName: "allowedApplications", + xmlElementName: "DefaultAuthorizationPolicyAllowedApplicationsItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, }, }, }, }, - }; + }, +}; -export const SiteConfigResourceCollection: coreClient.CompositeMapper = { - serializedName: "SiteConfigResourceCollection", +export const AllowedPrincipals: coreClient.CompositeMapper = { + serializedName: "AllowedPrincipals", type: { name: "Composite", - className: "SiteConfigResourceCollection", + className: "AllowedPrincipals", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "SiteConfigResource", + groups: { + serializedName: "groups", + xmlName: "groups", + xmlElementName: "AllowedPrincipalsGroupsItem", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SiteConfigResource", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + identities: { + serializedName: "identities", + xmlName: "identities", + xmlElementName: "AllowedPrincipalsIdentitiesItem", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const AuthPlatform: coreClient.CompositeMapper = { - serializedName: "AuthPlatform", +export const Facebook: coreClient.CompositeMapper = { + serializedName: "Facebook", type: { name: "Composite", - className: "AuthPlatform", + className: "Facebook", modelProperties: { enabled: { serializedName: "enabled", @@ -10370,61 +9986,67 @@ export const AuthPlatform: coreClient.CompositeMapper = { name: "Boolean", }, }, - runtimeVersion: { - serializedName: "runtimeVersion", - xmlName: "runtimeVersion", + registration: { + serializedName: "registration", + xmlName: "registration", type: { - name: "String", + name: "Composite", + className: "AppRegistration", }, }, - configFilePath: { - serializedName: "configFilePath", - xmlName: "configFilePath", + graphApiVersion: { + serializedName: "graphApiVersion", + xmlName: "graphApiVersion", type: { name: "String", }, }, + login: { + serializedName: "login", + xmlName: "login", + type: { + name: "Composite", + className: "LoginScopes", + }, + }, }, }, }; -export const GlobalValidation: coreClient.CompositeMapper = { - serializedName: "GlobalValidation", +export const AppRegistration: coreClient.CompositeMapper = { + serializedName: "AppRegistration", type: { name: "Composite", - className: "GlobalValidation", + className: "AppRegistration", modelProperties: { - requireAuthentication: { - serializedName: "requireAuthentication", - xmlName: "requireAuthentication", - type: { - name: "Boolean", - }, - }, - unauthenticatedClientAction: { - serializedName: "unauthenticatedClientAction", - xmlName: "unauthenticatedClientAction", + appId: { + serializedName: "appId", + xmlName: "appId", type: { - name: "Enum", - allowedValues: [ - "RedirectToLoginPage", - "AllowAnonymous", - "Return401", - "Return403", - ], + name: "String", }, }, - redirectToProvider: { - serializedName: "redirectToProvider", - xmlName: "redirectToProvider", + appSecretSettingName: { + serializedName: "appSecretSettingName", + xmlName: "appSecretSettingName", type: { name: "String", }, }, - excludedPaths: { - serializedName: "excludedPaths", - xmlName: "excludedPaths", - xmlElementName: "GlobalValidationExcludedPathsItem", + }, + }, +}; + +export const LoginScopes: coreClient.CompositeMapper = { + serializedName: "LoginScopes", + type: { + name: "Composite", + className: "LoginScopes", + modelProperties: { + scopes: { + serializedName: "scopes", + xmlName: "scopes", + xmlElementName: "LoginScopesItem", type: { name: "Sequence", element: { @@ -10438,85 +10060,119 @@ export const GlobalValidation: coreClient.CompositeMapper = { }, }; -export const IdentityProviders: coreClient.CompositeMapper = { - serializedName: "IdentityProviders", +export const GitHub: coreClient.CompositeMapper = { + serializedName: "GitHub", type: { name: "Composite", - className: "IdentityProviders", + className: "GitHub", modelProperties: { - azureActiveDirectory: { - serializedName: "azureActiveDirectory", - xmlName: "azureActiveDirectory", + enabled: { + serializedName: "enabled", + xmlName: "enabled", type: { - name: "Composite", - className: "AzureActiveDirectory", + name: "Boolean", }, }, - facebook: { - serializedName: "facebook", - xmlName: "facebook", + registration: { + serializedName: "registration", + xmlName: "registration", type: { name: "Composite", - className: "Facebook", + className: "ClientRegistration", }, }, - gitHub: { - serializedName: "gitHub", - xmlName: "gitHub", + login: { + serializedName: "login", + xmlName: "login", type: { name: "Composite", - className: "GitHub", + className: "LoginScopes", }, }, - google: { - serializedName: "google", - xmlName: "google", + }, + }, +}; + +export const ClientRegistration: coreClient.CompositeMapper = { + serializedName: "ClientRegistration", + type: { + name: "Composite", + className: "ClientRegistration", + modelProperties: { + clientId: { + serializedName: "clientId", + xmlName: "clientId", type: { - name: "Composite", - className: "Google", + name: "String", }, }, - legacyMicrosoftAccount: { - serializedName: "legacyMicrosoftAccount", - xmlName: "legacyMicrosoftAccount", + clientSecretSettingName: { + serializedName: "clientSecretSettingName", + xmlName: "clientSecretSettingName", type: { - name: "Composite", - className: "LegacyMicrosoftAccount", + name: "String", }, }, - twitter: { - serializedName: "twitter", - xmlName: "twitter", + }, + }, +}; + +export const Google: coreClient.CompositeMapper = { + serializedName: "Google", + type: { + name: "Composite", + className: "Google", + modelProperties: { + enabled: { + serializedName: "enabled", + xmlName: "enabled", type: { - name: "Composite", - className: "Twitter", + name: "Boolean", }, }, - apple: { - serializedName: "apple", - xmlName: "apple", + registration: { + serializedName: "registration", + xmlName: "registration", type: { name: "Composite", - className: "Apple", + className: "ClientRegistration", }, }, - azureStaticWebApps: { - serializedName: "azureStaticWebApps", - xmlName: "azureStaticWebApps", + login: { + serializedName: "login", + xmlName: "login", type: { name: "Composite", - className: "AzureStaticWebApps", + className: "LoginScopes", }, }, - customOpenIdConnectProviders: { - serializedName: "customOpenIdConnectProviders", - xmlName: "customOpenIdConnectProviders", + validation: { + serializedName: "validation", + xmlName: "validation", + type: { + name: "Composite", + className: "AllowedAudiencesValidation", + }, + }, + }, + }, +}; + +export const AllowedAudiencesValidation: coreClient.CompositeMapper = { + serializedName: "AllowedAudiencesValidation", + type: { + name: "Composite", + className: "AllowedAudiencesValidation", + modelProperties: { + allowedAudiences: { + serializedName: "allowedAudiences", + xmlName: "allowedAudiences", + xmlElementName: "AllowedAudiencesValidationAllowedAudiencesItem", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "Composite", - className: "CustomOpenIdConnectProvider", + name: "String", }, }, }, @@ -10525,11 +10181,11 @@ export const IdentityProviders: coreClient.CompositeMapper = { }, }; -export const AzureActiveDirectory: coreClient.CompositeMapper = { - serializedName: "AzureActiveDirectory", +export const LegacyMicrosoftAccount: coreClient.CompositeMapper = { + serializedName: "LegacyMicrosoftAccount", type: { name: "Composite", - className: "AzureActiveDirectory", + className: "LegacyMicrosoftAccount", modelProperties: { enabled: { serializedName: "enabled", @@ -10543,7 +10199,7 @@ export const AzureActiveDirectory: coreClient.CompositeMapper = { xmlName: "registration", type: { name: "Composite", - className: "AzureActiveDirectoryRegistration", + className: "ClientRegistration", }, }, login: { @@ -10551,7 +10207,7 @@ export const AzureActiveDirectory: coreClient.CompositeMapper = { xmlName: "login", type: { name: "Composite", - className: "AzureActiveDirectoryLogin", + className: "LoginScopes", }, }, validation: { @@ -10559,249 +10215,166 @@ export const AzureActiveDirectory: coreClient.CompositeMapper = { xmlName: "validation", type: { name: "Composite", - className: "AzureActiveDirectoryValidation", - }, - }, - isAutoProvisioned: { - serializedName: "isAutoProvisioned", - xmlName: "isAutoProvisioned", - type: { - name: "Boolean", + className: "AllowedAudiencesValidation", }, }, }, }, }; -export const AzureActiveDirectoryRegistration: coreClient.CompositeMapper = { - serializedName: "AzureActiveDirectoryRegistration", +export const Twitter: coreClient.CompositeMapper = { + serializedName: "Twitter", type: { name: "Composite", - className: "AzureActiveDirectoryRegistration", + className: "Twitter", modelProperties: { - openIdIssuer: { - serializedName: "openIdIssuer", - xmlName: "openIdIssuer", - type: { - name: "String", - }, - }, - clientId: { - serializedName: "clientId", - xmlName: "clientId", - type: { - name: "String", - }, - }, - clientSecretSettingName: { - serializedName: "clientSecretSettingName", - xmlName: "clientSecretSettingName", - type: { - name: "String", - }, - }, - clientSecretCertificateThumbprint: { - serializedName: "clientSecretCertificateThumbprint", - xmlName: "clientSecretCertificateThumbprint", - type: { - name: "String", - }, - }, - clientSecretCertificateSubjectAlternativeName: { - serializedName: "clientSecretCertificateSubjectAlternativeName", - xmlName: "clientSecretCertificateSubjectAlternativeName", + enabled: { + serializedName: "enabled", + xmlName: "enabled", type: { - name: "String", + name: "Boolean", }, }, - clientSecretCertificateIssuer: { - serializedName: "clientSecretCertificateIssuer", - xmlName: "clientSecretCertificateIssuer", + registration: { + serializedName: "registration", + xmlName: "registration", type: { - name: "String", + name: "Composite", + className: "TwitterRegistration", }, }, }, }, }; -export const AzureActiveDirectoryLogin: coreClient.CompositeMapper = { - serializedName: "AzureActiveDirectoryLogin", +export const TwitterRegistration: coreClient.CompositeMapper = { + serializedName: "TwitterRegistration", type: { name: "Composite", - className: "AzureActiveDirectoryLogin", + className: "TwitterRegistration", modelProperties: { - loginParameters: { - serializedName: "loginParameters", - xmlName: "loginParameters", - xmlElementName: "AzureActiveDirectoryLoginParametersItem", + consumerKey: { + serializedName: "consumerKey", + xmlName: "consumerKey", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - disableWWWAuthenticate: { - serializedName: "disableWWWAuthenticate", - xmlName: "disableWWWAuthenticate", + consumerSecretSettingName: { + serializedName: "consumerSecretSettingName", + xmlName: "consumerSecretSettingName", type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const AzureActiveDirectoryValidation: coreClient.CompositeMapper = { - serializedName: "AzureActiveDirectoryValidation", +export const Apple: coreClient.CompositeMapper = { + serializedName: "Apple", type: { name: "Composite", - className: "AzureActiveDirectoryValidation", + className: "Apple", modelProperties: { - jwtClaimChecks: { - serializedName: "jwtClaimChecks", - xmlName: "jwtClaimChecks", + enabled: { + serializedName: "enabled", + xmlName: "enabled", type: { - name: "Composite", - className: "JwtClaimChecks", + name: "Boolean", }, }, - allowedAudiences: { - serializedName: "allowedAudiences", - xmlName: "allowedAudiences", - xmlElementName: "AzureActiveDirectoryValidationAllowedAudiencesItem", + registration: { + serializedName: "registration", + xmlName: "registration", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "AppleRegistration", }, }, - defaultAuthorizationPolicy: { - serializedName: "defaultAuthorizationPolicy", - xmlName: "defaultAuthorizationPolicy", + login: { + serializedName: "login", + xmlName: "login", type: { name: "Composite", - className: "DefaultAuthorizationPolicy", + className: "LoginScopes", }, }, }, }, }; -export const JwtClaimChecks: coreClient.CompositeMapper = { - serializedName: "JwtClaimChecks", +export const AppleRegistration: coreClient.CompositeMapper = { + serializedName: "AppleRegistration", type: { name: "Composite", - className: "JwtClaimChecks", + className: "AppleRegistration", modelProperties: { - allowedGroups: { - serializedName: "allowedGroups", - xmlName: "allowedGroups", - xmlElementName: "JwtClaimChecksAllowedGroupsItem", + clientId: { + serializedName: "clientId", + xmlName: "clientId", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - allowedClientApplications: { - serializedName: "allowedClientApplications", - xmlName: "allowedClientApplications", - xmlElementName: "JwtClaimChecksAllowedClientApplicationsItem", + clientSecretSettingName: { + serializedName: "clientSecretSettingName", + xmlName: "clientSecretSettingName", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const DefaultAuthorizationPolicy: coreClient.CompositeMapper = { - serializedName: "DefaultAuthorizationPolicy", +export const AzureStaticWebApps: coreClient.CompositeMapper = { + serializedName: "AzureStaticWebApps", type: { name: "Composite", - className: "DefaultAuthorizationPolicy", + className: "AzureStaticWebApps", modelProperties: { - allowedPrincipals: { - serializedName: "allowedPrincipals", - xmlName: "allowedPrincipals", + enabled: { + serializedName: "enabled", + xmlName: "enabled", type: { - name: "Composite", - className: "AllowedPrincipals", + name: "Boolean", }, }, - allowedApplications: { - serializedName: "allowedApplications", - xmlName: "allowedApplications", - xmlElementName: "DefaultAuthorizationPolicyAllowedApplicationsItem", + registration: { + serializedName: "registration", + xmlName: "registration", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "AzureStaticWebAppsRegistration", }, }, }, }, }; -export const AllowedPrincipals: coreClient.CompositeMapper = { - serializedName: "AllowedPrincipals", +export const AzureStaticWebAppsRegistration: coreClient.CompositeMapper = { + serializedName: "AzureStaticWebAppsRegistration", type: { name: "Composite", - className: "AllowedPrincipals", + className: "AzureStaticWebAppsRegistration", modelProperties: { - groups: { - serializedName: "groups", - xmlName: "groups", - xmlElementName: "AllowedPrincipalsGroupsItem", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - identities: { - serializedName: "identities", - xmlName: "identities", - xmlElementName: "AllowedPrincipalsIdentitiesItem", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + clientId: { + serializedName: "clientId", + xmlName: "clientId", + type: { + name: "String", }, }, }, }, }; -export const Facebook: coreClient.CompositeMapper = { - serializedName: "Facebook", +export const CustomOpenIdConnectProvider: coreClient.CompositeMapper = { + serializedName: "CustomOpenIdConnectProvider", type: { name: "Composite", - className: "Facebook", + className: "CustomOpenIdConnectProvider", modelProperties: { enabled: { serializedName: "enabled", @@ -10815,44 +10388,71 @@ export const Facebook: coreClient.CompositeMapper = { xmlName: "registration", type: { name: "Composite", - className: "AppRegistration", + className: "OpenIdConnectRegistration", }, }, - graphApiVersion: { - serializedName: "graphApiVersion", - xmlName: "graphApiVersion", + login: { + serializedName: "login", + xmlName: "login", + type: { + name: "Composite", + className: "OpenIdConnectLogin", + }, + }, + }, + }, +}; + +export const OpenIdConnectRegistration: coreClient.CompositeMapper = { + serializedName: "OpenIdConnectRegistration", + type: { + name: "Composite", + className: "OpenIdConnectRegistration", + modelProperties: { + clientId: { + serializedName: "clientId", + xmlName: "clientId", type: { name: "String", }, }, - login: { - serializedName: "login", - xmlName: "login", + clientCredential: { + serializedName: "clientCredential", + xmlName: "clientCredential", type: { name: "Composite", - className: "LoginScopes", + className: "OpenIdConnectClientCredential", + }, + }, + openIdConnectConfiguration: { + serializedName: "openIdConnectConfiguration", + xmlName: "openIdConnectConfiguration", + type: { + name: "Composite", + className: "OpenIdConnectConfig", }, }, }, }, }; -export const AppRegistration: coreClient.CompositeMapper = { - serializedName: "AppRegistration", +export const OpenIdConnectClientCredential: coreClient.CompositeMapper = { + serializedName: "OpenIdConnectClientCredential", type: { name: "Composite", - className: "AppRegistration", + className: "OpenIdConnectClientCredential", modelProperties: { - appId: { - serializedName: "appId", - xmlName: "appId", + method: { + defaultValue: "ClientSecretPost", + isConstant: true, + serializedName: "method", type: { name: "String", }, }, - appSecretSettingName: { - serializedName: "appSecretSettingName", - xmlName: "appSecretSettingName", + clientSecretSettingName: { + serializedName: "clientSecretSettingName", + xmlName: "clientSecretSettingName", type: { name: "String", }, @@ -10861,16 +10461,68 @@ export const AppRegistration: coreClient.CompositeMapper = { }, }; -export const LoginScopes: coreClient.CompositeMapper = { - serializedName: "LoginScopes", +export const OpenIdConnectConfig: coreClient.CompositeMapper = { + serializedName: "OpenIdConnectConfig", type: { name: "Composite", - className: "LoginScopes", + className: "OpenIdConnectConfig", + modelProperties: { + authorizationEndpoint: { + serializedName: "authorizationEndpoint", + xmlName: "authorizationEndpoint", + type: { + name: "String", + }, + }, + tokenEndpoint: { + serializedName: "tokenEndpoint", + xmlName: "tokenEndpoint", + type: { + name: "String", + }, + }, + issuer: { + serializedName: "issuer", + xmlName: "issuer", + type: { + name: "String", + }, + }, + certificationUri: { + serializedName: "certificationUri", + xmlName: "certificationUri", + type: { + name: "String", + }, + }, + wellKnownOpenIdConfiguration: { + serializedName: "wellKnownOpenIdConfiguration", + xmlName: "wellKnownOpenIdConfiguration", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OpenIdConnectLogin: coreClient.CompositeMapper = { + serializedName: "OpenIdConnectLogin", + type: { + name: "Composite", + className: "OpenIdConnectLogin", modelProperties: { + nameClaimType: { + serializedName: "nameClaimType", + xmlName: "nameClaimType", + type: { + name: "String", + }, + }, scopes: { serializedName: "scopes", xmlName: "scopes", - xmlElementName: "LoginScopesItem", + xmlElementName: "OpenIdConnectLoginScopesItem", type: { name: "Sequence", element: { @@ -10884,55 +10536,77 @@ export const LoginScopes: coreClient.CompositeMapper = { }, }; -export const GitHub: coreClient.CompositeMapper = { - serializedName: "GitHub", +export const Login: coreClient.CompositeMapper = { + serializedName: "Login", type: { name: "Composite", - className: "GitHub", + className: "Login", modelProperties: { - enabled: { - serializedName: "enabled", - xmlName: "enabled", + routes: { + serializedName: "routes", + xmlName: "routes", + type: { + name: "Composite", + className: "LoginRoutes", + }, + }, + tokenStore: { + serializedName: "tokenStore", + xmlName: "tokenStore", + type: { + name: "Composite", + className: "TokenStore", + }, + }, + preserveUrlFragmentsForLogins: { + serializedName: "preserveUrlFragmentsForLogins", + xmlName: "preserveUrlFragmentsForLogins", type: { name: "Boolean", }, }, - registration: { - serializedName: "registration", - xmlName: "registration", + allowedExternalRedirectUrls: { + serializedName: "allowedExternalRedirectUrls", + xmlName: "allowedExternalRedirectUrls", + xmlElementName: "LoginAllowedExternalRedirectUrlsItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + cookieExpiration: { + serializedName: "cookieExpiration", + xmlName: "cookieExpiration", type: { name: "Composite", - className: "ClientRegistration", + className: "CookieExpiration", }, }, - login: { - serializedName: "login", - xmlName: "login", + nonce: { + serializedName: "nonce", + xmlName: "nonce", type: { name: "Composite", - className: "LoginScopes", + className: "Nonce", }, }, }, }, }; -export const ClientRegistration: coreClient.CompositeMapper = { - serializedName: "ClientRegistration", +export const LoginRoutes: coreClient.CompositeMapper = { + serializedName: "LoginRoutes", type: { name: "Composite", - className: "ClientRegistration", + className: "LoginRoutes", modelProperties: { - clientId: { - serializedName: "clientId", - xmlName: "clientId", - type: { - name: "String", - }, - }, - clientSecretSettingName: { - serializedName: "clientSecretSettingName", - xmlName: "clientSecretSettingName", + logoutEndpoint: { + serializedName: "logoutEndpoint", + xmlName: "logoutEndpoint", type: { name: "String", }, @@ -10941,11 +10615,11 @@ export const ClientRegistration: coreClient.CompositeMapper = { }, }; -export const Google: coreClient.CompositeMapper = { - serializedName: "Google", +export const TokenStore: coreClient.CompositeMapper = { + serializedName: "TokenStore", type: { name: "Composite", - className: "Google", + className: "TokenStore", modelProperties: { enabled: { serializedName: "enabled", @@ -10954,139 +10628,108 @@ export const Google: coreClient.CompositeMapper = { name: "Boolean", }, }, - registration: { - serializedName: "registration", - xmlName: "registration", + tokenRefreshExtensionHours: { + serializedName: "tokenRefreshExtensionHours", + xmlName: "tokenRefreshExtensionHours", type: { - name: "Composite", - className: "ClientRegistration", + name: "Number", }, }, - login: { - serializedName: "login", - xmlName: "login", + fileSystem: { + serializedName: "fileSystem", + xmlName: "fileSystem", type: { name: "Composite", - className: "LoginScopes", + className: "FileSystemTokenStore", }, }, - validation: { - serializedName: "validation", - xmlName: "validation", + azureBlobStorage: { + serializedName: "azureBlobStorage", + xmlName: "azureBlobStorage", type: { name: "Composite", - className: "AllowedAudiencesValidation", + className: "BlobStorageTokenStore", }, }, }, }, }; -export const AllowedAudiencesValidation: coreClient.CompositeMapper = { - serializedName: "AllowedAudiencesValidation", +export const FileSystemTokenStore: coreClient.CompositeMapper = { + serializedName: "FileSystemTokenStore", type: { name: "Composite", - className: "AllowedAudiencesValidation", + className: "FileSystemTokenStore", modelProperties: { - allowedAudiences: { - serializedName: "allowedAudiences", - xmlName: "allowedAudiences", - xmlElementName: "AllowedAudiencesValidationAllowedAudiencesItem", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + directory: { + serializedName: "directory", + xmlName: "directory", + type: { + name: "String", }, }, }, }, }; -export const LegacyMicrosoftAccount: coreClient.CompositeMapper = { - serializedName: "LegacyMicrosoftAccount", +export const BlobStorageTokenStore: coreClient.CompositeMapper = { + serializedName: "BlobStorageTokenStore", type: { name: "Composite", - className: "LegacyMicrosoftAccount", + className: "BlobStorageTokenStore", modelProperties: { - enabled: { - serializedName: "enabled", - xmlName: "enabled", - type: { - name: "Boolean", - }, - }, - registration: { - serializedName: "registration", - xmlName: "registration", - type: { - name: "Composite", - className: "ClientRegistration", - }, - }, - login: { - serializedName: "login", - xmlName: "login", - type: { - name: "Composite", - className: "LoginScopes", - }, - }, - validation: { - serializedName: "validation", - xmlName: "validation", + sasUrlSettingName: { + serializedName: "sasUrlSettingName", + xmlName: "sasUrlSettingName", type: { - name: "Composite", - className: "AllowedAudiencesValidation", + name: "String", }, }, }, }, }; -export const Twitter: coreClient.CompositeMapper = { - serializedName: "Twitter", +export const CookieExpiration: coreClient.CompositeMapper = { + serializedName: "CookieExpiration", type: { name: "Composite", - className: "Twitter", + className: "CookieExpiration", modelProperties: { - enabled: { - serializedName: "enabled", - xmlName: "enabled", + convention: { + serializedName: "convention", + xmlName: "convention", type: { - name: "Boolean", + name: "Enum", + allowedValues: ["FixedTime", "IdentityProviderDerived"], }, }, - registration: { - serializedName: "registration", - xmlName: "registration", + timeToExpiration: { + serializedName: "timeToExpiration", + xmlName: "timeToExpiration", type: { - name: "Composite", - className: "TwitterRegistration", + name: "String", }, }, }, }, }; -export const TwitterRegistration: coreClient.CompositeMapper = { - serializedName: "TwitterRegistration", +export const Nonce: coreClient.CompositeMapper = { + serializedName: "Nonce", type: { name: "Composite", - className: "TwitterRegistration", + className: "Nonce", modelProperties: { - consumerKey: { - serializedName: "consumerKey", - xmlName: "consumerKey", + validateNonce: { + serializedName: "validateNonce", + xmlName: "validateNonce", type: { - name: "String", + name: "Boolean", }, }, - consumerSecretSettingName: { - serializedName: "consumerSecretSettingName", - xmlName: "consumerSecretSettingName", + nonceExpirationInterval: { + serializedName: "nonceExpirationInterval", + xmlName: "nonceExpirationInterval", type: { name: "String", }, @@ -11095,55 +10738,48 @@ export const TwitterRegistration: coreClient.CompositeMapper = { }, }; -export const Apple: coreClient.CompositeMapper = { - serializedName: "Apple", +export const HttpSettings: coreClient.CompositeMapper = { + serializedName: "HttpSettings", type: { name: "Composite", - className: "Apple", + className: "HttpSettings", modelProperties: { - enabled: { - serializedName: "enabled", - xmlName: "enabled", + requireHttps: { + serializedName: "requireHttps", + xmlName: "requireHttps", type: { name: "Boolean", }, }, - registration: { - serializedName: "registration", - xmlName: "registration", + routes: { + serializedName: "routes", + xmlName: "routes", type: { name: "Composite", - className: "AppleRegistration", + className: "HttpSettingsRoutes", }, }, - login: { - serializedName: "login", - xmlName: "login", + forwardProxy: { + serializedName: "forwardProxy", + xmlName: "forwardProxy", type: { name: "Composite", - className: "LoginScopes", + className: "ForwardProxy", }, }, }, }, }; -export const AppleRegistration: coreClient.CompositeMapper = { - serializedName: "AppleRegistration", +export const HttpSettingsRoutes: coreClient.CompositeMapper = { + serializedName: "HttpSettingsRoutes", type: { name: "Composite", - className: "AppleRegistration", + className: "HttpSettingsRoutes", modelProperties: { - clientId: { - serializedName: "clientId", - xmlName: "clientId", - type: { - name: "String", - }, - }, - clientSecretSettingName: { - serializedName: "clientSecretSettingName", - xmlName: "clientSecretSettingName", + apiPrefix: { + serializedName: "apiPrefix", + xmlName: "apiPrefix", type: { name: "String", }, @@ -11152,40 +10788,63 @@ export const AppleRegistration: coreClient.CompositeMapper = { }, }; -export const AzureStaticWebApps: coreClient.CompositeMapper = { - serializedName: "AzureStaticWebApps", +export const ForwardProxy: coreClient.CompositeMapper = { + serializedName: "ForwardProxy", type: { name: "Composite", - className: "AzureStaticWebApps", + className: "ForwardProxy", modelProperties: { - enabled: { - serializedName: "enabled", - xmlName: "enabled", + convention: { + serializedName: "convention", + xmlName: "convention", type: { - name: "Boolean", + name: "Enum", + allowedValues: ["NoProxy", "Standard", "Custom"], }, }, - registration: { - serializedName: "registration", - xmlName: "registration", + customHostHeaderName: { + serializedName: "customHostHeaderName", + xmlName: "customHostHeaderName", type: { - name: "Composite", - className: "AzureStaticWebAppsRegistration", + name: "String", + }, + }, + customProtoHeaderName: { + serializedName: "customProtoHeaderName", + xmlName: "customProtoHeaderName", + type: { + name: "String", }, }, }, }, }; -export const AzureStaticWebAppsRegistration: coreClient.CompositeMapper = { - serializedName: "AzureStaticWebAppsRegistration", +export const ApiKVReferenceCollection: coreClient.CompositeMapper = { + serializedName: "ApiKVReferenceCollection", type: { name: "Composite", - className: "AzureStaticWebAppsRegistration", + className: "ApiKVReferenceCollection", modelProperties: { - clientId: { - serializedName: "clientId", - xmlName: "clientId", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "ApiKVReference", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApiKVReference", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { name: "String", }, @@ -11194,256 +10853,266 @@ export const AzureStaticWebAppsRegistration: coreClient.CompositeMapper = { }, }; -export const CustomOpenIdConnectProvider: coreClient.CompositeMapper = { - serializedName: "CustomOpenIdConnectProvider", +export const ConnStringValueTypePair: coreClient.CompositeMapper = { + serializedName: "ConnStringValueTypePair", type: { name: "Composite", - className: "CustomOpenIdConnectProvider", + className: "ConnStringValueTypePair", modelProperties: { - enabled: { - serializedName: "enabled", - xmlName: "enabled", - type: { - name: "Boolean", - }, - }, - registration: { - serializedName: "registration", - xmlName: "registration", + value: { + serializedName: "value", + required: true, + xmlName: "value", type: { - name: "Composite", - className: "OpenIdConnectRegistration", + name: "String", }, }, - login: { - serializedName: "login", - xmlName: "login", + type: { + serializedName: "type", + required: true, + xmlName: "type", type: { - name: "Composite", - className: "OpenIdConnectLogin", + name: "Enum", + allowedValues: [ + "MySql", + "SQLServer", + "SQLAzure", + "Custom", + "NotificationHub", + "ServiceBus", + "EventHub", + "ApiHub", + "DocDb", + "RedisCache", + "PostgreSQL", + ], }, }, }, }, }; -export const OpenIdConnectRegistration: coreClient.CompositeMapper = { - serializedName: "OpenIdConnectRegistration", +export const ApplicationLogsConfig: coreClient.CompositeMapper = { + serializedName: "ApplicationLogsConfig", type: { name: "Composite", - className: "OpenIdConnectRegistration", + className: "ApplicationLogsConfig", modelProperties: { - clientId: { - serializedName: "clientId", - xmlName: "clientId", + fileSystem: { + serializedName: "fileSystem", + xmlName: "fileSystem", type: { - name: "String", - }, - }, - clientCredential: { - serializedName: "clientCredential", - xmlName: "clientCredential", + name: "Composite", + className: "FileSystemApplicationLogsConfig", + }, + }, + azureTableStorage: { + serializedName: "azureTableStorage", + xmlName: "azureTableStorage", type: { name: "Composite", - className: "OpenIdConnectClientCredential", + className: "AzureTableStorageApplicationLogsConfig", }, }, - openIdConnectConfiguration: { - serializedName: "openIdConnectConfiguration", - xmlName: "openIdConnectConfiguration", + azureBlobStorage: { + serializedName: "azureBlobStorage", + xmlName: "azureBlobStorage", type: { name: "Composite", - className: "OpenIdConnectConfig", + className: "AzureBlobStorageApplicationLogsConfig", }, }, }, }, }; -export const OpenIdConnectClientCredential: coreClient.CompositeMapper = { - serializedName: "OpenIdConnectClientCredential", +export const FileSystemApplicationLogsConfig: coreClient.CompositeMapper = { + serializedName: "FileSystemApplicationLogsConfig", type: { name: "Composite", - className: "OpenIdConnectClientCredential", + className: "FileSystemApplicationLogsConfig", modelProperties: { - method: { - defaultValue: "ClientSecretPost", - isConstant: true, - serializedName: "method", - type: { - name: "String", - }, - }, - clientSecretSettingName: { - serializedName: "clientSecretSettingName", - xmlName: "clientSecretSettingName", + level: { + serializedName: "level", + xmlName: "level", type: { - name: "String", + name: "Enum", + allowedValues: ["Off", "Verbose", "Information", "Warning", "Error"], }, }, }, }, }; -export const OpenIdConnectConfig: coreClient.CompositeMapper = { - serializedName: "OpenIdConnectConfig", - type: { - name: "Composite", - className: "OpenIdConnectConfig", - modelProperties: { - authorizationEndpoint: { - serializedName: "authorizationEndpoint", - xmlName: "authorizationEndpoint", - type: { - name: "String", +export const AzureTableStorageApplicationLogsConfig: coreClient.CompositeMapper = + { + serializedName: "AzureTableStorageApplicationLogsConfig", + type: { + name: "Composite", + className: "AzureTableStorageApplicationLogsConfig", + modelProperties: { + level: { + serializedName: "level", + xmlName: "level", + type: { + name: "Enum", + allowedValues: [ + "Off", + "Verbose", + "Information", + "Warning", + "Error", + ], + }, }, - }, - tokenEndpoint: { - serializedName: "tokenEndpoint", - xmlName: "tokenEndpoint", - type: { - name: "String", + sasUrl: { + serializedName: "sasUrl", + required: true, + xmlName: "sasUrl", + type: { + name: "String", + }, }, }, - issuer: { - serializedName: "issuer", - xmlName: "issuer", - type: { - name: "String", + }, + }; + +export const AzureBlobStorageApplicationLogsConfig: coreClient.CompositeMapper = + { + serializedName: "AzureBlobStorageApplicationLogsConfig", + type: { + name: "Composite", + className: "AzureBlobStorageApplicationLogsConfig", + modelProperties: { + level: { + serializedName: "level", + xmlName: "level", + type: { + name: "Enum", + allowedValues: [ + "Off", + "Verbose", + "Information", + "Warning", + "Error", + ], + }, }, - }, - certificationUri: { - serializedName: "certificationUri", - xmlName: "certificationUri", - type: { - name: "String", + sasUrl: { + serializedName: "sasUrl", + xmlName: "sasUrl", + type: { + name: "String", + }, }, - }, - wellKnownOpenIdConfiguration: { - serializedName: "wellKnownOpenIdConfiguration", - xmlName: "wellKnownOpenIdConfiguration", - type: { - name: "String", + retentionInDays: { + serializedName: "retentionInDays", + xmlName: "retentionInDays", + type: { + name: "Number", + }, }, }, }, - }, -}; + }; -export const OpenIdConnectLogin: coreClient.CompositeMapper = { - serializedName: "OpenIdConnectLogin", +export const HttpLogsConfig: coreClient.CompositeMapper = { + serializedName: "HttpLogsConfig", type: { name: "Composite", - className: "OpenIdConnectLogin", + className: "HttpLogsConfig", modelProperties: { - nameClaimType: { - serializedName: "nameClaimType", - xmlName: "nameClaimType", + fileSystem: { + serializedName: "fileSystem", + xmlName: "fileSystem", type: { - name: "String", + name: "Composite", + className: "FileSystemHttpLogsConfig", }, }, - scopes: { - serializedName: "scopes", - xmlName: "scopes", - xmlElementName: "OpenIdConnectLoginScopesItem", + azureBlobStorage: { + serializedName: "azureBlobStorage", + xmlName: "azureBlobStorage", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "AzureBlobStorageHttpLogsConfig", }, }, }, }, }; -export const Login: coreClient.CompositeMapper = { - serializedName: "Login", +export const FileSystemHttpLogsConfig: coreClient.CompositeMapper = { + serializedName: "FileSystemHttpLogsConfig", type: { name: "Composite", - className: "Login", + className: "FileSystemHttpLogsConfig", modelProperties: { - routes: { - serializedName: "routes", - xmlName: "routes", - type: { - name: "Composite", - className: "LoginRoutes", - }, - }, - tokenStore: { - serializedName: "tokenStore", - xmlName: "tokenStore", - type: { - name: "Composite", - className: "TokenStore", - }, - }, - preserveUrlFragmentsForLogins: { - serializedName: "preserveUrlFragmentsForLogins", - xmlName: "preserveUrlFragmentsForLogins", - type: { - name: "Boolean", + retentionInMb: { + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 25, }, - }, - allowedExternalRedirectUrls: { - serializedName: "allowedExternalRedirectUrls", - xmlName: "allowedExternalRedirectUrls", - xmlElementName: "LoginAllowedExternalRedirectUrlsItem", + serializedName: "retentionInMb", + xmlName: "retentionInMb", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - cookieExpiration: { - serializedName: "cookieExpiration", - xmlName: "cookieExpiration", + retentionInDays: { + serializedName: "retentionInDays", + xmlName: "retentionInDays", type: { - name: "Composite", - className: "CookieExpiration", + name: "Number", }, }, - nonce: { - serializedName: "nonce", - xmlName: "nonce", + enabled: { + serializedName: "enabled", + xmlName: "enabled", type: { - name: "Composite", - className: "Nonce", + name: "Boolean", }, }, }, }, }; -export const LoginRoutes: coreClient.CompositeMapper = { - serializedName: "LoginRoutes", +export const AzureBlobStorageHttpLogsConfig: coreClient.CompositeMapper = { + serializedName: "AzureBlobStorageHttpLogsConfig", type: { name: "Composite", - className: "LoginRoutes", + className: "AzureBlobStorageHttpLogsConfig", modelProperties: { - logoutEndpoint: { - serializedName: "logoutEndpoint", - xmlName: "logoutEndpoint", + sasUrl: { + serializedName: "sasUrl", + xmlName: "sasUrl", + type: { + name: "String", + }, + }, + retentionInDays: { + serializedName: "retentionInDays", + xmlName: "retentionInDays", + type: { + name: "Number", + }, + }, + enabled: { + serializedName: "enabled", + xmlName: "enabled", type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const TokenStore: coreClient.CompositeMapper = { - serializedName: "TokenStore", +export const EnabledConfig: coreClient.CompositeMapper = { + serializedName: "EnabledConfig", type: { name: "Composite", - className: "TokenStore", + className: "EnabledConfig", modelProperties: { enabled: { serializedName: "enabled", @@ -11452,42 +11121,102 @@ export const TokenStore: coreClient.CompositeMapper = { name: "Boolean", }, }, - tokenRefreshExtensionHours: { - serializedName: "tokenRefreshExtensionHours", - xmlName: "tokenRefreshExtensionHours", - type: { - name: "Number", + }, + }, +}; + +export const SiteConfigurationSnapshotInfoCollection: coreClient.CompositeMapper = + { + serializedName: "SiteConfigurationSnapshotInfoCollection", + type: { + name: "Composite", + className: "SiteConfigurationSnapshotInfoCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "SiteConfigurationSnapshotInfo", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SiteConfigurationSnapshotInfo", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, }, }, - fileSystem: { - serializedName: "fileSystem", - xmlName: "fileSystem", + }, + }; + +export const ContinuousWebJobCollection: coreClient.CompositeMapper = { + serializedName: "ContinuousWebJobCollection", + type: { + name: "Composite", + className: "ContinuousWebJobCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "ContinuousWebJob", type: { - name: "Composite", - className: "FileSystemTokenStore", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContinuousWebJob", + }, + }, }, }, - azureBlobStorage: { - serializedName: "azureBlobStorage", - xmlName: "azureBlobStorage", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { - name: "Composite", - className: "BlobStorageTokenStore", + name: "String", }, }, }, }, }; -export const FileSystemTokenStore: coreClient.CompositeMapper = { - serializedName: "FileSystemTokenStore", +export const CsmDeploymentStatusCollection: coreClient.CompositeMapper = { + serializedName: "CsmDeploymentStatusCollection", type: { name: "Composite", - className: "FileSystemTokenStore", + className: "CsmDeploymentStatusCollection", modelProperties: { - directory: { - serializedName: "directory", - xmlName: "directory", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "CsmDeploymentStatus", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CsmDeploymentStatus", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { name: "String", }, @@ -11496,15 +11225,31 @@ export const FileSystemTokenStore: coreClient.CompositeMapper = { }, }; -export const BlobStorageTokenStore: coreClient.CompositeMapper = { - serializedName: "BlobStorageTokenStore", +export const DeploymentCollection: coreClient.CompositeMapper = { + serializedName: "DeploymentCollection", type: { name: "Composite", - className: "BlobStorageTokenStore", + className: "DeploymentCollection", modelProperties: { - sasUrlSettingName: { - serializedName: "sasUrlSettingName", - xmlName: "sasUrlSettingName", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "Deployment", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Deployment", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { name: "String", }, @@ -11513,23 +11258,33 @@ export const BlobStorageTokenStore: coreClient.CompositeMapper = { }, }; -export const CookieExpiration: coreClient.CompositeMapper = { - serializedName: "CookieExpiration", +export const MSDeployLogEntry: coreClient.CompositeMapper = { + serializedName: "MSDeployLogEntry", type: { name: "Composite", - className: "CookieExpiration", + className: "MSDeployLogEntry", modelProperties: { - convention: { - serializedName: "convention", - xmlName: "convention", + time: { + serializedName: "time", + readOnly: true, + xmlName: "time", + type: { + name: "DateTime", + }, + }, + type: { + serializedName: "type", + readOnly: true, + xmlName: "type", type: { name: "Enum", - allowedValues: ["FixedTime", "IdentityProviderDerived"], + allowedValues: ["Message", "Warning", "Error"], }, }, - timeToExpiration: { - serializedName: "timeToExpiration", - xmlName: "timeToExpiration", + message: { + serializedName: "message", + readOnly: true, + xmlName: "message", type: { name: "String", }, @@ -11538,22 +11293,31 @@ export const CookieExpiration: coreClient.CompositeMapper = { }, }; -export const Nonce: coreClient.CompositeMapper = { - serializedName: "Nonce", +export const FunctionEnvelopeCollection: coreClient.CompositeMapper = { + serializedName: "FunctionEnvelopeCollection", type: { name: "Composite", - className: "Nonce", + className: "FunctionEnvelopeCollection", modelProperties: { - validateNonce: { - serializedName: "validateNonce", - xmlName: "validateNonce", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "FunctionEnvelope", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FunctionEnvelope", + }, + }, }, }, - nonceExpirationInterval: { - serializedName: "nonceExpirationInterval", - xmlName: "nonceExpirationInterval", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { name: "String", }, @@ -11562,48 +11326,46 @@ export const Nonce: coreClient.CompositeMapper = { }, }; -export const HttpSettings: coreClient.CompositeMapper = { - serializedName: "HttpSettings", +export const KeyInfo: coreClient.CompositeMapper = { + serializedName: "KeyInfo", type: { name: "Composite", - className: "HttpSettings", + className: "KeyInfo", modelProperties: { - requireHttps: { - serializedName: "requireHttps", - xmlName: "requireHttps", - type: { - name: "Boolean", - }, - }, - routes: { - serializedName: "routes", - xmlName: "routes", + name: { + serializedName: "name", + xmlName: "name", type: { - name: "Composite", - className: "HttpSettingsRoutes", + name: "String", }, }, - forwardProxy: { - serializedName: "forwardProxy", - xmlName: "forwardProxy", + value: { + serializedName: "value", + xmlName: "value", type: { - name: "Composite", - className: "ForwardProxy", + name: "String", }, }, }, }, }; -export const HttpSettingsRoutes: coreClient.CompositeMapper = { - serializedName: "HttpSettingsRoutes", +export const FunctionSecrets: coreClient.CompositeMapper = { + serializedName: "FunctionSecrets", type: { name: "Composite", - className: "HttpSettingsRoutes", + className: "FunctionSecrets", modelProperties: { - apiPrefix: { - serializedName: "apiPrefix", - xmlName: "apiPrefix", + key: { + serializedName: "key", + xmlName: "key", + type: { + name: "String", + }, + }, + triggerUrl: { + serializedName: "trigger_url", + xmlName: "trigger_url", type: { name: "String", }, @@ -11612,55 +11374,56 @@ export const HttpSettingsRoutes: coreClient.CompositeMapper = { }, }; -export const ForwardProxy: coreClient.CompositeMapper = { - serializedName: "ForwardProxy", +export const HostKeys: coreClient.CompositeMapper = { + serializedName: "HostKeys", type: { name: "Composite", - className: "ForwardProxy", + className: "HostKeys", modelProperties: { - convention: { - serializedName: "convention", - xmlName: "convention", + masterKey: { + serializedName: "masterKey", + xmlName: "masterKey", type: { - name: "Enum", - allowedValues: ["NoProxy", "Standard", "Custom"], + name: "String", }, }, - customHostHeaderName: { - serializedName: "customHostHeaderName", - xmlName: "customHostHeaderName", + functionKeys: { + serializedName: "functionKeys", + xmlName: "functionKeys", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - customProtoHeaderName: { - serializedName: "customProtoHeaderName", - xmlName: "customProtoHeaderName", + systemKeys: { + serializedName: "systemKeys", + xmlName: "systemKeys", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const ApiKVReferenceCollection: coreClient.CompositeMapper = { - serializedName: "ApiKVReferenceCollection", +export const HostNameBindingCollection: coreClient.CompositeMapper = { + serializedName: "HostNameBindingCollection", type: { name: "Composite", - className: "ApiKVReferenceCollection", + className: "HostNameBindingCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "ApiKVReference", + xmlElementName: "HostNameBinding", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApiKVReference", + className: "HostNameBinding", }, }, }, @@ -11677,395 +11440,338 @@ export const ApiKVReferenceCollection: coreClient.CompositeMapper = { }, }; -export const ConnStringValueTypePair: coreClient.CompositeMapper = { - serializedName: "ConnStringValueTypePair", +export const WebAppInstanceStatusCollection: coreClient.CompositeMapper = { + serializedName: "WebAppInstanceStatusCollection", type: { name: "Composite", - className: "ConnStringValueTypePair", + className: "WebAppInstanceStatusCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", + xmlElementName: "WebSiteInstanceStatus", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WebSiteInstanceStatus", + }, + }, }, }, - type: { - serializedName: "type", - required: true, - xmlName: "type", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { - name: "Enum", - allowedValues: [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL", - ], + name: "String", }, }, }, }, }; -export const ApplicationLogsConfig: coreClient.CompositeMapper = { - serializedName: "ApplicationLogsConfig", +export const ContainerInfo: coreClient.CompositeMapper = { + serializedName: "ContainerInfo", type: { name: "Composite", - className: "ApplicationLogsConfig", + className: "ContainerInfo", modelProperties: { - fileSystem: { - serializedName: "fileSystem", - xmlName: "fileSystem", + currentTimeStamp: { + serializedName: "currentTimeStamp", + xmlName: "currentTimeStamp", + type: { + name: "DateTime", + }, + }, + previousTimeStamp: { + serializedName: "previousTimeStamp", + xmlName: "previousTimeStamp", + type: { + name: "DateTime", + }, + }, + currentCpuStats: { + serializedName: "currentCpuStats", + xmlName: "currentCpuStats", type: { name: "Composite", - className: "FileSystemApplicationLogsConfig", + className: "ContainerCpuStatistics", }, }, - azureTableStorage: { - serializedName: "azureTableStorage", - xmlName: "azureTableStorage", + previousCpuStats: { + serializedName: "previousCpuStats", + xmlName: "previousCpuStats", type: { name: "Composite", - className: "AzureTableStorageApplicationLogsConfig", + className: "ContainerCpuStatistics", }, }, - azureBlobStorage: { - serializedName: "azureBlobStorage", - xmlName: "azureBlobStorage", + memoryStats: { + serializedName: "memoryStats", + xmlName: "memoryStats", type: { name: "Composite", - className: "AzureBlobStorageApplicationLogsConfig", + className: "ContainerMemoryStatistics", + }, + }, + name: { + serializedName: "name", + xmlName: "name", + type: { + name: "String", + }, + }, + id: { + serializedName: "id", + xmlName: "id", + type: { + name: "String", + }, + }, + eth0: { + serializedName: "eth0", + xmlName: "eth0", + type: { + name: "Composite", + className: "ContainerNetworkInterfaceStatistics", }, }, }, }, }; -export const FileSystemApplicationLogsConfig: coreClient.CompositeMapper = { - serializedName: "FileSystemApplicationLogsConfig", +export const ContainerCpuStatistics: coreClient.CompositeMapper = { + serializedName: "ContainerCpuStatistics", type: { name: "Composite", - className: "FileSystemApplicationLogsConfig", + className: "ContainerCpuStatistics", modelProperties: { - level: { - serializedName: "level", - xmlName: "level", + cpuUsage: { + serializedName: "cpuUsage", + xmlName: "cpuUsage", type: { - name: "Enum", - allowedValues: ["Off", "Verbose", "Information", "Warning", "Error"], + name: "Composite", + className: "ContainerCpuUsage", }, }, - }, - }, -}; - -export const AzureTableStorageApplicationLogsConfig: coreClient.CompositeMapper = - { - serializedName: "AzureTableStorageApplicationLogsConfig", - type: { - name: "Composite", - className: "AzureTableStorageApplicationLogsConfig", - modelProperties: { - level: { - serializedName: "level", - xmlName: "level", - type: { - name: "Enum", - allowedValues: [ - "Off", - "Verbose", - "Information", - "Warning", - "Error", - ], - }, + systemCpuUsage: { + serializedName: "systemCpuUsage", + xmlName: "systemCpuUsage", + type: { + name: "Number", }, - sasUrl: { - serializedName: "sasUrl", - required: true, - xmlName: "sasUrl", - type: { - name: "String", - }, + }, + onlineCpuCount: { + serializedName: "onlineCpuCount", + xmlName: "onlineCpuCount", + type: { + name: "Number", + }, + }, + throttlingData: { + serializedName: "throttlingData", + xmlName: "throttlingData", + type: { + name: "Composite", + className: "ContainerThrottlingData", }, }, }, - }; + }, +}; -export const AzureBlobStorageApplicationLogsConfig: coreClient.CompositeMapper = - { - serializedName: "AzureBlobStorageApplicationLogsConfig", - type: { - name: "Composite", - className: "AzureBlobStorageApplicationLogsConfig", - modelProperties: { - level: { - serializedName: "level", - xmlName: "level", - type: { - name: "Enum", - allowedValues: [ - "Off", - "Verbose", - "Information", - "Warning", - "Error", - ], - }, - }, - sasUrl: { - serializedName: "sasUrl", - xmlName: "sasUrl", - type: { - name: "String", - }, +export const ContainerCpuUsage: coreClient.CompositeMapper = { + serializedName: "ContainerCpuUsage", + type: { + name: "Composite", + className: "ContainerCpuUsage", + modelProperties: { + totalUsage: { + serializedName: "totalUsage", + xmlName: "totalUsage", + type: { + name: "Number", }, - retentionInDays: { - serializedName: "retentionInDays", - xmlName: "retentionInDays", - type: { - name: "Number", + }, + perCpuUsage: { + serializedName: "perCpuUsage", + xmlName: "perCpuUsage", + xmlElementName: "ArrayItemschema", + type: { + name: "Sequence", + element: { + type: { + name: "Number", + }, }, }, }, - }, - }; - -export const HttpLogsConfig: coreClient.CompositeMapper = { - serializedName: "HttpLogsConfig", - type: { - name: "Composite", - className: "HttpLogsConfig", - modelProperties: { - fileSystem: { - serializedName: "fileSystem", - xmlName: "fileSystem", + kernelModeUsage: { + serializedName: "kernelModeUsage", + xmlName: "kernelModeUsage", type: { - name: "Composite", - className: "FileSystemHttpLogsConfig", + name: "Number", }, }, - azureBlobStorage: { - serializedName: "azureBlobStorage", - xmlName: "azureBlobStorage", + userModeUsage: { + serializedName: "userModeUsage", + xmlName: "userModeUsage", type: { - name: "Composite", - className: "AzureBlobStorageHttpLogsConfig", + name: "Number", }, }, }, }, }; -export const FileSystemHttpLogsConfig: coreClient.CompositeMapper = { - serializedName: "FileSystemHttpLogsConfig", +export const ContainerThrottlingData: coreClient.CompositeMapper = { + serializedName: "ContainerThrottlingData", type: { name: "Composite", - className: "FileSystemHttpLogsConfig", + className: "ContainerThrottlingData", modelProperties: { - retentionInMb: { - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 25, - }, - serializedName: "retentionInMb", - xmlName: "retentionInMb", + periods: { + serializedName: "periods", + xmlName: "periods", type: { name: "Number", }, }, - retentionInDays: { - serializedName: "retentionInDays", - xmlName: "retentionInDays", + throttledPeriods: { + serializedName: "throttledPeriods", + xmlName: "throttledPeriods", type: { name: "Number", }, }, - enabled: { - serializedName: "enabled", - xmlName: "enabled", + throttledTime: { + serializedName: "throttledTime", + xmlName: "throttledTime", type: { - name: "Boolean", + name: "Number", }, }, }, }, }; -export const AzureBlobStorageHttpLogsConfig: coreClient.CompositeMapper = { - serializedName: "AzureBlobStorageHttpLogsConfig", +export const ContainerMemoryStatistics: coreClient.CompositeMapper = { + serializedName: "ContainerMemoryStatistics", type: { name: "Composite", - className: "AzureBlobStorageHttpLogsConfig", + className: "ContainerMemoryStatistics", modelProperties: { - sasUrl: { - serializedName: "sasUrl", - xmlName: "sasUrl", + usage: { + serializedName: "usage", + xmlName: "usage", type: { - name: "String", + name: "Number", }, }, - retentionInDays: { - serializedName: "retentionInDays", - xmlName: "retentionInDays", + maxUsage: { + serializedName: "maxUsage", + xmlName: "maxUsage", type: { name: "Number", }, }, - enabled: { - serializedName: "enabled", - xmlName: "enabled", + limit: { + serializedName: "limit", + xmlName: "limit", type: { - name: "Boolean", + name: "Number", }, }, }, }, }; -export const EnabledConfig: coreClient.CompositeMapper = { - serializedName: "EnabledConfig", +export const ContainerNetworkInterfaceStatistics: coreClient.CompositeMapper = { + serializedName: "ContainerNetworkInterfaceStatistics", type: { name: "Composite", - className: "EnabledConfig", + className: "ContainerNetworkInterfaceStatistics", modelProperties: { - enabled: { - serializedName: "enabled", - xmlName: "enabled", + rxBytes: { + serializedName: "rxBytes", + xmlName: "rxBytes", type: { - name: "Boolean", + name: "Number", }, }, - }, - }, -}; - -export const SiteConfigurationSnapshotInfoCollection: coreClient.CompositeMapper = - { - serializedName: "SiteConfigurationSnapshotInfoCollection", - type: { - name: "Composite", - className: "SiteConfigurationSnapshotInfoCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "SiteConfigurationSnapshotInfo", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SiteConfigurationSnapshotInfo", - }, - }, - }, + rxPackets: { + serializedName: "rxPackets", + xmlName: "rxPackets", + type: { + name: "Number", }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String", - }, + }, + rxErrors: { + serializedName: "rxErrors", + xmlName: "rxErrors", + type: { + name: "Number", }, }, - }, - }; - -export const ContinuousWebJobCollection: coreClient.CompositeMapper = { - serializedName: "ContinuousWebJobCollection", - type: { - name: "Composite", - className: "ContinuousWebJobCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "ContinuousWebJob", + rxDropped: { + serializedName: "rxDropped", + xmlName: "rxDropped", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContinuousWebJob", - }, - }, + name: "Number", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + txBytes: { + serializedName: "txBytes", + xmlName: "txBytes", type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const CsmDeploymentStatusCollection: coreClient.CompositeMapper = { - serializedName: "CsmDeploymentStatusCollection", - type: { - name: "Composite", - className: "CsmDeploymentStatusCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "CsmDeploymentStatus", + txPackets: { + serializedName: "txPackets", + xmlName: "txPackets", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CsmDeploymentStatus", - }, - }, + name: "Number", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + txErrors: { + serializedName: "txErrors", + xmlName: "txErrors", type: { - name: "String", + name: "Number", + }, + }, + txDropped: { + serializedName: "txDropped", + xmlName: "txDropped", + type: { + name: "Number", }, }, }, }, }; -export const DeploymentCollection: coreClient.CompositeMapper = { - serializedName: "DeploymentCollection", +export const ProcessInfoCollection: coreClient.CompositeMapper = { + serializedName: "ProcessInfoCollection", type: { name: "Composite", - className: "DeploymentCollection", + className: "ProcessInfoCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "Deployment", + xmlElementName: "ProcessInfo", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Deployment", + className: "ProcessInfo", }, }, }, @@ -12082,33 +11788,31 @@ export const DeploymentCollection: coreClient.CompositeMapper = { }, }; -export const MSDeployLogEntry: coreClient.CompositeMapper = { - serializedName: "MSDeployLogEntry", +export const ProcessModuleInfoCollection: coreClient.CompositeMapper = { + serializedName: "ProcessModuleInfoCollection", type: { name: "Composite", - className: "MSDeployLogEntry", + className: "ProcessModuleInfoCollection", modelProperties: { - time: { - serializedName: "time", - readOnly: true, - xmlName: "time", - type: { - name: "DateTime", - }, - }, - type: { - serializedName: "type", - readOnly: true, - xmlName: "type", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "ProcessModuleInfo", type: { - name: "Enum", - allowedValues: ["Message", "Warning", "Error"], + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ProcessModuleInfo", + }, + }, }, }, - message: { - serializedName: "message", + nextLink: { + serializedName: "nextLink", readOnly: true, - xmlName: "message", + xmlName: "nextLink", type: { name: "String", }, @@ -12117,23 +11821,23 @@ export const MSDeployLogEntry: coreClient.CompositeMapper = { }, }; -export const FunctionEnvelopeCollection: coreClient.CompositeMapper = { - serializedName: "FunctionEnvelopeCollection", +export const ProcessThreadInfoCollection: coreClient.CompositeMapper = { + serializedName: "ProcessThreadInfoCollection", type: { name: "Composite", - className: "FunctionEnvelopeCollection", + className: "ProcessThreadInfoCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "FunctionEnvelope", + xmlElementName: "ProcessThreadInfo", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FunctionEnvelope", + className: "ProcessThreadInfo", }, }, }, @@ -12150,46 +11854,82 @@ export const FunctionEnvelopeCollection: coreClient.CompositeMapper = { }, }; -export const KeyInfo: coreClient.CompositeMapper = { - serializedName: "KeyInfo", +export const SiteCloneability: coreClient.CompositeMapper = { + serializedName: "SiteCloneability", type: { name: "Composite", - className: "KeyInfo", + className: "SiteCloneability", modelProperties: { - name: { - serializedName: "name", - xmlName: "name", + result: { + serializedName: "result", + xmlName: "result", type: { - name: "String", + name: "Enum", + allowedValues: ["Cloneable", "PartiallyCloneable", "NotCloneable"], }, }, - value: { - serializedName: "value", - xmlName: "value", + blockingFeatures: { + serializedName: "blockingFeatures", + xmlName: "blockingFeatures", + xmlElementName: "SiteCloneabilityCriterion", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SiteCloneabilityCriterion", + }, + }, + }, + }, + unsupportedFeatures: { + serializedName: "unsupportedFeatures", + xmlName: "unsupportedFeatures", + xmlElementName: "SiteCloneabilityCriterion", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SiteCloneabilityCriterion", + }, + }, + }, + }, + blockingCharacteristics: { + serializedName: "blockingCharacteristics", + xmlName: "blockingCharacteristics", + xmlElementName: "SiteCloneabilityCriterion", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SiteCloneabilityCriterion", + }, + }, }, }, }, }, }; -export const FunctionSecrets: coreClient.CompositeMapper = { - serializedName: "FunctionSecrets", +export const SiteCloneabilityCriterion: coreClient.CompositeMapper = { + serializedName: "SiteCloneabilityCriterion", type: { name: "Composite", - className: "FunctionSecrets", + className: "SiteCloneabilityCriterion", modelProperties: { - key: { - serializedName: "key", - xmlName: "key", + name: { + serializedName: "name", + xmlName: "name", type: { name: "String", }, }, - triggerUrl: { - serializedName: "trigger_url", - xmlName: "trigger_url", + description: { + serializedName: "description", + xmlName: "description", type: { name: "String", }, @@ -12198,56 +11938,54 @@ export const FunctionSecrets: coreClient.CompositeMapper = { }, }; -export const HostKeys: coreClient.CompositeMapper = { - serializedName: "HostKeys", +export const NetworkTrace: coreClient.CompositeMapper = { + serializedName: "NetworkTrace", type: { name: "Composite", - className: "HostKeys", + className: "NetworkTrace", modelProperties: { - masterKey: { - serializedName: "masterKey", - xmlName: "masterKey", + path: { + serializedName: "path", + xmlName: "path", type: { name: "String", }, }, - functionKeys: { - serializedName: "functionKeys", - xmlName: "functionKeys", + status: { + serializedName: "status", + xmlName: "status", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - systemKeys: { - serializedName: "systemKeys", - xmlName: "systemKeys", + message: { + serializedName: "message", + xmlName: "message", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const HostNameBindingCollection: coreClient.CompositeMapper = { - serializedName: "HostNameBindingCollection", +export const PerfMonCounterCollection: coreClient.CompositeMapper = { + serializedName: "PerfMonCounterCollection", type: { name: "Composite", - className: "HostNameBindingCollection", + className: "PerfMonCounterCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "HostNameBinding", + xmlElementName: "PerfMonResponse", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HostNameBinding", + className: "PerfMonResponse", }, }, }, @@ -12264,338 +12002,387 @@ export const HostNameBindingCollection: coreClient.CompositeMapper = { }, }; -export const WebAppInstanceStatusCollection: coreClient.CompositeMapper = { - serializedName: "WebAppInstanceStatusCollection", +export const PerfMonResponse: coreClient.CompositeMapper = { + serializedName: "PerfMonResponse", type: { name: "Composite", - className: "WebAppInstanceStatusCollection", + className: "PerfMonResponse", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "WebSiteInstanceStatus", + code: { + serializedName: "code", + xmlName: "code", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WebSiteInstanceStatus", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + message: { + serializedName: "message", + xmlName: "message", type: { name: "String", }, }, + data: { + serializedName: "data", + xmlName: "data", + type: { + name: "Composite", + className: "PerfMonSet", + }, + }, }, }, }; -export const ContainerInfo: coreClient.CompositeMapper = { - serializedName: "ContainerInfo", +export const PerfMonSet: coreClient.CompositeMapper = { + serializedName: "PerfMonSet", type: { name: "Composite", - className: "ContainerInfo", + className: "PerfMonSet", modelProperties: { - currentTimeStamp: { - serializedName: "currentTimeStamp", - xmlName: "currentTimeStamp", + name: { + serializedName: "name", + xmlName: "name", type: { - name: "DateTime", + name: "String", }, }, - previousTimeStamp: { - serializedName: "previousTimeStamp", - xmlName: "previousTimeStamp", + startTime: { + serializedName: "startTime", + xmlName: "startTime", type: { name: "DateTime", }, }, - currentCpuStats: { - serializedName: "currentCpuStats", - xmlName: "currentCpuStats", + endTime: { + serializedName: "endTime", + xmlName: "endTime", type: { - name: "Composite", - className: "ContainerCpuStatistics", + name: "DateTime", }, }, - previousCpuStats: { - serializedName: "previousCpuStats", - xmlName: "previousCpuStats", + timeGrain: { + serializedName: "timeGrain", + xmlName: "timeGrain", type: { - name: "Composite", - className: "ContainerCpuStatistics", + name: "String", }, }, - memoryStats: { - serializedName: "memoryStats", - xmlName: "memoryStats", + values: { + serializedName: "values", + xmlName: "values", + xmlElementName: "PerfMonSample", type: { - name: "Composite", - className: "ContainerMemoryStatistics", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PerfMonSample", + }, + }, }, }, - name: { - serializedName: "name", - xmlName: "name", + }, + }, +}; + +export const PerfMonSample: coreClient.CompositeMapper = { + serializedName: "PerfMonSample", + type: { + name: "Composite", + className: "PerfMonSample", + modelProperties: { + time: { + serializedName: "time", + xmlName: "time", type: { - name: "String", + name: "DateTime", }, }, - id: { - serializedName: "id", - xmlName: "id", + instanceName: { + serializedName: "instanceName", + xmlName: "instanceName", type: { name: "String", }, }, - eth0: { - serializedName: "eth0", - xmlName: "eth0", + value: { + serializedName: "value", + xmlName: "value", type: { - name: "Composite", - className: "ContainerNetworkInterfaceStatistics", + name: "Number", }, }, }, }, }; -export const ContainerCpuStatistics: coreClient.CompositeMapper = { - serializedName: "ContainerCpuStatistics", +export const PrivateAccessVirtualNetwork: coreClient.CompositeMapper = { + serializedName: "PrivateAccessVirtualNetwork", type: { name: "Composite", - className: "ContainerCpuStatistics", + className: "PrivateAccessVirtualNetwork", modelProperties: { - cpuUsage: { - serializedName: "cpuUsage", - xmlName: "cpuUsage", + name: { + serializedName: "name", + xmlName: "name", type: { - name: "Composite", - className: "ContainerCpuUsage", + name: "String", }, }, - systemCpuUsage: { - serializedName: "systemCpuUsage", - xmlName: "systemCpuUsage", + key: { + serializedName: "key", + xmlName: "key", type: { name: "Number", }, }, - onlineCpuCount: { - serializedName: "onlineCpuCount", - xmlName: "onlineCpuCount", + resourceId: { + serializedName: "resourceId", + xmlName: "resourceId", type: { - name: "Number", + name: "String", }, }, - throttlingData: { - serializedName: "throttlingData", - xmlName: "throttlingData", + subnets: { + serializedName: "subnets", + xmlName: "subnets", + xmlElementName: "PrivateAccessSubnet", type: { - name: "Composite", - className: "ContainerThrottlingData", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateAccessSubnet", + }, + }, }, }, }, }, }; -export const ContainerCpuUsage: coreClient.CompositeMapper = { - serializedName: "ContainerCpuUsage", +export const PrivateAccessSubnet: coreClient.CompositeMapper = { + serializedName: "PrivateAccessSubnet", type: { name: "Composite", - className: "ContainerCpuUsage", + className: "PrivateAccessSubnet", modelProperties: { - totalUsage: { - serializedName: "totalUsage", - xmlName: "totalUsage", + name: { + serializedName: "name", + xmlName: "name", + type: { + name: "String", + }, + }, + key: { + serializedName: "key", + xmlName: "key", type: { name: "Number", }, }, - perCpuUsage: { - serializedName: "perCpuUsage", - xmlName: "perCpuUsage", - xmlElementName: "ArrayItemschema", + }, + }, +}; + +export const PublicCertificateCollection: coreClient.CompositeMapper = { + serializedName: "PublicCertificateCollection", + type: { + name: "Composite", + className: "PublicCertificateCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "PublicCertificate", type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "PublicCertificate", }, }, }, }, - kernelModeUsage: { - serializedName: "kernelModeUsage", - xmlName: "kernelModeUsage", - type: { - name: "Number", - }, - }, - userModeUsage: { - serializedName: "userModeUsage", - xmlName: "userModeUsage", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ContainerThrottlingData: coreClient.CompositeMapper = { - serializedName: "ContainerThrottlingData", +export const CsmPublishingProfileOptions: coreClient.CompositeMapper = { + serializedName: "CsmPublishingProfileOptions", type: { name: "Composite", - className: "ContainerThrottlingData", + className: "CsmPublishingProfileOptions", modelProperties: { - periods: { - serializedName: "periods", - xmlName: "periods", - type: { - name: "Number", - }, - }, - throttledPeriods: { - serializedName: "throttledPeriods", - xmlName: "throttledPeriods", + format: { + serializedName: "format", + xmlName: "format", type: { - name: "Number", + name: "String", }, }, - throttledTime: { - serializedName: "throttledTime", - xmlName: "throttledTime", + includeDisasterRecoveryEndpoints: { + serializedName: "includeDisasterRecoveryEndpoints", + xmlName: "includeDisasterRecoveryEndpoints", type: { - name: "Number", + name: "Boolean", }, }, }, }, }; -export const ContainerMemoryStatistics: coreClient.CompositeMapper = { - serializedName: "ContainerMemoryStatistics", +export const SnapshotRecoverySource: coreClient.CompositeMapper = { + serializedName: "SnapshotRecoverySource", type: { name: "Composite", - className: "ContainerMemoryStatistics", + className: "SnapshotRecoverySource", modelProperties: { - usage: { - serializedName: "usage", - xmlName: "usage", - type: { - name: "Number", - }, - }, - maxUsage: { - serializedName: "maxUsage", - xmlName: "maxUsage", + location: { + serializedName: "location", + xmlName: "location", type: { - name: "Number", + name: "String", }, }, - limit: { - serializedName: "limit", - xmlName: "limit", + id: { + serializedName: "id", + xmlName: "id", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ContainerNetworkInterfaceStatistics: coreClient.CompositeMapper = { - serializedName: "ContainerNetworkInterfaceStatistics", +export const SiteContainerCollection: coreClient.CompositeMapper = { + serializedName: "SiteContainerCollection", type: { name: "Composite", - className: "ContainerNetworkInterfaceStatistics", + className: "SiteContainerCollection", modelProperties: { - rxBytes: { - serializedName: "rxBytes", - xmlName: "rxBytes", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "SiteContainer", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SiteContainer", + }, + }, }, }, - rxPackets: { - serializedName: "rxPackets", - xmlName: "rxPackets", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { - name: "Number", + name: "String", }, }, - rxErrors: { - serializedName: "rxErrors", - xmlName: "rxErrors", + }, + }, +}; + +export const VolumeMount: coreClient.CompositeMapper = { + serializedName: "VolumeMount", + type: { + name: "Composite", + className: "VolumeMount", + modelProperties: { + volumeSubPath: { + serializedName: "volumeSubPath", + required: true, + xmlName: "volumeSubPath", type: { - name: "Number", + name: "String", }, }, - rxDropped: { - serializedName: "rxDropped", - xmlName: "rxDropped", + containerMountPath: { + serializedName: "containerMountPath", + required: true, + xmlName: "containerMountPath", type: { - name: "Number", + name: "String", }, }, - txBytes: { - serializedName: "txBytes", - xmlName: "txBytes", + data: { + serializedName: "data", + xmlName: "data", type: { - name: "Number", + name: "String", }, }, - txPackets: { - serializedName: "txPackets", - xmlName: "txPackets", + readOnly: { + serializedName: "readOnly", + xmlName: "readOnly", type: { - name: "Number", + name: "Boolean", }, }, - txErrors: { - serializedName: "txErrors", - xmlName: "txErrors", + }, + }, +}; + +export const EnvironmentVariable: coreClient.CompositeMapper = { + serializedName: "EnvironmentVariable", + type: { + name: "Composite", + className: "EnvironmentVariable", + modelProperties: { + name: { + serializedName: "name", + required: true, + xmlName: "name", type: { - name: "Number", + name: "String", }, }, - txDropped: { - serializedName: "txDropped", - xmlName: "txDropped", + value: { + serializedName: "value", + required: true, + xmlName: "value", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ProcessInfoCollection: coreClient.CompositeMapper = { - serializedName: "ProcessInfoCollection", +export const SiteExtensionInfoCollection: coreClient.CompositeMapper = { + serializedName: "SiteExtensionInfoCollection", type: { name: "Composite", - className: "ProcessInfoCollection", + className: "SiteExtensionInfoCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "ProcessInfo", + xmlElementName: "SiteExtensionInfo", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ProcessInfo", + className: "SiteExtensionInfo", }, }, }, @@ -12612,23 +12399,23 @@ export const ProcessInfoCollection: coreClient.CompositeMapper = { }, }; -export const ProcessModuleInfoCollection: coreClient.CompositeMapper = { - serializedName: "ProcessModuleInfoCollection", +export const SlotDifferenceCollection: coreClient.CompositeMapper = { + serializedName: "SlotDifferenceCollection", type: { name: "Composite", - className: "ProcessModuleInfoCollection", + className: "SlotDifferenceCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "ProcessModuleInfo", + xmlElementName: "SlotDifference", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ProcessModuleInfo", + className: "SlotDifference", }, }, }, @@ -12645,23 +12432,23 @@ export const ProcessModuleInfoCollection: coreClient.CompositeMapper = { }, }; -export const ProcessThreadInfoCollection: coreClient.CompositeMapper = { - serializedName: "ProcessThreadInfoCollection", +export const SnapshotCollection: coreClient.CompositeMapper = { + serializedName: "SnapshotCollection", type: { name: "Composite", - className: "ProcessThreadInfoCollection", + className: "SnapshotCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "ProcessThreadInfo", + xmlElementName: "Snapshot", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ProcessThreadInfo", + className: "Snapshot", }, }, }, @@ -12678,82 +12465,62 @@ export const ProcessThreadInfoCollection: coreClient.CompositeMapper = { }, }; -export const SiteCloneability: coreClient.CompositeMapper = { - serializedName: "SiteCloneability", +export const GitHubActionConfiguration: coreClient.CompositeMapper = { + serializedName: "GitHubActionConfiguration", type: { name: "Composite", - className: "SiteCloneability", + className: "GitHubActionConfiguration", modelProperties: { - result: { - serializedName: "result", - xmlName: "result", + codeConfiguration: { + serializedName: "codeConfiguration", + xmlName: "codeConfiguration", type: { - name: "Enum", - allowedValues: ["Cloneable", "PartiallyCloneable", "NotCloneable"], + name: "Composite", + className: "GitHubActionCodeConfiguration", }, }, - blockingFeatures: { - serializedName: "blockingFeatures", - xmlName: "blockingFeatures", - xmlElementName: "SiteCloneabilityCriterion", + containerConfiguration: { + serializedName: "containerConfiguration", + xmlName: "containerConfiguration", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SiteCloneabilityCriterion", - }, - }, + name: "Composite", + className: "GitHubActionContainerConfiguration", }, }, - unsupportedFeatures: { - serializedName: "unsupportedFeatures", - xmlName: "unsupportedFeatures", - xmlElementName: "SiteCloneabilityCriterion", + isLinux: { + serializedName: "isLinux", + xmlName: "isLinux", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SiteCloneabilityCriterion", - }, - }, + name: "Boolean", }, }, - blockingCharacteristics: { - serializedName: "blockingCharacteristics", - xmlName: "blockingCharacteristics", - xmlElementName: "SiteCloneabilityCriterion", + generateWorkflowFile: { + serializedName: "generateWorkflowFile", + xmlName: "generateWorkflowFile", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SiteCloneabilityCriterion", - }, - }, + name: "Boolean", }, }, }, }, }; -export const SiteCloneabilityCriterion: coreClient.CompositeMapper = { - serializedName: "SiteCloneabilityCriterion", +export const GitHubActionCodeConfiguration: coreClient.CompositeMapper = { + serializedName: "GitHubActionCodeConfiguration", type: { name: "Composite", - className: "SiteCloneabilityCriterion", + className: "GitHubActionCodeConfiguration", modelProperties: { - name: { - serializedName: "name", - xmlName: "name", + runtimeStack: { + serializedName: "runtimeStack", + xmlName: "runtimeStack", type: { name: "String", }, }, - description: { - serializedName: "description", - xmlName: "description", + runtimeVersion: { + serializedName: "runtimeVersion", + xmlName: "runtimeVersion", type: { name: "String", }, @@ -12762,29 +12529,157 @@ export const SiteCloneabilityCriterion: coreClient.CompositeMapper = { }, }; -export const NetworkTrace: coreClient.CompositeMapper = { - serializedName: "NetworkTrace", +export const GitHubActionContainerConfiguration: coreClient.CompositeMapper = { + serializedName: "GitHubActionContainerConfiguration", type: { name: "Composite", - className: "NetworkTrace", + className: "GitHubActionContainerConfiguration", modelProperties: { - path: { - serializedName: "path", - xmlName: "path", + serverUrl: { + serializedName: "serverUrl", + xmlName: "serverUrl", + type: { + name: "String", + }, + }, + imageName: { + serializedName: "imageName", + xmlName: "imageName", + type: { + name: "String", + }, + }, + username: { + serializedName: "username", + xmlName: "username", + type: { + name: "String", + }, + }, + password: { + serializedName: "password", + xmlName: "password", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const TriggeredWebJobCollection: coreClient.CompositeMapper = { + serializedName: "TriggeredWebJobCollection", + type: { + name: "Composite", + className: "TriggeredWebJobCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "TriggeredWebJob", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TriggeredWebJob", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const TriggeredJobRun: coreClient.CompositeMapper = { + serializedName: "TriggeredJobRun", + type: { + name: "Composite", + className: "TriggeredJobRun", + modelProperties: { + webJobId: { + serializedName: "web_job_id", + xmlName: "web_job_id", + type: { + name: "String", + }, + }, + webJobName: { + serializedName: "web_job_name", + xmlName: "web_job_name", + type: { + name: "String", + }, + }, + status: { + serializedName: "status", + xmlName: "status", + type: { + name: "Enum", + allowedValues: ["Success", "Failed", "Error"], + }, + }, + startTime: { + serializedName: "start_time", + xmlName: "start_time", + type: { + name: "DateTime", + }, + }, + endTime: { + serializedName: "end_time", + xmlName: "end_time", + type: { + name: "DateTime", + }, + }, + duration: { + serializedName: "duration", + xmlName: "duration", + type: { + name: "String", + }, + }, + outputUrl: { + serializedName: "output_url", + xmlName: "output_url", + type: { + name: "String", + }, + }, + errorUrl: { + serializedName: "error_url", + xmlName: "error_url", type: { name: "String", }, }, - status: { - serializedName: "status", - xmlName: "status", + url: { + serializedName: "url", + xmlName: "url", type: { name: "String", }, }, - message: { - serializedName: "message", - xmlName: "message", + jobName: { + serializedName: "job_name", + xmlName: "job_name", + type: { + name: "String", + }, + }, + trigger: { + serializedName: "trigger", + xmlName: "trigger", type: { name: "String", }, @@ -12793,23 +12688,23 @@ export const NetworkTrace: coreClient.CompositeMapper = { }, }; -export const PerfMonCounterCollection: coreClient.CompositeMapper = { - serializedName: "PerfMonCounterCollection", +export const TriggeredJobHistoryCollection: coreClient.CompositeMapper = { + serializedName: "TriggeredJobHistoryCollection", type: { name: "Composite", - className: "PerfMonCounterCollection", + className: "TriggeredJobHistoryCollection", modelProperties: { value: { serializedName: "value", required: true, xmlName: "value", - xmlElementName: "PerfMonResponse", + xmlElementName: "TriggeredJobHistory", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PerfMonResponse", + className: "TriggeredJobHistory", }, }, }, @@ -12826,82 +12721,72 @@ export const PerfMonCounterCollection: coreClient.CompositeMapper = { }, }; -export const PerfMonResponse: coreClient.CompositeMapper = { - serializedName: "PerfMonResponse", +export const WebJobCollection: coreClient.CompositeMapper = { + serializedName: "WebJobCollection", type: { name: "Composite", - className: "PerfMonResponse", + className: "WebJobCollection", modelProperties: { - code: { - serializedName: "code", - xmlName: "code", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "WebJob", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WebJob", + }, + }, }, }, - message: { - serializedName: "message", - xmlName: "message", + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", type: { name: "String", }, }, - data: { - serializedName: "data", - xmlName: "data", - type: { - name: "Composite", - className: "PerfMonSet", - }, - }, }, }, }; -export const PerfMonSet: coreClient.CompositeMapper = { - serializedName: "PerfMonSet", +export const WorkflowArtifacts: coreClient.CompositeMapper = { + serializedName: "WorkflowArtifacts", type: { name: "Composite", - className: "PerfMonSet", + className: "WorkflowArtifacts", modelProperties: { - name: { - serializedName: "name", - xmlName: "name", - type: { - name: "String", - }, - }, - startTime: { - serializedName: "startTime", - xmlName: "startTime", - type: { - name: "DateTime", - }, - }, - endTime: { - serializedName: "endTime", - xmlName: "endTime", + appSettings: { + serializedName: "appSettings", + xmlName: "appSettings", type: { - name: "DateTime", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - timeGrain: { - serializedName: "timeGrain", - xmlName: "timeGrain", + files: { + serializedName: "files", + xmlName: "files", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - values: { - serializedName: "values", - xmlName: "values", - xmlElementName: "PerfMonSample", + filesToDelete: { + serializedName: "filesToDelete", + xmlName: "filesToDelete", + xmlElementName: "WorkflowArtifactsFilesToDeleteItem", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "PerfMonSample", + name: "String", }, }, }, @@ -12910,212 +12795,166 @@ export const PerfMonSet: coreClient.CompositeMapper = { }, }; -export const PerfMonSample: coreClient.CompositeMapper = { - serializedName: "PerfMonSample", +export const WorkflowEnvelopeCollection: coreClient.CompositeMapper = { + serializedName: "WorkflowEnvelopeCollection", type: { name: "Composite", - className: "PerfMonSample", + className: "WorkflowEnvelopeCollection", modelProperties: { - time: { - serializedName: "time", - xmlName: "time", - type: { - name: "DateTime", - }, - }, - instanceName: { - serializedName: "instanceName", - xmlName: "instanceName", - type: { - name: "String", - }, - }, value: { serializedName: "value", + required: true, xmlName: "value", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const PrivateAccessVirtualNetwork: coreClient.CompositeMapper = { - serializedName: "PrivateAccessVirtualNetwork", - type: { - name: "Composite", - className: "PrivateAccessVirtualNetwork", - modelProperties: { - name: { - serializedName: "name", - xmlName: "name", - type: { - name: "String", - }, - }, - key: { - serializedName: "key", - xmlName: "key", - type: { - name: "Number", - }, - }, - resourceId: { - serializedName: "resourceId", - xmlName: "resourceId", - type: { - name: "String", - }, - }, - subnets: { - serializedName: "subnets", - xmlName: "subnets", - xmlElementName: "PrivateAccessSubnet", + xmlElementName: "WorkflowEnvelope", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PrivateAccessSubnet", + className: "WorkflowEnvelope", }, }, }, }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, }, }; -export const PrivateAccessSubnet: coreClient.CompositeMapper = { - serializedName: "PrivateAccessSubnet", +export const WorkflowEnvelope: coreClient.CompositeMapper = { + serializedName: "WorkflowEnvelope", type: { name: "Composite", - className: "PrivateAccessSubnet", + className: "WorkflowEnvelope", modelProperties: { + id: { + serializedName: "id", + readOnly: true, + xmlName: "id", + type: { + name: "String", + }, + }, name: { serializedName: "name", + readOnly: true, xmlName: "name", type: { name: "String", }, }, - key: { - serializedName: "key", - xmlName: "key", + type: { + serializedName: "type", + readOnly: true, + xmlName: "type", type: { - name: "Number", + name: "String", }, }, - }, - }, -}; - -export const PublicCertificateCollection: coreClient.CompositeMapper = { - serializedName: "PublicCertificateCollection", - type: { - name: "Composite", - className: "PublicCertificateCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "PublicCertificate", + kind: { + serializedName: "kind", + xmlName: "kind", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PublicCertificate", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + location: { + serializedName: "location", + xmlName: "location", type: { name: "String", }, }, + properties: { + serializedName: "properties", + xmlName: "properties", + type: { + name: "Composite", + className: "WorkflowEnvelopeProperties", + }, + }, }, }, }; -export const CsmPublishingProfileOptions: coreClient.CompositeMapper = { - serializedName: "CsmPublishingProfileOptions", +export const WorkflowEnvelopeProperties: coreClient.CompositeMapper = { + serializedName: "WorkflowEnvelopeProperties", type: { name: "Composite", - className: "CsmPublishingProfileOptions", + className: "WorkflowEnvelopeProperties", modelProperties: { - format: { - serializedName: "format", - xmlName: "format", + files: { + serializedName: "files", + xmlName: "files", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + flowState: { + serializedName: "flowState", + xmlName: "flowState", type: { name: "String", }, }, - includeDisasterRecoveryEndpoints: { - serializedName: "includeDisasterRecoveryEndpoints", - xmlName: "includeDisasterRecoveryEndpoints", + health: { + serializedName: "health", + xmlName: "health", type: { - name: "Boolean", + name: "Composite", + className: "WorkflowHealth", }, }, }, }, }; -export const SnapshotRecoverySource: coreClient.CompositeMapper = { - serializedName: "SnapshotRecoverySource", +export const WorkflowHealth: coreClient.CompositeMapper = { + serializedName: "WorkflowHealth", type: { name: "Composite", - className: "SnapshotRecoverySource", + className: "WorkflowHealth", modelProperties: { - location: { - serializedName: "location", - xmlName: "location", + state: { + serializedName: "state", + required: true, + xmlName: "state", type: { - name: "String", + name: "Enum", + allowedValues: ["NotSpecified", "Healthy", "Unhealthy", "Unknown"], }, }, - id: { - serializedName: "id", - xmlName: "id", + error: { + serializedName: "error", + xmlName: "error", type: { - name: "String", + name: "Composite", + className: "ErrorEntity", }, }, }, }, }; -export const SiteContainerCollection: coreClient.CompositeMapper = { - serializedName: "SiteContainerCollection", +export const RegenerateActionParameter: coreClient.CompositeMapper = { + serializedName: "RegenerateActionParameter", type: { name: "Composite", - className: "SiteContainerCollection", + className: "RegenerateActionParameter", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "SiteContainer", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SiteContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + keyType: { + serializedName: "keyType", + xmlName: "keyType", type: { name: "String", }, @@ -13124,64 +12963,40 @@ export const SiteContainerCollection: coreClient.CompositeMapper = { }, }; -export const VolumeMount: coreClient.CompositeMapper = { - serializedName: "VolumeMount", +export const ErrorResponse: coreClient.CompositeMapper = { + serializedName: "ErrorResponse", type: { name: "Composite", - className: "VolumeMount", + className: "ErrorResponse", modelProperties: { - volumeSubPath: { - serializedName: "volumeSubPath", - required: true, - xmlName: "volumeSubPath", - type: { - name: "String", - }, - }, - containerMountPath: { - serializedName: "containerMountPath", - required: true, - xmlName: "containerMountPath", - type: { - name: "String", - }, - }, - data: { - serializedName: "data", - xmlName: "data", - type: { - name: "String", - }, - }, - readOnly: { - serializedName: "readOnly", - xmlName: "readOnly", + error: { + serializedName: "error", + xmlName: "error", type: { - name: "Boolean", + name: "Composite", + className: "ErrorProperties", }, }, }, }, }; -export const EnvironmentVariable: coreClient.CompositeMapper = { - serializedName: "EnvironmentVariable", +export const ErrorProperties: coreClient.CompositeMapper = { + serializedName: "ErrorProperties", type: { name: "Composite", - className: "EnvironmentVariable", + className: "ErrorProperties", modelProperties: { - name: { - serializedName: "name", - required: true, - xmlName: "name", + code: { + serializedName: "code", + xmlName: "code", type: { name: "String", }, }, - value: { - serializedName: "value", - required: true, - xmlName: "value", + message: { + serializedName: "message", + xmlName: "message", type: { name: "String", }, @@ -13190,30 +13005,28 @@ export const EnvironmentVariable: coreClient.CompositeMapper = { }, }; -export const SiteExtensionInfoCollection: coreClient.CompositeMapper = { - serializedName: "SiteExtensionInfoCollection", +export const WorkflowRunListResult: coreClient.CompositeMapper = { + serializedName: "WorkflowRunListResult", type: { name: "Composite", - className: "SiteExtensionInfoCollection", + className: "WorkflowRunListResult", modelProperties: { value: { serializedName: "value", - required: true, xmlName: "value", - xmlElementName: "SiteExtensionInfo", + xmlElementName: "WorkflowRun", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SiteExtensionInfo", + className: "WorkflowRun", }, }, }, }, nextLink: { serializedName: "nextLink", - readOnly: true, xmlName: "nextLink", type: { name: "String", @@ -13223,31 +13036,15 @@ export const SiteExtensionInfoCollection: coreClient.CompositeMapper = { }, }; -export const SlotDifferenceCollection: coreClient.CompositeMapper = { - serializedName: "SlotDifferenceCollection", +export const Correlation: coreClient.CompositeMapper = { + serializedName: "Correlation", type: { name: "Composite", - className: "SlotDifferenceCollection", + className: "Correlation", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "SlotDifference", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SlotDifference", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", + clientTrackingId: { + serializedName: "clientTrackingId", + xmlName: "clientTrackingId", type: { name: "String", }, @@ -13256,31 +13053,31 @@ export const SlotDifferenceCollection: coreClient.CompositeMapper = { }, }; -export const SnapshotCollection: coreClient.CompositeMapper = { - serializedName: "SnapshotCollection", +export const ResourceReference: coreClient.CompositeMapper = { + serializedName: "ResourceReference", type: { name: "Composite", - className: "SnapshotCollection", + className: "ResourceReference", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "Snapshot", + id: { + serializedName: "id", + xmlName: "id", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Snapshot", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + name: { + serializedName: "name", readOnly: true, - xmlName: "nextLink", + xmlName: "name", + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + readOnly: true, + xmlName: "type", type: { name: "String", }, @@ -13289,221 +13086,238 @@ export const SnapshotCollection: coreClient.CompositeMapper = { }, }; -export const GitHubActionConfiguration: coreClient.CompositeMapper = { - serializedName: "GitHubActionConfiguration", +export const WorkflowRunTrigger: coreClient.CompositeMapper = { + serializedName: "WorkflowRunTrigger", type: { name: "Composite", - className: "GitHubActionConfiguration", + className: "WorkflowRunTrigger", modelProperties: { - codeConfiguration: { - serializedName: "codeConfiguration", - xmlName: "codeConfiguration", + name: { + serializedName: "name", + readOnly: true, + xmlName: "name", + type: { + name: "String", + }, + }, + inputs: { + serializedName: "inputs", + readOnly: true, + xmlName: "inputs", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + inputsLink: { + serializedName: "inputsLink", + xmlName: "inputsLink", type: { name: "Composite", - className: "GitHubActionCodeConfiguration", + className: "ContentLink", }, }, - containerConfiguration: { - serializedName: "containerConfiguration", - xmlName: "containerConfiguration", + outputs: { + serializedName: "outputs", + readOnly: true, + xmlName: "outputs", type: { - name: "Composite", - className: "GitHubActionContainerConfiguration", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - isLinux: { - serializedName: "isLinux", - xmlName: "isLinux", + outputsLink: { + serializedName: "outputsLink", + xmlName: "outputsLink", type: { - name: "Boolean", + name: "Composite", + className: "ContentLink", }, }, - generateWorkflowFile: { - serializedName: "generateWorkflowFile", - xmlName: "generateWorkflowFile", + scheduledTime: { + serializedName: "scheduledTime", + readOnly: true, + xmlName: "scheduledTime", type: { - name: "Boolean", + name: "DateTime", }, }, - }, - }, -}; - -export const GitHubActionCodeConfiguration: coreClient.CompositeMapper = { - serializedName: "GitHubActionCodeConfiguration", - type: { - name: "Composite", - className: "GitHubActionCodeConfiguration", - modelProperties: { - runtimeStack: { - serializedName: "runtimeStack", - xmlName: "runtimeStack", + startTime: { + serializedName: "startTime", + readOnly: true, + xmlName: "startTime", type: { - name: "String", + name: "DateTime", }, }, - runtimeVersion: { - serializedName: "runtimeVersion", - xmlName: "runtimeVersion", + endTime: { + serializedName: "endTime", + readOnly: true, + xmlName: "endTime", type: { - name: "String", + name: "DateTime", }, }, - }, - }, -}; - -export const GitHubActionContainerConfiguration: coreClient.CompositeMapper = { - serializedName: "GitHubActionContainerConfiguration", - type: { - name: "Composite", - className: "GitHubActionContainerConfiguration", - modelProperties: { - serverUrl: { - serializedName: "serverUrl", - xmlName: "serverUrl", + trackingId: { + serializedName: "trackingId", + readOnly: true, + xmlName: "trackingId", type: { name: "String", }, }, - imageName: { - serializedName: "imageName", - xmlName: "imageName", + correlation: { + serializedName: "correlation", + xmlName: "correlation", type: { - name: "String", + name: "Composite", + className: "Correlation", }, }, - username: { - serializedName: "username", - xmlName: "username", + code: { + serializedName: "code", + readOnly: true, + xmlName: "code", type: { name: "String", }, }, - password: { - serializedName: "password", - xmlName: "password", + status: { + serializedName: "status", + readOnly: true, + xmlName: "status", type: { name: "String", }, }, - }, - }, -}; - -export const TriggeredWebJobCollection: coreClient.CompositeMapper = { - serializedName: "TriggeredWebJobCollection", - type: { - name: "Composite", - className: "TriggeredWebJobCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "TriggeredWebJob", + error: { + serializedName: "error", + readOnly: true, + xmlName: "error", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TriggeredWebJob", - }, - }, + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - nextLink: { - serializedName: "nextLink", + trackedProperties: { + serializedName: "trackedProperties", readOnly: true, - xmlName: "nextLink", + xmlName: "trackedProperties", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, }, }, }; -export const TriggeredJobRun: coreClient.CompositeMapper = { - serializedName: "TriggeredJobRun", +export const ContentLink: coreClient.CompositeMapper = { + serializedName: "ContentLink", type: { name: "Composite", - className: "TriggeredJobRun", + className: "ContentLink", modelProperties: { - webJobId: { - serializedName: "web_job_id", - xmlName: "web_job_id", + uri: { + serializedName: "uri", + xmlName: "uri", type: { name: "String", }, }, - webJobName: { - serializedName: "web_job_name", - xmlName: "web_job_name", + contentVersion: { + serializedName: "contentVersion", + readOnly: true, + xmlName: "contentVersion", type: { name: "String", }, }, - status: { - serializedName: "status", - xmlName: "status", + contentSize: { + serializedName: "contentSize", + readOnly: true, + xmlName: "contentSize", type: { - name: "Enum", - allowedValues: ["Success", "Failed", "Error"], + name: "Number", }, }, - startTime: { - serializedName: "start_time", - xmlName: "start_time", + contentHash: { + serializedName: "contentHash", + xmlName: "contentHash", type: { - name: "DateTime", + name: "Composite", + className: "ContentHash", }, }, - endTime: { - serializedName: "end_time", - xmlName: "end_time", + metadata: { + serializedName: "metadata", + readOnly: true, + xmlName: "metadata", type: { - name: "DateTime", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - duration: { - serializedName: "duration", - xmlName: "duration", + }, + }, +}; + +export const ContentHash: coreClient.CompositeMapper = { + serializedName: "ContentHash", + type: { + name: "Composite", + className: "ContentHash", + modelProperties: { + algorithm: { + serializedName: "algorithm", + xmlName: "algorithm", type: { name: "String", }, }, - outputUrl: { - serializedName: "output_url", - xmlName: "output_url", + value: { + serializedName: "value", + xmlName: "value", type: { name: "String", }, }, - errorUrl: { - serializedName: "error_url", - xmlName: "error_url", + }, + }, +}; + +export const WorkflowParameter: coreClient.CompositeMapper = { + serializedName: "WorkflowParameter", + type: { + name: "Composite", + className: "WorkflowParameter", + modelProperties: { + type: { + serializedName: "type", + xmlName: "type", type: { name: "String", }, }, - url: { - serializedName: "url", - xmlName: "url", + value: { + serializedName: "value", + xmlName: "value", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - jobName: { - serializedName: "job_name", - xmlName: "job_name", + metadata: { + serializedName: "metadata", + xmlName: "metadata", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - trigger: { - serializedName: "trigger", - xmlName: "trigger", + description: { + serializedName: "description", + xmlName: "description", type: { name: "String", }, @@ -13512,30 +13326,46 @@ export const TriggeredJobRun: coreClient.CompositeMapper = { }, }; -export const TriggeredJobHistoryCollection: coreClient.CompositeMapper = { - serializedName: "TriggeredJobHistoryCollection", +export const SubResource: coreClient.CompositeMapper = { + serializedName: "SubResource", + type: { + name: "Composite", + className: "SubResource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + xmlName: "id", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkflowRunActionListResult: coreClient.CompositeMapper = { + serializedName: "WorkflowRunActionListResult", type: { name: "Composite", - className: "TriggeredJobHistoryCollection", + className: "WorkflowRunActionListResult", modelProperties: { value: { serializedName: "value", - required: true, xmlName: "value", - xmlElementName: "TriggeredJobHistory", + xmlElementName: "WorkflowRunAction", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TriggeredJobHistory", + className: "WorkflowRunAction", }, }, }, }, nextLink: { serializedName: "nextLink", - readOnly: true, xmlName: "nextLink", type: { name: "String", @@ -13545,104 +13375,118 @@ export const TriggeredJobHistoryCollection: coreClient.CompositeMapper = { }, }; -export const WebJobCollection: coreClient.CompositeMapper = { - serializedName: "WebJobCollection", +export const RunCorrelation: coreClient.CompositeMapper = { + serializedName: "RunCorrelation", type: { name: "Composite", - className: "WebJobCollection", + className: "RunCorrelation", modelProperties: { - value: { - serializedName: "value", - required: true, - xmlName: "value", - xmlElementName: "WebJob", + clientTrackingId: { + serializedName: "clientTrackingId", + xmlName: "clientTrackingId", + type: { + name: "String", + }, + }, + clientKeywords: { + serializedName: "clientKeywords", + xmlName: "clientKeywords", + xmlElementName: "RunCorrelationClientKeywordsItem", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "WebJob", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - xmlName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const WorkflowArtifacts: coreClient.CompositeMapper = { - serializedName: "WorkflowArtifacts", +export const RetryHistory: coreClient.CompositeMapper = { + serializedName: "RetryHistory", type: { name: "Composite", - className: "WorkflowArtifacts", + className: "RetryHistory", modelProperties: { - appSettings: { - serializedName: "appSettings", - xmlName: "appSettings", + startTime: { + serializedName: "startTime", + xmlName: "startTime", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "DateTime", }, }, - files: { - serializedName: "files", - xmlName: "files", + endTime: { + serializedName: "endTime", + xmlName: "endTime", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "DateTime", }, }, - filesToDelete: { - serializedName: "filesToDelete", - xmlName: "filesToDelete", - xmlElementName: "WorkflowArtifactsFilesToDeleteItem", + code: { + serializedName: "code", + xmlName: "code", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", + }, + }, + clientRequestId: { + serializedName: "clientRequestId", + xmlName: "clientRequestId", + type: { + name: "String", + }, + }, + serviceRequestId: { + serializedName: "serviceRequestId", + xmlName: "serviceRequestId", + type: { + name: "String", + }, + }, + error: { + serializedName: "error", + xmlName: "error", + type: { + name: "Composite", + className: "ErrorResponse", }, }, }, }, }; -export const WorkflowEnvelopeCollection: coreClient.CompositeMapper = { - serializedName: "WorkflowEnvelopeCollection", +export const ExpressionTraces: coreClient.CompositeMapper = { + serializedName: "ExpressionTraces", type: { name: "Composite", - className: "WorkflowEnvelopeCollection", + className: "ExpressionTraces", modelProperties: { value: { serializedName: "value", - required: true, xmlName: "value", - xmlElementName: "WorkflowEnvelope", + type: { + name: "any", + }, + }, + inputs: { + serializedName: "inputs", + xmlName: "inputs", + xmlElementName: "ExpressionRoot", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WorkflowEnvelope", + className: "ExpressionRoot", }, }, }, }, nextLink: { serializedName: "nextLink", - readOnly: true, xmlName: "nextLink", type: { name: "String", @@ -13652,239 +13496,189 @@ export const WorkflowEnvelopeCollection: coreClient.CompositeMapper = { }, }; -export const WorkflowEnvelope: coreClient.CompositeMapper = { - serializedName: "WorkflowEnvelope", +export const Expression: coreClient.CompositeMapper = { + serializedName: "Expression", type: { name: "Composite", - className: "WorkflowEnvelope", + className: "Expression", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - xmlName: "id", - type: { - name: "String", - }, - }, - name: { - serializedName: "name", - readOnly: true, - xmlName: "name", - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, - xmlName: "type", + text: { + serializedName: "text", + xmlName: "text", type: { name: "String", }, }, - kind: { - serializedName: "kind", - xmlName: "kind", + value: { + serializedName: "value", + xmlName: "value", type: { - name: "String", + name: "any", }, }, - location: { - serializedName: "location", - xmlName: "location", + subexpressions: { + serializedName: "subexpressions", + xmlName: "subexpressions", + xmlElementName: "Expression", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Expression", + }, + }, }, }, - properties: { - serializedName: "properties", - xmlName: "properties", + error: { + serializedName: "error", + xmlName: "error", type: { name: "Composite", - className: "WorkflowEnvelopeProperties", + className: "AzureResourceErrorInfo", }, }, }, }, }; -export const WorkflowEnvelopeProperties: coreClient.CompositeMapper = { - serializedName: "WorkflowEnvelopeProperties", +export const ErrorInfo: coreClient.CompositeMapper = { + serializedName: "ErrorInfo", type: { name: "Composite", - className: "WorkflowEnvelopeProperties", + className: "ErrorInfo", modelProperties: { - files: { - serializedName: "files", - xmlName: "files", - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, - flowState: { - serializedName: "flowState", - xmlName: "flowState", + code: { + serializedName: "code", + required: true, + xmlName: "code", type: { name: "String", }, }, - health: { - serializedName: "health", - xmlName: "health", - type: { - name: "Composite", - className: "WorkflowHealth", - }, - }, }, }, }; -export const WorkflowHealth: coreClient.CompositeMapper = { - serializedName: "WorkflowHealth", - type: { - name: "Composite", - className: "WorkflowHealth", - modelProperties: { - state: { - serializedName: "state", - required: true, - xmlName: "state", - type: { - name: "Enum", - allowedValues: ["NotSpecified", "Healthy", "Unhealthy", "Unknown"], +export const WorkflowRunActionRepetitionDefinitionCollection: coreClient.CompositeMapper = + { + serializedName: "WorkflowRunActionRepetitionDefinitionCollection", + type: { + name: "Composite", + className: "WorkflowRunActionRepetitionDefinitionCollection", + modelProperties: { + nextLink: { + serializedName: "nextLink", + xmlName: "nextLink", + type: { + name: "String", + }, }, - }, - error: { - serializedName: "error", - xmlName: "error", - type: { - name: "Composite", - className: "ErrorEntity", + value: { + serializedName: "value", + xmlName: "value", + xmlElementName: "WorkflowRunActionRepetitionDefinition", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkflowRunActionRepetitionDefinition", + }, + }, + }, }, }, }, - }, -}; + }; -export const RegenerateActionParameter: coreClient.CompositeMapper = { - serializedName: "RegenerateActionParameter", +export const RepetitionIndex: coreClient.CompositeMapper = { + serializedName: "RepetitionIndex", type: { name: "Composite", - className: "RegenerateActionParameter", + className: "RepetitionIndex", modelProperties: { - keyType: { - serializedName: "keyType", - xmlName: "keyType", + scopeName: { + serializedName: "scopeName", + xmlName: "scopeName", type: { name: "String", }, }, - }, - }, -}; - -export const ErrorResponse: coreClient.CompositeMapper = { - serializedName: "ErrorResponse", - type: { - name: "Composite", - className: "ErrorResponse", - modelProperties: { - error: { - serializedName: "error", - xmlName: "error", + itemIndex: { + serializedName: "itemIndex", + required: true, + xmlName: "itemIndex", type: { - name: "Composite", - className: "ErrorProperties", + name: "Number", }, }, }, }, }; -export const ErrorProperties: coreClient.CompositeMapper = { - serializedName: "ErrorProperties", +export const OperationResultProperties: coreClient.CompositeMapper = { + serializedName: "OperationResultProperties", type: { name: "Composite", - className: "ErrorProperties", + className: "OperationResultProperties", modelProperties: { - code: { - serializedName: "code", - xmlName: "code", + startTime: { + serializedName: "startTime", + xmlName: "startTime", type: { - name: "String", + name: "DateTime", }, }, - message: { - serializedName: "message", - xmlName: "message", + endTime: { + serializedName: "endTime", + xmlName: "endTime", type: { - name: "String", + name: "DateTime", }, }, - }, - }, -}; - -export const WorkflowRunListResult: coreClient.CompositeMapper = { - serializedName: "WorkflowRunListResult", - type: { - name: "Composite", - className: "WorkflowRunListResult", - modelProperties: { - value: { - serializedName: "value", - xmlName: "value", - xmlElementName: "WorkflowRun", + correlation: { + serializedName: "correlation", + xmlName: "correlation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WorkflowRun", - }, - }, + name: "Composite", + className: "RunActionCorrelation", }, }, - nextLink: { - serializedName: "nextLink", - xmlName: "nextLink", + status: { + serializedName: "status", + xmlName: "status", type: { name: "String", }, }, - }, - }, -}; - -export const Correlation: coreClient.CompositeMapper = { - serializedName: "Correlation", - type: { - name: "Composite", - className: "Correlation", - modelProperties: { - clientTrackingId: { - serializedName: "clientTrackingId", - xmlName: "clientTrackingId", + code: { + serializedName: "code", + xmlName: "code", type: { name: "String", }, }, + error: { + serializedName: "error", + xmlName: "error", + type: { + name: "any", + }, + }, }, }, }; -export const ResourceReference: coreClient.CompositeMapper = { - serializedName: "ResourceReference", +export const WorkflowResource: coreClient.CompositeMapper = { + serializedName: "WorkflowResource", type: { name: "Composite", - className: "ResourceReference", + className: "WorkflowResource", modelProperties: { id: { serializedName: "id", + readOnly: true, xmlName: "id", type: { name: "String", @@ -13906,69 +13700,64 @@ export const ResourceReference: coreClient.CompositeMapper = { name: "String", }, }, - }, - }, -}; - -export const WorkflowRunTrigger: coreClient.CompositeMapper = { - serializedName: "WorkflowRunTrigger", - type: { - name: "Composite", - className: "WorkflowRunTrigger", - modelProperties: { - name: { - serializedName: "name", - readOnly: true, - xmlName: "name", + location: { + serializedName: "location", + xmlName: "location", type: { name: "String", }, }, - inputs: { - serializedName: "inputs", - readOnly: true, - xmlName: "inputs", - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, - inputsLink: { - serializedName: "inputsLink", - xmlName: "inputsLink", - type: { - name: "Composite", - className: "ContentLink", - }, - }, - outputs: { - serializedName: "outputs", - readOnly: true, - xmlName: "outputs", + tags: { + serializedName: "tags", + xmlName: "tags", type: { name: "Dictionary", - value: { type: { name: "any" } }, + value: { type: { name: "String" } }, }, }, - outputsLink: { - serializedName: "outputsLink", - xmlName: "outputsLink", + }, + }, +}; + +export const RequestHistoryListResult: coreClient.CompositeMapper = { + serializedName: "RequestHistoryListResult", + type: { + name: "Composite", + className: "RequestHistoryListResult", + modelProperties: { + value: { + serializedName: "value", + xmlName: "value", + xmlElementName: "RequestHistory", type: { - name: "Composite", - className: "ContentLink", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RequestHistory", + }, + }, }, }, - scheduledTime: { - serializedName: "scheduledTime", - readOnly: true, - xmlName: "scheduledTime", + nextLink: { + serializedName: "nextLink", + xmlName: "nextLink", type: { - name: "DateTime", + name: "String", }, }, + }, + }, +}; + +export const RequestHistoryProperties: coreClient.CompositeMapper = { + serializedName: "RequestHistoryProperties", + type: { + name: "Composite", + className: "RequestHistoryProperties", + modelProperties: { startTime: { serializedName: "startTime", - readOnly: true, xmlName: "startTime", type: { name: "DateTime", @@ -13976,214 +13765,314 @@ export const WorkflowRunTrigger: coreClient.CompositeMapper = { }, endTime: { serializedName: "endTime", - readOnly: true, xmlName: "endTime", type: { name: "DateTime", }, }, - trackingId: { - serializedName: "trackingId", - readOnly: true, - xmlName: "trackingId", + request: { + serializedName: "request", + xmlName: "request", type: { - name: "String", + name: "Composite", + className: "Request", }, }, - correlation: { - serializedName: "correlation", - xmlName: "correlation", + response: { + serializedName: "response", + xmlName: "response", type: { name: "Composite", - className: "Correlation", + className: "Response", }, }, - code: { - serializedName: "code", - readOnly: true, - xmlName: "code", + }, + }, +}; + +export const Request: coreClient.CompositeMapper = { + serializedName: "Request", + type: { + name: "Composite", + className: "Request", + modelProperties: { + headers: { + serializedName: "headers", + xmlName: "headers", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + uri: { + serializedName: "uri", + xmlName: "uri", type: { name: "String", }, }, - status: { - serializedName: "status", - readOnly: true, - xmlName: "status", + method: { + serializedName: "method", + xmlName: "method", type: { name: "String", }, }, - error: { - serializedName: "error", - readOnly: true, - xmlName: "error", + }, + }, +}; + +export const Response: coreClient.CompositeMapper = { + serializedName: "Response", + type: { + name: "Composite", + className: "Response", + modelProperties: { + headers: { + serializedName: "headers", + xmlName: "headers", type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, - trackedProperties: { - serializedName: "trackedProperties", - readOnly: true, - xmlName: "trackedProperties", + statusCode: { + serializedName: "statusCode", + xmlName: "statusCode", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Number", + }, + }, + bodyLink: { + serializedName: "bodyLink", + xmlName: "bodyLink", + type: { + name: "Composite", + className: "ContentLink", }, }, }, }, }; -export const ContentLink: coreClient.CompositeMapper = { - serializedName: "ContentLink", +export const WorkflowTriggerListResult: coreClient.CompositeMapper = { + serializedName: "WorkflowTriggerListResult", type: { name: "Composite", - className: "ContentLink", + className: "WorkflowTriggerListResult", modelProperties: { - uri: { - serializedName: "uri", - xmlName: "uri", + value: { + serializedName: "value", + xmlName: "value", + xmlElementName: "WorkflowTrigger", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkflowTrigger", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + xmlName: "nextLink", type: { name: "String", }, }, - contentVersion: { - serializedName: "contentVersion", - readOnly: true, - xmlName: "contentVersion", + }, + }, +}; + +export const WorkflowTriggerRecurrence: coreClient.CompositeMapper = { + serializedName: "WorkflowTriggerRecurrence", + type: { + name: "Composite", + className: "WorkflowTriggerRecurrence", + modelProperties: { + frequency: { + serializedName: "frequency", + xmlName: "frequency", type: { name: "String", }, }, - contentSize: { - serializedName: "contentSize", - readOnly: true, - xmlName: "contentSize", + interval: { + serializedName: "interval", + xmlName: "interval", type: { name: "Number", }, }, - contentHash: { - serializedName: "contentHash", - xmlName: "contentHash", + startTime: { + serializedName: "startTime", + xmlName: "startTime", type: { - name: "Composite", - className: "ContentHash", + name: "String", }, }, - metadata: { - serializedName: "metadata", - readOnly: true, - xmlName: "metadata", + endTime: { + serializedName: "endTime", + xmlName: "endTime", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "String", }, }, - }, - }, -}; - -export const ContentHash: coreClient.CompositeMapper = { - serializedName: "ContentHash", - type: { - name: "Composite", - className: "ContentHash", - modelProperties: { - algorithm: { - serializedName: "algorithm", - xmlName: "algorithm", + timeZone: { + serializedName: "timeZone", + xmlName: "timeZone", type: { name: "String", }, }, - value: { - serializedName: "value", - xmlName: "value", + schedule: { + serializedName: "schedule", + xmlName: "schedule", type: { - name: "String", + name: "Composite", + className: "RecurrenceSchedule", }, }, }, }, }; -export const WorkflowParameter: coreClient.CompositeMapper = { - serializedName: "WorkflowParameter", +export const RecurrenceSchedule: coreClient.CompositeMapper = { + serializedName: "RecurrenceSchedule", type: { name: "Composite", - className: "WorkflowParameter", + className: "RecurrenceSchedule", modelProperties: { - type: { - serializedName: "type", - xmlName: "type", + minutes: { + serializedName: "minutes", + xmlName: "minutes", + xmlElementName: "ArrayItemschema", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - value: { - serializedName: "value", - xmlName: "value", + hours: { + serializedName: "hours", + xmlName: "hours", + xmlElementName: "ArrayItemschema", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - metadata: { - serializedName: "metadata", - xmlName: "metadata", + weekDays: { + serializedName: "weekDays", + xmlName: "weekDays", + xmlElementName: "DaysOfWeek", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Sequence", + element: { + type: { + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + ], + }, + }, }, }, - description: { - serializedName: "description", - xmlName: "description", + monthDays: { + serializedName: "monthDays", + xmlName: "monthDays", + xmlElementName: "ArrayItemschema", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, + }, + monthlyOccurrences: { + serializedName: "monthlyOccurrences", + xmlName: "monthlyOccurrences", + xmlElementName: "RecurrenceScheduleOccurrence", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecurrenceScheduleOccurrence", + }, + }, }, }, }, }, }; -export const SubResource: coreClient.CompositeMapper = { - serializedName: "SubResource", +export const RecurrenceScheduleOccurrence: coreClient.CompositeMapper = { + serializedName: "RecurrenceScheduleOccurrence", type: { name: "Composite", - className: "SubResource", + className: "RecurrenceScheduleOccurrence", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - xmlName: "id", + day: { + serializedName: "day", + xmlName: "day", type: { - name: "String", + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + ], + }, + }, + occurrence: { + serializedName: "occurrence", + xmlName: "occurrence", + type: { + name: "Number", }, }, }, }, }; -export const WorkflowRunActionListResult: coreClient.CompositeMapper = { - serializedName: "WorkflowRunActionListResult", +export const WorkflowTriggerHistoryListResult: coreClient.CompositeMapper = { + serializedName: "WorkflowTriggerHistoryListResult", type: { name: "Composite", - className: "WorkflowRunActionListResult", + className: "WorkflowTriggerHistoryListResult", modelProperties: { value: { serializedName: "value", xmlName: "value", - xmlElementName: "WorkflowRunAction", + xmlElementName: "WorkflowTriggerHistory", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WorkflowRunAction", + className: "WorkflowTriggerHistory", }, }, }, @@ -14199,23 +14088,48 @@ export const WorkflowRunActionListResult: coreClient.CompositeMapper = { }, }; -export const RunCorrelation: coreClient.CompositeMapper = { - serializedName: "RunCorrelation", +export const WorkflowTriggerCallbackUrl: coreClient.CompositeMapper = { + serializedName: "WorkflowTriggerCallbackUrl", type: { name: "Composite", - className: "RunCorrelation", + className: "WorkflowTriggerCallbackUrl", modelProperties: { - clientTrackingId: { - serializedName: "clientTrackingId", - xmlName: "clientTrackingId", + value: { + serializedName: "value", + readOnly: true, + xmlName: "value", type: { name: "String", }, }, - clientKeywords: { - serializedName: "clientKeywords", - xmlName: "clientKeywords", - xmlElementName: "RunCorrelationClientKeywordsItem", + method: { + serializedName: "method", + readOnly: true, + xmlName: "method", + type: { + name: "String", + }, + }, + basePath: { + serializedName: "basePath", + readOnly: true, + xmlName: "basePath", + type: { + name: "String", + }, + }, + relativePath: { + serializedName: "relativePath", + readOnly: true, + xmlName: "relativePath", + type: { + name: "String", + }, + }, + relativePathParameters: { + serializedName: "relativePathParameters", + xmlName: "relativePathParameters", + xmlElementName: "WorkflowTriggerCallbackUrlRelativePathParametersItem", type: { name: "Sequence", element: { @@ -14225,340 +14139,381 @@ export const RunCorrelation: coreClient.CompositeMapper = { }, }, }, + queries: { + serializedName: "queries", + xmlName: "queries", + type: { + name: "Composite", + className: "WorkflowTriggerListCallbackUrlQueries", + }, + }, }, }, }; -export const RetryHistory: coreClient.CompositeMapper = { - serializedName: "RetryHistory", - type: { - name: "Composite", - className: "RetryHistory", - modelProperties: { - startTime: { - serializedName: "startTime", - xmlName: "startTime", - type: { - name: "DateTime", +export const WorkflowTriggerListCallbackUrlQueries: coreClient.CompositeMapper = + { + serializedName: "WorkflowTriggerListCallbackUrlQueries", + type: { + name: "Composite", + className: "WorkflowTriggerListCallbackUrlQueries", + modelProperties: { + apiVersion: { + serializedName: "api-version", + xmlName: "api-version", + type: { + name: "String", + }, }, - }, - endTime: { - serializedName: "endTime", - xmlName: "endTime", - type: { - name: "DateTime", + sp: { + serializedName: "sp", + xmlName: "sp", + type: { + name: "String", + }, + }, + sv: { + serializedName: "sv", + xmlName: "sv", + type: { + name: "String", + }, + }, + sig: { + serializedName: "sig", + xmlName: "sig", + type: { + name: "String", + }, + }, + se: { + serializedName: "se", + xmlName: "se", + type: { + name: "String", + }, }, }, - code: { - serializedName: "code", - xmlName: "code", + }, + }; + +export const JsonSchema: coreClient.CompositeMapper = { + serializedName: "JsonSchema", + type: { + name: "Composite", + className: "JsonSchema", + modelProperties: { + title: { + serializedName: "title", + xmlName: "title", type: { name: "String", }, }, - clientRequestId: { - serializedName: "clientRequestId", - xmlName: "clientRequestId", + content: { + serializedName: "content", + xmlName: "content", type: { name: "String", }, }, - serviceRequestId: { - serializedName: "serviceRequestId", - xmlName: "serviceRequestId", + }, + }, +}; + +export const FlowEndpointsConfiguration: coreClient.CompositeMapper = { + serializedName: "FlowEndpointsConfiguration", + type: { + name: "Composite", + className: "FlowEndpointsConfiguration", + modelProperties: { + workflow: { + serializedName: "workflow", + xmlName: "workflow", type: { - name: "String", + name: "Composite", + className: "FlowEndpoints", }, }, - error: { - serializedName: "error", - xmlName: "error", + connector: { + serializedName: "connector", + xmlName: "connector", type: { name: "Composite", - className: "ErrorResponse", + className: "FlowEndpoints", }, }, }, }, }; -export const ExpressionTraces: coreClient.CompositeMapper = { - serializedName: "ExpressionTraces", +export const FlowEndpoints: coreClient.CompositeMapper = { + serializedName: "FlowEndpoints", type: { name: "Composite", - className: "ExpressionTraces", + className: "FlowEndpoints", modelProperties: { - value: { - serializedName: "value", - xmlName: "value", - type: { - name: "any", - }, - }, - inputs: { - serializedName: "inputs", - xmlName: "inputs", - xmlElementName: "ExpressionRoot", + outgoingIpAddresses: { + serializedName: "outgoingIpAddresses", + xmlName: "outgoingIpAddresses", + xmlElementName: "IpAddress", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressionRoot", + className: "IpAddress", }, }, }, }, - nextLink: { - serializedName: "nextLink", - xmlName: "nextLink", + accessEndpointIpAddresses: { + serializedName: "accessEndpointIpAddresses", + xmlName: "accessEndpointIpAddresses", + xmlElementName: "IpAddress", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IpAddress", + }, + }, }, }, }, }, }; -export const Expression: coreClient.CompositeMapper = { - serializedName: "Expression", +export const IpAddress: coreClient.CompositeMapper = { + serializedName: "IpAddress", type: { name: "Composite", - className: "Expression", + className: "IpAddress", modelProperties: { - text: { - serializedName: "text", - xmlName: "text", + address: { + serializedName: "address", + xmlName: "address", type: { name: "String", }, }, - value: { - serializedName: "value", - xmlName: "value", + }, + }, +}; + +export const FlowAccessControlConfiguration: coreClient.CompositeMapper = { + serializedName: "FlowAccessControlConfiguration", + type: { + name: "Composite", + className: "FlowAccessControlConfiguration", + modelProperties: { + triggers: { + serializedName: "triggers", + xmlName: "triggers", type: { - name: "any", + name: "Composite", + className: "FlowAccessControlConfigurationPolicy", }, }, - subexpressions: { - serializedName: "subexpressions", - xmlName: "subexpressions", - xmlElementName: "Expression", + contents: { + serializedName: "contents", + xmlName: "contents", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Expression", - }, - }, + name: "Composite", + className: "FlowAccessControlConfigurationPolicy", }, }, - error: { - serializedName: "error", - xmlName: "error", + actions: { + serializedName: "actions", + xmlName: "actions", type: { name: "Composite", - className: "AzureResourceErrorInfo", + className: "FlowAccessControlConfigurationPolicy", }, }, - }, - }, -}; - -export const ErrorInfo: coreClient.CompositeMapper = { - serializedName: "ErrorInfo", - type: { - name: "Composite", - className: "ErrorInfo", - modelProperties: { - code: { - serializedName: "code", - required: true, - xmlName: "code", + workflowManagement: { + serializedName: "workflowManagement", + xmlName: "workflowManagement", type: { - name: "String", + name: "Composite", + className: "FlowAccessControlConfigurationPolicy", }, }, }, }, }; -export const WorkflowRunActionRepetitionDefinitionCollection: coreClient.CompositeMapper = +export const FlowAccessControlConfigurationPolicy: coreClient.CompositeMapper = { - serializedName: "WorkflowRunActionRepetitionDefinitionCollection", + serializedName: "FlowAccessControlConfigurationPolicy", type: { name: "Composite", - className: "WorkflowRunActionRepetitionDefinitionCollection", + className: "FlowAccessControlConfigurationPolicy", modelProperties: { - nextLink: { - serializedName: "nextLink", - xmlName: "nextLink", - type: { - name: "String", - }, - }, - value: { - serializedName: "value", - xmlName: "value", - xmlElementName: "WorkflowRunActionRepetitionDefinition", + allowedCallerIpAddresses: { + serializedName: "allowedCallerIpAddresses", + xmlName: "allowedCallerIpAddresses", + xmlElementName: "IpAddressRange", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WorkflowRunActionRepetitionDefinition", + className: "IpAddressRange", }, }, }, }, + openAuthenticationPolicies: { + serializedName: "openAuthenticationPolicies", + xmlName: "openAuthenticationPolicies", + type: { + name: "Composite", + className: "OpenAuthenticationAccessPolicies", + }, + }, }, }, }; -export const RepetitionIndex: coreClient.CompositeMapper = { - serializedName: "RepetitionIndex", +export const IpAddressRange: coreClient.CompositeMapper = { + serializedName: "IpAddressRange", type: { name: "Composite", - className: "RepetitionIndex", + className: "IpAddressRange", modelProperties: { - scopeName: { - serializedName: "scopeName", - xmlName: "scopeName", + addressRange: { + serializedName: "addressRange", + xmlName: "addressRange", type: { name: "String", }, }, - itemIndex: { - serializedName: "itemIndex", - required: true, - xmlName: "itemIndex", - type: { - name: "Number", - }, - }, }, }, }; -export const OperationResultProperties: coreClient.CompositeMapper = { - serializedName: "OperationResultProperties", +export const OpenAuthenticationAccessPolicies: coreClient.CompositeMapper = { + serializedName: "OpenAuthenticationAccessPolicies", type: { name: "Composite", - className: "OperationResultProperties", + className: "OpenAuthenticationAccessPolicies", modelProperties: { - startTime: { - serializedName: "startTime", - xmlName: "startTime", - type: { - name: "DateTime", - }, - }, - endTime: { - serializedName: "endTime", - xmlName: "endTime", - type: { - name: "DateTime", - }, - }, - correlation: { - serializedName: "correlation", - xmlName: "correlation", - type: { - name: "Composite", - className: "RunActionCorrelation", - }, - }, - status: { - serializedName: "status", - xmlName: "status", + policies: { + serializedName: "policies", + xmlName: "policies", type: { - name: "String", + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "OpenAuthenticationAccessPolicy", + }, + }, }, }, - code: { - serializedName: "code", - xmlName: "code", + }, + }, +}; + +export const OpenAuthenticationAccessPolicy: coreClient.CompositeMapper = { + serializedName: "OpenAuthenticationAccessPolicy", + type: { + name: "Composite", + className: "OpenAuthenticationAccessPolicy", + modelProperties: { + type: { + serializedName: "type", + xmlName: "type", type: { name: "String", }, }, - error: { - serializedName: "error", - xmlName: "error", + claims: { + serializedName: "claims", + xmlName: "claims", + xmlElementName: "OpenAuthenticationPolicyClaim", type: { - name: "any", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OpenAuthenticationPolicyClaim", + }, + }, }, }, }, }, }; -export const WorkflowResource: coreClient.CompositeMapper = { - serializedName: "WorkflowResource", +export const OpenAuthenticationPolicyClaim: coreClient.CompositeMapper = { + serializedName: "OpenAuthenticationPolicyClaim", type: { name: "Composite", - className: "WorkflowResource", + className: "OpenAuthenticationPolicyClaim", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - xmlName: "id", - type: { - name: "String", - }, - }, name: { serializedName: "name", - readOnly: true, xmlName: "name", type: { name: "String", }, }, - type: { - serializedName: "type", - readOnly: true, - xmlName: "type", + value: { + serializedName: "value", + xmlName: "value", type: { name: "String", }, }, - location: { - serializedName: "location", - xmlName: "location", + }, + }, +}; + +export const WorkflowSku: coreClient.CompositeMapper = { + serializedName: "WorkflowSku", + type: { + name: "Composite", + className: "WorkflowSku", + modelProperties: { + name: { + serializedName: "name", + required: true, + xmlName: "name", type: { name: "String", }, }, - tags: { - serializedName: "tags", - xmlName: "tags", + plan: { + serializedName: "plan", + xmlName: "plan", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "ResourceReference", }, }, }, }, }; -export const RequestHistoryListResult: coreClient.CompositeMapper = { - serializedName: "RequestHistoryListResult", +export const WorkflowVersionListResult: coreClient.CompositeMapper = { + serializedName: "WorkflowVersionListResult", type: { name: "Composite", - className: "RequestHistoryListResult", + className: "WorkflowVersionListResult", modelProperties: { value: { serializedName: "value", xmlName: "value", - xmlElementName: "RequestHistory", + xmlElementName: "WorkflowVersion", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RequestHistory", + className: "WorkflowVersion", }, }, }, @@ -14574,70 +14529,124 @@ export const RequestHistoryListResult: coreClient.CompositeMapper = { }, }; -export const RequestHistoryProperties: coreClient.CompositeMapper = { - serializedName: "RequestHistoryProperties", +export const CipherSuites: coreClient.CompositeMapper = { + serializedName: "CipherSuites", type: { name: "Composite", - className: "RequestHistoryProperties", + className: "CipherSuites", modelProperties: { - startTime: { - serializedName: "startTime", - xmlName: "startTime", + suites: { + serializedName: "suites", + xmlName: "suites", + xmlElementName: "CipherSuitesItem", type: { - name: "DateTime", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const Container: coreClient.CompositeMapper = { + serializedName: "Container", + type: { + name: "Composite", + className: "Container", + modelProperties: { + image: { + serializedName: "image", + xmlName: "image", + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + xmlName: "name", + type: { + name: "String", + }, + }, + command: { + serializedName: "command", + xmlName: "command", + xmlElementName: "ContainerCommandItem", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - endTime: { - serializedName: "endTime", - xmlName: "endTime", + args: { + serializedName: "args", + xmlName: "args", + xmlElementName: "ContainerArgsItem", type: { - name: "DateTime", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - request: { - serializedName: "request", - xmlName: "request", + env: { + serializedName: "env", + xmlName: "env", + xmlElementName: "EnvironmentVar", type: { - name: "Composite", - className: "Request", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVar", + }, + }, }, }, - response: { - serializedName: "response", - xmlName: "response", + resources: { + serializedName: "resources", + xmlName: "resources", type: { name: "Composite", - className: "Response", + className: "ContainerResources", }, }, }, }, }; -export const Request: coreClient.CompositeMapper = { - serializedName: "Request", +export const EnvironmentVar: coreClient.CompositeMapper = { + serializedName: "EnvironmentVar", type: { name: "Composite", - className: "Request", + className: "EnvironmentVar", modelProperties: { - headers: { - serializedName: "headers", - xmlName: "headers", + name: { + serializedName: "name", + xmlName: "name", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "String", }, }, - uri: { - serializedName: "uri", - xmlName: "uri", + value: { + serializedName: "value", + xmlName: "value", type: { name: "String", }, }, - method: { - serializedName: "method", - xmlName: "method", + secretRef: { + serializedName: "secretRef", + xmlName: "secretRef", type: { name: "String", }, @@ -14646,200 +14655,175 @@ export const Request: coreClient.CompositeMapper = { }, }; -export const Response: coreClient.CompositeMapper = { - serializedName: "Response", +export const ContainerResources: coreClient.CompositeMapper = { + serializedName: "ContainerResources", type: { name: "Composite", - className: "Response", + className: "ContainerResources", modelProperties: { - headers: { - serializedName: "headers", - xmlName: "headers", - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, - statusCode: { - serializedName: "statusCode", - xmlName: "statusCode", + cpu: { + serializedName: "cpu", + xmlName: "cpu", type: { name: "Number", }, }, - bodyLink: { - serializedName: "bodyLink", - xmlName: "bodyLink", + memory: { + serializedName: "memory", + xmlName: "memory", type: { - name: "Composite", - className: "ContentLink", + name: "String", }, }, }, }, }; -export const WorkflowTriggerListResult: coreClient.CompositeMapper = { - serializedName: "WorkflowTriggerListResult", +export const CustomScaleRule: coreClient.CompositeMapper = { + serializedName: "CustomScaleRule", type: { name: "Composite", - className: "WorkflowTriggerListResult", + className: "CustomScaleRule", modelProperties: { - value: { - serializedName: "value", - xmlName: "value", - xmlElementName: "WorkflowTrigger", + type: { + serializedName: "type", + xmlName: "type", + type: { + name: "String", + }, + }, + metadata: { + serializedName: "metadata", + xmlName: "metadata", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + auth: { + serializedName: "auth", + xmlName: "auth", + xmlElementName: "ScaleRuleAuth", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WorkflowTrigger", + className: "ScaleRuleAuth", }, }, }, }, - nextLink: { - serializedName: "nextLink", - xmlName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const WorkflowTriggerRecurrence: coreClient.CompositeMapper = { - serializedName: "WorkflowTriggerRecurrence", +export const ScaleRuleAuth: coreClient.CompositeMapper = { + serializedName: "ScaleRuleAuth", type: { name: "Composite", - className: "WorkflowTriggerRecurrence", + className: "ScaleRuleAuth", modelProperties: { - frequency: { - serializedName: "frequency", - xmlName: "frequency", - type: { - name: "String", - }, - }, - interval: { - serializedName: "interval", - xmlName: "interval", - type: { - name: "Number", - }, - }, - startTime: { - serializedName: "startTime", - xmlName: "startTime", - type: { - name: "String", - }, - }, - endTime: { - serializedName: "endTime", - xmlName: "endTime", + secretRef: { + serializedName: "secretRef", + xmlName: "secretRef", type: { name: "String", }, }, - timeZone: { - serializedName: "timeZone", - xmlName: "timeZone", + triggerParameter: { + serializedName: "triggerParameter", + xmlName: "triggerParameter", type: { name: "String", }, }, - schedule: { - serializedName: "schedule", - xmlName: "schedule", - type: { - name: "Composite", - className: "RecurrenceSchedule", - }, - }, }, }, }; -export const RecurrenceSchedule: coreClient.CompositeMapper = { - serializedName: "RecurrenceSchedule", +export const Dapr: coreClient.CompositeMapper = { + serializedName: "Dapr", type: { name: "Composite", - className: "RecurrenceSchedule", + className: "Dapr", modelProperties: { - minutes: { - serializedName: "minutes", - xmlName: "minutes", - xmlElementName: "ArrayItemschema", + enabled: { + serializedName: "enabled", + xmlName: "enabled", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "Boolean", }, }, - hours: { - serializedName: "hours", - xmlName: "hours", - xmlElementName: "ArrayItemschema", + appId: { + serializedName: "appId", + xmlName: "appId", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "String", }, }, - weekDays: { - serializedName: "weekDays", - xmlName: "weekDays", - xmlElementName: "DaysOfWeek", + appPort: { + serializedName: "appPort", + xmlName: "appPort", + type: { + name: "Number", + }, + }, + components: { + serializedName: "components", + xmlName: "components", + xmlElementName: "DaprComponent", type: { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - ], + name: "Composite", + className: "DaprComponent", }, }, }, }, - monthDays: { - serializedName: "monthDays", - xmlName: "monthDays", - xmlElementName: "ArrayItemschema", + }, + }, +}; + +export const DaprComponent: coreClient.CompositeMapper = { + serializedName: "DaprComponent", + type: { + name: "Composite", + className: "DaprComponent", + modelProperties: { + name: { + serializedName: "name", + xmlName: "name", + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + xmlName: "type", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "String", }, }, - monthlyOccurrences: { - serializedName: "monthlyOccurrences", - xmlName: "monthlyOccurrences", - xmlElementName: "RecurrenceScheduleOccurrence", + version: { + serializedName: "version", + xmlName: "version", + type: { + name: "String", + }, + }, + metadata: { + serializedName: "metadata", + xmlName: "metadata", + xmlElementName: "DaprMetadata", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecurrenceScheduleOccurrence", + className: "DaprMetadata", }, }, }, @@ -14848,259 +14832,278 @@ export const RecurrenceSchedule: coreClient.CompositeMapper = { }, }; -export const RecurrenceScheduleOccurrence: coreClient.CompositeMapper = { - serializedName: "RecurrenceScheduleOccurrence", +export const DaprMetadata: coreClient.CompositeMapper = { + serializedName: "DaprMetadata", type: { name: "Composite", - className: "RecurrenceScheduleOccurrence", + className: "DaprMetadata", modelProperties: { - day: { - serializedName: "day", - xmlName: "day", + name: { + serializedName: "name", + xmlName: "name", type: { - name: "Enum", - allowedValues: [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - ], + name: "String", }, }, - occurrence: { - serializedName: "occurrence", - xmlName: "occurrence", + value: { + serializedName: "value", + xmlName: "value", type: { - name: "Number", + name: "String", + }, + }, + secretRef: { + serializedName: "secretRef", + xmlName: "secretRef", + type: { + name: "String", }, }, }, }, }; -export const WorkflowTriggerHistoryListResult: coreClient.CompositeMapper = { - serializedName: "WorkflowTriggerHistoryListResult", +export const HttpScaleRule: coreClient.CompositeMapper = { + serializedName: "HttpScaleRule", type: { name: "Composite", - className: "WorkflowTriggerHistoryListResult", + className: "HttpScaleRule", modelProperties: { - value: { - serializedName: "value", - xmlName: "value", - xmlElementName: "WorkflowTriggerHistory", + metadata: { + serializedName: "metadata", + xmlName: "metadata", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + auth: { + serializedName: "auth", + xmlName: "auth", + xmlElementName: "ScaleRuleAuth", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WorkflowTriggerHistory", + className: "ScaleRuleAuth", }, }, }, }, - nextLink: { - serializedName: "nextLink", - xmlName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const WorkflowTriggerCallbackUrl: coreClient.CompositeMapper = { - serializedName: "WorkflowTriggerCallbackUrl", +export const QueueScaleRule: coreClient.CompositeMapper = { + serializedName: "QueueScaleRule", type: { name: "Composite", - className: "WorkflowTriggerCallbackUrl", + className: "QueueScaleRule", modelProperties: { - value: { - serializedName: "value", - readOnly: true, - xmlName: "value", + queueName: { + serializedName: "queueName", + xmlName: "queueName", type: { name: "String", }, }, - method: { - serializedName: "method", - readOnly: true, - xmlName: "method", + queueLength: { + serializedName: "queueLength", + xmlName: "queueLength", type: { - name: "String", + name: "Number", }, }, - basePath: { - serializedName: "basePath", - readOnly: true, - xmlName: "basePath", + auth: { + serializedName: "auth", + xmlName: "auth", + xmlElementName: "ScaleRuleAuth", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScaleRuleAuth", + }, + }, }, }, - relativePath: { - serializedName: "relativePath", - readOnly: true, - xmlName: "relativePath", + }, + }, +}; + +export const Scale: coreClient.CompositeMapper = { + serializedName: "Scale", + type: { + name: "Composite", + className: "Scale", + modelProperties: { + minReplicas: { + serializedName: "minReplicas", + xmlName: "minReplicas", type: { - name: "String", + name: "Number", }, }, - relativePathParameters: { - serializedName: "relativePathParameters", - xmlName: "relativePathParameters", - xmlElementName: "WorkflowTriggerCallbackUrlRelativePathParametersItem", + maxReplicas: { + serializedName: "maxReplicas", + xmlName: "maxReplicas", + type: { + name: "Number", + }, + }, + rules: { + serializedName: "rules", + xmlName: "rules", + xmlElementName: "ScaleRule", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "ScaleRule", }, }, }, }, - queries: { - serializedName: "queries", - xmlName: "queries", - type: { - name: "Composite", - className: "WorkflowTriggerListCallbackUrlQueries", - }, - }, }, }, }; -export const WorkflowTriggerListCallbackUrlQueries: coreClient.CompositeMapper = - { - serializedName: "WorkflowTriggerListCallbackUrlQueries", - type: { - name: "Composite", - className: "WorkflowTriggerListCallbackUrlQueries", - modelProperties: { - apiVersion: { - serializedName: "api-version", - xmlName: "api-version", - type: { - name: "String", - }, - }, - sp: { - serializedName: "sp", - xmlName: "sp", - type: { - name: "String", - }, +export const ScaleRule: coreClient.CompositeMapper = { + serializedName: "ScaleRule", + type: { + name: "Composite", + className: "ScaleRule", + modelProperties: { + name: { + serializedName: "name", + xmlName: "name", + type: { + name: "String", }, - sv: { - serializedName: "sv", - xmlName: "sv", - type: { - name: "String", - }, + }, + azureQueue: { + serializedName: "azureQueue", + xmlName: "azureQueue", + type: { + name: "Composite", + className: "QueueScaleRule", }, - sig: { - serializedName: "sig", - xmlName: "sig", - type: { - name: "String", - }, + }, + custom: { + serializedName: "custom", + xmlName: "custom", + type: { + name: "Composite", + className: "CustomScaleRule", }, - se: { - serializedName: "se", - xmlName: "se", - type: { - name: "String", - }, + }, + http: { + serializedName: "http", + xmlName: "http", + type: { + name: "Composite", + className: "HttpScaleRule", }, }, }, - }; + }, +}; -export const JsonSchema: coreClient.CompositeMapper = { - serializedName: "JsonSchema", +export const Template: coreClient.CompositeMapper = { + serializedName: "Template", type: { name: "Composite", - className: "JsonSchema", + className: "Template", modelProperties: { - title: { - serializedName: "title", - xmlName: "title", + revisionSuffix: { + serializedName: "revisionSuffix", + xmlName: "revisionSuffix", type: { name: "String", }, }, - content: { - serializedName: "content", - xmlName: "content", + containers: { + serializedName: "containers", + xmlName: "containers", + xmlElementName: "Container", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Container", + }, + }, }, }, - }, - }, -}; - -export const FlowEndpointsConfiguration: coreClient.CompositeMapper = { - serializedName: "FlowEndpointsConfiguration", - type: { - name: "Composite", - className: "FlowEndpointsConfiguration", - modelProperties: { - workflow: { - serializedName: "workflow", - xmlName: "workflow", + scale: { + serializedName: "scale", + xmlName: "scale", type: { name: "Composite", - className: "FlowEndpoints", + className: "Scale", }, }, - connector: { - serializedName: "connector", - xmlName: "connector", + dapr: { + serializedName: "dapr", + xmlName: "dapr", type: { name: "Composite", - className: "FlowEndpoints", + className: "Dapr", }, }, }, }, }; -export const FlowEndpoints: coreClient.CompositeMapper = { - serializedName: "FlowEndpoints", +export const Configuration: coreClient.CompositeMapper = { + serializedName: "Configuration", type: { name: "Composite", - className: "FlowEndpoints", + className: "Configuration", modelProperties: { - outgoingIpAddresses: { - serializedName: "outgoingIpAddresses", - xmlName: "outgoingIpAddresses", - xmlElementName: "IpAddress", + secrets: { + serializedName: "secrets", + xmlName: "secrets", + xmlElementName: "Secret", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IpAddress", + className: "Secret", }, }, }, }, - accessEndpointIpAddresses: { - serializedName: "accessEndpointIpAddresses", - xmlName: "accessEndpointIpAddresses", - xmlElementName: "IpAddress", + activeRevisionsMode: { + serializedName: "activeRevisionsMode", + xmlName: "activeRevisionsMode", + type: { + name: "String", + }, + }, + ingress: { + serializedName: "ingress", + xmlName: "ingress", + type: { + name: "Composite", + className: "Ingress", + }, + }, + registries: { + serializedName: "registries", + xmlName: "registries", + xmlElementName: "RegistryCredentials", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IpAddress", + className: "RegistryCredentials", }, }, }, @@ -15109,15 +15112,22 @@ export const FlowEndpoints: coreClient.CompositeMapper = { }, }; -export const IpAddress: coreClient.CompositeMapper = { - serializedName: "IpAddress", +export const Secret: coreClient.CompositeMapper = { + serializedName: "Secret", type: { name: "Composite", - className: "IpAddress", + className: "Secret", modelProperties: { - address: { - serializedName: "address", - xmlName: "address", + name: { + serializedName: "name", + xmlName: "name", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + xmlName: "value", type: { name: "String", }, @@ -15126,90 +15136,122 @@ export const IpAddress: coreClient.CompositeMapper = { }, }; -export const FlowAccessControlConfiguration: coreClient.CompositeMapper = { - serializedName: "FlowAccessControlConfiguration", +export const Ingress: coreClient.CompositeMapper = { + serializedName: "Ingress", type: { name: "Composite", - className: "FlowAccessControlConfiguration", + className: "Ingress", modelProperties: { - triggers: { - serializedName: "triggers", - xmlName: "triggers", + fqdn: { + serializedName: "fqdn", + readOnly: true, + xmlName: "fqdn", type: { - name: "Composite", - className: "FlowAccessControlConfigurationPolicy", + name: "String", }, }, - contents: { - serializedName: "contents", - xmlName: "contents", + external: { + defaultValue: false, + serializedName: "external", + xmlName: "external", type: { - name: "Composite", - className: "FlowAccessControlConfigurationPolicy", + name: "Boolean", }, }, - actions: { - serializedName: "actions", - xmlName: "actions", + targetPort: { + serializedName: "targetPort", + xmlName: "targetPort", type: { - name: "Composite", - className: "FlowAccessControlConfigurationPolicy", + name: "Number", }, }, - workflowManagement: { - serializedName: "workflowManagement", - xmlName: "workflowManagement", + transport: { + serializedName: "transport", + xmlName: "transport", type: { - name: "Composite", - className: "FlowAccessControlConfigurationPolicy", + name: "String", + }, + }, + traffic: { + serializedName: "traffic", + xmlName: "traffic", + xmlElementName: "TrafficWeight", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TrafficWeight", + }, + }, + }, + }, + allowInsecure: { + serializedName: "allowInsecure", + xmlName: "allowInsecure", + type: { + name: "Boolean", }, }, }, }, }; -export const FlowAccessControlConfigurationPolicy: coreClient.CompositeMapper = - { - serializedName: "FlowAccessControlConfigurationPolicy", - type: { - name: "Composite", - className: "FlowAccessControlConfigurationPolicy", - modelProperties: { - allowedCallerIpAddresses: { - serializedName: "allowedCallerIpAddresses", - xmlName: "allowedCallerIpAddresses", - xmlElementName: "IpAddressRange", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IpAddressRange", - }, - }, - }, +export const TrafficWeight: coreClient.CompositeMapper = { + serializedName: "TrafficWeight", + type: { + name: "Composite", + className: "TrafficWeight", + modelProperties: { + revisionName: { + serializedName: "revisionName", + xmlName: "revisionName", + type: { + name: "String", }, - openAuthenticationPolicies: { - serializedName: "openAuthenticationPolicies", - xmlName: "openAuthenticationPolicies", - type: { - name: "Composite", - className: "OpenAuthenticationAccessPolicies", - }, + }, + weight: { + serializedName: "weight", + xmlName: "weight", + type: { + name: "Number", + }, + }, + latestRevision: { + defaultValue: false, + serializedName: "latestRevision", + xmlName: "latestRevision", + type: { + name: "Boolean", }, }, }, - }; + }, +}; -export const IpAddressRange: coreClient.CompositeMapper = { - serializedName: "IpAddressRange", +export const RegistryCredentials: coreClient.CompositeMapper = { + serializedName: "RegistryCredentials", type: { name: "Composite", - className: "IpAddressRange", + className: "RegistryCredentials", modelProperties: { - addressRange: { - serializedName: "addressRange", - xmlName: "addressRange", + server: { + serializedName: "server", + xmlName: "server", + type: { + name: "String", + }, + }, + username: { + serializedName: "username", + xmlName: "username", + type: { + name: "String", + }, + }, + passwordSecretRef: { + serializedName: "passwordSecretRef", + xmlName: "passwordSecretRef", type: { name: "String", }, @@ -15218,52 +15260,56 @@ export const IpAddressRange: coreClient.CompositeMapper = { }, }; -export const OpenAuthenticationAccessPolicies: coreClient.CompositeMapper = { - serializedName: "OpenAuthenticationAccessPolicies", +export const ContainerAppCollection: coreClient.CompositeMapper = { + serializedName: "ContainerAppCollection", type: { name: "Composite", - className: "OpenAuthenticationAccessPolicies", + className: "ContainerAppCollection", modelProperties: { - policies: { - serializedName: "policies", - xmlName: "policies", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "ContainerApp", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "Composite", - className: "OpenAuthenticationAccessPolicy", + className: "ContainerApp", }, }, }, }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + xmlName: "nextLink", + type: { + name: "String", + }, + }, }, }, }; -export const OpenAuthenticationAccessPolicy: coreClient.CompositeMapper = { - serializedName: "OpenAuthenticationAccessPolicy", +export const SecretsCollection: coreClient.CompositeMapper = { + serializedName: "SecretsCollection", type: { name: "Composite", - className: "OpenAuthenticationAccessPolicy", + className: "SecretsCollection", modelProperties: { - type: { - serializedName: "type", - xmlName: "type", - type: { - name: "String", - }, - }, - claims: { - serializedName: "claims", - xmlName: "claims", - xmlElementName: "OpenAuthenticationPolicyClaim", + value: { + serializedName: "value", + required: true, + xmlName: "value", + xmlElementName: "ContainerAppSecret", type: { name: "Sequence", element: { type: { name: "Composite", - className: "OpenAuthenticationPolicyClaim", + className: "ContainerAppSecret", }, }, }, @@ -15272,14 +15318,15 @@ export const OpenAuthenticationAccessPolicy: coreClient.CompositeMapper = { }, }; -export const OpenAuthenticationPolicyClaim: coreClient.CompositeMapper = { - serializedName: "OpenAuthenticationPolicyClaim", +export const ContainerAppSecret: coreClient.CompositeMapper = { + serializedName: "ContainerAppSecret", type: { name: "Composite", - className: "OpenAuthenticationPolicyClaim", + className: "ContainerAppSecret", modelProperties: { name: { serializedName: "name", + readOnly: true, xmlName: "name", type: { name: "String", @@ -15287,6 +15334,7 @@ export const OpenAuthenticationPolicyClaim: coreClient.CompositeMapper = { }, value: { serializedName: "value", + readOnly: true, xmlName: "value", type: { name: "String", @@ -15296,54 +15344,30 @@ export const OpenAuthenticationPolicyClaim: coreClient.CompositeMapper = { }, }; -export const WorkflowSku: coreClient.CompositeMapper = { - serializedName: "WorkflowSku", - type: { - name: "Composite", - className: "WorkflowSku", - modelProperties: { - name: { - serializedName: "name", - required: true, - xmlName: "name", - type: { - name: "String", - }, - }, - plan: { - serializedName: "plan", - xmlName: "plan", - type: { - name: "Composite", - className: "ResourceReference", - }, - }, - }, - }, -}; - -export const WorkflowVersionListResult: coreClient.CompositeMapper = { - serializedName: "WorkflowVersionListResult", +export const RevisionCollection: coreClient.CompositeMapper = { + serializedName: "RevisionCollection", type: { name: "Composite", - className: "WorkflowVersionListResult", + className: "RevisionCollection", modelProperties: { value: { serializedName: "value", + required: true, xmlName: "value", - xmlElementName: "WorkflowVersion", + xmlElementName: "Revision", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WorkflowVersion", + className: "Revision", }, }, }, }, nextLink: { serializedName: "nextLink", + readOnly: true, xmlName: "nextLink", type: { name: "String", @@ -16472,6 +16496,21 @@ export const Site: coreClient.CompositeMapper = { name: "String", }, }, + ipMode: { + serializedName: "properties.ipMode", + xmlName: "properties.ipMode", + type: { + name: "Enum", + allowedValues: ["IPv4", "IPv6", "IPv4AndIPv6"], + }, + }, + endToEndEncryptionEnabled: { + serializedName: "properties.endToEndEncryptionEnabled", + xmlName: "properties.endToEndEncryptionEnabled", + type: { + name: "Boolean", + }, + }, hostNamesDisabled: { serializedName: "properties.hostNamesDisabled", xmlName: "properties.hostNamesDisabled", @@ -16622,6 +16661,19 @@ export const Site: coreClient.CompositeMapper = { name: "String", }, }, + autoGeneratedDomainNameLabelScope: { + serializedName: "properties.autoGeneratedDomainNameLabelScope", + xmlName: "properties.autoGeneratedDomainNameLabelScope", + type: { + name: "Enum", + allowedValues: [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse", + ], + }, + }, virtualNetworkSubnetId: { serializedName: "properties.virtualNetworkSubnetId", xmlName: "properties.virtualNetworkSubnetId", @@ -16636,6 +16688,14 @@ export const Site: coreClient.CompositeMapper = { name: "String", }, }, + sku: { + serializedName: "properties.sku", + readOnly: true, + xmlName: "properties.sku", + type: { + name: "String", + }, + }, }, }, }; @@ -16949,231 +17009,90 @@ export const Certificate: coreClient.CompositeMapper = { name: "String", }, }, - valid: { - serializedName: "properties.valid", - readOnly: true, - xmlName: "properties.valid", - type: { - name: "Boolean", - }, - }, - cerBlob: { - serializedName: "properties.cerBlob", - readOnly: true, - xmlName: "properties.cerBlob", - type: { - name: "ByteArray", - }, - }, - publicKeyHash: { - serializedName: "properties.publicKeyHash", - readOnly: true, - xmlName: "properties.publicKeyHash", - type: { - name: "String", - }, - }, - hostingEnvironmentProfile: { - serializedName: "properties.hostingEnvironmentProfile", - xmlName: "properties.hostingEnvironmentProfile", - type: { - name: "Composite", - className: "HostingEnvironmentProfile", - }, - }, - keyVaultId: { - serializedName: "properties.keyVaultId", - xmlName: "properties.keyVaultId", - type: { - name: "String", - }, - }, - keyVaultSecretName: { - serializedName: "properties.keyVaultSecretName", - xmlName: "properties.keyVaultSecretName", - type: { - name: "String", - }, - }, - keyVaultSecretStatus: { - serializedName: "properties.keyVaultSecretStatus", - readOnly: true, - xmlName: "properties.keyVaultSecretStatus", - type: { - name: "Enum", - allowedValues: [ - "Initialized", - "WaitingOnCertificateOrder", - "Succeeded", - "CertificateOrderFailed", - "OperationNotPermittedOnKeyVault", - "AzureServiceUnauthorizedToAccessKeyVault", - "KeyVaultDoesNotExist", - "KeyVaultSecretDoesNotExist", - "UnknownError", - "ExternalPrivateKey", - "Unknown", - ], - }, - }, - serverFarmId: { - serializedName: "properties.serverFarmId", - xmlName: "properties.serverFarmId", - type: { - name: "String", - }, - }, - canonicalName: { - serializedName: "properties.canonicalName", - xmlName: "properties.canonicalName", - type: { - name: "String", - }, - }, - domainValidationMethod: { - serializedName: "properties.domainValidationMethod", - xmlName: "properties.domainValidationMethod", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ContainerApp: coreClient.CompositeMapper = { - serializedName: "ContainerApp", - type: { - name: "Composite", - className: "ContainerApp", - modelProperties: { - ...Resource.type.modelProperties, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - xmlName: "properties.provisioningState", - type: { - name: "String", - }, - }, - kubeEnvironmentId: { - serializedName: "properties.kubeEnvironmentId", - xmlName: "properties.kubeEnvironmentId", - type: { - name: "String", - }, - }, - latestRevisionName: { - serializedName: "properties.latestRevisionName", - readOnly: true, - xmlName: "properties.latestRevisionName", - type: { - name: "String", - }, - }, - latestRevisionFqdn: { - serializedName: "properties.latestRevisionFqdn", - readOnly: true, - xmlName: "properties.latestRevisionFqdn", - type: { - name: "String", - }, - }, - configuration: { - serializedName: "properties.configuration", - xmlName: "properties.configuration", - type: { - name: "Composite", - className: "Configuration", - }, - }, - template: { - serializedName: "properties.template", - xmlName: "properties.template", + valid: { + serializedName: "properties.valid", + readOnly: true, + xmlName: "properties.valid", type: { - name: "Composite", - className: "Template", + name: "Boolean", }, }, - }, - }, -}; - -export const Revision: coreClient.CompositeMapper = { - serializedName: "Revision", - type: { - name: "Composite", - className: "Revision", - modelProperties: { - ...Resource.type.modelProperties, - createdTime: { - serializedName: "properties.createdTime", + cerBlob: { + serializedName: "properties.cerBlob", readOnly: true, - xmlName: "properties.createdTime", + xmlName: "properties.cerBlob", type: { - name: "DateTime", + name: "ByteArray", }, }, - fqdn: { - serializedName: "properties.fqdn", + publicKeyHash: { + serializedName: "properties.publicKeyHash", readOnly: true, - xmlName: "properties.fqdn", + xmlName: "properties.publicKeyHash", type: { name: "String", }, }, - template: { - serializedName: "properties.template", - xmlName: "properties.template", + hostingEnvironmentProfile: { + serializedName: "properties.hostingEnvironmentProfile", + xmlName: "properties.hostingEnvironmentProfile", type: { name: "Composite", - className: "Template", + className: "HostingEnvironmentProfile", }, }, - active: { - serializedName: "properties.active", - readOnly: true, - xmlName: "properties.active", + keyVaultId: { + serializedName: "properties.keyVaultId", + xmlName: "properties.keyVaultId", type: { - name: "Boolean", + name: "String", }, }, - replicas: { - serializedName: "properties.replicas", - readOnly: true, - xmlName: "properties.replicas", + keyVaultSecretName: { + serializedName: "properties.keyVaultSecretName", + xmlName: "properties.keyVaultSecretName", type: { - name: "Number", + name: "String", }, }, - trafficWeight: { - serializedName: "properties.trafficWeight", + keyVaultSecretStatus: { + serializedName: "properties.keyVaultSecretStatus", readOnly: true, - xmlName: "properties.trafficWeight", + xmlName: "properties.keyVaultSecretStatus", type: { - name: "Number", + name: "Enum", + allowedValues: [ + "Initialized", + "WaitingOnCertificateOrder", + "Succeeded", + "CertificateOrderFailed", + "OperationNotPermittedOnKeyVault", + "AzureServiceUnauthorizedToAccessKeyVault", + "KeyVaultDoesNotExist", + "KeyVaultSecretDoesNotExist", + "UnknownError", + "ExternalPrivateKey", + "Unknown", + ], }, }, - provisioningError: { - serializedName: "properties.provisioningError", - readOnly: true, - xmlName: "properties.provisioningError", + serverFarmId: { + serializedName: "properties.serverFarmId", + xmlName: "properties.serverFarmId", type: { name: "String", }, }, - healthState: { - serializedName: "properties.healthState", - readOnly: true, - xmlName: "properties.healthState", + canonicalName: { + serializedName: "properties.canonicalName", + xmlName: "properties.canonicalName", type: { name: "String", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - xmlName: "properties.provisioningState", + domainValidationMethod: { + serializedName: "properties.domainValidationMethod", + xmlName: "properties.domainValidationMethod", type: { name: "String", }, @@ -17535,6 +17454,147 @@ export const PremierAddOn: coreClient.CompositeMapper = { }, }; +export const ContainerApp: coreClient.CompositeMapper = { + serializedName: "ContainerApp", + type: { + name: "Composite", + className: "ContainerApp", + modelProperties: { + ...Resource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + xmlName: "properties.provisioningState", + type: { + name: "String", + }, + }, + kubeEnvironmentId: { + serializedName: "properties.kubeEnvironmentId", + xmlName: "properties.kubeEnvironmentId", + type: { + name: "String", + }, + }, + latestRevisionName: { + serializedName: "properties.latestRevisionName", + readOnly: true, + xmlName: "properties.latestRevisionName", + type: { + name: "String", + }, + }, + latestRevisionFqdn: { + serializedName: "properties.latestRevisionFqdn", + readOnly: true, + xmlName: "properties.latestRevisionFqdn", + type: { + name: "String", + }, + }, + configuration: { + serializedName: "properties.configuration", + xmlName: "properties.configuration", + type: { + name: "Composite", + className: "Configuration", + }, + }, + template: { + serializedName: "properties.template", + xmlName: "properties.template", + type: { + name: "Composite", + className: "Template", + }, + }, + }, + }, +}; + +export const Revision: coreClient.CompositeMapper = { + serializedName: "Revision", + type: { + name: "Composite", + className: "Revision", + modelProperties: { + ...Resource.type.modelProperties, + createdTime: { + serializedName: "properties.createdTime", + readOnly: true, + xmlName: "properties.createdTime", + type: { + name: "DateTime", + }, + }, + fqdn: { + serializedName: "properties.fqdn", + readOnly: true, + xmlName: "properties.fqdn", + type: { + name: "String", + }, + }, + template: { + serializedName: "properties.template", + xmlName: "properties.template", + type: { + name: "Composite", + className: "Template", + }, + }, + active: { + serializedName: "properties.active", + readOnly: true, + xmlName: "properties.active", + type: { + name: "Boolean", + }, + }, + replicas: { + serializedName: "properties.replicas", + readOnly: true, + xmlName: "properties.replicas", + type: { + name: "Number", + }, + }, + trafficWeight: { + serializedName: "properties.trafficWeight", + readOnly: true, + xmlName: "properties.trafficWeight", + type: { + name: "Number", + }, + }, + provisioningError: { + serializedName: "properties.provisioningError", + readOnly: true, + xmlName: "properties.provisioningError", + type: { + name: "String", + }, + }, + healthState: { + serializedName: "properties.healthState", + readOnly: true, + xmlName: "properties.healthState", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + xmlName: "properties.provisioningState", + type: { + name: "String", + }, + }, + }, + }, +}; + export const AppServiceCertificateOrderPatchResource: coreClient.CompositeMapper = { serializedName: "AppServiceCertificateOrderPatchResource", @@ -23022,6 +23082,7 @@ export const SiteConfigResource: coreClient.CompositeMapper = { "WeightedTotalTraffic", "RequestHash", "PerSiteRoundRobin", + "LeastRequestsWithTieBreaker", ], }, }, @@ -24632,6 +24693,13 @@ export const WebSiteInstanceStatus: coreClient.CompositeMapper = { value: { type: { name: "Composite", className: "ContainerInfo" } }, }, }, + physicalZone: { + serializedName: "properties.physicalZone", + xmlName: "properties.physicalZone", + type: { + name: "String", + }, + }, }, }, }; diff --git a/sdk/appservice/arm-appservice/src/models/parameters.ts b/sdk/appservice/arm-appservice/src/models/parameters.ts index cecd992c9528..6b83c2ba29fa 100644 --- a/sdk/appservice/arm-appservice/src/models/parameters.ts +++ b/sdk/appservice/arm-appservice/src/models/parameters.ts @@ -38,7 +38,6 @@ import { VnetRoute as VnetRouteMapper, Certificate as CertificateMapper, CertificatePatchResource as CertificatePatchResourceMapper, - ContainerApp as ContainerAppMapper, KubeEnvironment as KubeEnvironmentMapper, KubeEnvironmentPatchResource as KubeEnvironmentPatchResourceMapper, User as UserMapper, @@ -141,7 +140,7 @@ export const subscriptionId: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2023-12-01", + defaultValue: "2024-04-01", isConstant: true, serializedName: "api-version", type: { @@ -645,23 +644,6 @@ export const certificateEnvelope1: OperationParameter = { mapper: CertificatePatchResourceMapper, }; -export const containerAppEnvelope: OperationParameter = { - parameterPath: "containerAppEnvelope", - mapper: ContainerAppMapper, -}; - -export const containerAppName: OperationURLParameter = { - parameterPath: "containerAppName", - mapper: { - serializedName: "containerAppName", - required: true, - xmlName: "containerAppName", - type: { - name: "String", - }, - }, -}; - export const location: OperationURLParameter = { parameterPath: "location", mapper: { diff --git a/sdk/appservice/arm-appservice/src/operations/containerApps.ts b/sdk/appservice/arm-appservice/src/operations/containerApps.ts deleted file mode 100644 index 3164e9fa4976..000000000000 --- a/sdk/appservice/arm-appservice/src/operations/containerApps.ts +++ /dev/null @@ -1,611 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; -import { setContinuationToken } from "../pagingHelper.js"; -import { ContainerApps } from "../operationsInterfaces/index.js"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers.js"; -import * as Parameters from "../models/parameters.js"; -import { WebSiteManagementClient } from "../webSiteManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; -import { createLroSpec } from "../lroImpl.js"; -import { - ContainerApp, - ContainerAppsListBySubscriptionNextOptionalParams, - ContainerAppsListBySubscriptionOptionalParams, - ContainerAppsListBySubscriptionResponse, - ContainerAppsListByResourceGroupNextOptionalParams, - ContainerAppsListByResourceGroupOptionalParams, - ContainerAppsListByResourceGroupResponse, - ContainerAppsGetOptionalParams, - ContainerAppsGetResponse, - ContainerAppsCreateOrUpdateOptionalParams, - ContainerAppsCreateOrUpdateResponse, - ContainerAppsDeleteOptionalParams, - ContainerAppsListSecretsOptionalParams, - ContainerAppsListSecretsResponse, - ContainerAppsListBySubscriptionNextResponse, - ContainerAppsListByResourceGroupNextResponse, -} from "../models/index.js"; - -/// -/** Class containing ContainerApps operations. */ -export class ContainerAppsImpl implements ContainerApps { - private readonly client: WebSiteManagementClient; - - /** - * Initialize a new instance of the class ContainerApps class. - * @param client Reference to the service client - */ - constructor(client: WebSiteManagementClient) { - this.client = client; - } - - /** - * Get the Container Apps in a given subscription. - * @param options The options parameters. - */ - public listBySubscription( - options?: ContainerAppsListBySubscriptionOptionalParams, - ): PagedAsyncIterableIterator { - const iter = this.listBySubscriptionPagingAll(options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings?: PageSettings) => { - if (settings?.maxPageSize) { - throw new Error("maxPageSize is not supported by this operation."); - } - return this.listBySubscriptionPagingPage(options, settings); - }, - }; - } - - private async *listBySubscriptionPagingPage( - options?: ContainerAppsListBySubscriptionOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: ContainerAppsListBySubscriptionResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._listBySubscription(options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listBySubscriptionNext(continuationToken, options); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listBySubscriptionPagingAll( - options?: ContainerAppsListBySubscriptionOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listBySubscriptionPagingPage(options)) { - yield* page; - } - } - - /** - * Get the Container Apps in a given resource group. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param options The options parameters. - */ - public listByResourceGroup( - resourceGroupName: string, - options?: ContainerAppsListByResourceGroupOptionalParams, - ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings?: PageSettings) => { - if (settings?.maxPageSize) { - throw new Error("maxPageSize is not supported by this operation."); - } - return this.listByResourceGroupPagingPage( - resourceGroupName, - options, - settings, - ); - }, - }; - } - - private async *listByResourceGroupPagingPage( - resourceGroupName: string, - options?: ContainerAppsListByResourceGroupOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: ContainerAppsListByResourceGroupResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._listByResourceGroup(resourceGroupName, options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options, - ); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listByResourceGroupPagingAll( - resourceGroupName: string, - options?: ContainerAppsListByResourceGroupOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options, - )) { - yield* page; - } - } - - /** - * Get the Container Apps in a given subscription. - * @param options The options parameters. - */ - private _listBySubscription( - options?: ContainerAppsListBySubscriptionOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec, - ); - } - - /** - * Get the Container Apps in a given resource group. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param options The options parameters. - */ - private _listByResourceGroup( - resourceGroupName: string, - options?: ContainerAppsListByResourceGroupOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listByResourceGroupOperationSpec, - ); - } - - /** - * Get the properties of a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the Container App. - * @param options The options parameters. - */ - get( - resourceGroupName: string, - name: string, - options?: ContainerAppsGetOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, name, options }, - getOperationSpec, - ); - } - - /** - * Description for Create or update a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the Container App. - * @param containerAppEnvelope Container App. - * @param options The options parameters. - */ - async beginCreateOrUpdate( - resourceGroupName: string, - name: string, - containerAppEnvelope: ContainerApp, - options?: ContainerAppsCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ContainerAppsCreateOrUpdateResponse - > - > { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec, - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperationFn = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec, - ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; - const providedCallback = args.options?.onResponse; - const callback: coreClient.RawResponseCallback = ( - rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown, - ) => { - currentRawResponse = rawResponse; - providedCallback?.(rawResponse, flatResponse); - }; - const updatedArgs = { - ...args, - options: { - ...args.options, - onResponse: callback, - }, - }; - const flatResponse = await directSendOperation(updatedArgs, spec); - return { - flatResponse, - rawResponse: { - statusCode: currentRawResponse!.status, - body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON(), - }, - }; - }; - - const lro = createLroSpec({ - sendOperationFn, - args: { resourceGroupName, name, containerAppEnvelope, options }, - spec: createOrUpdateOperationSpec, - }); - const poller = await createHttpPoller< - ContainerAppsCreateOrUpdateResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - }); - await poller.poll(); - return poller; - } - - /** - * Description for Create or update a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the Container App. - * @param containerAppEnvelope Container App. - * @param options The options parameters. - */ - async beginCreateOrUpdateAndWait( - resourceGroupName: string, - name: string, - containerAppEnvelope: ContainerApp, - options?: ContainerAppsCreateOrUpdateOptionalParams, - ): Promise { - const poller = await this.beginCreateOrUpdate( - resourceGroupName, - name, - containerAppEnvelope, - options, - ); - return poller.pollUntilDone(); - } - - /** - * Description for Delete a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the Container App. - * @param options The options parameters. - */ - async beginDelete( - resourceGroupName: string, - name: string, - options?: ContainerAppsDeleteOptionalParams, - ): Promise, void>> { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec, - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperationFn = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec, - ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; - const providedCallback = args.options?.onResponse; - const callback: coreClient.RawResponseCallback = ( - rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown, - ) => { - currentRawResponse = rawResponse; - providedCallback?.(rawResponse, flatResponse); - }; - const updatedArgs = { - ...args, - options: { - ...args.options, - onResponse: callback, - }, - }; - const flatResponse = await directSendOperation(updatedArgs, spec); - return { - flatResponse, - rawResponse: { - statusCode: currentRawResponse!.status, - body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON(), - }, - }; - }; - - const lro = createLroSpec({ - sendOperationFn, - args: { resourceGroupName, name, options }, - spec: deleteOperationSpec, - }); - const poller = await createHttpPoller>(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - }); - await poller.poll(); - return poller; - } - - /** - * Description for Delete a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the Container App. - * @param options The options parameters. - */ - async beginDeleteAndWait( - resourceGroupName: string, - name: string, - options?: ContainerAppsDeleteOptionalParams, - ): Promise { - const poller = await this.beginDelete(resourceGroupName, name, options); - return poller.pollUntilDone(); - } - - /** - * List secrets for a container app - * @param name Name of the Container App. - * @param options The options parameters. - */ - listSecrets( - name: string, - options?: ContainerAppsListSecretsOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { name, options }, - listSecretsOperationSpec, - ); - } - - /** - * ListBySubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. - * @param options The options parameters. - */ - private _listBySubscriptionNext( - nextLink: string, - options?: ContainerAppsListBySubscriptionNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listBySubscriptionNextOperationSpec, - ); - } - - /** - * ListByResourceGroupNext - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. - * @param options The options parameters. - */ - private _listByResourceGroupNext( - resourceGroupName: string, - nextLink: string, - options?: ContainerAppsListByResourceGroupNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, nextLink, options }, - listByResourceGroupNextOperationSpec, - ); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ContainerAppCollection, - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer, -}; -const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ContainerAppCollection, - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const getOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ContainerApp, - }, - 404: { - isError: true, - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.ContainerApp, - }, - 201: { - bodyMapper: Mappers.ContainerApp, - }, - 202: { - bodyMapper: Mappers.ContainerApp, - }, - 204: { - bodyMapper: Mappers.ContainerApp, - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - requestBody: Parameters.containerAppEnvelope, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer, -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}", - httpMethod: "DELETE", - responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const listSecretsOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps/{name}/listSecrets", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.SecretsCollection, - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name], - headerParameters: [Parameters.accept], - serializer, -}; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ContainerAppCollection, - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.nextLink, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ContainerAppCollection, - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink, - ], - headerParameters: [Parameters.accept], - serializer, -}; diff --git a/sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts b/sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts deleted file mode 100644 index 119778513a91..000000000000 --- a/sdk/appservice/arm-appservice/src/operations/containerAppsRevisions.ts +++ /dev/null @@ -1,364 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; -import { setContinuationToken } from "../pagingHelper.js"; -import { ContainerAppsRevisions } from "../operationsInterfaces/index.js"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers.js"; -import * as Parameters from "../models/parameters.js"; -import { WebSiteManagementClient } from "../webSiteManagementClient.js"; -import { - Revision, - ContainerAppsRevisionsListRevisionsNextOptionalParams, - ContainerAppsRevisionsListRevisionsOptionalParams, - ContainerAppsRevisionsListRevisionsResponse, - ContainerAppsRevisionsGetRevisionOptionalParams, - ContainerAppsRevisionsGetRevisionResponse, - ContainerAppsRevisionsActivateRevisionOptionalParams, - ContainerAppsRevisionsDeactivateRevisionOptionalParams, - ContainerAppsRevisionsRestartRevisionOptionalParams, - ContainerAppsRevisionsListRevisionsNextResponse, -} from "../models/index.js"; - -/// -/** Class containing ContainerAppsRevisions operations. */ -export class ContainerAppsRevisionsImpl implements ContainerAppsRevisions { - private readonly client: WebSiteManagementClient; - - /** - * Initialize a new instance of the class ContainerAppsRevisions class. - * @param client Reference to the service client - */ - constructor(client: WebSiteManagementClient) { - this.client = client; - } - - /** - * Get the Revisions for a given Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App for which Revisions are needed. - * @param options The options parameters. - */ - public listRevisions( - resourceGroupName: string, - containerAppName: string, - options?: ContainerAppsRevisionsListRevisionsOptionalParams, - ): PagedAsyncIterableIterator { - const iter = this.listRevisionsPagingAll( - resourceGroupName, - containerAppName, - options, - ); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings?: PageSettings) => { - if (settings?.maxPageSize) { - throw new Error("maxPageSize is not supported by this operation."); - } - return this.listRevisionsPagingPage( - resourceGroupName, - containerAppName, - options, - settings, - ); - }, - }; - } - - private async *listRevisionsPagingPage( - resourceGroupName: string, - containerAppName: string, - options?: ContainerAppsRevisionsListRevisionsOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: ContainerAppsRevisionsListRevisionsResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._listRevisions( - resourceGroupName, - containerAppName, - options, - ); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listRevisionsNext( - resourceGroupName, - containerAppName, - continuationToken, - options, - ); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listRevisionsPagingAll( - resourceGroupName: string, - containerAppName: string, - options?: ContainerAppsRevisionsListRevisionsOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listRevisionsPagingPage( - resourceGroupName, - containerAppName, - options, - )) { - yield* page; - } - } - - /** - * Get the Revisions for a given Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App for which Revisions are needed. - * @param options The options parameters. - */ - private _listRevisions( - resourceGroupName: string, - containerAppName: string, - options?: ContainerAppsRevisionsListRevisionsOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, containerAppName, options }, - listRevisionsOperationSpec, - ); - } - - /** - * Get a revision of a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App. - * @param name Name of the Container App Revision. - * @param options The options parameters. - */ - getRevision( - resourceGroupName: string, - containerAppName: string, - name: string, - options?: ContainerAppsRevisionsGetRevisionOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, containerAppName, name, options }, - getRevisionOperationSpec, - ); - } - - /** - * Activates a revision for a Container App - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App. - * @param name Name of the Container App Revision to activate - * @param options The options parameters. - */ - activateRevision( - resourceGroupName: string, - containerAppName: string, - name: string, - options?: ContainerAppsRevisionsActivateRevisionOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, containerAppName, name, options }, - activateRevisionOperationSpec, - ); - } - - /** - * Deactivates a revision for a Container App - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App. - * @param name Name of the Container App Revision to deactivate - * @param options The options parameters. - */ - deactivateRevision( - resourceGroupName: string, - containerAppName: string, - name: string, - options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, containerAppName, name, options }, - deactivateRevisionOperationSpec, - ); - } - - /** - * Restarts a revision for a Container App - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App. - * @param name Name of the Container App Revision to restart - * @param options The options parameters. - */ - restartRevision( - resourceGroupName: string, - containerAppName: string, - name: string, - options?: ContainerAppsRevisionsRestartRevisionOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, containerAppName, name, options }, - restartRevisionOperationSpec, - ); - } - - /** - * ListRevisionsNext - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App for which Revisions are needed. - * @param nextLink The nextLink from the previous successful call to the ListRevisions method. - * @param options The options parameters. - */ - private _listRevisionsNext( - resourceGroupName: string, - containerAppName: string, - nextLink: string, - options?: ContainerAppsRevisionsListRevisionsNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, containerAppName, nextLink, options }, - listRevisionsNextOperationSpec, - ); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const listRevisionsOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RevisionCollection, - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.containerAppName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const getRevisionOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.Revision, - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.containerAppName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const activateRevisionOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/activate", - httpMethod: "POST", - responses: { - 200: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.containerAppName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const deactivateRevisionOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/deactivate", - httpMethod: "POST", - responses: { - 200: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.containerAppName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const restartRevisionOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/restart", - httpMethod: "POST", - responses: { - 200: {}, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.name, - Parameters.containerAppName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const listRevisionsNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RevisionCollection, - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse, - }, - }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink, - Parameters.containerAppName, - ], - headerParameters: [Parameters.accept], - serializer, -}; diff --git a/sdk/appservice/arm-appservice/src/operations/index.ts b/sdk/appservice/arm-appservice/src/operations/index.ts index 54c0aa3683f6..ac6566b1dd58 100644 --- a/sdk/appservice/arm-appservice/src/operations/index.ts +++ b/sdk/appservice/arm-appservice/src/operations/index.ts @@ -9,14 +9,12 @@ export * from "./appServiceCertificateOrders.js"; export * from "./certificateOrdersDiagnostics.js"; export * from "./certificateRegistrationProvider.js"; +export * from "./domainRegistrationProvider.js"; export * from "./domains.js"; export * from "./topLevelDomains.js"; -export * from "./domainRegistrationProvider.js"; export * from "./appServiceEnvironments.js"; export * from "./appServicePlans.js"; export * from "./certificates.js"; -export * from "./containerApps.js"; -export * from "./containerAppsRevisions.js"; export * from "./deletedWebApps.js"; export * from "./diagnostics.js"; export * from "./global.js"; diff --git a/sdk/appservice/arm-appservice/src/operations/webApps.ts b/sdk/appservice/arm-appservice/src/operations/webApps.ts index f99347d13d39..119aacf35632 100644 --- a/sdk/appservice/arm-appservice/src/operations/webApps.ts +++ b/sdk/appservice/arm-appservice/src/operations/webApps.ts @@ -455,6 +455,8 @@ import { WebAppsIsCloneableResponse, WebAppsListSyncFunctionTriggersOptionalParams, WebAppsListSyncFunctionTriggersResponse, + WebAppsUpdateMachineKeyOptionalParams, + WebAppsUpdateMachineKeyResponse, StorageMigrationOptions, WebAppsMigrateStorageOptionalParams, WebAppsMigrateStorageResponse, @@ -9983,6 +9985,23 @@ export class WebAppsImpl implements WebApps { ); } + /** + * Updates the machine key of an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The options parameters. + */ + updateMachineKey( + resourceGroupName: string, + name: string, + options?: WebAppsUpdateMachineKeyOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, name, options }, + updateMachineKeyOperationSpec, + ); + } + /** * Description for Restores a web app. * @param subscriptionName Azure subscription. @@ -22677,6 +22696,29 @@ const listSyncFunctionTriggersOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const updateMachineKeyOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/updatemachinekey", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; const migrateStorageOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate", httpMethod: "PUT", diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/containerApps.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/containerApps.ts deleted file mode 100644 index dbf1a80f6381..000000000000 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/containerApps.ts +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { SimplePollerLike, OperationState } from "@azure/core-lro"; -import { - ContainerApp, - ContainerAppsListBySubscriptionOptionalParams, - ContainerAppsListByResourceGroupOptionalParams, - ContainerAppsGetOptionalParams, - ContainerAppsGetResponse, - ContainerAppsCreateOrUpdateOptionalParams, - ContainerAppsCreateOrUpdateResponse, - ContainerAppsDeleteOptionalParams, - ContainerAppsListSecretsOptionalParams, - ContainerAppsListSecretsResponse, -} from "../models/index.js"; - -/// -/** Interface representing a ContainerApps. */ -export interface ContainerApps { - /** - * Get the Container Apps in a given subscription. - * @param options The options parameters. - */ - listBySubscription( - options?: ContainerAppsListBySubscriptionOptionalParams, - ): PagedAsyncIterableIterator; - /** - * Get the Container Apps in a given resource group. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param options The options parameters. - */ - listByResourceGroup( - resourceGroupName: string, - options?: ContainerAppsListByResourceGroupOptionalParams, - ): PagedAsyncIterableIterator; - /** - * Get the properties of a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the Container App. - * @param options The options parameters. - */ - get( - resourceGroupName: string, - name: string, - options?: ContainerAppsGetOptionalParams, - ): Promise; - /** - * Description for Create or update a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the Container App. - * @param containerAppEnvelope Container App. - * @param options The options parameters. - */ - beginCreateOrUpdate( - resourceGroupName: string, - name: string, - containerAppEnvelope: ContainerApp, - options?: ContainerAppsCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ContainerAppsCreateOrUpdateResponse - > - >; - /** - * Description for Create or update a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the Container App. - * @param containerAppEnvelope Container App. - * @param options The options parameters. - */ - beginCreateOrUpdateAndWait( - resourceGroupName: string, - name: string, - containerAppEnvelope: ContainerApp, - options?: ContainerAppsCreateOrUpdateOptionalParams, - ): Promise; - /** - * Description for Delete a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the Container App. - * @param options The options parameters. - */ - beginDelete( - resourceGroupName: string, - name: string, - options?: ContainerAppsDeleteOptionalParams, - ): Promise, void>>; - /** - * Description for Delete a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the Container App. - * @param options The options parameters. - */ - beginDeleteAndWait( - resourceGroupName: string, - name: string, - options?: ContainerAppsDeleteOptionalParams, - ): Promise; - /** - * List secrets for a container app - * @param name Name of the Container App. - * @param options The options parameters. - */ - listSecrets( - name: string, - options?: ContainerAppsListSecretsOptionalParams, - ): Promise; -} diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/containerAppsRevisions.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/containerAppsRevisions.ts deleted file mode 100644 index d6b51b673dff..000000000000 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/containerAppsRevisions.ts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { - Revision, - ContainerAppsRevisionsListRevisionsOptionalParams, - ContainerAppsRevisionsGetRevisionOptionalParams, - ContainerAppsRevisionsGetRevisionResponse, - ContainerAppsRevisionsActivateRevisionOptionalParams, - ContainerAppsRevisionsDeactivateRevisionOptionalParams, - ContainerAppsRevisionsRestartRevisionOptionalParams, -} from "../models/index.js"; - -/// -/** Interface representing a ContainerAppsRevisions. */ -export interface ContainerAppsRevisions { - /** - * Get the Revisions for a given Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App for which Revisions are needed. - * @param options The options parameters. - */ - listRevisions( - resourceGroupName: string, - containerAppName: string, - options?: ContainerAppsRevisionsListRevisionsOptionalParams, - ): PagedAsyncIterableIterator; - /** - * Get a revision of a Container App. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App. - * @param name Name of the Container App Revision. - * @param options The options parameters. - */ - getRevision( - resourceGroupName: string, - containerAppName: string, - name: string, - options?: ContainerAppsRevisionsGetRevisionOptionalParams, - ): Promise; - /** - * Activates a revision for a Container App - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App. - * @param name Name of the Container App Revision to activate - * @param options The options parameters. - */ - activateRevision( - resourceGroupName: string, - containerAppName: string, - name: string, - options?: ContainerAppsRevisionsActivateRevisionOptionalParams, - ): Promise; - /** - * Deactivates a revision for a Container App - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App. - * @param name Name of the Container App Revision to deactivate - * @param options The options parameters. - */ - deactivateRevision( - resourceGroupName: string, - containerAppName: string, - name: string, - options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams, - ): Promise; - /** - * Restarts a revision for a Container App - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param containerAppName Name of the Container App. - * @param name Name of the Container App Revision to restart - * @param options The options parameters. - */ - restartRevision( - resourceGroupName: string, - containerAppName: string, - name: string, - options?: ContainerAppsRevisionsRestartRevisionOptionalParams, - ): Promise; -} diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/index.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/index.ts index 54c0aa3683f6..ac6566b1dd58 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/index.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/index.ts @@ -9,14 +9,12 @@ export * from "./appServiceCertificateOrders.js"; export * from "./certificateOrdersDiagnostics.js"; export * from "./certificateRegistrationProvider.js"; +export * from "./domainRegistrationProvider.js"; export * from "./domains.js"; export * from "./topLevelDomains.js"; -export * from "./domainRegistrationProvider.js"; export * from "./appServiceEnvironments.js"; export * from "./appServicePlans.js"; export * from "./certificates.js"; -export * from "./containerApps.js"; -export * from "./containerAppsRevisions.js"; export * from "./deletedWebApps.js"; export * from "./diagnostics.js"; export * from "./global.js"; diff --git a/sdk/appservice/arm-appservice/src/operationsInterfaces/webApps.ts b/sdk/appservice/arm-appservice/src/operationsInterfaces/webApps.ts index d9f2c580d97e..94cd6a605b01 100644 --- a/sdk/appservice/arm-appservice/src/operationsInterfaces/webApps.ts +++ b/sdk/appservice/arm-appservice/src/operationsInterfaces/webApps.ts @@ -306,6 +306,8 @@ import { WebAppsIsCloneableResponse, WebAppsListSyncFunctionTriggersOptionalParams, WebAppsListSyncFunctionTriggersResponse, + WebAppsUpdateMachineKeyOptionalParams, + WebAppsUpdateMachineKeyResponse, StorageMigrationOptions, WebAppsMigrateStorageOptionalParams, WebAppsMigrateStorageResponse, @@ -3108,6 +3110,17 @@ export interface WebApps { name: string, options?: WebAppsListSyncFunctionTriggersOptionalParams, ): Promise; + /** + * Updates the machine key of an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The options parameters. + */ + updateMachineKey( + resourceGroupName: string, + name: string, + options?: WebAppsUpdateMachineKeyOptionalParams, + ): Promise; /** * Description for Restores a web app. * @param subscriptionName Azure subscription. diff --git a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts index 57044fdb02c9..4e0f9d584f24 100644 --- a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts @@ -20,14 +20,12 @@ import { AppServiceCertificateOrdersImpl, CertificateOrdersDiagnosticsImpl, CertificateRegistrationProviderImpl, + DomainRegistrationProviderImpl, DomainsImpl, TopLevelDomainsImpl, - DomainRegistrationProviderImpl, AppServiceEnvironmentsImpl, AppServicePlansImpl, CertificatesImpl, - ContainerAppsImpl, - ContainerAppsRevisionsImpl, DeletedWebAppsImpl, DiagnosticsImpl, GlobalImpl, @@ -52,14 +50,12 @@ import { AppServiceCertificateOrders, CertificateOrdersDiagnostics, CertificateRegistrationProvider, + DomainRegistrationProvider, Domains, TopLevelDomains, - DomainRegistrationProvider, AppServiceEnvironments, AppServicePlans, Certificates, - ContainerApps, - ContainerAppsRevisions, DeletedWebApps, Diagnostics, Global, @@ -195,7 +191,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { credential: credentials, }; - const packageDetails = `azsdk-js-arm-appservice/15.0.1`; + const packageDetails = `azsdk-js-arm-appservice/16.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -249,7 +245,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2023-12-01"; + this.apiVersion = options.apiVersion || "2024-04-01"; this.appServiceCertificateOrders = new AppServiceCertificateOrdersImpl( this, ); @@ -258,14 +254,12 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { ); this.certificateRegistrationProvider = new CertificateRegistrationProviderImpl(this); + this.domainRegistrationProvider = new DomainRegistrationProviderImpl(this); this.domains = new DomainsImpl(this); this.topLevelDomains = new TopLevelDomainsImpl(this); - this.domainRegistrationProvider = new DomainRegistrationProviderImpl(this); this.appServiceEnvironments = new AppServiceEnvironmentsImpl(this); this.appServicePlans = new AppServicePlansImpl(this); this.certificates = new CertificatesImpl(this); - this.containerApps = new ContainerAppsImpl(this); - this.containerAppsRevisions = new ContainerAppsRevisionsImpl(this); this.deletedWebApps = new DeletedWebAppsImpl(this); this.diagnostics = new DiagnosticsImpl(this); this.global = new GlobalImpl(this); @@ -1090,14 +1084,12 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { appServiceCertificateOrders: AppServiceCertificateOrders; certificateOrdersDiagnostics: CertificateOrdersDiagnostics; certificateRegistrationProvider: CertificateRegistrationProvider; + domainRegistrationProvider: DomainRegistrationProvider; domains: Domains; topLevelDomains: TopLevelDomains; - domainRegistrationProvider: DomainRegistrationProvider; appServiceEnvironments: AppServiceEnvironments; appServicePlans: AppServicePlans; certificates: Certificates; - containerApps: ContainerApps; - containerAppsRevisions: ContainerAppsRevisions; deletedWebApps: DeletedWebApps; diagnostics: Diagnostics; global: Global; diff --git a/sdk/appservice/arm-appservice/test/sampleTest.ts b/sdk/appservice/arm-appservice/test/sampleTest.ts new file mode 100644 index 000000000000..a1cf7c25afd2 --- /dev/null +++ b/sdk/appservice/arm-appservice/test/sampleTest.ts @@ -0,0 +1,40 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, +} from "@azure-tools/test-recorder"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async (ctx) => { + recorder = new Recorder(ctx); + await recorder.start(recorderOptions); + }); + + afterEach(async () => { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/appservice/arm-appservice/test/snippets.spec.ts b/sdk/appservice/arm-appservice/test/snippets.spec.ts index 11dd2e26c868..5d5fe2b7c284 100644 --- a/sdk/appservice/arm-appservice/test/snippets.spec.ts +++ b/sdk/appservice/arm-appservice/test/snippets.spec.ts @@ -1,24 +1,14 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { WebSiteManagementClient } from "@azure/arm-appservice"; -import { DefaultAzureCredential, InteractiveBrowserCredential } from "@azure/identity"; import { setLogLevel } from "@azure/logger"; import { describe, it } from "vitest"; describe("snippets", () => { it("ReadmeSampleCreateClient_Node", async () => { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const client = new WebSiteManagementClient(new DefaultAzureCredential(), subscriptionId); }); it("ReadmeSampleCreateClient_Browser", async () => { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const credential = new InteractiveBrowserCredential({ - tenantId: "", - clientId: "", - }); - const client = new WebSiteManagementClient(credential, subscriptionId); }); it("SetLogLevel", async () => { diff --git a/sdk/appservice/arm-appservice/tsconfig.browser.config.json b/sdk/appservice/arm-appservice/tsconfig.browser.config.json index b6586181d006..0c8bafa97126 100644 --- a/sdk/appservice/arm-appservice/tsconfig.browser.config.json +++ b/sdk/appservice/arm-appservice/tsconfig.browser.config.json @@ -1,17 +1,6 @@ { - "extends": "./.tshy/build.json", - "include": [ - "./src/**/*.ts", - "./src/**/*.mts", - "./test/**/*.spec.ts", - "./test/**/*.mts" - ], - "exclude": [ - "./test/**/node/**/*.ts" - ], - "compilerOptions": { - "outDir": "./dist-test/browser", - "rootDir": ".", - "skipLibCheck": true - } + "extends": [ + "./tsconfig.test.json", + "../../../tsconfig.browser.base.json" + ] } diff --git a/sdk/appservice/arm-appservice/tsconfig.json b/sdk/appservice/arm-appservice/tsconfig.json index 7cf93e34294e..b35d05ad6e9d 100644 --- a/sdk/appservice/arm-appservice/tsconfig.json +++ b/sdk/appservice/arm-appservice/tsconfig.json @@ -1,14 +1,27 @@ { - "references": [ - { - "path": "./tsconfig.src.json" - }, - { - "path": "./tsconfig.samples.json" - }, - { - "path": "./tsconfig.test.json" - } + "compilerOptions": { + "module": "es6", + "moduleResolution": "node", + "strict": true, + "target": "es6", + "sourceMap": true, + "declarationMap": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "lib": [ + "es6", + "dom" + ], + "declaration": true, + "outDir": "./dist-esm", + "importHelpers": true + }, + "include": [ + "src/**/*.ts", + "test/**/*.ts" ], - "files": [] -} + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/appservice/arm-appservice/vitest.browser.config.ts b/sdk/appservice/arm-appservice/vitest.browser.config.ts index b48c61b2ef46..182729ab5ce9 100644 --- a/sdk/appservice/arm-appservice/vitest.browser.config.ts +++ b/sdk/appservice/arm-appservice/vitest.browser.config.ts @@ -9,9 +9,9 @@ export default mergeConfig( viteConfig, defineConfig({ test: { - include: [ - "dist-test/browser/test/**/*.spec.js", - ], + include: ["dist-test/browser/test/**/*.spec.js",], + testTimeout: 1200000, + hookTimeout: 1200000, }, }), ); diff --git a/sdk/appservice/arm-appservice/vitest.config.ts b/sdk/appservice/arm-appservice/vitest.config.ts index 2a4750c84292..40e031385dd8 100644 --- a/sdk/appservice/arm-appservice/vitest.config.ts +++ b/sdk/appservice/arm-appservice/vitest.config.ts @@ -1,3 +1,4 @@ + // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. @@ -8,8 +9,8 @@ export default mergeConfig( viteConfig, defineConfig({ test: { - hookTimeout: 1200000, testTimeout: 1200000, + hookTimeout: 1200000, }, }), );