From 150fdf4da5b13da35dd759fa2316dd3d0286dfa8 Mon Sep 17 00:00:00 2001 From: ZiWei Chen <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 6 Jan 2025 12:12:27 +0800 Subject: [PATCH] [mgmt] refresh rlc mgmt packages (#32330) https://github.com/Azure/azure-sdk-for-js/issues/30680 --- common/config/rush/pnpm-lock.yaml | 144 +- .../arm-appservice-rest/CHANGELOG.md | 8 +- .../arm-appservice-rest/api-extractor.json | 27 +- .../arm-appservice-rest/karma.conf.js | 134 - .../arm-appservice-rest/package.json | 100 +- .../review/arm-appservice.api.md | 9871 +++++++++-------- .../samples/v1-beta/javascript/README.md | 2 +- .../samples/v1-beta/typescript/README.md | 2 +- .../src/clientDefinitions.ts | 3764 ++++--- .../arm-appservice-rest/src/index.ts | 19 +- .../arm-appservice-rest/src/isUnexpected.ts | 8334 ++++++++++++++ .../arm-appservice-rest/src/logger.ts | 5 + .../arm-appservice-rest/src/models.ts | 1582 +-- .../arm-appservice-rest/src/outputModels.ts | 1519 ++- .../arm-appservice-rest/src/paginateHelper.ts | 146 +- .../arm-appservice-rest/src/parameters.ts | 2 +- .../arm-appservice-rest/src/pollingHelper.ts | 166 +- .../arm-appservice-rest/src/responses.ts | 2902 +++-- .../src/webSiteManagementClient.ts | 52 +- .../arm-appservice-rest/swagger/README.md | 4 +- .../test/public/appservice-rest.spec.ts | 17 +- .../test/public/sampleTest.spec.ts | 23 - .../test/public/utils/env.browser.ts | 2 - .../test/public/utils/env.ts | 6 - .../test/public/utils/recordedClient.ts | 19 +- .../tsconfig.browser.config.json | 10 + .../arm-appservice-rest/tsconfig.json | 18 +- .../arm-appservice-rest/tsconfig.samples.json | 8 + .../arm-appservice-rest/tsconfig.src.json | 3 + .../arm-appservice-rest/tsconfig.test.json | 3 + .../vitest.browser.config.ts | 17 + .../arm-appservice-rest/vitest.config.ts | 15 + .../arm-appservice-rest/vitest.esm.config.ts | 12 + sdk/appservice/arm-appservice/assets.json | 2 +- sdk/appservice/arm-appservice/package.json | 2 +- .../arm-appservice/test/web_examples.spec.ts | 32 +- sdk/compute/arm-compute-rest/CHANGELOG.md | 14 +- .../arm-compute-rest/api-extractor.json | 27 +- sdk/compute/arm-compute-rest/karma.conf.js | 133 - sdk/compute/arm-compute-rest/package.json | 97 +- .../review/arm-compute.api.md | 1400 +-- .../availabilitySetsCreateOrUpdateSample.ts | 4 +- .../availabilitySetsDeleteSample.ts | 4 +- .../samples-dev/availabilitySetsGetSample.ts | 4 +- ...vailabilitySetsListAvailableSizesSample.ts | 4 +- ...vailabilitySetsListBySubscriptionSample.ts | 4 +- .../samples-dev/availabilitySetsListSample.ts | 4 +- .../availabilitySetsUpdateSample.ts | 4 +- ...tyReservationGroupsCreateOrUpdateSample.ts | 4 +- .../capacityReservationGroupsDeleteSample.ts | 4 +- .../capacityReservationGroupsGetSample.ts | 4 +- ...ervationGroupsListByResourceGroupSample.ts | 4 +- ...servationGroupsListBySubscriptionSample.ts | 4 +- .../capacityReservationGroupsUpdateSample.ts | 4 +- ...apacityReservationsCreateOrUpdateSample.ts | 6 +- .../capacityReservationsDeleteSample.ts | 8 +- .../capacityReservationsGetSample.ts | 4 +- ...onsListByCapacityReservationGroupSample.ts | 4 +- .../capacityReservationsUpdateSample.ts | 8 +- ...erviceOperatingSystemsGetOSFamilySample.ts | 4 +- ...rviceOperatingSystemsGetOSVersionSample.ts | 4 +- ...iceOperatingSystemsListOSFamiliesSample.ts | 4 +- ...iceOperatingSystemsListOSVersionsSample.ts | 4 +- .../cloudServiceRoleInstancesDeleteSample.ts | 6 +- ...rviceRoleInstancesGetInstanceViewSample.ts | 4 +- ...RoleInstancesGetRemoteDesktopFileSample.ts | 4 +- .../cloudServiceRoleInstancesGetSample.ts | 4 +- .../cloudServiceRoleInstancesListSample.ts | 4 +- .../cloudServiceRoleInstancesRebuildSample.ts | 6 +- .../cloudServiceRoleInstancesReimageSample.ts | 6 +- .../cloudServiceRoleInstancesRestartSample.ts | 6 +- .../samples-dev/cloudServiceRolesGetSample.ts | 4 +- .../cloudServiceRolesListSample.ts | 4 +- .../cloudServicesCreateOrUpdateSample.ts | 12 +- .../cloudServicesDeleteInstancesSample.ts | 6 +- .../samples-dev/cloudServicesDeleteSample.ts | 6 +- .../cloudServicesGetInstanceViewSample.ts | 4 +- .../samples-dev/cloudServicesGetSample.ts | 4 +- .../samples-dev/cloudServicesListAllSample.ts | 4 +- .../samples-dev/cloudServicesListSample.ts | 4 +- .../cloudServicesPowerOffSample.ts | 6 +- .../samples-dev/cloudServicesRebuildSample.ts | 6 +- .../samples-dev/cloudServicesReimageSample.ts | 6 +- .../samples-dev/cloudServicesRestartSample.ts | 6 +- .../samples-dev/cloudServicesStartSample.ts | 6 +- ...rvicesUpdateDomainGetUpdateDomainSample.ts | 4 +- ...icesUpdateDomainListUpdateDomainsSample.ts | 4 +- ...vicesUpdateDomainWalkUpdateDomainSample.ts | 6 +- .../samples-dev/cloudServicesUpdateSample.ts | 6 +- .../communityGalleriesGetSample.ts | 4 +- .../communityGalleryImageVersionsGetSample.ts | 4 +- ...communityGalleryImageVersionsListSample.ts | 4 +- .../communityGalleryImagesGetSample.ts | 4 +- .../communityGalleryImagesListSample.ts | 4 +- ...dedicatedHostGroupsCreateOrUpdateSample.ts | 4 +- .../dedicatedHostGroupsDeleteSample.ts | 4 +- .../dedicatedHostGroupsGetSample.ts | 4 +- ...atedHostGroupsListByResourceGroupSample.ts | 4 +- ...catedHostGroupsListBySubscriptionSample.ts | 4 +- .../dedicatedHostGroupsUpdateSample.ts | 22 +- .../dedicatedHostsCreateOrUpdateSample.ts | 6 +- .../samples-dev/dedicatedHostsDeleteSample.ts | 8 +- .../samples-dev/dedicatedHostsGetSample.ts | 4 +- .../dedicatedHostsListByHostGroupSample.ts | 4 +- .../dedicatedHostsRestartSample.ts | 6 +- .../samples-dev/dedicatedHostsUpdateSample.ts | 22 +- .../diskAccessesCreateOrUpdateSample.ts | 6 +- ...sDeleteAPrivateEndpointConnectionSample.ts | 6 +- .../samples-dev/diskAccessesDeleteSample.ts | 6 +- ...ssesGetAPrivateEndpointConnectionSample.ts | 4 +- ...skAccessesGetPrivateLinkResourcesSample.ts | 4 +- .../samples-dev/diskAccessesGetSample.ts | 4 +- .../diskAccessesListByResourceGroupSample.ts | 4 +- ...sesListPrivateEndpointConnectionsSample.ts | 4 +- .../samples-dev/diskAccessesListSample.ts | 4 +- ...sUpdateAPrivateEndpointConnectionSample.ts | 6 +- .../samples-dev/diskAccessesUpdateSample.ts | 6 +- .../diskEncryptionSetsCreateOrUpdateSample.ts | 10 +- .../diskEncryptionSetsDeleteSample.ts | 6 +- .../diskEncryptionSetsGetSample.ts | 4 +- ...yptionSetsListAssociatedResourcesSample.ts | 4 +- ...EncryptionSetsListByResourceGroupSample.ts | 4 +- .../diskEncryptionSetsListSample.ts | 4 +- .../diskEncryptionSetsUpdateSample.ts | 10 +- .../samples-dev/diskRestorePointGetSample.ts | 4 +- .../diskRestorePointGrantAccessSample.ts | 6 +- ...iskRestorePointListByRestorePointSample.ts | 4 +- .../diskRestorePointRevokeAccessSample.ts | 6 +- .../samples-dev/disksCreateOrUpdateSample.ts | 52 +- .../samples-dev/disksDeleteSample.ts | 6 +- .../samples-dev/disksGetSample.ts | 4 +- .../samples-dev/disksGrantAccessSample.ts | 8 +- .../disksListByResourceGroupSample.ts | 4 +- .../samples-dev/disksListSample.ts | 4 +- .../samples-dev/disksRevokeAccessSample.ts | 6 +- .../samples-dev/disksUpdateSample.ts | 24 +- .../galleriesCreateOrUpdateSample.ts | 12 +- .../samples-dev/galleriesDeleteSample.ts | 6 +- .../samples-dev/galleriesGetSample.ts | 4 +- .../galleriesListByResourceGroupSample.ts | 4 +- .../samples-dev/galleriesListSample.ts | 4 +- .../samples-dev/galleriesUpdateSample.ts | 6 +- ...ApplicationVersionsCreateOrUpdateSample.ts | 6 +- .../galleryApplicationVersionsDeleteSample.ts | 6 +- .../galleryApplicationVersionsGetSample.ts | 4 +- ...nVersionsListByGalleryApplicationSample.ts | 4 +- .../galleryApplicationVersionsUpdateSample.ts | 6 +- ...galleryApplicationsCreateOrUpdateSample.ts | 6 +- .../galleryApplicationsDeleteSample.ts | 6 +- .../galleryApplicationsGetSample.ts | 4 +- .../galleryApplicationsListByGallerySample.ts | 4 +- .../galleryApplicationsUpdateSample.ts | 6 +- ...alleryImageVersionsCreateOrUpdateSample.ts | 20 +- .../galleryImageVersionsDeleteSample.ts | 6 +- .../galleryImageVersionsGetSample.ts | 4 +- ...ryImageVersionsListByGalleryImageSample.ts | 4 +- .../galleryImageVersionsUpdateSample.ts | 8 +- .../galleryImagesCreateOrUpdateSample.ts | 6 +- .../samples-dev/galleryImagesDeleteSample.ts | 6 +- .../samples-dev/galleryImagesGetSample.ts | 4 +- .../galleryImagesListByGallerySample.ts | 4 +- .../samples-dev/galleryImagesUpdateSample.ts | 6 +- .../gallerySharingProfileUpdateSample.ts | 10 +- .../samples-dev/imagesCreateOrUpdateSample.ts | 24 +- .../samples-dev/imagesDeleteSample.ts | 8 +- .../samples-dev/imagesGetSample.ts | 4 +- .../imagesListByResourceGroupSample.ts | 4 +- .../samples-dev/imagesListSample.ts | 4 +- .../samples-dev/imagesUpdateSample.ts | 6 +- ...lyticsExportRequestRateByIntervalSample.ts | 6 +- ...gAnalyticsExportThrottledRequestsSample.ts | 6 +- .../samples-dev/operationsListSample.ts | 4 +- ...mityPlacementGroupsCreateOrUpdateSample.ts | 4 +- .../proximityPlacementGroupsDeleteSample.ts | 4 +- .../proximityPlacementGroupsGetSample.ts | 4 +- ...lacementGroupsListByResourceGroupSample.ts | 4 +- ...PlacementGroupsListBySubscriptionSample.ts | 4 +- .../proximityPlacementGroupsUpdateSample.ts | 4 +- .../samples-dev/resourceSkusListSample.ts | 4 +- ...orePointCollectionsCreateOrUpdateSample.ts | 4 +- .../restorePointCollectionsDeleteSample.ts | 8 +- .../restorePointCollectionsGetSample.ts | 4 +- .../restorePointCollectionsListAllSample.ts | 4 +- .../restorePointCollectionsListSample.ts | 4 +- .../restorePointCollectionsUpdateSample.ts | 4 +- .../samples-dev/restorePointsCreateSample.ts | 8 +- .../samples-dev/restorePointsDeleteSample.ts | 8 +- .../samples-dev/restorePointsGetSample.ts | 4 +- .../samples-dev/sharedGalleriesGetSample.ts | 4 +- .../samples-dev/sharedGalleriesListSample.ts | 4 +- .../sharedGalleryImageVersionsGetSample.ts | 4 +- .../sharedGalleryImageVersionsListSample.ts | 4 +- .../sharedGalleryImagesGetSample.ts | 4 +- .../sharedGalleryImagesListSample.ts | 4 +- .../snapshotsCreateOrUpdateSample.ts | 12 +- .../samples-dev/snapshotsDeleteSample.ts | 6 +- .../samples-dev/snapshotsGetSample.ts | 4 +- .../samples-dev/snapshotsGrantAccessSample.ts | 6 +- .../snapshotsListByResourceGroupSample.ts | 4 +- .../samples-dev/snapshotsListSample.ts | 4 +- .../snapshotsRevokeAccessSample.ts | 6 +- .../samples-dev/snapshotsUpdateSample.ts | 8 +- .../samples-dev/sshPublicKeysCreateSample.ts | 4 +- .../samples-dev/sshPublicKeysDeleteSample.ts | 4 +- .../sshPublicKeysGenerateKeyPairSample.ts | 4 +- .../samples-dev/sshPublicKeysGetSample.ts | 4 +- .../sshPublicKeysListByResourceGroupSample.ts | 4 +- .../sshPublicKeysListBySubscriptionSample.ts | 4 +- .../samples-dev/sshPublicKeysUpdateSample.ts | 4 +- .../samples-dev/usageListSample.ts | 4 +- .../virtualMachineExtensionImagesGetSample.ts | 4 +- ...alMachineExtensionImagesListTypesSample.ts | 4 +- ...achineExtensionImagesListVersionsSample.ts | 4 +- ...alMachineExtensionsCreateOrUpdateSample.ts | 8 +- .../virtualMachineExtensionsDeleteSample.ts | 8 +- .../virtualMachineExtensionsGetSample.ts | 4 +- .../virtualMachineExtensionsListSample.ts | 4 +- .../virtualMachineExtensionsUpdateSample.ts | 6 +- .../virtualMachineImagesEdgeZoneGetSample.ts | 4 +- ...alMachineImagesEdgeZoneListOffersSample.ts | 4 +- ...chineImagesEdgeZoneListPublishersSample.ts | 4 +- .../virtualMachineImagesEdgeZoneListSample.ts | 4 +- ...tualMachineImagesEdgeZoneListSkusSample.ts | 4 +- .../virtualMachineImagesGetSample.ts | 4 +- ...irtualMachineImagesListByEdgeZoneSample.ts | 4 +- .../virtualMachineImagesListOffersSample.ts | 4 +- ...irtualMachineImagesListPublishersSample.ts | 4 +- .../virtualMachineImagesListSample.ts | 4 +- .../virtualMachineImagesListSkusSample.ts | 4 +- ...lMachineRunCommandsCreateOrUpdateSample.ts | 6 +- .../virtualMachineRunCommandsDeleteSample.ts | 6 +- ...ineRunCommandsGetByVirtualMachineSample.ts | 4 +- .../virtualMachineRunCommandsGetSample.ts | 4 +- ...neRunCommandsListByVirtualMachineSample.ts | 4 +- .../virtualMachineRunCommandsListSample.ts | 4 +- .../virtualMachineRunCommandsUpdateSample.ts | 6 +- ...eScaleSetExtensionsCreateOrUpdateSample.ts | 8 +- ...alMachineScaleSetExtensionsDeleteSample.ts | 8 +- ...rtualMachineScaleSetExtensionsGetSample.ts | 4 +- ...tualMachineScaleSetExtensionsListSample.ts | 4 +- ...alMachineScaleSetExtensionsUpdateSample.ts | 8 +- ...hineScaleSetRollingUpgradesCancelSample.ts | 8 +- ...eScaleSetRollingUpgradesGetLatestSample.ts | 4 +- ...lingUpgradesStartExtensionUpgradeSample.ts | 6 +- ...eSetRollingUpgradesStartOSUpgradeSample.ts | 8 +- ...caleSetVMExtensionsCreateOrUpdateSample.ts | 6 +- ...MachineScaleSetVMExtensionsDeleteSample.ts | 6 +- ...ualMachineScaleSetVMExtensionsGetSample.ts | 4 +- ...alMachineScaleSetVMExtensionsListSample.ts | 4 +- ...MachineScaleSetVMExtensionsUpdateSample.ts | 6 +- ...aleSetVMRunCommandsCreateOrUpdateSample.ts | 6 +- ...achineScaleSetVMRunCommandsDeleteSample.ts | 6 +- ...alMachineScaleSetVMRunCommandsGetSample.ts | 4 +- ...lMachineScaleSetVMRunCommandsListSample.ts | 4 +- ...achineScaleSetVMRunCommandsUpdateSample.ts | 6 +- ...rtualMachineScaleSetVMSDeallocateSample.ts | 8 +- .../virtualMachineScaleSetVMSDeleteSample.ts | 6 +- ...MachineScaleSetVMSGetInstanceViewSample.ts | 4 +- .../virtualMachineScaleSetVMSGetSample.ts | 4 +- .../virtualMachineScaleSetVMSListSample.ts | 4 +- ...hineScaleSetVMSPerformMaintenanceSample.ts | 8 +- ...virtualMachineScaleSetVMSPowerOffSample.ts | 8 +- ...virtualMachineScaleSetVMSRedeploySample.ts | 8 +- ...rtualMachineScaleSetVMSReimageAllSample.ts | 8 +- .../virtualMachineScaleSetVMSReimageSample.ts | 8 +- .../virtualMachineScaleSetVMSRestartSample.ts | 8 +- ...SetVMSRetrieveBootDiagnosticsDataSample.ts | 4 +- ...rtualMachineScaleSetVMSRunCommandSample.ts | 6 +- ...achineScaleSetVMSSimulateEvictionSample.ts | 4 +- .../virtualMachineScaleSetVMSStartSample.ts | 8 +- .../virtualMachineScaleSetVMSUpdateSample.ts | 132 +- ...SetsConvertToSinglePlacementGroupSample.ts | 4 +- ...ualMachineScaleSetsCreateOrUpdateSample.ts | 76 +- ...virtualMachineScaleSetsDeallocateSample.ts | 8 +- ...alMachineScaleSetsDeleteInstancesSample.ts | 8 +- .../virtualMachineScaleSetsDeleteSample.ts | 6 +- ...iceFabricPlatformUpdateDomainWalkSample.ts | 4 +- ...alMachineScaleSetsGetInstanceViewSample.ts | 4 +- ...chineScaleSetsGetOSUpgradeHistorySample.ts | 4 +- .../virtualMachineScaleSetsGetSample.ts | 4 +- .../virtualMachineScaleSetsListAllSample.ts | 4 +- ...ualMachineScaleSetsListByLocationSample.ts | 4 +- .../virtualMachineScaleSetsListSample.ts | 4 +- .../virtualMachineScaleSetsListSkusSample.ts | 4 +- ...achineScaleSetsPerformMaintenanceSample.ts | 8 +- .../virtualMachineScaleSetsPowerOffSample.ts | 8 +- .../virtualMachineScaleSetsRedeploySample.ts | 8 +- ...virtualMachineScaleSetsReimageAllSample.ts | 8 +- .../virtualMachineScaleSetsReimageSample.ts | 8 +- .../virtualMachineScaleSetsRestartSample.ts | 8 +- ...eSetsSetOrchestrationServiceStateSample.ts | 8 +- .../virtualMachineScaleSetsStartSample.ts | 8 +- ...alMachineScaleSetsUpdateInstancesSample.ts | 8 +- .../virtualMachineScaleSetsUpdateSample.ts | 8 +- .../virtualMachineSizesListSample.ts | 4 +- .../virtualMachinesAssessPatchesSample.ts | 6 +- .../virtualMachinesCaptureSample.ts | 8 +- ...tualMachinesConvertToManagedDisksSample.ts | 8 +- .../virtualMachinesCreateOrUpdateSample.ts | 90 +- .../virtualMachinesDeallocateSample.ts | 8 +- .../virtualMachinesDeleteSample.ts | 6 +- .../virtualMachinesGeneralizeSample.ts | 4 +- .../samples-dev/virtualMachinesGetSample.ts | 4 +- .../virtualMachinesInstallPatchesSample.ts | 6 +- .../virtualMachinesInstanceViewSample.ts | 4 +- .../virtualMachinesListAllSample.ts | 4 +- ...virtualMachinesListAvailableSizesSample.ts | 4 +- .../virtualMachinesListByLocationSample.ts | 4 +- .../samples-dev/virtualMachinesListSample.ts | 4 +- ...virtualMachinesPerformMaintenanceSample.ts | 8 +- .../virtualMachinesPowerOffSample.ts | 8 +- .../virtualMachinesReapplySample.ts | 6 +- .../virtualMachinesRedeploySample.ts | 8 +- .../virtualMachinesReimageSample.ts | 6 +- .../virtualMachinesRestartSample.ts | 8 +- ...chinesRetrieveBootDiagnosticsDataSample.ts | 4 +- .../virtualMachinesRunCommandSample.ts | 6 +- .../virtualMachinesSimulateEvictionSample.ts | 4 +- .../samples-dev/virtualMachinesStartSample.ts | 8 +- .../virtualMachinesUpdateSample.ts | 8 +- .../samples/v1-beta/javascript/README.md | 2 +- .../availabilitySetsCreateOrUpdateSample.js | 2 +- .../availabilitySetsDeleteSample.js | 4 +- .../javascript/availabilitySetsGetSample.js | 4 +- ...vailabilitySetsListAvailableSizesSample.js | 4 +- ...vailabilitySetsListBySubscriptionSample.js | 2 +- .../javascript/availabilitySetsListSample.js | 4 +- .../availabilitySetsUpdateSample.js | 4 +- ...tyReservationGroupsCreateOrUpdateSample.js | 2 +- .../capacityReservationGroupsDeleteSample.js | 4 +- .../capacityReservationGroupsGetSample.js | 2 +- ...ervationGroupsListByResourceGroupSample.js | 2 +- ...servationGroupsListBySubscriptionSample.js | 2 +- .../capacityReservationGroupsUpdateSample.js | 4 +- ...apacityReservationsCreateOrUpdateSample.js | 4 +- .../capacityReservationsDeleteSample.js | 8 +- .../capacityReservationsGetSample.js | 2 +- ...onsListByCapacityReservationGroupSample.js | 2 +- .../capacityReservationsUpdateSample.js | 8 +- ...erviceOperatingSystemsGetOSFamilySample.js | 2 +- ...rviceOperatingSystemsGetOSVersionSample.js | 2 +- ...iceOperatingSystemsListOSFamiliesSample.js | 2 +- ...iceOperatingSystemsListOSVersionsSample.js | 2 +- .../cloudServiceRoleInstancesDeleteSample.js | 4 +- ...rviceRoleInstancesGetInstanceViewSample.js | 2 +- ...RoleInstancesGetRemoteDesktopFileSample.js | 2 +- .../cloudServiceRoleInstancesGetSample.js | 2 +- .../cloudServiceRoleInstancesListSample.js | 2 +- .../cloudServiceRoleInstancesRebuildSample.js | 4 +- .../cloudServiceRoleInstancesReimageSample.js | 4 +- .../cloudServiceRoleInstancesRestartSample.js | 4 +- .../javascript/cloudServiceRolesGetSample.js | 2 +- .../javascript/cloudServiceRolesListSample.js | 2 +- .../cloudServicesCreateOrUpdateSample.js | 16 +- .../cloudServicesDeleteInstancesSample.js | 4 +- .../javascript/cloudServicesDeleteSample.js | 4 +- .../cloudServicesGetInstanceViewSample.js | 2 +- .../javascript/cloudServicesGetSample.js | 2 +- .../javascript/cloudServicesListAllSample.js | 2 +- .../javascript/cloudServicesListSample.js | 2 +- .../javascript/cloudServicesPowerOffSample.js | 4 +- .../javascript/cloudServicesRebuildSample.js | 4 +- .../javascript/cloudServicesReimageSample.js | 4 +- .../javascript/cloudServicesRestartSample.js | 4 +- .../javascript/cloudServicesStartSample.js | 4 +- ...rvicesUpdateDomainGetUpdateDomainSample.js | 2 +- ...icesUpdateDomainListUpdateDomainsSample.js | 2 +- ...vicesUpdateDomainWalkUpdateDomainSample.js | 4 +- .../javascript/cloudServicesUpdateSample.js | 4 +- .../javascript/communityGalleriesGetSample.js | 2 +- .../communityGalleryImageVersionsGetSample.js | 2 +- ...communityGalleryImageVersionsListSample.js | 2 +- .../communityGalleryImagesGetSample.js | 2 +- .../communityGalleryImagesListSample.js | 2 +- ...dedicatedHostGroupsCreateOrUpdateSample.js | 4 +- .../dedicatedHostGroupsDeleteSample.js | 4 +- .../dedicatedHostGroupsGetSample.js | 4 +- ...atedHostGroupsListByResourceGroupSample.js | 4 +- .../dedicatedHostGroupsUpdateSample.js | 22 +- .../dedicatedHostsCreateOrUpdateSample.js | 4 +- .../javascript/dedicatedHostsDeleteSample.js | 8 +- .../javascript/dedicatedHostsGetSample.js | 2 +- .../dedicatedHostsListByHostGroupSample.js | 4 +- .../javascript/dedicatedHostsRestartSample.js | 4 +- .../javascript/dedicatedHostsUpdateSample.js | 22 +- .../diskAccessesCreateOrUpdateSample.js | 4 +- ...sDeleteAPrivateEndpointConnectionSample.js | 4 +- .../javascript/diskAccessesDeleteSample.js | 4 +- ...ssesGetAPrivateEndpointConnectionSample.js | 2 +- ...skAccessesGetPrivateLinkResourcesSample.js | 2 +- .../javascript/diskAccessesGetSample.js | 4 +- .../diskAccessesListByResourceGroupSample.js | 2 +- ...sesListPrivateEndpointConnectionsSample.js | 2 +- .../javascript/diskAccessesListSample.js | 2 +- ...sUpdateAPrivateEndpointConnectionSample.js | 4 +- .../javascript/diskAccessesUpdateSample.js | 4 +- .../diskEncryptionSetsCreateOrUpdateSample.js | 12 +- .../diskEncryptionSetsDeleteSample.js | 4 +- .../javascript/diskEncryptionSetsGetSample.js | 4 +- ...yptionSetsListAssociatedResourcesSample.js | 2 +- ...EncryptionSetsListByResourceGroupSample.js | 2 +- .../diskEncryptionSetsListSample.js | 2 +- .../diskEncryptionSetsUpdateSample.js | 16 +- .../javascript/diskRestorePointGetSample.js | 4 +- .../diskRestorePointGrantAccessSample.js | 4 +- ...iskRestorePointListByRestorePointSample.js | 2 +- .../diskRestorePointRevokeAccessSample.js | 4 +- .../javascript/disksCreateOrUpdateSample.js | 96 +- .../v1-beta/javascript/disksDeleteSample.js | 4 +- .../v1-beta/javascript/disksGetSample.js | 2 +- .../javascript/disksGrantAccessSample.js | 8 +- .../disksListByResourceGroupSample.js | 2 +- .../javascript/disksRevokeAccessSample.js | 4 +- .../v1-beta/javascript/disksUpdateSample.js | 40 +- .../galleriesCreateOrUpdateSample.js | 16 +- .../javascript/galleriesDeleteSample.js | 4 +- .../v1-beta/javascript/galleriesGetSample.js | 8 +- .../galleriesListByResourceGroupSample.js | 2 +- .../javascript/galleriesUpdateSample.js | 4 +- ...ApplicationVersionsCreateOrUpdateSample.js | 4 +- .../galleryApplicationVersionsDeleteSample.js | 4 +- .../galleryApplicationVersionsGetSample.js | 4 +- ...nVersionsListByGalleryApplicationSample.js | 2 +- .../galleryApplicationVersionsUpdateSample.js | 4 +- ...galleryApplicationsCreateOrUpdateSample.js | 4 +- .../galleryApplicationsDeleteSample.js | 4 +- .../galleryApplicationsGetSample.js | 2 +- .../galleryApplicationsListByGallerySample.js | 2 +- .../galleryApplicationsUpdateSample.js | 4 +- ...alleryImageVersionsCreateOrUpdateSample.js | 32 +- .../galleryImageVersionsDeleteSample.js | 4 +- .../galleryImageVersionsGetSample.js | 8 +- ...ryImageVersionsListByGalleryImageSample.js | 2 +- .../galleryImageVersionsUpdateSample.js | 8 +- .../galleryImagesCreateOrUpdateSample.js | 4 +- .../javascript/galleryImagesDeleteSample.js | 4 +- .../javascript/galleryImagesGetSample.js | 2 +- .../galleryImagesListByGallerySample.js | 2 +- .../javascript/galleryImagesUpdateSample.js | 4 +- .../gallerySharingProfileUpdateSample.js | 12 +- .../javascript/imagesCreateOrUpdateSample.js | 40 +- .../v1-beta/javascript/imagesDeleteSample.js | 8 +- .../v1-beta/javascript/imagesGetSample.js | 2 +- .../imagesListByResourceGroupSample.js | 2 +- .../v1-beta/javascript/imagesUpdateSample.js | 4 +- ...lyticsExportRequestRateByIntervalSample.js | 6 +- ...gAnalyticsExportThrottledRequestsSample.js | 6 +- .../samples/v1-beta/javascript/package.json | 2 +- ...mityPlacementGroupsCreateOrUpdateSample.js | 2 +- .../proximityPlacementGroupsDeleteSample.js | 2 +- .../proximityPlacementGroupsGetSample.js | 2 +- ...lacementGroupsListByResourceGroupSample.js | 2 +- ...PlacementGroupsListBySubscriptionSample.js | 2 +- .../proximityPlacementGroupsUpdateSample.js | 2 +- ...orePointCollectionsCreateOrUpdateSample.js | 4 +- .../restorePointCollectionsDeleteSample.js | 8 +- .../restorePointCollectionsGetSample.js | 8 +- .../restorePointCollectionsListAllSample.js | 2 +- .../restorePointCollectionsListSample.js | 2 +- .../restorePointCollectionsUpdateSample.js | 4 +- .../javascript/restorePointsCreateSample.js | 8 +- .../javascript/restorePointsDeleteSample.js | 8 +- .../javascript/restorePointsGetSample.js | 4 +- .../javascript/sharedGalleriesGetSample.js | 2 +- .../javascript/sharedGalleriesListSample.js | 2 +- .../sharedGalleryImageVersionsGetSample.js | 2 +- .../sharedGalleryImageVersionsListSample.js | 2 +- .../sharedGalleryImagesGetSample.js | 2 +- .../sharedGalleryImagesListSample.js | 2 +- .../snapshotsCreateOrUpdateSample.js | 18 +- .../javascript/snapshotsDeleteSample.js | 4 +- .../v1-beta/javascript/snapshotsGetSample.js | 4 +- .../javascript/snapshotsGrantAccessSample.js | 4 +- .../snapshotsListByResourceGroupSample.js | 2 +- .../javascript/snapshotsRevokeAccessSample.js | 4 +- .../javascript/snapshotsUpdateSample.js | 8 +- .../javascript/sshPublicKeysCreateSample.js | 2 +- .../javascript/sshPublicKeysDeleteSample.js | 4 +- .../sshPublicKeysGenerateKeyPairSample.js | 2 +- .../javascript/sshPublicKeysGetSample.js | 2 +- .../sshPublicKeysListByResourceGroupSample.js | 4 +- .../sshPublicKeysListBySubscriptionSample.js | 4 +- .../javascript/sshPublicKeysUpdateSample.js | 4 +- .../v1-beta/javascript/usageListSample.js | 4 +- .../virtualMachineExtensionImagesGetSample.js | 4 +- ...alMachineExtensionImagesListTypesSample.js | 4 +- ...achineExtensionImagesListVersionsSample.js | 4 +- ...alMachineExtensionsCreateOrUpdateSample.js | 8 +- .../virtualMachineExtensionsDeleteSample.js | 8 +- .../virtualMachineExtensionsGetSample.js | 4 +- .../virtualMachineExtensionsListSample.js | 4 +- .../virtualMachineExtensionsUpdateSample.js | 4 +- .../virtualMachineImagesEdgeZoneGetSample.js | 4 +- ...alMachineImagesEdgeZoneListOffersSample.js | 4 +- ...chineImagesEdgeZoneListPublishersSample.js | 4 +- .../virtualMachineImagesEdgeZoneListSample.js | 4 +- ...tualMachineImagesEdgeZoneListSkusSample.js | 4 +- .../virtualMachineImagesGetSample.js | 4 +- ...irtualMachineImagesListByEdgeZoneSample.js | 4 +- .../virtualMachineImagesListOffersSample.js | 4 +- ...irtualMachineImagesListPublishersSample.js | 4 +- .../virtualMachineImagesListSample.js | 4 +- .../virtualMachineImagesListSkusSample.js | 4 +- ...lMachineRunCommandsCreateOrUpdateSample.js | 4 +- .../virtualMachineRunCommandsDeleteSample.js | 4 +- ...ineRunCommandsGetByVirtualMachineSample.js | 2 +- .../virtualMachineRunCommandsGetSample.js | 2 +- ...neRunCommandsListByVirtualMachineSample.js | 2 +- .../virtualMachineRunCommandsListSample.js | 2 +- .../virtualMachineRunCommandsUpdateSample.js | 4 +- ...eScaleSetExtensionsCreateOrUpdateSample.js | 8 +- ...alMachineScaleSetExtensionsDeleteSample.js | 8 +- ...rtualMachineScaleSetExtensionsGetSample.js | 4 +- ...tualMachineScaleSetExtensionsListSample.js | 4 +- ...alMachineScaleSetExtensionsUpdateSample.js | 8 +- ...hineScaleSetRollingUpgradesCancelSample.js | 8 +- ...eScaleSetRollingUpgradesGetLatestSample.js | 4 +- ...lingUpgradesStartExtensionUpgradeSample.js | 4 +- ...eSetRollingUpgradesStartOSUpgradeSample.js | 8 +- ...caleSetVMExtensionsCreateOrUpdateSample.js | 4 +- ...MachineScaleSetVMExtensionsDeleteSample.js | 4 +- ...ualMachineScaleSetVMExtensionsGetSample.js | 2 +- ...alMachineScaleSetVMExtensionsListSample.js | 2 +- ...MachineScaleSetVMExtensionsUpdateSample.js | 4 +- ...aleSetVMRunCommandsCreateOrUpdateSample.js | 4 +- ...achineScaleSetVMRunCommandsDeleteSample.js | 4 +- ...alMachineScaleSetVMRunCommandsGetSample.js | 2 +- ...lMachineScaleSetVMRunCommandsListSample.js | 2 +- ...achineScaleSetVMRunCommandsUpdateSample.js | 4 +- ...rtualMachineScaleSetVMSDeallocateSample.js | 8 +- .../virtualMachineScaleSetVMSDeleteSample.js | 4 +- ...MachineScaleSetVMSGetInstanceViewSample.js | 4 +- .../virtualMachineScaleSetVMSGetSample.js | 4 +- .../virtualMachineScaleSetVMSListSample.js | 4 +- ...hineScaleSetVMSPerformMaintenanceSample.js | 8 +- ...virtualMachineScaleSetVMSPowerOffSample.js | 8 +- ...virtualMachineScaleSetVMSRedeploySample.js | 8 +- ...rtualMachineScaleSetVMSReimageAllSample.js | 8 +- .../virtualMachineScaleSetVMSReimageSample.js | 8 +- .../virtualMachineScaleSetVMSRestartSample.js | 8 +- ...SetVMSRetrieveBootDiagnosticsDataSample.js | 2 +- ...rtualMachineScaleSetVMSRunCommandSample.js | 4 +- ...achineScaleSetVMSSimulateEvictionSample.js | 2 +- .../virtualMachineScaleSetVMSStartSample.js | 8 +- .../virtualMachineScaleSetVMSUpdateSample.js | 132 +- ...SetsConvertToSinglePlacementGroupSample.js | 4 +- ...ualMachineScaleSetsCreateOrUpdateSample.js | 144 +- ...virtualMachineScaleSetsDeallocateSample.js | 8 +- ...alMachineScaleSetsDeleteInstancesSample.js | 8 +- .../virtualMachineScaleSetsDeleteSample.js | 4 +- ...iceFabricPlatformUpdateDomainWalkSample.js | 8 +- ...alMachineScaleSetsGetInstanceViewSample.js | 4 +- ...chineScaleSetsGetOSUpgradeHistorySample.js | 4 +- .../virtualMachineScaleSetsGetSample.js | 10 +- .../virtualMachineScaleSetsListAllSample.js | 4 +- ...ualMachineScaleSetsListByLocationSample.js | 2 +- .../virtualMachineScaleSetsListSample.js | 4 +- .../virtualMachineScaleSetsListSkusSample.js | 4 +- ...achineScaleSetsPerformMaintenanceSample.js | 8 +- .../virtualMachineScaleSetsPowerOffSample.js | 8 +- .../virtualMachineScaleSetsRedeploySample.js | 8 +- ...virtualMachineScaleSetsReimageAllSample.js | 8 +- .../virtualMachineScaleSetsReimageSample.js | 8 +- .../virtualMachineScaleSetsRestartSample.js | 8 +- ...eSetsSetOrchestrationServiceStateSample.js | 8 +- .../virtualMachineScaleSetsStartSample.js | 8 +- ...alMachineScaleSetsUpdateInstancesSample.js | 8 +- .../virtualMachineScaleSetsUpdateSample.js | 8 +- .../virtualMachineSizesListSample.js | 4 +- .../virtualMachinesAssessPatchesSample.js | 4 +- .../virtualMachinesCaptureSample.js | 8 +- ...tualMachinesConvertToManagedDisksSample.js | 8 +- .../virtualMachinesCreateOrUpdateSample.js | 182 +- .../virtualMachinesDeallocateSample.js | 8 +- .../javascript/virtualMachinesDeleteSample.js | 4 +- .../virtualMachinesGeneralizeSample.js | 2 +- .../javascript/virtualMachinesGetSample.js | 8 +- .../virtualMachinesInstallPatchesSample.js | 4 +- .../virtualMachinesInstanceViewSample.js | 6 +- .../virtualMachinesListAllSample.js | 4 +- ...virtualMachinesListAvailableSizesSample.js | 4 +- .../virtualMachinesListByLocationSample.js | 4 +- .../javascript/virtualMachinesListSample.js | 4 +- ...virtualMachinesPerformMaintenanceSample.js | 8 +- .../virtualMachinesPowerOffSample.js | 8 +- .../virtualMachinesReapplySample.js | 4 +- .../virtualMachinesRedeploySample.js | 8 +- .../virtualMachinesReimageSample.js | 4 +- .../virtualMachinesRestartSample.js | 8 +- ...chinesRetrieveBootDiagnosticsDataSample.js | 2 +- .../virtualMachinesRunCommandSample.js | 4 +- .../virtualMachinesSimulateEvictionSample.js | 2 +- .../javascript/virtualMachinesStartSample.js | 8 +- .../javascript/virtualMachinesUpdateSample.js | 8 +- .../samples/v1-beta/typescript/README.md | 2 +- .../samples/v1-beta/typescript/package.json | 4 +- .../availabilitySetsCreateOrUpdateSample.ts | 12 +- .../src/availabilitySetsDeleteSample.ts | 14 +- .../src/availabilitySetsGetSample.ts | 14 +- ...vailabilitySetsListAvailableSizesSample.ts | 14 +- ...vailabilitySetsListBySubscriptionSample.ts | 12 +- .../src/availabilitySetsListSample.ts | 14 +- .../src/availabilitySetsUpdateSample.ts | 26 +- ...tyReservationGroupsCreateOrUpdateSample.ts | 12 +- .../capacityReservationGroupsDeleteSample.ts | 14 +- .../src/capacityReservationGroupsGetSample.ts | 10 +- ...ervationGroupsListByResourceGroupSample.ts | 12 +- ...servationGroupsListBySubscriptionSample.ts | 12 +- .../capacityReservationGroupsUpdateSample.ts | 14 +- ...apacityReservationsCreateOrUpdateSample.ts | 14 +- .../src/capacityReservationsDeleteSample.ts | 18 +- .../src/capacityReservationsGetSample.ts | 10 +- ...onsListByCapacityReservationGroupSample.ts | 10 +- .../src/capacityReservationsUpdateSample.ts | 28 +- ...erviceOperatingSystemsGetOSFamilySample.ts | 10 +- ...rviceOperatingSystemsGetOSVersionSample.ts | 10 +- ...iceOperatingSystemsListOSFamiliesSample.ts | 10 +- ...iceOperatingSystemsListOSVersionsSample.ts | 10 +- .../cloudServiceRoleInstancesDeleteSample.ts | 12 +- ...rviceRoleInstancesGetInstanceViewSample.ts | 10 +- ...RoleInstancesGetRemoteDesktopFileSample.ts | 10 +- .../src/cloudServiceRoleInstancesGetSample.ts | 10 +- .../cloudServiceRoleInstancesListSample.ts | 10 +- .../cloudServiceRoleInstancesRebuildSample.ts | 12 +- .../cloudServiceRoleInstancesReimageSample.ts | 12 +- .../cloudServiceRoleInstancesRestartSample.ts | 12 +- .../src/cloudServiceRolesGetSample.ts | 10 +- .../src/cloudServiceRolesListSample.ts | 10 +- .../src/cloudServicesCreateOrUpdateSample.ts | 168 +- .../src/cloudServicesDeleteInstancesSample.ts | 12 +- .../src/cloudServicesDeleteSample.ts | 12 +- .../src/cloudServicesGetInstanceViewSample.ts | 10 +- .../typescript/src/cloudServicesGetSample.ts | 12 +- .../src/cloudServicesListAllSample.ts | 10 +- .../typescript/src/cloudServicesListSample.ts | 10 +- .../src/cloudServicesPowerOffSample.ts | 12 +- .../src/cloudServicesRebuildSample.ts | 12 +- .../src/cloudServicesReimageSample.ts | 12 +- .../src/cloudServicesRestartSample.ts | 12 +- .../src/cloudServicesStartSample.ts | 12 +- ...rvicesUpdateDomainGetUpdateDomainSample.ts | 10 +- ...icesUpdateDomainListUpdateDomainsSample.ts | 10 +- ...vicesUpdateDomainWalkUpdateDomainSample.ts | 12 +- .../src/cloudServicesUpdateSample.ts | 12 +- .../src/communityGalleriesGetSample.ts | 10 +- .../communityGalleryImageVersionsGetSample.ts | 10 +- ...communityGalleryImageVersionsListSample.ts | 10 +- .../src/communityGalleryImagesGetSample.ts | 10 +- .../src/communityGalleryImagesListSample.ts | 10 +- ...dedicatedHostGroupsCreateOrUpdateSample.ts | 22 +- .../src/dedicatedHostGroupsDeleteSample.ts | 14 +- .../src/dedicatedHostGroupsGetSample.ts | 14 +- ...atedHostGroupsListByResourceGroupSample.ts | 14 +- ...catedHostGroupsListBySubscriptionSample.ts | 20 +- .../src/dedicatedHostGroupsUpdateSample.ts | 36 +- .../src/dedicatedHostsCreateOrUpdateSample.ts | 14 +- .../src/dedicatedHostsDeleteSample.ts | 18 +- .../typescript/src/dedicatedHostsGetSample.ts | 10 +- .../dedicatedHostsListByHostGroupSample.ts | 14 +- .../src/dedicatedHostsRestartSample.ts | 12 +- .../src/dedicatedHostsUpdateSample.ts | 36 +- .../src/diskAccessesCreateOrUpdateSample.ts | 12 +- ...sDeleteAPrivateEndpointConnectionSample.ts | 12 +- .../src/diskAccessesDeleteSample.ts | 12 +- ...ssesGetAPrivateEndpointConnectionSample.ts | 14 +- ...skAccessesGetPrivateLinkResourcesSample.ts | 14 +- .../typescript/src/diskAccessesGetSample.ts | 20 +- .../diskAccessesListByResourceGroupSample.ts | 10 +- ...sesListPrivateEndpointConnectionsSample.ts | 14 +- .../typescript/src/diskAccessesListSample.ts | 10 +- ...sUpdateAPrivateEndpointConnectionSample.ts | 22 +- .../src/diskAccessesUpdateSample.ts | 12 +- .../diskEncryptionSetsCreateOrUpdateSample.ts | 56 +- .../src/diskEncryptionSetsDeleteSample.ts | 12 +- .../src/diskEncryptionSetsGetSample.ts | 18 +- ...yptionSetsListAssociatedResourcesSample.ts | 14 +- ...EncryptionSetsListByResourceGroupSample.ts | 10 +- .../src/diskEncryptionSetsListSample.ts | 10 +- .../src/diskEncryptionSetsUpdateSample.ts | 54 +- .../src/diskRestorePointGetSample.ts | 24 +- .../src/diskRestorePointGrantAccessSample.ts | 15 +- ...iskRestorePointListByRestorePointSample.ts | 10 +- .../src/diskRestorePointRevokeAccessSample.ts | 15 +- .../src/disksCreateOrUpdateSample.ts | 325 +- .../typescript/src/disksDeleteSample.ts | 12 +- .../v1-beta/typescript/src/disksGetSample.ts | 12 +- .../typescript/src/disksGrantAccessSample.ts | 20 +- .../src/disksListByResourceGroupSample.ts | 10 +- .../v1-beta/typescript/src/disksListSample.ts | 13 +- .../typescript/src/disksRevokeAccessSample.ts | 12 +- .../typescript/src/disksUpdateSample.ts | 76 +- .../src/galleriesCreateOrUpdateSample.ts | 48 +- .../typescript/src/galleriesDeleteSample.ts | 12 +- .../typescript/src/galleriesGetSample.ts | 26 +- .../src/galleriesListByResourceGroupSample.ts | 10 +- .../typescript/src/galleriesListSample.ts | 13 +- .../typescript/src/galleriesUpdateSample.ts | 12 +- ...ApplicationVersionsCreateOrUpdateSample.ts | 26 +- .../galleryApplicationVersionsDeleteSample.ts | 12 +- .../galleryApplicationVersionsGetSample.ts | 16 +- ...nVersionsListByGalleryApplicationSample.ts | 14 +- .../galleryApplicationVersionsUpdateSample.ts | 26 +- ...galleryApplicationsCreateOrUpdateSample.ts | 16 +- .../src/galleryApplicationsDeleteSample.ts | 12 +- .../src/galleryApplicationsGetSample.ts | 10 +- .../galleryApplicationsListByGallerySample.ts | 10 +- .../src/galleryApplicationsUpdateSample.ts | 16 +- ...alleryImageVersionsCreateOrUpdateSample.ts | 365 +- .../src/galleryImageVersionsDeleteSample.ts | 12 +- .../src/galleryImageVersionsGetSample.ts | 24 +- ...ryImageVersionsListByGalleryImageSample.ts | 10 +- .../src/galleryImageVersionsUpdateSample.ts | 43 +- .../src/galleryImagesCreateOrUpdateSample.ts | 18 +- .../src/galleryImagesDeleteSample.ts | 12 +- .../typescript/src/galleryImagesGetSample.ts | 12 +- .../src/galleryImagesListByGallerySample.ts | 10 +- .../src/galleryImagesUpdateSample.ts | 18 +- .../src/gallerySharingProfileUpdateSample.ts | 33 +- .../src/imagesCreateOrUpdateSample.ts | 222 +- .../typescript/src/imagesDeleteSample.ts | 18 +- .../v1-beta/typescript/src/imagesGetSample.ts | 12 +- .../src/imagesListByResourceGroupSample.ts | 10 +- .../typescript/src/imagesListSample.ts | 13 +- .../typescript/src/imagesUpdateSample.ts | 19 +- ...lyticsExportRequestRateByIntervalSample.ts | 16 +- ...gAnalyticsExportThrottledRequestsSample.ts | 16 +- .../typescript/src/operationsListSample.ts | 20 +- ...mityPlacementGroupsCreateOrUpdateSample.ts | 14 +- .../proximityPlacementGroupsDeleteSample.ts | 10 +- .../src/proximityPlacementGroupsGetSample.ts | 10 +- ...lacementGroupsListByResourceGroupSample.ts | 10 +- ...PlacementGroupsListBySubscriptionSample.ts | 10 +- .../proximityPlacementGroupsUpdateSample.ts | 10 +- .../typescript/src/resourceSkusListSample.ts | 35 +- ...orePointCollectionsCreateOrUpdateSample.ts | 28 +- .../restorePointCollectionsDeleteSample.ts | 18 +- .../src/restorePointCollectionsGetSample.ts | 18 +- .../restorePointCollectionsListAllSample.ts | 10 +- .../src/restorePointCollectionsListSample.ts | 10 +- .../restorePointCollectionsUpdateSample.ts | 21 +- .../src/restorePointsCreateSample.ts | 34 +- .../src/restorePointsDeleteSample.ts | 18 +- .../typescript/src/restorePointsGetSample.ts | 16 +- .../src/sharedGalleriesGetSample.ts | 10 +- .../src/sharedGalleriesListSample.ts | 10 +- .../sharedGalleryImageVersionsGetSample.ts | 10 +- .../sharedGalleryImageVersionsListSample.ts | 10 +- .../src/sharedGalleryImagesGetSample.ts | 10 +- .../src/sharedGalleryImagesListSample.ts | 10 +- .../src/snapshotsCreateOrUpdateSample.ts | 72 +- .../typescript/src/snapshotsDeleteSample.ts | 12 +- .../typescript/src/snapshotsGetSample.ts | 16 +- .../src/snapshotsGrantAccessSample.ts | 12 +- .../src/snapshotsListByResourceGroupSample.ts | 10 +- .../typescript/src/snapshotsListSample.ts | 13 +- .../src/snapshotsRevokeAccessSample.ts | 12 +- .../typescript/src/snapshotsUpdateSample.ts | 24 +- .../src/sshPublicKeysCreateSample.ts | 12 +- .../src/sshPublicKeysDeleteSample.ts | 14 +- .../src/sshPublicKeysGenerateKeyPairSample.ts | 10 +- .../typescript/src/sshPublicKeysGetSample.ts | 12 +- .../sshPublicKeysListByResourceGroupSample.ts | 14 +- .../sshPublicKeysListBySubscriptionSample.ts | 14 +- .../src/sshPublicKeysUpdateSample.ts | 16 +- .../v1-beta/typescript/src/usageListSample.ts | 14 +- .../virtualMachineExtensionImagesGetSample.ts | 14 +- ...alMachineExtensionImagesListTypesSample.ts | 14 +- ...achineExtensionImagesListVersionsSample.ts | 16 +- ...alMachineExtensionsCreateOrUpdateSample.ts | 32 +- .../virtualMachineExtensionsDeleteSample.ts | 18 +- .../src/virtualMachineExtensionsGetSample.ts | 14 +- .../src/virtualMachineExtensionsListSample.ts | 16 +- .../virtualMachineExtensionsUpdateSample.ts | 21 +- .../virtualMachineImagesEdgeZoneGetSample.ts | 14 +- ...alMachineImagesEdgeZoneListOffersSample.ts | 14 +- ...chineImagesEdgeZoneListPublishersSample.ts | 14 +- .../virtualMachineImagesEdgeZoneListSample.ts | 16 +- ...tualMachineImagesEdgeZoneListSkusSample.ts | 14 +- .../src/virtualMachineImagesGetSample.ts | 14 +- ...irtualMachineImagesListByEdgeZoneSample.ts | 14 +- .../virtualMachineImagesListOffersSample.ts | 14 +- ...irtualMachineImagesListPublishersSample.ts | 14 +- .../src/virtualMachineImagesListSample.ts | 16 +- .../src/virtualMachineImagesListSkusSample.ts | 14 +- ...lMachineRunCommandsCreateOrUpdateSample.ts | 18 +- .../virtualMachineRunCommandsDeleteSample.ts | 12 +- ...ineRunCommandsGetByVirtualMachineSample.ts | 10 +- .../src/virtualMachineRunCommandsGetSample.ts | 10 +- ...neRunCommandsListByVirtualMachineSample.ts | 10 +- .../virtualMachineRunCommandsListSample.ts | 10 +- .../virtualMachineRunCommandsUpdateSample.ts | 14 +- ...eScaleSetExtensionsCreateOrUpdateSample.ts | 30 +- ...alMachineScaleSetExtensionsDeleteSample.ts | 18 +- ...rtualMachineScaleSetExtensionsGetSample.ts | 14 +- ...tualMachineScaleSetExtensionsListSample.ts | 14 +- ...alMachineScaleSetExtensionsUpdateSample.ts | 22 +- ...hineScaleSetRollingUpgradesCancelSample.ts | 18 +- ...eScaleSetRollingUpgradesGetLatestSample.ts | 22 +- ...lingUpgradesStartExtensionUpgradeSample.ts | 12 +- ...eSetRollingUpgradesStartOSUpgradeSample.ts | 26 +- ...caleSetVMExtensionsCreateOrUpdateSample.ts | 16 +- ...MachineScaleSetVMExtensionsDeleteSample.ts | 12 +- ...ualMachineScaleSetVMExtensionsGetSample.ts | 10 +- ...alMachineScaleSetVMExtensionsListSample.ts | 10 +- ...MachineScaleSetVMExtensionsUpdateSample.ts | 16 +- ...aleSetVMRunCommandsCreateOrUpdateSample.ts | 18 +- ...achineScaleSetVMRunCommandsDeleteSample.ts | 12 +- ...alMachineScaleSetVMRunCommandsGetSample.ts | 10 +- ...lMachineScaleSetVMRunCommandsListSample.ts | 10 +- ...achineScaleSetVMRunCommandsUpdateSample.ts | 14 +- ...rtualMachineScaleSetVMSDeallocateSample.ts | 18 +- .../virtualMachineScaleSetVMSDeleteSample.ts | 12 +- ...MachineScaleSetVMSGetInstanceViewSample.ts | 12 +- .../src/virtualMachineScaleSetVMSGetSample.ts | 14 +- .../virtualMachineScaleSetVMSListSample.ts | 16 +- ...hineScaleSetVMSPerformMaintenanceSample.ts | 18 +- ...virtualMachineScaleSetVMSPowerOffSample.ts | 18 +- ...virtualMachineScaleSetVMSRedeploySample.ts | 18 +- ...rtualMachineScaleSetVMSReimageAllSample.ts | 18 +- .../virtualMachineScaleSetVMSReimageSample.ts | 18 +- .../virtualMachineScaleSetVMSRestartSample.ts | 18 +- ...SetVMSRetrieveBootDiagnosticsDataSample.ts | 12 +- ...rtualMachineScaleSetVMSRunCommandSample.ts | 14 +- ...achineScaleSetVMSSimulateEvictionSample.ts | 10 +- .../virtualMachineScaleSetVMSStartSample.ts | 18 +- .../virtualMachineScaleSetVMSUpdateSample.ts | 342 +- ...SetsConvertToSinglePlacementGroupSample.ts | 22 +- ...ualMachineScaleSetsCreateOrUpdateSample.ts | 1524 ++- ...virtualMachineScaleSetsDeallocateSample.ts | 18 +- ...alMachineScaleSetsDeleteInstancesSample.ts | 18 +- .../virtualMachineScaleSetsDeleteSample.ts | 12 +- ...iceFabricPlatformUpdateDomainWalkSample.ts | 28 +- ...alMachineScaleSetsGetInstanceViewSample.ts | 14 +- ...chineScaleSetsGetOSUpgradeHistorySample.ts | 14 +- .../src/virtualMachineScaleSetsGetSample.ts | 24 +- .../virtualMachineScaleSetsListAllSample.ts | 14 +- ...ualMachineScaleSetsListByLocationSample.ts | 14 +- .../src/virtualMachineScaleSetsListSample.ts | 14 +- .../virtualMachineScaleSetsListSkusSample.ts | 14 +- ...achineScaleSetsPerformMaintenanceSample.ts | 18 +- .../virtualMachineScaleSetsPowerOffSample.ts | 18 +- .../virtualMachineScaleSetsRedeploySample.ts | 18 +- ...virtualMachineScaleSetsReimageAllSample.ts | 18 +- .../virtualMachineScaleSetsReimageSample.ts | 18 +- .../virtualMachineScaleSetsRestartSample.ts | 18 +- ...eSetsSetOrchestrationServiceStateSample.ts | 26 +- .../src/virtualMachineScaleSetsStartSample.ts | 18 +- ...alMachineScaleSetsUpdateInstancesSample.ts | 18 +- .../virtualMachineScaleSetsUpdateSample.ts | 159 +- .../src/virtualMachineSizesListSample.ts | 14 +- .../src/virtualMachinesAssessPatchesSample.ts | 12 +- .../src/virtualMachinesCaptureSample.ts | 22 +- ...tualMachinesConvertToManagedDisksSample.ts | 18 +- .../virtualMachinesCreateOrUpdateSample.ts | 1396 ++- .../src/virtualMachinesDeallocateSample.ts | 18 +- .../src/virtualMachinesDeleteSample.ts | 12 +- .../src/virtualMachinesGeneralizeSample.ts | 10 +- .../src/virtualMachinesGetSample.ts | 26 +- .../virtualMachinesInstallPatchesSample.ts | 16 +- .../src/virtualMachinesInstanceViewSample.ts | 16 +- .../src/virtualMachinesListAllSample.ts | 16 +- ...virtualMachinesListAvailableSizesSample.ts | 12 +- .../virtualMachinesListByLocationSample.ts | 12 +- .../src/virtualMachinesListSample.ts | 16 +- ...virtualMachinesPerformMaintenanceSample.ts | 18 +- .../src/virtualMachinesPowerOffSample.ts | 18 +- .../src/virtualMachinesReapplySample.ts | 12 +- .../src/virtualMachinesRedeploySample.ts | 18 +- .../src/virtualMachinesReimageSample.ts | 12 +- .../src/virtualMachinesRestartSample.ts | 18 +- ...chinesRetrieveBootDiagnosticsDataSample.ts | 12 +- .../src/virtualMachinesRunCommandSample.ts | 12 +- .../virtualMachinesSimulateEvictionSample.ts | 10 +- .../src/virtualMachinesStartSample.ts | 18 +- .../src/virtualMachinesUpdateSample.ts | 72 +- .../samples/v1-beta/typescript/tsconfig.json | 2 +- .../arm-compute-rest/src/clientDefinitions.ts | 1686 +-- .../src/computeManagementClient.ts | 38 +- sdk/compute/arm-compute-rest/src/index.ts | 20 +- .../arm-compute-rest/src/isUnexpected.ts | 1431 +-- sdk/compute/arm-compute-rest/src/logger.ts | 5 + sdk/compute/arm-compute-rest/src/models.ts | 492 +- .../arm-compute-rest/src/outputModels.ts | 800 +- .../arm-compute-rest/src/paginateHelper.ts | 146 +- .../arm-compute-rest/src/parameters.ts | 106 +- .../arm-compute-rest/src/pollingHelper.ts | 163 +- sdk/compute/arm-compute-rest/src/responses.ts | 385 +- .../arm-compute-rest/swagger/README.md | 4 + .../test/public/compute-rest-sample.spec.ts | 20 +- .../test/public/utils/recordedClient.ts | 12 +- .../tsconfig.browser.config.json | 10 + sdk/compute/arm-compute-rest/tsconfig.json | 18 +- .../arm-compute-rest/tsconfig.samples.json | 8 + .../arm-compute-rest/tsconfig.src.json | 3 + .../arm-compute-rest/tsconfig.test.json | 3 + .../arm-compute-rest/vitest.browser.config.ts | 17 + sdk/compute/arm-compute-rest/vitest.config.ts | 15 + .../arm-compute-rest/vitest.esm.config.ts | 12 + .../arm-containerservice-rest/CHANGELOG.md | 8 +- .../api-extractor.json | 27 +- .../arm-containerservice-rest/karma.conf.js | 133 - .../arm-containerservice-rest/package.json | 100 +- .../review/arm-containerservice.api.md | 1047 +- .../managedClustersCreateOrUpdateSample.ts | 54 +- .../managedClustersResetAadProfileSample.ts | 2 +- ...stersResetServicePrincipalProfileSample.ts | 2 +- ...ClustersRotateClusterCertificatesSample.ts | 2 +- ...rsRotateServiceAccountSigningKeysSample.ts | 2 +- .../managedClustersRunCommandSample.ts | 2 +- .../samples-dev/managedClustersStartSample.ts | 2 +- .../samples-dev/managedClustersStopSample.ts | 2 +- .../managedClustersUpdateTagsSample.ts | 2 +- .../samples/v1-beta/javascript/README.md | 46 +- .../managedClustersCreateOrUpdateSample.js | 108 +- .../javascript/managedClustersDeleteSample.js | 2 +- .../managedClustersGetAccessProfileSample.js | 2 +- .../managedClustersGetCommandResultSample.js | 4 +- .../managedClustersGetOSOptionsSample.js | 2 +- .../javascript/managedClustersGetSample.js | 2 +- .../managedClustersGetUpgradeProfileSample.js | 2 +- ...anagedClustersListByResourceGroupSample.js | 2 +- ...ustersListClusterAdminCredentialsSample.js | 2 +- ...tClusterMonitoringUserCredentialsSample.js | 2 +- ...lustersListClusterUserCredentialsSample.js | 2 +- ...boundNetworkDependenciesEndpointsSample.js | 2 +- .../javascript/managedClustersListSample.js | 2 +- .../managedClustersResetAadProfileSample.js | 4 +- ...stersResetServicePrincipalProfileSample.js | 4 +- ...ClustersRotateClusterCertificatesSample.js | 4 +- ...rsRotateServiceAccountSigningKeysSample.js | 4 +- .../managedClustersRunCommandSample.js | 4 +- .../javascript/managedClustersStartSample.js | 4 +- .../javascript/managedClustersStopSample.js | 4 +- .../managedClustersUpdateTagsSample.js | 4 +- .../samples/v1-beta/javascript/package.json | 2 +- .../samples/v1-beta/typescript/README.md | 46 +- .../samples/v1-beta/typescript/package.json | 4 +- .../managedClustersCreateOrUpdateSample.ts | 120 +- .../src/managedClustersDeleteSample.ts | 2 +- .../managedClustersGetAccessProfileSample.ts | 2 +- .../managedClustersGetCommandResultSample.ts | 4 +- .../src/managedClustersGetOSOptionsSample.ts | 2 +- .../src/managedClustersGetSample.ts | 2 +- .../managedClustersGetUpgradeProfileSample.ts | 2 +- ...anagedClustersListByResourceGroupSample.ts | 2 +- ...ustersListClusterAdminCredentialsSample.ts | 2 +- ...tClusterMonitoringUserCredentialsSample.ts | 2 +- ...lustersListClusterUserCredentialsSample.ts | 2 +- ...boundNetworkDependenciesEndpointsSample.ts | 2 +- .../src/managedClustersListSample.ts | 2 +- .../managedClustersResetAadProfileSample.ts | 4 +- ...stersResetServicePrincipalProfileSample.ts | 4 +- ...ClustersRotateClusterCertificatesSample.ts | 4 +- ...rsRotateServiceAccountSigningKeysSample.ts | 4 +- .../src/managedClustersRunCommandSample.ts | 4 +- .../src/managedClustersStartSample.ts | 4 +- .../src/managedClustersStopSample.ts | 4 +- .../src/managedClustersUpdateTagsSample.ts | 4 +- .../samples/v1-beta/typescript/tsconfig.json | 2 +- .../src/clientDefinitions.ts | 408 +- .../src/containerServiceClient.ts | 56 +- .../arm-containerservice-rest/src/index.ts | 20 +- .../src/isUnexpected.ts | 747 +- .../arm-containerservice-rest/src/logger.ts | 5 + .../arm-containerservice-rest/src/models.ts | 171 +- .../src/outputModels.ts | 287 +- .../src/paginateHelper.ts | 146 +- .../src/parameters.ts | 14 +- .../src/pollingHelper.ts | 163 +- .../src/responses.ts | 173 +- .../swagger/README.md | 4 +- .../test/public/containerservice-test.spec.ts | 22 +- .../test/public/utils/env.browser.ts | 2 - .../test/public/utils/env.ts | 6 - .../test/public/utils/recordedClient.ts | 9 +- .../tsconfig.browser.config.json | 10 + .../arm-containerservice-rest/tsconfig.json | 18 +- .../tsconfig.samples.json | 8 + .../tsconfig.src.json | 3 + .../tsconfig.test.json | 3 + .../vitest.browser.config.ts | 17 + .../vitest.config.ts | 15 + .../vitest.esm.config.ts | 12 + 983 files changed, 29814 insertions(+), 23002 deletions(-) delete mode 100644 sdk/appservice/arm-appservice-rest/karma.conf.js create mode 100644 sdk/appservice/arm-appservice-rest/src/isUnexpected.ts create mode 100644 sdk/appservice/arm-appservice-rest/src/logger.ts delete mode 100644 sdk/appservice/arm-appservice-rest/test/public/sampleTest.spec.ts delete mode 100644 sdk/appservice/arm-appservice-rest/test/public/utils/env.browser.ts delete mode 100644 sdk/appservice/arm-appservice-rest/test/public/utils/env.ts create mode 100644 sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json create mode 100644 sdk/appservice/arm-appservice-rest/tsconfig.samples.json create mode 100644 sdk/appservice/arm-appservice-rest/tsconfig.src.json create mode 100644 sdk/appservice/arm-appservice-rest/tsconfig.test.json create mode 100644 sdk/appservice/arm-appservice-rest/vitest.browser.config.ts create mode 100644 sdk/appservice/arm-appservice-rest/vitest.config.ts create mode 100644 sdk/appservice/arm-appservice-rest/vitest.esm.config.ts delete mode 100644 sdk/compute/arm-compute-rest/karma.conf.js create mode 100644 sdk/compute/arm-compute-rest/src/logger.ts create mode 100644 sdk/compute/arm-compute-rest/tsconfig.browser.config.json create mode 100644 sdk/compute/arm-compute-rest/tsconfig.samples.json create mode 100644 sdk/compute/arm-compute-rest/tsconfig.src.json create mode 100644 sdk/compute/arm-compute-rest/tsconfig.test.json create mode 100644 sdk/compute/arm-compute-rest/vitest.browser.config.ts create mode 100644 sdk/compute/arm-compute-rest/vitest.config.ts create mode 100644 sdk/compute/arm-compute-rest/vitest.esm.config.ts delete mode 100644 sdk/containerservice/arm-containerservice-rest/karma.conf.js create mode 100644 sdk/containerservice/arm-containerservice-rest/src/logger.ts delete mode 100644 sdk/containerservice/arm-containerservice-rest/test/public/utils/env.browser.ts delete mode 100644 sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts create mode 100644 sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json create mode 100644 sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json create mode 100644 sdk/containerservice/arm-containerservice-rest/tsconfig.src.json create mode 100644 sdk/containerservice/arm-containerservice-rest/tsconfig.test.json create mode 100644 sdk/containerservice/arm-containerservice-rest/vitest.browser.config.ts create mode 100644 sdk/containerservice/arm-containerservice-rest/vitest.config.ts create mode 100644 sdk/containerservice/arm-containerservice-rest/vitest.esm.config.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index f4724e7cb5f3..4bbbf9126c59 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -105,7 +105,7 @@ importers: version: file:projects/arm-appplatform.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-appservice': specifier: file:./projects/arm-appservice.tgz - version: file:projects/arm-appservice.tgz + version: file:projects/arm-appservice.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-appservice-1': specifier: file:./projects/arm-appservice-1.tgz version: file:projects/arm-appservice-1.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) @@ -186,7 +186,7 @@ importers: version: file:projects/arm-communication.tgz '@rush-temp/arm-compute': specifier: file:./projects/arm-compute.tgz - version: file:projects/arm-compute.tgz + version: file:projects/arm-compute.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-compute-1': specifier: file:./projects/arm-compute-1.tgz version: file:projects/arm-compute-1.tgz @@ -225,7 +225,7 @@ importers: version: file:projects/arm-containerregistry.tgz '@rush-temp/arm-containerservice': specifier: file:./projects/arm-containerservice.tgz - version: file:projects/arm-containerservice.tgz + version: file:projects/arm-containerservice.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9)) '@rush-temp/arm-containerservice-1': specifier: file:./projects/arm-containerservice-1.tgz version: file:projects/arm-containerservice-1.tgz @@ -2595,7 +2595,7 @@ packages: version: 0.0.0 '@rush-temp/arm-appservice@file:projects/arm-appservice.tgz': - resolution: {integrity: sha512-zIsAoZQ7Hdb2Z4rLmGKMVZd3MUQ3ajhjAJTOHoKML6FxS8u3J7c4TAGOvVz/rZC6U2+EjAymFwqetf+V3Swu7g==, tarball: file:projects/arm-appservice.tgz} + resolution: {integrity: sha512-lRVoeW9c5u2Wvw3s+Xq8Y7ylNHVXFvmssfojDyemSOPizIFsVyfG4kajrdE1Z+AFwfHyCnVkI4+To4Gyt9uzMQ==, tarball: file:projects/arm-appservice.tgz} version: 0.0.0 '@rush-temp/arm-astro@file:projects/arm-astro.tgz': @@ -2703,7 +2703,7 @@ packages: version: 0.0.0 '@rush-temp/arm-compute@file:projects/arm-compute.tgz': - resolution: {integrity: sha512-hifAAD1GYTmQ/rBDgwhjvRY3RNBjIZBB/x/tcBz+1fn5amRa/C5GMMqtybC853kaVuH2SWOocorrtMHTo/Ks/g==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-OO/RoX5bHgrnl+q/r6ExY9iFdoBm2y98S4uEoHw9I0rMm4S1NvtAkO/6O/mnf/55OIaBrl9XTD1PPxhCX8se1g==, tarball: file:projects/arm-compute.tgz} version: 0.0.0 '@rush-temp/arm-computefleet@file:projects/arm-computefleet.tgz': @@ -2751,7 +2751,7 @@ packages: version: 0.0.0 '@rush-temp/arm-containerservice@file:projects/arm-containerservice.tgz': - resolution: {integrity: sha512-d8rePmExkqv4Y+ofJT19moyj89Ks2keYENuunHVIiXATEx14kjM/wzbRmydjoomkBGa8YOmvHzt0NxGs8xW7Nw==, tarball: file:projects/arm-containerservice.tgz} + resolution: {integrity: sha512-Pf64ChwuvzEi/tpkVk/HPNt43sDUfrGMiy2Hi6Z1yI9dmYLCSzQzXtnDaWvF0aT7BxGi7cKua1XEu2RnxJgZMg==, tarball: file:projects/arm-containerservice.tgz} version: 0.0.0 '@rush-temp/arm-containerservicefleet@file:projects/arm-containerservicefleet.tgz': @@ -10777,43 +10777,39 @@ snapshots: - vite - webdriverio - '@rush-temp/arm-appservice@file:projects/arm-appservice.tgz': + '@rush-temp/arm-appservice@file:projects/arm-appservice.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: '@azure-rest/core-client': 1.4.0 - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 - '@azure/core-lro': 2.7.2 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.68 + '@vitest/browser': 2.1.8(@types/node@18.19.68)(playwright@1.49.1)(typescript@5.7.2)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 - chai: 4.5.0 dotenv: 16.4.7 eslint: 9.17.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-source-map-support: 1.4.0 - karma-sourcemap-loader: 0.3.8 - mocha: 11.0.2 - nyc: 17.1.0 - source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.7.2) + playwright: 1.49.1 tslib: 2.8.1 typescript: 5.7.2 + vitest: 2.1.8(@types/node@18.19.68)(@vitest/browser@2.1.8)(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2)) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' - bufferutil - - debug + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw + - safaridriver + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - utf-8-validate + - vite + - webdriverio '@rush-temp/arm-astro@file:projects/arm-astro.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: @@ -11529,44 +11525,40 @@ snapshots: - '@swc/wasm' - supports-color - '@rush-temp/arm-compute@file:projects/arm-compute.tgz': + '@rush-temp/arm-compute@file:projects/arm-compute.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: '@azure-rest/core-client': 1.4.0 - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 '@azure/arm-network': 32.2.0 - '@azure/core-lro': 2.7.2 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.68 + '@vitest/browser': 2.1.8(@types/node@18.19.68)(playwright@1.49.1)(typescript@5.7.2)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 - chai: 4.5.0 dotenv: 16.4.7 eslint: 9.17.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-source-map-support: 1.4.0 - karma-sourcemap-loader: 0.3.8 - mocha: 11.0.2 - nyc: 17.1.0 - source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.7.2) + playwright: 1.49.1 tslib: 2.8.1 typescript: 5.7.2 + vitest: 2.1.8(@types/node@18.19.68)(@vitest/browser@2.1.8)(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2)) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' - bufferutil - - debug + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw + - safaridriver + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - utf-8-validate + - vite + - webdriverio '@rush-temp/arm-computefleet@file:projects/arm-computefleet.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: @@ -11839,43 +11831,39 @@ snapshots: - '@swc/wasm' - supports-color - '@rush-temp/arm-containerservice@file:projects/arm-containerservice.tgz': + '@rush-temp/arm-containerservice@file:projects/arm-containerservice.tgz(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2))(vite@5.4.11(@types/node@22.7.9))': dependencies: '@azure-rest/core-client': 1.4.0 - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 - '@azure/core-lro': 2.7.2 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.68 + '@vitest/browser': 2.1.8(@types/node@18.19.68)(playwright@1.49.1)(typescript@5.7.2)(vite@5.4.11(@types/node@22.7.9))(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 - chai: 4.5.0 dotenv: 16.4.7 eslint: 9.17.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-source-map-support: 1.4.0 - karma-sourcemap-loader: 0.3.8 - mocha: 11.0.2 - nyc: 17.1.0 - source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.68)(typescript@5.7.2) + playwright: 1.49.1 tslib: 2.8.1 typescript: 5.7.2 + vitest: 2.1.8(@types/node@18.19.68)(@vitest/browser@2.1.8)(msw@2.7.0(@types/node@22.7.9)(typescript@5.7.2)) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' - bufferutil - - debug + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw + - safaridriver + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - utf-8-validate + - vite + - webdriverio '@rush-temp/arm-containerservicefleet@file:projects/arm-containerservicefleet.tgz': dependencies: diff --git a/sdk/appservice/arm-appservice-rest/CHANGELOG.md b/sdk/appservice/arm-appservice-rest/CHANGELOG.md index 3d1c81eb9d54..e68dbab95fd9 100644 --- a/sdk/appservice/arm-appservice-rest/CHANGELOG.md +++ b/sdk/appservice/arm-appservice-rest/CHANGELOG.md @@ -1,14 +1,10 @@ # Release History -## 1.0.0-beta.2 (Unreleased) +## 1.0.0-beta.2 (2024-12-23) ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Refresh sdk with latest codegen ## 1.0.0-beta.1 (2021-05-11) diff --git a/sdk/appservice/arm-appservice-rest/api-extractor.json b/sdk/appservice/arm-appservice-rest/api-extractor.json index b2b21d2330f0..1807d1dd8662 100644 --- a/sdk/appservice/arm-appservice-rest/api-extractor.json +++ b/sdk/appservice/arm-appservice-rest/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./types/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "mainEntryPointFilePath": "dist/esm/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/arm-appservice.d.ts" + "publicTrimmedFilePath": "dist/arm-appservice.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } } diff --git a/sdk/appservice/arm-appservice-rest/karma.conf.js b/sdk/appservice/arm-appservice-rest/karma.conf.js deleted file mode 100644 index c5461b4c5c9f..000000000000 --- a/sdk/appservice/arm-appservice-rest/karma.conf.js +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -// https://github.com/karma-runner/karma-chrome-launcher -process.env.CHROME_BIN = require("puppeteer").executablePath(); -require("dotenv").config(); -const { relativeRecordingsPath } = require("@azure-tools/test-recorder"); -process.env.RECORDINGS_RELATIVE_PATH = relativeRecordingsPath(); - -module.exports = function (config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: "./", - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ["source-map-support", "mocha"], - - plugins: [ - "karma-mocha", - "karma-mocha-reporter", - "karma-chrome-launcher", - "karma-firefox-launcher", - "karma-env-preprocessor", - "karma-coverage", - "karma-sourcemap-loader", - "karma-junit-reporter", - "karma-source-map-support", - ], - - // list of files / patterns to load in the browser - files: [ - "dist-test/index.browser.js", - { - pattern: "dist-test/index.browser.js.map", - type: "html", - included: false, - served: true, - }, - ], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - "**/*.js": ["sourcemap", "env"], - // IMPORTANT: COMMENT following line if you want to debug in your browsers!! - // Preprocess source file to calculate code coverage, however this will make source file unreadable - // "dist-test/index.js": ["coverage"] - }, - - envPreprocessor: [ - "RECORDINGS_RELATIVE_PATH", - "TEST_MODE", - "ENDPOINT", - "AZURE_CLIENT_SECRET", - "AZURE_CLIENT_ID", - "AZURE_TENANT_ID", - "SUBSCRIPTION_ID", - "RESOURCE_GROUP", - ], - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ["mocha", "coverage", "junit"], - - coverageReporter: { - // specify a common output directory - dir: "coverage-browser/", - reporters: [ - { type: "json", subdir: ".", file: "coverage.json" }, - { type: "lcovonly", subdir: ".", file: "lcov.info" }, - { type: "html", subdir: "html" }, - { type: "cobertura", subdir: ".", file: "cobertura-coverage.xml" }, - ], - }, - - junitReporter: { - outputDir: "", // results will be saved as $outputDir/$browserName.xml - outputFile: "test-results.browser.xml", // if included, results will be saved as $outputDir/$browserName/$outputFile - suite: "", // suite will become the package name attribute in xml testsuite element - useBrowserName: false, // add browser name to report and classes names - nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element - classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element - properties: {}, // key value pair of properties to add to the section of the report - }, - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // --no-sandbox allows our tests to run in Linux without having to change the system. - // --disable-web-security allows us to authenticate from the browser without having to write tests using interactive auth, which would be far more complex. - browsers: ["ChromeHeadlessNoSandbox"], - customLaunchers: { - ChromeHeadlessNoSandbox: { - base: "ChromeHeadless", - flags: ["--no-sandbox", "--disable-web-security"], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: 1, - - browserNoActivityTimeout: 60000000, - browserDisconnectTimeout: 10000, - browserDisconnectTolerance: 3, - - client: { - mocha: { - // change Karma's debug.html to the mocha web reporter - reporter: "html", - timeout: "600000", - }, - }, - }); -}; diff --git a/sdk/appservice/arm-appservice-rest/package.json b/sdk/appservice/arm-appservice-rest/package.json index 748d4fc74c23..a5344579ef69 100644 --- a/sdk/appservice/arm-appservice-rest/package.json +++ b/sdk/appservice/arm-appservice-rest/package.json @@ -13,9 +13,9 @@ "isomorphic" ], "license": "MIT", - "main": "dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-appservice.d.ts", + "main": "./dist/commonjs/index.js", + "module": "./dist/esm/index.js", + "types": "./dist/commonjs/index.d.ts", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice-rest/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { @@ -23,11 +23,10 @@ }, "files": [ "dist/", - "dist-esm/src/", - "types/arm-appservice.d.ts", "README.md", "LICENSE", - "review/*" + "review/*", + "CHANGELOG.md" ], "//metadata": { "constantPaths": [ @@ -41,12 +40,12 @@ "node": ">=18.0.0" }, "scripts": { - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", - "build:browser": "tsc -p . && dev-tool run bundle", - "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:node": "tsc -p . && dev-tool run bundle --browser-test false", + "build": "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build:browser": "dev-tool run build-package && dev-tool run bundle", + "build:debug": "dev-tool run build-package && dev-tool run bundle && dev-tool run extract-api", + "build:node": "dev-tool run build-package && dev-tool run bundle --browser-test false", "build:samples": "echo skipped.", - "build:test": "tsc -p . && dev-tool run bundle", + "build:test": "dev-tool run build-package && dev-tool run bundle", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "echo skipped", @@ -63,53 +62,39 @@ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "dev-tool run test:browser", - "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'", + "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "unit-test:node": "dev-tool run test:vitest", "update-snippets": "echo skipped" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure-rest/core-client": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^2.2.0", - "@azure/core-paging": "^1.2.0", + "@azure/core-lro": "^3.1.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { - "@azure-tools/test-credential": "^1.0.0", - "@azure-tools/test-recorder": "^3.0.0", + "@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/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", - "@types/chai": "^4.2.8", - "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-istanbul": "^2.1.8", "autorest": "latest", - "chai": "^4.2.0", "dotenv": "^16.0.0", "eslint": "^9.9.0", - "karma": "^6.2.0", - "karma-chrome-launcher": "^3.0.0", - "karma-coverage": "^2.0.0", - "karma-env-preprocessor": "^0.1.1", - "karma-firefox-launcher": "^2.1.3", - "karma-junit-reporter": "^2.0.1", - "karma-mocha": "^2.0.1", - "karma-mocha-reporter": "^2.2.5", - "karma-source-map-support": "~1.4.0", - "karma-sourcemap-loader": "^0.3.8", - "mocha": "^11.0.2", - "nyc": "^17.0.0", - "source-map-support": "^0.5.9", - "ts-node": "^10.0.0", - "typescript": "~5.7.2" - }, - "browser": { - "./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js" + "playwright": "^1.49.1", + "typescript": "~5.7.2", + "vitest": "^2.1.8" }, + "browser": "./dist/browser/index.js", "//sampleConfiguration": { "productName": "Azure App Service rest", "productSlugs": [ @@ -117,5 +102,44 @@ ], "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/rest/api/appservice" + }, + "type": "module", + "tshy": { + "project": "./tsconfig.src.json", + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false + }, + "react-native": "./dist/react-native/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } } } diff --git a/sdk/appservice/arm-appservice-rest/review/arm-appservice.api.md b/sdk/appservice/arm-appservice-rest/review/arm-appservice.api.md index 4b1f46d9d9da..5032feb554a6 100644 --- a/sdk/appservice/arm-appservice-rest/review/arm-appservice.api.md +++ b/sdk/appservice/arm-appservice-rest/review/arm-appservice.api.md @@ -4,18 +4,19 @@ ```ts +import type { AbortSignalLike } from '@azure/abort-controller'; +import type { CancelOnProgress } from '@azure/core-lro'; import type { Client } from '@azure-rest/core-client'; import type { ClientOptions } from '@azure-rest/core-client'; +import type { CreateHttpPollerOptions } from '@azure/core-lro'; import type { HttpResponse } from '@azure-rest/core-client'; -import type { LroEngineOptions } from '@azure/core-lro'; -import type { PagedAsyncIterableIterator } from '@azure/core-paging'; +import type { OperationState } from '@azure/core-lro'; import type { PathUncheckedResponse } from '@azure-rest/core-client'; -import type { PollerLike } from '@azure/core-lro'; -import type { PollOperationState } from '@azure/core-lro'; import type { RequestParameters } from '@azure-rest/core-client'; +import type { StreamableMethod } from '@azure-rest/core-client'; import type { TokenCredential } from '@azure/core-auth'; -// @public (undocumented) +// @public export interface AbnormalTimePeriod { endTime?: Date | string; events?: Array; @@ -23,7 +24,7 @@ export interface AbnormalTimePeriod { startTime?: Date | string; } -// @public (undocumented) +// @public export interface AbnormalTimePeriodOutput { endTime?: string; events?: Array; @@ -31,7 +32,7 @@ export interface AbnormalTimePeriodOutput { startTime?: string; } -// @public (undocumented) +// @public export interface Address { address1: string; address2?: string; @@ -41,7 +42,7 @@ export interface Address { state: string; } -// @public (undocumented) +// @public export interface AddressOutput { address1: string; address2?: string; @@ -51,17 +52,17 @@ export interface AddressOutput { state: string; } -// @public (undocumented) +// @public export interface AddressResponse extends ProxyOnlyResource { properties?: AddressResponseProperties; } -// @public (undocumented) +// @public export interface AddressResponseOutput extends ProxyOnlyResourceOutput { properties?: AddressResponsePropertiesOutput; } -// @public (undocumented) +// @public export interface AddressResponseProperties { internalIpAddress?: string; outboundIpAddresses?: Array; @@ -69,7 +70,7 @@ export interface AddressResponseProperties { vipMappings?: Array; } -// @public (undocumented) +// @public export interface AddressResponsePropertiesOutput { internalIpAddress?: string; outboundIpAddresses?: Array; @@ -77,29 +78,29 @@ export interface AddressResponsePropertiesOutput { vipMappings?: Array; } -// @public (undocumented) +// @public export interface AllowedAudiencesValidation { allowedAudiences?: Array; } -// @public (undocumented) +// @public export interface AllowedAudiencesValidationOutput { allowedAudiences?: Array; } -// @public (undocumented) +// @public export interface AllowedPrincipals { groups?: Array; identities?: Array; } -// @public (undocumented) +// @public export interface AllowedPrincipalsOutput { groups?: Array; identities?: Array; } -// @public (undocumented) +// @public export interface AnalysisData { data?: Array>; detectorDefinition?: DetectorDefinition; @@ -108,7 +109,7 @@ export interface AnalysisData { source?: string; } -// @public (undocumented) +// @public export interface AnalysisDataOutput { data?: Array>; detectorDefinition?: DetectorDefinitionOutput; @@ -117,53 +118,52 @@ export interface AnalysisDataOutput { source?: string; } -// @public (undocumented) +// @public export interface AnalysisDefinition extends ProxyOnlyResource { properties?: AnalysisDefinitionProperties; } -// @public (undocumented) +// @public export interface AnalysisDefinitionOutput extends ProxyOnlyResourceOutput { properties?: AnalysisDefinitionPropertiesOutput; } -// @public (undocumented) +// @public export interface AnalysisDefinitionProperties { - description?: string; } -// @public (undocumented) +// @public export interface AnalysisDefinitionPropertiesOutput { - description?: string; + readonly description?: string; } -// @public (undocumented) +// @public export interface ApiDefinitionInfo { url?: string; } -// @public (undocumented) +// @public export interface ApiDefinitionInfoOutput { url?: string; } -// @public (undocumented) +// @public export interface ApiKVReference extends ProxyOnlyResource { properties?: ApiKVReferenceProperties; } // @public (undocumented) export interface ApiKVReferenceCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ApiKVReferenceOutput extends ProxyOnlyResourceOutput { properties?: ApiKVReferencePropertiesOutput; } -// @public (undocumented) +// @public export interface ApiKVReferenceProperties { // (undocumented) activeVersion?: string; @@ -184,7 +184,7 @@ export interface ApiKVReferenceProperties { vaultName?: string; } -// @public (undocumented) +// @public export interface ApiKVReferencePropertiesOutput { // (undocumented) activeVersion?: string; @@ -205,69 +205,67 @@ export interface ApiKVReferencePropertiesOutput { vaultName?: string; } -// @public (undocumented) +// @public export interface ApiManagementConfig { id?: string; } -// @public (undocumented) +// @public export interface ApiManagementConfigOutput { id?: string; } -// @public (undocumented) +// @public export interface AppInsightsWebAppStackSettings { - isDefaultOff?: boolean; - isSupported?: boolean; } -// @public (undocumented) +// @public export interface AppInsightsWebAppStackSettingsOutput { - isDefaultOff?: boolean; - isSupported?: boolean; + readonly isDefaultOff?: boolean; + readonly isSupported?: boolean; } -// @public (undocumented) +// @public export interface Apple { enabled?: boolean; login?: LoginScopes; registration?: AppleRegistration; } -// @public (undocumented) +// @public export interface AppleOutput { enabled?: boolean; login?: LoginScopesOutput; registration?: AppleRegistrationOutput; } -// @public (undocumented) +// @public export interface AppleRegistration { clientId?: string; clientSecretSettingName?: string; } -// @public (undocumented) +// @public export interface AppleRegistrationOutput { clientId?: string; clientSecretSettingName?: string; } -// @public (undocumented) +// @public export interface ApplicationLogsConfig { azureBlobStorage?: AzureBlobStorageApplicationLogsConfig; azureTableStorage?: AzureTableStorageApplicationLogsConfig; fileSystem?: FileSystemApplicationLogsConfig; } -// @public (undocumented) +// @public export interface ApplicationLogsConfigOutput { azureBlobStorage?: AzureBlobStorageApplicationLogsConfigOutput; azureTableStorage?: AzureTableStorageApplicationLogsConfigOutput; fileSystem?: FileSystemApplicationLogsConfigOutput; } -// @public (undocumented) +// @public export interface ApplicationStack { dependency?: string; display?: string; @@ -277,13 +275,13 @@ export interface ApplicationStack { name?: string; } -// @public (undocumented) +// @public export interface ApplicationStackCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ApplicationStackOutput { dependency?: string; display?: string; @@ -293,12 +291,12 @@ export interface ApplicationStackOutput { name?: string; } -// @public (undocumented) +// @public export interface ApplicationStackResource extends ProxyOnlyResource { properties?: ApplicationStack; } -// @public (undocumented) +// @public export interface ApplicationStackResourceOutput extends ProxyOnlyResourceOutput { properties?: ApplicationStackOutput; } @@ -319,150 +317,123 @@ export interface AppLogsConfigurationOutput { logAnalyticsConfiguration?: LogAnalyticsConfigurationOutput; } -// @public (undocumented) +// @public export interface AppRegistration { appId?: string; appSecretSettingName?: string; } -// @public (undocumented) +// @public export interface AppRegistrationOutput { appId?: string; appSecretSettingName?: string; } -// @public (undocumented) +// @public export interface AppServiceCertificate { keyVaultId?: string; keyVaultSecretName?: string; - provisioningState?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; } -// @public (undocumented) +// @public export interface AppServiceCertificateCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrder extends Resource { properties?: AppServiceCertificateOrderProperties; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderOutput extends ResourceOutput { properties?: AppServiceCertificateOrderPropertiesOutput; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderPatchResource extends ProxyOnlyResource { properties?: AppServiceCertificateOrderPatchResourceProperties; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: AppServiceCertificateOrderPatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderPatchResourceProperties { - appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; autoRenew?: boolean; certificates?: Record; - contact?: CertificateOrderContact; csr?: string; distinguishedName?: string; - domainVerificationToken?: string; - expirationTime?: Date | string; - intermediate?: CertificateDetails; - isPrivateKeyExternal?: boolean; keySize?: number; - lastCertificateIssuanceTime?: Date | string; - nextAutoRenewalTimeStamp?: Date | string; productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - root?: CertificateDetails; - serialNumber?: string; - signedCertificate?: CertificateDetails; - status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; validityInYears?: number; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderPatchResourcePropertiesOutput { - appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; + readonly appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; autoRenew?: boolean; certificates?: Record; - contact?: CertificateOrderContactOutput; + readonly contact?: CertificateOrderContactOutput; csr?: string; distinguishedName?: string; - domainVerificationToken?: string; - expirationTime?: string; - intermediate?: CertificateDetailsOutput; - isPrivateKeyExternal?: boolean; + readonly domainVerificationToken?: string; + readonly expirationTime?: string; + readonly intermediate?: CertificateDetailsOutput; + readonly isPrivateKeyExternal?: boolean; keySize?: number; - lastCertificateIssuanceTime?: string; - nextAutoRenewalTimeStamp?: string; + readonly lastCertificateIssuanceTime?: string; + readonly nextAutoRenewalTimeStamp?: string; productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - root?: CertificateDetailsOutput; - serialNumber?: string; - signedCertificate?: CertificateDetailsOutput; - status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly root?: CertificateDetailsOutput; + readonly serialNumber?: string; + readonly signedCertificate?: CertificateDetailsOutput; + readonly status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; validityInYears?: number; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderProperties { - appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; autoRenew?: boolean; certificates?: Record; - contact?: CertificateOrderContact; csr?: string; distinguishedName?: string; - domainVerificationToken?: string; - expirationTime?: Date | string; - intermediate?: CertificateDetails; - isPrivateKeyExternal?: boolean; keySize?: number; - lastCertificateIssuanceTime?: Date | string; - nextAutoRenewalTimeStamp?: Date | string; productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - root?: CertificateDetails; - serialNumber?: string; - signedCertificate?: CertificateDetails; - status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; validityInYears?: number; } -// @public (undocumented) +// @public export interface AppServiceCertificateOrderPropertiesOutput { - appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; + readonly appServiceCertificateNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; autoRenew?: boolean; certificates?: Record; - contact?: CertificateOrderContactOutput; + readonly contact?: CertificateOrderContactOutput; csr?: string; distinguishedName?: string; - domainVerificationToken?: string; - expirationTime?: string; - intermediate?: CertificateDetailsOutput; - isPrivateKeyExternal?: boolean; + readonly domainVerificationToken?: string; + readonly expirationTime?: string; + readonly intermediate?: CertificateDetailsOutput; + readonly isPrivateKeyExternal?: boolean; keySize?: number; - lastCertificateIssuanceTime?: string; - nextAutoRenewalTimeStamp?: string; + readonly lastCertificateIssuanceTime?: string; + readonly nextAutoRenewalTimeStamp?: string; productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - root?: CertificateDetailsOutput; - serialNumber?: string; - signedCertificate?: CertificateDetailsOutput; - status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly root?: CertificateDetailsOutput; + readonly serialNumber?: string; + readonly signedCertificate?: CertificateDetailsOutput; + readonly status?: "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; validityInYears?: number; } @@ -509,11 +480,11 @@ export interface AppServiceCertificateOrdersCreateOrUpdateCertificateBodyParam { } // @public -export interface AppServiceCertificateOrdersCreateOrUpdateCertificatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -525,11 +496,11 @@ export interface AppServiceCertificateOrdersCreateOrUpdateCertificateMediaTypesP export type AppServiceCertificateOrdersCreateOrUpdateCertificateParameters = AppServiceCertificateOrdersCreateOrUpdateCertificateMediaTypesParam & AppServiceCertificateOrdersCreateOrUpdateCertificateBodyParam & RequestParameters; // @public -export interface AppServiceCertificateOrdersCreateOrUpdatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -542,53 +513,45 @@ export type AppServiceCertificateOrdersCreateOrUpdateParameters = AppServiceCert // @public export interface AppServiceCertificateOrdersDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AppServiceCertificateOrdersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface AppServiceCertificateOrdersDeleteCertificate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AppServiceCertificateOrdersDeleteCertificate204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServiceCertificateOrdersDeleteCertificatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersDeleteCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceCertificateOrdersDeleteCertificateParameters = RequestParameters; // @public -export interface AppServiceCertificateOrdersDeletedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -596,10 +559,10 @@ export type AppServiceCertificateOrdersDeleteParameters = RequestParameters; // @public (undocumented) export interface AppServiceCertificateOrdersGet { - delete(options?: AppServiceCertificateOrdersDeleteParameters): Promise; - get(options?: AppServiceCertificateOrdersGetParameters): Promise; - patch(options: AppServiceCertificateOrdersUpdateParameters): Promise; - put(options: AppServiceCertificateOrdersCreateOrUpdateParameters): Promise; + delete(options?: AppServiceCertificateOrdersDeleteParameters): StreamableMethod; + get(options?: AppServiceCertificateOrdersGetParameters): StreamableMethod; + patch(options: AppServiceCertificateOrdersUpdateParameters): StreamableMethod; + put(options: AppServiceCertificateOrdersCreateOrUpdateParameters): StreamableMethod; } // @public @@ -612,10 +575,10 @@ export interface AppServiceCertificateOrdersGet200Response extends HttpResponse // @public (undocumented) export interface AppServiceCertificateOrdersGetCertificate { - delete(options?: AppServiceCertificateOrdersDeleteCertificateParameters): Promise; - get(options?: AppServiceCertificateOrdersGetCertificateParameters): Promise; - patch(options: AppServiceCertificateOrdersUpdateCertificateParameters): Promise; - put(options: AppServiceCertificateOrdersCreateOrUpdateCertificateParameters): Promise; + delete(options?: AppServiceCertificateOrdersDeleteCertificateParameters): StreamableMethod; + get(options?: AppServiceCertificateOrdersGetCertificateParameters): StreamableMethod; + patch(options: AppServiceCertificateOrdersUpdateCertificateParameters): StreamableMethod; + put(options: AppServiceCertificateOrdersCreateOrUpdateCertificateParameters): StreamableMethod; } // @public @@ -627,22 +590,22 @@ export interface AppServiceCertificateOrdersGetCertificate200Response extends Ht } // @public -export interface AppServiceCertificateOrdersGetCertificatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersGetCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceCertificateOrdersGetCertificateParameters = RequestParameters; // @public -export interface AppServiceCertificateOrdersGetdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -650,7 +613,7 @@ export type AppServiceCertificateOrdersGetParameters = RequestParameters; // @public (undocumented) export interface AppServiceCertificateOrdersList { - get(options?: AppServiceCertificateOrdersListParameters): Promise; + get(options?: AppServiceCertificateOrdersListParameters): StreamableMethod; } // @public @@ -663,7 +626,7 @@ export interface AppServiceCertificateOrdersList200Response extends HttpResponse // @public (undocumented) export interface AppServiceCertificateOrdersListByResourceGroup { - get(options?: AppServiceCertificateOrdersListByResourceGroupParameters): Promise; + get(options?: AppServiceCertificateOrdersListByResourceGroupParameters): StreamableMethod; } // @public @@ -675,11 +638,11 @@ export interface AppServiceCertificateOrdersListByResourceGroup200Response exten } // @public -export interface AppServiceCertificateOrdersListByResourceGroupdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -687,7 +650,7 @@ export type AppServiceCertificateOrdersListByResourceGroupParameters = RequestPa // @public (undocumented) export interface AppServiceCertificateOrdersListCertificates { - get(options?: AppServiceCertificateOrdersListCertificatesParameters): Promise; + get(options?: AppServiceCertificateOrdersListCertificatesParameters): StreamableMethod; } // @public @@ -699,22 +662,22 @@ export interface AppServiceCertificateOrdersListCertificates200Response extends } // @public -export interface AppServiceCertificateOrdersListCertificatesdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersListCertificatesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceCertificateOrdersListCertificatesParameters = RequestParameters; // @public -export interface AppServiceCertificateOrdersListdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -722,13 +685,11 @@ export type AppServiceCertificateOrdersListParameters = RequestParameters; // @public (undocumented) export interface AppServiceCertificateOrdersReissue { - post(options: AppServiceCertificateOrdersReissueParameters): Promise; + post(options: AppServiceCertificateOrdersReissueParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersReissue204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -739,11 +700,11 @@ export interface AppServiceCertificateOrdersReissueBodyParam { } // @public -export interface AppServiceCertificateOrdersReissuedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersReissueDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -756,13 +717,11 @@ export type AppServiceCertificateOrdersReissueParameters = AppServiceCertificate // @public (undocumented) export interface AppServiceCertificateOrdersRenew { - post(options: AppServiceCertificateOrdersRenewParameters): Promise; + post(options: AppServiceCertificateOrdersRenewParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersRenew204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -773,11 +732,11 @@ export interface AppServiceCertificateOrdersRenewBodyParam { } // @public -export interface AppServiceCertificateOrdersRenewdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersRenewDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -790,23 +749,21 @@ export type AppServiceCertificateOrdersRenewParameters = AppServiceCertificateOr // @public (undocumented) export interface AppServiceCertificateOrdersResendEmail { - post(options?: AppServiceCertificateOrdersResendEmailParameters): Promise; + post(options?: AppServiceCertificateOrdersResendEmailParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersResendEmail204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServiceCertificateOrdersResendEmaildefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersResendEmailDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -814,13 +771,11 @@ export type AppServiceCertificateOrdersResendEmailParameters = RequestParameters // @public (undocumented) export interface AppServiceCertificateOrdersResendRequestEmails { - post(options: AppServiceCertificateOrdersResendRequestEmailsParameters): Promise; + post(options: AppServiceCertificateOrdersResendRequestEmailsParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersResendRequestEmails204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -831,11 +786,11 @@ export interface AppServiceCertificateOrdersResendRequestEmailsBodyParam { } // @public -export interface AppServiceCertificateOrdersResendRequestEmailsdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersResendRequestEmailsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -848,7 +803,7 @@ export type AppServiceCertificateOrdersResendRequestEmailsParameters = AppServic // @public (undocumented) export interface AppServiceCertificateOrdersRetrieveCertificateActions { - post(options?: AppServiceCertificateOrdersRetrieveCertificateActionsParameters): Promise; + post(options?: AppServiceCertificateOrdersRetrieveCertificateActionsParameters): StreamableMethod; } // @public @@ -860,11 +815,11 @@ export interface AppServiceCertificateOrdersRetrieveCertificateActions200Respons } // @public -export interface AppServiceCertificateOrdersRetrieveCertificateActionsdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -872,7 +827,7 @@ export type AppServiceCertificateOrdersRetrieveCertificateActionsParameters = Re // @public (undocumented) export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistory { - post(options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryParameters): Promise; + post(options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryParameters): StreamableMethod; } // @public @@ -884,11 +839,11 @@ export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Re } // @public -export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistorydefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -896,7 +851,7 @@ export type AppServiceCertificateOrdersRetrieveCertificateEmailHistoryParameters // @public (undocumented) export interface AppServiceCertificateOrdersRetrieveSiteSeal { - post(options: AppServiceCertificateOrdersRetrieveSiteSealParameters): Promise; + post(options: AppServiceCertificateOrdersRetrieveSiteSealParameters): StreamableMethod; } // @public @@ -913,11 +868,11 @@ export interface AppServiceCertificateOrdersRetrieveSiteSealBodyParam { } // @public -export interface AppServiceCertificateOrdersRetrieveSiteSealdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -955,11 +910,11 @@ export interface AppServiceCertificateOrdersUpdateCertificateBodyParam { } // @public -export interface AppServiceCertificateOrdersUpdateCertificatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersUpdateCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -971,11 +926,11 @@ export interface AppServiceCertificateOrdersUpdateCertificateMediaTypesParam { export type AppServiceCertificateOrdersUpdateCertificateParameters = AppServiceCertificateOrdersUpdateCertificateMediaTypesParam & AppServiceCertificateOrdersUpdateCertificateBodyParam & RequestParameters; // @public -export interface AppServiceCertificateOrdersUpdatedefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -988,13 +943,11 @@ export type AppServiceCertificateOrdersUpdateParameters = AppServiceCertificateO // @public (undocumented) export interface AppServiceCertificateOrdersValidatePurchaseInformation { - post(options: AppServiceCertificateOrdersValidatePurchaseInformationParameters): Promise; + post(options: AppServiceCertificateOrdersValidatePurchaseInformationParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersValidatePurchaseInformation204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -1005,11 +958,11 @@ export interface AppServiceCertificateOrdersValidatePurchaseInformationBodyParam } // @public -export interface AppServiceCertificateOrdersValidatePurchaseInformationdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1022,117 +975,109 @@ export type AppServiceCertificateOrdersValidatePurchaseInformationParameters = A // @public (undocumented) export interface AppServiceCertificateOrdersVerifyDomainOwnership { - post(options?: AppServiceCertificateOrdersVerifyDomainOwnershipParameters): Promise; + post(options?: AppServiceCertificateOrdersVerifyDomainOwnershipParameters): StreamableMethod; } // @public export interface AppServiceCertificateOrdersVerifyDomainOwnership204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServiceCertificateOrdersVerifyDomainOwnershipdefaultResponse extends HttpResponse { +export interface AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceCertificateOrdersVerifyDomainOwnershipParameters = RequestParameters; -// @public (undocumented) +// @public export interface AppServiceCertificateOutput { keyVaultId?: string; keyVaultSecretName?: string; - provisioningState?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; + readonly provisioningState?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; } -// @public (undocumented) +// @public export interface AppServiceCertificatePatchResource extends ProxyOnlyResource { properties?: AppServiceCertificate; } -// @public (undocumented) +// @public export interface AppServiceCertificatePatchResourceOutput extends ProxyOnlyResourceOutput { properties?: AppServiceCertificateOutput; } -// @public (undocumented) +// @public export interface AppServiceCertificateResource extends Resource { properties?: AppServiceCertificate; } -// @public (undocumented) +// @public export interface AppServiceCertificateResourceOutput extends ResourceOutput { properties?: AppServiceCertificateOutput; } -// @public (undocumented) +// @public export interface AppServiceEnvironment { clusterSettings?: Array; dedicatedHostCount?: number; dnsSuffix?: string; frontEndScaleFactor?: number; - hasLinuxWorkers?: boolean; internalLoadBalancingMode?: "None" | "Web" | "Publishing" | "Web, Publishing"; ipsslAddressCount?: number; - maximumNumberOfMachines?: number; - multiRoleCount?: number; multiSize?: string; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; - suspended?: boolean; userWhitelistedIpRanges?: Array; virtualNetwork: VirtualNetworkProfile; zoneRedundant?: boolean; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentOutput { clusterSettings?: Array; dedicatedHostCount?: number; dnsSuffix?: string; frontEndScaleFactor?: number; - hasLinuxWorkers?: boolean; + readonly hasLinuxWorkers?: boolean; internalLoadBalancingMode?: "None" | "Web" | "Publishing" | "Web, Publishing"; ipsslAddressCount?: number; - maximumNumberOfMachines?: number; - multiRoleCount?: number; + readonly maximumNumberOfMachines?: number; + readonly multiRoleCount?: number; multiSize?: string; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; - suspended?: boolean; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; + readonly suspended?: boolean; userWhitelistedIpRanges?: Array; virtualNetwork: VirtualNetworkProfileOutput; zoneRedundant?: boolean; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource { properties?: AppServiceEnvironment; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: AppServiceEnvironmentOutput; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentResource extends Resource { properties?: AppServiceEnvironment; } -// @public (undocumented) +// @public export interface AppServiceEnvironmentResourceOutput extends ResourceOutput { properties?: AppServiceEnvironmentOutput; } @@ -1160,11 +1105,11 @@ export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionB } // @public -export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1177,7 +1122,7 @@ export type AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionParame // @public (undocumented) export interface AppServiceEnvironmentsChangeVnet { - post(options: AppServiceEnvironmentsChangeVnetParameters): Promise; + post(options: AppServiceEnvironmentsChangeVnetParameters): StreamableMethod; } // @public @@ -1202,11 +1147,11 @@ export interface AppServiceEnvironmentsChangeVnetBodyParam { } // @public -export interface AppServiceEnvironmentsChangeVnetdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsChangeVnetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1247,11 +1192,11 @@ export interface AppServiceEnvironmentsCreateOrUpdateBodyParam { } // @public -export interface AppServiceEnvironmentsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1281,11 +1226,11 @@ export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePoolBodyParam { } // @public -export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1321,11 +1266,11 @@ export interface AppServiceEnvironmentsCreateOrUpdateWorkerPoolBodyParam { } // @public -export interface AppServiceEnvironmentsCreateOrUpdateWorkerPooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1338,26 +1283,22 @@ export type AppServiceEnvironmentsCreateOrUpdateWorkerPoolParameters = AppServic // @public export interface AppServiceEnvironmentsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface AppServiceEnvironmentsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServiceEnvironmentsDeletedefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1388,11 +1329,11 @@ export interface AppServiceEnvironmentsDeletePrivateEndpointConnection204Respons } // @public -export interface AppServiceEnvironmentsDeletePrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1411,10 +1352,10 @@ export interface AppServiceEnvironmentsDeleteQueryParamProperties { // @public (undocumented) export interface AppServiceEnvironmentsGet { - delete(options?: AppServiceEnvironmentsDeleteParameters): Promise; - get(options?: AppServiceEnvironmentsGetParameters): Promise; - patch(options: AppServiceEnvironmentsUpdateParameters): Promise; - put(options: AppServiceEnvironmentsCreateOrUpdateParameters): Promise; + delete(options?: AppServiceEnvironmentsDeleteParameters): StreamableMethod; + get(options?: AppServiceEnvironmentsGetParameters): StreamableMethod; + patch(options: AppServiceEnvironmentsUpdateParameters): StreamableMethod; + put(options: AppServiceEnvironmentsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -1427,8 +1368,8 @@ export interface AppServiceEnvironmentsGet200Response extends HttpResponse { // @public (undocumented) export interface AppServiceEnvironmentsGetAseV3NetworkingConfiguration { - get(options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationParameters): Promise; - put(options: AppServiceEnvironmentsUpdateAseNetworkingConfigurationParameters): Promise; + get(options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationParameters): StreamableMethod; + put(options: AppServiceEnvironmentsUpdateAseNetworkingConfigurationParameters): StreamableMethod; } // @public @@ -1440,27 +1381,27 @@ export interface AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Respons } // @public -export interface AppServiceEnvironmentsGetAseV3NetworkingConfigurationdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceEnvironmentsGetAseV3NetworkingConfigurationParameters = RequestParameters; // @public -export interface AppServiceEnvironmentsGetdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServiceEnvironmentsGetDiagnosticsItem { - get(options?: AppServiceEnvironmentsGetDiagnosticsItemParameters): Promise; + get(options?: AppServiceEnvironmentsGetDiagnosticsItemParameters): StreamableMethod; } // @public @@ -1472,11 +1413,11 @@ export interface AppServiceEnvironmentsGetDiagnosticsItem200Response extends Htt } // @public -export interface AppServiceEnvironmentsGetDiagnosticsItemdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1484,7 +1425,7 @@ export type AppServiceEnvironmentsGetDiagnosticsItemParameters = RequestParamete // @public (undocumented) export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints { - get(options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsParameters): Promise; + get(options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsParameters): StreamableMethod; } // @public @@ -1496,11 +1437,11 @@ export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200 } // @public -export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1508,9 +1449,9 @@ export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsParamete // @public (undocumented) export interface AppServiceEnvironmentsGetMultiRolePool { - get(options?: AppServiceEnvironmentsGetMultiRolePoolParameters): Promise; - patch(options: AppServiceEnvironmentsUpdateMultiRolePoolParameters): Promise; - put(options: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolParameters): Promise; + get(options?: AppServiceEnvironmentsGetMultiRolePoolParameters): StreamableMethod; + patch(options: AppServiceEnvironmentsUpdateMultiRolePoolParameters): StreamableMethod; + put(options: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolParameters): StreamableMethod; } // @public @@ -1522,11 +1463,11 @@ export interface AppServiceEnvironmentsGetMultiRolePool200Response extends HttpR } // @public -export interface AppServiceEnvironmentsGetMultiRolePooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetMultiRolePoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1534,7 +1475,7 @@ export type AppServiceEnvironmentsGetMultiRolePoolParameters = RequestParameters // @public (undocumented) export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints { - get(options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsParameters): Promise; + get(options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsParameters): StreamableMethod; } // @public @@ -1546,11 +1487,11 @@ export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints20 } // @public -export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1561,9 +1502,9 @@ export type AppServiceEnvironmentsGetParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsGetPrivateEndpointConnection { - delete(options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionParameters): Promise; - get(options?: AppServiceEnvironmentsGetPrivateEndpointConnectionParameters): Promise; - put(options: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionParameters): Promise; + delete(options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionParameters): StreamableMethod; + get(options?: AppServiceEnvironmentsGetPrivateEndpointConnectionParameters): StreamableMethod; + put(options: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionParameters): StreamableMethod; } // @public @@ -1575,16 +1516,16 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnection200Response e } // @public -export interface AppServiceEnvironmentsGetPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServiceEnvironmentsGetPrivateEndpointConnectionList { - get(options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListParameters): Promise; + get(options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListParameters): StreamableMethod; } // @public @@ -1596,11 +1537,11 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnectionList200Respon } // @public -export interface AppServiceEnvironmentsGetPrivateEndpointConnectionListdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1611,7 +1552,7 @@ export type AppServiceEnvironmentsGetPrivateEndpointConnectionParameters = Reque // @public (undocumented) export interface AppServiceEnvironmentsGetPrivateLinkResources { - get(options?: AppServiceEnvironmentsGetPrivateLinkResourcesParameters): Promise; + get(options?: AppServiceEnvironmentsGetPrivateLinkResourcesParameters): StreamableMethod; } // @public @@ -1623,11 +1564,11 @@ export interface AppServiceEnvironmentsGetPrivateLinkResources200Response extend } // @public -export interface AppServiceEnvironmentsGetPrivateLinkResourcesdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1635,7 +1576,7 @@ export type AppServiceEnvironmentsGetPrivateLinkResourcesParameters = RequestPar // @public (undocumented) export interface AppServiceEnvironmentsGetVipInfo { - get(options?: AppServiceEnvironmentsGetVipInfoParameters): Promise; + get(options?: AppServiceEnvironmentsGetVipInfoParameters): StreamableMethod; } // @public @@ -1647,11 +1588,11 @@ export interface AppServiceEnvironmentsGetVipInfo200Response extends HttpRespons } // @public -export interface AppServiceEnvironmentsGetVipInfodefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetVipInfoDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1659,9 +1600,9 @@ export type AppServiceEnvironmentsGetVipInfoParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsGetWorkerPool { - get(options?: AppServiceEnvironmentsGetWorkerPoolParameters): Promise; - patch(options: AppServiceEnvironmentsUpdateWorkerPoolParameters): Promise; - put(options: AppServiceEnvironmentsCreateOrUpdateWorkerPoolParameters): Promise; + get(options?: AppServiceEnvironmentsGetWorkerPoolParameters): StreamableMethod; + patch(options: AppServiceEnvironmentsUpdateWorkerPoolParameters): StreamableMethod; + put(options: AppServiceEnvironmentsCreateOrUpdateWorkerPoolParameters): StreamableMethod; } // @public @@ -1673,11 +1614,11 @@ export interface AppServiceEnvironmentsGetWorkerPool200Response extends HttpResp } // @public -export interface AppServiceEnvironmentsGetWorkerPooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsGetWorkerPoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1685,7 +1626,7 @@ export type AppServiceEnvironmentsGetWorkerPoolParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsList { - get(options?: AppServiceEnvironmentsListParameters): Promise; + get(options?: AppServiceEnvironmentsListParameters): StreamableMethod; } // @public @@ -1698,7 +1639,7 @@ export interface AppServiceEnvironmentsList200Response extends HttpResponse { // @public (undocumented) export interface AppServiceEnvironmentsListAppServicePlans { - get(options?: AppServiceEnvironmentsListAppServicePlansParameters): Promise; + get(options?: AppServiceEnvironmentsListAppServicePlansParameters): StreamableMethod; } // @public @@ -1710,11 +1651,11 @@ export interface AppServiceEnvironmentsListAppServicePlans200Response extends Ht } // @public -export interface AppServiceEnvironmentsListAppServicePlansdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListAppServicePlansDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1722,7 +1663,7 @@ export type AppServiceEnvironmentsListAppServicePlansParameters = RequestParamet // @public (undocumented) export interface AppServiceEnvironmentsListByResourceGroup { - get(options?: AppServiceEnvironmentsListByResourceGroupParameters): Promise; + get(options?: AppServiceEnvironmentsListByResourceGroupParameters): StreamableMethod; } // @public @@ -1734,11 +1675,11 @@ export interface AppServiceEnvironmentsListByResourceGroup200Response extends Ht } // @public -export interface AppServiceEnvironmentsListByResourceGroupdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1746,7 +1687,7 @@ export type AppServiceEnvironmentsListByResourceGroupParameters = RequestParamet // @public (undocumented) export interface AppServiceEnvironmentsListCapacities { - get(options?: AppServiceEnvironmentsListCapacitiesParameters): Promise; + get(options?: AppServiceEnvironmentsListCapacitiesParameters): StreamableMethod; } // @public @@ -1758,27 +1699,27 @@ export interface AppServiceEnvironmentsListCapacities200Response extends HttpRes } // @public -export interface AppServiceEnvironmentsListCapacitiesdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListCapacitiesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServiceEnvironmentsListCapacitiesParameters = RequestParameters; // @public -export interface AppServiceEnvironmentsListdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServiceEnvironmentsListDiagnostics { - get(options?: AppServiceEnvironmentsListDiagnosticsParameters): Promise; + get(options?: AppServiceEnvironmentsListDiagnosticsParameters): StreamableMethod; } // @public @@ -1790,11 +1731,11 @@ export interface AppServiceEnvironmentsListDiagnostics200Response extends HttpRe } // @public -export interface AppServiceEnvironmentsListDiagnosticsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListDiagnosticsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1802,7 +1743,7 @@ export type AppServiceEnvironmentsListDiagnosticsParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsListMultiRoleMetricDefinitions { - get(options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsParameters): Promise; + get(options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsParameters): StreamableMethod; } // @public @@ -1814,11 +1755,11 @@ export interface AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response } // @public -export interface AppServiceEnvironmentsListMultiRoleMetricDefinitionsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1826,7 +1767,7 @@ export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsParameters = Req // @public (undocumented) export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions { - get(options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsParameters): Promise; + get(options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsParameters): StreamableMethod; } // @public @@ -1838,11 +1779,11 @@ export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinition } // @public -export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1850,7 +1791,7 @@ export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsPara // @public (undocumented) export interface AppServiceEnvironmentsListMultiRolePools { - get(options?: AppServiceEnvironmentsListMultiRolePoolsParameters): Promise; + get(options?: AppServiceEnvironmentsListMultiRolePoolsParameters): StreamableMethod; } // @public @@ -1862,16 +1803,16 @@ export interface AppServiceEnvironmentsListMultiRolePools200Response extends Htt } // @public -export interface AppServiceEnvironmentsListMultiRolePoolsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListMultiRolePoolsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServiceEnvironmentsListMultiRolePoolSkus { - get(options?: AppServiceEnvironmentsListMultiRolePoolSkusParameters): Promise; + get(options?: AppServiceEnvironmentsListMultiRolePoolSkusParameters): StreamableMethod; } // @public @@ -1883,11 +1824,11 @@ export interface AppServiceEnvironmentsListMultiRolePoolSkus200Response extends } // @public -export interface AppServiceEnvironmentsListMultiRolePoolSkusdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1898,7 +1839,7 @@ export type AppServiceEnvironmentsListMultiRolePoolsParameters = RequestParamete // @public (undocumented) export interface AppServiceEnvironmentsListMultiRoleUsages { - get(options?: AppServiceEnvironmentsListMultiRoleUsagesParameters): Promise; + get(options?: AppServiceEnvironmentsListMultiRoleUsagesParameters): StreamableMethod; } // @public @@ -1910,11 +1851,11 @@ export interface AppServiceEnvironmentsListMultiRoleUsages200Response extends Ht } // @public -export interface AppServiceEnvironmentsListMultiRoleUsagesdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1922,7 +1863,7 @@ export type AppServiceEnvironmentsListMultiRoleUsagesParameters = RequestParamet // @public (undocumented) export interface AppServiceEnvironmentsListOperations { - get(options?: AppServiceEnvironmentsListOperationsParameters): Promise; + get(options?: AppServiceEnvironmentsListOperationsParameters): StreamableMethod; } // @public @@ -1934,11 +1875,11 @@ export interface AppServiceEnvironmentsListOperations200Response extends HttpRes } // @public -export interface AppServiceEnvironmentsListOperationsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListOperationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1949,7 +1890,7 @@ export type AppServiceEnvironmentsListParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsListUsages { - get(options?: AppServiceEnvironmentsListUsagesParameters): Promise; + get(options?: AppServiceEnvironmentsListUsagesParameters): StreamableMethod; } // @public @@ -1961,11 +1902,11 @@ export interface AppServiceEnvironmentsListUsages200Response extends HttpRespons } // @public -export interface AppServiceEnvironmentsListUsagesdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListUsagesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -1984,7 +1925,7 @@ export interface AppServiceEnvironmentsListUsagesQueryParamProperties { // @public (undocumented) export interface AppServiceEnvironmentsListWebApps { - get(options?: AppServiceEnvironmentsListWebAppsParameters): Promise; + get(options?: AppServiceEnvironmentsListWebAppsParameters): StreamableMethod; } // @public @@ -1996,11 +1937,11 @@ export interface AppServiceEnvironmentsListWebApps200Response extends HttpRespon } // @public -export interface AppServiceEnvironmentsListWebAppsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWebAppsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2019,7 +1960,7 @@ export interface AppServiceEnvironmentsListWebAppsQueryParamProperties { // @public (undocumented) export interface AppServiceEnvironmentsListWebWorkerMetricDefinitions { - get(options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsParameters): Promise; + get(options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsParameters): StreamableMethod; } // @public @@ -2031,11 +1972,11 @@ export interface AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response } // @public -export interface AppServiceEnvironmentsListWebWorkerMetricDefinitionsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2043,7 +1984,7 @@ export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsParameters = Req // @public (undocumented) export interface AppServiceEnvironmentsListWebWorkerUsages { - get(options?: AppServiceEnvironmentsListWebWorkerUsagesParameters): Promise; + get(options?: AppServiceEnvironmentsListWebWorkerUsagesParameters): StreamableMethod; } // @public @@ -2055,11 +1996,11 @@ export interface AppServiceEnvironmentsListWebWorkerUsages200Response extends Ht } // @public -export interface AppServiceEnvironmentsListWebWorkerUsagesdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2067,7 +2008,7 @@ export type AppServiceEnvironmentsListWebWorkerUsagesParameters = RequestParamet // @public (undocumented) export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions { - get(options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsParameters): Promise; + get(options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsParameters): StreamableMethod; } // @public @@ -2079,11 +2020,11 @@ export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions20 } // @public -export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2091,7 +2032,7 @@ export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsParamet // @public (undocumented) export interface AppServiceEnvironmentsListWorkerPools { - get(options?: AppServiceEnvironmentsListWorkerPoolsParameters): Promise; + get(options?: AppServiceEnvironmentsListWorkerPoolsParameters): StreamableMethod; } // @public @@ -2103,16 +2044,16 @@ export interface AppServiceEnvironmentsListWorkerPools200Response extends HttpRe } // @public -export interface AppServiceEnvironmentsListWorkerPoolsdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWorkerPoolsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServiceEnvironmentsListWorkerPoolSkus { - get(options?: AppServiceEnvironmentsListWorkerPoolSkusParameters): Promise; + get(options?: AppServiceEnvironmentsListWorkerPoolSkusParameters): StreamableMethod; } // @public @@ -2124,11 +2065,11 @@ export interface AppServiceEnvironmentsListWorkerPoolSkus200Response extends Htt } // @public -export interface AppServiceEnvironmentsListWorkerPoolSkusdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2139,23 +2080,21 @@ export type AppServiceEnvironmentsListWorkerPoolsParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsReboot { - post(options?: AppServiceEnvironmentsRebootParameters): Promise; + post(options?: AppServiceEnvironmentsRebootParameters): StreamableMethod; } // @public export interface AppServiceEnvironmentsReboot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public -export interface AppServiceEnvironmentsRebootdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsRebootDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2163,7 +2102,7 @@ export type AppServiceEnvironmentsRebootParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsResume { - post(options?: AppServiceEnvironmentsResumeParameters): Promise; + post(options?: AppServiceEnvironmentsResumeParameters): StreamableMethod; } // @public @@ -2183,11 +2122,11 @@ export interface AppServiceEnvironmentsResume202Response extends HttpResponse { } // @public -export interface AppServiceEnvironmentsResumedefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsResumeDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2195,7 +2134,7 @@ export type AppServiceEnvironmentsResumeParameters = RequestParameters; // @public (undocumented) export interface AppServiceEnvironmentsSuspend { - post(options?: AppServiceEnvironmentsSuspendParameters): Promise; + post(options?: AppServiceEnvironmentsSuspendParameters): StreamableMethod; } // @public @@ -2215,11 +2154,11 @@ export interface AppServiceEnvironmentsSuspend202Response extends HttpResponse { } // @public -export interface AppServiceEnvironmentsSuspenddefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsSuspendDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2264,11 +2203,11 @@ export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationBodyParam } // @public -export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationdefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2285,11 +2224,11 @@ export interface AppServiceEnvironmentsUpdateBodyParam { } // @public -export interface AppServiceEnvironmentsUpdatedefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2319,11 +2258,11 @@ export interface AppServiceEnvironmentsUpdateMultiRolePoolBodyParam { } // @public -export interface AppServiceEnvironmentsUpdateMultiRolePooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2359,11 +2298,11 @@ export interface AppServiceEnvironmentsUpdateWorkerPoolBodyParam { } // @public -export interface AppServiceEnvironmentsUpdateWorkerPooldefaultResponse extends HttpResponse { +export interface AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2374,134 +2313,120 @@ export interface AppServiceEnvironmentsUpdateWorkerPoolMediaTypesParam { // @public (undocumented) export type AppServiceEnvironmentsUpdateWorkerPoolParameters = AppServiceEnvironmentsUpdateWorkerPoolMediaTypesParam & AppServiceEnvironmentsUpdateWorkerPoolBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface AppServicePlan extends Resource { extendedLocation?: ExtendedLocation; properties?: AppServicePlanProperties; sku?: SkuDescription; } -// @public (undocumented) +// @public export interface AppServicePlanCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface AppServicePlanOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; properties?: AppServicePlanPropertiesOutput; sku?: SkuDescriptionOutput; } -// @public (undocumented) +// @public export interface AppServicePlanPatchResource extends ProxyOnlyResource { properties?: AppServicePlanPatchResourceProperties; } -// @public (undocumented) +// @public export interface AppServicePlanPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: AppServicePlanPatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface AppServicePlanPatchResourceProperties { elasticScaleEnabled?: boolean; freeOfferExpirationTime?: Date | string; - geoRegion?: string; hostingEnvironmentProfile?: HostingEnvironmentProfile; hyperV?: boolean; isSpot?: boolean; isXenon?: boolean; kubeEnvironmentProfile?: KubeEnvironmentProfile; maximumElasticWorkerCount?: number; - maximumNumberOfWorkers?: number; - numberOfSites?: number; perSiteScaling?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; reserved?: boolean; - resourceGroup?: string; spotExpirationTime?: Date | string; - status?: "Ready" | "Pending" | "Creating"; - subscription?: string; targetWorkerCount?: number; targetWorkerSizeId?: number; workerTierName?: string; zoneRedundant?: boolean; } -// @public (undocumented) +// @public export interface AppServicePlanPatchResourcePropertiesOutput { elasticScaleEnabled?: boolean; freeOfferExpirationTime?: string; - geoRegion?: string; + readonly geoRegion?: string; hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; hyperV?: boolean; isSpot?: boolean; isXenon?: boolean; kubeEnvironmentProfile?: KubeEnvironmentProfileOutput; maximumElasticWorkerCount?: number; - maximumNumberOfWorkers?: number; - numberOfSites?: number; + readonly maximumNumberOfWorkers?: number; + readonly numberOfSites?: number; perSiteScaling?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; reserved?: boolean; - resourceGroup?: string; + readonly resourceGroup?: string; spotExpirationTime?: string; - status?: "Ready" | "Pending" | "Creating"; - subscription?: string; + readonly status?: "Ready" | "Pending" | "Creating"; + readonly subscription?: string; targetWorkerCount?: number; targetWorkerSizeId?: number; workerTierName?: string; zoneRedundant?: boolean; } -// @public (undocumented) +// @public export interface AppServicePlanProperties { elasticScaleEnabled?: boolean; freeOfferExpirationTime?: Date | string; - geoRegion?: string; hostingEnvironmentProfile?: HostingEnvironmentProfile; hyperV?: boolean; isSpot?: boolean; isXenon?: boolean; kubeEnvironmentProfile?: KubeEnvironmentProfile; maximumElasticWorkerCount?: number; - maximumNumberOfWorkers?: number; - numberOfSites?: number; perSiteScaling?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; reserved?: boolean; - resourceGroup?: string; spotExpirationTime?: Date | string; - status?: "Ready" | "Pending" | "Creating"; - subscription?: string; targetWorkerCount?: number; targetWorkerSizeId?: number; workerTierName?: string; zoneRedundant?: boolean; } -// @public (undocumented) +// @public export interface AppServicePlanPropertiesOutput { elasticScaleEnabled?: boolean; freeOfferExpirationTime?: string; - geoRegion?: string; + readonly geoRegion?: string; hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; hyperV?: boolean; isSpot?: boolean; isXenon?: boolean; kubeEnvironmentProfile?: KubeEnvironmentProfileOutput; maximumElasticWorkerCount?: number; - maximumNumberOfWorkers?: number; - numberOfSites?: number; + readonly maximumNumberOfWorkers?: number; + readonly numberOfSites?: number; perSiteScaling?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; reserved?: boolean; - resourceGroup?: string; + readonly resourceGroup?: string; spotExpirationTime?: string; - status?: "Ready" | "Pending" | "Creating"; - subscription?: string; + readonly status?: "Ready" | "Pending" | "Creating"; + readonly subscription?: string; targetWorkerCount?: number; targetWorkerSizeId?: number; workerTierName?: string; @@ -2530,11 +2455,11 @@ export interface AppServicePlansCreateOrUpdateBodyParam { } // @public -export interface AppServicePlansCreateOrUpdatedefaultResponse extends HttpResponse { +export interface AppServicePlansCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2555,16 +2480,12 @@ export interface AppServicePlansCreateOrUpdateVnetRoute200Response extends HttpR // @public export interface AppServicePlansCreateOrUpdateVnetRoute400Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "400"; } // @public export interface AppServicePlansCreateOrUpdateVnetRoute404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } @@ -2575,11 +2496,11 @@ export interface AppServicePlansCreateOrUpdateVnetRouteBodyParam { } // @public -export interface AppServicePlansCreateOrUpdateVnetRoutedefaultResponse extends HttpResponse { +export interface AppServicePlansCreateOrUpdateVnetRouteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2592,50 +2513,42 @@ export type AppServicePlansCreateOrUpdateVnetRouteParameters = AppServicePlansCr // @public export interface AppServicePlansDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AppServicePlansDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServicePlansDeletedefaultResponse extends HttpResponse { +export interface AppServicePlansDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public export interface AppServicePlansDeleteHybridConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AppServicePlansDeleteHybridConnection204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServicePlansDeleteHybridConnectiondefaultResponse extends HttpResponse { +export interface AppServicePlansDeleteHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2646,26 +2559,22 @@ export type AppServicePlansDeleteParameters = RequestParameters; // @public export interface AppServicePlansDeleteVnetRoute200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AppServicePlansDeleteVnetRoute404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface AppServicePlansDeleteVnetRoutedefaultResponse extends HttpResponse { +export interface AppServicePlansDeleteVnetRouteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2673,10 +2582,10 @@ export type AppServicePlansDeleteVnetRouteParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGet { - delete(options?: AppServicePlansDeleteParameters): Promise; - get(options?: AppServicePlansGetParameters): Promise; - patch(options: AppServicePlansUpdateParameters): Promise; - put(options: AppServicePlansCreateOrUpdateParameters): Promise; + delete(options?: AppServicePlansDeleteParameters): StreamableMethod; + get(options?: AppServicePlansGetParameters): StreamableMethod; + patch(options: AppServicePlansUpdateParameters): StreamableMethod; + put(options: AppServicePlansCreateOrUpdateParameters): StreamableMethod; } // @public @@ -2689,24 +2598,22 @@ export interface AppServicePlansGet200Response extends HttpResponse { // @public export interface AppServicePlansGet404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface AppServicePlansGetdefaultResponse extends HttpResponse { +export interface AppServicePlansGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServicePlansGetHybridConnection { - delete(options?: AppServicePlansDeleteHybridConnectionParameters): Promise; - get(options?: AppServicePlansGetHybridConnectionParameters): Promise; + delete(options?: AppServicePlansDeleteHybridConnectionParameters): StreamableMethod; + get(options?: AppServicePlansGetHybridConnectionParameters): StreamableMethod; } // @public @@ -2718,11 +2625,11 @@ export interface AppServicePlansGetHybridConnection200Response extends HttpRespo } // @public -export interface AppServicePlansGetHybridConnectiondefaultResponse extends HttpResponse { +export interface AppServicePlansGetHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2730,7 +2637,7 @@ export type AppServicePlansGetHybridConnectionParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGetHybridConnectionPlanLimit { - get(options?: AppServicePlansGetHybridConnectionPlanLimitParameters): Promise; + get(options?: AppServicePlansGetHybridConnectionPlanLimitParameters): StreamableMethod; } // @public @@ -2742,11 +2649,11 @@ export interface AppServicePlansGetHybridConnectionPlanLimit200Response extends } // @public -export interface AppServicePlansGetHybridConnectionPlanLimitdefaultResponse extends HttpResponse { +export interface AppServicePlansGetHybridConnectionPlanLimitDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2757,10 +2664,10 @@ export type AppServicePlansGetParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGetRouteForVnet { - delete(options?: AppServicePlansDeleteVnetRouteParameters): Promise; - get(options?: AppServicePlansGetRouteForVnetParameters): Promise; - patch(options: AppServicePlansUpdateVnetRouteParameters): Promise; - put(options: AppServicePlansCreateOrUpdateVnetRouteParameters): Promise; + delete(options?: AppServicePlansDeleteVnetRouteParameters): StreamableMethod; + get(options?: AppServicePlansGetRouteForVnetParameters): StreamableMethod; + patch(options: AppServicePlansUpdateVnetRouteParameters): StreamableMethod; + put(options: AppServicePlansCreateOrUpdateVnetRouteParameters): StreamableMethod; } // @public @@ -2773,18 +2680,16 @@ export interface AppServicePlansGetRouteForVnet200Response extends HttpResponse // @public export interface AppServicePlansGetRouteForVnet404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface AppServicePlansGetRouteForVnetdefaultResponse extends HttpResponse { +export interface AppServicePlansGetRouteForVnetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2792,7 +2697,7 @@ export type AppServicePlansGetRouteForVnetParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGetServerFarmSkus { - get(options?: AppServicePlansGetServerFarmSkusParameters): Promise; + get(options?: AppServicePlansGetServerFarmSkusParameters): StreamableMethod; } // @public @@ -2804,11 +2709,11 @@ export interface AppServicePlansGetServerFarmSkus200Response extends HttpRespons } // @public -export interface AppServicePlansGetServerFarmSkusdefaultResponse extends HttpResponse { +export interface AppServicePlansGetServerFarmSkusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2816,7 +2721,7 @@ export type AppServicePlansGetServerFarmSkusParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGetVnetFromServerFarm { - get(options?: AppServicePlansGetVnetFromServerFarmParameters): Promise; + get(options?: AppServicePlansGetVnetFromServerFarmParameters): StreamableMethod; } // @public @@ -2829,18 +2734,16 @@ export interface AppServicePlansGetVnetFromServerFarm200Response extends HttpRes // @public export interface AppServicePlansGetVnetFromServerFarm404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface AppServicePlansGetVnetFromServerFarmdefaultResponse extends HttpResponse { +export interface AppServicePlansGetVnetFromServerFarmDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2848,8 +2751,8 @@ export type AppServicePlansGetVnetFromServerFarmParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansGetVnetGateway { - get(options?: AppServicePlansGetVnetGatewayParameters): Promise; - put(options: AppServicePlansUpdateVnetGatewayParameters): Promise; + get(options?: AppServicePlansGetVnetGatewayParameters): StreamableMethod; + put(options: AppServicePlansUpdateVnetGatewayParameters): StreamableMethod; } // @public @@ -2861,11 +2764,11 @@ export interface AppServicePlansGetVnetGateway200Response extends HttpResponse { } // @public -export interface AppServicePlansGetVnetGatewaydefaultResponse extends HttpResponse { +export interface AppServicePlansGetVnetGatewayDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2873,7 +2776,7 @@ export type AppServicePlansGetVnetGatewayParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansList { - get(options?: AppServicePlansListParameters): Promise; + get(options?: AppServicePlansListParameters): StreamableMethod; } // @public @@ -2886,7 +2789,7 @@ export interface AppServicePlansList200Response extends HttpResponse { // @public (undocumented) export interface AppServicePlansListByResourceGroup { - get(options?: AppServicePlansListByResourceGroupParameters): Promise; + get(options?: AppServicePlansListByResourceGroupParameters): StreamableMethod; } // @public @@ -2898,11 +2801,11 @@ export interface AppServicePlansListByResourceGroup200Response extends HttpRespo } // @public -export interface AppServicePlansListByResourceGroupdefaultResponse extends HttpResponse { +export interface AppServicePlansListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2910,7 +2813,7 @@ export type AppServicePlansListByResourceGroupParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansListCapabilities { - get(options?: AppServicePlansListCapabilitiesParameters): Promise; + get(options?: AppServicePlansListCapabilitiesParameters): StreamableMethod; } // @public @@ -2922,27 +2825,27 @@ export interface AppServicePlansListCapabilities200Response extends HttpResponse } // @public -export interface AppServicePlansListCapabilitiesdefaultResponse extends HttpResponse { +export interface AppServicePlansListCapabilitiesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServicePlansListCapabilitiesParameters = RequestParameters; // @public -export interface AppServicePlansListdefaultResponse extends HttpResponse { +export interface AppServicePlansListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface AppServicePlansListHybridConnectionKeys { - post(options?: AppServicePlansListHybridConnectionKeysParameters): Promise; + post(options?: AppServicePlansListHybridConnectionKeysParameters): StreamableMethod; } // @public @@ -2954,11 +2857,11 @@ export interface AppServicePlansListHybridConnectionKeys200Response extends Http } // @public -export interface AppServicePlansListHybridConnectionKeysdefaultResponse extends HttpResponse { +export interface AppServicePlansListHybridConnectionKeysDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -2966,7 +2869,7 @@ export type AppServicePlansListHybridConnectionKeysParameters = RequestParameter // @public (undocumented) export interface AppServicePlansListHybridConnections { - get(options?: AppServicePlansListHybridConnectionsParameters): Promise; + get(options?: AppServicePlansListHybridConnectionsParameters): StreamableMethod; } // @public @@ -2978,11 +2881,11 @@ export interface AppServicePlansListHybridConnections200Response extends HttpRes } // @public -export interface AppServicePlansListHybridConnectionsdefaultResponse extends HttpResponse { +export interface AppServicePlansListHybridConnectionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3004,7 +2907,7 @@ export interface AppServicePlansListQueryParamProperties { // @public (undocumented) export interface AppServicePlansListRoutesForVnet { - get(options?: AppServicePlansListRoutesForVnetParameters): Promise; + get(options?: AppServicePlansListRoutesForVnetParameters): StreamableMethod; } // @public @@ -3016,11 +2919,11 @@ export interface AppServicePlansListRoutesForVnet200Response extends HttpRespons } // @public -export interface AppServicePlansListRoutesForVnetdefaultResponse extends HttpResponse { +export interface AppServicePlansListRoutesForVnetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3028,7 +2931,7 @@ export type AppServicePlansListRoutesForVnetParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansListUsages { - get(options?: AppServicePlansListUsagesParameters): Promise; + get(options?: AppServicePlansListUsagesParameters): StreamableMethod; } // @public @@ -3040,11 +2943,11 @@ export interface AppServicePlansListUsages200Response extends HttpResponse { } // @public -export interface AppServicePlansListUsagesdefaultResponse extends HttpResponse { +export interface AppServicePlansListUsagesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3063,7 +2966,7 @@ export interface AppServicePlansListUsagesQueryParamProperties { // @public (undocumented) export interface AppServicePlansListVnets { - get(options?: AppServicePlansListVnetsParameters): Promise; + get(options?: AppServicePlansListVnetsParameters): StreamableMethod; } // @public @@ -3075,11 +2978,11 @@ export interface AppServicePlansListVnets200Response extends HttpResponse { } // @public -export interface AppServicePlansListVnetsdefaultResponse extends HttpResponse { +export interface AppServicePlansListVnetsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3087,7 +2990,7 @@ export type AppServicePlansListVnetsParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansListWebApps { - get(options?: AppServicePlansListWebAppsParameters): Promise; + get(options?: AppServicePlansListWebAppsParameters): StreamableMethod; } // @public @@ -3100,7 +3003,7 @@ export interface AppServicePlansListWebApps200Response extends HttpResponse { // @public (undocumented) export interface AppServicePlansListWebAppsByHybridConnection { - get(options?: AppServicePlansListWebAppsByHybridConnectionParameters): Promise; + get(options?: AppServicePlansListWebAppsByHybridConnectionParameters): StreamableMethod; } // @public @@ -3112,22 +3015,22 @@ export interface AppServicePlansListWebAppsByHybridConnection200Response extends } // @public -export interface AppServicePlansListWebAppsByHybridConnectiondefaultResponse extends HttpResponse { +export interface AppServicePlansListWebAppsByHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type AppServicePlansListWebAppsByHybridConnectionParameters = RequestParameters; // @public -export interface AppServicePlansListWebAppsdefaultResponse extends HttpResponse { +export interface AppServicePlansListWebAppsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3148,23 +3051,21 @@ export interface AppServicePlansListWebAppsQueryParamProperties { // @public (undocumented) export interface AppServicePlansRebootWorker { - post(options?: AppServicePlansRebootWorkerParameters): Promise; + post(options?: AppServicePlansRebootWorkerParameters): StreamableMethod; } // @public export interface AppServicePlansRebootWorker204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServicePlansRebootWorkerdefaultResponse extends HttpResponse { +export interface AppServicePlansRebootWorkerDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3172,23 +3073,21 @@ export type AppServicePlansRebootWorkerParameters = RequestParameters; // @public (undocumented) export interface AppServicePlansRestartWebApps { - post(options?: AppServicePlansRestartWebAppsParameters): Promise; + post(options?: AppServicePlansRestartWebAppsParameters): StreamableMethod; } // @public export interface AppServicePlansRestartWebApps204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AppServicePlansRestartWebAppsdefaultResponse extends HttpResponse { +export interface AppServicePlansRestartWebAppsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3227,11 +3126,11 @@ export interface AppServicePlansUpdateBodyParam { } // @public -export interface AppServicePlansUpdatedefaultResponse extends HttpResponse { +export interface AppServicePlansUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3256,11 +3155,11 @@ export interface AppServicePlansUpdateVnetGatewayBodyParam { } // @public -export interface AppServicePlansUpdateVnetGatewaydefaultResponse extends HttpResponse { +export interface AppServicePlansUpdateVnetGatewayDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3281,16 +3180,12 @@ export interface AppServicePlansUpdateVnetRoute200Response extends HttpResponse // @public export interface AppServicePlansUpdateVnetRoute400Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "400"; } // @public export interface AppServicePlansUpdateVnetRoute404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } @@ -3301,11 +3196,11 @@ export interface AppServicePlansUpdateVnetRouteBodyParam { } // @public -export interface AppServicePlansUpdateVnetRoutedefaultResponse extends HttpResponse { +export interface AppServicePlansUpdateVnetRouteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3352,19 +3247,17 @@ export interface ArcConfigurationOutput { kubeConfig?: string; } -// @public (undocumented) +// @public export interface ArmIdWrapper { - // (undocumented) - id?: string; } -// @public (undocumented) +// @public export interface ArmIdWrapperOutput { // (undocumented) - id?: string; + readonly id?: string; } -// @public (undocumented) +// @public export interface ArmPlan { name?: string; product?: string; @@ -3373,7 +3266,7 @@ export interface ArmPlan { version?: string; } -// @public (undocumented) +// @public export interface ArmPlanOutput { name?: string; product?: string; @@ -3382,95 +3275,87 @@ export interface ArmPlanOutput { version?: string; } -// @public (undocumented) +// @public export interface AseV3NetworkingConfiguration extends ProxyOnlyResource { properties?: AseV3NetworkingConfigurationProperties; } -// @public (undocumented) +// @public export interface AseV3NetworkingConfigurationOutput extends ProxyOnlyResourceOutput { properties?: AseV3NetworkingConfigurationPropertiesOutput; } -// @public (undocumented) +// @public export interface AseV3NetworkingConfigurationProperties { allowNewPrivateEndpointConnections?: boolean; - // (undocumented) - externalInboundIpAddresses?: Array; - // (undocumented) - internalInboundIpAddresses?: Array; - // (undocumented) - linuxOutboundIpAddresses?: Array; - // (undocumented) - windowsOutboundIpAddresses?: Array; } -// @public (undocumented) +// @public export interface AseV3NetworkingConfigurationPropertiesOutput { allowNewPrivateEndpointConnections?: boolean; // (undocumented) - externalInboundIpAddresses?: Array; + readonly externalInboundIpAddresses?: Array; // (undocumented) - internalInboundIpAddresses?: Array; + readonly internalInboundIpAddresses?: Array; // (undocumented) - linuxOutboundIpAddresses?: Array; + readonly linuxOutboundIpAddresses?: Array; // (undocumented) - windowsOutboundIpAddresses?: Array; + readonly windowsOutboundIpAddresses?: Array; } -// @public (undocumented) +// @public export interface AuthPlatform { configFilePath?: string; enabled?: boolean; runtimeVersion?: string; } -// @public (undocumented) +// @public export interface AuthPlatformOutput { configFilePath?: string; enabled?: boolean; runtimeVersion?: string; } -// @public (undocumented) +// @public export interface AutoHealActions { actionType?: "Recycle" | "LogEvent" | "CustomAction"; customAction?: AutoHealCustomAction; minProcessExecutionTime?: string; } -// @public (undocumented) +// @public export interface AutoHealActionsOutput { actionType?: "Recycle" | "LogEvent" | "CustomAction"; customAction?: AutoHealCustomActionOutput; minProcessExecutionTime?: string; } -// @public (undocumented) +// @public export interface AutoHealCustomAction { exe?: string; parameters?: string; } -// @public (undocumented) +// @public export interface AutoHealCustomActionOutput { exe?: string; parameters?: string; } -// @public (undocumented) +// @public export interface AutoHealRules { actions?: AutoHealActions; triggers?: AutoHealTriggers; } -// @public (undocumented) +// @public export interface AutoHealRulesOutput { actions?: AutoHealActionsOutput; triggers?: AutoHealTriggersOutput; } -// @public (undocumented) +// @public export interface AutoHealTriggers { privateBytesInKB?: number; requests?: RequestsBasedTrigger; @@ -3480,7 +3365,7 @@ export interface AutoHealTriggers { statusCodesRange?: Array; } -// @public (undocumented) +// @public export interface AutoHealTriggersOutput { privateBytesInKB?: number; requests?: RequestsBasedTriggerOutput; @@ -3490,7 +3375,7 @@ export interface AutoHealTriggersOutput { statusCodesRange?: Array; } -// @public (undocumented) +// @public export interface AzureActiveDirectory { enabled?: boolean; isAutoProvisioned?: boolean; @@ -3499,19 +3384,19 @@ export interface AzureActiveDirectory { validation?: AzureActiveDirectoryValidation; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryLogin { disableWWWAuthenticate?: boolean; loginParameters?: Array; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryLoginOutput { disableWWWAuthenticate?: boolean; loginParameters?: Array; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryOutput { enabled?: boolean; isAutoProvisioned?: boolean; @@ -3520,7 +3405,7 @@ export interface AzureActiveDirectoryOutput { validation?: AzureActiveDirectoryValidationOutput; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryRegistration { clientId?: string; clientSecretCertificateIssuer?: string; @@ -3530,7 +3415,7 @@ export interface AzureActiveDirectoryRegistration { openIdIssuer?: string; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryRegistrationOutput { clientId?: string; clientSecretCertificateIssuer?: string; @@ -3540,175 +3425,160 @@ export interface AzureActiveDirectoryRegistrationOutput { openIdIssuer?: string; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryValidation { allowedAudiences?: Array; defaultAuthorizationPolicy?: DefaultAuthorizationPolicy; jwtClaimChecks?: JwtClaimChecks; } -// @public (undocumented) +// @public export interface AzureActiveDirectoryValidationOutput { allowedAudiences?: Array; defaultAuthorizationPolicy?: DefaultAuthorizationPolicyOutput; jwtClaimChecks?: JwtClaimChecksOutput; } -// @public (undocumented) +// @public export interface AzureBlobStorageApplicationLogsConfig { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; retentionInDays?: number; sasUrl?: string; } -// @public (undocumented) +// @public export interface AzureBlobStorageApplicationLogsConfigOutput { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; retentionInDays?: number; sasUrl?: string; } -// @public (undocumented) +// @public export interface AzureBlobStorageHttpLogsConfig { enabled?: boolean; retentionInDays?: number; sasUrl?: string; } -// @public (undocumented) +// @public export interface AzureBlobStorageHttpLogsConfigOutput { enabled?: boolean; retentionInDays?: number; sasUrl?: string; } -// @public (undocumented) +// @public export interface AzureStaticWebApps { enabled?: boolean; registration?: AzureStaticWebAppsRegistration; } -// @public (undocumented) +// @public export interface AzureStaticWebAppsOutput { enabled?: boolean; registration?: AzureStaticWebAppsRegistrationOutput; } -// @public (undocumented) +// @public export interface AzureStaticWebAppsRegistration { clientId?: string; } -// @public (undocumented) +// @public export interface AzureStaticWebAppsRegistrationOutput { clientId?: string; } -// @public (undocumented) +// @public export interface AzureStorageInfoValue { accessKey?: string; accountName?: string; mountPath?: string; shareName?: string; - state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; type?: "AzureFiles" | "AzureBlob"; } -// @public (undocumented) +// @public export interface AzureStorageInfoValueOutput { accessKey?: string; accountName?: string; mountPath?: string; shareName?: string; - state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; + readonly state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; type?: "AzureFiles" | "AzureBlob"; } -// @public (undocumented) +// @public export interface AzureStoragePropertyDictionaryResource extends ProxyOnlyResource { properties?: Record; } -// @public (undocumented) +// @public export interface AzureStoragePropertyDictionaryResourceOutput extends ProxyOnlyResourceOutput { properties?: Record; } -// @public (undocumented) +// @public export interface AzureTableStorageApplicationLogsConfig { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; sasUrl: string; } -// @public (undocumented) +// @public export interface AzureTableStorageApplicationLogsConfigOutput { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; sasUrl: string; } -// @public (undocumented) +// @public export interface BackupItem extends ProxyOnlyResource { properties?: BackupItemProperties; } -// @public (undocumented) +// @public export interface BackupItemCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface BackupItemOutput extends ProxyOnlyResourceOutput { properties?: BackupItemPropertiesOutput; } -// @public (undocumented) +// @public export interface BackupItemProperties { - blobName?: string; - correlationId?: string; - created?: Date | string; - databases?: Array; - finishedTimeStamp?: Date | string; - id?: number; - lastRestoreTimeStamp?: Date | string; - log?: string; - name?: string; - scheduled?: boolean; - sizeInBytes?: number; - status?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created" | "Skipped" | "PartiallySucceeded" | "DeleteInProgress" | "DeleteFailed" | "Deleted"; - storageAccountUrl?: string; - websiteSizeInBytes?: number; } -// @public (undocumented) +// @public export interface BackupItemPropertiesOutput { - blobName?: string; - correlationId?: string; - created?: string; - databases?: Array; - finishedTimeStamp?: string; - id?: number; - lastRestoreTimeStamp?: string; - log?: string; - name?: string; - scheduled?: boolean; - sizeInBytes?: number; - status?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created" | "Skipped" | "PartiallySucceeded" | "DeleteInProgress" | "DeleteFailed" | "Deleted"; - storageAccountUrl?: string; - websiteSizeInBytes?: number; + readonly blobName?: string; + readonly correlationId?: string; + readonly created?: string; + readonly databases?: Array; + readonly finishedTimeStamp?: string; + readonly id?: number; + readonly lastRestoreTimeStamp?: string; + readonly log?: string; + readonly name?: string; + readonly scheduled?: boolean; + readonly sizeInBytes?: number; + readonly status?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created" | "Skipped" | "PartiallySucceeded" | "DeleteInProgress" | "DeleteFailed" | "Deleted"; + readonly storageAccountUrl?: string; + readonly websiteSizeInBytes?: number; } -// @public (undocumented) +// @public export interface BackupRequest extends ProxyOnlyResource { properties?: BackupRequestProperties; } -// @public (undocumented) +// @public export interface BackupRequestOutput extends ProxyOnlyResourceOutput { properties?: BackupRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface BackupRequestProperties { backupName?: string; backupSchedule?: BackupSchedule; @@ -3717,7 +3587,7 @@ export interface BackupRequestProperties { storageAccountUrl: string; } -// @public (undocumented) +// @public export interface BackupRequestPropertiesOutput { backupName?: string; backupSchedule?: BackupScheduleOutput; @@ -3726,43 +3596,42 @@ export interface BackupRequestPropertiesOutput { storageAccountUrl: string; } -// @public (undocumented) +// @public export interface BackupSchedule { frequencyInterval: number; frequencyUnit: "Day" | "Hour"; keepAtLeastOneBackup: boolean; - lastExecutionTime?: Date | string; retentionPeriodInDays: number; startTime?: Date | string; } -// @public (undocumented) +// @public export interface BackupScheduleOutput { frequencyInterval: number; frequencyUnit: "Day" | "Hour"; keepAtLeastOneBackup: boolean; - lastExecutionTime?: string; + readonly lastExecutionTime?: string; retentionPeriodInDays: number; startTime?: string; } -// @public (undocumented) +// @public export interface BillingMeter extends ProxyOnlyResource { properties?: BillingMeterProperties; } -// @public (undocumented) +// @public export interface BillingMeterCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface BillingMeterOutput extends ProxyOnlyResourceOutput { properties?: BillingMeterPropertiesOutput; } -// @public (undocumented) +// @public export interface BillingMeterProperties { billingLocation?: string; friendlyName?: string; @@ -3773,7 +3642,7 @@ export interface BillingMeterProperties { shortName?: string; } -// @public (undocumented) +// @public export interface BillingMeterPropertiesOutput { billingLocation?: string; friendlyName?: string; @@ -3784,109 +3653,98 @@ export interface BillingMeterPropertiesOutput { shortName?: string; } -// @public (undocumented) +// @public export interface BlobStorageTokenStore { sasUrlSettingName?: string; } -// @public (undocumented) +// @public export interface BlobStorageTokenStoreOutput { sasUrlSettingName?: string; } -// @public (undocumented) +// @public export interface Capability { name?: string; reason?: string; value?: string; } -// @public (undocumented) +// @public export interface CapabilityOutput { name?: string; reason?: string; value?: string; } -// @public (undocumented) +// @public export interface Certificate extends Resource { properties?: CertificateProperties; } -// @public (undocumented) +// @public export interface CertificateCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface CertificateDetails { - issuer?: string; - notAfter?: Date | string; - notBefore?: Date | string; - rawData?: string; - serialNumber?: string; - signatureAlgorithm?: string; - subject?: string; - thumbprint?: string; - version?: number; } -// @public (undocumented) +// @public export interface CertificateDetailsOutput { - issuer?: string; - notAfter?: string; - notBefore?: string; - rawData?: string; - serialNumber?: string; - signatureAlgorithm?: string; - subject?: string; - thumbprint?: string; - version?: number; + readonly issuer?: string; + readonly notAfter?: string; + readonly notBefore?: string; + readonly rawData?: string; + readonly serialNumber?: string; + readonly signatureAlgorithm?: string; + readonly subject?: string; + readonly thumbprint?: string; + readonly version?: number; } -// @public (undocumented) +// @public export interface CertificateEmail extends ProxyOnlyResource { properties?: CertificateEmailProperties; } -// @public (undocumented) +// @public export interface CertificateEmailOutput extends ProxyOnlyResourceOutput { properties?: CertificateEmailPropertiesOutput; } -// @public (undocumented) +// @public export interface CertificateEmailProperties { emailId?: string; timeStamp?: Date | string; } -// @public (undocumented) +// @public export interface CertificateEmailPropertiesOutput { emailId?: string; timeStamp?: string; } -// @public (undocumented) +// @public export interface CertificateOrderAction extends ProxyOnlyResource { properties?: CertificateOrderActionProperties; } -// @public (undocumented) +// @public export interface CertificateOrderActionOutput extends ProxyOnlyResourceOutput { properties?: CertificateOrderActionPropertiesOutput; } -// @public (undocumented) +// @public export interface CertificateOrderActionProperties { - actionType?: "CertificateIssued" | "CertificateOrderCanceled" | "CertificateOrderCreated" | "CertificateRevoked" | "DomainValidationComplete" | "FraudDetected" | "OrgNameChange" | "OrgValidationComplete" | "SanDrop" | "FraudCleared" | "CertificateExpired" | "CertificateExpirationWarning" | "FraudDocumentationRequired" | "Unknown"; - createdAt?: Date | string; } -// @public (undocumented) +// @public export interface CertificateOrderActionPropertiesOutput { - actionType?: "CertificateIssued" | "CertificateOrderCanceled" | "CertificateOrderCreated" | "CertificateRevoked" | "DomainValidationComplete" | "FraudDetected" | "OrgNameChange" | "OrgValidationComplete" | "SanDrop" | "FraudCleared" | "CertificateExpired" | "CertificateExpirationWarning" | "FraudDocumentationRequired" | "Unknown"; - createdAt?: string; + readonly actionType?: "CertificateIssued" | "CertificateOrderCanceled" | "CertificateOrderCreated" | "CertificateRevoked" | "DomainValidationComplete" | "FraudDetected" | "OrgNameChange" | "OrgValidationComplete" | "SanDrop" | "FraudCleared" | "CertificateExpired" | "CertificateExpirationWarning" | "FraudDocumentationRequired" | "Unknown"; + readonly createdAt?: string; } // @public (undocumented) @@ -3915,7 +3773,7 @@ export interface CertificateOrderContactOutput { // @public (undocumented) export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse { - get(options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseParameters): Promise; + get(options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseParameters): StreamableMethod; } // @public @@ -3927,11 +3785,11 @@ export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetect } // @public -export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponsedefaultResponse extends HttpResponse { +export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -3952,7 +3810,7 @@ export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetect // @public (undocumented) export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse { - get(options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseParameters): Promise; + get(options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseParameters): StreamableMethod; } // @public @@ -3964,134 +3822,108 @@ export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetec } // @public -export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponsedefaultResponse extends HttpResponse { +export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseParameters = RequestParameters; -// @public (undocumented) +// @public export interface CertificateOutput extends ResourceOutput { properties?: CertificatePropertiesOutput; } -// @public (undocumented) +// @public export interface CertificatePatchResource extends ProxyOnlyResource { properties?: CertificatePatchResourceProperties; } -// @public (undocumented) +// @public export interface CertificatePatchResourceOutput extends ProxyOnlyResourceOutput { properties?: CertificatePatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface CertificatePatchResourceProperties { canonicalName?: string; - cerBlob?: string; domainValidationMethod?: string; - expirationDate?: Date | string; - friendlyName?: string; - hostingEnvironmentProfile?: HostingEnvironmentProfile; hostNames?: Array; - issueDate?: Date | string; - issuer?: string; keyVaultId?: string; keyVaultSecretName?: string; - keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; password?: string; pfxBlob?: string; - publicKeyHash?: string; - selfLink?: string; serverFarmId?: string; - siteName?: string; - subjectName?: string; - thumbprint?: string; - valid?: boolean; } -// @public (undocumented) +// @public export interface CertificatePatchResourcePropertiesOutput { canonicalName?: string; - cerBlob?: string; + readonly cerBlob?: string; domainValidationMethod?: string; - expirationDate?: string; - friendlyName?: string; - hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; + readonly expirationDate?: string; + readonly friendlyName?: string; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; hostNames?: Array; - issueDate?: string; - issuer?: string; + readonly issueDate?: string; + readonly issuer?: string; keyVaultId?: string; keyVaultSecretName?: string; - keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; + readonly keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; password?: string; pfxBlob?: string; - publicKeyHash?: string; - selfLink?: string; + readonly publicKeyHash?: string; + readonly selfLink?: string; serverFarmId?: string; - siteName?: string; - subjectName?: string; - thumbprint?: string; - valid?: boolean; + readonly siteName?: string; + readonly subjectName?: string; + readonly thumbprint?: string; + readonly valid?: boolean; } -// @public (undocumented) +// @public export interface CertificateProperties { canonicalName?: string; - cerBlob?: string; domainValidationMethod?: string; - expirationDate?: Date | string; - friendlyName?: string; - hostingEnvironmentProfile?: HostingEnvironmentProfile; hostNames?: Array; - issueDate?: Date | string; - issuer?: string; keyVaultId?: string; keyVaultSecretName?: string; - keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; password?: string; pfxBlob?: string; - publicKeyHash?: string; - selfLink?: string; serverFarmId?: string; - siteName?: string; - subjectName?: string; - thumbprint?: string; - valid?: boolean; } -// @public (undocumented) +// @public export interface CertificatePropertiesOutput { canonicalName?: string; - cerBlob?: string; + readonly cerBlob?: string; domainValidationMethod?: string; - expirationDate?: string; - friendlyName?: string; - hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; + readonly expirationDate?: string; + readonly friendlyName?: string; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; hostNames?: Array; - issueDate?: string; - issuer?: string; + readonly issueDate?: string; + readonly issuer?: string; keyVaultId?: string; keyVaultSecretName?: string; - keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; + readonly keyVaultSecretStatus?: "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" | "CertificateOrderFailed" | "OperationNotPermittedOnKeyVault" | "AzureServiceUnauthorizedToAccessKeyVault" | "KeyVaultDoesNotExist" | "KeyVaultSecretDoesNotExist" | "UnknownError" | "ExternalPrivateKey" | "Unknown"; password?: string; pfxBlob?: string; - publicKeyHash?: string; - selfLink?: string; + readonly publicKeyHash?: string; + readonly selfLink?: string; serverFarmId?: string; - siteName?: string; - subjectName?: string; - thumbprint?: string; - valid?: boolean; + readonly siteName?: string; + readonly subjectName?: string; + readonly thumbprint?: string; + readonly valid?: boolean; } // @public (undocumented) export interface CertificateRegistrationProviderListOperations { - get(options?: CertificateRegistrationProviderListOperationsParameters): Promise; + get(options?: CertificateRegistrationProviderListOperationsParameters): StreamableMethod; } // @public @@ -4103,11 +3935,11 @@ export interface CertificateRegistrationProviderListOperations200Response extend } // @public -export interface CertificateRegistrationProviderListOperationsdefaultResponse extends HttpResponse { +export interface CertificateRegistrationProviderListOperationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4127,11 +3959,11 @@ export interface CertificatesCreateOrUpdateBodyParam { } // @public -export interface CertificatesCreateOrUpdatedefaultResponse extends HttpResponse { +export interface CertificatesCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4144,26 +3976,22 @@ export type CertificatesCreateOrUpdateParameters = CertificatesCreateOrUpdateMed // @public export interface CertificatesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CertificatesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface CertificatesDeletedefaultResponse extends HttpResponse { +export interface CertificatesDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4171,10 +3999,10 @@ export type CertificatesDeleteParameters = RequestParameters; // @public (undocumented) export interface CertificatesGet { - delete(options?: CertificatesDeleteParameters): Promise; - get(options?: CertificatesGetParameters): Promise; - patch(options: CertificatesUpdateParameters): Promise; - put(options: CertificatesCreateOrUpdateParameters): Promise; + delete(options?: CertificatesDeleteParameters): StreamableMethod; + get(options?: CertificatesGetParameters): StreamableMethod; + patch(options: CertificatesUpdateParameters): StreamableMethod; + put(options: CertificatesCreateOrUpdateParameters): StreamableMethod; } // @public @@ -4186,11 +4014,11 @@ export interface CertificatesGet200Response extends HttpResponse { } // @public -export interface CertificatesGetdefaultResponse extends HttpResponse { +export interface CertificatesGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4198,7 +4026,7 @@ export type CertificatesGetParameters = RequestParameters; // @public (undocumented) export interface CertificatesList { - get(options?: CertificatesListParameters): Promise; + get(options?: CertificatesListParameters): StreamableMethod; } // @public @@ -4211,7 +4039,7 @@ export interface CertificatesList200Response extends HttpResponse { // @public (undocumented) export interface CertificatesListByResourceGroup { - get(options?: CertificatesListByResourceGroupParameters): Promise; + get(options?: CertificatesListByResourceGroupParameters): StreamableMethod; } // @public @@ -4223,22 +4051,22 @@ export interface CertificatesListByResourceGroup200Response extends HttpResponse } // @public -export interface CertificatesListByResourceGroupdefaultResponse extends HttpResponse { +export interface CertificatesListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type CertificatesListByResourceGroupParameters = RequestParameters; // @public -export interface CertificatesListdefaultResponse extends HttpResponse { +export interface CertificatesListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4269,11 +4097,11 @@ export interface CertificatesUpdateBodyParam { } // @public -export interface CertificatesUpdatedefaultResponse extends HttpResponse { +export interface CertificatesUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4286,7 +4114,7 @@ export type CertificatesUpdateParameters = CertificatesUpdateMediaTypesParam & C // @public (undocumented) export interface CheckNameAvailability { - post(options: CheckNameAvailabilityParameters): Promise; + post(options: CheckNameAvailabilityParameters): StreamableMethod; } // @public @@ -4303,11 +4131,11 @@ export interface CheckNameAvailabilityBodyParam { } // @public -export interface CheckNameAvailabilitydefaultResponse extends HttpResponse { +export interface CheckNameAvailabilityDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4318,19 +4146,19 @@ export interface CheckNameAvailabilityMediaTypesParam { // @public (undocumented) export type CheckNameAvailabilityParameters = CheckNameAvailabilityMediaTypesParam & CheckNameAvailabilityBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface ClientRegistration { clientId?: string; clientSecretSettingName?: string; } -// @public (undocumented) +// @public export interface ClientRegistrationOutput { clientId?: string; clientSecretSettingName?: string; } -// @public (undocumented) +// @public export interface CloningInfo { appSettingsOverrides?: Record; cloneCustomHostNames?: boolean; @@ -4345,7 +4173,7 @@ export interface CloningInfo { trafficManagerProfileName?: string; } -// @public (undocumented) +// @public export interface CloningInfoOutput { appSettingsOverrides?: Record; cloneCustomHostNames?: boolean; @@ -4360,7 +4188,7 @@ export interface CloningInfoOutput { trafficManagerProfileName?: string; } -// @public (undocumented) +// @public export interface Configuration { activeRevisionsMode?: "multiple" | "single"; ingress?: Ingress; @@ -4368,7 +4196,7 @@ export interface Configuration { secrets?: Array; } -// @public (undocumented) +// @public export interface ConfigurationOutput { activeRevisionsMode?: "multiple" | "single"; ingress?: IngressOutput; @@ -4376,43 +4204,43 @@ export interface ConfigurationOutput { secrets?: Array; } -// @public (undocumented) +// @public export interface ConnectionStringDictionary extends ProxyOnlyResource { properties?: Record; } -// @public (undocumented) +// @public export interface ConnectionStringDictionaryOutput extends ProxyOnlyResourceOutput { properties?: Record; } -// @public (undocumented) +// @public export interface ConnStringInfo { connectionString?: string; name?: string; type?: "MySql" | "SQLServer" | "SQLAzure" | "Custom" | "NotificationHub" | "ServiceBus" | "EventHub" | "ApiHub" | "DocDb" | "RedisCache" | "PostgreSQL"; } -// @public (undocumented) +// @public export interface ConnStringInfoOutput { connectionString?: string; name?: string; type?: "MySql" | "SQLServer" | "SQLAzure" | "Custom" | "NotificationHub" | "ServiceBus" | "EventHub" | "ApiHub" | "DocDb" | "RedisCache" | "PostgreSQL"; } -// @public (undocumented) +// @public export interface ConnStringValueTypePair { type: "MySql" | "SQLServer" | "SQLAzure" | "Custom" | "NotificationHub" | "ServiceBus" | "EventHub" | "ApiHub" | "DocDb" | "RedisCache" | "PostgreSQL"; value: string; } -// @public (undocumented) +// @public export interface ConnStringValueTypePairOutput { type: "MySql" | "SQLServer" | "SQLAzure" | "Custom" | "NotificationHub" | "ServiceBus" | "EventHub" | "ApiHub" | "DocDb" | "RedisCache" | "PostgreSQL"; value: string; } -// @public (undocumented) +// @public export interface Contact { addressMailing?: Address; email: string; @@ -4425,7 +4253,7 @@ export interface Contact { phone: string; } -// @public (undocumented) +// @public export interface ContactOutput { addressMailing?: AddressOutput; email: string; @@ -4438,7 +4266,7 @@ export interface ContactOutput { phone: string; } -// @public (undocumented) +// @public export interface Container { args?: Array; command?: Array; @@ -4448,39 +4276,36 @@ export interface Container { resources?: ContainerResources; } -// @public (undocumented) +// @public export interface ContainerApp extends Resource { properties?: ContainerAppProperties; } -// @public (undocumented) +// @public export interface ContainerAppCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ContainerAppOutput extends ResourceOutput { properties?: ContainerAppPropertiesOutput; } -// @public (undocumented) +// @public export interface ContainerAppProperties { configuration?: Configuration; kubeEnvironmentId?: string; - latestRevisionFqdn?: string; - latestRevisionName?: string; - provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; template?: Template; } -// @public (undocumented) +// @public export interface ContainerAppPropertiesOutput { configuration?: ConfigurationOutput; kubeEnvironmentId?: string; - latestRevisionFqdn?: string; - latestRevisionName?: string; - provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; + readonly latestRevisionFqdn?: string; + readonly latestRevisionName?: string; + readonly provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; template?: TemplateOutput; } @@ -4527,11 +4352,11 @@ export interface ContainerAppsCreateOrUpdateBodyParam { } // @public -export interface ContainerAppsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ContainerAppsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4544,50 +4369,44 @@ export type ContainerAppsCreateOrUpdateParameters = ContainerAppsCreateOrUpdateM // @public export interface ContainerAppsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ContainerAppsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ContainerAppsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ContainerAppsDeletedefaultResponse extends HttpResponse { +export interface ContainerAppsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type ContainerAppsDeleteParameters = RequestParameters; -// @public (undocumented) +// @public export interface ContainerAppSecretOutput { - name?: string; - value?: string; + readonly name?: string; + readonly value?: string; } // @public (undocumented) export interface ContainerAppsGet { - delete(options?: ContainerAppsDeleteParameters): Promise; - get(options?: ContainerAppsGetParameters): Promise; - put(options: ContainerAppsCreateOrUpdateParameters): Promise; + delete(options?: ContainerAppsDeleteParameters): StreamableMethod; + get(options?: ContainerAppsGetParameters): StreamableMethod; + put(options: ContainerAppsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -4600,18 +4419,16 @@ export interface ContainerAppsGet200Response extends HttpResponse { // @public export interface ContainerAppsGet404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface ContainerAppsGetdefaultResponse extends HttpResponse { +export interface ContainerAppsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4619,7 +4436,7 @@ export type ContainerAppsGetParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsListByResourceGroup { - get(options?: ContainerAppsListByResourceGroupParameters): Promise; + get(options?: ContainerAppsListByResourceGroupParameters): StreamableMethod; } // @public @@ -4631,11 +4448,11 @@ export interface ContainerAppsListByResourceGroup200Response extends HttpRespons } // @public -export interface ContainerAppsListByResourceGroupdefaultResponse extends HttpResponse { +export interface ContainerAppsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4643,7 +4460,7 @@ export type ContainerAppsListByResourceGroupParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsListBySubscription { - get(options?: ContainerAppsListBySubscriptionParameters): Promise; + get(options?: ContainerAppsListBySubscriptionParameters): StreamableMethod; } // @public @@ -4655,11 +4472,11 @@ export interface ContainerAppsListBySubscription200Response extends HttpResponse } // @public -export interface ContainerAppsListBySubscriptiondefaultResponse extends HttpResponse { +export interface ContainerAppsListBySubscriptionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4667,7 +4484,7 @@ export type ContainerAppsListBySubscriptionParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsListSecrets { - post(options?: ContainerAppsListSecretsParameters): Promise; + post(options?: ContainerAppsListSecretsParameters): StreamableMethod; } // @public @@ -4679,11 +4496,11 @@ export interface ContainerAppsListSecrets200Response extends HttpResponse { } // @public -export interface ContainerAppsListSecretsdefaultResponse extends HttpResponse { +export interface ContainerAppsListSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4691,23 +4508,21 @@ export type ContainerAppsListSecretsParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsRevisionsActivateRevision { - post(options?: ContainerAppsRevisionsActivateRevisionParameters): Promise; + post(options?: ContainerAppsRevisionsActivateRevisionParameters): StreamableMethod; } // @public export interface ContainerAppsRevisionsActivateRevision200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface ContainerAppsRevisionsActivateRevisiondefaultResponse extends HttpResponse { +export interface ContainerAppsRevisionsActivateRevisionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4715,23 +4530,21 @@ export type ContainerAppsRevisionsActivateRevisionParameters = RequestParameters // @public (undocumented) export interface ContainerAppsRevisionsDeactivateRevision { - post(options?: ContainerAppsRevisionsDeactivateRevisionParameters): Promise; + post(options?: ContainerAppsRevisionsDeactivateRevisionParameters): StreamableMethod; } // @public export interface ContainerAppsRevisionsDeactivateRevision200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface ContainerAppsRevisionsDeactivateRevisiondefaultResponse extends HttpResponse { +export interface ContainerAppsRevisionsDeactivateRevisionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4739,7 +4552,7 @@ export type ContainerAppsRevisionsDeactivateRevisionParameters = RequestParamete // @public (undocumented) export interface ContainerAppsRevisionsGetRevision { - get(options?: ContainerAppsRevisionsGetRevisionParameters): Promise; + get(options?: ContainerAppsRevisionsGetRevisionParameters): StreamableMethod; } // @public @@ -4751,11 +4564,11 @@ export interface ContainerAppsRevisionsGetRevision200Response extends HttpRespon } // @public -export interface ContainerAppsRevisionsGetRevisiondefaultResponse extends HttpResponse { +export interface ContainerAppsRevisionsGetRevisionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4763,7 +4576,7 @@ export type ContainerAppsRevisionsGetRevisionParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsRevisionsListRevisions { - get(options?: ContainerAppsRevisionsListRevisionsParameters): Promise; + get(options?: ContainerAppsRevisionsListRevisionsParameters): StreamableMethod; } // @public @@ -4775,11 +4588,11 @@ export interface ContainerAppsRevisionsListRevisions200Response extends HttpResp } // @public -export interface ContainerAppsRevisionsListRevisionsdefaultResponse extends HttpResponse { +export interface ContainerAppsRevisionsListRevisionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4787,23 +4600,21 @@ export type ContainerAppsRevisionsListRevisionsParameters = RequestParameters; // @public (undocumented) export interface ContainerAppsRevisionsRestartRevision { - post(options?: ContainerAppsRevisionsRestartRevisionParameters): Promise; + post(options?: ContainerAppsRevisionsRestartRevisionParameters): StreamableMethod; } // @public export interface ContainerAppsRevisionsRestartRevision200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface ContainerAppsRevisionsRestartRevisiondefaultResponse extends HttpResponse { +export interface ContainerAppsRevisionsRestartRevisionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -4957,7 +4768,7 @@ export interface ContainerNetworkInterfaceStatisticsOutput { txPackets?: number; } -// @public (undocumented) +// @public export interface ContainerOutput { args?: Array; command?: Array; @@ -4967,13 +4778,13 @@ export interface ContainerOutput { resources?: ContainerResourcesOutput; } -// @public (undocumented) +// @public export interface ContainerResources { cpu?: number; memory?: string; } -// @public (undocumented) +// @public export interface ContainerResourcesOutput { cpu?: number; memory?: string; @@ -4999,23 +4810,23 @@ export interface ContainerThrottlingDataOutput { throttledTime?: number; } -// @public (undocumented) +// @public export interface ContinuousWebJob extends ProxyOnlyResource { properties?: ContinuousWebJobProperties; } -// @public (undocumented) +// @public export interface ContinuousWebJobCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ContinuousWebJobOutput extends ProxyOnlyResourceOutput { properties?: ContinuousWebJobPropertiesOutput; } -// @public (undocumented) +// @public export interface ContinuousWebJobProperties { detailed_status?: string; error?: string; @@ -5029,7 +4840,7 @@ export interface ContinuousWebJobProperties { web_job_type?: "Continuous" | "Triggered"; } -// @public (undocumented) +// @public export interface ContinuousWebJobPropertiesOutput { detailed_status?: string; error?: string; @@ -5043,35 +4854,35 @@ export interface ContinuousWebJobPropertiesOutput { web_job_type?: "Continuous" | "Triggered"; } -// @public (undocumented) +// @public export interface CookieExpiration { convention?: "FixedTime" | "IdentityProviderDerived"; timeToExpiration?: string; } -// @public (undocumented) +// @public export interface CookieExpirationOutput { convention?: "FixedTime" | "IdentityProviderDerived"; timeToExpiration?: string; } -// @public (undocumented) +// @public export interface CorsSettings { allowedOrigins?: Array; supportCredentials?: boolean; } -// @public (undocumented) +// @public export interface CorsSettingsOutput { allowedOrigins?: Array; supportCredentials?: boolean; } -// @public (undocumented) -function createClient(credentials: TokenCredential, options?: ClientOptions): WebSiteManagementClient; +// @public +function createClient(credentials: TokenCredential, { apiVersion, ...options }?: WebSiteManagementClientOptions): WebSiteManagementClient; export default createClient; -// @public (undocumented) +// @public export interface CsmMoveResourceEnvelope { // (undocumented) resources?: Array; @@ -5079,13 +4890,13 @@ export interface CsmMoveResourceEnvelope { targetResourceGroup?: string; } -// @public (undocumented) +// @public export interface CsmOperationCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface CsmOperationDescriptionOutput { display?: CsmOperationDisplayOutput; // (undocumented) @@ -5097,12 +4908,12 @@ export interface CsmOperationDescriptionOutput { properties?: CsmOperationDescriptionPropertiesOutput; } -// @public (undocumented) +// @public export interface CsmOperationDescriptionPropertiesOutput { serviceSpecification?: ServiceSpecificationOutput; } -// @public (undocumented) +// @public export interface CsmOperationDisplayOutput { // (undocumented) description?: string; @@ -5114,45 +4925,45 @@ export interface CsmOperationDisplayOutput { resource?: string; } -// @public (undocumented) +// @public export interface CsmPublishingCredentialsPoliciesEntity extends ProxyOnlyResource { properties?: CsmPublishingCredentialsPoliciesEntityProperties; } -// @public (undocumented) +// @public export interface CsmPublishingCredentialsPoliciesEntityOutput extends ProxyOnlyResourceOutput { properties?: CsmPublishingCredentialsPoliciesEntityPropertiesOutput; } -// @public (undocumented) +// @public export interface CsmPublishingCredentialsPoliciesEntityProperties { allow: boolean; } -// @public (undocumented) +// @public export interface CsmPublishingCredentialsPoliciesEntityPropertiesOutput { allow: boolean; } -// @public (undocumented) +// @public export interface CsmPublishingProfileOptions { format?: "FileZilla3" | "WebDeploy" | "Ftp"; includeDisasterRecoveryEndpoints?: boolean; } -// @public (undocumented) +// @public export interface CsmSlotEntity { preserveVnet: boolean; targetSlot: string; } -// @public (undocumented) +// @public export interface CsmUsageQuotaCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface CsmUsageQuotaOutput { currentValue?: number; limit?: number; @@ -5161,63 +4972,57 @@ export interface CsmUsageQuotaOutput { unit?: string; } -// @public (undocumented) +// @public export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { properties?: CustomHostnameAnalysisResultProperties; } -// @public (undocumented) +// @public export interface CustomHostnameAnalysisResultOutput extends ProxyOnlyResourceOutput { properties?: CustomHostnameAnalysisResultPropertiesOutput; } -// @public (undocumented) +// @public export interface CustomHostnameAnalysisResultProperties { alternateCNameRecords?: Array; alternateTxtRecords?: Array; aRecords?: Array; cNameRecords?: Array; - conflictingAppResourceId?: string; - customDomainVerificationFailureInfo?: ErrorEntity; - customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; - hasConflictAcrossSubscription?: boolean; - hasConflictOnScaleUnit?: boolean; - isHostnameAlreadyVerified?: boolean; txtRecords?: Array; } -// @public (undocumented) +// @public export interface CustomHostnameAnalysisResultPropertiesOutput { alternateCNameRecords?: Array; alternateTxtRecords?: Array; aRecords?: Array; cNameRecords?: Array; - conflictingAppResourceId?: string; - customDomainVerificationFailureInfo?: ErrorEntityOutput; - customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; - hasConflictAcrossSubscription?: boolean; - hasConflictOnScaleUnit?: boolean; - isHostnameAlreadyVerified?: boolean; + readonly conflictingAppResourceId?: string; + readonly customDomainVerificationFailureInfo?: ErrorEntityOutput; + readonly customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; + readonly hasConflictAcrossSubscription?: boolean; + readonly hasConflictOnScaleUnit?: boolean; + readonly isHostnameAlreadyVerified?: boolean; txtRecords?: Array; } -// @public (undocumented) +// @public export interface CustomHostnameSites extends ProxyOnlyResource { properties?: CustomHostnameSitesProperties; } -// @public (undocumented) +// @public export interface CustomHostnameSitesCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface CustomHostnameSitesOutput extends ProxyOnlyResourceOutput { properties?: CustomHostnameSitesPropertiesOutput; } -// @public (undocumented) +// @public export interface CustomHostnameSitesProperties { // (undocumented) customHostname?: string; @@ -5227,7 +5032,7 @@ export interface CustomHostnameSitesProperties { siteResourceIds?: Array; } -// @public (undocumented) +// @public export interface CustomHostnameSitesPropertiesOutput { // (undocumented) customHostname?: string; @@ -5237,35 +5042,35 @@ export interface CustomHostnameSitesPropertiesOutput { siteResourceIds?: Array; } -// @public (undocumented) +// @public export interface CustomOpenIdConnectProvider { enabled?: boolean; login?: OpenIdConnectLogin; registration?: OpenIdConnectRegistration; } -// @public (undocumented) +// @public export interface CustomOpenIdConnectProviderOutput { enabled?: boolean; login?: OpenIdConnectLoginOutput; registration?: OpenIdConnectRegistrationOutput; } -// @public (undocumented) +// @public export interface CustomScaleRule { auth?: Array; metadata?: Record; type?: string; } -// @public (undocumented) +// @public export interface CustomScaleRuleOutput { auth?: Array; metadata?: Record; type?: string; } -// @public (undocumented) +// @public export interface Dapr { appId?: string; appPort?: number; @@ -5273,7 +5078,7 @@ export interface Dapr { enabled?: boolean; } -// @public (undocumented) +// @public export interface DaprComponent { metadata?: Array; name?: string; @@ -5281,7 +5086,7 @@ export interface DaprComponent { version?: string; } -// @public (undocumented) +// @public export interface DaprComponentOutput { metadata?: Array; name?: string; @@ -5289,21 +5094,21 @@ export interface DaprComponentOutput { version?: string; } -// @public (undocumented) +// @public export interface DaprMetadata { name?: string; secretRef?: string; value?: string; } -// @public (undocumented) +// @public export interface DaprMetadataOutput { name?: string; secretRef?: string; value?: string; } -// @public (undocumented) +// @public export interface DaprOutput { appId?: string; appPort?: number; @@ -5311,7 +5116,7 @@ export interface DaprOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface DatabaseBackupSetting { connectionString?: string; connectionStringName?: string; @@ -5320,7 +5125,7 @@ export interface DatabaseBackupSetting { name?: string; } -// @public (undocumented) +// @public export interface DatabaseBackupSettingOutput { connectionString?: string; connectionStringName?: string; @@ -5329,105 +5134,104 @@ export interface DatabaseBackupSettingOutput { name?: string; } -// @public (undocumented) +// @public export interface DataProviderMetadata { - propertyBag?: Array; // (undocumented) providerName?: string; } -// @public (undocumented) +// @public export interface DataProviderMetadataOutput { - propertyBag?: Array; + readonly propertyBag?: Array; // (undocumented) providerName?: string; } -// @public (undocumented) +// @public export interface DataSource { dataSourceUri?: Array; instructions?: Array; } -// @public (undocumented) +// @public export interface DataSourceOutput { dataSourceUri?: Array; instructions?: Array; } -// @public (undocumented) +// @public export interface DataTableResponseColumn { columnName?: string; columnType?: string; dataType?: string; } -// @public (undocumented) +// @public export interface DataTableResponseColumnOutput { columnName?: string; columnType?: string; dataType?: string; } -// @public (undocumented) +// @public export interface DataTableResponseObject { columns?: Array; rows?: Array>; tableName?: string; } -// @public (undocumented) +// @public export interface DataTableResponseObjectOutput { columns?: Array; rows?: Array>; tableName?: string; } -// @public (undocumented) +// @public export interface DefaultAuthorizationPolicy { allowedApplications?: Array; allowedPrincipals?: AllowedPrincipals; } -// @public (undocumented) +// @public export interface DefaultAuthorizationPolicyOutput { allowedApplications?: Array; allowedPrincipals?: AllowedPrincipalsOutput; } -// @public (undocumented) +// @public export interface DefaultErrorResponseErrorDetailsItemOutput { - code?: string; - message?: string; - target?: string; + readonly code?: string; + readonly message?: string; + readonly target?: string; } -// @public (undocumented) +// @public export interface DefaultErrorResponseErrorOutput { - code?: string; + readonly code?: string; // (undocumented) details?: Array; - innererror?: string; - message?: string; - target?: string; + readonly innererror?: string; + readonly message?: string; + readonly target?: string; } -// @public (undocumented) +// @public export interface DefaultErrorResponseOutput { - error?: DefaultErrorResponseErrorOutput; + readonly error?: DefaultErrorResponseErrorOutput; } -// @public (undocumented) +// @public export interface DeletedAppRestoreRequest extends ProxyOnlyResource { properties?: DeletedAppRestoreRequestProperties; } -// @public (undocumented) +// @public export interface DeletedAppRestoreRequestOutput extends ProxyOnlyResourceOutput { properties?: DeletedAppRestoreRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface DeletedAppRestoreRequestProperties { deletedSiteId?: string; recoverConfiguration?: boolean; @@ -5435,7 +5239,7 @@ export interface DeletedAppRestoreRequestProperties { useDRSecondary?: boolean; } -// @public (undocumented) +// @public export interface DeletedAppRestoreRequestPropertiesOutput { deletedSiteId?: string; recoverConfiguration?: boolean; @@ -5443,49 +5247,41 @@ export interface DeletedAppRestoreRequestPropertiesOutput { useDRSecondary?: boolean; } -// @public (undocumented) +// @public export interface DeletedSite extends ProxyOnlyResource { properties?: DeletedSiteProperties; } -// @public (undocumented) +// @public export interface DeletedSiteOutput extends ProxyOnlyResourceOutput { properties?: DeletedSitePropertiesOutput; } -// @public (undocumented) +// @public export interface DeletedSiteProperties { - deletedSiteId?: number; - deletedSiteName?: string; - deletedTimestamp?: string; - geoRegionName?: string; - kind?: string; - resourceGroup?: string; - slot?: string; - subscription?: string; } -// @public (undocumented) +// @public export interface DeletedSitePropertiesOutput { - deletedSiteId?: number; - deletedSiteName?: string; - deletedTimestamp?: string; - geoRegionName?: string; - kind?: string; - resourceGroup?: string; - slot?: string; - subscription?: string; + readonly deletedSiteId?: number; + readonly deletedSiteName?: string; + readonly deletedTimestamp?: string; + readonly geoRegionName?: string; + readonly kind?: string; + readonly resourceGroup?: string; + readonly slot?: string; + readonly subscription?: string; } -// @public (undocumented) +// @public export interface DeletedWebAppCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } // @public (undocumented) export interface DeletedWebAppsGetDeletedWebAppByLocation { - get(options?: DeletedWebAppsGetDeletedWebAppByLocationParameters): Promise; + get(options?: DeletedWebAppsGetDeletedWebAppByLocationParameters): StreamableMethod; } // @public @@ -5497,11 +5293,11 @@ export interface DeletedWebAppsGetDeletedWebAppByLocation200Response extends Htt } // @public -export interface DeletedWebAppsGetDeletedWebAppByLocationdefaultResponse extends HttpResponse { +export interface DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -5509,7 +5305,7 @@ export type DeletedWebAppsGetDeletedWebAppByLocationParameters = RequestParamete // @public (undocumented) export interface DeletedWebAppsList { - get(options?: DeletedWebAppsListParameters): Promise; + get(options?: DeletedWebAppsListParameters): StreamableMethod; } // @public @@ -5522,7 +5318,7 @@ export interface DeletedWebAppsList200Response extends HttpResponse { // @public (undocumented) export interface DeletedWebAppsListByLocation { - get(options?: DeletedWebAppsListByLocationParameters): Promise; + get(options?: DeletedWebAppsListByLocationParameters): StreamableMethod; } // @public @@ -5534,51 +5330,51 @@ export interface DeletedWebAppsListByLocation200Response extends HttpResponse { } // @public -export interface DeletedWebAppsListByLocationdefaultResponse extends HttpResponse { +export interface DeletedWebAppsListByLocationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type DeletedWebAppsListByLocationParameters = RequestParameters; // @public -export interface DeletedWebAppsListdefaultResponse extends HttpResponse { +export interface DeletedWebAppsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type DeletedWebAppsListParameters = RequestParameters; -// @public (undocumented) +// @public export interface Deployment extends ProxyOnlyResource { properties?: DeploymentProperties; } -// @public (undocumented) +// @public export interface DeploymentCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DeploymentLocationsOutput { hostingEnvironmentDeploymentInfos?: Array; hostingEnvironments?: Array; locations?: Array; } -// @public (undocumented) +// @public export interface DeploymentOutput extends ProxyOnlyResourceOutput { properties?: DeploymentPropertiesOutput; } -// @public (undocumented) +// @public export interface DeploymentProperties { active?: boolean; author?: string; @@ -5591,7 +5387,7 @@ export interface DeploymentProperties { status?: number; } -// @public (undocumented) +// @public export interface DeploymentPropertiesOutput { active?: boolean; author?: string; @@ -5604,7 +5400,7 @@ export interface DeploymentPropertiesOutput { status?: number; } -// @public (undocumented) +// @public export interface DetectorAbnormalTimePeriod { endTime?: Date | string; message?: string; @@ -5616,7 +5412,7 @@ export interface DetectorAbnormalTimePeriod { type?: "ServiceIncident" | "AppDeployment" | "AppCrash" | "RuntimeIssueDetected" | "AseDeployment" | "UserIssue" | "PlatformIssue" | "Other"; } -// @public (undocumented) +// @public export interface DetectorAbnormalTimePeriodOutput { endTime?: string; message?: string; @@ -5628,75 +5424,62 @@ export interface DetectorAbnormalTimePeriodOutput { type?: "ServiceIncident" | "AppDeployment" | "AppCrash" | "RuntimeIssueDetected" | "AseDeployment" | "UserIssue" | "PlatformIssue" | "Other"; } -// @public (undocumented) +// @public export interface DetectorDefinition { - description?: string; - displayName?: string; - isEnabled?: boolean; - rank?: number; } -// @public (undocumented) +// @public export interface DetectorDefinitionOutput { - description?: string; - displayName?: string; - isEnabled?: boolean; - rank?: number; + readonly description?: string; + readonly displayName?: string; + readonly isEnabled?: boolean; + readonly rank?: number; } -// @public (undocumented) +// @public export interface DetectorDefinitionResource extends ProxyOnlyResource { properties?: DetectorDefinition; } -// @public (undocumented) +// @public export interface DetectorDefinitionResourceOutput extends ProxyOnlyResourceOutput { properties?: DetectorDefinitionOutput; } -// @public (undocumented) +// @public export interface DetectorInfo { - analysisType?: Array; - author?: string; - category?: string; - description?: string; - id?: string; - name?: string; - score?: number; - supportTopicList?: Array; - type?: "Detector" | "Analysis" | "CategoryOverview"; } -// @public (undocumented) +// @public export interface DetectorInfoOutput { - analysisType?: Array; - author?: string; - category?: string; - description?: string; - id?: string; - name?: string; - score?: number; - supportTopicList?: Array; - type?: "Detector" | "Analysis" | "CategoryOverview"; + readonly analysisType?: Array; + readonly author?: string; + readonly category?: string; + readonly description?: string; + readonly id?: string; + readonly name?: string; + readonly score?: number; + readonly supportTopicList?: Array; + readonly type?: "Detector" | "Analysis" | "CategoryOverview"; } -// @public (undocumented) +// @public export interface DetectorResponse extends ProxyOnlyResource { properties?: DetectorResponseProperties; } -// @public (undocumented) +// @public export interface DetectorResponseCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DetectorResponseOutput extends ProxyOnlyResourceOutput { properties?: DetectorResponsePropertiesOutput; } -// @public (undocumented) +// @public export interface DetectorResponseProperties { dataProvidersMetadata?: Array; dataset?: Array; @@ -5705,7 +5488,7 @@ export interface DetectorResponseProperties { suggestedUtterances?: QueryUtterancesResults; } -// @public (undocumented) +// @public export interface DetectorResponsePropertiesOutput { dataProvidersMetadata?: Array; dataset?: Array; @@ -5714,23 +5497,23 @@ export interface DetectorResponsePropertiesOutput { suggestedUtterances?: QueryUtterancesResultsOutput; } -// @public (undocumented) +// @public export interface DiagnosticAnalysis extends ProxyOnlyResource { properties?: DiagnosticAnalysisProperties; } -// @public (undocumented) +// @public export interface DiagnosticAnalysisCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DiagnosticAnalysisOutput extends ProxyOnlyResourceOutput { properties?: DiagnosticAnalysisPropertiesOutput; } -// @public (undocumented) +// @public export interface DiagnosticAnalysisProperties { abnormalTimePeriods?: Array; endTime?: Date | string; @@ -5739,7 +5522,7 @@ export interface DiagnosticAnalysisProperties { startTime?: Date | string; } -// @public (undocumented) +// @public export interface DiagnosticAnalysisPropertiesOutput { abnormalTimePeriods?: Array; endTime?: string; @@ -5748,62 +5531,61 @@ export interface DiagnosticAnalysisPropertiesOutput { startTime?: string; } -// @public (undocumented) +// @public export interface DiagnosticCategory extends ProxyOnlyResource { properties?: DiagnosticCategoryProperties; } -// @public (undocumented) +// @public export interface DiagnosticCategoryCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DiagnosticCategoryOutput extends ProxyOnlyResourceOutput { properties?: DiagnosticCategoryPropertiesOutput; } -// @public (undocumented) +// @public export interface DiagnosticCategoryProperties { - description?: string; } -// @public (undocumented) +// @public export interface DiagnosticCategoryPropertiesOutput { - description?: string; + readonly description?: string; } -// @public (undocumented) +// @public interface DiagnosticData_2 { renderingProperties?: Rendering; table?: DataTableResponseObject; } export { DiagnosticData_2 as DiagnosticData } -// @public (undocumented) +// @public export interface DiagnosticDataOutput { renderingProperties?: RenderingOutput; table?: DataTableResponseObjectOutput; } -// @public (undocumented) +// @public export interface DiagnosticDetectorCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DiagnosticDetectorResponse extends ProxyOnlyResource { properties?: DiagnosticDetectorResponseProperties; } -// @public (undocumented) +// @public export interface DiagnosticDetectorResponseOutput extends ProxyOnlyResourceOutput { properties?: DiagnosticDetectorResponsePropertiesOutput; } -// @public (undocumented) +// @public export interface DiagnosticDetectorResponseProperties { abnormalTimePeriods?: Array; data?: Array>; @@ -5815,7 +5597,7 @@ export interface DiagnosticDetectorResponseProperties { startTime?: Date | string; } -// @public (undocumented) +// @public export interface DiagnosticDetectorResponsePropertiesOutput { abnormalTimePeriods?: Array; data?: Array>; @@ -5827,7 +5609,7 @@ export interface DiagnosticDetectorResponsePropertiesOutput { startTime?: string; } -// @public (undocumented) +// @public export interface DiagnosticMetricSample { isAggregated?: boolean; maximum?: number; @@ -5837,7 +5619,7 @@ export interface DiagnosticMetricSample { total?: number; } -// @public (undocumented) +// @public export interface DiagnosticMetricSampleOutput { isAggregated?: boolean; maximum?: number; @@ -5847,7 +5629,7 @@ export interface DiagnosticMetricSampleOutput { total?: number; } -// @public (undocumented) +// @public export interface DiagnosticMetricSet { endTime?: Date | string; name?: string; @@ -5857,7 +5639,7 @@ export interface DiagnosticMetricSet { values?: Array; } -// @public (undocumented) +// @public export interface DiagnosticMetricSetOutput { endTime?: string; name?: string; @@ -5869,7 +5651,7 @@ export interface DiagnosticMetricSetOutput { // @public (undocumented) export interface DiagnosticsExecuteSiteAnalysis { - post(options?: DiagnosticsExecuteSiteAnalysisParameters): Promise; + post(options?: DiagnosticsExecuteSiteAnalysisParameters): StreamableMethod; } // @public @@ -5881,11 +5663,11 @@ export interface DiagnosticsExecuteSiteAnalysis200Response extends HttpResponse } // @public -export interface DiagnosticsExecuteSiteAnalysisdefaultResponse extends HttpResponse { +export interface DiagnosticsExecuteSiteAnalysisDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -5906,7 +5688,7 @@ export interface DiagnosticsExecuteSiteAnalysisQueryParamProperties { // @public (undocumented) export interface DiagnosticsExecuteSiteAnalysisSlot { - post(options?: DiagnosticsExecuteSiteAnalysisSlotParameters): Promise; + post(options?: DiagnosticsExecuteSiteAnalysisSlotParameters): StreamableMethod; } // @public @@ -5918,11 +5700,11 @@ export interface DiagnosticsExecuteSiteAnalysisSlot200Response extends HttpRespo } // @public -export interface DiagnosticsExecuteSiteAnalysisSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsExecuteSiteAnalysisSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -5943,7 +5725,7 @@ export interface DiagnosticsExecuteSiteAnalysisSlotQueryParamProperties { // @public (undocumented) export interface DiagnosticsExecuteSiteDetector { - post(options?: DiagnosticsExecuteSiteDetectorParameters): Promise; + post(options?: DiagnosticsExecuteSiteDetectorParameters): StreamableMethod; } // @public @@ -5955,11 +5737,11 @@ export interface DiagnosticsExecuteSiteDetector200Response extends HttpResponse } // @public -export interface DiagnosticsExecuteSiteDetectordefaultResponse extends HttpResponse { +export interface DiagnosticsExecuteSiteDetectorDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -5980,7 +5762,7 @@ export interface DiagnosticsExecuteSiteDetectorQueryParamProperties { // @public (undocumented) export interface DiagnosticsExecuteSiteDetectorSlot { - post(options?: DiagnosticsExecuteSiteDetectorSlotParameters): Promise; + post(options?: DiagnosticsExecuteSiteDetectorSlotParameters): StreamableMethod; } // @public @@ -5992,11 +5774,11 @@ export interface DiagnosticsExecuteSiteDetectorSlot200Response extends HttpRespo } // @public -export interface DiagnosticsExecuteSiteDetectorSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsExecuteSiteDetectorSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6017,7 +5799,7 @@ export interface DiagnosticsExecuteSiteDetectorSlotQueryParamProperties { // @public (undocumented) export interface DiagnosticsGetHostingEnvironmentDetectorResponse { - get(options?: DiagnosticsGetHostingEnvironmentDetectorResponseParameters): Promise; + get(options?: DiagnosticsGetHostingEnvironmentDetectorResponseParameters): StreamableMethod; } // @public @@ -6029,11 +5811,11 @@ export interface DiagnosticsGetHostingEnvironmentDetectorResponse200Response ext } // @public -export interface DiagnosticsGetHostingEnvironmentDetectorResponsedefaultResponse extends HttpResponse { +export interface DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6054,7 +5836,7 @@ export interface DiagnosticsGetHostingEnvironmentDetectorResponseQueryParamPrope // @public (undocumented) export interface DiagnosticsGetSiteAnalysis { - get(options?: DiagnosticsGetSiteAnalysisParameters): Promise; + get(options?: DiagnosticsGetSiteAnalysisParameters): StreamableMethod; } // @public @@ -6066,11 +5848,11 @@ export interface DiagnosticsGetSiteAnalysis200Response extends HttpResponse { } // @public -export interface DiagnosticsGetSiteAnalysisdefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteAnalysisDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6078,7 +5860,7 @@ export type DiagnosticsGetSiteAnalysisParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsGetSiteAnalysisSlot { - get(options?: DiagnosticsGetSiteAnalysisSlotParameters): Promise; + get(options?: DiagnosticsGetSiteAnalysisSlotParameters): StreamableMethod; } // @public @@ -6090,11 +5872,11 @@ export interface DiagnosticsGetSiteAnalysisSlot200Response extends HttpResponse } // @public -export interface DiagnosticsGetSiteAnalysisSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteAnalysisSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6102,7 +5884,7 @@ export type DiagnosticsGetSiteAnalysisSlotParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsGetSiteDetector { - get(options?: DiagnosticsGetSiteDetectorParameters): Promise; + get(options?: DiagnosticsGetSiteDetectorParameters): StreamableMethod; } // @public @@ -6114,11 +5896,11 @@ export interface DiagnosticsGetSiteDetector200Response extends HttpResponse { } // @public -export interface DiagnosticsGetSiteDetectordefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDetectorDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6126,7 +5908,7 @@ export type DiagnosticsGetSiteDetectorParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsGetSiteDetectorResponse { - get(options?: DiagnosticsGetSiteDetectorResponseParameters): Promise; + get(options?: DiagnosticsGetSiteDetectorResponseParameters): StreamableMethod; } // @public @@ -6138,11 +5920,11 @@ export interface DiagnosticsGetSiteDetectorResponse200Response extends HttpRespo } // @public -export interface DiagnosticsGetSiteDetectorResponsedefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDetectorResponseDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6163,7 +5945,7 @@ export interface DiagnosticsGetSiteDetectorResponseQueryParamProperties { // @public (undocumented) export interface DiagnosticsGetSiteDetectorResponseSlot { - get(options?: DiagnosticsGetSiteDetectorResponseSlotParameters): Promise; + get(options?: DiagnosticsGetSiteDetectorResponseSlotParameters): StreamableMethod; } // @public @@ -6175,11 +5957,11 @@ export interface DiagnosticsGetSiteDetectorResponseSlot200Response extends HttpR } // @public -export interface DiagnosticsGetSiteDetectorResponseSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDetectorResponseSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6200,7 +5982,7 @@ export interface DiagnosticsGetSiteDetectorResponseSlotQueryParamProperties { // @public (undocumented) export interface DiagnosticsGetSiteDetectorSlot { - get(options?: DiagnosticsGetSiteDetectorSlotParameters): Promise; + get(options?: DiagnosticsGetSiteDetectorSlotParameters): StreamableMethod; } // @public @@ -6212,11 +5994,11 @@ export interface DiagnosticsGetSiteDetectorSlot200Response extends HttpResponse } // @public -export interface DiagnosticsGetSiteDetectorSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDetectorSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6224,7 +6006,7 @@ export type DiagnosticsGetSiteDetectorSlotParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsGetSiteDiagnosticCategory { - get(options?: DiagnosticsGetSiteDiagnosticCategoryParameters): Promise; + get(options?: DiagnosticsGetSiteDiagnosticCategoryParameters): StreamableMethod; } // @public @@ -6236,11 +6018,11 @@ export interface DiagnosticsGetSiteDiagnosticCategory200Response extends HttpRes } // @public -export interface DiagnosticsGetSiteDiagnosticCategorydefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDiagnosticCategoryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6248,7 +6030,7 @@ export type DiagnosticsGetSiteDiagnosticCategoryParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsGetSiteDiagnosticCategorySlot { - get(options?: DiagnosticsGetSiteDiagnosticCategorySlotParameters): Promise; + get(options?: DiagnosticsGetSiteDiagnosticCategorySlotParameters): StreamableMethod; } // @public @@ -6260,11 +6042,11 @@ export interface DiagnosticsGetSiteDiagnosticCategorySlot200Response extends Htt } // @public -export interface DiagnosticsGetSiteDiagnosticCategorySlotdefaultResponse extends HttpResponse { +export interface DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6272,7 +6054,7 @@ export type DiagnosticsGetSiteDiagnosticCategorySlotParameters = RequestParamete // @public (undocumented) export interface DiagnosticsListHostingEnvironmentDetectorResponses { - get(options?: DiagnosticsListHostingEnvironmentDetectorResponsesParameters): Promise; + get(options?: DiagnosticsListHostingEnvironmentDetectorResponsesParameters): StreamableMethod; } // @public @@ -6284,11 +6066,11 @@ export interface DiagnosticsListHostingEnvironmentDetectorResponses200Response e } // @public -export interface DiagnosticsListHostingEnvironmentDetectorResponsesdefaultResponse extends HttpResponse { +export interface DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6296,7 +6078,7 @@ export type DiagnosticsListHostingEnvironmentDetectorResponsesParameters = Reque // @public (undocumented) export interface DiagnosticsListSiteAnalyses { - get(options?: DiagnosticsListSiteAnalysesParameters): Promise; + get(options?: DiagnosticsListSiteAnalysesParameters): StreamableMethod; } // @public @@ -6308,11 +6090,11 @@ export interface DiagnosticsListSiteAnalyses200Response extends HttpResponse { } // @public -export interface DiagnosticsListSiteAnalysesdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteAnalysesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6320,7 +6102,7 @@ export type DiagnosticsListSiteAnalysesParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsListSiteAnalysesSlot { - get(options?: DiagnosticsListSiteAnalysesSlotParameters): Promise; + get(options?: DiagnosticsListSiteAnalysesSlotParameters): StreamableMethod; } // @public @@ -6332,11 +6114,11 @@ export interface DiagnosticsListSiteAnalysesSlot200Response extends HttpResponse } // @public -export interface DiagnosticsListSiteAnalysesSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteAnalysesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6344,7 +6126,7 @@ export type DiagnosticsListSiteAnalysesSlotParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsListSiteDetectorResponses { - get(options?: DiagnosticsListSiteDetectorResponsesParameters): Promise; + get(options?: DiagnosticsListSiteDetectorResponsesParameters): StreamableMethod; } // @public @@ -6356,11 +6138,11 @@ export interface DiagnosticsListSiteDetectorResponses200Response extends HttpRes } // @public -export interface DiagnosticsListSiteDetectorResponsesdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDetectorResponsesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6368,7 +6150,7 @@ export type DiagnosticsListSiteDetectorResponsesParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsListSiteDetectorResponsesSlot { - get(options?: DiagnosticsListSiteDetectorResponsesSlotParameters): Promise; + get(options?: DiagnosticsListSiteDetectorResponsesSlotParameters): StreamableMethod; } // @public @@ -6380,11 +6162,11 @@ export interface DiagnosticsListSiteDetectorResponsesSlot200Response extends Htt } // @public -export interface DiagnosticsListSiteDetectorResponsesSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDetectorResponsesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6392,7 +6174,7 @@ export type DiagnosticsListSiteDetectorResponsesSlotParameters = RequestParamete // @public (undocumented) export interface DiagnosticsListSiteDetectors { - get(options?: DiagnosticsListSiteDetectorsParameters): Promise; + get(options?: DiagnosticsListSiteDetectorsParameters): StreamableMethod; } // @public @@ -6404,11 +6186,11 @@ export interface DiagnosticsListSiteDetectors200Response extends HttpResponse { } // @public -export interface DiagnosticsListSiteDetectorsdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDetectorsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6416,7 +6198,7 @@ export type DiagnosticsListSiteDetectorsParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsListSiteDetectorsSlot { - get(options?: DiagnosticsListSiteDetectorsSlotParameters): Promise; + get(options?: DiagnosticsListSiteDetectorsSlotParameters): StreamableMethod; } // @public @@ -6428,11 +6210,11 @@ export interface DiagnosticsListSiteDetectorsSlot200Response extends HttpRespons } // @public -export interface DiagnosticsListSiteDetectorsSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDetectorsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6440,7 +6222,7 @@ export type DiagnosticsListSiteDetectorsSlotParameters = RequestParameters; // @public (undocumented) export interface DiagnosticsListSiteDiagnosticCategories { - get(options?: DiagnosticsListSiteDiagnosticCategoriesParameters): Promise; + get(options?: DiagnosticsListSiteDiagnosticCategoriesParameters): StreamableMethod; } // @public @@ -6452,11 +6234,11 @@ export interface DiagnosticsListSiteDiagnosticCategories200Response extends Http } // @public -export interface DiagnosticsListSiteDiagnosticCategoriesdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDiagnosticCategoriesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6464,7 +6246,7 @@ export type DiagnosticsListSiteDiagnosticCategoriesParameters = RequestParameter // @public (undocumented) export interface DiagnosticsListSiteDiagnosticCategoriesSlot { - get(options?: DiagnosticsListSiteDiagnosticCategoriesSlotParameters): Promise; + get(options?: DiagnosticsListSiteDiagnosticCategoriesSlotParameters): StreamableMethod; } // @public @@ -6476,17 +6258,17 @@ export interface DiagnosticsListSiteDiagnosticCategoriesSlot200Response extends } // @public -export interface DiagnosticsListSiteDiagnosticCategoriesSlotdefaultResponse extends HttpResponse { +export interface DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type DiagnosticsListSiteDiagnosticCategoriesSlotParameters = RequestParameters; -// @public (undocumented) +// @public export interface DimensionOutput { // (undocumented) displayName?: string; @@ -6498,73 +6280,73 @@ export interface DimensionOutput { toBeExportedForShoebox?: boolean; } -// @public (undocumented) +// @public export interface Domain extends Resource { properties?: DomainProperties; } -// @public (undocumented) +// @public export interface DomainAvailabilityCheckResultOutput { available?: boolean; domainType?: "Regular" | "SoftDeleted"; name?: string; } -// @public (undocumented) +// @public export interface DomainCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DomainControlCenterSsoRequestOutput { - postParameterKey?: string; - postParameterValue?: string; - url?: string; + readonly postParameterKey?: string; + readonly postParameterValue?: string; + readonly url?: string; } -// @public (undocumented) +// @public export interface DomainOutput extends ResourceOutput { properties?: DomainPropertiesOutput; } -// @public (undocumented) +// @public export interface DomainOwnershipIdentifier extends ProxyOnlyResource { properties?: DomainOwnershipIdentifierProperties; } -// @public (undocumented) +// @public export interface DomainOwnershipIdentifierCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface DomainOwnershipIdentifierOutput extends ProxyOnlyResourceOutput { properties?: DomainOwnershipIdentifierPropertiesOutput; } -// @public (undocumented) +// @public export interface DomainOwnershipIdentifierProperties { ownershipId?: string; } -// @public (undocumented) +// @public export interface DomainOwnershipIdentifierPropertiesOutput { ownershipId?: string; } -// @public (undocumented) +// @public export interface DomainPatchResource extends ProxyOnlyResource { properties?: DomainPatchResourceProperties; } -// @public (undocumented) +// @public export interface DomainPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: DomainPatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface DomainPatchResourceProperties { // (undocumented) authCode?: string; @@ -6574,22 +6356,13 @@ export interface DomainPatchResourceProperties { contactBilling: Contact; contactRegistrant: Contact; contactTech: Contact; - createdTime?: Date | string; dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; dnsZoneId?: string; - domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; - expirationTime?: Date | string; - lastRenewedTime?: Date | string; - managedHostNames?: Array; - nameServers?: Array; privacy?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - readyForDnsRecordManagement?: boolean; - registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; targetDnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; } -// @public (undocumented) +// @public export interface DomainPatchResourcePropertiesOutput { // (undocumented) authCode?: string; @@ -6599,22 +6372,22 @@ export interface DomainPatchResourcePropertiesOutput { contactBilling: ContactOutput; contactRegistrant: ContactOutput; contactTech: ContactOutput; - createdTime?: string; + readonly createdTime?: string; dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; dnsZoneId?: string; - domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; - expirationTime?: string; - lastRenewedTime?: string; - managedHostNames?: Array; - nameServers?: Array; + readonly domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; + readonly expirationTime?: string; + readonly lastRenewedTime?: string; + readonly managedHostNames?: Array; + readonly nameServers?: Array; privacy?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - readyForDnsRecordManagement?: boolean; - registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly readyForDnsRecordManagement?: boolean; + readonly registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; targetDnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; } -// @public (undocumented) +// @public export interface DomainProperties { // (undocumented) authCode?: string; @@ -6624,22 +6397,13 @@ export interface DomainProperties { contactBilling: Contact; contactRegistrant: Contact; contactTech: Contact; - createdTime?: Date | string; dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; dnsZoneId?: string; - domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; - expirationTime?: Date | string; - lastRenewedTime?: Date | string; - managedHostNames?: Array; - nameServers?: Array; privacy?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - readyForDnsRecordManagement?: boolean; - registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; targetDnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; } -// @public (undocumented) +// @public export interface DomainPropertiesOutput { // (undocumented) authCode?: string; @@ -6649,36 +6413,36 @@ export interface DomainPropertiesOutput { contactBilling: ContactOutput; contactRegistrant: ContactOutput; contactTech: ContactOutput; - createdTime?: string; + readonly createdTime?: string; dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; dnsZoneId?: string; - domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; - expirationTime?: string; - lastRenewedTime?: string; - managedHostNames?: Array; - nameServers?: Array; + readonly domainNotRenewableReasons?: Array<"RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive">; + readonly expirationTime?: string; + readonly lastRenewedTime?: string; + readonly managedHostNames?: Array; + readonly nameServers?: Array; privacy?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - readyForDnsRecordManagement?: boolean; - registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly readyForDnsRecordManagement?: boolean; + readonly registrationStatus?: "Active" | "Awaiting" | "Cancelled" | "Confiscated" | "Disabled" | "Excluded" | "Expired" | "Failed" | "Held" | "Locked" | "Parked" | "Pending" | "Reserved" | "Reverted" | "Suspended" | "Transferred" | "Unknown" | "Unlocked" | "Unparked" | "Updated" | "JsonConverterFailed"; targetDnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; } -// @public (undocumented) +// @public export interface DomainPurchaseConsent { agreedAt?: Date | string; agreedBy?: string; agreementKeys?: Array; } -// @public (undocumented) +// @public export interface DomainPurchaseConsentOutput { agreedAt?: string; agreedBy?: string; agreementKeys?: Array; } -// @public (undocumented) +// @public export interface DomainRecommendationSearchParameters { keywords?: string; maxDomainRecommendations?: number; @@ -6686,7 +6450,7 @@ export interface DomainRecommendationSearchParameters { // @public (undocumented) export interface DomainRegistrationProviderListOperations { - get(options?: DomainRegistrationProviderListOperationsParameters): Promise; + get(options?: DomainRegistrationProviderListOperationsParameters): StreamableMethod; } // @public @@ -6698,11 +6462,11 @@ export interface DomainRegistrationProviderListOperations200Response extends Htt } // @public -export interface DomainRegistrationProviderListOperationsdefaultResponse extends HttpResponse { +export interface DomainRegistrationProviderListOperationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6710,7 +6474,7 @@ export type DomainRegistrationProviderListOperationsParameters = RequestParamete // @public (undocumented) export interface DomainsCheckAvailability { - post(options: DomainsCheckAvailabilityParameters): Promise; + post(options: DomainsCheckAvailabilityParameters): StreamableMethod; } // @public @@ -6727,11 +6491,11 @@ export interface DomainsCheckAvailabilityBodyParam { } // @public -export interface DomainsCheckAvailabilitydefaultResponse extends HttpResponse { +export interface DomainsCheckAvailabilityDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6764,11 +6528,11 @@ export interface DomainsCreateOrUpdateBodyParam { } // @public -export interface DomainsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface DomainsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6790,11 +6554,11 @@ export interface DomainsCreateOrUpdateOwnershipIdentifierBodyParam { } // @public -export interface DomainsCreateOrUpdateOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6810,50 +6574,42 @@ export type DomainsCreateOrUpdateParameters = DomainsCreateOrUpdateMediaTypesPar // @public export interface DomainsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DomainsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface DomainsDeletedefaultResponse extends HttpResponse { +export interface DomainsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public export interface DomainsDeleteOwnershipIdentifier200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DomainsDeleteOwnershipIdentifier204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface DomainsDeleteOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface DomainsDeleteOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6875,10 +6631,10 @@ export interface DomainsDeleteQueryParamProperties { // @public (undocumented) export interface DomainsGet { - delete(options?: DomainsDeleteParameters): Promise; - get(options?: DomainsGetParameters): Promise; - patch(options: DomainsUpdateParameters): Promise; - put(options: DomainsCreateOrUpdateParameters): Promise; + delete(options?: DomainsDeleteParameters): StreamableMethod; + get(options?: DomainsGetParameters): StreamableMethod; + patch(options: DomainsUpdateParameters): StreamableMethod; + put(options: DomainsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -6891,7 +6647,7 @@ export interface DomainsGet200Response extends HttpResponse { // @public (undocumented) export interface DomainsGetControlCenterSsoRequest { - post(options?: DomainsGetControlCenterSsoRequestParameters): Promise; + post(options?: DomainsGetControlCenterSsoRequestParameters): StreamableMethod; } // @public @@ -6903,30 +6659,30 @@ export interface DomainsGetControlCenterSsoRequest200Response extends HttpRespon } // @public -export interface DomainsGetControlCenterSsoRequestdefaultResponse extends HttpResponse { +export interface DomainsGetControlCenterSsoRequestDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type DomainsGetControlCenterSsoRequestParameters = RequestParameters; // @public -export interface DomainsGetdefaultResponse extends HttpResponse { +export interface DomainsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface DomainsGetOwnershipIdentifier { - delete(options?: DomainsDeleteOwnershipIdentifierParameters): Promise; - get(options?: DomainsGetOwnershipIdentifierParameters): Promise; - patch(options: DomainsUpdateOwnershipIdentifierParameters): Promise; - put(options: DomainsCreateOrUpdateOwnershipIdentifierParameters): Promise; + delete(options?: DomainsDeleteOwnershipIdentifierParameters): StreamableMethod; + get(options?: DomainsGetOwnershipIdentifierParameters): StreamableMethod; + patch(options: DomainsUpdateOwnershipIdentifierParameters): StreamableMethod; + put(options: DomainsCreateOrUpdateOwnershipIdentifierParameters): StreamableMethod; } // @public @@ -6938,11 +6694,11 @@ export interface DomainsGetOwnershipIdentifier200Response extends HttpResponse { } // @public -export interface DomainsGetOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface DomainsGetOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -6953,7 +6709,7 @@ export type DomainsGetParameters = RequestParameters; // @public (undocumented) export interface DomainsList { - get(options?: DomainsListParameters): Promise; + get(options?: DomainsListParameters): StreamableMethod; } // @public @@ -6966,7 +6722,7 @@ export interface DomainsList200Response extends HttpResponse { // @public (undocumented) export interface DomainsListByResourceGroup { - get(options?: DomainsListByResourceGroupParameters): Promise; + get(options?: DomainsListByResourceGroupParameters): StreamableMethod; } // @public @@ -6978,27 +6734,27 @@ export interface DomainsListByResourceGroup200Response extends HttpResponse { } // @public -export interface DomainsListByResourceGroupdefaultResponse extends HttpResponse { +export interface DomainsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type DomainsListByResourceGroupParameters = RequestParameters; // @public -export interface DomainsListdefaultResponse extends HttpResponse { +export interface DomainsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface DomainsListOwnershipIdentifiers { - get(options?: DomainsListOwnershipIdentifiersParameters): Promise; + get(options?: DomainsListOwnershipIdentifiersParameters): StreamableMethod; } // @public @@ -7010,11 +6766,11 @@ export interface DomainsListOwnershipIdentifiers200Response extends HttpResponse } // @public -export interface DomainsListOwnershipIdentifiersdefaultResponse extends HttpResponse { +export interface DomainsListOwnershipIdentifiersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7025,7 +6781,7 @@ export type DomainsListParameters = RequestParameters; // @public (undocumented) export interface DomainsListRecommendations { - post(options: DomainsListRecommendationsParameters): Promise; + post(options: DomainsListRecommendationsParameters): StreamableMethod; } // @public @@ -7042,11 +6798,11 @@ export interface DomainsListRecommendationsBodyParam { } // @public -export interface DomainsListRecommendationsdefaultResponse extends HttpResponse { +export interface DomainsListRecommendationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7059,39 +6815,33 @@ export type DomainsListRecommendationsParameters = DomainsListRecommendationsMed // @public (undocumented) export interface DomainsRenew { - post(options?: DomainsRenewParameters): Promise; + post(options?: DomainsRenewParameters): StreamableMethod; } // @public export interface DomainsRenew200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DomainsRenew202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DomainsRenew204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface DomainsRenewdefaultResponse extends HttpResponse { +export interface DomainsRenewDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7099,7 +6849,7 @@ export type DomainsRenewParameters = RequestParameters; // @public (undocumented) export interface DomainsTransferOut { - put(options?: DomainsTransferOutParameters): Promise; + put(options?: DomainsTransferOutParameters): StreamableMethod; } // @public @@ -7112,18 +6862,16 @@ export interface DomainsTransferOut200Response extends HttpResponse { // @public export interface DomainsTransferOut400Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "400"; } // @public -export interface DomainsTransferOutdefaultResponse extends HttpResponse { +export interface DomainsTransferOutDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7151,11 +6899,11 @@ export interface DomainsUpdateBodyParam { } // @public -export interface DomainsUpdatedefaultResponse extends HttpResponse { +export interface DomainsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7177,11 +6925,11 @@ export interface DomainsUpdateOwnershipIdentifierBodyParam { } // @public -export interface DomainsUpdateOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface DomainsUpdateOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7195,23 +6943,23 @@ export type DomainsUpdateOwnershipIdentifierParameters = DomainsUpdateOwnershipI // @public (undocumented) export type DomainsUpdateParameters = DomainsUpdateMediaTypesParam & DomainsUpdateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface EnabledConfig { enabled?: boolean; } -// @public (undocumented) +// @public export interface EnabledConfigOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface EndpointDependencyOutput { domainName?: string; endpointDetails?: Array; } -// @public (undocumented) +// @public export interface EndpointDetailOutput { ipAddress?: string; isAccessible?: boolean; @@ -7219,21 +6967,21 @@ export interface EndpointDetailOutput { port?: number; } -// @public (undocumented) +// @public export interface EnvironmentVar { name?: string; secretRef?: string; value?: string; } -// @public (undocumented) +// @public export interface EnvironmentVarOutput { name?: string; secretRef?: string; value?: string; } -// @public (undocumented) +// @public export interface ErrorEntity { code?: string; details?: Array; @@ -7245,7 +6993,7 @@ export interface ErrorEntity { target?: string; } -// @public (undocumented) +// @public export interface ErrorEntityOutput { code?: string; details?: Array; @@ -7257,29 +7005,28 @@ export interface ErrorEntityOutput { target?: string; } -// @public (undocumented) +// @public export interface Experiments { rampUpRules?: Array; } -// @public (undocumented) +// @public export interface ExperimentsOutput { rampUpRules?: Array; } -// @public (undocumented) +// @public export interface ExtendedLocation { name?: string; - type?: string; } -// @public (undocumented) +// @public export interface ExtendedLocationOutput { name?: string; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface Facebook { enabled?: boolean; graphApiVersion?: string; @@ -7287,7 +7034,7 @@ export interface Facebook { registration?: AppRegistration; } -// @public (undocumented) +// @public export interface FacebookOutput { enabled?: boolean; graphApiVersion?: string; @@ -7295,48 +7042,48 @@ export interface FacebookOutput { registration?: AppRegistrationOutput; } -// @public (undocumented) +// @public export interface FileSystemApplicationLogsConfig { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; } -// @public (undocumented) +// @public export interface FileSystemApplicationLogsConfigOutput { level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; } -// @public (undocumented) +// @public export interface FileSystemHttpLogsConfig { enabled?: boolean; retentionInDays?: number; retentionInMb?: number; } -// @public (undocumented) +// @public export interface FileSystemHttpLogsConfigOutput { enabled?: boolean; retentionInDays?: number; retentionInMb?: number; } -// @public (undocumented) +// @public export interface FileSystemTokenStore { directory?: string; } -// @public (undocumented) +// @public export interface FileSystemTokenStoreOutput { directory?: string; } -// @public (undocumented) +// @public export interface ForwardProxy { convention?: "NoProxy" | "Standard" | "Custom"; customHostHeaderName?: string; customProtoHeaderName?: string; } -// @public (undocumented) +// @public export interface ForwardProxyOutput { convention?: "NoProxy" | "Standard" | "Custom"; customHostHeaderName?: string; @@ -7355,133 +7102,106 @@ export interface FrontEndConfigurationOutput { kind?: "NodePort" | "LoadBalancer"; } -// @public (undocumented) +// @public export interface FunctionAppMajorVersion { - displayText?: string; - minorVersions?: Array; - value?: string; } -// @public (undocumented) +// @public export interface FunctionAppMajorVersionOutput { - displayText?: string; - minorVersions?: Array; - value?: string; + readonly displayText?: string; + readonly minorVersions?: Array; + readonly value?: string; } -// @public (undocumented) +// @public export interface FunctionAppMinorVersion { - displayText?: string; - stackSettings?: FunctionAppRuntimes; - value?: string; } -// @public (undocumented) +// @public export interface FunctionAppMinorVersionOutput { - displayText?: string; - stackSettings?: FunctionAppRuntimesOutput; - value?: string; + readonly displayText?: string; + readonly stackSettings?: FunctionAppRuntimesOutput; + readonly value?: string; } -// @public (undocumented) +// @public export interface FunctionAppRuntimes { - linuxRuntimeSettings?: FunctionAppRuntimeSettings; - windowsRuntimeSettings?: FunctionAppRuntimeSettings; } -// @public (undocumented) +// @public export interface FunctionAppRuntimeSettings { - appInsightsSettings?: AppInsightsWebAppStackSettings; - appSettingsDictionary?: Record; - endOfLifeDate?: Date | string; - gitHubActionSettings?: GitHubActionWebAppStackSettings; - isAutoUpdate?: boolean; - isDefault?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - remoteDebuggingSupported?: boolean; - runtimeVersion?: string; - siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionary; - supportedFunctionsExtensionVersions?: Array; } -// @public (undocumented) +// @public export interface FunctionAppRuntimeSettingsOutput { - appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; - appSettingsDictionary?: Record; - endOfLifeDate?: string; - gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; - isAutoUpdate?: boolean; - isDefault?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - remoteDebuggingSupported?: boolean; - runtimeVersion?: string; - siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionaryOutput; - supportedFunctionsExtensionVersions?: Array; + readonly appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; + readonly appSettingsDictionary?: Record; + readonly endOfLifeDate?: string; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; + readonly isAutoUpdate?: boolean; + readonly isDefault?: boolean; + readonly isDeprecated?: boolean; + readonly isEarlyAccess?: boolean; + readonly isHidden?: boolean; + readonly isPreview?: boolean; + readonly remoteDebuggingSupported?: boolean; + readonly runtimeVersion?: string; + readonly siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionaryOutput; + readonly supportedFunctionsExtensionVersions?: Array; } -// @public (undocumented) +// @public export interface FunctionAppRuntimesOutput { - linuxRuntimeSettings?: FunctionAppRuntimeSettingsOutput; - windowsRuntimeSettings?: FunctionAppRuntimeSettingsOutput; + readonly linuxRuntimeSettings?: FunctionAppRuntimeSettingsOutput; + readonly windowsRuntimeSettings?: FunctionAppRuntimeSettingsOutput; } -// @public (undocumented) +// @public export interface FunctionAppStack extends ProxyOnlyResource { - location?: string; properties?: FunctionAppStackProperties; } -// @public (undocumented) +// @public export interface FunctionAppStackCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface FunctionAppStackOutput extends ProxyOnlyResourceOutput { - location?: string; + readonly location?: string; properties?: FunctionAppStackPropertiesOutput; } -// @public (undocumented) +// @public export interface FunctionAppStackProperties { - displayText?: string; - majorVersions?: Array; - preferredOs?: "Windows" | "Linux"; - value?: string; } -// @public (undocumented) +// @public export interface FunctionAppStackPropertiesOutput { - displayText?: string; - majorVersions?: Array; - preferredOs?: "Windows" | "Linux"; - value?: string; + readonly displayText?: string; + readonly majorVersions?: Array; + readonly preferredOs?: "Windows" | "Linux"; + readonly value?: string; } -// @public (undocumented) +// @public export interface FunctionEnvelope extends ProxyOnlyResource { properties?: FunctionEnvelopeProperties; } -// @public (undocumented) +// @public export interface FunctionEnvelopeCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface FunctionEnvelopeOutput extends ProxyOnlyResourceOutput { properties?: FunctionEnvelopePropertiesOutput; } -// @public (undocumented) +// @public export interface FunctionEnvelopeProperties { config?: Record; config_href?: string; @@ -7498,7 +7218,7 @@ export interface FunctionEnvelopeProperties { test_data_href?: string; } -// @public (undocumented) +// @public export interface FunctionEnvelopePropertiesOutput { config?: Record; config_href?: string; @@ -7515,58 +7235,55 @@ export interface FunctionEnvelopePropertiesOutput { test_data_href?: string; } -// @public (undocumented) +// @public export interface FunctionSecretsOutput { key?: string; trigger_url?: string; } -// @public (undocumented) +// @public export interface GeoRegion extends ProxyOnlyResource { properties?: GeoRegionProperties; } -// @public (undocumented) +// @public export interface GeoRegionCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface GeoRegionOutput extends ProxyOnlyResourceOutput { properties?: GeoRegionPropertiesOutput; } -// @public (undocumented) +// @public export interface GeoRegionProperties { - description?: string; - displayName?: string; - orgDomain?: string; } -// @public (undocumented) +// @public export interface GeoRegionPropertiesOutput { - description?: string; - displayName?: string; - orgDomain?: string; + readonly description?: string; + readonly displayName?: string; + readonly orgDomain?: string; } // @public export type GetArrayType = T extends Array ? TData : never; // @public -export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: LroEngineOptions>): PollerLike, TResult>; +export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions>): Promise, TResult>>; // @public -export type GetPage = (pageLink: string, maxPageSize?: number) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; // @public (undocumented) export interface GetPublishingUser { - get(options?: GetPublishingUserParameters): Promise; - put(options: UpdatePublishingUserParameters): Promise; + get(options?: GetPublishingUserParameters): StreamableMethod; + put(options: UpdatePublishingUserParameters): StreamableMethod; } // @public @@ -7578,11 +7295,11 @@ export interface GetPublishingUser200Response extends HttpResponse { } // @public -export interface GetPublishingUserdefaultResponse extends HttpResponse { +export interface GetPublishingUserDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7590,8 +7307,8 @@ export type GetPublishingUserParameters = RequestParameters; // @public (undocumented) export interface GetSourceControl { - get(options?: GetSourceControlParameters): Promise; - put(options: UpdateSourceControlParameters): Promise; + get(options?: GetSourceControlParameters): StreamableMethod; + put(options: UpdateSourceControlParameters): StreamableMethod; } // @public @@ -7603,11 +7320,11 @@ export interface GetSourceControl200Response extends HttpResponse { } // @public -export interface GetSourceControldefaultResponse extends HttpResponse { +export interface GetSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7615,7 +7332,7 @@ export type GetSourceControlParameters = RequestParameters; // @public (undocumented) export interface GetSubscriptionDeploymentLocations { - get(options?: GetSubscriptionDeploymentLocationsParameters): Promise; + get(options?: GetSubscriptionDeploymentLocationsParameters): StreamableMethod; } // @public @@ -7627,36 +7344,36 @@ export interface GetSubscriptionDeploymentLocations200Response extends HttpRespo } // @public -export interface GetSubscriptionDeploymentLocationsdefaultResponse extends HttpResponse { +export interface GetSubscriptionDeploymentLocationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type GetSubscriptionDeploymentLocationsParameters = RequestParameters; -// @public (undocumented) +// @public export interface GitHub { enabled?: boolean; login?: LoginScopes; registration?: ClientRegistration; } -// @public (undocumented) +// @public export interface GitHubActionCodeConfiguration { runtimeStack?: string; runtimeVersion?: string; } -// @public (undocumented) +// @public export interface GitHubActionCodeConfigurationOutput { runtimeStack?: string; runtimeVersion?: string; } -// @public (undocumented) +// @public export interface GitHubActionConfiguration { codeConfiguration?: GitHubActionCodeConfiguration; containerConfiguration?: GitHubActionContainerConfiguration; @@ -7664,7 +7381,7 @@ export interface GitHubActionConfiguration { isLinux?: boolean; } -// @public (undocumented) +// @public export interface GitHubActionConfigurationOutput { codeConfiguration?: GitHubActionCodeConfigurationOutput; containerConfiguration?: GitHubActionContainerConfigurationOutput; @@ -7672,7 +7389,7 @@ export interface GitHubActionConfigurationOutput { isLinux?: boolean; } -// @public (undocumented) +// @public export interface GitHubActionContainerConfiguration { imageName?: string; password?: string; @@ -7680,7 +7397,7 @@ export interface GitHubActionContainerConfiguration { username?: string; } -// @public (undocumented) +// @public export interface GitHubActionContainerConfigurationOutput { imageName?: string; password?: string; @@ -7688,26 +7405,24 @@ export interface GitHubActionContainerConfigurationOutput { username?: string; } -// @public (undocumented) +// @public export interface GitHubActionWebAppStackSettings { - isSupported?: boolean; - supportedVersion?: string; } -// @public (undocumented) +// @public export interface GitHubActionWebAppStackSettingsOutput { - isSupported?: boolean; - supportedVersion?: string; + readonly isSupported?: boolean; + readonly supportedVersion?: string; } -// @public (undocumented) +// @public export interface GitHubOutput { enabled?: boolean; login?: LoginScopesOutput; registration?: ClientRegistrationOutput; } -// @public (undocumented) +// @public export interface GlobalCsmSkuDescriptionOutput { capabilities?: Array; capacity?: SkuCapacityOutput; @@ -7720,7 +7435,7 @@ export interface GlobalCsmSkuDescriptionOutput { // @public (undocumented) export interface GlobalGetDeletedWebApp { - get(options?: GlobalGetDeletedWebAppParameters): Promise; + get(options?: GlobalGetDeletedWebAppParameters): StreamableMethod; } // @public @@ -7732,11 +7447,11 @@ export interface GlobalGetDeletedWebApp200Response extends HttpResponse { } // @public -export interface GlobalGetDeletedWebAppdefaultResponse extends HttpResponse { +export interface GlobalGetDeletedWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7744,7 +7459,7 @@ export type GlobalGetDeletedWebAppParameters = RequestParameters; // @public (undocumented) export interface GlobalGetDeletedWebAppSnapshots { - get(options?: GlobalGetDeletedWebAppSnapshotsParameters): Promise; + get(options?: GlobalGetDeletedWebAppSnapshotsParameters): StreamableMethod; } // @public @@ -7756,11 +7471,11 @@ export interface GlobalGetDeletedWebAppSnapshots200Response extends HttpResponse } // @public -export interface GlobalGetDeletedWebAppSnapshotsdefaultResponse extends HttpResponse { +export interface GlobalGetDeletedWebAppSnapshotsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -7768,29 +7483,27 @@ export type GlobalGetDeletedWebAppSnapshotsParameters = RequestParameters; // @public (undocumented) export interface GlobalGetSubscriptionOperationWithAsyncResponse { - get(options?: GlobalGetSubscriptionOperationWithAsyncResponseParameters): Promise; + get(options?: GlobalGetSubscriptionOperationWithAsyncResponseParameters): StreamableMethod; } // @public export interface GlobalGetSubscriptionOperationWithAsyncResponse204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface GlobalGetSubscriptionOperationWithAsyncResponsedefaultResponse extends HttpResponse { +export interface GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type GlobalGetSubscriptionOperationWithAsyncResponseParameters = RequestParameters; -// @public (undocumented) +// @public export interface GlobalValidation { excludedPaths?: Array; redirectToProvider?: string; @@ -7798,7 +7511,7 @@ export interface GlobalValidation { unauthenticatedClientAction?: "RedirectToLoginPage" | "AllowAnonymous" | "Return401" | "Return403"; } -// @public (undocumented) +// @public export interface GlobalValidationOutput { excludedPaths?: Array; redirectToProvider?: string; @@ -7806,7 +7519,7 @@ export interface GlobalValidationOutput { unauthenticatedClientAction?: "RedirectToLoginPage" | "AllowAnonymous" | "Return401" | "Return403"; } -// @public (undocumented) +// @public export interface Google { enabled?: boolean; login?: LoginScopes; @@ -7814,7 +7527,7 @@ export interface Google { validation?: AllowedAudiencesValidation; } -// @public (undocumented) +// @public export interface GoogleOutput { enabled?: boolean; login?: LoginScopesOutput; @@ -7822,54 +7535,52 @@ export interface GoogleOutput { validation?: AllowedAudiencesValidationOutput; } -// @public (undocumented) +// @public export interface HandlerMapping { arguments?: string; extension?: string; scriptProcessor?: string; } -// @public (undocumented) +// @public export interface HandlerMappingOutput { arguments?: string; extension?: string; scriptProcessor?: string; } -// @public (undocumented) +// @public export interface HostingEnvironmentDeploymentInfoOutput { location?: string; name?: string; } -// @public (undocumented) +// @public export interface HostingEnvironmentDiagnosticsOutput { diagnosticsOutput?: string; name?: string; } -// @public (undocumented) +// @public export interface HostingEnvironmentProfile { id?: string; - name?: string; - type?: string; } -// @public (undocumented) +// @public export interface HostingEnvironmentProfileOutput { id?: string; - name?: string; - type?: string; + readonly name?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface HostKeysOutput { functionKeys?: Record; masterKey?: string; systemKeys?: Record; } -// @public (undocumented) +// @public export interface HostName { azureResourceName?: string; azureResourceType?: "Website" | "TrafficManager"; @@ -7879,23 +7590,23 @@ export interface HostName { siteNames?: Array; } -// @public (undocumented) +// @public export interface HostNameBinding extends ProxyOnlyResource { properties?: HostNameBindingProperties; } -// @public (undocumented) +// @public export interface HostNameBindingCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface HostNameBindingOutput extends ProxyOnlyResourceOutput { properties?: HostNameBindingPropertiesOutput; } -// @public (undocumented) +// @public export interface HostNameBindingProperties { azureResourceName?: string; azureResourceType?: "Website" | "TrafficManager"; @@ -7905,10 +7616,9 @@ export interface HostNameBindingProperties { siteName?: string; sslState?: "Disabled" | "SniEnabled" | "IpBasedEnabled"; thumbprint?: string; - virtualIP?: string; } -// @public (undocumented) +// @public export interface HostNameBindingPropertiesOutput { azureResourceName?: string; azureResourceType?: "Website" | "TrafficManager"; @@ -7918,10 +7628,10 @@ export interface HostNameBindingPropertiesOutput { siteName?: string; sslState?: "Disabled" | "SniEnabled" | "IpBasedEnabled"; thumbprint?: string; - virtualIP?: string; + readonly virtualIP?: string; } -// @public (undocumented) +// @public export interface HostNameOutput { azureResourceName?: string; azureResourceType?: "Website" | "TrafficManager"; @@ -7931,7 +7641,7 @@ export interface HostNameOutput { siteNames?: Array; } -// @public (undocumented) +// @public export interface HostNameSslState { hostType?: "Standard" | "Repository"; name?: string; @@ -7941,7 +7651,7 @@ export interface HostNameSslState { virtualIP?: string; } -// @public (undocumented) +// @public export interface HostNameSslStateOutput { hostType?: "Standard" | "Repository"; name?: string; @@ -7951,115 +7661,111 @@ export interface HostNameSslStateOutput { virtualIP?: string; } -// @public (undocumented) +// @public export interface HttpLogsConfig { azureBlobStorage?: AzureBlobStorageHttpLogsConfig; fileSystem?: FileSystemHttpLogsConfig; } -// @public (undocumented) +// @public export interface HttpLogsConfigOutput { azureBlobStorage?: AzureBlobStorageHttpLogsConfigOutput; fileSystem?: FileSystemHttpLogsConfigOutput; } -// @public (undocumented) +// @public export interface HttpScaleRule { auth?: Array; metadata?: Record; } -// @public (undocumented) +// @public export interface HttpScaleRuleOutput { auth?: Array; metadata?: Record; } -// @public (undocumented) +// @public export interface HttpSettings { forwardProxy?: ForwardProxy; requireHttps?: boolean; routes?: HttpSettingsRoutes; } -// @public (undocumented) +// @public export interface HttpSettingsOutput { forwardProxy?: ForwardProxyOutput; requireHttps?: boolean; routes?: HttpSettingsRoutesOutput; } -// @public (undocumented) +// @public export interface HttpSettingsRoutes { apiPrefix?: string; } -// @public (undocumented) +// @public export interface HttpSettingsRoutesOutput { apiPrefix?: string; } -// @public (undocumented) +// @public export interface HybridConnection extends ProxyOnlyResource { properties?: HybridConnectionProperties; } -// @public (undocumented) +// @public export interface HybridConnectionCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface HybridConnectionKey extends ProxyOnlyResource { properties?: HybridConnectionKeyProperties; } -// @public (undocumented) +// @public export interface HybridConnectionKeyOutput extends ProxyOnlyResourceOutput { properties?: HybridConnectionKeyPropertiesOutput; } -// @public (undocumented) +// @public export interface HybridConnectionKeyProperties { - sendKeyName?: string; - sendKeyValue?: string; } -// @public (undocumented) +// @public export interface HybridConnectionKeyPropertiesOutput { - sendKeyName?: string; - sendKeyValue?: string; + readonly sendKeyName?: string; + readonly sendKeyValue?: string; } -// @public (undocumented) +// @public export interface HybridConnectionLimits extends ProxyOnlyResource { properties?: HybridConnectionLimitsProperties; } -// @public (undocumented) +// @public export interface HybridConnectionLimitsOutput extends ProxyOnlyResourceOutput { properties?: HybridConnectionLimitsPropertiesOutput; } -// @public (undocumented) +// @public export interface HybridConnectionLimitsProperties { - current?: number; - maximum?: number; } -// @public (undocumented) +// @public export interface HybridConnectionLimitsPropertiesOutput { - current?: number; - maximum?: number; + readonly current?: number; + readonly maximum?: number; } -// @public (undocumented) +// @public export interface HybridConnectionOutput extends ProxyOnlyResourceOutput { properties?: HybridConnectionPropertiesOutput; } -// @public (undocumented) +// @public export interface HybridConnectionProperties { hostname?: string; port?: number; @@ -8071,7 +7777,7 @@ export interface HybridConnectionProperties { serviceBusSuffix?: string; } -// @public (undocumented) +// @public export interface HybridConnectionPropertiesOutput { hostname?: string; port?: number; @@ -8083,142 +7789,2097 @@ export interface HybridConnectionPropertiesOutput { serviceBusSuffix?: string; } -// @public (undocumented) +// @public export interface Identifier extends ProxyOnlyResource { properties?: IdentifierProperties; } -// @public (undocumented) +// @public export interface IdentifierCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface IdentifierOutput extends ProxyOnlyResourceOutput { properties?: IdentifierPropertiesOutput; } -// @public (undocumented) +// @public export interface IdentifierProperties { id?: string; } -// @public (undocumented) +// @public export interface IdentifierPropertiesOutput { id?: string; } +// @public +export interface IdentityProviders { + apple?: Apple; + azureActiveDirectory?: AzureActiveDirectory; + azureStaticWebApps?: AzureStaticWebApps; + customOpenIdConnectProviders?: Record; + facebook?: Facebook; + gitHub?: GitHub; + google?: Google; + legacyMicrosoftAccount?: LegacyMicrosoftAccount; + twitter?: Twitter; +} + +// @public +export interface IdentityProvidersOutput { + apple?: AppleOutput; + azureActiveDirectory?: AzureActiveDirectoryOutput; + azureStaticWebApps?: AzureStaticWebAppsOutput; + customOpenIdConnectProviders?: Record; + facebook?: FacebookOutput; + gitHub?: GitHubOutput; + google?: GoogleOutput; + legacyMicrosoftAccount?: LegacyMicrosoftAccountOutput; + twitter?: TwitterOutput; +} + +// @public +export interface InboundEnvironmentEndpointCollectionOutput { + readonly nextLink?: string; + value: Array; +} + +// @public +export interface InboundEnvironmentEndpointOutput { + description?: string; + endpoints?: Array; + ports?: Array; +} + +// @public +export interface Ingress { + allowInsecure?: boolean; + external?: boolean; + targetPort?: number; + // (undocumented) + traffic?: Array; + transport?: "auto" | "http" | "http2"; +} + +// @public +export interface IngressOutput { + allowInsecure?: boolean; + external?: boolean; + readonly fqdn?: string; + targetPort?: number; + // (undocumented) + traffic?: Array; + transport?: "auto" | "http" | "http2"; +} + +// @public +export interface IpSecurityRestriction { + action?: string; + description?: string; + headers?: Record>; + ipAddress?: string; + name?: string; + priority?: number; + subnetMask?: string; + subnetTrafficTag?: number; + tag?: "Default" | "XffProxy" | "ServiceTag"; + vnetSubnetResourceId?: string; + vnetTrafficTag?: number; +} + +// @public +export interface IpSecurityRestrictionOutput { + action?: string; + description?: string; + headers?: Record>; + ipAddress?: string; + name?: string; + priority?: number; + subnetMask?: string; + subnetTrafficTag?: number; + tag?: "Default" | "XffProxy" | "ServiceTag"; + vnetSubnetResourceId?: string; + vnetTrafficTag?: number; +} + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersList200Response | AppServiceCertificateOrdersListDefaultResponse): response is AppServiceCertificateOrdersListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersValidatePurchaseInformation204Response | AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse): response is AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersListByResourceGroup200Response | AppServiceCertificateOrdersListByResourceGroupDefaultResponse): response is AppServiceCertificateOrdersListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersGet200Response | AppServiceCertificateOrdersGetDefaultResponse): response is AppServiceCertificateOrdersGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersCreateOrUpdate200Response | AppServiceCertificateOrdersCreateOrUpdate201Response | AppServiceCertificateOrdersCreateOrUpdateDefaultResponse): response is AppServiceCertificateOrdersCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersDelete200Response | AppServiceCertificateOrdersDelete204Response | AppServiceCertificateOrdersDeleteDefaultResponse): response is AppServiceCertificateOrdersDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersUpdate200Response | AppServiceCertificateOrdersUpdateDefaultResponse): response is AppServiceCertificateOrdersUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersListCertificates200Response | AppServiceCertificateOrdersListCertificatesDefaultResponse): response is AppServiceCertificateOrdersListCertificatesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersGetCertificate200Response | AppServiceCertificateOrdersGetCertificateDefaultResponse): response is AppServiceCertificateOrdersGetCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersCreateOrUpdateCertificate200Response | AppServiceCertificateOrdersCreateOrUpdateCertificate201Response | AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse): response is AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersDeleteCertificate200Response | AppServiceCertificateOrdersDeleteCertificate204Response | AppServiceCertificateOrdersDeleteCertificateDefaultResponse): response is AppServiceCertificateOrdersDeleteCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersUpdateCertificate200Response | AppServiceCertificateOrdersUpdateCertificateDefaultResponse): response is AppServiceCertificateOrdersUpdateCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersReissue204Response | AppServiceCertificateOrdersReissueDefaultResponse): response is AppServiceCertificateOrdersReissueDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersRenew204Response | AppServiceCertificateOrdersRenewDefaultResponse): response is AppServiceCertificateOrdersRenewDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersResendEmail204Response | AppServiceCertificateOrdersResendEmailDefaultResponse): response is AppServiceCertificateOrdersResendEmailDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersResendRequestEmails204Response | AppServiceCertificateOrdersResendRequestEmailsDefaultResponse): response is AppServiceCertificateOrdersResendRequestEmailsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersRetrieveSiteSeal200Response | AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse): response is AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersVerifyDomainOwnership204Response | AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse): response is AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersRetrieveCertificateActions200Response | AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse): response is AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response | AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse): response is AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse): response is CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse): response is CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificateRegistrationProviderListOperations200Response | CertificateRegistrationProviderListOperationsDefaultResponse): response is CertificateRegistrationProviderListOperationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsCheckAvailability200Response | DomainsCheckAvailabilityDefaultResponse): response is DomainsCheckAvailabilityDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsList200Response | DomainsListDefaultResponse): response is DomainsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsGetControlCenterSsoRequest200Response | DomainsGetControlCenterSsoRequestDefaultResponse): response is DomainsGetControlCenterSsoRequestDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsListRecommendations200Response | DomainsListRecommendationsDefaultResponse): response is DomainsListRecommendationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsListByResourceGroup200Response | DomainsListByResourceGroupDefaultResponse): response is DomainsListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsGet200Response | DomainsGetDefaultResponse): response is DomainsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsCreateOrUpdate200Response | DomainsCreateOrUpdate202Response | DomainsCreateOrUpdateDefaultResponse): response is DomainsCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsDelete200Response | DomainsDelete204Response | DomainsDeleteDefaultResponse): response is DomainsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsUpdate200Response | DomainsUpdate202Response | DomainsUpdateDefaultResponse): response is DomainsUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsListOwnershipIdentifiers200Response | DomainsListOwnershipIdentifiersDefaultResponse): response is DomainsListOwnershipIdentifiersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsGetOwnershipIdentifier200Response | DomainsGetOwnershipIdentifierDefaultResponse): response is DomainsGetOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsCreateOrUpdateOwnershipIdentifier200Response | DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse): response is DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsDeleteOwnershipIdentifier200Response | DomainsDeleteOwnershipIdentifier204Response | DomainsDeleteOwnershipIdentifierDefaultResponse): response is DomainsDeleteOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsUpdateOwnershipIdentifier200Response | DomainsUpdateOwnershipIdentifierDefaultResponse): response is DomainsUpdateOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsRenew200Response | DomainsRenew202Response | DomainsRenew204Response | DomainsRenewDefaultResponse): response is DomainsRenewDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainsTransferOut200Response | DomainsTransferOut400Response | DomainsTransferOutDefaultResponse): response is DomainsTransferOut400Response; + +// @public (undocumented) +export function isUnexpected(response: TopLevelDomainsList200Response | TopLevelDomainsListDefaultResponse): response is TopLevelDomainsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TopLevelDomainsGet200Response | TopLevelDomainsGetDefaultResponse): response is TopLevelDomainsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TopLevelDomainsListAgreements200Response | TopLevelDomainsListAgreementsDefaultResponse): response is TopLevelDomainsListAgreementsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DomainRegistrationProviderListOperations200Response | DomainRegistrationProviderListOperationsDefaultResponse): response is DomainRegistrationProviderListOperationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsList200Response | AppServiceEnvironmentsListDefaultResponse): response is AppServiceEnvironmentsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListByResourceGroup200Response | AppServiceEnvironmentsListByResourceGroupDefaultResponse): response is AppServiceEnvironmentsListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGet200Response | AppServiceEnvironmentsGetDefaultResponse): response is AppServiceEnvironmentsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsCreateOrUpdate200Response | AppServiceEnvironmentsCreateOrUpdate201Response | AppServiceEnvironmentsCreateOrUpdate202Response | AppServiceEnvironmentsCreateOrUpdateDefaultResponse): response is AppServiceEnvironmentsCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsDelete202Response | AppServiceEnvironmentsDelete204Response | AppServiceEnvironmentsDeleteDefaultResponse): response is AppServiceEnvironmentsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsUpdate200Response | AppServiceEnvironmentsUpdate201Response | AppServiceEnvironmentsUpdate202Response | AppServiceEnvironmentsUpdateDefaultResponse): response is AppServiceEnvironmentsUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListCapacities200Response | AppServiceEnvironmentsListCapacitiesDefaultResponse): response is AppServiceEnvironmentsListCapacitiesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetVipInfo200Response | AppServiceEnvironmentsGetVipInfoDefaultResponse): response is AppServiceEnvironmentsGetVipInfoDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsChangeVnet200Response | AppServiceEnvironmentsChangeVnet202Response | AppServiceEnvironmentsChangeVnetDefaultResponse): response is AppServiceEnvironmentsChangeVnetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response | AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse): response is AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response | AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse): response is AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListDiagnostics200Response | AppServiceEnvironmentsListDiagnosticsDefaultResponse): response is AppServiceEnvironmentsListDiagnosticsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetDiagnosticsItem200Response | AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse): response is AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse): response is AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListMultiRolePools200Response | AppServiceEnvironmentsListMultiRolePoolsDefaultResponse): response is AppServiceEnvironmentsListMultiRolePoolsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetMultiRolePool200Response | AppServiceEnvironmentsGetMultiRolePoolDefaultResponse): response is AppServiceEnvironmentsGetMultiRolePoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response | AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response | AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse): response is AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsUpdateMultiRolePool200Response | AppServiceEnvironmentsUpdateMultiRolePool202Response | AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse): response is AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse): response is AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response | AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse): response is AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListMultiRolePoolSkus200Response | AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse): response is AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListMultiRoleUsages200Response | AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse): response is AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListOperations200Response | AppServiceEnvironmentsListOperationsDefaultResponse): response is AppServiceEnvironmentsListOperationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse): response is AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response | AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse): response is AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetPrivateEndpointConnection200Response | AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse): response is AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse): response is AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsDeletePrivateEndpointConnection200Response | AppServiceEnvironmentsDeletePrivateEndpointConnection202Response | AppServiceEnvironmentsDeletePrivateEndpointConnection204Response | AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse): response is AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetPrivateLinkResources200Response | AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse): response is AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsReboot202Response | AppServiceEnvironmentsRebootDefaultResponse): response is AppServiceEnvironmentsRebootDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsResume200Response | AppServiceEnvironmentsResume202Response | AppServiceEnvironmentsResumeDefaultResponse): response is AppServiceEnvironmentsResumeDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListAppServicePlans200Response | AppServiceEnvironmentsListAppServicePlansDefaultResponse): response is AppServiceEnvironmentsListAppServicePlansDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWebApps200Response | AppServiceEnvironmentsListWebAppsDefaultResponse): response is AppServiceEnvironmentsListWebAppsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsSuspend200Response | AppServiceEnvironmentsSuspend202Response | AppServiceEnvironmentsSuspendDefaultResponse): response is AppServiceEnvironmentsSuspendDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListUsages200Response | AppServiceEnvironmentsListUsagesDefaultResponse): response is AppServiceEnvironmentsListUsagesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWorkerPools200Response | AppServiceEnvironmentsListWorkerPoolsDefaultResponse): response is AppServiceEnvironmentsListWorkerPoolsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsGetWorkerPool200Response | AppServiceEnvironmentsGetWorkerPoolDefaultResponse): response is AppServiceEnvironmentsGetWorkerPoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response | AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response | AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse): response is AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsUpdateWorkerPool200Response | AppServiceEnvironmentsUpdateWorkerPool202Response | AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse): response is AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse): response is AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response | AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse): response is AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWorkerPoolSkus200Response | AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse): response is AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServiceEnvironmentsListWebWorkerUsages200Response | AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse): response is AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansList200Response | AppServicePlansListDefaultResponse): response is AppServicePlansListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListByResourceGroup200Response | AppServicePlansListByResourceGroupDefaultResponse): response is AppServicePlansListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGet200Response | AppServicePlansGet404Response | AppServicePlansGetDefaultResponse): response is AppServicePlansGet404Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansCreateOrUpdate200Response | AppServicePlansCreateOrUpdate202Response | AppServicePlansCreateOrUpdateDefaultResponse): response is AppServicePlansCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansDelete200Response | AppServicePlansDelete204Response | AppServicePlansDeleteDefaultResponse): response is AppServicePlansDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansUpdate200Response | AppServicePlansUpdate202Response | AppServicePlansUpdateDefaultResponse): response is AppServicePlansUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListCapabilities200Response | AppServicePlansListCapabilitiesDefaultResponse): response is AppServicePlansListCapabilitiesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetHybridConnection200Response | AppServicePlansGetHybridConnectionDefaultResponse): response is AppServicePlansGetHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansDeleteHybridConnection200Response | AppServicePlansDeleteHybridConnection204Response | AppServicePlansDeleteHybridConnectionDefaultResponse): response is AppServicePlansDeleteHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListHybridConnectionKeys200Response | AppServicePlansListHybridConnectionKeysDefaultResponse): response is AppServicePlansListHybridConnectionKeysDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListWebAppsByHybridConnection200Response | AppServicePlansListWebAppsByHybridConnectionDefaultResponse): response is AppServicePlansListWebAppsByHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetHybridConnectionPlanLimit200Response | AppServicePlansGetHybridConnectionPlanLimitDefaultResponse): response is AppServicePlansGetHybridConnectionPlanLimitDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListHybridConnections200Response | AppServicePlansListHybridConnectionsDefaultResponse): response is AppServicePlansListHybridConnectionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansRestartWebApps204Response | AppServicePlansRestartWebAppsDefaultResponse): response is AppServicePlansRestartWebAppsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListWebApps200Response | AppServicePlansListWebAppsDefaultResponse): response is AppServicePlansListWebAppsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetServerFarmSkus200Response | AppServicePlansGetServerFarmSkusDefaultResponse): response is AppServicePlansGetServerFarmSkusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListUsages200Response | AppServicePlansListUsagesDefaultResponse): response is AppServicePlansListUsagesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListVnets200Response | AppServicePlansListVnetsDefaultResponse): response is AppServicePlansListVnetsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetVnetFromServerFarm200Response | AppServicePlansGetVnetFromServerFarm404Response | AppServicePlansGetVnetFromServerFarmDefaultResponse): response is AppServicePlansGetVnetFromServerFarm404Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetVnetGateway200Response | AppServicePlansGetVnetGatewayDefaultResponse): response is AppServicePlansGetVnetGatewayDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansUpdateVnetGateway200Response | AppServicePlansUpdateVnetGatewayDefaultResponse): response is AppServicePlansUpdateVnetGatewayDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansListRoutesForVnet200Response | AppServicePlansListRoutesForVnetDefaultResponse): response is AppServicePlansListRoutesForVnetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansGetRouteForVnet200Response | AppServicePlansGetRouteForVnet404Response | AppServicePlansGetRouteForVnetDefaultResponse): response is AppServicePlansGetRouteForVnet404Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansCreateOrUpdateVnetRoute200Response | AppServicePlansCreateOrUpdateVnetRoute400Response | AppServicePlansCreateOrUpdateVnetRoute404Response | AppServicePlansCreateOrUpdateVnetRouteDefaultResponse): response is AppServicePlansCreateOrUpdateVnetRoute400Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansDeleteVnetRoute200Response | AppServicePlansDeleteVnetRoute404Response | AppServicePlansDeleteVnetRouteDefaultResponse): response is AppServicePlansDeleteVnetRoute404Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansUpdateVnetRoute200Response | AppServicePlansUpdateVnetRoute400Response | AppServicePlansUpdateVnetRoute404Response | AppServicePlansUpdateVnetRouteDefaultResponse): response is AppServicePlansUpdateVnetRoute400Response; + +// @public (undocumented) +export function isUnexpected(response: AppServicePlansRebootWorker204Response | AppServicePlansRebootWorkerDefaultResponse): response is AppServicePlansRebootWorkerDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesList200Response | CertificatesListDefaultResponse): response is CertificatesListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesListByResourceGroup200Response | CertificatesListByResourceGroupDefaultResponse): response is CertificatesListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesGet200Response | CertificatesGetDefaultResponse): response is CertificatesGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesCreateOrUpdate200Response | CertificatesCreateOrUpdateDefaultResponse): response is CertificatesCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesDelete200Response | CertificatesDelete204Response | CertificatesDeleteDefaultResponse): response is CertificatesDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CertificatesUpdate200Response | CertificatesUpdateDefaultResponse): response is CertificatesUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsListBySubscription200Response | ContainerAppsListBySubscriptionDefaultResponse): response is ContainerAppsListBySubscriptionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsListByResourceGroup200Response | ContainerAppsListByResourceGroupDefaultResponse): response is ContainerAppsListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsGet200Response | ContainerAppsGet404Response | ContainerAppsGetDefaultResponse): response is ContainerAppsGet404Response; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsCreateOrUpdate200Response | ContainerAppsCreateOrUpdate201Response | ContainerAppsCreateOrUpdateDefaultResponse): response is ContainerAppsCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsDelete200Response | ContainerAppsDelete202Response | ContainerAppsDelete204Response | ContainerAppsDeleteDefaultResponse): response is ContainerAppsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsListSecrets200Response | ContainerAppsListSecretsDefaultResponse): response is ContainerAppsListSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsRevisionsListRevisions200Response | ContainerAppsRevisionsListRevisionsDefaultResponse): response is ContainerAppsRevisionsListRevisionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsRevisionsGetRevision200Response | ContainerAppsRevisionsGetRevisionDefaultResponse): response is ContainerAppsRevisionsGetRevisionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsRevisionsActivateRevision200Response | ContainerAppsRevisionsActivateRevisionDefaultResponse): response is ContainerAppsRevisionsActivateRevisionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsRevisionsDeactivateRevision200Response | ContainerAppsRevisionsDeactivateRevisionDefaultResponse): response is ContainerAppsRevisionsDeactivateRevisionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ContainerAppsRevisionsRestartRevision200Response | ContainerAppsRevisionsRestartRevisionDefaultResponse): response is ContainerAppsRevisionsRestartRevisionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DeletedWebAppsList200Response | DeletedWebAppsListDefaultResponse): response is DeletedWebAppsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DeletedWebAppsListByLocation200Response | DeletedWebAppsListByLocationDefaultResponse): response is DeletedWebAppsListByLocationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DeletedWebAppsGetDeletedWebAppByLocation200Response | DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse): response is DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListHostingEnvironmentDetectorResponses200Response | DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse): response is DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetHostingEnvironmentDetectorResponse200Response | DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse): response is DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDetectorResponses200Response | DiagnosticsListSiteDetectorResponsesDefaultResponse): response is DiagnosticsListSiteDetectorResponsesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDetectorResponse200Response | DiagnosticsGetSiteDetectorResponseDefaultResponse): response is DiagnosticsGetSiteDetectorResponseDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDiagnosticCategories200Response | DiagnosticsListSiteDiagnosticCategoriesDefaultResponse): response is DiagnosticsListSiteDiagnosticCategoriesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDiagnosticCategory200Response | DiagnosticsGetSiteDiagnosticCategoryDefaultResponse): response is DiagnosticsGetSiteDiagnosticCategoryDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteAnalyses200Response | DiagnosticsListSiteAnalysesDefaultResponse): response is DiagnosticsListSiteAnalysesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteAnalysis200Response | DiagnosticsGetSiteAnalysisDefaultResponse): response is DiagnosticsGetSiteAnalysisDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsExecuteSiteAnalysis200Response | DiagnosticsExecuteSiteAnalysisDefaultResponse): response is DiagnosticsExecuteSiteAnalysisDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDetectors200Response | DiagnosticsListSiteDetectorsDefaultResponse): response is DiagnosticsListSiteDetectorsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDetector200Response | DiagnosticsGetSiteDetectorDefaultResponse): response is DiagnosticsGetSiteDetectorDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsExecuteSiteDetector200Response | DiagnosticsExecuteSiteDetectorDefaultResponse): response is DiagnosticsExecuteSiteDetectorDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDetectorResponsesSlot200Response | DiagnosticsListSiteDetectorResponsesSlotDefaultResponse): response is DiagnosticsListSiteDetectorResponsesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDetectorResponseSlot200Response | DiagnosticsGetSiteDetectorResponseSlotDefaultResponse): response is DiagnosticsGetSiteDetectorResponseSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDiagnosticCategoriesSlot200Response | DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse): response is DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDiagnosticCategorySlot200Response | DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse): response is DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteAnalysesSlot200Response | DiagnosticsListSiteAnalysesSlotDefaultResponse): response is DiagnosticsListSiteAnalysesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteAnalysisSlot200Response | DiagnosticsGetSiteAnalysisSlotDefaultResponse): response is DiagnosticsGetSiteAnalysisSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsExecuteSiteAnalysisSlot200Response | DiagnosticsExecuteSiteAnalysisSlotDefaultResponse): response is DiagnosticsExecuteSiteAnalysisSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsListSiteDetectorsSlot200Response | DiagnosticsListSiteDetectorsSlotDefaultResponse): response is DiagnosticsListSiteDetectorsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsGetSiteDetectorSlot200Response | DiagnosticsGetSiteDetectorSlotDefaultResponse): response is DiagnosticsGetSiteDetectorSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: DiagnosticsExecuteSiteDetectorSlot200Response | DiagnosticsExecuteSiteDetectorSlotDefaultResponse): response is DiagnosticsExecuteSiteDetectorSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GlobalGetDeletedWebApp200Response | GlobalGetDeletedWebAppDefaultResponse): response is GlobalGetDeletedWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GlobalGetDeletedWebAppSnapshots200Response | GlobalGetDeletedWebAppSnapshotsDefaultResponse): response is GlobalGetDeletedWebAppSnapshotsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GlobalGetSubscriptionOperationWithAsyncResponse204Response | GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse): response is GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsListBySubscription200Response | KubeEnvironmentsListBySubscriptionDefaultResponse): response is KubeEnvironmentsListBySubscriptionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsListByResourceGroup200Response | KubeEnvironmentsListByResourceGroupDefaultResponse): response is KubeEnvironmentsListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsGet200Response | KubeEnvironmentsGetDefaultResponse): response is KubeEnvironmentsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsCreateOrUpdate200Response | KubeEnvironmentsCreateOrUpdate201Response | KubeEnvironmentsCreateOrUpdateDefaultResponse): response is KubeEnvironmentsCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsDelete200Response | KubeEnvironmentsDelete202Response | KubeEnvironmentsDelete204Response | KubeEnvironmentsDeleteDefaultResponse): response is KubeEnvironmentsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: KubeEnvironmentsUpdate200Response | KubeEnvironmentsUpdate201Response | KubeEnvironmentsUpdateDefaultResponse): response is KubeEnvironmentsUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetAvailableStacks200Response | ProviderGetAvailableStacksDefaultResponse): response is ProviderGetAvailableStacksDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetFunctionAppStacks200Response | ProviderGetFunctionAppStacksDefaultResponse): response is ProviderGetFunctionAppStacksDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetFunctionAppStacksForLocation200Response | ProviderGetFunctionAppStacksForLocationDefaultResponse): response is ProviderGetFunctionAppStacksForLocationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetWebAppStacksForLocation200Response | ProviderGetWebAppStacksForLocationDefaultResponse): response is ProviderGetWebAppStacksForLocationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderListOperations200Response | ProviderListOperationsDefaultResponse): response is ProviderListOperationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetWebAppStacks200Response | ProviderGetWebAppStacksDefaultResponse): response is ProviderGetWebAppStacksDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ProviderGetAvailableStacksOnPrem200Response | ProviderGetAvailableStacksOnPremDefaultResponse): response is ProviderGetAvailableStacksOnPremDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsList200Response | RecommendationsListDefaultResponse): response is RecommendationsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsResetAllFilters204Response | RecommendationsResetAllFiltersDefaultResponse): response is RecommendationsResetAllFiltersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsDisableRecommendationForSubscription200Response | RecommendationsDisableRecommendationForSubscriptionDefaultResponse): response is RecommendationsDisableRecommendationForSubscriptionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsListHistoryForHostingEnvironment200Response | RecommendationsListHistoryForHostingEnvironmentDefaultResponse): response is RecommendationsListHistoryForHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsListRecommendedRulesForHostingEnvironment200Response | RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse): response is RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsDisableAllForHostingEnvironment204Response | RecommendationsDisableAllForHostingEnvironmentDefaultResponse): response is RecommendationsDisableAllForHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsResetAllFiltersForHostingEnvironment204Response | RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse): response is RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsGetRuleDetailsByHostingEnvironment200Response | RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse): response is RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsDisableRecommendationForHostingEnvironment200Response | RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse): response is RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsListHistoryForWebApp200Response | RecommendationsListHistoryForWebAppDefaultResponse): response is RecommendationsListHistoryForWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsListRecommendedRulesForWebApp200Response | RecommendationsListRecommendedRulesForWebAppDefaultResponse): response is RecommendationsListRecommendedRulesForWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsDisableAllForWebApp204Response | RecommendationsDisableAllForWebAppDefaultResponse): response is RecommendationsDisableAllForWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsResetAllFiltersForWebApp204Response | RecommendationsResetAllFiltersForWebAppDefaultResponse): response is RecommendationsResetAllFiltersForWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsGetRuleDetailsByWebApp200Response | RecommendationsGetRuleDetailsByWebAppDefaultResponse): response is RecommendationsGetRuleDetailsByWebAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: RecommendationsDisableRecommendationForSite200Response | RecommendationsDisableRecommendationForSiteDefaultResponse): response is RecommendationsDisableRecommendationForSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataList200Response | ResourceHealthMetadataListDefaultResponse): response is ResourceHealthMetadataListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataListByResourceGroup200Response | ResourceHealthMetadataListByResourceGroupDefaultResponse): response is ResourceHealthMetadataListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataListBySite200Response | ResourceHealthMetadataListBySiteDefaultResponse): response is ResourceHealthMetadataListBySiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataGetBySite200Response | ResourceHealthMetadataGetBySiteDefaultResponse): response is ResourceHealthMetadataGetBySiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataListBySiteSlot200Response | ResourceHealthMetadataListBySiteSlotDefaultResponse): response is ResourceHealthMetadataListBySiteSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ResourceHealthMetadataGetBySiteSlot200Response | ResourceHealthMetadataGetBySiteSlotDefaultResponse): response is ResourceHealthMetadataGetBySiteSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GetPublishingUser200Response | GetPublishingUserDefaultResponse): response is GetPublishingUserDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: UpdatePublishingUser200Response | UpdatePublishingUserDefaultResponse): response is UpdatePublishingUserDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListSourceControls200Response | ListSourceControlsDefaultResponse): response is ListSourceControlsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GetSourceControl200Response | GetSourceControlDefaultResponse): response is GetSourceControlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: UpdateSourceControl200Response | UpdateSourceControlDefaultResponse): response is UpdateSourceControlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListBillingMeters200Response | ListBillingMetersDefaultResponse): response is ListBillingMetersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: CheckNameAvailability200Response | CheckNameAvailabilityDefaultResponse): response is CheckNameAvailabilityDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListCustomHostNameSites200Response | ListCustomHostNameSitesDefaultResponse): response is ListCustomHostNameSitesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: GetSubscriptionDeploymentLocations200Response | GetSubscriptionDeploymentLocationsDefaultResponse): response is GetSubscriptionDeploymentLocationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListGeoRegions200Response | ListGeoRegionsDefaultResponse): response is ListGeoRegionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListSiteIdentifiersAssignedToHostName200Response | ListSiteIdentifiersAssignedToHostNameDefaultResponse): response is ListSiteIdentifiersAssignedToHostNameDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListPremierAddOnOffers200Response | ListPremierAddOnOffersDefaultResponse): response is ListPremierAddOnOffersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ListSkus200Response | ListSkusDefaultResponse): response is ListSkusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: VerifyHostingEnvironmentVnet200Response | VerifyHostingEnvironmentVnetDefaultResponse): response is VerifyHostingEnvironmentVnetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: Move204Response | MoveDefaultResponse): response is MoveDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: Validate200Response | ValidateDefaultResponse): response is ValidateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: ValidateMove204Response | ValidateMoveDefaultResponse): response is ValidateMoveDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesPreviewWorkflow200Response | StaticSitesPreviewWorkflowDefaultResponse): response is StaticSitesPreviewWorkflowDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesList200Response | StaticSitesListDefaultResponse): response is StaticSitesListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetStaticSitesByResourceGroup200Response | StaticSitesGetStaticSitesByResourceGroupDefaultResponse): response is StaticSitesGetStaticSitesByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetStaticSite200Response | StaticSitesGetStaticSiteDefaultResponse): response is StaticSitesGetStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSite200Response | StaticSitesCreateOrUpdateStaticSite202Response | StaticSitesCreateOrUpdateStaticSiteDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDeleteStaticSite200Response | StaticSitesDeleteStaticSite202Response | StaticSitesDeleteStaticSiteDefaultResponse): response is StaticSitesDeleteStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesUpdateStaticSite200Response | StaticSitesUpdateStaticSite202Response | StaticSitesUpdateStaticSiteDefaultResponse): response is StaticSitesUpdateStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteUsers200Response | StaticSitesListStaticSiteUsersDefaultResponse): response is StaticSitesListStaticSiteUsersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDeleteStaticSiteUser200Response | StaticSitesDeleteStaticSiteUserDefaultResponse): response is StaticSitesDeleteStaticSiteUserDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesUpdateStaticSiteUser200Response | StaticSitesUpdateStaticSiteUserDefaultResponse): response is StaticSitesUpdateStaticSiteUserDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetStaticSiteBuilds200Response | StaticSitesGetStaticSiteBuildsDefaultResponse): response is StaticSitesGetStaticSiteBuildsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetStaticSiteBuild200Response | StaticSitesGetStaticSiteBuildDefaultResponse): response is StaticSitesGetStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDeleteStaticSiteBuild200Response | StaticSitesDeleteStaticSiteBuild202Response | StaticSitesDeleteStaticSiteBuild204Response | StaticSitesDeleteStaticSiteBuildDefaultResponse): response is StaticSitesDeleteStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteBuildFunctions200Response | StaticSitesListStaticSiteBuildFunctionsDefaultResponse): response is StaticSitesListStaticSiteBuildFunctionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteBuildAppSettings200Response | StaticSitesListStaticSiteBuildAppSettingsDefaultResponse): response is StaticSitesListStaticSiteBuildAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteBuildFunctionAppSettings200Response | StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse): response is StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse): response is StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse): response is StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse): response is StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse): response is StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateZipDeploymentForStaticSiteBuild200Response | StaticSitesCreateZipDeploymentForStaticSiteBuild202Response | StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse): response is StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSiteAppSettings200Response | StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateUserRolesInvitationLink200Response | StaticSitesCreateUserRolesInvitationLinkDefaultResponse): response is StaticSitesCreateUserRolesInvitationLinkDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteCustomDomains200Response | StaticSitesListStaticSiteCustomDomainsDefaultResponse): response is StaticSitesListStaticSiteCustomDomainsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetStaticSiteCustomDomain200Response | StaticSitesGetStaticSiteCustomDomainDefaultResponse): response is StaticSitesGetStaticSiteCustomDomainDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response | StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response | StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse): response is StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDeleteStaticSiteCustomDomain200Response | StaticSitesDeleteStaticSiteCustomDomain202Response | StaticSitesDeleteStaticSiteCustomDomainDefaultResponse): response is StaticSitesDeleteStaticSiteCustomDomainDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response | StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response | StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse): response is StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDetachStaticSite200Response | StaticSitesDetachStaticSite202Response | StaticSitesDetachStaticSiteDefaultResponse): response is StaticSitesDetachStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteFunctions200Response | StaticSitesListStaticSiteFunctionsDefaultResponse): response is StaticSitesListStaticSiteFunctionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteAppSettings200Response | StaticSitesListStaticSiteAppSettingsDefaultResponse): response is StaticSitesListStaticSiteAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteConfiguredRoles200Response | StaticSitesListStaticSiteConfiguredRolesDefaultResponse): response is StaticSitesListStaticSiteConfiguredRolesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteFunctionAppSettings200Response | StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse): response is StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesListStaticSiteSecrets200Response | StaticSitesListStaticSiteSecretsDefaultResponse): response is StaticSitesListStaticSiteSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetPrivateEndpointConnectionList200Response | StaticSitesGetPrivateEndpointConnectionListDefaultResponse): response is StaticSitesGetPrivateEndpointConnectionListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetPrivateEndpointConnection200Response | StaticSitesGetPrivateEndpointConnectionDefaultResponse): response is StaticSitesGetPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesApproveOrRejectPrivateEndpointConnection200Response | StaticSitesApproveOrRejectPrivateEndpointConnection202Response | StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse): response is StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDeletePrivateEndpointConnection200Response | StaticSitesDeletePrivateEndpointConnection202Response | StaticSitesDeletePrivateEndpointConnection204Response | StaticSitesDeletePrivateEndpointConnectionDefaultResponse): response is StaticSitesDeletePrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetPrivateLinkResources200Response | StaticSitesGetPrivateLinkResourcesDefaultResponse): response is StaticSitesGetPrivateLinkResourcesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesResetStaticSiteApiKey200Response | StaticSitesResetStaticSiteApiKeyDefaultResponse): response is StaticSitesResetStaticSiteApiKeyDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response | StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse): response is StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesGetUserProvidedFunctionAppForStaticSite200Response | StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse): response is StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse): response is StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse): response is StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StaticSitesCreateZipDeploymentForStaticSite200Response | StaticSitesCreateZipDeploymentForStaticSite202Response | StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse): response is StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsList200Response | WebAppsListDefaultResponse): response is WebAppsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListByResourceGroup200Response | WebAppsListByResourceGroupDefaultResponse): response is WebAppsListByResourceGroupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGet200Response | WebAppsGet404Response | WebAppsGetDefaultResponse): response is WebAppsGet404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdate200Response | WebAppsCreateOrUpdate202Response | WebAppsCreateOrUpdateDefaultResponse): response is WebAppsCreateOrUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDelete200Response | WebAppsDelete204Response | WebAppsDelete404Response | WebAppsDeleteDefaultResponse): response is WebAppsDelete404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdate200Response | WebAppsUpdate202Response | WebAppsUpdateDefaultResponse): response is WebAppsUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsAnalyzeCustomHostname200Response | WebAppsAnalyzeCustomHostnameDefaultResponse): response is WebAppsAnalyzeCustomHostnameDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsApplySlotConfigToProduction200Response | WebAppsApplySlotConfigToProductionDefaultResponse): response is WebAppsApplySlotConfigToProductionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsBackup200Response | WebAppsBackupDefaultResponse): response is WebAppsBackupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBackups200Response | WebAppsListBackupsDefaultResponse): response is WebAppsListBackupsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetBackupStatus200Response | WebAppsGetBackupStatusDefaultResponse): response is WebAppsGetBackupStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteBackup200Response | WebAppsDeleteBackup404Response | WebAppsDeleteBackupDefaultResponse): response is WebAppsDeleteBackup404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBackupStatusSecrets200Response | WebAppsListBackupStatusSecretsDefaultResponse): response is WebAppsListBackupStatusSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestore200Response | WebAppsRestore202Response | WebAppsRestoreDefaultResponse): response is WebAppsRestoreDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBasicPublishingCredentialsPolicies200Response | WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse): response is WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetFtpAllowed200Response | WebAppsGetFtpAllowedDefaultResponse): response is WebAppsGetFtpAllowedDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateFtpAllowed200Response | WebAppsUpdateFtpAllowedDefaultResponse): response is WebAppsUpdateFtpAllowedDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetScmAllowed200Response | WebAppsGetScmAllowedDefaultResponse): response is WebAppsGetScmAllowedDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateScmAllowed200Response | WebAppsUpdateScmAllowedDefaultResponse): response is WebAppsUpdateScmAllowedDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConfigurations200Response | WebAppsListConfigurationsDefaultResponse): response is WebAppsListConfigurationsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateApplicationSettings200Response | WebAppsUpdateApplicationSettingsDefaultResponse): response is WebAppsUpdateApplicationSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListApplicationSettings200Response | WebAppsListApplicationSettingsDefaultResponse): response is WebAppsListApplicationSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAuthSettings200Response | WebAppsUpdateAuthSettingsDefaultResponse): response is WebAppsUpdateAuthSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettings200Response | WebAppsGetAuthSettingsDefaultResponse): response is WebAppsGetAuthSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettingsV2WithoutSecrets200Response | WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse): response is WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAuthSettingsV2200Response | WebAppsUpdateAuthSettingsV2DefaultResponse): response is WebAppsUpdateAuthSettingsV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettingsV2200Response | WebAppsGetAuthSettingsV2DefaultResponse): response is WebAppsGetAuthSettingsV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAzureStorageAccounts200Response | WebAppsUpdateAzureStorageAccountsDefaultResponse): response is WebAppsUpdateAzureStorageAccountsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListAzureStorageAccounts200Response | WebAppsListAzureStorageAccountsDefaultResponse): response is WebAppsListAzureStorageAccountsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateBackupConfiguration200Response | WebAppsUpdateBackupConfigurationDefaultResponse): response is WebAppsUpdateBackupConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteBackupConfiguration200Response | WebAppsDeleteBackupConfigurationDefaultResponse): response is WebAppsDeleteBackupConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetBackupConfiguration200Response | WebAppsGetBackupConfigurationDefaultResponse): response is WebAppsGetBackupConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAppSettingsKeyVaultReferences200Response | WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse): response is WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAppSettingKeyVaultReference200Response | WebAppsGetAppSettingKeyVaultReferenceDefaultResponse): response is WebAppsGetAppSettingKeyVaultReferenceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteConnectionStringKeyVaultReferences200Response | WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse): response is WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteConnectionStringKeyVaultReference200Response | WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse): response is WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateConnectionStrings200Response | WebAppsUpdateConnectionStringsDefaultResponse): response is WebAppsUpdateConnectionStringsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConnectionStrings200Response | WebAppsListConnectionStringsDefaultResponse): response is WebAppsListConnectionStringsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDiagnosticLogsConfiguration200Response | WebAppsGetDiagnosticLogsConfigurationDefaultResponse): response is WebAppsGetDiagnosticLogsConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateDiagnosticLogsConfig200Response | WebAppsUpdateDiagnosticLogsConfigDefaultResponse): response is WebAppsUpdateDiagnosticLogsConfigDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateMetadata200Response | WebAppsUpdateMetadataDefaultResponse): response is WebAppsUpdateMetadataDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListMetadata200Response | WebAppsListMetadataDefaultResponse): response is WebAppsListMetadataDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublishingCredentials200Response | WebAppsListPublishingCredentialsDefaultResponse): response is WebAppsListPublishingCredentialsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSitePushSettings200Response | WebAppsUpdateSitePushSettingsDefaultResponse): response is WebAppsUpdateSitePushSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSitePushSettings200Response | WebAppsListSitePushSettingsDefaultResponse): response is WebAppsListSitePushSettingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSlotConfigurationNames200Response | WebAppsListSlotConfigurationNamesDefaultResponse): response is WebAppsListSlotConfigurationNamesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSlotConfigurationNames200Response | WebAppsUpdateSlotConfigurationNamesDefaultResponse): response is WebAppsUpdateSlotConfigurationNamesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetConfiguration200Response | WebAppsGetConfigurationDefaultResponse): response is WebAppsGetConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateConfiguration200Response | WebAppsCreateOrUpdateConfigurationDefaultResponse): response is WebAppsCreateOrUpdateConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateConfiguration200Response | WebAppsUpdateConfigurationDefaultResponse): response is WebAppsUpdateConfigurationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConfigurationSnapshotInfo200Response | WebAppsListConfigurationSnapshotInfoDefaultResponse): response is WebAppsListConfigurationSnapshotInfoDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetConfigurationSnapshot200Response | WebAppsGetConfigurationSnapshotDefaultResponse): response is WebAppsGetConfigurationSnapshotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRecoverSiteConfigurationSnapshot204Response | WebAppsRecoverSiteConfigurationSnapshotDefaultResponse): response is WebAppsRecoverSiteConfigurationSnapshotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetWebSiteContainerLogs200Response | WebAppsGetWebSiteContainerLogs204Response | WebAppsGetWebSiteContainerLogsDefaultResponse): response is WebAppsGetWebSiteContainerLogsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetContainerLogsZip200Response | WebAppsGetContainerLogsZip204Response | WebAppsGetContainerLogsZipDefaultResponse): response is WebAppsGetContainerLogsZipDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListContinuousWebJobs200Response | WebAppsListContinuousWebJobsDefaultResponse): response is WebAppsListContinuousWebJobsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetContinuousWebJob200Response | WebAppsGetContinuousWebJob404Response | WebAppsGetContinuousWebJobDefaultResponse): response is WebAppsGetContinuousWebJob404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteContinuousWebJob200Response | WebAppsDeleteContinuousWebJob204Response | WebAppsDeleteContinuousWebJobDefaultResponse): response is WebAppsDeleteContinuousWebJobDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartContinuousWebJob200Response | WebAppsStartContinuousWebJob404Response | WebAppsStartContinuousWebJobDefaultResponse): response is WebAppsStartContinuousWebJob404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopContinuousWebJob200Response | WebAppsStopContinuousWebJob404Response | WebAppsStopContinuousWebJobDefaultResponse): response is WebAppsStopContinuousWebJob404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDeployments200Response | WebAppsListDeploymentsDefaultResponse): response is WebAppsListDeploymentsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDeployment200Response | WebAppsGetDeploymentDefaultResponse): response is WebAppsGetDeploymentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateDeployment200Response | WebAppsCreateDeploymentDefaultResponse): response is WebAppsCreateDeploymentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteDeployment200Response | WebAppsDeleteDeployment204Response | WebAppsDeleteDeploymentDefaultResponse): response is WebAppsDeleteDeploymentDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDeploymentLog200Response | WebAppsListDeploymentLogDefaultResponse): response is WebAppsListDeploymentLogDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDiscoverBackup200Response | WebAppsDiscoverBackupDefaultResponse): response is WebAppsDiscoverBackupDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDomainOwnershipIdentifiers200Response | WebAppsListDomainOwnershipIdentifiersDefaultResponse): response is WebAppsListDomainOwnershipIdentifiersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDomainOwnershipIdentifier200Response | WebAppsGetDomainOwnershipIdentifierDefaultResponse): response is WebAppsGetDomainOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response | WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse): response is WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteDomainOwnershipIdentifier200Response | WebAppsDeleteDomainOwnershipIdentifier204Response | WebAppsDeleteDomainOwnershipIdentifierDefaultResponse): response is WebAppsDeleteDomainOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateDomainOwnershipIdentifier200Response | WebAppsUpdateDomainOwnershipIdentifierDefaultResponse): response is WebAppsUpdateDomainOwnershipIdentifierDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMSDeployStatus200Response | WebAppsGetMSDeployStatusDefaultResponse): response is WebAppsGetMSDeployStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateMSDeployOperation201Response | WebAppsCreateMSDeployOperation409Response | WebAppsCreateMSDeployOperationDefaultResponse): response is WebAppsCreateMSDeployOperation409Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMSDeployLog200Response | WebAppsGetMSDeployLog404Response | WebAppsGetMSDeployLogDefaultResponse): response is WebAppsGetMSDeployLog404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetOneDeployStatus200Response | WebAppsGetOneDeployStatusDefaultResponse): response is WebAppsGetOneDeployStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOneDeployOperation200Response | WebAppsCreateOneDeployOperationDefaultResponse): response is WebAppsCreateOneDeployOperationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListFunctions200Response | WebAppsListFunctions404Response | WebAppsListFunctionsDefaultResponse): response is WebAppsListFunctions404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetFunctionsAdminToken200Response | WebAppsGetFunctionsAdminTokenDefaultResponse): response is WebAppsGetFunctionsAdminTokenDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetFunction200Response | WebAppsGetFunction404Response | WebAppsGetFunctionDefaultResponse): response is WebAppsGetFunction404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateFunction201Response | WebAppsCreateFunctionDefaultResponse): response is WebAppsCreateFunctionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteFunction204Response | WebAppsDeleteFunction404Response | WebAppsDeleteFunctionDefaultResponse): response is WebAppsDeleteFunction404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateFunctionSecret200Response | WebAppsCreateOrUpdateFunctionSecret201Response | WebAppsCreateOrUpdateFunctionSecretDefaultResponse): response is WebAppsCreateOrUpdateFunctionSecretDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteFunctionSecret204Response | WebAppsDeleteFunctionSecret404Response | WebAppsDeleteFunctionSecretDefaultResponse): response is WebAppsDeleteFunctionSecret404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListFunctionKeys200Response | WebAppsListFunctionKeysDefaultResponse): response is WebAppsListFunctionKeysDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListFunctionSecrets200Response | WebAppsListFunctionSecretsDefaultResponse): response is WebAppsListFunctionSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHostKeys200Response | WebAppsListHostKeysDefaultResponse): response is WebAppsListHostKeysDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSyncStatus204Response | WebAppsListSyncStatusDefaultResponse): response is WebAppsListSyncStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncFunctions204Response | WebAppsSyncFunctionsDefaultResponse): response is WebAppsSyncFunctionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHostSecret200Response | WebAppsCreateOrUpdateHostSecret201Response | WebAppsCreateOrUpdateHostSecretDefaultResponse): response is WebAppsCreateOrUpdateHostSecretDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHostSecret204Response | WebAppsDeleteHostSecret404Response | WebAppsDeleteHostSecretDefaultResponse): response is WebAppsDeleteHostSecret404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHostNameBindings200Response | WebAppsListHostNameBindingsDefaultResponse): response is WebAppsListHostNameBindingsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetHostNameBinding200Response | WebAppsGetHostNameBindingDefaultResponse): response is WebAppsGetHostNameBindingDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHostNameBinding200Response | WebAppsCreateOrUpdateHostNameBindingDefaultResponse): response is WebAppsCreateOrUpdateHostNameBindingDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHostNameBinding200Response | WebAppsDeleteHostNameBinding204Response | WebAppsDeleteHostNameBindingDefaultResponse): response is WebAppsDeleteHostNameBindingDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetHybridConnection200Response | WebAppsGetHybridConnectionDefaultResponse): response is WebAppsGetHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHybridConnection200Response | WebAppsCreateOrUpdateHybridConnectionDefaultResponse): response is WebAppsCreateOrUpdateHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHybridConnection200Response | WebAppsDeleteHybridConnection404Response | WebAppsDeleteHybridConnectionDefaultResponse): response is WebAppsDeleteHybridConnection404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateHybridConnection200Response | WebAppsUpdateHybridConnectionDefaultResponse): response is WebAppsUpdateHybridConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHybridConnections200Response | WebAppsListHybridConnectionsDefaultResponse): response is WebAppsListHybridConnectionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListRelayServiceConnections200Response | WebAppsListRelayServiceConnectionsDefaultResponse): response is WebAppsListRelayServiceConnectionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetRelayServiceConnection200Response | WebAppsGetRelayServiceConnectionDefaultResponse): response is WebAppsGetRelayServiceConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateRelayServiceConnection200Response | WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse): response is WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteRelayServiceConnection200Response | WebAppsDeleteRelayServiceConnection404Response | WebAppsDeleteRelayServiceConnectionDefaultResponse): response is WebAppsDeleteRelayServiceConnection404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateRelayServiceConnection200Response | WebAppsUpdateRelayServiceConnectionDefaultResponse): response is WebAppsUpdateRelayServiceConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceIdentifiers200Response | WebAppsListInstanceIdentifiersDefaultResponse): response is WebAppsListInstanceIdentifiersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceInfo200Response | WebAppsGetInstanceInfoDefaultResponse): response is WebAppsGetInstanceInfoDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceMsDeployStatus200Response | WebAppsGetInstanceMsDeployStatusDefaultResponse): response is WebAppsGetInstanceMsDeployStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateInstanceMSDeployOperation201Response | WebAppsCreateInstanceMSDeployOperation409Response | WebAppsCreateInstanceMSDeployOperationDefaultResponse): response is WebAppsCreateInstanceMSDeployOperation409Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceMSDeployLog200Response | WebAppsGetInstanceMSDeployLog404Response | WebAppsGetInstanceMSDeployLogDefaultResponse): response is WebAppsGetInstanceMSDeployLog404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcesses200Response | WebAppsListInstanceProcesses404Response | WebAppsListInstanceProcessesDefaultResponse): response is WebAppsListInstanceProcesses404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcess200Response | WebAppsGetInstanceProcess404Response | WebAppsGetInstanceProcessDefaultResponse): response is WebAppsGetInstanceProcess404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteInstanceProcess204Response | WebAppsDeleteInstanceProcess404Response | WebAppsDeleteInstanceProcessDefaultResponse): response is WebAppsDeleteInstanceProcess404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcessDump200Response | WebAppsGetInstanceProcessDump404Response | WebAppsGetInstanceProcessDumpDefaultResponse): response is WebAppsGetInstanceProcessDump404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcessModules200Response | WebAppsListInstanceProcessModules404Response | WebAppsListInstanceProcessModulesDefaultResponse): response is WebAppsListInstanceProcessModules404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcessModule200Response | WebAppsGetInstanceProcessModule404Response | WebAppsGetInstanceProcessModuleDefaultResponse): response is WebAppsGetInstanceProcessModule404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcessThreads200Response | WebAppsListInstanceProcessThreads404Response | WebAppsListInstanceProcessThreadsDefaultResponse): response is WebAppsListInstanceProcessThreads404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsIsCloneable200Response | WebAppsIsCloneableDefaultResponse): response is WebAppsIsCloneableDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSiteBackups200Response | WebAppsListSiteBackupsDefaultResponse): response is WebAppsListSiteBackupsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSyncFunctionTriggers200Response | WebAppsListSyncFunctionTriggersDefaultResponse): response is WebAppsListSyncFunctionTriggersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsMigrateStorage200Response | WebAppsMigrateStorageDefaultResponse): response is WebAppsMigrateStorageDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsMigrateMySql200Response | WebAppsMigrateMySqlDefaultResponse): response is WebAppsMigrateMySqlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMigrateMySqlStatus200Response | WebAppsGetMigrateMySqlStatusDefaultResponse): response is WebAppsGetMigrateMySqlStatusDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSwiftVirtualNetworkConnection200Response | WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse): response is WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse): response is WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSwiftVirtualNetwork200Response | WebAppsDeleteSwiftVirtualNetwork404Response | WebAppsDeleteSwiftVirtualNetworkDefaultResponse): response is WebAppsDeleteSwiftVirtualNetwork404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse): response is WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListNetworkFeatures200Response | WebAppsListNetworkFeatures404Response | WebAppsListNetworkFeaturesDefaultResponse): response is WebAppsListNetworkFeatures404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTraceOperation200Response | WebAppsGetNetworkTraceOperation202Response | WebAppsGetNetworkTraceOperationDefaultResponse): response is WebAppsGetNetworkTraceOperationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartWebSiteNetworkTrace200Response | WebAppsStartWebSiteNetworkTraceDefaultResponse): response is WebAppsStartWebSiteNetworkTraceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartWebSiteNetworkTraceOperation200Response | WebAppsStartWebSiteNetworkTraceOperation202Response | WebAppsStartWebSiteNetworkTraceOperationDefaultResponse): response is WebAppsStartWebSiteNetworkTraceOperationDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopWebSiteNetworkTrace200Response | WebAppsStopWebSiteNetworkTrace204Response | WebAppsStopWebSiteNetworkTraceDefaultResponse): response is WebAppsStopWebSiteNetworkTraceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTraces200Response | WebAppsGetNetworkTracesDefaultResponse): response is WebAppsGetNetworkTracesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTraceOperationV2200Response | WebAppsGetNetworkTraceOperationV2202Response | WebAppsGetNetworkTraceOperationV2DefaultResponse): response is WebAppsGetNetworkTraceOperationV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTracesV2200Response | WebAppsGetNetworkTracesV2DefaultResponse): response is WebAppsGetNetworkTracesV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGenerateNewSitePublishingPassword200Response | WebAppsGenerateNewSitePublishingPassword204Response | WebAppsGenerateNewSitePublishingPasswordDefaultResponse): response is WebAppsGenerateNewSitePublishingPasswordDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPerfMonCounters200Response | WebAppsListPerfMonCountersDefaultResponse): response is WebAppsListPerfMonCountersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSitePhpErrorLogFlag200Response | WebAppsGetSitePhpErrorLogFlagDefaultResponse): response is WebAppsGetSitePhpErrorLogFlagDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPremierAddOns200Response | WebAppsListPremierAddOnsDefaultResponse): response is WebAppsListPremierAddOnsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPremierAddOn200Response | WebAppsGetPremierAddOnDefaultResponse): response is WebAppsGetPremierAddOnDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsAddPremierAddOn200Response | WebAppsAddPremierAddOnDefaultResponse): response is WebAppsAddPremierAddOnDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePremierAddOn200Response | WebAppsDeletePremierAddOnDefaultResponse): response is WebAppsDeletePremierAddOnDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdatePremierAddOn200Response | WebAppsUpdatePremierAddOnDefaultResponse): response is WebAppsUpdatePremierAddOnDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateAccess200Response | WebAppsGetPrivateAccessDefaultResponse): response is WebAppsGetPrivateAccessDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsPutPrivateAccessVnet200Response | WebAppsPutPrivateAccessVnetDefaultResponse): response is WebAppsPutPrivateAccessVnetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateEndpointConnectionList200Response | WebAppsGetPrivateEndpointConnectionListDefaultResponse): response is WebAppsGetPrivateEndpointConnectionListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateEndpointConnection200Response | WebAppsGetPrivateEndpointConnectionDefaultResponse): response is WebAppsGetPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsApproveOrRejectPrivateEndpointConnection200Response | WebAppsApproveOrRejectPrivateEndpointConnection202Response | WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse): response is WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePrivateEndpointConnection200Response | WebAppsDeletePrivateEndpointConnection202Response | WebAppsDeletePrivateEndpointConnection204Response | WebAppsDeletePrivateEndpointConnectionDefaultResponse): response is WebAppsDeletePrivateEndpointConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateLinkResources200Response | WebAppsGetPrivateLinkResourcesDefaultResponse): response is WebAppsGetPrivateLinkResourcesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcesses200Response | WebAppsListProcesses404Response | WebAppsListProcessesDefaultResponse): response is WebAppsListProcesses404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcess200Response | WebAppsGetProcess404Response | WebAppsGetProcessDefaultResponse): response is WebAppsGetProcess404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteProcess204Response | WebAppsDeleteProcess404Response | WebAppsDeleteProcessDefaultResponse): response is WebAppsDeleteProcess404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcessDump200Response | WebAppsGetProcessDump404Response | WebAppsGetProcessDumpDefaultResponse): response is WebAppsGetProcessDump404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcessModules200Response | WebAppsListProcessModules404Response | WebAppsListProcessModulesDefaultResponse): response is WebAppsListProcessModules404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcessModule200Response | WebAppsGetProcessModule404Response | WebAppsGetProcessModuleDefaultResponse): response is WebAppsGetProcessModule404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcessThreads200Response | WebAppsListProcessThreads404Response | WebAppsListProcessThreadsDefaultResponse): response is WebAppsListProcessThreads404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublicCertificates200Response | WebAppsListPublicCertificatesDefaultResponse): response is WebAppsListPublicCertificatesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPublicCertificate200Response | WebAppsGetPublicCertificateDefaultResponse): response is WebAppsGetPublicCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdatePublicCertificate200Response | WebAppsCreateOrUpdatePublicCertificateDefaultResponse): response is WebAppsCreateOrUpdatePublicCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePublicCertificate200Response | WebAppsDeletePublicCertificate204Response | WebAppsDeletePublicCertificateDefaultResponse): response is WebAppsDeletePublicCertificateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublishingProfileXmlWithSecrets200Response | WebAppsListPublishingProfileXmlWithSecretsDefaultResponse): response is WebAppsListPublishingProfileXmlWithSecretsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsResetProductionSlotConfig200Response | WebAppsResetProductionSlotConfigDefaultResponse): response is WebAppsResetProductionSlotConfigDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestart200Response | WebAppsRestartDefaultResponse): response is WebAppsRestartDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreFromBackupBlob200Response | WebAppsRestoreFromBackupBlob202Response | WebAppsRestoreFromBackupBlobDefaultResponse): response is WebAppsRestoreFromBackupBlobDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreFromDeletedApp200Response | WebAppsRestoreFromDeletedApp202Response | WebAppsRestoreFromDeletedAppDefaultResponse): response is WebAppsRestoreFromDeletedAppDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreSnapshot200Response | WebAppsRestoreSnapshot202Response | WebAppsRestoreSnapshotDefaultResponse): response is WebAppsRestoreSnapshotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSiteExtensions200Response | WebAppsListSiteExtensions404Response | WebAppsListSiteExtensionsDefaultResponse): response is WebAppsListSiteExtensions404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteExtension200Response | WebAppsGetSiteExtension404Response | WebAppsGetSiteExtensionDefaultResponse): response is WebAppsGetSiteExtension404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsInstallSiteExtension200Response | WebAppsInstallSiteExtension201Response | WebAppsInstallSiteExtension429Response | WebAppsInstallSiteExtensionDefaultResponse): response is WebAppsInstallSiteExtension429Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSiteExtension204Response | WebAppsDeleteSiteExtension404Response | WebAppsDeleteSiteExtensionDefaultResponse): response is WebAppsDeleteSiteExtension404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSlots200Response | WebAppsListSlotsDefaultResponse): response is WebAppsListSlotsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSlot200Response | WebAppsGetSlot404Response | WebAppsGetSlotDefaultResponse): response is WebAppsGetSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateSlot200Response | WebAppsCreateOrUpdateSlot202Response | WebAppsCreateOrUpdateSlotDefaultResponse): response is WebAppsCreateOrUpdateSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSlot200Response | WebAppsDeleteSlot204Response | WebAppsDeleteSlot404Response | WebAppsDeleteSlotDefaultResponse): response is WebAppsDeleteSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSlot200Response | WebAppsUpdateSlot202Response | WebAppsUpdateSlotDefaultResponse): response is WebAppsUpdateSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsAnalyzeCustomHostnameSlot200Response | WebAppsAnalyzeCustomHostnameSlotDefaultResponse): response is WebAppsAnalyzeCustomHostnameSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsApplySlotConfigurationSlot200Response | WebAppsApplySlotConfigurationSlotDefaultResponse): response is WebAppsApplySlotConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsBackupSlot200Response | WebAppsBackupSlotDefaultResponse): response is WebAppsBackupSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBackupsSlot200Response | WebAppsListBackupsSlotDefaultResponse): response is WebAppsListBackupsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetBackupStatusSlot200Response | WebAppsGetBackupStatusSlotDefaultResponse): response is WebAppsGetBackupStatusSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteBackupSlot200Response | WebAppsDeleteBackupSlot404Response | WebAppsDeleteBackupSlotDefaultResponse): response is WebAppsDeleteBackupSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBackupStatusSecretsSlot200Response | WebAppsListBackupStatusSecretsSlotDefaultResponse): response is WebAppsListBackupStatusSecretsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreSlot200Response | WebAppsRestoreSlot202Response | WebAppsRestoreSlotDefaultResponse): response is WebAppsRestoreSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListBasicPublishingCredentialsPoliciesSlot200Response | WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse): response is WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetFtpAllowedSlot200Response | WebAppsGetFtpAllowedSlotDefaultResponse): response is WebAppsGetFtpAllowedSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateFtpAllowedSlot200Response | WebAppsUpdateFtpAllowedSlotDefaultResponse): response is WebAppsUpdateFtpAllowedSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetScmAllowedSlot200Response | WebAppsGetScmAllowedSlotDefaultResponse): response is WebAppsGetScmAllowedSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateScmAllowedSlot200Response | WebAppsUpdateScmAllowedSlotDefaultResponse): response is WebAppsUpdateScmAllowedSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConfigurationsSlot200Response | WebAppsListConfigurationsSlotDefaultResponse): response is WebAppsListConfigurationsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateApplicationSettingsSlot200Response | WebAppsUpdateApplicationSettingsSlotDefaultResponse): response is WebAppsUpdateApplicationSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListApplicationSettingsSlot200Response | WebAppsListApplicationSettingsSlotDefaultResponse): response is WebAppsListApplicationSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAuthSettingsSlot200Response | WebAppsUpdateAuthSettingsSlotDefaultResponse): response is WebAppsUpdateAuthSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettingsSlot200Response | WebAppsGetAuthSettingsSlotDefaultResponse): response is WebAppsGetAuthSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response | WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse): response is WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAuthSettingsV2Slot200Response | WebAppsUpdateAuthSettingsV2SlotDefaultResponse): response is WebAppsUpdateAuthSettingsV2SlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAuthSettingsV2Slot200Response | WebAppsGetAuthSettingsV2SlotDefaultResponse): response is WebAppsGetAuthSettingsV2SlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateAzureStorageAccountsSlot200Response | WebAppsUpdateAzureStorageAccountsSlotDefaultResponse): response is WebAppsUpdateAzureStorageAccountsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListAzureStorageAccountsSlot200Response | WebAppsListAzureStorageAccountsSlotDefaultResponse): response is WebAppsListAzureStorageAccountsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateBackupConfigurationSlot200Response | WebAppsUpdateBackupConfigurationSlotDefaultResponse): response is WebAppsUpdateBackupConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteBackupConfigurationSlot200Response | WebAppsDeleteBackupConfigurationSlotDefaultResponse): response is WebAppsDeleteBackupConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetBackupConfigurationSlot200Response | WebAppsGetBackupConfigurationSlotDefaultResponse): response is WebAppsGetBackupConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAppSettingsKeyVaultReferencesSlot200Response | WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse): response is WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetAppSettingKeyVaultReferenceSlot200Response | WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse): response is WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse): response is WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse): response is WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateConnectionStringsSlot200Response | WebAppsUpdateConnectionStringsSlotDefaultResponse): response is WebAppsUpdateConnectionStringsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConnectionStringsSlot200Response | WebAppsListConnectionStringsSlotDefaultResponse): response is WebAppsListConnectionStringsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDiagnosticLogsConfigurationSlot200Response | WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse): response is WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateDiagnosticLogsConfigSlot200Response | WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse): response is WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateMetadataSlot200Response | WebAppsUpdateMetadataSlotDefaultResponse): response is WebAppsUpdateMetadataSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListMetadataSlot200Response | WebAppsListMetadataSlotDefaultResponse): response is WebAppsListMetadataSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublishingCredentialsSlot200Response | WebAppsListPublishingCredentialsSlotDefaultResponse): response is WebAppsListPublishingCredentialsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSitePushSettingsSlot200Response | WebAppsUpdateSitePushSettingsSlotDefaultResponse): response is WebAppsUpdateSitePushSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSitePushSettingsSlot200Response | WebAppsListSitePushSettingsSlotDefaultResponse): response is WebAppsListSitePushSettingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetConfigurationSlot200Response | WebAppsGetConfigurationSlotDefaultResponse): response is WebAppsGetConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateConfigurationSlot200Response | WebAppsCreateOrUpdateConfigurationSlotDefaultResponse): response is WebAppsCreateOrUpdateConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateConfigurationSlot200Response | WebAppsUpdateConfigurationSlotDefaultResponse): response is WebAppsUpdateConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListConfigurationSnapshotInfoSlot200Response | WebAppsListConfigurationSnapshotInfoSlotDefaultResponse): response is WebAppsListConfigurationSnapshotInfoSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetConfigurationSnapshotSlot200Response | WebAppsGetConfigurationSnapshotSlotDefaultResponse): response is WebAppsGetConfigurationSnapshotSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRecoverSiteConfigurationSnapshotSlot204Response | WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse): response is WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetWebSiteContainerLogsSlot200Response | WebAppsGetWebSiteContainerLogsSlot204Response | WebAppsGetWebSiteContainerLogsSlotDefaultResponse): response is WebAppsGetWebSiteContainerLogsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetContainerLogsZipSlot200Response | WebAppsGetContainerLogsZipSlot204Response | WebAppsGetContainerLogsZipSlotDefaultResponse): response is WebAppsGetContainerLogsZipSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListContinuousWebJobsSlot200Response | WebAppsListContinuousWebJobsSlotDefaultResponse): response is WebAppsListContinuousWebJobsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetContinuousWebJobSlot200Response | WebAppsGetContinuousWebJobSlot404Response | WebAppsGetContinuousWebJobSlotDefaultResponse): response is WebAppsGetContinuousWebJobSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteContinuousWebJobSlot200Response | WebAppsDeleteContinuousWebJobSlot204Response | WebAppsDeleteContinuousWebJobSlotDefaultResponse): response is WebAppsDeleteContinuousWebJobSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartContinuousWebJobSlot200Response | WebAppsStartContinuousWebJobSlot404Response | WebAppsStartContinuousWebJobSlotDefaultResponse): response is WebAppsStartContinuousWebJobSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopContinuousWebJobSlot200Response | WebAppsStopContinuousWebJobSlot404Response | WebAppsStopContinuousWebJobSlotDefaultResponse): response is WebAppsStopContinuousWebJobSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDeploymentsSlot200Response | WebAppsListDeploymentsSlotDefaultResponse): response is WebAppsListDeploymentsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDeploymentSlot200Response | WebAppsGetDeploymentSlotDefaultResponse): response is WebAppsGetDeploymentSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateDeploymentSlot200Response | WebAppsCreateDeploymentSlotDefaultResponse): response is WebAppsCreateDeploymentSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteDeploymentSlot200Response | WebAppsDeleteDeploymentSlot204Response | WebAppsDeleteDeploymentSlotDefaultResponse): response is WebAppsDeleteDeploymentSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDeploymentLogSlot200Response | WebAppsListDeploymentLogSlotDefaultResponse): response is WebAppsListDeploymentLogSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDiscoverBackupSlot200Response | WebAppsDiscoverBackupSlotDefaultResponse): response is WebAppsDiscoverBackupSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListDomainOwnershipIdentifiersSlot200Response | WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse): response is WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetDomainOwnershipIdentifierSlot200Response | WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse): response is WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse): response is WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteDomainOwnershipIdentifierSlot200Response | WebAppsDeleteDomainOwnershipIdentifierSlot204Response | WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse): response is WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateDomainOwnershipIdentifierSlot200Response | WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse): response is WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMSDeployStatusSlot200Response | WebAppsGetMSDeployStatusSlotDefaultResponse): response is WebAppsGetMSDeployStatusSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateMSDeployOperationSlot201Response | WebAppsCreateMSDeployOperationSlot409Response | WebAppsCreateMSDeployOperationSlotDefaultResponse): response is WebAppsCreateMSDeployOperationSlot409Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMSDeployLogSlot200Response | WebAppsGetMSDeployLogSlot404Response | WebAppsGetMSDeployLogSlotDefaultResponse): response is WebAppsGetMSDeployLogSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceFunctionsSlot200Response | WebAppsListInstanceFunctionsSlot404Response | WebAppsListInstanceFunctionsSlotDefaultResponse): response is WebAppsListInstanceFunctionsSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetFunctionsAdminTokenSlot200Response | WebAppsGetFunctionsAdminTokenSlotDefaultResponse): response is WebAppsGetFunctionsAdminTokenSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceFunctionSlot200Response | WebAppsGetInstanceFunctionSlot404Response | WebAppsGetInstanceFunctionSlotDefaultResponse): response is WebAppsGetInstanceFunctionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateInstanceFunctionSlot201Response | WebAppsCreateInstanceFunctionSlotDefaultResponse): response is WebAppsCreateInstanceFunctionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteInstanceFunctionSlot204Response | WebAppsDeleteInstanceFunctionSlot404Response | WebAppsDeleteInstanceFunctionSlotDefaultResponse): response is WebAppsDeleteInstanceFunctionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateFunctionSecretSlot200Response | WebAppsCreateOrUpdateFunctionSecretSlot201Response | WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse): response is WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteFunctionSecretSlot204Response | WebAppsDeleteFunctionSecretSlot404Response | WebAppsDeleteFunctionSecretSlotDefaultResponse): response is WebAppsDeleteFunctionSecretSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListFunctionKeysSlot200Response | WebAppsListFunctionKeysSlotDefaultResponse): response is WebAppsListFunctionKeysSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListFunctionSecretsSlot200Response | WebAppsListFunctionSecretsSlotDefaultResponse): response is WebAppsListFunctionSecretsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHostKeysSlot200Response | WebAppsListHostKeysSlotDefaultResponse): response is WebAppsListHostKeysSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSyncStatusSlot204Response | WebAppsListSyncStatusSlotDefaultResponse): response is WebAppsListSyncStatusSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncFunctionsSlot204Response | WebAppsSyncFunctionsSlotDefaultResponse): response is WebAppsSyncFunctionsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHostSecretSlot200Response | WebAppsCreateOrUpdateHostSecretSlot201Response | WebAppsCreateOrUpdateHostSecretSlotDefaultResponse): response is WebAppsCreateOrUpdateHostSecretSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHostSecretSlot204Response | WebAppsDeleteHostSecretSlot404Response | WebAppsDeleteHostSecretSlotDefaultResponse): response is WebAppsDeleteHostSecretSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHostNameBindingsSlot200Response | WebAppsListHostNameBindingsSlotDefaultResponse): response is WebAppsListHostNameBindingsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetHostNameBindingSlot200Response | WebAppsGetHostNameBindingSlotDefaultResponse): response is WebAppsGetHostNameBindingSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHostNameBindingSlot200Response | WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse): response is WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHostNameBindingSlot200Response | WebAppsDeleteHostNameBindingSlot204Response | WebAppsDeleteHostNameBindingSlotDefaultResponse): response is WebAppsDeleteHostNameBindingSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetHybridConnectionSlot200Response | WebAppsGetHybridConnectionSlotDefaultResponse): response is WebAppsGetHybridConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateHybridConnectionSlot200Response | WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse): response is WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteHybridConnectionSlot200Response | WebAppsDeleteHybridConnectionSlot404Response | WebAppsDeleteHybridConnectionSlotDefaultResponse): response is WebAppsDeleteHybridConnectionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateHybridConnectionSlot200Response | WebAppsUpdateHybridConnectionSlotDefaultResponse): response is WebAppsUpdateHybridConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListHybridConnectionsSlot200Response | WebAppsListHybridConnectionsSlotDefaultResponse): response is WebAppsListHybridConnectionsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListRelayServiceConnectionsSlot200Response | WebAppsListRelayServiceConnectionsSlotDefaultResponse): response is WebAppsListRelayServiceConnectionsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetRelayServiceConnectionSlot200Response | WebAppsGetRelayServiceConnectionSlotDefaultResponse): response is WebAppsGetRelayServiceConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response | WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse): response is WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteRelayServiceConnectionSlot200Response | WebAppsDeleteRelayServiceConnectionSlot404Response | WebAppsDeleteRelayServiceConnectionSlotDefaultResponse): response is WebAppsDeleteRelayServiceConnectionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateRelayServiceConnectionSlot200Response | WebAppsUpdateRelayServiceConnectionSlotDefaultResponse): response is WebAppsUpdateRelayServiceConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceIdentifiersSlot200Response | WebAppsListInstanceIdentifiersSlotDefaultResponse): response is WebAppsListInstanceIdentifiersSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceInfoSlot200Response | WebAppsGetInstanceInfoSlotDefaultResponse): response is WebAppsGetInstanceInfoSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceMsDeployStatusSlot200Response | WebAppsGetInstanceMsDeployStatusSlotDefaultResponse): response is WebAppsGetInstanceMsDeployStatusSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateInstanceMSDeployOperationSlot201Response | WebAppsCreateInstanceMSDeployOperationSlot409Response | WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse): response is WebAppsCreateInstanceMSDeployOperationSlot409Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceMSDeployLogSlot200Response | WebAppsGetInstanceMSDeployLogSlot404Response | WebAppsGetInstanceMSDeployLogSlotDefaultResponse): response is WebAppsGetInstanceMSDeployLogSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcessesSlot200Response | WebAppsListInstanceProcessesSlot404Response | WebAppsListInstanceProcessesSlotDefaultResponse): response is WebAppsListInstanceProcessesSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcessSlot200Response | WebAppsGetInstanceProcessSlot404Response | WebAppsGetInstanceProcessSlotDefaultResponse): response is WebAppsGetInstanceProcessSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteInstanceProcessSlot204Response | WebAppsDeleteInstanceProcessSlot404Response | WebAppsDeleteInstanceProcessSlotDefaultResponse): response is WebAppsDeleteInstanceProcessSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcessDumpSlot200Response | WebAppsGetInstanceProcessDumpSlot404Response | WebAppsGetInstanceProcessDumpSlotDefaultResponse): response is WebAppsGetInstanceProcessDumpSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcessModulesSlot200Response | WebAppsListInstanceProcessModulesSlot404Response | WebAppsListInstanceProcessModulesSlotDefaultResponse): response is WebAppsListInstanceProcessModulesSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetInstanceProcessModuleSlot200Response | WebAppsGetInstanceProcessModuleSlot404Response | WebAppsGetInstanceProcessModuleSlotDefaultResponse): response is WebAppsGetInstanceProcessModuleSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListInstanceProcessThreadsSlot200Response | WebAppsListInstanceProcessThreadsSlot404Response | WebAppsListInstanceProcessThreadsSlotDefaultResponse): response is WebAppsListInstanceProcessThreadsSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsIsCloneableSlot200Response | WebAppsIsCloneableSlotDefaultResponse): response is WebAppsIsCloneableSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSiteBackupsSlot200Response | WebAppsListSiteBackupsSlotDefaultResponse): response is WebAppsListSiteBackupsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSyncFunctionTriggersSlot200Response | WebAppsListSyncFunctionTriggersSlotDefaultResponse): response is WebAppsListSyncFunctionTriggersSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetMigrateMySqlStatusSlot200Response | WebAppsGetMigrateMySqlStatusSlotDefaultResponse): response is WebAppsGetMigrateMySqlStatusSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSwiftVirtualNetworkConnectionSlot200Response | WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse): response is WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse): response is WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSwiftVirtualNetworkSlot200Response | WebAppsDeleteSwiftVirtualNetworkSlot404Response | WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse): response is WebAppsDeleteSwiftVirtualNetworkSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse): response is WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListNetworkFeaturesSlot200Response | WebAppsListNetworkFeaturesSlot404Response | WebAppsListNetworkFeaturesSlotDefaultResponse): response is WebAppsListNetworkFeaturesSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTraceOperationSlot200Response | WebAppsGetNetworkTraceOperationSlot202Response | WebAppsGetNetworkTraceOperationSlotDefaultResponse): response is WebAppsGetNetworkTraceOperationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartWebSiteNetworkTraceSlot200Response | WebAppsStartWebSiteNetworkTraceSlotDefaultResponse): response is WebAppsStartWebSiteNetworkTraceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartWebSiteNetworkTraceOperationSlot200Response | WebAppsStartWebSiteNetworkTraceOperationSlot202Response | WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse): response is WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopWebSiteNetworkTraceSlot200Response | WebAppsStopWebSiteNetworkTraceSlot204Response | WebAppsStopWebSiteNetworkTraceSlotDefaultResponse): response is WebAppsStopWebSiteNetworkTraceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTracesSlot200Response | WebAppsGetNetworkTracesSlotDefaultResponse): response is WebAppsGetNetworkTracesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTraceOperationSlotV2200Response | WebAppsGetNetworkTraceOperationSlotV2202Response | WebAppsGetNetworkTraceOperationSlotV2DefaultResponse): response is WebAppsGetNetworkTraceOperationSlotV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetNetworkTracesSlotV2200Response | WebAppsGetNetworkTracesSlotV2DefaultResponse): response is WebAppsGetNetworkTracesSlotV2DefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGenerateNewSitePublishingPasswordSlot200Response | WebAppsGenerateNewSitePublishingPasswordSlot204Response | WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse): response is WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPerfMonCountersSlot200Response | WebAppsListPerfMonCountersSlotDefaultResponse): response is WebAppsListPerfMonCountersSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSitePhpErrorLogFlagSlot200Response | WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse): response is WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPremierAddOnsSlot200Response | WebAppsListPremierAddOnsSlotDefaultResponse): response is WebAppsListPremierAddOnsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPremierAddOnSlot200Response | WebAppsGetPremierAddOnSlotDefaultResponse): response is WebAppsGetPremierAddOnSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsAddPremierAddOnSlot200Response | WebAppsAddPremierAddOnSlotDefaultResponse): response is WebAppsAddPremierAddOnSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePremierAddOnSlot200Response | WebAppsDeletePremierAddOnSlotDefaultResponse): response is WebAppsDeletePremierAddOnSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdatePremierAddOnSlot200Response | WebAppsUpdatePremierAddOnSlotDefaultResponse): response is WebAppsUpdatePremierAddOnSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateAccessSlot200Response | WebAppsGetPrivateAccessSlotDefaultResponse): response is WebAppsGetPrivateAccessSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsPutPrivateAccessVnetSlot200Response | WebAppsPutPrivateAccessVnetSlotDefaultResponse): response is WebAppsPutPrivateAccessVnetSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateEndpointConnectionListSlot200Response | WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse): response is WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateEndpointConnectionSlot200Response | WebAppsGetPrivateEndpointConnectionSlotDefaultResponse): response is WebAppsGetPrivateEndpointConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response | WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response | WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse): response is WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePrivateEndpointConnectionSlot200Response | WebAppsDeletePrivateEndpointConnectionSlot202Response | WebAppsDeletePrivateEndpointConnectionSlot204Response | WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse): response is WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPrivateLinkResourcesSlot200Response | WebAppsGetPrivateLinkResourcesSlotDefaultResponse): response is WebAppsGetPrivateLinkResourcesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcessesSlot200Response | WebAppsListProcessesSlot404Response | WebAppsListProcessesSlotDefaultResponse): response is WebAppsListProcessesSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcessSlot200Response | WebAppsGetProcessSlot404Response | WebAppsGetProcessSlotDefaultResponse): response is WebAppsGetProcessSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteProcessSlot204Response | WebAppsDeleteProcessSlot404Response | WebAppsDeleteProcessSlotDefaultResponse): response is WebAppsDeleteProcessSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcessDumpSlot200Response | WebAppsGetProcessDumpSlot404Response | WebAppsGetProcessDumpSlotDefaultResponse): response is WebAppsGetProcessDumpSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcessModulesSlot200Response | WebAppsListProcessModulesSlot404Response | WebAppsListProcessModulesSlotDefaultResponse): response is WebAppsListProcessModulesSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetProcessModuleSlot200Response | WebAppsGetProcessModuleSlot404Response | WebAppsGetProcessModuleSlotDefaultResponse): response is WebAppsGetProcessModuleSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListProcessThreadsSlot200Response | WebAppsListProcessThreadsSlot404Response | WebAppsListProcessThreadsSlotDefaultResponse): response is WebAppsListProcessThreadsSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublicCertificatesSlot200Response | WebAppsListPublicCertificatesSlotDefaultResponse): response is WebAppsListPublicCertificatesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetPublicCertificateSlot200Response | WebAppsGetPublicCertificateSlotDefaultResponse): response is WebAppsGetPublicCertificateSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdatePublicCertificateSlot200Response | WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse): response is WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeletePublicCertificateSlot200Response | WebAppsDeletePublicCertificateSlot204Response | WebAppsDeletePublicCertificateSlotDefaultResponse): response is WebAppsDeletePublicCertificateSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListPublishingProfileXmlWithSecretsSlot200Response | WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse): response is WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsResetSlotConfigurationSlot200Response | WebAppsResetSlotConfigurationSlotDefaultResponse): response is WebAppsResetSlotConfigurationSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestartSlot200Response | WebAppsRestartSlotDefaultResponse): response is WebAppsRestartSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreFromBackupBlobSlot200Response | WebAppsRestoreFromBackupBlobSlot202Response | WebAppsRestoreFromBackupBlobSlotDefaultResponse): response is WebAppsRestoreFromBackupBlobSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreFromDeletedAppSlot200Response | WebAppsRestoreFromDeletedAppSlot202Response | WebAppsRestoreFromDeletedAppSlotDefaultResponse): response is WebAppsRestoreFromDeletedAppSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRestoreSnapshotSlot200Response | WebAppsRestoreSnapshotSlot202Response | WebAppsRestoreSnapshotSlotDefaultResponse): response is WebAppsRestoreSnapshotSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSiteExtensionsSlot200Response | WebAppsListSiteExtensionsSlot404Response | WebAppsListSiteExtensionsSlotDefaultResponse): response is WebAppsListSiteExtensionsSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSiteExtensionSlot200Response | WebAppsGetSiteExtensionSlot404Response | WebAppsGetSiteExtensionSlotDefaultResponse): response is WebAppsGetSiteExtensionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsInstallSiteExtensionSlot200Response | WebAppsInstallSiteExtensionSlot201Response | WebAppsInstallSiteExtensionSlot429Response | WebAppsInstallSiteExtensionSlotDefaultResponse): response is WebAppsInstallSiteExtensionSlot429Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSiteExtensionSlot204Response | WebAppsDeleteSiteExtensionSlot404Response | WebAppsDeleteSiteExtensionSlotDefaultResponse): response is WebAppsDeleteSiteExtensionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSlotDifferencesSlot200Response | WebAppsListSlotDifferencesSlotDefaultResponse): response is WebAppsListSlotDifferencesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSwapSlot200Response | WebAppsSwapSlot202Response | WebAppsSwapSlotDefaultResponse): response is WebAppsSwapSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSnapshotsSlot200Response | WebAppsListSnapshotsSlotDefaultResponse): response is WebAppsListSnapshotsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListSnapshotsFromDRSecondarySlot200Response | WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse): response is WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetSourceControlSlot200Response | WebAppsGetSourceControlSlot201Response | WebAppsGetSourceControlSlot202Response | WebAppsGetSourceControlSlotDefaultResponse): response is WebAppsGetSourceControlSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateSourceControlSlot200Response | WebAppsCreateOrUpdateSourceControlSlot201Response | WebAppsCreateOrUpdateSourceControlSlot202Response | WebAppsCreateOrUpdateSourceControlSlotDefaultResponse): response is WebAppsCreateOrUpdateSourceControlSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteSourceControlSlot200Response | WebAppsDeleteSourceControlSlot202Response | WebAppsDeleteSourceControlSlot404Response | WebAppsDeleteSourceControlSlotDefaultResponse): response is WebAppsDeleteSourceControlSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSourceControlSlot200Response | WebAppsUpdateSourceControlSlot201Response | WebAppsUpdateSourceControlSlot202Response | WebAppsUpdateSourceControlSlotDefaultResponse): response is WebAppsUpdateSourceControlSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartSlot200Response | WebAppsStartSlotDefaultResponse): response is WebAppsStartSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartNetworkTraceSlot200Response | WebAppsStartNetworkTraceSlot202Response | WebAppsStartNetworkTraceSlotDefaultResponse): response is WebAppsStartNetworkTraceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopSlot200Response | WebAppsStopSlotDefaultResponse): response is WebAppsStopSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopNetworkTraceSlot200Response | WebAppsStopNetworkTraceSlot204Response | WebAppsStopNetworkTraceSlotDefaultResponse): response is WebAppsStopNetworkTraceSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncRepositorySlot200Response | WebAppsSyncRepositorySlotDefaultResponse): response is WebAppsSyncRepositorySlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncFunctionTriggersSlot204Response | WebAppsSyncFunctionTriggersSlotDefaultResponse): response is WebAppsSyncFunctionTriggersSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListTriggeredWebJobsSlot200Response | WebAppsListTriggeredWebJobsSlotDefaultResponse): response is WebAppsListTriggeredWebJobsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetTriggeredWebJobSlot200Response | WebAppsGetTriggeredWebJobSlot404Response | WebAppsGetTriggeredWebJobSlotDefaultResponse): response is WebAppsGetTriggeredWebJobSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteTriggeredWebJobSlot200Response | WebAppsDeleteTriggeredWebJobSlot204Response | WebAppsDeleteTriggeredWebJobSlotDefaultResponse): response is WebAppsDeleteTriggeredWebJobSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListTriggeredWebJobHistorySlot200Response | WebAppsListTriggeredWebJobHistorySlot404Response | WebAppsListTriggeredWebJobHistorySlotDefaultResponse): response is WebAppsListTriggeredWebJobHistorySlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetTriggeredWebJobHistorySlot200Response | WebAppsGetTriggeredWebJobHistorySlot404Response | WebAppsGetTriggeredWebJobHistorySlotDefaultResponse): response is WebAppsGetTriggeredWebJobHistorySlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsRunTriggeredWebJobSlot200Response | WebAppsRunTriggeredWebJobSlot404Response | WebAppsRunTriggeredWebJobSlotDefaultResponse): response is WebAppsRunTriggeredWebJobSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListUsagesSlot200Response | WebAppsListUsagesSlotDefaultResponse): response is WebAppsListUsagesSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListVnetConnectionsSlot200Response | WebAppsListVnetConnectionsSlotDefaultResponse): response is WebAppsListVnetConnectionsSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetVnetConnectionSlot200Response | WebAppsGetVnetConnectionSlotDefaultResponse): response is WebAppsGetVnetConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateVnetConnectionSlot200Response | WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse): response is WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteVnetConnectionSlot200Response | WebAppsDeleteVnetConnectionSlot404Response | WebAppsDeleteVnetConnectionSlotDefaultResponse): response is WebAppsDeleteVnetConnectionSlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateVnetConnectionSlot200Response | WebAppsUpdateVnetConnectionSlotDefaultResponse): response is WebAppsUpdateVnetConnectionSlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetVnetConnectionGatewaySlot200Response | WebAppsGetVnetConnectionGatewaySlot404Response | WebAppsGetVnetConnectionGatewaySlotDefaultResponse): response is WebAppsGetVnetConnectionGatewaySlot404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response | WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse): response is WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateVnetConnectionGatewaySlot200Response | WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse): response is WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListWebJobsSlot200Response | WebAppsListWebJobsSlotDefaultResponse): response is WebAppsListWebJobsSlotDefaultResponse; + // @public (undocumented) -export interface IdentityProviders { - apple?: Apple; - azureActiveDirectory?: AzureActiveDirectory; - azureStaticWebApps?: AzureStaticWebApps; - customOpenIdConnectProviders?: Record; - facebook?: Facebook; - gitHub?: GitHub; - google?: Google; - legacyMicrosoftAccount?: LegacyMicrosoftAccount; - twitter?: Twitter; -} +export function isUnexpected(response: WebAppsGetWebJobSlot200Response | WebAppsGetWebJobSlotDefaultResponse): response is WebAppsGetWebJobSlotDefaultResponse; // @public (undocumented) -export interface IdentityProvidersOutput { - apple?: AppleOutput; - azureActiveDirectory?: AzureActiveDirectoryOutput; - azureStaticWebApps?: AzureStaticWebAppsOutput; - customOpenIdConnectProviders?: Record; - facebook?: FacebookOutput; - gitHub?: GitHubOutput; - google?: GoogleOutput; - legacyMicrosoftAccount?: LegacyMicrosoftAccountOutput; - twitter?: TwitterOutput; -} +export function isUnexpected(response: WebAppsListSlotDifferencesFromProduction200Response | WebAppsListSlotDifferencesFromProductionDefaultResponse): response is WebAppsListSlotDifferencesFromProductionDefaultResponse; // @public (undocumented) -export interface InboundEnvironmentEndpointCollectionOutput { - nextLink?: string; - value: Array; -} +export function isUnexpected(response: WebAppsSwapSlotWithProduction200Response | WebAppsSwapSlotWithProduction202Response | WebAppsSwapSlotWithProductionDefaultResponse): response is WebAppsSwapSlotWithProductionDefaultResponse; // @public (undocumented) -export interface InboundEnvironmentEndpointOutput { - description?: string; - endpoints?: Array; - ports?: Array; -} +export function isUnexpected(response: WebAppsListSnapshots200Response | WebAppsListSnapshotsDefaultResponse): response is WebAppsListSnapshotsDefaultResponse; // @public (undocumented) -export interface Ingress { - allowInsecure?: boolean; - external?: boolean; - fqdn?: string; - targetPort?: number; - // (undocumented) - traffic?: Array; - transport?: "auto" | "http" | "http2"; -} +export function isUnexpected(response: WebAppsListSnapshotsFromDRSecondary200Response | WebAppsListSnapshotsFromDRSecondaryDefaultResponse): response is WebAppsListSnapshotsFromDRSecondaryDefaultResponse; // @public (undocumented) -export interface IngressOutput { - allowInsecure?: boolean; - external?: boolean; - fqdn?: string; - targetPort?: number; - // (undocumented) - traffic?: Array; - transport?: "auto" | "http" | "http2"; -} +export function isUnexpected(response: WebAppsGetSourceControl200Response | WebAppsGetSourceControl201Response | WebAppsGetSourceControl202Response | WebAppsGetSourceControlDefaultResponse): response is WebAppsGetSourceControlDefaultResponse; // @public (undocumented) -export interface IpSecurityRestriction { - action?: string; - description?: string; - headers?: Record>; - ipAddress?: string; - name?: string; - priority?: number; - subnetMask?: string; - subnetTrafficTag?: number; - tag?: "Default" | "XffProxy" | "ServiceTag"; - vnetSubnetResourceId?: string; - vnetTrafficTag?: number; -} +export function isUnexpected(response: WebAppsCreateOrUpdateSourceControl200Response | WebAppsCreateOrUpdateSourceControl201Response | WebAppsCreateOrUpdateSourceControl202Response | WebAppsCreateOrUpdateSourceControlDefaultResponse): response is WebAppsCreateOrUpdateSourceControlDefaultResponse; // @public (undocumented) -export interface IpSecurityRestrictionOutput { - action?: string; - description?: string; - headers?: Record>; - ipAddress?: string; - name?: string; - priority?: number; - subnetMask?: string; - subnetTrafficTag?: number; - tag?: "Default" | "XffProxy" | "ServiceTag"; - vnetSubnetResourceId?: string; - vnetTrafficTag?: number; -} +export function isUnexpected(response: WebAppsDeleteSourceControl200Response | WebAppsDeleteSourceControl202Response | WebAppsDeleteSourceControl404Response | WebAppsDeleteSourceControlDefaultResponse): response is WebAppsDeleteSourceControl404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateSourceControl200Response | WebAppsUpdateSourceControl201Response | WebAppsUpdateSourceControl202Response | WebAppsUpdateSourceControlDefaultResponse): response is WebAppsUpdateSourceControlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStart200Response | WebAppsStartDefaultResponse): response is WebAppsStartDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStartNetworkTrace200Response | WebAppsStartNetworkTrace202Response | WebAppsStartNetworkTraceDefaultResponse): response is WebAppsStartNetworkTraceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStop200Response | WebAppsStopDefaultResponse): response is WebAppsStopDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsStopNetworkTrace200Response | WebAppsStopNetworkTrace204Response | WebAppsStopNetworkTraceDefaultResponse): response is WebAppsStopNetworkTraceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncRepository200Response | WebAppsSyncRepositoryDefaultResponse): response is WebAppsSyncRepositoryDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsSyncFunctionTriggers204Response | WebAppsSyncFunctionTriggersDefaultResponse): response is WebAppsSyncFunctionTriggersDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListTriggeredWebJobs200Response | WebAppsListTriggeredWebJobsDefaultResponse): response is WebAppsListTriggeredWebJobsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetTriggeredWebJob200Response | WebAppsGetTriggeredWebJob404Response | WebAppsGetTriggeredWebJobDefaultResponse): response is WebAppsGetTriggeredWebJob404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteTriggeredWebJob200Response | WebAppsDeleteTriggeredWebJob204Response | WebAppsDeleteTriggeredWebJobDefaultResponse): response is WebAppsDeleteTriggeredWebJobDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListTriggeredWebJobHistory200Response | WebAppsListTriggeredWebJobHistory404Response | WebAppsListTriggeredWebJobHistoryDefaultResponse): response is WebAppsListTriggeredWebJobHistory404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetTriggeredWebJobHistory200Response | WebAppsGetTriggeredWebJobHistory404Response | WebAppsGetTriggeredWebJobHistoryDefaultResponse): response is WebAppsGetTriggeredWebJobHistory404Response; // @public (undocumented) +export function isUnexpected(response: WebAppsRunTriggeredWebJob200Response | WebAppsRunTriggeredWebJob404Response | WebAppsRunTriggeredWebJobDefaultResponse): response is WebAppsRunTriggeredWebJob404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListUsages200Response | WebAppsListUsagesDefaultResponse): response is WebAppsListUsagesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListVnetConnections200Response | WebAppsListVnetConnectionsDefaultResponse): response is WebAppsListVnetConnectionsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetVnetConnection200Response | WebAppsGetVnetConnectionDefaultResponse): response is WebAppsGetVnetConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateVnetConnection200Response | WebAppsCreateOrUpdateVnetConnectionDefaultResponse): response is WebAppsCreateOrUpdateVnetConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsDeleteVnetConnection200Response | WebAppsDeleteVnetConnection404Response | WebAppsDeleteVnetConnectionDefaultResponse): response is WebAppsDeleteVnetConnection404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateVnetConnection200Response | WebAppsUpdateVnetConnectionDefaultResponse): response is WebAppsUpdateVnetConnectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetVnetConnectionGateway200Response | WebAppsGetVnetConnectionGateway404Response | WebAppsGetVnetConnectionGatewayDefaultResponse): response is WebAppsGetVnetConnectionGateway404Response; + +// @public (undocumented) +export function isUnexpected(response: WebAppsCreateOrUpdateVnetConnectionGateway200Response | WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse): response is WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsUpdateVnetConnectionGateway200Response | WebAppsUpdateVnetConnectionGatewayDefaultResponse): response is WebAppsUpdateVnetConnectionGatewayDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsListWebJobs200Response | WebAppsListWebJobsDefaultResponse): response is WebAppsListWebJobsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: WebAppsGetWebJob200Response | WebAppsGetWebJobDefaultResponse): response is WebAppsGetWebJobDefaultResponse; + +// @public export interface JwtClaimChecks { allowedClientApplications?: Array; allowedGroups?: Array; } -// @public (undocumented) +// @public export interface JwtClaimChecksOutput { allowedClientApplications?: Array; allowedGroups?: Array; } -// @public (undocumented) +// @public export interface KeyInfo { name?: string; value?: string; } -// @public (undocumented) +// @public export interface KeyInfoOutput { name?: string; value?: string; @@ -8226,115 +9887,104 @@ export interface KeyInfoOutput { // @public (undocumented) export interface KeyValuePairStringObject { - // (undocumented) - key?: string; - value?: Record; } // @public (undocumented) export interface KeyValuePairStringObjectOutput { // (undocumented) - key?: string; - value?: Record; + readonly key?: string; + readonly value?: Record; } -// @public (undocumented) +// @public export interface KubeEnvironment extends Resource { extendedLocation?: ExtendedLocation; properties?: KubeEnvironmentProperties; } -// @public (undocumented) +// @public export interface KubeEnvironmentCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface KubeEnvironmentOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; properties?: KubeEnvironmentPropertiesOutput; } -// @public (undocumented) +// @public export interface KubeEnvironmentPatchResource extends ProxyOnlyResource { properties?: KubeEnvironmentPatchResourceProperties; } -// @public (undocumented) +// @public export interface KubeEnvironmentPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: KubeEnvironmentPatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface KubeEnvironmentPatchResourceProperties { // (undocumented) aksResourceID?: string; appLogsConfiguration?: AppLogsConfiguration; arcConfiguration?: ArcConfiguration; containerAppsConfiguration?: ContainerAppsConfiguration; - defaultDomain?: string; - deploymentErrors?: string; internalLoadBalancerEnabled?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; staticIp?: string; } -// @public (undocumented) +// @public export interface KubeEnvironmentPatchResourcePropertiesOutput { // (undocumented) aksResourceID?: string; appLogsConfiguration?: AppLogsConfigurationOutput; arcConfiguration?: ArcConfigurationOutput; containerAppsConfiguration?: ContainerAppsConfigurationOutput; - defaultDomain?: string; - deploymentErrors?: string; + readonly defaultDomain?: string; + readonly deploymentErrors?: string; internalLoadBalancerEnabled?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; staticIp?: string; } -// @public (undocumented) +// @public export interface KubeEnvironmentProfile { id?: string; - name?: string; - type?: string; } -// @public (undocumented) +// @public export interface KubeEnvironmentProfileOutput { id?: string; - name?: string; - type?: string; + readonly name?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface KubeEnvironmentProperties { // (undocumented) aksResourceID?: string; appLogsConfiguration?: AppLogsConfiguration; arcConfiguration?: ArcConfiguration; containerAppsConfiguration?: ContainerAppsConfiguration; - defaultDomain?: string; - deploymentErrors?: string; environmentType?: string; internalLoadBalancerEnabled?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; staticIp?: string; } -// @public (undocumented) +// @public export interface KubeEnvironmentPropertiesOutput { // (undocumented) aksResourceID?: string; appLogsConfiguration?: AppLogsConfigurationOutput; arcConfiguration?: ArcConfigurationOutput; containerAppsConfiguration?: ContainerAppsConfigurationOutput; - defaultDomain?: string; - deploymentErrors?: string; + readonly defaultDomain?: string; + readonly deploymentErrors?: string; environmentType?: string; internalLoadBalancerEnabled?: boolean; - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "Waiting" | "InitializationInProgress" | "InfrastructureSetupInProgress" | "InfrastructureSetupComplete" | "ScheduledForDelete" | "UpgradeRequested" | "UpgradeFailed"; staticIp?: string; } @@ -8360,11 +10010,11 @@ export interface KubeEnvironmentsCreateOrUpdateBodyParam { } // @public -export interface KubeEnvironmentsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface KubeEnvironmentsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8377,34 +10027,28 @@ export type KubeEnvironmentsCreateOrUpdateParameters = KubeEnvironmentsCreateOrU // @public export interface KubeEnvironmentsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface KubeEnvironmentsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface KubeEnvironmentsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface KubeEnvironmentsDeletedefaultResponse extends HttpResponse { +export interface KubeEnvironmentsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8412,10 +10056,10 @@ export type KubeEnvironmentsDeleteParameters = RequestParameters; // @public (undocumented) export interface KubeEnvironmentsGet { - delete(options?: KubeEnvironmentsDeleteParameters): Promise; - get(options?: KubeEnvironmentsGetParameters): Promise; - patch(options: KubeEnvironmentsUpdateParameters): Promise; - put(options: KubeEnvironmentsCreateOrUpdateParameters): Promise; + delete(options?: KubeEnvironmentsDeleteParameters): StreamableMethod; + get(options?: KubeEnvironmentsGetParameters): StreamableMethod; + patch(options: KubeEnvironmentsUpdateParameters): StreamableMethod; + put(options: KubeEnvironmentsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -8427,11 +10071,11 @@ export interface KubeEnvironmentsGet200Response extends HttpResponse { } // @public -export interface KubeEnvironmentsGetdefaultResponse extends HttpResponse { +export interface KubeEnvironmentsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8439,7 +10083,7 @@ export type KubeEnvironmentsGetParameters = RequestParameters; // @public (undocumented) export interface KubeEnvironmentsListByResourceGroup { - get(options?: KubeEnvironmentsListByResourceGroupParameters): Promise; + get(options?: KubeEnvironmentsListByResourceGroupParameters): StreamableMethod; } // @public @@ -8451,11 +10095,11 @@ export interface KubeEnvironmentsListByResourceGroup200Response extends HttpResp } // @public -export interface KubeEnvironmentsListByResourceGroupdefaultResponse extends HttpResponse { +export interface KubeEnvironmentsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8463,7 +10107,7 @@ export type KubeEnvironmentsListByResourceGroupParameters = RequestParameters; // @public (undocumented) export interface KubeEnvironmentsListBySubscription { - get(options?: KubeEnvironmentsListBySubscriptionParameters): Promise; + get(options?: KubeEnvironmentsListBySubscriptionParameters): StreamableMethod; } // @public @@ -8475,11 +10119,11 @@ export interface KubeEnvironmentsListBySubscription200Response extends HttpRespo } // @public -export interface KubeEnvironmentsListBySubscriptiondefaultResponse extends HttpResponse { +export interface KubeEnvironmentsListBySubscriptionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8507,11 +10151,11 @@ export interface KubeEnvironmentsUpdateBodyParam { } // @public -export interface KubeEnvironmentsUpdatedefaultResponse extends HttpResponse { +export interface KubeEnvironmentsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8522,7 +10166,7 @@ export interface KubeEnvironmentsUpdateMediaTypesParam { // @public (undocumented) export type KubeEnvironmentsUpdateParameters = KubeEnvironmentsUpdateMediaTypesParam & KubeEnvironmentsUpdateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface LegacyMicrosoftAccount { enabled?: boolean; login?: LoginScopes; @@ -8530,7 +10174,7 @@ export interface LegacyMicrosoftAccount { validation?: AllowedAudiencesValidation; } -// @public (undocumented) +// @public export interface LegacyMicrosoftAccountOutput { enabled?: boolean; login?: LoginScopesOutput; @@ -8538,33 +10182,25 @@ export interface LegacyMicrosoftAccountOutput { validation?: AllowedAudiencesValidationOutput; } -// @public (undocumented) +// @public export interface LinuxJavaContainerSettings { - endOfLifeDate?: Date | string; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - java11Runtime?: string; - java8Runtime?: string; } -// @public (undocumented) +// @public export interface LinuxJavaContainerSettingsOutput { - endOfLifeDate?: string; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - java11Runtime?: string; - java8Runtime?: string; + readonly endOfLifeDate?: string; + readonly isAutoUpdate?: boolean; + readonly isDeprecated?: boolean; + readonly isEarlyAccess?: boolean; + readonly isHidden?: boolean; + readonly isPreview?: boolean; + readonly java11Runtime?: string; + readonly java8Runtime?: string; } // @public (undocumented) export interface ListBillingMeters { - get(options?: ListBillingMetersParameters): Promise; + get(options?: ListBillingMetersParameters): StreamableMethod; } // @public @@ -8576,11 +10212,11 @@ export interface ListBillingMeters200Response extends HttpResponse { } // @public -export interface ListBillingMetersdefaultResponse extends HttpResponse { +export interface ListBillingMetersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8600,7 +10236,7 @@ export interface ListBillingMetersQueryParamProperties { // @public (undocumented) export interface ListCustomHostNameSites { - get(options?: ListCustomHostNameSitesParameters): Promise; + get(options?: ListCustomHostNameSitesParameters): StreamableMethod; } // @public @@ -8612,11 +10248,11 @@ export interface ListCustomHostNameSites200Response extends HttpResponse { } // @public -export interface ListCustomHostNameSitesdefaultResponse extends HttpResponse { +export interface ListCustomHostNameSitesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8624,7 +10260,7 @@ export type ListCustomHostNameSitesParameters = RequestParameters; // @public (undocumented) export interface ListGeoRegions { - get(options?: ListGeoRegionsParameters): Promise; + get(options?: ListGeoRegionsParameters): StreamableMethod; } // @public @@ -8636,11 +10272,11 @@ export interface ListGeoRegions200Response extends HttpResponse { } // @public -export interface ListGeoRegionsdefaultResponse extends HttpResponse { +export interface ListGeoRegionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8662,7 +10298,7 @@ export interface ListGeoRegionsQueryParamProperties { // @public (undocumented) export interface ListPremierAddOnOffers { - get(options?: ListPremierAddOnOffersParameters): Promise; + get(options?: ListPremierAddOnOffersParameters): StreamableMethod; } // @public @@ -8674,11 +10310,11 @@ export interface ListPremierAddOnOffers200Response extends HttpResponse { } // @public -export interface ListPremierAddOnOffersdefaultResponse extends HttpResponse { +export interface ListPremierAddOnOffersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8686,7 +10322,7 @@ export type ListPremierAddOnOffersParameters = RequestParameters; // @public (undocumented) export interface ListSiteIdentifiersAssignedToHostName { - post(options: ListSiteIdentifiersAssignedToHostNameParameters): Promise; + post(options: ListSiteIdentifiersAssignedToHostNameParameters): StreamableMethod; } // @public @@ -8703,11 +10339,11 @@ export interface ListSiteIdentifiersAssignedToHostNameBodyParam { } // @public -export interface ListSiteIdentifiersAssignedToHostNamedefaultResponse extends HttpResponse { +export interface ListSiteIdentifiersAssignedToHostNameDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8720,7 +10356,7 @@ export type ListSiteIdentifiersAssignedToHostNameParameters = ListSiteIdentifier // @public (undocumented) export interface ListSkus { - get(options?: ListSkusParameters): Promise; + get(options?: ListSkusParameters): StreamableMethod; } // @public @@ -8732,11 +10368,11 @@ export interface ListSkus200Response extends HttpResponse { } // @public -export interface ListSkusdefaultResponse extends HttpResponse { +export interface ListSkusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8744,7 +10380,7 @@ export type ListSkusParameters = RequestParameters; // @public (undocumented) export interface ListSourceControls { - get(options?: ListSourceControlsParameters): Promise; + get(options?: ListSourceControlsParameters): StreamableMethod; } // @public @@ -8756,17 +10392,17 @@ export interface ListSourceControls200Response extends HttpResponse { } // @public -export interface ListSourceControlsdefaultResponse extends HttpResponse { +export interface ListSourceControlsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type ListSourceControlsParameters = RequestParameters; -// @public (undocumented) +// @public export interface LocalizableStringOutput { localizedValue?: string; value?: string; @@ -8788,7 +10424,7 @@ export interface LogAnalyticsConfigurationOutput { sharedKey?: string; } -// @public (undocumented) +// @public export interface Login { allowedExternalRedirectUrls?: Array; cookieExpiration?: CookieExpiration; @@ -8798,7 +10434,7 @@ export interface Login { tokenStore?: TokenStore; } -// @public (undocumented) +// @public export interface LoginOutput { allowedExternalRedirectUrls?: Array; cookieExpiration?: CookieExpirationOutput; @@ -8808,27 +10444,27 @@ export interface LoginOutput { tokenStore?: TokenStoreOutput; } -// @public (undocumented) +// @public export interface LoginRoutes { logoutEndpoint?: string; } -// @public (undocumented) +// @public export interface LoginRoutesOutput { logoutEndpoint?: string; } -// @public (undocumented) +// @public export interface LoginScopes { scopes?: Array; } -// @public (undocumented) +// @public export interface LoginScopesOutput { scopes?: Array; } -// @public (undocumented) +// @public export interface LogSpecificationOutput { // (undocumented) blobDuration?: string; @@ -8840,23 +10476,21 @@ export interface LogSpecificationOutput { name?: string; } -// @public (undocumented) +// @public export interface ManagedServiceIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } -// @public (undocumented) +// @public export interface ManagedServiceIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } -// @public (undocumented) +// @public export interface MetricAvailabilityOutput { // (undocumented) blobDuration?: string; @@ -8864,7 +10498,7 @@ export interface MetricAvailabilityOutput { timeGrain?: string; } -// @public (undocumented) +// @public export interface MetricSpecificationOutput { // (undocumented) aggregationType?: string; @@ -8902,61 +10536,56 @@ export interface MetricSpecificationOutput { unit?: string; } -// @public (undocumented) +// @public export interface MigrateMySqlRequest extends ProxyOnlyResource { properties?: MigrateMySqlRequestProperties; } -// @public (undocumented) +// @public export interface MigrateMySqlRequestOutput extends ProxyOnlyResourceOutput { properties?: MigrateMySqlRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface MigrateMySqlRequestProperties { connectionString: string; migrationType: "LocalToRemote" | "RemoteToLocal"; } -// @public (undocumented) +// @public export interface MigrateMySqlRequestPropertiesOutput { connectionString: string; migrationType: "LocalToRemote" | "RemoteToLocal"; } -// @public (undocumented) +// @public export interface MigrateMySqlStatus extends ProxyOnlyResource { properties?: MigrateMySqlStatusProperties; } -// @public (undocumented) +// @public export interface MigrateMySqlStatusOutput extends ProxyOnlyResourceOutput { properties?: MigrateMySqlStatusPropertiesOutput; } -// @public (undocumented) +// @public export interface MigrateMySqlStatusProperties { - localMySqlEnabled?: boolean; - migrationOperationStatus?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; - operationId?: string; } -// @public (undocumented) +// @public export interface MigrateMySqlStatusPropertiesOutput { - localMySqlEnabled?: boolean; - migrationOperationStatus?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; - operationId?: string; + readonly localMySqlEnabled?: boolean; + readonly migrationOperationStatus?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; + readonly operationId?: string; } // @public (undocumented) export interface Move { - post(options: MoveParameters): Promise; + post(options: MoveParameters): StreamableMethod; } // @public export interface Move204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -8967,11 +10596,11 @@ export interface MoveBodyParam { } // @public -export interface MovedefaultResponse extends HttpResponse { +export interface MoveDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -8982,12 +10611,12 @@ export interface MoveMediaTypesParam { // @public (undocumented) export type MoveParameters = MoveMediaTypesParam & MoveBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface MSDeploy extends ProxyOnlyResource { properties?: MSDeployCore; } -// @public (undocumented) +// @public export interface MSDeployCore { appOffline?: boolean; connectionString?: string; @@ -8998,7 +10627,7 @@ export interface MSDeployCore { skipAppData?: boolean; } -// @public (undocumented) +// @public export interface MSDeployCoreOutput { appOffline?: boolean; connectionString?: string; @@ -9009,159 +10638,146 @@ export interface MSDeployCoreOutput { skipAppData?: boolean; } -// @public (undocumented) +// @public export interface MSDeployLog extends ProxyOnlyResource { properties?: MSDeployLogProperties; } -// @public (undocumented) +// @public export interface MSDeployLogEntry { - message?: string; - time?: Date | string; - type?: "Message" | "Warning" | "Error"; } -// @public (undocumented) +// @public export interface MSDeployLogEntryOutput { - message?: string; - time?: string; - type?: "Message" | "Warning" | "Error"; + readonly message?: string; + readonly time?: string; + readonly type?: "Message" | "Warning" | "Error"; } -// @public (undocumented) +// @public export interface MSDeployLogOutput extends ProxyOnlyResourceOutput { properties?: MSDeployLogPropertiesOutput; } -// @public (undocumented) +// @public export interface MSDeployLogProperties { - entries?: Array; } -// @public (undocumented) +// @public export interface MSDeployLogPropertiesOutput { - entries?: Array; + readonly entries?: Array; } -// @public (undocumented) +// @public export interface MSDeployOutput extends ProxyOnlyResourceOutput { properties?: MSDeployCoreOutput; } -// @public (undocumented) +// @public export interface MSDeployStatus extends ProxyOnlyResource { properties?: MSDeployStatusProperties; } -// @public (undocumented) +// @public export interface MSDeployStatusOutput extends ProxyOnlyResourceOutput { properties?: MSDeployStatusPropertiesOutput; } -// @public (undocumented) +// @public export interface MSDeployStatusProperties { - complete?: boolean; - deployer?: string; - endTime?: Date | string; - provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; - startTime?: Date | string; } -// @public (undocumented) -export interface MSDeployStatusPropertiesOutput { - complete?: boolean; - deployer?: string; - endTime?: string; - provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; - startTime?: string; +// @public +export interface MSDeployStatusPropertiesOutput { + readonly complete?: boolean; + readonly deployer?: string; + readonly endTime?: string; + readonly provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; + readonly startTime?: string; } -// @public (undocumented) +// @public export interface NameIdentifier { name?: string; } -// @public (undocumented) +// @public export interface NameIdentifierCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface NameIdentifierOutput { name?: string; } -// @public (undocumented) +// @public export interface NameValuePair { name?: string; value?: string; } -// @public (undocumented) +// @public export interface NameValuePairOutput { name?: string; value?: string; } -// @public (undocumented) +// @public export interface NetworkFeatures extends ProxyOnlyResource { properties?: NetworkFeaturesProperties; } -// @public (undocumented) +// @public export interface NetworkFeaturesOutput extends ProxyOnlyResourceOutput { properties?: NetworkFeaturesPropertiesOutput; } -// @public (undocumented) +// @public export interface NetworkFeaturesProperties { - hybridConnections?: Array; - hybridConnectionsV2?: Array; - virtualNetworkConnection?: VnetInfo; - virtualNetworkName?: string; } -// @public (undocumented) +// @public export interface NetworkFeaturesPropertiesOutput { - hybridConnections?: Array; - hybridConnectionsV2?: Array; - virtualNetworkConnection?: VnetInfoOutput; - virtualNetworkName?: string; + readonly hybridConnections?: Array; + readonly hybridConnectionsV2?: Array; + readonly virtualNetworkConnection?: VnetInfoOutput; + readonly virtualNetworkName?: string; } -// @public (undocumented) +// @public export interface NetworkTraceOutput { message?: string; path?: string; status?: string; } -// @public (undocumented) +// @public export interface Nonce { nonceExpirationInterval?: string; validateNonce?: boolean; } -// @public (undocumented) +// @public export interface NonceOutput { nonceExpirationInterval?: string; validateNonce?: boolean; } -// @public (undocumented) +// @public export interface OpenIdConnectClientCredential { clientSecretSettingName?: string; method?: "ClientSecretPost"; } -// @public (undocumented) +// @public export interface OpenIdConnectClientCredentialOutput { clientSecretSettingName?: string; method?: "ClientSecretPost"; } -// @public (undocumented) +// @public export interface OpenIdConnectConfig { authorizationEndpoint?: string; certificationUri?: string; @@ -9170,7 +10786,7 @@ export interface OpenIdConnectConfig { wellKnownOpenIdConfiguration?: string; } -// @public (undocumented) +// @public export interface OpenIdConnectConfigOutput { authorizationEndpoint?: string; certificationUri?: string; @@ -9179,33 +10795,33 @@ export interface OpenIdConnectConfigOutput { wellKnownOpenIdConfiguration?: string; } -// @public (undocumented) +// @public export interface OpenIdConnectLogin { nameClaimType?: string; scopes?: Array; } -// @public (undocumented) +// @public export interface OpenIdConnectLoginOutput { nameClaimType?: string; scopes?: Array; } -// @public (undocumented) +// @public export interface OpenIdConnectRegistration { clientCredential?: OpenIdConnectClientCredential; clientId?: string; openIdConnectConfiguration?: OpenIdConnectConfig; } -// @public (undocumented) +// @public export interface OpenIdConnectRegistrationOutput { clientCredential?: OpenIdConnectClientCredentialOutput; clientId?: string; openIdConnectConfiguration?: OpenIdConnectConfigOutput; } -// @public (undocumented) +// @public export interface OperationOutput { createdTime?: string; errors?: Array; @@ -9217,18 +10833,30 @@ export interface OperationOutput { status?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; } -// @public (undocumented) +// @public export interface OutboundEnvironmentEndpointCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface OutboundEnvironmentEndpointOutput { category?: string; endpoints?: Array; } +// @public +export interface PagedAsyncIterableIterator { + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + byPage: (settings?: TPageSettings) => AsyncIterableIterator; + next(): Promise>; +} + +// @public +export interface PageSettings { + continuationToken?: string; +} + // @public export function paginate(client: Client, initialResponse: TResponse, options?: PagingOptions): PagedAsyncIterableIterator>; @@ -9244,27 +10872,27 @@ export interface PagingOptions { customGetPage?: GetPage[]>; } -// @public (undocumented) +// @public export interface PerfMonCounterCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface PerfMonResponseOutput { code?: string; data?: PerfMonSetOutput; message?: string; } -// @public (undocumented) +// @public export interface PerfMonSampleOutput { instanceName?: string; time?: string; value?: number; } -// @public (undocumented) +// @public export interface PerfMonSetOutput { endTime?: string; name?: string; @@ -9273,28 +10901,28 @@ export interface PerfMonSetOutput { values?: Array; } -// @public (undocumented) +// @public export interface PremierAddOn extends Resource { properties?: PremierAddOnProperties; } -// @public (undocumented) +// @public export interface PremierAddOnOffer extends ProxyOnlyResource { properties?: PremierAddOnOfferProperties; } -// @public (undocumented) +// @public export interface PremierAddOnOfferCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface PremierAddOnOfferOutput extends ProxyOnlyResourceOutput { properties?: PremierAddOnOfferPropertiesOutput; } -// @public (undocumented) +// @public export interface PremierAddOnOfferProperties { legalTermsUrl?: string; marketplaceOffer?: string; @@ -9308,7 +10936,7 @@ export interface PremierAddOnOfferProperties { webHostingPlanRestrictions?: "None" | "Free" | "Shared" | "Basic" | "Standard" | "Premium"; } -// @public (undocumented) +// @public export interface PremierAddOnOfferPropertiesOutput { legalTermsUrl?: string; marketplaceOffer?: string; @@ -9322,22 +10950,22 @@ export interface PremierAddOnOfferPropertiesOutput { webHostingPlanRestrictions?: "None" | "Free" | "Shared" | "Basic" | "Standard" | "Premium"; } -// @public (undocumented) +// @public export interface PremierAddOnOutput extends ResourceOutput { properties?: PremierAddOnPropertiesOutput; } -// @public (undocumented) +// @public export interface PremierAddOnPatchResource extends ProxyOnlyResource { properties?: PremierAddOnPatchResourceProperties; } -// @public (undocumented) +// @public export interface PremierAddOnPatchResourceOutput extends ProxyOnlyResourceOutput { properties?: PremierAddOnPatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface PremierAddOnPatchResourceProperties { marketplaceOffer?: string; marketplacePublisher?: string; @@ -9346,7 +10974,7 @@ export interface PremierAddOnPatchResourceProperties { vendor?: string; } -// @public (undocumented) +// @public export interface PremierAddOnPatchResourcePropertiesOutput { marketplaceOffer?: string; marketplacePublisher?: string; @@ -9355,7 +10983,7 @@ export interface PremierAddOnPatchResourcePropertiesOutput { vendor?: string; } -// @public (undocumented) +// @public export interface PremierAddOnProperties { marketplaceOffer?: string; marketplacePublisher?: string; @@ -9364,7 +10992,7 @@ export interface PremierAddOnProperties { vendor?: string; } -// @public (undocumented) +// @public export interface PremierAddOnPropertiesOutput { marketplaceOffer?: string; marketplacePublisher?: string; @@ -9373,41 +11001,41 @@ export interface PremierAddOnPropertiesOutput { vendor?: string; } -// @public (undocumented) +// @public export interface PrivateAccess extends ProxyOnlyResource { properties?: PrivateAccessProperties; } -// @public (undocumented) +// @public export interface PrivateAccessOutput extends ProxyOnlyResourceOutput { properties?: PrivateAccessPropertiesOutput; } -// @public (undocumented) +// @public export interface PrivateAccessProperties { enabled?: boolean; virtualNetworks?: Array; } -// @public (undocumented) +// @public export interface PrivateAccessPropertiesOutput { enabled?: boolean; virtualNetworks?: Array; } -// @public (undocumented) +// @public export interface PrivateAccessSubnet { key?: number; name?: string; } -// @public (undocumented) +// @public export interface PrivateAccessSubnetOutput { key?: number; name?: string; } -// @public (undocumented) +// @public export interface PrivateAccessVirtualNetwork { key?: number; name?: string; @@ -9415,7 +11043,7 @@ export interface PrivateAccessVirtualNetwork { subnets?: Array; } -// @public (undocumented) +// @public export interface PrivateAccessVirtualNetworkOutput { key?: number; name?: string; @@ -9425,45 +11053,45 @@ export interface PrivateAccessVirtualNetworkOutput { // @public (undocumented) export interface PrivateEndpointConnectionCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionApprovalRequest { privateLinkServiceConnectionState?: PrivateLinkConnectionState; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionApprovalRequestOutput { privateLinkServiceConnectionState?: PrivateLinkConnectionStateOutput; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionApprovalRequestResource extends ProxyOnlyResource { properties?: PrivateLinkConnectionApprovalRequest; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionApprovalRequestResourceOutput extends ProxyOnlyResourceOutput { properties?: PrivateLinkConnectionApprovalRequestOutput; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionState { actionsRequired?: string; description?: string; status?: string; } -// @public (undocumented) +// @public export interface PrivateLinkConnectionStateOutput { actionsRequired?: string; description?: string; status?: string; } -// @public (undocumented) +// @public export interface PrivateLinkResourceOutput { // (undocumented) id: string; @@ -9473,36 +11101,36 @@ export interface PrivateLinkResourceOutput { type: string; } -// @public (undocumented) +// @public export interface PrivateLinkResourcePropertiesOutput { - groupId?: string; - requiredMembers?: Array; - requiredZoneNames?: Array; + readonly groupId?: string; + readonly requiredMembers?: Array; + readonly requiredZoneNames?: Array; } -// @public (undocumented) +// @public export interface PrivateLinkResourcesWrapperOutput { // (undocumented) value: Array; } -// @public (undocumented) +// @public export interface ProcessInfo extends ProxyOnlyResource { properties?: ProcessInfoProperties; } -// @public (undocumented) +// @public export interface ProcessInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ProcessInfoOutput extends ProxyOnlyResourceOutput { properties?: ProcessInfoPropertiesOutput; } -// @public (undocumented) +// @public export interface ProcessInfoProperties { children?: Array; command_line?: string; @@ -9512,7 +11140,6 @@ export interface ProcessInfoProperties { file_name?: string; handle_count?: number; href?: string; - identifier?: number; iis_profile_timeout_in_seconds?: number; is_iis_profile_running?: boolean; is_profile_running?: boolean; @@ -9542,7 +11169,7 @@ export interface ProcessInfoProperties { working_set?: number; } -// @public (undocumented) +// @public export interface ProcessInfoPropertiesOutput { children?: Array; command_line?: string; @@ -9552,7 +11179,7 @@ export interface ProcessInfoPropertiesOutput { file_name?: string; handle_count?: number; href?: string; - identifier?: number; + readonly identifier?: number; iis_profile_timeout_in_seconds?: number; is_iis_profile_running?: boolean; is_profile_running?: boolean; @@ -9582,23 +11209,23 @@ export interface ProcessInfoPropertiesOutput { working_set?: number; } -// @public (undocumented) +// @public export interface ProcessModuleInfo extends ProxyOnlyResource { properties?: ProcessModuleInfoProperties; } -// @public (undocumented) +// @public export interface ProcessModuleInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ProcessModuleInfoOutput extends ProxyOnlyResourceOutput { properties?: ProcessModuleInfoPropertiesOutput; } -// @public (undocumented) +// @public export interface ProcessModuleInfoProperties { base_address?: string; file_description?: string; @@ -9613,7 +11240,7 @@ export interface ProcessModuleInfoProperties { product_version?: string; } -// @public (undocumented) +// @public export interface ProcessModuleInfoPropertiesOutput { base_address?: string; file_description?: string; @@ -9628,28 +11255,27 @@ export interface ProcessModuleInfoPropertiesOutput { product_version?: string; } -// @public (undocumented) +// @public export interface ProcessThreadInfo extends ProxyOnlyResource { properties?: ProcessThreadInfoProperties; } -// @public (undocumented) +// @public export interface ProcessThreadInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ProcessThreadInfoOutput extends ProxyOnlyResourceOutput { properties?: ProcessThreadInfoPropertiesOutput; } -// @public (undocumented) +// @public export interface ProcessThreadInfoProperties { base_priority?: number; current_priority?: number; href?: string; - identifier?: number; priority_level?: string; process?: string; start_address?: string; @@ -9660,12 +11286,12 @@ export interface ProcessThreadInfoProperties { wait_reason?: string; } -// @public (undocumented) +// @public export interface ProcessThreadInfoPropertiesOutput { base_priority?: number; current_priority?: number; href?: string; - identifier?: number; + readonly identifier?: number; priority_level?: string; process?: string; start_address?: string; @@ -9678,7 +11304,7 @@ export interface ProcessThreadInfoPropertiesOutput { // @public (undocumented) export interface ProviderGetAvailableStacks { - get(options?: ProviderGetAvailableStacksParameters): Promise; + get(options?: ProviderGetAvailableStacksParameters): StreamableMethod; } // @public @@ -9690,16 +11316,16 @@ export interface ProviderGetAvailableStacks200Response extends HttpResponse { } // @public -export interface ProviderGetAvailableStacksdefaultResponse extends HttpResponse { +export interface ProviderGetAvailableStacksDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface ProviderGetAvailableStacksOnPrem { - get(options?: ProviderGetAvailableStacksOnPremParameters): Promise; + get(options?: ProviderGetAvailableStacksOnPremParameters): StreamableMethod; } // @public @@ -9711,11 +11337,11 @@ export interface ProviderGetAvailableStacksOnPrem200Response extends HttpRespons } // @public -export interface ProviderGetAvailableStacksOnPremdefaultResponse extends HttpResponse { +export interface ProviderGetAvailableStacksOnPremDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -9750,7 +11376,7 @@ export interface ProviderGetAvailableStacksQueryParamProperties { // @public (undocumented) export interface ProviderGetFunctionAppStacks { - get(options?: ProviderGetFunctionAppStacksParameters): Promise; + get(options?: ProviderGetFunctionAppStacksParameters): StreamableMethod; } // @public @@ -9762,16 +11388,16 @@ export interface ProviderGetFunctionAppStacks200Response extends HttpResponse { } // @public -export interface ProviderGetFunctionAppStacksdefaultResponse extends HttpResponse { +export interface ProviderGetFunctionAppStacksDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface ProviderGetFunctionAppStacksForLocation { - get(options?: ProviderGetFunctionAppStacksForLocationParameters): Promise; + get(options?: ProviderGetFunctionAppStacksForLocationParameters): StreamableMethod; } // @public @@ -9783,11 +11409,11 @@ export interface ProviderGetFunctionAppStacksForLocation200Response extends Http } // @public -export interface ProviderGetFunctionAppStacksForLocationdefaultResponse extends HttpResponse { +export interface ProviderGetFunctionAppStacksForLocationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -9820,7 +11446,7 @@ export interface ProviderGetFunctionAppStacksQueryParamProperties { // @public (undocumented) export interface ProviderGetWebAppStacks { - get(options?: ProviderGetWebAppStacksParameters): Promise; + get(options?: ProviderGetWebAppStacksParameters): StreamableMethod; } // @public @@ -9832,16 +11458,16 @@ export interface ProviderGetWebAppStacks200Response extends HttpResponse { } // @public -export interface ProviderGetWebAppStacksdefaultResponse extends HttpResponse { +export interface ProviderGetWebAppStacksDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface ProviderGetWebAppStacksForLocation { - get(options?: ProviderGetWebAppStacksForLocationParameters): Promise; + get(options?: ProviderGetWebAppStacksForLocationParameters): StreamableMethod; } // @public @@ -9853,11 +11479,11 @@ export interface ProviderGetWebAppStacksForLocation200Response extends HttpRespo } // @public -export interface ProviderGetWebAppStacksForLocationdefaultResponse extends HttpResponse { +export interface ProviderGetWebAppStacksForLocationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -9890,7 +11516,7 @@ export interface ProviderGetWebAppStacksQueryParamProperties { // @public (undocumented) export interface ProviderListOperations { - get(options?: ProviderListOperationsParameters): Promise; + get(options?: ProviderListOperationsParameters): StreamableMethod; } // @public @@ -9902,79 +11528,75 @@ export interface ProviderListOperations200Response extends HttpResponse { } // @public -export interface ProviderListOperationsdefaultResponse extends HttpResponse { +export interface ProviderListOperationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type ProviderListOperationsParameters = RequestParameters; -// @public (undocumented) +// @public export interface ProxyOnlyResource { - id?: string; kind?: string; - name?: string; - type?: string; } -// @public (undocumented) +// @public export interface ProxyOnlyResourceOutput { - id?: string; + readonly id?: string; kind?: string; - name?: string; - type?: string; + readonly name?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface PublicCertificate extends ProxyOnlyResource { properties?: PublicCertificateProperties; } -// @public (undocumented) +// @public export interface PublicCertificateCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface PublicCertificateOutput extends ProxyOnlyResourceOutput { properties?: PublicCertificatePropertiesOutput; } -// @public (undocumented) +// @public export interface PublicCertificateProperties { blob?: string; publicCertificateLocation?: "CurrentUserMy" | "LocalMachineMy" | "Unknown"; - thumbprint?: string; } -// @public (undocumented) +// @public export interface PublicCertificatePropertiesOutput { blob?: string; publicCertificateLocation?: "CurrentUserMy" | "LocalMachineMy" | "Unknown"; - thumbprint?: string; + readonly thumbprint?: string; } -// @public (undocumented) +// @public export interface PublishingCredentialsPoliciesCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface PushSettings extends ProxyOnlyResource { properties?: PushSettingsProperties; } -// @public (undocumented) +// @public export interface PushSettingsOutput extends ProxyOnlyResourceOutput { properties?: PushSettingsPropertiesOutput; } -// @public (undocumented) +// @public export interface PushSettingsProperties { dynamicTagsJson?: string; isPushEnabled: boolean; @@ -9982,7 +11604,7 @@ export interface PushSettingsProperties { tagWhitelistJson?: string; } -// @public (undocumented) +// @public export interface PushSettingsPropertiesOutput { dynamicTagsJson?: string; isPushEnabled: boolean; @@ -9990,45 +11612,45 @@ export interface PushSettingsPropertiesOutput { tagWhitelistJson?: string; } -// @public (undocumented) +// @public export interface QueryUtterancesResult { sampleUtterance?: SampleUtterance; score?: number; } -// @public (undocumented) +// @public export interface QueryUtterancesResultOutput { sampleUtterance?: SampleUtteranceOutput; score?: number; } -// @public (undocumented) +// @public export interface QueryUtterancesResults { query?: string; results?: Array; } -// @public (undocumented) +// @public export interface QueryUtterancesResultsOutput { query?: string; results?: Array; } -// @public (undocumented) +// @public export interface QueueScaleRule { auth?: Array; queueLength?: number; queueName?: string; } -// @public (undocumented) +// @public export interface QueueScaleRuleOutput { auth?: Array; queueLength?: number; queueName?: string; } -// @public (undocumented) +// @public export interface RampUpRule { actionHostName?: string; changeDecisionCallbackUrl?: string; @@ -10040,7 +11662,7 @@ export interface RampUpRule { reroutePercentage?: number; } -// @public (undocumented) +// @public export interface RampUpRuleOutput { actionHostName?: string; changeDecisionCallbackUrl?: string; @@ -10052,27 +11674,26 @@ export interface RampUpRuleOutput { reroutePercentage?: number; } -// @public (undocumented) +// @public export interface Recommendation extends ProxyOnlyResource { properties?: RecommendationProperties; } -// @public (undocumented) +// @public export interface RecommendationCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface RecommendationOutput extends ProxyOnlyResourceOutput { properties?: RecommendationPropertiesOutput; } -// @public (undocumented) +// @public export interface RecommendationProperties { actionName?: string; bladeName?: string; - categoryTags?: Array; channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; creationTime?: Date | string; displayName?: string; @@ -10095,11 +11716,11 @@ export interface RecommendationProperties { states?: Array; } -// @public (undocumented) +// @public export interface RecommendationPropertiesOutput { actionName?: string; bladeName?: string; - categoryTags?: Array; + readonly categoryTags?: Array; channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; creationTime?: string; displayName?: string; @@ -10122,21 +11743,20 @@ export interface RecommendationPropertiesOutput { states?: Array; } -// @public (undocumented) +// @public export interface RecommendationRule extends ProxyOnlyResource { properties?: RecommendationRuleProperties; } -// @public (undocumented) +// @public export interface RecommendationRuleOutput extends ProxyOnlyResourceOutput { properties?: RecommendationRulePropertiesOutput; } -// @public (undocumented) +// @public export interface RecommendationRuleProperties { actionName?: string; bladeName?: string; - categoryTags?: Array; channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; description?: string; displayName?: string; @@ -10149,11 +11769,11 @@ export interface RecommendationRuleProperties { recommendationName?: string; } -// @public (undocumented) +// @public export interface RecommendationRulePropertiesOutput { actionName?: string; bladeName?: string; - categoryTags?: Array; + readonly categoryTags?: Array; channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; description?: string; displayName?: string; @@ -10168,23 +11788,21 @@ export interface RecommendationRulePropertiesOutput { // @public (undocumented) export interface RecommendationsDisableAllForHostingEnvironment { - post(options: RecommendationsDisableAllForHostingEnvironmentParameters): Promise; + post(options: RecommendationsDisableAllForHostingEnvironmentParameters): StreamableMethod; } // @public export interface RecommendationsDisableAllForHostingEnvironment204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface RecommendationsDisableAllForHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsDisableAllForHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10203,23 +11821,21 @@ export interface RecommendationsDisableAllForHostingEnvironmentQueryParamPropert // @public (undocumented) export interface RecommendationsDisableAllForWebApp { - post(options?: RecommendationsDisableAllForWebAppParameters): Promise; + post(options?: RecommendationsDisableAllForWebAppParameters): StreamableMethod; } // @public export interface RecommendationsDisableAllForWebApp204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface RecommendationsDisableAllForWebAppdefaultResponse extends HttpResponse { +export interface RecommendationsDisableAllForWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10227,23 +11843,21 @@ export type RecommendationsDisableAllForWebAppParameters = RequestParameters; // @public (undocumented) export interface RecommendationsDisableRecommendationForHostingEnvironment { - post(options: RecommendationsDisableRecommendationForHostingEnvironmentParameters): Promise; + post(options: RecommendationsDisableRecommendationForHostingEnvironmentParameters): StreamableMethod; } // @public export interface RecommendationsDisableRecommendationForHostingEnvironment200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface RecommendationsDisableRecommendationForHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10262,23 +11876,21 @@ export interface RecommendationsDisableRecommendationForHostingEnvironmentQueryP // @public (undocumented) export interface RecommendationsDisableRecommendationForSite { - post(options?: RecommendationsDisableRecommendationForSiteParameters): Promise; + post(options?: RecommendationsDisableRecommendationForSiteParameters): StreamableMethod; } // @public export interface RecommendationsDisableRecommendationForSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface RecommendationsDisableRecommendationForSitedefaultResponse extends HttpResponse { +export interface RecommendationsDisableRecommendationForSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10286,23 +11898,21 @@ export type RecommendationsDisableRecommendationForSiteParameters = RequestParam // @public (undocumented) export interface RecommendationsDisableRecommendationForSubscription { - post(options?: RecommendationsDisableRecommendationForSubscriptionParameters): Promise; + post(options?: RecommendationsDisableRecommendationForSubscriptionParameters): StreamableMethod; } // @public export interface RecommendationsDisableRecommendationForSubscription200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface RecommendationsDisableRecommendationForSubscriptiondefaultResponse extends HttpResponse { +export interface RecommendationsDisableRecommendationForSubscriptionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10310,7 +11920,7 @@ export type RecommendationsDisableRecommendationForSubscriptionParameters = Requ // @public (undocumented) export interface RecommendationsGetRuleDetailsByHostingEnvironment { - get(options?: RecommendationsGetRuleDetailsByHostingEnvironmentParameters): Promise; + get(options?: RecommendationsGetRuleDetailsByHostingEnvironmentParameters): StreamableMethod; } // @public @@ -10322,11 +11932,11 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironment200Response ex } // @public -export interface RecommendationsGetRuleDetailsByHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10346,7 +11956,7 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironmentQueryParamProp // @public (undocumented) export interface RecommendationsGetRuleDetailsByWebApp { - get(options?: RecommendationsGetRuleDetailsByWebAppParameters): Promise; + get(options?: RecommendationsGetRuleDetailsByWebAppParameters): StreamableMethod; } // @public @@ -10358,11 +11968,11 @@ export interface RecommendationsGetRuleDetailsByWebApp200Response extends HttpRe } // @public -export interface RecommendationsGetRuleDetailsByWebAppdefaultResponse extends HttpResponse { +export interface RecommendationsGetRuleDetailsByWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10382,7 +11992,7 @@ export interface RecommendationsGetRuleDetailsByWebAppQueryParamProperties { // @public (undocumented) export interface RecommendationsList { - get(options?: RecommendationsListParameters): Promise; + get(options?: RecommendationsListParameters): StreamableMethod; } // @public @@ -10394,16 +12004,16 @@ export interface RecommendationsList200Response extends HttpResponse { } // @public -export interface RecommendationsListdefaultResponse extends HttpResponse { +export interface RecommendationsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface RecommendationsListHistoryForHostingEnvironment { - get(options?: RecommendationsListHistoryForHostingEnvironmentParameters): Promise; + get(options?: RecommendationsListHistoryForHostingEnvironmentParameters): StreamableMethod; } // @public @@ -10415,11 +12025,11 @@ export interface RecommendationsListHistoryForHostingEnvironment200Response exte } // @public -export interface RecommendationsListHistoryForHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsListHistoryForHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10439,7 +12049,7 @@ export interface RecommendationsListHistoryForHostingEnvironmentQueryParamProper // @public (undocumented) export interface RecommendationsListHistoryForWebApp { - get(options?: RecommendationsListHistoryForWebAppParameters): Promise; + get(options?: RecommendationsListHistoryForWebAppParameters): StreamableMethod; } // @public @@ -10451,11 +12061,11 @@ export interface RecommendationsListHistoryForWebApp200Response extends HttpResp } // @public -export interface RecommendationsListHistoryForWebAppdefaultResponse extends HttpResponse { +export interface RecommendationsListHistoryForWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10490,7 +12100,7 @@ export interface RecommendationsListQueryParamProperties { // @public (undocumented) export interface RecommendationsListRecommendedRulesForHostingEnvironment { - get(options?: RecommendationsListRecommendedRulesForHostingEnvironmentParameters): Promise; + get(options?: RecommendationsListRecommendedRulesForHostingEnvironmentParameters): StreamableMethod; } // @public @@ -10502,11 +12112,11 @@ export interface RecommendationsListRecommendedRulesForHostingEnvironment200Resp } // @public -export interface RecommendationsListRecommendedRulesForHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10526,7 +12136,7 @@ export interface RecommendationsListRecommendedRulesForHostingEnvironmentQueryPa // @public (undocumented) export interface RecommendationsListRecommendedRulesForWebApp { - get(options?: RecommendationsListRecommendedRulesForWebAppParameters): Promise; + get(options?: RecommendationsListRecommendedRulesForWebAppParameters): StreamableMethod; } // @public @@ -10538,11 +12148,11 @@ export interface RecommendationsListRecommendedRulesForWebApp200Response extends } // @public -export interface RecommendationsListRecommendedRulesForWebAppdefaultResponse extends HttpResponse { +export interface RecommendationsListRecommendedRulesForWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10562,44 +12172,40 @@ export interface RecommendationsListRecommendedRulesForWebAppQueryParamPropertie // @public (undocumented) export interface RecommendationsResetAllFilters { - post(options?: RecommendationsResetAllFiltersParameters): Promise; + post(options?: RecommendationsResetAllFiltersParameters): StreamableMethod; } // @public export interface RecommendationsResetAllFilters204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface RecommendationsResetAllFiltersdefaultResponse extends HttpResponse { +export interface RecommendationsResetAllFiltersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface RecommendationsResetAllFiltersForHostingEnvironment { - post(options: RecommendationsResetAllFiltersForHostingEnvironmentParameters): Promise; + post(options: RecommendationsResetAllFiltersForHostingEnvironmentParameters): StreamableMethod; } // @public export interface RecommendationsResetAllFiltersForHostingEnvironment204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface RecommendationsResetAllFiltersForHostingEnvironmentdefaultResponse extends HttpResponse { +export interface RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10618,23 +12224,21 @@ export interface RecommendationsResetAllFiltersForHostingEnvironmentQueryParamPr // @public (undocumented) export interface RecommendationsResetAllFiltersForWebApp { - post(options?: RecommendationsResetAllFiltersForWebAppParameters): Promise; + post(options?: RecommendationsResetAllFiltersForWebAppParameters): StreamableMethod; } // @public export interface RecommendationsResetAllFiltersForWebApp204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface RecommendationsResetAllFiltersForWebAppdefaultResponse extends HttpResponse { +export interface RecommendationsResetAllFiltersForWebAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10643,31 +12247,31 @@ export type RecommendationsResetAllFiltersForWebAppParameters = RequestParameter // @public (undocumented) export type RecommendationsResetAllFiltersParameters = RequestParameters; -// @public (undocumented) +// @public export interface RegistryCredentials { passwordSecretRef?: string; server?: string; username?: string; } -// @public (undocumented) +// @public export interface RegistryCredentialsOutput { passwordSecretRef?: string; server?: string; username?: string; } -// @public (undocumented) +// @public export interface ReissueCertificateOrderRequest extends ProxyOnlyResource { properties?: ReissueCertificateOrderRequestProperties; } -// @public (undocumented) +// @public export interface ReissueCertificateOrderRequestOutput extends ProxyOnlyResourceOutput { properties?: ReissueCertificateOrderRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface ReissueCertificateOrderRequestProperties { csr?: string; delayExistingRevokeInHours?: number; @@ -10675,7 +12279,7 @@ export interface ReissueCertificateOrderRequestProperties { keySize?: number; } -// @public (undocumented) +// @public export interface ReissueCertificateOrderRequestPropertiesOutput { csr?: string; delayExistingRevokeInHours?: number; @@ -10683,17 +12287,17 @@ export interface ReissueCertificateOrderRequestPropertiesOutput { keySize?: number; } -// @public (undocumented) +// @public export interface RelayServiceConnectionEntity extends ProxyOnlyResource { properties?: RelayServiceConnectionEntityProperties; } -// @public (undocumented) +// @public export interface RelayServiceConnectionEntityOutput extends ProxyOnlyResourceOutput { properties?: RelayServiceConnectionEntityPropertiesOutput; } -// @public (undocumented) +// @public export interface RelayServiceConnectionEntityProperties { // (undocumented) biztalkUri?: string; @@ -10711,7 +12315,7 @@ export interface RelayServiceConnectionEntityProperties { resourceType?: string; } -// @public (undocumented) +// @public export interface RelayServiceConnectionEntityPropertiesOutput { // (undocumented) biztalkUri?: string; @@ -10729,142 +12333,135 @@ export interface RelayServiceConnectionEntityPropertiesOutput { resourceType?: string; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnection extends ProxyOnlyResource { properties?: RemotePrivateEndpointConnectionProperties; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionARMResource extends ProxyOnlyResource { properties?: RemotePrivateEndpointConnectionARMResourceProperties; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionARMResourceOutput extends ProxyOnlyResourceOutput { properties?: RemotePrivateEndpointConnectionARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionARMResourceProperties { ipAddresses?: Array; privateEndpoint?: ArmIdWrapper; privateLinkServiceConnectionState?: PrivateLinkConnectionState; - // (undocumented) - provisioningState?: string; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionARMResourcePropertiesOutput { ipAddresses?: Array; privateEndpoint?: ArmIdWrapperOutput; privateLinkServiceConnectionState?: PrivateLinkConnectionStateOutput; // (undocumented) - provisioningState?: string; + readonly provisioningState?: string; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionOutput extends ProxyOnlyResourceOutput { properties?: RemotePrivateEndpointConnectionPropertiesOutput; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionProperties { ipAddresses?: Array; privateEndpoint?: ArmIdWrapper; privateLinkServiceConnectionState?: PrivateLinkConnectionState; - // (undocumented) - provisioningState?: string; } -// @public (undocumented) +// @public export interface RemotePrivateEndpointConnectionPropertiesOutput { ipAddresses?: Array; privateEndpoint?: ArmIdWrapperOutput; privateLinkServiceConnectionState?: PrivateLinkConnectionStateOutput; // (undocumented) - provisioningState?: string; + readonly provisioningState?: string; } -// @public (undocumented) +// @public export interface Rendering { description?: string; title?: string; type?: "NoGraph" | "Table" | "TimeSeries" | "TimeSeriesPerInstance" | "PieChart" | "DataSummary" | "Email" | "Insights" | "DynamicInsight" | "Markdown" | "Detector" | "DropDown" | "Card" | "Solution" | "Guage" | "Form" | "ChangeSets" | "ChangeAnalysisOnboarding" | "ChangesView" | "AppInsight" | "DependencyGraph" | "DownTime" | "SummaryCard" | "SearchComponent" | "AppInsightEnablement"; } -// @public (undocumented) +// @public export interface RenderingOutput { description?: string; title?: string; type?: "NoGraph" | "Table" | "TimeSeries" | "TimeSeriesPerInstance" | "PieChart" | "DataSummary" | "Email" | "Insights" | "DynamicInsight" | "Markdown" | "Detector" | "DropDown" | "Card" | "Solution" | "Guage" | "Form" | "ChangeSets" | "ChangeAnalysisOnboarding" | "ChangesView" | "AppInsight" | "DependencyGraph" | "DownTime" | "SummaryCard" | "SearchComponent" | "AppInsightEnablement"; } -// @public (undocumented) +// @public export interface RenewCertificateOrderRequest extends ProxyOnlyResource { properties?: RenewCertificateOrderRequestProperties; } -// @public (undocumented) +// @public export interface RenewCertificateOrderRequestOutput extends ProxyOnlyResourceOutput { properties?: RenewCertificateOrderRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface RenewCertificateOrderRequestProperties { csr?: string; isPrivateKeyExternal?: boolean; keySize?: number; } -// @public (undocumented) +// @public export interface RenewCertificateOrderRequestPropertiesOutput { csr?: string; isPrivateKeyExternal?: boolean; keySize?: number; } -// @public (undocumented) +// @public export interface RequestsBasedTrigger { count?: number; timeInterval?: string; } -// @public (undocumented) +// @public export interface RequestsBasedTriggerOutput { count?: number; timeInterval?: string; } -// @public (undocumented) +// @public export interface Resource { - id?: string; kind?: string; location: string; - name?: string; tags?: Record; - type?: string; } -// @public (undocumented) +// @public export interface ResourceCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ResourceHealthMetadata extends ProxyOnlyResource { properties?: ResourceHealthMetadataProperties; } -// @public (undocumented) +// @public export interface ResourceHealthMetadataCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } // @public (undocumented) export interface ResourceHealthMetadataGetBySite { - get(options?: ResourceHealthMetadataGetBySiteParameters): Promise; + get(options?: ResourceHealthMetadataGetBySiteParameters): StreamableMethod; } // @public @@ -10876,11 +12473,11 @@ export interface ResourceHealthMetadataGetBySite200Response extends HttpResponse } // @public -export interface ResourceHealthMetadataGetBySitedefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataGetBySiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10888,7 +12485,7 @@ export type ResourceHealthMetadataGetBySiteParameters = RequestParameters; // @public (undocumented) export interface ResourceHealthMetadataGetBySiteSlot { - get(options?: ResourceHealthMetadataGetBySiteSlotParameters): Promise; + get(options?: ResourceHealthMetadataGetBySiteSlotParameters): StreamableMethod; } // @public @@ -10900,11 +12497,11 @@ export interface ResourceHealthMetadataGetBySiteSlot200Response extends HttpResp } // @public -export interface ResourceHealthMetadataGetBySiteSlotdefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataGetBySiteSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10912,7 +12509,7 @@ export type ResourceHealthMetadataGetBySiteSlotParameters = RequestParameters; // @public (undocumented) export interface ResourceHealthMetadataList { - get(options?: ResourceHealthMetadataListParameters): Promise; + get(options?: ResourceHealthMetadataListParameters): StreamableMethod; } // @public @@ -10925,7 +12522,7 @@ export interface ResourceHealthMetadataList200Response extends HttpResponse { // @public (undocumented) export interface ResourceHealthMetadataListByResourceGroup { - get(options?: ResourceHealthMetadataListByResourceGroupParameters): Promise; + get(options?: ResourceHealthMetadataListByResourceGroupParameters): StreamableMethod; } // @public @@ -10937,11 +12534,11 @@ export interface ResourceHealthMetadataListByResourceGroup200Response extends Ht } // @public -export interface ResourceHealthMetadataListByResourceGroupdefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10949,7 +12546,7 @@ export type ResourceHealthMetadataListByResourceGroupParameters = RequestParamet // @public (undocumented) export interface ResourceHealthMetadataListBySite { - get(options?: ResourceHealthMetadataListBySiteParameters): Promise; + get(options?: ResourceHealthMetadataListBySiteParameters): StreamableMethod; } // @public @@ -10961,11 +12558,11 @@ export interface ResourceHealthMetadataListBySite200Response extends HttpRespons } // @public -export interface ResourceHealthMetadataListBySitedefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataListBySiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -10973,7 +12570,7 @@ export type ResourceHealthMetadataListBySiteParameters = RequestParameters; // @public (undocumented) export interface ResourceHealthMetadataListBySiteSlot { - get(options?: ResourceHealthMetadataListBySiteSlotParameters): Promise; + get(options?: ResourceHealthMetadataListBySiteSlotParameters): StreamableMethod; } // @public @@ -10985,115 +12582,108 @@ export interface ResourceHealthMetadataListBySiteSlot200Response extends HttpRes } // @public -export interface ResourceHealthMetadataListBySiteSlotdefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataListBySiteSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type ResourceHealthMetadataListBySiteSlotParameters = RequestParameters; // @public -export interface ResourceHealthMetadataListdefaultResponse extends HttpResponse { +export interface ResourceHealthMetadataListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type ResourceHealthMetadataListParameters = RequestParameters; -// @public (undocumented) +// @public export interface ResourceHealthMetadataOutput extends ProxyOnlyResourceOutput { properties?: ResourceHealthMetadataPropertiesOutput; } -// @public (undocumented) +// @public export interface ResourceHealthMetadataProperties { category?: string; signalAvailability?: boolean; } -// @public (undocumented) +// @public export interface ResourceHealthMetadataPropertiesOutput { category?: string; signalAvailability?: boolean; } -// @public (undocumented) +// @public export interface ResourceMetricAvailability { - retention?: string; - timeGrain?: string; } -// @public (undocumented) +// @public export interface ResourceMetricAvailabilityOutput { - retention?: string; - timeGrain?: string; + readonly retention?: string; + readonly timeGrain?: string; } -// @public (undocumented) +// @public export interface ResourceMetricDefinition extends ProxyOnlyResource { properties?: ResourceMetricDefinitionProperties; } -// @public (undocumented) +// @public export interface ResourceMetricDefinitionCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface ResourceMetricDefinitionOutput extends ProxyOnlyResourceOutput { properties?: ResourceMetricDefinitionPropertiesOutput; } -// @public (undocumented) +// @public export interface ResourceMetricDefinitionProperties { - metricAvailabilities?: Array; - primaryAggregationType?: string; - properties?: Record; - resourceUri?: string; - unit?: string; } -// @public (undocumented) +// @public export interface ResourceMetricDefinitionPropertiesOutput { - metricAvailabilities?: Array; - primaryAggregationType?: string; - properties?: Record; - resourceUri?: string; - unit?: string; + readonly metricAvailabilities?: Array; + readonly primaryAggregationType?: string; + readonly properties?: Record; + readonly resourceUri?: string; + readonly unit?: string; } -// @public (undocumented) +// @public export interface ResourceNameAvailabilityOutput { message?: string; nameAvailable?: boolean; reason?: "Invalid" | "AlreadyExists"; } -// @public (undocumented) +// @public export interface ResourceNameAvailabilityRequest { isFqdn?: boolean; name: string; type: "Site" | "Slot" | "HostingEnvironment" | "PublishingUser" | "Microsoft.Web/sites" | "Microsoft.Web/sites/slots" | "Microsoft.Web/hostingEnvironments" | "Microsoft.Web/publishingUsers"; } -// @public (undocumented) +// @public export interface ResourceOutput { - id?: string; + readonly id?: string; kind?: string; location: string; - name?: string; + readonly name?: string; tags?: Record; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface ResponseMessageEnvelopeRemotePrivateEndpointConnection { error?: ErrorEntity; id?: string; @@ -11109,7 +12699,7 @@ export interface ResponseMessageEnvelopeRemotePrivateEndpointConnection { zones?: Array; } -// @public (undocumented) +// @public export interface ResponseMessageEnvelopeRemotePrivateEndpointConnectionOutput { error?: ErrorEntityOutput; id?: string; @@ -11135,17 +12725,17 @@ export interface ResponseMetaDataOutput { dataSource?: DataSourceOutput; } -// @public (undocumented) +// @public export interface RestoreRequest extends ProxyOnlyResource { properties?: RestoreRequestProperties; } -// @public (undocumented) +// @public export interface RestoreRequestOutput extends ProxyOnlyResourceOutput { properties?: RestoreRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface RestoreRequestProperties { adjustConnectionStrings?: boolean; appServicePlan?: string; @@ -11160,7 +12750,7 @@ export interface RestoreRequestProperties { storageAccountUrl: string; } -// @public (undocumented) +// @public export interface RestoreRequestPropertiesOutput { adjustConnectionStrings?: boolean; appServicePlan?: string; @@ -11175,46 +12765,37 @@ export interface RestoreRequestPropertiesOutput { storageAccountUrl: string; } -// @public (undocumented) +// @public export interface Revision extends Resource { properties?: RevisionProperties; } -// @public (undocumented) +// @public export interface RevisionCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface RevisionOutput extends ResourceOutput { properties?: RevisionPropertiesOutput; } -// @public (undocumented) +// @public export interface RevisionProperties { - active?: boolean; - createdTime?: Date | string; - fqdn?: string; - healthState?: "Healthy" | "Unhealthy" | "None"; - provisioningError?: string; - provisioningState?: "Provisioning" | "Provisioned" | "Failed" | "Deprovisioning" | "Deprovisioned"; - replicas?: number; - template?: Template; - trafficWeight?: number; } -// @public (undocumented) +// @public export interface RevisionPropertiesOutput { - active?: boolean; - createdTime?: string; - fqdn?: string; - healthState?: "Healthy" | "Unhealthy" | "None"; - provisioningError?: string; - provisioningState?: "Provisioning" | "Provisioned" | "Failed" | "Deprovisioning" | "Deprovisioned"; - replicas?: number; - template?: TemplateOutput; - trafficWeight?: number; + readonly active?: boolean; + readonly createdTime?: string; + readonly fqdn?: string; + readonly healthState?: "Healthy" | "Unhealthy" | "None"; + readonly provisioningError?: string; + readonly provisioningState?: "Provisioning" | "Provisioned" | "Failed" | "Deprovisioning" | "Deprovisioned"; + readonly replicas?: number; + readonly template?: TemplateOutput; + readonly trafficWeight?: number; } // @public (undocumented) @@ -11708,35 +13289,35 @@ export interface Routes { (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName}", subscriptionId: string, resourceGroupName: string, name: string, webJobName: string): WebAppsGetWebJob; } -// @public (undocumented) +// @public export interface SampleUtterance { links?: Array; qid?: string; text?: string; } -// @public (undocumented) +// @public export interface SampleUtteranceOutput { links?: Array; qid?: string; text?: string; } -// @public (undocumented) +// @public export interface Scale { maxReplicas?: number; minReplicas?: number; rules?: Array; } -// @public (undocumented) +// @public export interface ScaleOutput { maxReplicas?: number; minReplicas?: number; rules?: Array; } -// @public (undocumented) +// @public export interface ScaleRule { azureQueue?: QueueScaleRule; custom?: CustomScaleRule; @@ -11744,19 +13325,19 @@ export interface ScaleRule { name?: string; } -// @public (undocumented) +// @public export interface ScaleRuleAuth { secretRef?: string; triggerParameter?: string; } -// @public (undocumented) +// @public export interface ScaleRuleAuthOutput { secretRef?: string; triggerParameter?: string; } -// @public (undocumented) +// @public export interface ScaleRuleOutput { azureQueue?: QueueScaleRuleOutput; custom?: CustomScaleRuleOutput; @@ -11764,24 +13345,24 @@ export interface ScaleRuleOutput { name?: string; } -// @public (undocumented) +// @public export interface Secret { name?: string; value?: string; } -// @public (undocumented) +// @public export interface SecretOutput { name?: string; value?: string; } -// @public (undocumented) +// @public export interface SecretsCollectionOutput { value: Array; } -// @public (undocumented) +// @public export interface ServiceSpecificationOutput { // (undocumented) logSpecifications?: Array; @@ -11789,24 +13370,46 @@ export interface ServiceSpecificationOutput { metricSpecifications?: Array; } -// @public (undocumented) +// @public +export interface SimplePollerLike, TResult> { + getOperationState(): TState; + getResult(): TResult | undefined; + isDone(): boolean; + // @deprecated + isStopped(): boolean; + onProgress(callback: (state: TState) => void): CancelOnProgress; + poll(options?: { + abortSignal?: AbortSignalLike; + }): Promise; + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + serialize(): Promise; + // @deprecated + stopPolling(): void; + submitted(): Promise; + // @deprecated + toString(): string; +} + +// @public export interface Site extends Resource { extendedLocation?: ExtendedLocation; identity?: ManagedServiceIdentity; properties?: SiteProperties; } -// @public (undocumented) +// @public export interface SiteAuthSettings extends ProxyOnlyResource { properties?: SiteAuthSettingsProperties; } -// @public (undocumented) +// @public export interface SiteAuthSettingsOutput extends ProxyOnlyResourceOutput { properties?: SiteAuthSettingsPropertiesOutput; } -// @public (undocumented) +// @public export interface SiteAuthSettingsProperties { aadClaimsAuthorization?: string; additionalLoginParams?: Array; @@ -11848,7 +13451,7 @@ export interface SiteAuthSettingsProperties { validateIssuer?: boolean; } -// @public (undocumented) +// @public export interface SiteAuthSettingsPropertiesOutput { aadClaimsAuthorization?: string; additionalLoginParams?: Array; @@ -11890,17 +13493,17 @@ export interface SiteAuthSettingsPropertiesOutput { validateIssuer?: boolean; } -// @public (undocumented) +// @public export interface SiteAuthSettingsV2 extends ProxyOnlyResource { properties?: SiteAuthSettingsV2Properties; } -// @public (undocumented) +// @public export interface SiteAuthSettingsV2Output extends ProxyOnlyResourceOutput { properties?: SiteAuthSettingsV2PropertiesOutput; } -// @public (undocumented) +// @public export interface SiteAuthSettingsV2Properties { globalValidation?: GlobalValidation; httpSettings?: HttpSettings; @@ -11909,7 +13512,7 @@ export interface SiteAuthSettingsV2Properties { platform?: AuthPlatform; } -// @public (undocumented) +// @public export interface SiteAuthSettingsV2PropertiesOutput { globalValidation?: GlobalValidationOutput; httpSettings?: HttpSettingsOutput; @@ -11918,13 +13521,13 @@ export interface SiteAuthSettingsV2PropertiesOutput { platform?: AuthPlatformOutput; } -// @public (undocumented) +// @public export interface SiteCloneabilityCriterionOutput { description?: string; name?: string; } -// @public (undocumented) +// @public export interface SiteCloneabilityOutput { blockingCharacteristics?: Array; blockingFeatures?: Array; @@ -11932,7 +13535,7 @@ export interface SiteCloneabilityOutput { unsupportedFeatures?: Array; } -// @public (undocumented) +// @public export interface SiteConfig { acrUseManagedIdentityCreds?: boolean; acrUserManagedIdentityID?: string; @@ -11968,7 +13571,6 @@ export interface SiteConfig { loadBalancing?: "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin"; localMySqlEnabled?: boolean; logsDirectorySizeLimit?: number; - machineKey?: SiteMachineKey; managedPipelineMode?: "Integrated" | "Classic"; managedServiceIdentityId?: number; minimumElasticInstanceCount?: number; @@ -12003,7 +13605,7 @@ export interface SiteConfig { xManagedServiceIdentityId?: number; } -// @public (undocumented) +// @public export interface SiteConfigOutput { acrUseManagedIdentityCreds?: boolean; acrUserManagedIdentityID?: string; @@ -12039,7 +13641,7 @@ export interface SiteConfigOutput { loadBalancing?: "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin"; localMySqlEnabled?: boolean; logsDirectorySizeLimit?: number; - machineKey?: SiteMachineKeyOutput; + readonly machineKey?: SiteMachineKeyOutput; managedPipelineMode?: "Integrated" | "Classic"; managedServiceIdentityId?: number; minimumElasticInstanceCount?: number; @@ -12074,83 +13676,77 @@ export interface SiteConfigOutput { xManagedServiceIdentityId?: number; } -// @public (undocumented) +// @public export interface SiteConfigPropertiesDictionary { - javaVersion?: string; - linuxFxVersion?: string; - powerShellVersion?: string; - use32BitWorkerProcess?: boolean; } -// @public (undocumented) +// @public export interface SiteConfigPropertiesDictionaryOutput { - javaVersion?: string; - linuxFxVersion?: string; - powerShellVersion?: string; - use32BitWorkerProcess?: boolean; + readonly javaVersion?: string; + readonly linuxFxVersion?: string; + readonly powerShellVersion?: string; + readonly use32BitWorkerProcess?: boolean; } -// @public (undocumented) +// @public export interface SiteConfigResource extends ProxyOnlyResource { properties?: SiteConfig; } -// @public (undocumented) +// @public export interface SiteConfigResourceCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SiteConfigResourceOutput extends ProxyOnlyResourceOutput { properties?: SiteConfigOutput; } -// @public (undocumented) +// @public export interface SiteConfigurationSnapshotInfo extends ProxyOnlyResource { properties?: SiteConfigurationSnapshotInfoProperties; } -// @public (undocumented) +// @public export interface SiteConfigurationSnapshotInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SiteConfigurationSnapshotInfoOutput extends ProxyOnlyResourceOutput { properties?: SiteConfigurationSnapshotInfoPropertiesOutput; } -// @public (undocumented) +// @public export interface SiteConfigurationSnapshotInfoProperties { - snapshotId?: number; - time?: Date | string; } -// @public (undocumented) +// @public export interface SiteConfigurationSnapshotInfoPropertiesOutput { - snapshotId?: number; - time?: string; + readonly snapshotId?: number; + readonly time?: string; } -// @public (undocumented) +// @public export interface SiteExtensionInfo extends ProxyOnlyResource { properties?: SiteExtensionInfoProperties; } -// @public (undocumented) +// @public export interface SiteExtensionInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SiteExtensionInfoOutput extends ProxyOnlyResourceOutput { properties?: SiteExtensionInfoPropertiesOutput; } -// @public (undocumented) +// @public export interface SiteExtensionInfoProperties { authors?: Array; comment?: string; @@ -12175,7 +13771,7 @@ export interface SiteExtensionInfoProperties { version?: string; } -// @public (undocumented) +// @public export interface SiteExtensionInfoPropertiesOutput { authors?: Array; comment?: string; @@ -12200,31 +13796,31 @@ export interface SiteExtensionInfoPropertiesOutput { version?: string; } -// @public (undocumented) +// @public export interface SiteLimits { maxDiskSizeInMb?: number; maxMemoryInMb?: number; maxPercentageCpu?: number; } -// @public (undocumented) +// @public export interface SiteLimitsOutput { maxDiskSizeInMb?: number; maxMemoryInMb?: number; maxPercentageCpu?: number; } -// @public (undocumented) +// @public export interface SiteLogsConfig extends ProxyOnlyResource { properties?: SiteLogsConfigProperties; } -// @public (undocumented) +// @public export interface SiteLogsConfigOutput extends ProxyOnlyResourceOutput { properties?: SiteLogsConfigPropertiesOutput; } -// @public (undocumented) +// @public export interface SiteLogsConfigProperties { applicationLogs?: ApplicationLogsConfig; detailedErrorMessages?: EnabledConfig; @@ -12232,7 +13828,7 @@ export interface SiteLogsConfigProperties { httpLogs?: HttpLogsConfig; } -// @public (undocumented) +// @public export interface SiteLogsConfigPropertiesOutput { applicationLogs?: ApplicationLogsConfigOutput; detailedErrorMessages?: EnabledConfigOutput; @@ -12240,7 +13836,7 @@ export interface SiteLogsConfigPropertiesOutput { httpLogs?: HttpLogsConfigOutput; } -// @public (undocumented) +// @public export interface SiteMachineKey { decryption?: string; decryptionKey?: string; @@ -12248,7 +13844,7 @@ export interface SiteMachineKey { validationKey?: string; } -// @public (undocumented) +// @public export interface SiteMachineKeyOutput { decryption?: string; decryptionKey?: string; @@ -12256,28 +13852,27 @@ export interface SiteMachineKeyOutput { validationKey?: string; } -// @public (undocumented) +// @public export interface SiteOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; identity?: ManagedServiceIdentityOutput; properties?: SitePropertiesOutput; } -// @public (undocumented) +// @public export interface SitePatchResource extends ProxyOnlyResource { identity?: ManagedServiceIdentity; properties?: SitePatchResourceProperties; } -// @public (undocumented) +// @public export interface SitePatchResourceOutput extends ProxyOnlyResourceOutput { identity?: ManagedServiceIdentityOutput; properties?: SitePatchResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface SitePatchResourceProperties { - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; clientAffinityEnabled?: boolean; clientCertEnabled?: boolean; clientCertExclusionPaths?: string; @@ -12286,43 +13881,26 @@ export interface SitePatchResourceProperties { containerSize?: number; customDomainVerificationId?: string; dailyMemoryTimeQuota?: number; - defaultHostName?: string; enabled?: boolean; - enabledHostNames?: Array; hostingEnvironmentProfile?: HostingEnvironmentProfile; - hostNames?: Array; hostNamesDisabled?: boolean; hostNameSslStates?: Array; httpsOnly?: boolean; hyperV?: boolean; - inProgressOperationId?: string; - isDefaultContainer?: boolean; isXenon?: boolean; keyVaultReferenceIdentity?: string; - lastModifiedTimeUtc?: Date | string; - maxNumberOfWorkers?: number; - outboundIpAddresses?: string; - possibleOutboundIpAddresses?: string; redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - repositorySiteName?: string; reserved?: boolean; - resourceGroup?: string; scmSiteAlsoStopped?: boolean; serverFarmId?: string; siteConfig?: SiteConfig; - slotSwapStatus?: SlotSwapStatus; - state?: string; storageAccountRequired?: boolean; - suspendedTill?: Date | string; - targetSwapSlot?: string; - trafficManagerHostNames?: Array; - usageState?: "Normal" | "Exceeded"; virtualNetworkSubnetId?: string; } -// @public (undocumented) +// @public export interface SitePatchResourcePropertiesOutput { - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; + readonly availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; clientAffinityEnabled?: boolean; clientCertEnabled?: boolean; clientCertExclusionPaths?: string; @@ -12331,51 +13909,51 @@ export interface SitePatchResourcePropertiesOutput { containerSize?: number; customDomainVerificationId?: string; dailyMemoryTimeQuota?: number; - defaultHostName?: string; + readonly defaultHostName?: string; enabled?: boolean; - enabledHostNames?: Array; + readonly enabledHostNames?: Array; hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; - hostNames?: Array; + readonly hostNames?: Array; hostNamesDisabled?: boolean; hostNameSslStates?: Array; httpsOnly?: boolean; hyperV?: boolean; - inProgressOperationId?: string; - isDefaultContainer?: boolean; + readonly inProgressOperationId?: string; + readonly isDefaultContainer?: boolean; isXenon?: boolean; keyVaultReferenceIdentity?: string; - lastModifiedTimeUtc?: string; - maxNumberOfWorkers?: number; - outboundIpAddresses?: string; - possibleOutboundIpAddresses?: string; + readonly lastModifiedTimeUtc?: string; + readonly maxNumberOfWorkers?: number; + readonly outboundIpAddresses?: string; + readonly possibleOutboundIpAddresses?: string; redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - repositorySiteName?: string; + readonly repositorySiteName?: string; reserved?: boolean; - resourceGroup?: string; + readonly resourceGroup?: string; scmSiteAlsoStopped?: boolean; serverFarmId?: string; siteConfig?: SiteConfigOutput; - slotSwapStatus?: SlotSwapStatusOutput; - state?: string; + readonly slotSwapStatus?: SlotSwapStatusOutput; + readonly state?: string; storageAccountRequired?: boolean; - suspendedTill?: string; - targetSwapSlot?: string; - trafficManagerHostNames?: Array; - usageState?: "Normal" | "Exceeded"; + readonly suspendedTill?: string; + readonly targetSwapSlot?: string; + readonly trafficManagerHostNames?: Array; + readonly usageState?: "Normal" | "Exceeded"; virtualNetworkSubnetId?: string; } -// @public (undocumented) +// @public export interface SitePhpErrorLogFlag extends ProxyOnlyResource { properties?: SitePhpErrorLogFlagProperties; } -// @public (undocumented) +// @public export interface SitePhpErrorLogFlagOutput extends ProxyOnlyResourceOutput { properties?: SitePhpErrorLogFlagPropertiesOutput; } -// @public (undocumented) +// @public export interface SitePhpErrorLogFlagProperties { localLogErrors?: string; localLogErrorsMaxLength?: string; @@ -12383,7 +13961,7 @@ export interface SitePhpErrorLogFlagProperties { masterLogErrorsMaxLength?: string; } -// @public (undocumented) +// @public export interface SitePhpErrorLogFlagPropertiesOutput { localLogErrors?: string; localLogErrorsMaxLength?: string; @@ -12391,9 +13969,8 @@ export interface SitePhpErrorLogFlagPropertiesOutput { masterLogErrorsMaxLength?: string; } -// @public (undocumented) +// @public export interface SiteProperties { - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; clientAffinityEnabled?: boolean; clientCertEnabled?: boolean; clientCertExclusionPaths?: string; @@ -12402,43 +13979,26 @@ export interface SiteProperties { containerSize?: number; customDomainVerificationId?: string; dailyMemoryTimeQuota?: number; - defaultHostName?: string; enabled?: boolean; - enabledHostNames?: Array; hostingEnvironmentProfile?: HostingEnvironmentProfile; - hostNames?: Array; hostNamesDisabled?: boolean; hostNameSslStates?: Array; httpsOnly?: boolean; hyperV?: boolean; - inProgressOperationId?: string; - isDefaultContainer?: boolean; isXenon?: boolean; keyVaultReferenceIdentity?: string; - lastModifiedTimeUtc?: Date | string; - maxNumberOfWorkers?: number; - outboundIpAddresses?: string; - possibleOutboundIpAddresses?: string; redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - repositorySiteName?: string; reserved?: boolean; - resourceGroup?: string; scmSiteAlsoStopped?: boolean; serverFarmId?: string; siteConfig?: SiteConfig; - slotSwapStatus?: SlotSwapStatus; - state?: string; storageAccountRequired?: boolean; - suspendedTill?: Date | string; - targetSwapSlot?: string; - trafficManagerHostNames?: Array; - usageState?: "Normal" | "Exceeded"; virtualNetworkSubnetId?: string; } -// @public (undocumented) +// @public export interface SitePropertiesOutput { - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; + readonly availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; clientAffinityEnabled?: boolean; clientCertEnabled?: boolean; clientCertExclusionPaths?: string; @@ -12447,62 +14007,62 @@ export interface SitePropertiesOutput { containerSize?: number; customDomainVerificationId?: string; dailyMemoryTimeQuota?: number; - defaultHostName?: string; + readonly defaultHostName?: string; enabled?: boolean; - enabledHostNames?: Array; + readonly enabledHostNames?: Array; hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; - hostNames?: Array; + readonly hostNames?: Array; hostNamesDisabled?: boolean; hostNameSslStates?: Array; httpsOnly?: boolean; hyperV?: boolean; - inProgressOperationId?: string; - isDefaultContainer?: boolean; + readonly inProgressOperationId?: string; + readonly isDefaultContainer?: boolean; isXenon?: boolean; keyVaultReferenceIdentity?: string; - lastModifiedTimeUtc?: string; - maxNumberOfWorkers?: number; - outboundIpAddresses?: string; - possibleOutboundIpAddresses?: string; + readonly lastModifiedTimeUtc?: string; + readonly maxNumberOfWorkers?: number; + readonly outboundIpAddresses?: string; + readonly possibleOutboundIpAddresses?: string; redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - repositorySiteName?: string; + readonly repositorySiteName?: string; reserved?: boolean; - resourceGroup?: string; + readonly resourceGroup?: string; scmSiteAlsoStopped?: boolean; serverFarmId?: string; siteConfig?: SiteConfigOutput; - slotSwapStatus?: SlotSwapStatusOutput; - state?: string; + readonly slotSwapStatus?: SlotSwapStatusOutput; + readonly state?: string; storageAccountRequired?: boolean; - suspendedTill?: string; - targetSwapSlot?: string; - trafficManagerHostNames?: Array; - usageState?: "Normal" | "Exceeded"; + readonly suspendedTill?: string; + readonly targetSwapSlot?: string; + readonly trafficManagerHostNames?: Array; + readonly usageState?: "Normal" | "Exceeded"; virtualNetworkSubnetId?: string; } -// @public (undocumented) +// @public export interface SiteSealOutput { html: string; } -// @public (undocumented) +// @public export interface SiteSealRequest { lightTheme?: boolean; locale?: string; } -// @public (undocumented) +// @public export interface SiteSourceControl extends ProxyOnlyResource { properties?: SiteSourceControlProperties; } -// @public (undocumented) +// @public export interface SiteSourceControlOutput extends ProxyOnlyResourceOutput { properties?: SiteSourceControlPropertiesOutput; } -// @public (undocumented) +// @public export interface SiteSourceControlProperties { branch?: string; deploymentRollbackEnabled?: boolean; @@ -12513,7 +14073,7 @@ export interface SiteSourceControlProperties { repoUrl?: string; } -// @public (undocumented) +// @public export interface SiteSourceControlPropertiesOutput { branch?: string; deploymentRollbackEnabled?: boolean; @@ -12524,7 +14084,7 @@ export interface SiteSourceControlPropertiesOutput { repoUrl?: string; } -// @public (undocumented) +// @public export interface SkuCapacity { default?: number; elasticMaximum?: number; @@ -12533,7 +14093,7 @@ export interface SkuCapacity { scaleType?: string; } -// @public (undocumented) +// @public export interface SkuCapacityOutput { default?: number; elasticMaximum?: number; @@ -12542,7 +14102,7 @@ export interface SkuCapacityOutput { scaleType?: string; } -// @public (undocumented) +// @public export interface SkuDescription { capabilities?: Array; capacity?: number; @@ -12554,7 +14114,7 @@ export interface SkuDescription { tier?: string; } -// @public (undocumented) +// @public export interface SkuDescriptionOutput { capabilities?: Array; capacity?: number; @@ -12566,102 +14126,92 @@ export interface SkuDescriptionOutput { tier?: string; } -// @public (undocumented) +// @public export interface SkuInfoCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SkuInfoOutput { capacity?: SkuCapacityOutput; resourceType?: string; sku?: SkuDescriptionOutput; } -// @public (undocumented) +// @public export interface SkuInfosOutput { resourceType?: string; skus?: Array; } -// @public (undocumented) +// @public export interface SlotConfigNames { appSettingNames?: Array; azureStorageConfigNames?: Array; connectionStringNames?: Array; } -// @public (undocumented) +// @public export interface SlotConfigNamesOutput { appSettingNames?: Array; azureStorageConfigNames?: Array; connectionStringNames?: Array; } -// @public (undocumented) +// @public export interface SlotConfigNamesResource extends ProxyOnlyResource { properties?: SlotConfigNames; } -// @public (undocumented) +// @public export interface SlotConfigNamesResourceOutput extends ProxyOnlyResourceOutput { properties?: SlotConfigNamesOutput; } -// @public (undocumented) +// @public export interface SlotDifference extends ProxyOnlyResource { properties?: SlotDifferenceProperties; } -// @public (undocumented) +// @public export interface SlotDifferenceCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SlotDifferenceOutput extends ProxyOnlyResourceOutput { properties?: SlotDifferencePropertiesOutput; } -// @public (undocumented) +// @public export interface SlotDifferenceProperties { - description?: string; - diffRule?: string; - level?: string; - settingName?: string; - settingType?: string; - valueInCurrentSlot?: string; - valueInTargetSlot?: string; } -// @public (undocumented) +// @public export interface SlotDifferencePropertiesOutput { - description?: string; - diffRule?: string; - level?: string; - settingName?: string; - settingType?: string; - valueInCurrentSlot?: string; - valueInTargetSlot?: string; + readonly description?: string; + readonly diffRule?: string; + readonly level?: string; + readonly settingName?: string; + readonly settingType?: string; + readonly valueInCurrentSlot?: string; + readonly valueInTargetSlot?: string; } -// @public (undocumented) +// @public export interface SlotSwapStatus { - destinationSlotName?: string; - sourceSlotName?: string; - timestampUtc?: Date | string; } -// @public (undocumented) +// @public export interface SlotSwapStatusOutput { - destinationSlotName?: string; - sourceSlotName?: string; - timestampUtc?: string; + readonly destinationSlotName?: string; + readonly sourceSlotName?: string; + readonly timestampUtc?: string; } -// @public (undocumented) +// @public export interface SlowRequestsBasedTrigger { count?: number; path?: string; @@ -12669,7 +14219,7 @@ export interface SlowRequestsBasedTrigger { timeTaken?: string; } -// @public (undocumented) +// @public export interface SlowRequestsBasedTriggerOutput { count?: number; path?: string; @@ -12677,55 +14227,54 @@ export interface SlowRequestsBasedTriggerOutput { timeTaken?: string; } -// @public (undocumented) +// @public export interface Snapshot extends ProxyOnlyResource { properties?: SnapshotProperties; } -// @public (undocumented) +// @public export interface SnapshotCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SnapshotOutput extends ProxyOnlyResourceOutput { properties?: SnapshotPropertiesOutput; } -// @public (undocumented) +// @public export interface SnapshotProperties { - time?: string; } -// @public (undocumented) +// @public export interface SnapshotPropertiesOutput { - time?: string; + readonly time?: string; } -// @public (undocumented) +// @public export interface SnapshotRecoverySource { id?: string; location?: string; } -// @public (undocumented) +// @public export interface SnapshotRecoverySourceOutput { id?: string; location?: string; } -// @public (undocumented) +// @public export interface SnapshotRestoreRequest extends ProxyOnlyResource { properties?: SnapshotRestoreRequestProperties; } -// @public (undocumented) +// @public export interface SnapshotRestoreRequestOutput extends ProxyOnlyResourceOutput { properties?: SnapshotRestoreRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface SnapshotRestoreRequestProperties { ignoreConflictingHostNames?: boolean; overwrite: boolean; @@ -12735,7 +14284,7 @@ export interface SnapshotRestoreRequestProperties { useDRSecondary?: boolean; } -// @public (undocumented) +// @public export interface SnapshotRestoreRequestPropertiesOutput { ignoreConflictingHostNames?: boolean; overwrite: boolean; @@ -12745,7 +14294,7 @@ export interface SnapshotRestoreRequestPropertiesOutput { useDRSecondary?: boolean; } -// @public (undocumented) +// @public export interface Solution { data?: Array>; description?: string; @@ -12756,7 +14305,7 @@ export interface Solution { type?: "QuickSolution" | "DeepInvestigation" | "BestPractices"; } -// @public (undocumented) +// @public export interface SolutionOutput { data?: Array>; description?: string; @@ -12767,23 +14316,23 @@ export interface SolutionOutput { type?: "QuickSolution" | "DeepInvestigation" | "BestPractices"; } -// @public (undocumented) +// @public export interface SourceControl extends ProxyOnlyResource { properties?: SourceControlProperties; } -// @public (undocumented) +// @public export interface SourceControlCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface SourceControlOutput extends ProxyOnlyResourceOutput { properties?: SourceControlPropertiesOutput; } -// @public (undocumented) +// @public export interface SourceControlProperties { expirationTime?: Date | string; refreshToken?: string; @@ -12791,7 +14340,7 @@ export interface SourceControlProperties { tokenSecret?: string; } -// @public (undocumented) +// @public export interface SourceControlPropertiesOutput { expirationTime?: string; refreshToken?: string; @@ -12799,7 +14348,7 @@ export interface SourceControlPropertiesOutput { tokenSecret?: string; } -// @public (undocumented) +// @public export interface StackMajorVersion { applicationInsights?: boolean; appSettingsDictionary?: Record>; @@ -12813,7 +14362,7 @@ export interface StackMajorVersion { siteConfigPropertiesDictionary?: Record>; } -// @public (undocumented) +// @public export interface StackMajorVersionOutput { applicationInsights?: boolean; appSettingsDictionary?: Record>; @@ -12827,7 +14376,7 @@ export interface StackMajorVersionOutput { siteConfigPropertiesDictionary?: Record>; } -// @public (undocumented) +// @public export interface StackMinorVersion { displayVersion?: string; isDefault?: boolean; @@ -12835,7 +14384,7 @@ export interface StackMinorVersion { runtimeVersion?: string; } -// @public (undocumented) +// @public export interface StackMinorVersionOutput { displayVersion?: string; isDefault?: boolean; @@ -12843,13 +14392,13 @@ export interface StackMinorVersionOutput { runtimeVersion?: string; } -// @public (undocumented) +// @public export interface StampCapacityCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StampCapacityOutput { availableCapacity?: number; computeMode?: "Shared" | "Dedicated" | "Dynamic"; @@ -12864,80 +14413,66 @@ export interface StampCapacityOutput { workerSizeId?: number; } -// @public (undocumented) +// @public export interface StaticSite { allowConfigFileUpdates?: boolean; branch?: string; buildProperties?: StaticSiteBuildProperties; - contentDistributionEndpoint?: string; - customDomains?: Array; - defaultHostname?: string; enterpriseGradeCdnStatus?: "Enabled" | "Enabling" | "Disabled" | "Disabling"; - keyVaultReferenceIdentity?: string; - privateEndpointConnections?: Array; provider?: string; repositoryToken?: string; repositoryUrl?: string; stagingEnvironmentPolicy?: "Enabled" | "Disabled"; templateProperties?: StaticSiteTemplateOptions; - userProvidedFunctionApps?: Array; } -// @public (undocumented) +// @public export interface StaticSiteARMResource extends Resource { identity?: ManagedServiceIdentity; properties?: StaticSite; sku?: SkuDescription; } -// @public (undocumented) +// @public export interface StaticSiteARMResourceOutput extends ResourceOutput { identity?: ManagedServiceIdentityOutput; properties?: StaticSiteOutput; sku?: SkuDescriptionOutput; } -// @public (undocumented) +// @public export interface StaticSiteBuildARMResource extends ProxyOnlyResource { properties?: StaticSiteBuildARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteBuildARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteBuildARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteBuildARMResourceProperties { - buildId?: string; - createdTimeUtc?: Date | string; - hostname?: string; - lastUpdatedOn?: Date | string; - pullRequestTitle?: string; - sourceBranch?: string; - status?: "WaitingForDeployment" | "Uploading" | "Deploying" | "Ready" | "Failed" | "Deleting" | "Detached"; - userProvidedFunctionApps?: Array; } -// @public (undocumented) +// @public export interface StaticSiteBuildARMResourcePropertiesOutput { - buildId?: string; - createdTimeUtc?: string; - hostname?: string; - lastUpdatedOn?: string; - pullRequestTitle?: string; - sourceBranch?: string; - status?: "WaitingForDeployment" | "Uploading" | "Deploying" | "Ready" | "Failed" | "Deleting" | "Detached"; - userProvidedFunctionApps?: Array; + readonly buildId?: string; + readonly createdTimeUtc?: string; + readonly hostname?: string; + readonly lastUpdatedOn?: string; + readonly pullRequestTitle?: string; + readonly sourceBranch?: string; + readonly status?: "WaitingForDeployment" | "Uploading" | "Deploying" | "Ready" | "Failed" | "Deleting" | "Detached"; + readonly userProvidedFunctionApps?: Array; } -// @public (undocumented) +// @public export interface StaticSiteBuildCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteBuildProperties { apiBuildCommand?: string; apiLocation?: string; @@ -12949,7 +14484,7 @@ export interface StaticSiteBuildProperties { skipGithubActionWorkflowGeneration?: boolean; } -// @public (undocumented) +// @public export interface StaticSiteBuildPropertiesOutput { apiBuildCommand?: string; apiLocation?: string; @@ -12961,142 +14496,134 @@ export interface StaticSiteBuildPropertiesOutput { skipGithubActionWorkflowGeneration?: boolean; } -// @public (undocumented) +// @public export interface StaticSiteCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainOverviewARMResource extends ProxyOnlyResource { properties?: StaticSiteCustomDomainOverviewARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainOverviewARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteCustomDomainOverviewARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainOverviewARMResourceProperties { - createdOn?: Date | string; - domainName?: string; - // (undocumented) - errorMessage?: string; - status?: "RetrievingValidationToken" | "Validating" | "Adding" | "Ready" | "Failed" | "Deleting"; - validationToken?: string; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainOverviewARMResourcePropertiesOutput { - createdOn?: string; - domainName?: string; + readonly createdOn?: string; + readonly domainName?: string; // (undocumented) - errorMessage?: string; - status?: "RetrievingValidationToken" | "Validating" | "Adding" | "Ready" | "Failed" | "Deleting"; - validationToken?: string; + readonly errorMessage?: string; + readonly status?: "RetrievingValidationToken" | "Validating" | "Adding" | "Ready" | "Failed" | "Deleting"; + readonly validationToken?: string; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainOverviewCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainRequestPropertiesARMResource extends ProxyOnlyResource { properties?: StaticSiteCustomDomainRequestPropertiesARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainRequestPropertiesARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteCustomDomainRequestPropertiesARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainRequestPropertiesARMResourceProperties { validationMethod?: string; } -// @public (undocumented) +// @public export interface StaticSiteCustomDomainRequestPropertiesARMResourcePropertiesOutput { validationMethod?: string; } -// @public (undocumented) +// @public export interface StaticSiteFunctionOverviewARMResource extends ProxyOnlyResource { properties?: StaticSiteFunctionOverviewARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteFunctionOverviewARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteFunctionOverviewARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteFunctionOverviewARMResourceProperties { - functionName?: string; - triggerType?: "HttpTrigger" | "Unknown"; } -// @public (undocumented) +// @public export interface StaticSiteFunctionOverviewARMResourcePropertiesOutput { - functionName?: string; - triggerType?: "HttpTrigger" | "Unknown"; + readonly functionName?: string; + readonly triggerType?: "HttpTrigger" | "Unknown"; } -// @public (undocumented) +// @public export interface StaticSiteFunctionOverviewCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteOutput { allowConfigFileUpdates?: boolean; branch?: string; buildProperties?: StaticSiteBuildPropertiesOutput; - contentDistributionEndpoint?: string; - customDomains?: Array; - defaultHostname?: string; + readonly contentDistributionEndpoint?: string; + readonly customDomains?: Array; + readonly defaultHostname?: string; enterpriseGradeCdnStatus?: "Enabled" | "Enabling" | "Disabled" | "Disabling"; - keyVaultReferenceIdentity?: string; - privateEndpointConnections?: Array; + readonly keyVaultReferenceIdentity?: string; + readonly privateEndpointConnections?: Array; provider?: string; repositoryToken?: string; repositoryUrl?: string; stagingEnvironmentPolicy?: "Enabled" | "Disabled"; templateProperties?: StaticSiteTemplateOptionsOutput; - userProvidedFunctionApps?: Array; + readonly userProvidedFunctionApps?: Array; } -// @public (undocumented) +// @public export interface StaticSitePatchResource extends ProxyOnlyResource { properties?: StaticSite; } -// @public (undocumented) +// @public export interface StaticSitePatchResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteOutput; } -// @public (undocumented) +// @public export interface StaticSiteResetPropertiesARMResource extends ProxyOnlyResource { properties?: StaticSiteResetPropertiesARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteResetPropertiesARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteResetPropertiesARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteResetPropertiesARMResourceProperties { repositoryToken?: string; shouldUpdateRepository?: boolean; } -// @public (undocumented) +// @public export interface StaticSiteResetPropertiesARMResourcePropertiesOutput { repositoryToken?: string; shouldUpdateRepository?: boolean; @@ -13124,11 +14651,11 @@ export interface StaticSitesApproveOrRejectPrivateEndpointConnectionBodyParam { } // @public -export interface StaticSitesApproveOrRejectPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13157,7 +14684,7 @@ export interface StaticSitesCreateOrUpdateStaticSite202Response extends HttpResp // @public (undocumented) export interface StaticSitesCreateOrUpdateStaticSiteAppSettings { - put(options: StaticSitesCreateOrUpdateStaticSiteAppSettingsParameters): Promise; + put(options: StaticSitesCreateOrUpdateStaticSiteAppSettingsParameters): StreamableMethod; } // @public @@ -13174,11 +14701,11 @@ export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsBodyParam { } // @public -export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13196,7 +14723,7 @@ export interface StaticSitesCreateOrUpdateStaticSiteBodyParam { // @public (undocumented) export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettings { - put(options: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsParameters): Promise; + put(options: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsParameters): StreamableMethod; } // @public @@ -13213,11 +14740,11 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsBodyParam { } // @public -export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13230,7 +14757,7 @@ export type StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsParameters = Stat // @public (undocumented) export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings { - put(options: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsParameters): Promise; + put(options: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsParameters): StreamableMethod; } // @public @@ -13247,11 +14774,11 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsBody } // @public -export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13284,11 +14811,11 @@ export interface StaticSitesCreateOrUpdateStaticSiteCustomDomainBodyParam { } // @public -export interface StaticSitesCreateOrUpdateStaticSiteCustomDomaindefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13300,16 +14827,16 @@ export interface StaticSitesCreateOrUpdateStaticSiteCustomDomainMediaTypesParam export type StaticSitesCreateOrUpdateStaticSiteCustomDomainParameters = StaticSitesCreateOrUpdateStaticSiteCustomDomainMediaTypesParam & StaticSitesCreateOrUpdateStaticSiteCustomDomainBodyParam & RequestParameters; // @public -export interface StaticSitesCreateOrUpdateStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings { - put(options: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsParameters): Promise; + put(options: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsParameters): StreamableMethod; } // @public @@ -13326,11 +14853,11 @@ export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsBodyParam } // @public -export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13351,7 +14878,7 @@ export type StaticSitesCreateOrUpdateStaticSiteParameters = StaticSitesCreateOrU // @public (undocumented) export interface StaticSitesCreateUserRolesInvitationLink { - post(options: StaticSitesCreateUserRolesInvitationLinkParameters): Promise; + post(options: StaticSitesCreateUserRolesInvitationLinkParameters): StreamableMethod; } // @public @@ -13369,11 +14896,11 @@ export interface StaticSitesCreateUserRolesInvitationLinkBodyParam { } // @public -export interface StaticSitesCreateUserRolesInvitationLinkdefaultResponse extends HttpResponse { +export interface StaticSitesCreateUserRolesInvitationLinkDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13386,21 +14913,17 @@ export type StaticSitesCreateUserRolesInvitationLinkParameters = StaticSitesCrea // @public (undocumented) export interface StaticSitesCreateZipDeploymentForStaticSite { - post(options: StaticSitesCreateZipDeploymentForStaticSiteParameters): Promise; + post(options: StaticSitesCreateZipDeploymentForStaticSiteParameters): StreamableMethod; } // @public export interface StaticSitesCreateZipDeploymentForStaticSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesCreateZipDeploymentForStaticSite202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -13412,21 +14935,17 @@ export interface StaticSitesCreateZipDeploymentForStaticSiteBodyParam { // @public (undocumented) export interface StaticSitesCreateZipDeploymentForStaticSiteBuild { - post(options: StaticSitesCreateZipDeploymentForStaticSiteBuildParameters): Promise; + post(options: StaticSitesCreateZipDeploymentForStaticSiteBuildParameters): StreamableMethod; } // @public export interface StaticSitesCreateZipDeploymentForStaticSiteBuild200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesCreateZipDeploymentForStaticSiteBuild202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -13437,11 +14956,11 @@ export interface StaticSitesCreateZipDeploymentForStaticSiteBuildBodyParam { } // @public -export interface StaticSitesCreateZipDeploymentForStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13453,11 +14972,11 @@ export interface StaticSitesCreateZipDeploymentForStaticSiteBuildMediaTypesParam export type StaticSitesCreateZipDeploymentForStaticSiteBuildParameters = StaticSitesCreateZipDeploymentForStaticSiteBuildMediaTypesParam & StaticSitesCreateZipDeploymentForStaticSiteBuildBodyParam & RequestParameters; // @public -export interface StaticSitesCreateZipDeploymentForStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13493,11 +15012,11 @@ export interface StaticSitesDeletePrivateEndpointConnection204Response extends H } // @public -export interface StaticSitesDeletePrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface StaticSitesDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13505,50 +15024,40 @@ export type StaticSitesDeletePrivateEndpointConnectionParameters = RequestParame // @public export interface StaticSitesDeleteStaticSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDeleteStaticSite202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface StaticSitesDeleteStaticSiteBuild200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDeleteStaticSiteBuild202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface StaticSitesDeleteStaticSiteBuild204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface StaticSitesDeleteStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesDeleteStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13556,37 +15065,33 @@ export type StaticSitesDeleteStaticSiteBuildParameters = RequestParameters; // @public export interface StaticSitesDeleteStaticSiteCustomDomain200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDeleteStaticSiteCustomDomain202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public -export interface StaticSitesDeleteStaticSiteCustomDomaindefaultResponse extends HttpResponse { +export interface StaticSitesDeleteStaticSiteCustomDomainDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type StaticSitesDeleteStaticSiteCustomDomainParameters = RequestParameters; // @public -export interface StaticSitesDeleteStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesDeleteStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13594,24 +15099,22 @@ export type StaticSitesDeleteStaticSiteParameters = RequestParameters; // @public (undocumented) export interface StaticSitesDeleteStaticSiteUser { - delete(options?: StaticSitesDeleteStaticSiteUserParameters): Promise; - patch(options: StaticSitesUpdateStaticSiteUserParameters): Promise; + delete(options?: StaticSitesDeleteStaticSiteUserParameters): StreamableMethod; + patch(options: StaticSitesUpdateStaticSiteUserParameters): StreamableMethod; } // @public export interface StaticSitesDeleteStaticSiteUser200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface StaticSitesDeleteStaticSiteUserdefaultResponse extends HttpResponse { +export interface StaticSitesDeleteStaticSiteUserDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13619,31 +15122,27 @@ export type StaticSitesDeleteStaticSiteUserParameters = RequestParameters; // @public (undocumented) export interface StaticSitesDetachStaticSite { - post(options?: StaticSitesDetachStaticSiteParameters): Promise; + post(options?: StaticSitesDetachStaticSiteParameters): StreamableMethod; } // @public export interface StaticSitesDetachStaticSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDetachStaticSite202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public -export interface StaticSitesDetachStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesDetachStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13651,53 +15150,45 @@ export type StaticSitesDetachStaticSiteParameters = RequestParameters; // @public export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildParameters = RequestParameters; // @public -export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13705,9 +15196,9 @@ export type StaticSitesDetachUserProvidedFunctionAppFromStaticSiteParameters = R // @public (undocumented) export interface StaticSitesGetPrivateEndpointConnection { - delete(options?: StaticSitesDeletePrivateEndpointConnectionParameters): Promise; - get(options?: StaticSitesGetPrivateEndpointConnectionParameters): Promise; - put(options: StaticSitesApproveOrRejectPrivateEndpointConnectionParameters): Promise; + delete(options?: StaticSitesDeletePrivateEndpointConnectionParameters): StreamableMethod; + get(options?: StaticSitesGetPrivateEndpointConnectionParameters): StreamableMethod; + put(options: StaticSitesApproveOrRejectPrivateEndpointConnectionParameters): StreamableMethod; } // @public @@ -13719,16 +15210,16 @@ export interface StaticSitesGetPrivateEndpointConnection200Response extends Http } // @public -export interface StaticSitesGetPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface StaticSitesGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface StaticSitesGetPrivateEndpointConnectionList { - get(options?: StaticSitesGetPrivateEndpointConnectionListParameters): Promise; + get(options?: StaticSitesGetPrivateEndpointConnectionListParameters): StreamableMethod; } // @public @@ -13740,11 +15231,11 @@ export interface StaticSitesGetPrivateEndpointConnectionList200Response extends } // @public -export interface StaticSitesGetPrivateEndpointConnectionListdefaultResponse extends HttpResponse { +export interface StaticSitesGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13755,7 +15246,7 @@ export type StaticSitesGetPrivateEndpointConnectionParameters = RequestParameter // @public (undocumented) export interface StaticSitesGetPrivateLinkResources { - get(options?: StaticSitesGetPrivateLinkResourcesParameters): Promise; + get(options?: StaticSitesGetPrivateLinkResourcesParameters): StreamableMethod; } // @public @@ -13767,11 +15258,11 @@ export interface StaticSitesGetPrivateLinkResources200Response extends HttpRespo } // @public -export interface StaticSitesGetPrivateLinkResourcesdefaultResponse extends HttpResponse { +export interface StaticSitesGetPrivateLinkResourcesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13779,10 +15270,10 @@ export type StaticSitesGetPrivateLinkResourcesParameters = RequestParameters; // @public (undocumented) export interface StaticSitesGetStaticSite { - delete(options?: StaticSitesDeleteStaticSiteParameters): Promise; - get(options?: StaticSitesGetStaticSiteParameters): Promise; - patch(options: StaticSitesUpdateStaticSiteParameters): Promise; - put(options: StaticSitesCreateOrUpdateStaticSiteParameters): Promise; + delete(options?: StaticSitesDeleteStaticSiteParameters): StreamableMethod; + get(options?: StaticSitesGetStaticSiteParameters): StreamableMethod; + patch(options: StaticSitesUpdateStaticSiteParameters): StreamableMethod; + put(options: StaticSitesCreateOrUpdateStaticSiteParameters): StreamableMethod; } // @public @@ -13795,8 +15286,8 @@ export interface StaticSitesGetStaticSite200Response extends HttpResponse { // @public (undocumented) export interface StaticSitesGetStaticSiteBuild { - delete(options?: StaticSitesDeleteStaticSiteBuildParameters): Promise; - get(options?: StaticSitesGetStaticSiteBuildParameters): Promise; + delete(options?: StaticSitesDeleteStaticSiteBuildParameters): StreamableMethod; + get(options?: StaticSitesGetStaticSiteBuildParameters): StreamableMethod; } // @public @@ -13808,11 +15299,11 @@ export interface StaticSitesGetStaticSiteBuild200Response extends HttpResponse { } // @public -export interface StaticSitesGetStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesGetStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13820,7 +15311,7 @@ export type StaticSitesGetStaticSiteBuildParameters = RequestParameters; // @public (undocumented) export interface StaticSitesGetStaticSiteBuilds { - get(options?: StaticSitesGetStaticSiteBuildsParameters): Promise; + get(options?: StaticSitesGetStaticSiteBuildsParameters): StreamableMethod; } // @public @@ -13832,11 +15323,11 @@ export interface StaticSitesGetStaticSiteBuilds200Response extends HttpResponse } // @public -export interface StaticSitesGetStaticSiteBuildsdefaultResponse extends HttpResponse { +export interface StaticSitesGetStaticSiteBuildsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13844,9 +15335,9 @@ export type StaticSitesGetStaticSiteBuildsParameters = RequestParameters; // @public (undocumented) export interface StaticSitesGetStaticSiteCustomDomain { - delete(options?: StaticSitesDeleteStaticSiteCustomDomainParameters): Promise; - get(options?: StaticSitesGetStaticSiteCustomDomainParameters): Promise; - put(options: StaticSitesCreateOrUpdateStaticSiteCustomDomainParameters): Promise; + delete(options?: StaticSitesDeleteStaticSiteCustomDomainParameters): StreamableMethod; + get(options?: StaticSitesGetStaticSiteCustomDomainParameters): StreamableMethod; + put(options: StaticSitesCreateOrUpdateStaticSiteCustomDomainParameters): StreamableMethod; } // @public @@ -13858,22 +15349,22 @@ export interface StaticSitesGetStaticSiteCustomDomain200Response extends HttpRes } // @public -export interface StaticSitesGetStaticSiteCustomDomaindefaultResponse extends HttpResponse { +export interface StaticSitesGetStaticSiteCustomDomainDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type StaticSitesGetStaticSiteCustomDomainParameters = RequestParameters; // @public -export interface StaticSitesGetStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesGetStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13881,7 +15372,7 @@ export type StaticSitesGetStaticSiteParameters = RequestParameters; // @public (undocumented) export interface StaticSitesGetStaticSitesByResourceGroup { - get(options?: StaticSitesGetStaticSitesByResourceGroupParameters): Promise; + get(options?: StaticSitesGetStaticSitesByResourceGroupParameters): StreamableMethod; } // @public @@ -13893,11 +15384,11 @@ export interface StaticSitesGetStaticSitesByResourceGroup200Response extends Htt } // @public -export interface StaticSitesGetStaticSitesByResourceGroupdefaultResponse extends HttpResponse { +export interface StaticSitesGetStaticSitesByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13905,9 +15396,9 @@ export type StaticSitesGetStaticSitesByResourceGroupParameters = RequestParamete // @public (undocumented) export interface StaticSitesGetUserProvidedFunctionAppForStaticSite { - delete(options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteParameters): Promise; - get(options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteParameters): Promise; - put(options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteParameters): Promise; + delete(options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteParameters): StreamableMethod; + get(options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteParameters): StreamableMethod; + put(options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteParameters): StreamableMethod; } // @public @@ -13920,9 +15411,9 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSite200Response e // @public (undocumented) export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild { - delete(options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildParameters): Promise; - get(options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildParameters): Promise; - put(options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildParameters): Promise; + delete(options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildParameters): StreamableMethod; + get(options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildParameters): StreamableMethod; + put(options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildParameters): StreamableMethod; } // @public @@ -13934,22 +15425,22 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Respo } // @public -export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildParameters = RequestParameters; // @public -export interface StaticSitesGetUserProvidedFunctionAppForStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -13957,7 +15448,7 @@ export type StaticSitesGetUserProvidedFunctionAppForStaticSiteParameters = Reque // @public (undocumented) export interface StaticSitesGetUserProvidedFunctionAppsForStaticSite { - get(options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteParameters): Promise; + get(options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteParameters): StreamableMethod; } // @public @@ -13970,7 +15461,7 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response // @public (undocumented) export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild { - get(options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildParameters): Promise; + get(options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildParameters): StreamableMethod; } // @public @@ -13982,22 +15473,22 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Resp } // @public -export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildParameters = RequestParameters; // @public -export interface StaticSitesGetUserProvidedFunctionAppsForStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14005,7 +15496,7 @@ export type StaticSitesGetUserProvidedFunctionAppsForStaticSiteParameters = Requ // @public (undocumented) export interface StaticSitesList { - get(options?: StaticSitesListParameters): Promise; + get(options?: StaticSitesListParameters): StreamableMethod; } // @public @@ -14017,11 +15508,11 @@ export interface StaticSitesList200Response extends HttpResponse { } // @public -export interface StaticSitesListdefaultResponse extends HttpResponse { +export interface StaticSitesListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14029,7 +15520,7 @@ export type StaticSitesListParameters = RequestParameters; // @public (undocumented) export interface StaticSitesListStaticSiteAppSettings { - post(options?: StaticSitesListStaticSiteAppSettingsParameters): Promise; + post(options?: StaticSitesListStaticSiteAppSettingsParameters): StreamableMethod; } // @public @@ -14041,11 +15532,11 @@ export interface StaticSitesListStaticSiteAppSettings200Response extends HttpRes } // @public -export interface StaticSitesListStaticSiteAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14053,7 +15544,7 @@ export type StaticSitesListStaticSiteAppSettingsParameters = RequestParameters; // @public (undocumented) export interface StaticSitesListStaticSiteBuildAppSettings { - post(options?: StaticSitesListStaticSiteBuildAppSettingsParameters): Promise; + post(options?: StaticSitesListStaticSiteBuildAppSettingsParameters): StreamableMethod; } // @public @@ -14065,11 +15556,11 @@ export interface StaticSitesListStaticSiteBuildAppSettings200Response extends Ht } // @public -export interface StaticSitesListStaticSiteBuildAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteBuildAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14077,7 +15568,7 @@ export type StaticSitesListStaticSiteBuildAppSettingsParameters = RequestParamet // @public (undocumented) export interface StaticSitesListStaticSiteBuildFunctionAppSettings { - post(options?: StaticSitesListStaticSiteBuildFunctionAppSettingsParameters): Promise; + post(options?: StaticSitesListStaticSiteBuildFunctionAppSettingsParameters): StreamableMethod; } // @public @@ -14089,11 +15580,11 @@ export interface StaticSitesListStaticSiteBuildFunctionAppSettings200Response ex } // @public -export interface StaticSitesListStaticSiteBuildFunctionAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14101,7 +15592,7 @@ export type StaticSitesListStaticSiteBuildFunctionAppSettingsParameters = Reques // @public (undocumented) export interface StaticSitesListStaticSiteBuildFunctions { - get(options?: StaticSitesListStaticSiteBuildFunctionsParameters): Promise; + get(options?: StaticSitesListStaticSiteBuildFunctionsParameters): StreamableMethod; } // @public @@ -14113,11 +15604,11 @@ export interface StaticSitesListStaticSiteBuildFunctions200Response extends Http } // @public -export interface StaticSitesListStaticSiteBuildFunctionsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteBuildFunctionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14125,7 +15616,7 @@ export type StaticSitesListStaticSiteBuildFunctionsParameters = RequestParameter // @public (undocumented) export interface StaticSitesListStaticSiteConfiguredRoles { - post(options?: StaticSitesListStaticSiteConfiguredRolesParameters): Promise; + post(options?: StaticSitesListStaticSiteConfiguredRolesParameters): StreamableMethod; } // @public @@ -14137,11 +15628,11 @@ export interface StaticSitesListStaticSiteConfiguredRoles200Response extends Htt } // @public -export interface StaticSitesListStaticSiteConfiguredRolesdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteConfiguredRolesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14149,7 +15640,7 @@ export type StaticSitesListStaticSiteConfiguredRolesParameters = RequestParamete // @public (undocumented) export interface StaticSitesListStaticSiteCustomDomains { - get(options?: StaticSitesListStaticSiteCustomDomainsParameters): Promise; + get(options?: StaticSitesListStaticSiteCustomDomainsParameters): StreamableMethod; } // @public @@ -14161,11 +15652,11 @@ export interface StaticSitesListStaticSiteCustomDomains200Response extends HttpR } // @public -export interface StaticSitesListStaticSiteCustomDomainsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteCustomDomainsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14173,7 +15664,7 @@ export type StaticSitesListStaticSiteCustomDomainsParameters = RequestParameters // @public (undocumented) export interface StaticSitesListStaticSiteFunctionAppSettings { - post(options?: StaticSitesListStaticSiteFunctionAppSettingsParameters): Promise; + post(options?: StaticSitesListStaticSiteFunctionAppSettingsParameters): StreamableMethod; } // @public @@ -14185,11 +15676,11 @@ export interface StaticSitesListStaticSiteFunctionAppSettings200Response extends } // @public -export interface StaticSitesListStaticSiteFunctionAppSettingsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14197,7 +15688,7 @@ export type StaticSitesListStaticSiteFunctionAppSettingsParameters = RequestPara // @public (undocumented) export interface StaticSitesListStaticSiteFunctions { - get(options?: StaticSitesListStaticSiteFunctionsParameters): Promise; + get(options?: StaticSitesListStaticSiteFunctionsParameters): StreamableMethod; } // @public @@ -14209,11 +15700,11 @@ export interface StaticSitesListStaticSiteFunctions200Response extends HttpRespo } // @public -export interface StaticSitesListStaticSiteFunctionsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteFunctionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14221,7 +15712,7 @@ export type StaticSitesListStaticSiteFunctionsParameters = RequestParameters; // @public (undocumented) export interface StaticSitesListStaticSiteSecrets { - post(options?: StaticSitesListStaticSiteSecretsParameters): Promise; + post(options?: StaticSitesListStaticSiteSecretsParameters): StreamableMethod; } // @public @@ -14233,11 +15724,11 @@ export interface StaticSitesListStaticSiteSecrets200Response extends HttpRespons } // @public -export interface StaticSitesListStaticSiteSecretsdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14245,7 +15736,7 @@ export type StaticSitesListStaticSiteSecretsParameters = RequestParameters; // @public (undocumented) export interface StaticSitesListStaticSiteUsers { - post(options?: StaticSitesListStaticSiteUsersParameters): Promise; + post(options?: StaticSitesListStaticSiteUsersParameters): StreamableMethod; } // @public @@ -14257,11 +15748,11 @@ export interface StaticSitesListStaticSiteUsers200Response extends HttpResponse } // @public -export interface StaticSitesListStaticSiteUsersdefaultResponse extends HttpResponse { +export interface StaticSitesListStaticSiteUsersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14269,7 +15760,7 @@ export type StaticSitesListStaticSiteUsersParameters = RequestParameters; // @public (undocumented) export interface StaticSitesPreviewWorkflow { - post(options: StaticSitesPreviewWorkflowParameters): Promise; + post(options: StaticSitesPreviewWorkflowParameters): StreamableMethod; } // @public @@ -14286,11 +15777,11 @@ export interface StaticSitesPreviewWorkflowBodyParam { } // @public -export interface StaticSitesPreviewWorkflowdefaultResponse extends HttpResponse { +export interface StaticSitesPreviewWorkflowDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14344,11 +15835,11 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildBo } // @public -export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuilddefaultResponse extends HttpResponse { +export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14371,11 +15862,11 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildQu } // @public -export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14399,13 +15890,11 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteQueryPa // @public (undocumented) export interface StaticSitesResetStaticSiteApiKey { - post(options: StaticSitesResetStaticSiteApiKeyParameters): Promise; + post(options: StaticSitesResetStaticSiteApiKeyParameters): StreamableMethod; } // @public export interface StaticSitesResetStaticSiteApiKey200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -14417,11 +15906,11 @@ export interface StaticSitesResetStaticSiteApiKeyBodyParam { } // @public -export interface StaticSitesResetStaticSiteApiKeydefaultResponse extends HttpResponse { +export interface StaticSitesResetStaticSiteApiKeyDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14454,11 +15943,11 @@ export interface StaticSitesUpdateStaticSiteBodyParam { } // @public -export interface StaticSitesUpdateStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesUpdateStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14483,11 +15972,11 @@ export interface StaticSitesUpdateStaticSiteUserBodyParam { } // @public -export interface StaticSitesUpdateStaticSiteUserdefaultResponse extends HttpResponse { +export interface StaticSitesUpdateStaticSiteUserDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14500,21 +15989,17 @@ export type StaticSitesUpdateStaticSiteUserParameters = StaticSitesUpdateStaticS // @public (undocumented) export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite { - post(options: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteParameters): Promise; + post(options: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteParameters): StreamableMethod; } // @public export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14525,11 +16010,11 @@ export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteBodyParam } // @public -export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSitedefaultResponse extends HttpResponse { +export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -14540,53 +16025,51 @@ export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteMediaTypes // @public (undocumented) export type StaticSitesValidateCustomDomainCanBeAddedToStaticSiteParameters = StaticSitesValidateCustomDomainCanBeAddedToStaticSiteMediaTypesParam & StaticSitesValidateCustomDomainCanBeAddedToStaticSiteBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreview extends ProxyOnlyResource { properties?: StaticSitesWorkflowPreviewProperties; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewOutput extends ProxyOnlyResourceOutput { properties?: StaticSitesWorkflowPreviewPropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewProperties { - contents?: string; - path?: string; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewPropertiesOutput { - contents?: string; - path?: string; + readonly contents?: string; + readonly path?: string; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource { properties?: StaticSitesWorkflowPreviewRequestProperties; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewRequestOutput extends ProxyOnlyResourceOutput { properties?: StaticSitesWorkflowPreviewRequestPropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewRequestProperties { branch?: string; buildProperties?: StaticSiteBuildProperties; repositoryUrl?: string; } -// @public (undocumented) +// @public export interface StaticSitesWorkflowPreviewRequestPropertiesOutput { branch?: string; buildProperties?: StaticSiteBuildPropertiesOutput; repositoryUrl?: string; } -// @public (undocumented) +// @public export interface StaticSiteTemplateOptions { description?: string; isPrivate?: boolean; @@ -14595,7 +16078,7 @@ export interface StaticSiteTemplateOptions { templateRepositoryUrl?: string; } -// @public (undocumented) +// @public export interface StaticSiteTemplateOptionsOutput { description?: string; isPrivate?: boolean; @@ -14604,49 +16087,46 @@ export interface StaticSiteTemplateOptionsOutput { templateRepositoryUrl?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserARMResource extends ProxyOnlyResource { properties?: StaticSiteUserARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteUserARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteUserARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteUserARMResourceProperties { - displayName?: string; - provider?: string; roles?: string; - userId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserARMResourcePropertiesOutput { - displayName?: string; - provider?: string; + readonly displayName?: string; + readonly provider?: string; roles?: string; - userId?: string; + readonly userId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationRequestResource extends ProxyOnlyResource { properties?: StaticSiteUserInvitationRequestResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationRequestResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteUserInvitationRequestResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationRequestResourceProperties { domain?: string; numHoursToExpiration?: number; @@ -14655,7 +16135,7 @@ export interface StaticSiteUserInvitationRequestResourceProperties { userDetails?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationRequestResourcePropertiesOutput { domain?: string; numHoursToExpiration?: number; @@ -14664,83 +16144,79 @@ export interface StaticSiteUserInvitationRequestResourcePropertiesOutput { userDetails?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationResponseResource extends ProxyOnlyResource { properties?: StaticSiteUserInvitationResponseResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationResponseResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteUserInvitationResponseResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationResponseResourceProperties { - expiresOn?: Date | string; - invitationUrl?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserInvitationResponseResourcePropertiesOutput { - expiresOn?: string; - invitationUrl?: string; + readonly expiresOn?: string; + readonly invitationUrl?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionApp extends ProxyOnlyResource { properties?: StaticSiteUserProvidedFunctionAppProperties; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppARMResource extends ProxyOnlyResource { properties?: StaticSiteUserProvidedFunctionAppARMResourceProperties; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteUserProvidedFunctionAppARMResourcePropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppARMResourceProperties { - createdOn?: Date | string; functionAppRegion?: string; functionAppResourceId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppARMResourcePropertiesOutput { - createdOn?: string; + readonly createdOn?: string; functionAppRegion?: string; functionAppResourceId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteUserProvidedFunctionAppPropertiesOutput; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppProperties { - createdOn?: Date | string; functionAppRegion?: string; functionAppResourceId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppPropertiesOutput { - createdOn?: string; + readonly createdOn?: string; functionAppRegion?: string; functionAppResourceId?: string; } -// @public (undocumented) +// @public export interface StaticSiteUserProvidedFunctionAppsCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface StaticSiteZipDeployment { apiZipUrl?: string; appZipUrl?: string; @@ -14749,17 +16225,17 @@ export interface StaticSiteZipDeployment { provider?: string; } -// @public (undocumented) +// @public export interface StaticSiteZipDeploymentARMResource extends ProxyOnlyResource { properties?: StaticSiteZipDeployment; } -// @public (undocumented) +// @public export interface StaticSiteZipDeploymentARMResourceOutput extends ProxyOnlyResourceOutput { properties?: StaticSiteZipDeploymentOutput; } -// @public (undocumented) +// @public export interface StaticSiteZipDeploymentOutput { apiZipUrl?: string; appZipUrl?: string; @@ -14768,13 +16244,13 @@ export interface StaticSiteZipDeploymentOutput { provider?: string; } -// @public (undocumented) +// @public export interface Status { message?: string; statusId?: "Critical" | "Warning" | "Info" | "Success" | "None"; } -// @public (undocumented) +// @public export interface StatusCodesBasedTrigger { count?: number; path?: string; @@ -14784,7 +16260,7 @@ export interface StatusCodesBasedTrigger { win32Status?: number; } -// @public (undocumented) +// @public export interface StatusCodesBasedTriggerOutput { count?: number; path?: string; @@ -14794,7 +16270,7 @@ export interface StatusCodesBasedTriggerOutput { win32Status?: number; } -// @public (undocumented) +// @public export interface StatusCodesRangeBasedTrigger { count?: number; // (undocumented) @@ -14803,7 +16279,7 @@ export interface StatusCodesRangeBasedTrigger { timeInterval?: string; } -// @public (undocumented) +// @public export interface StatusCodesRangeBasedTriggerOutput { count?: number; // (undocumented) @@ -14812,23 +16288,23 @@ export interface StatusCodesRangeBasedTriggerOutput { timeInterval?: string; } -// @public (undocumented) +// @public export interface StatusOutput { message?: string; statusId?: "Critical" | "Warning" | "Info" | "Success" | "None"; } -// @public (undocumented) +// @public export interface StorageMigrationOptions extends ProxyOnlyResource { properties?: StorageMigrationOptionsProperties; } -// @public (undocumented) +// @public export interface StorageMigrationOptionsOutput extends ProxyOnlyResourceOutput { properties?: StorageMigrationOptionsPropertiesOutput; } -// @public (undocumented) +// @public export interface StorageMigrationOptionsProperties { azurefilesConnectionString: string; azurefilesShare: string; @@ -14836,7 +16312,7 @@ export interface StorageMigrationOptionsProperties { switchSiteAfterMigration?: boolean; } -// @public (undocumented) +// @public export interface StorageMigrationOptionsPropertiesOutput { azurefilesConnectionString: string; azurefilesShare: string; @@ -14844,81 +16320,78 @@ export interface StorageMigrationOptionsPropertiesOutput { switchSiteAfterMigration?: boolean; } -// @public (undocumented) +// @public export interface StorageMigrationResponse extends ProxyOnlyResource { properties?: StorageMigrationResponseProperties; } -// @public (undocumented) +// @public export interface StorageMigrationResponseOutput extends ProxyOnlyResourceOutput { properties?: StorageMigrationResponsePropertiesOutput; } -// @public (undocumented) +// @public export interface StorageMigrationResponseProperties { - operationId?: string; } -// @public (undocumented) +// @public export interface StorageMigrationResponsePropertiesOutput { - operationId?: string; + readonly operationId?: string; } -// @public (undocumented) +// @public export interface StringDictionary extends ProxyOnlyResource { properties?: Record; } -// @public (undocumented) +// @public export interface StringDictionaryOutput extends ProxyOnlyResourceOutput { properties?: Record; } -// @public (undocumented) +// @public export interface StringList extends ProxyOnlyResource { properties?: Array; } -// @public (undocumented) +// @public export interface StringListOutput extends ProxyOnlyResourceOutput { properties?: Array; } -// @public (undocumented) +// @public export interface SupportTopic { - id?: string; - pesId?: string; } -// @public (undocumented) +// @public export interface SupportTopicOutput { - id?: string; - pesId?: string; + readonly id?: string; + readonly pesId?: string; } -// @public (undocumented) +// @public export interface SwiftVirtualNetwork extends ProxyOnlyResource { properties?: SwiftVirtualNetworkProperties; } -// @public (undocumented) +// @public export interface SwiftVirtualNetworkOutput extends ProxyOnlyResourceOutput { properties?: SwiftVirtualNetworkPropertiesOutput; } -// @public (undocumented) +// @public export interface SwiftVirtualNetworkProperties { subnetResourceId?: string; swiftSupported?: boolean; } -// @public (undocumented) +// @public export interface SwiftVirtualNetworkPropertiesOutput { subnetResourceId?: string; swiftSupported?: boolean; } -// @public (undocumented) +// @public export interface Template { containers?: Array; dapr?: Dapr; @@ -14926,7 +16399,7 @@ export interface Template { scale?: Scale; } -// @public (undocumented) +// @public export interface TemplateOutput { containers?: Array; dapr?: DaprOutput; @@ -14934,13 +16407,13 @@ export interface TemplateOutput { scale?: ScaleOutput; } -// @public (undocumented) +// @public export interface TldLegalAgreementCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface TldLegalAgreementOutput { agreementKey: string; content: string; @@ -14948,7 +16421,7 @@ export interface TldLegalAgreementOutput { url?: string; } -// @public (undocumented) +// @public export interface TokenStore { azureBlobStorage?: BlobStorageTokenStore; enabled?: boolean; @@ -14956,7 +16429,7 @@ export interface TokenStore { tokenRefreshExtensionHours?: number; } -// @public (undocumented) +// @public export interface TokenStoreOutput { azureBlobStorage?: BlobStorageTokenStoreOutput; enabled?: boolean; @@ -14964,41 +16437,41 @@ export interface TokenStoreOutput { tokenRefreshExtensionHours?: number; } -// @public (undocumented) +// @public export interface TopLevelDomain extends ProxyOnlyResource { properties?: TopLevelDomainProperties; } -// @public (undocumented) +// @public export interface TopLevelDomainAgreementOption { forTransfer?: boolean; includePrivacy?: boolean; } -// @public (undocumented) +// @public export interface TopLevelDomainCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface TopLevelDomainOutput extends ProxyOnlyResourceOutput { properties?: TopLevelDomainPropertiesOutput; } -// @public (undocumented) +// @public export interface TopLevelDomainProperties { privacy?: boolean; } -// @public (undocumented) +// @public export interface TopLevelDomainPropertiesOutput { privacy?: boolean; } // @public (undocumented) export interface TopLevelDomainsGet { - get(options?: TopLevelDomainsGetParameters): Promise; + get(options?: TopLevelDomainsGetParameters): StreamableMethod; } // @public @@ -15010,11 +16483,11 @@ export interface TopLevelDomainsGet200Response extends HttpResponse { } // @public -export interface TopLevelDomainsGetdefaultResponse extends HttpResponse { +export interface TopLevelDomainsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15022,7 +16495,7 @@ export type TopLevelDomainsGetParameters = RequestParameters; // @public (undocumented) export interface TopLevelDomainsList { - get(options?: TopLevelDomainsListParameters): Promise; + get(options?: TopLevelDomainsListParameters): StreamableMethod; } // @public @@ -15035,7 +16508,7 @@ export interface TopLevelDomainsList200Response extends HttpResponse { // @public (undocumented) export interface TopLevelDomainsListAgreements { - post(options: TopLevelDomainsListAgreementsParameters): Promise; + post(options: TopLevelDomainsListAgreementsParameters): StreamableMethod; } // @public @@ -15052,11 +16525,11 @@ export interface TopLevelDomainsListAgreementsBodyParam { } // @public -export interface TopLevelDomainsListAgreementsdefaultResponse extends HttpResponse { +export interface TopLevelDomainsListAgreementsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15068,57 +16541,57 @@ export interface TopLevelDomainsListAgreementsMediaTypesParam { export type TopLevelDomainsListAgreementsParameters = TopLevelDomainsListAgreementsMediaTypesParam & TopLevelDomainsListAgreementsBodyParam & RequestParameters; // @public -export interface TopLevelDomainsListdefaultResponse extends HttpResponse { +export interface TopLevelDomainsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type TopLevelDomainsListParameters = RequestParameters; -// @public (undocumented) +// @public export interface TrafficWeight { latestRevision?: boolean; revisionName?: string; weight?: number; } -// @public (undocumented) +// @public export interface TrafficWeightOutput { latestRevision?: boolean; revisionName?: string; weight?: number; } -// @public (undocumented) +// @public export interface TriggeredJobHistory extends ProxyOnlyResource { properties?: TriggeredJobHistoryProperties; } -// @public (undocumented) +// @public export interface TriggeredJobHistoryCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface TriggeredJobHistoryOutput extends ProxyOnlyResourceOutput { properties?: TriggeredJobHistoryPropertiesOutput; } -// @public (undocumented) +// @public export interface TriggeredJobHistoryProperties { runs?: Array; } -// @public (undocumented) +// @public export interface TriggeredJobHistoryPropertiesOutput { runs?: Array; } -// @public (undocumented) +// @public export interface TriggeredJobRun { duration?: string; end_time?: Date | string; @@ -15133,7 +16606,7 @@ export interface TriggeredJobRun { web_job_name?: string; } -// @public (undocumented) +// @public export interface TriggeredJobRunOutput { duration?: string; end_time?: string; @@ -15148,23 +16621,23 @@ export interface TriggeredJobRunOutput { web_job_name?: string; } -// @public (undocumented) +// @public export interface TriggeredWebJob extends ProxyOnlyResource { properties?: TriggeredWebJobProperties; } -// @public (undocumented) +// @public export interface TriggeredWebJobCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface TriggeredWebJobOutput extends ProxyOnlyResourceOutput { properties?: TriggeredWebJobPropertiesOutput; } -// @public (undocumented) +// @public export interface TriggeredWebJobProperties { error?: string; extra_info_url?: string; @@ -15178,7 +16651,7 @@ export interface TriggeredWebJobProperties { web_job_type?: "Continuous" | "Triggered"; } -// @public (undocumented) +// @public export interface TriggeredWebJobPropertiesOutput { error?: string; extra_info_url?: string; @@ -15192,25 +16665,25 @@ export interface TriggeredWebJobPropertiesOutput { web_job_type?: "Continuous" | "Triggered"; } -// @public (undocumented) +// @public export interface Twitter { enabled?: boolean; registration?: TwitterRegistration; } -// @public (undocumented) +// @public export interface TwitterOutput { enabled?: boolean; registration?: TwitterRegistrationOutput; } -// @public (undocumented) +// @public export interface TwitterRegistration { consumerKey?: string; consumerSecretSettingName?: string; } -// @public (undocumented) +// @public export interface TwitterRegistrationOutput { consumerKey?: string; consumerSecretSettingName?: string; @@ -15230,11 +16703,11 @@ export interface UpdatePublishingUserBodyParam { } // @public -export interface UpdatePublishingUserdefaultResponse extends HttpResponse { +export interface UpdatePublishingUserDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15259,11 +16732,11 @@ export interface UpdateSourceControlBodyParam { } // @public -export interface UpdateSourceControldefaultResponse extends HttpResponse { +export interface UpdateSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15274,69 +16747,59 @@ export interface UpdateSourceControlMediaTypesParam { // @public (undocumented) export type UpdateSourceControlParameters = UpdateSourceControlMediaTypesParam & UpdateSourceControlBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface Usage extends ProxyOnlyResource { properties?: UsageProperties; } -// @public (undocumented) +// @public export interface UsageCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface UsageOutput extends ProxyOnlyResourceOutput { properties?: UsagePropertiesOutput; } -// @public (undocumented) +// @public export interface UsageProperties { - computeMode?: "Shared" | "Dedicated" | "Dynamic"; - currentValue?: number; - displayName?: string; - limit?: number; - nextResetTime?: Date | string; - resourceName?: string; - siteMode?: string; - unit?: string; } -// @public (undocumented) +// @public export interface UsagePropertiesOutput { - computeMode?: "Shared" | "Dedicated" | "Dynamic"; - currentValue?: number; - displayName?: string; - limit?: number; - nextResetTime?: string; - resourceName?: string; - siteMode?: string; - unit?: string; + readonly computeMode?: "Shared" | "Dedicated" | "Dynamic"; + readonly currentValue?: number; + readonly displayName?: string; + readonly limit?: number; + readonly nextResetTime?: string; + readonly resourceName?: string; + readonly siteMode?: string; + readonly unit?: string; } -// @public (undocumented) +// @public export interface User extends ProxyOnlyResource { properties?: UserProperties; } -// @public (undocumented) +// @public export interface UserAssignedIdentity { - clientId?: string; - principalId?: string; } -// @public (undocumented) +// @public export interface UserAssignedIdentityOutput { - clientId?: string; - principalId?: string; + readonly clientId?: string; + readonly principalId?: string; } -// @public (undocumented) +// @public export interface UserOutput extends ProxyOnlyResourceOutput { properties?: UserPropertiesOutput; } -// @public (undocumented) +// @public export interface UserProperties { publishingPassword?: string; publishingPasswordHash?: string; @@ -15345,7 +16808,7 @@ export interface UserProperties { scmUri?: string; } -// @public (undocumented) +// @public export interface UserPropertiesOutput { publishingPassword?: string; publishingPasswordHash?: string; @@ -15356,7 +16819,7 @@ export interface UserPropertiesOutput { // @public (undocumented) export interface Validate { - post(options: ValidateParameters): Promise; + post(options: ValidateParameters): StreamableMethod; } // @public @@ -15373,11 +16836,11 @@ export interface ValidateBodyParam { } // @public -export interface ValidatedefaultResponse extends HttpResponse { +export interface ValidateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15387,13 +16850,11 @@ export interface ValidateMediaTypesParam { // @public (undocumented) export interface ValidateMove { - post(options: ValidateMoveParameters): Promise; + post(options: ValidateMoveParameters): StreamableMethod; } // @public export interface ValidateMove204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -15404,11 +16865,11 @@ export interface ValidateMoveBodyParam { } // @public -export interface ValidateMovedefaultResponse extends HttpResponse { +export interface ValidateMoveDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15422,7 +16883,7 @@ export type ValidateMoveParameters = ValidateMoveMediaTypesParam & ValidateMoveB // @public (undocumented) export type ValidateParameters = ValidateMediaTypesParam & ValidateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface ValidateProperties { appServiceEnvironment?: AppServiceEnvironment; capacity?: number; @@ -15440,7 +16901,7 @@ export interface ValidateProperties { skuName?: string; } -// @public (undocumented) +// @public export interface ValidateRequest { location: string; name: string; @@ -15448,13 +16909,13 @@ export interface ValidateRequest { type: "ServerFarm" | "Site" | "Microsoft.Web/hostingEnvironments"; } -// @public (undocumented) +// @public export interface ValidateResponseErrorOutput { code?: string; message?: string; } -// @public (undocumented) +// @public export interface ValidateResponseOutput { error?: ValidateResponseErrorOutput; status?: string; @@ -15462,7 +16923,7 @@ export interface ValidateResponseOutput { // @public (undocumented) export interface VerifyHostingEnvironmentVnet { - post(options: VerifyHostingEnvironmentVnetParameters): Promise; + post(options: VerifyHostingEnvironmentVnetParameters): StreamableMethod; } // @public @@ -15479,11 +16940,11 @@ export interface VerifyHostingEnvironmentVnetBodyParam { } // @public -export interface VerifyHostingEnvironmentVnetdefaultResponse extends HttpResponse { +export interface VerifyHostingEnvironmentVnetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15494,7 +16955,7 @@ export interface VerifyHostingEnvironmentVnetMediaTypesParam { // @public (undocumented) export type VerifyHostingEnvironmentVnetParameters = VerifyHostingEnvironmentVnetMediaTypesParam & VerifyHostingEnvironmentVnetBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface VirtualApplication { physicalPath?: string; preloadEnabled?: boolean; @@ -15502,7 +16963,7 @@ export interface VirtualApplication { virtualPath?: string; } -// @public (undocumented) +// @public export interface VirtualApplicationOutput { physicalPath?: string; preloadEnabled?: boolean; @@ -15510,19 +16971,19 @@ export interface VirtualApplicationOutput { virtualPath?: string; } -// @public (undocumented) +// @public export interface VirtualDirectory { physicalPath?: string; virtualPath?: string; } -// @public (undocumented) +// @public export interface VirtualDirectoryOutput { physicalPath?: string; virtualPath?: string; } -// @public (undocumented) +// @public export interface VirtualIPMapping { internalHttpPort?: number; internalHttpsPort?: number; @@ -15531,7 +16992,7 @@ export interface VirtualIPMapping { virtualIP?: string; } -// @public (undocumented) +// @public export interface VirtualIPMappingOutput { internalHttpPort?: number; internalHttpsPort?: number; @@ -15540,87 +17001,82 @@ export interface VirtualIPMappingOutput { virtualIP?: string; } -// @public (undocumented) +// @public export interface VirtualNetworkProfile { id: string; - name?: string; subnet?: string; - type?: string; } -// @public (undocumented) +// @public export interface VirtualNetworkProfileOutput { id: string; - name?: string; + readonly name?: string; subnet?: string; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface VnetGateway extends ProxyOnlyResource { properties?: VnetGatewayProperties; } -// @public (undocumented) +// @public export interface VnetGatewayOutput extends ProxyOnlyResourceOutput { properties?: VnetGatewayPropertiesOutput; } -// @public (undocumented) +// @public export interface VnetGatewayProperties { vnetName?: string; vpnPackageUri: string; } -// @public (undocumented) +// @public export interface VnetGatewayPropertiesOutput { vnetName?: string; vpnPackageUri: string; } -// @public (undocumented) +// @public export interface VnetInfo { certBlob?: string; - certThumbprint?: string; dnsServers?: string; isSwift?: boolean; - resyncRequired?: boolean; - routes?: Array; vnetResourceId?: string; } -// @public (undocumented) +// @public export interface VnetInfoOutput { certBlob?: string; - certThumbprint?: string; + readonly certThumbprint?: string; dnsServers?: string; isSwift?: boolean; - resyncRequired?: boolean; - routes?: Array; + readonly resyncRequired?: boolean; + readonly routes?: Array; vnetResourceId?: string; } -// @public (undocumented) +// @public export interface VnetInfoResource extends ProxyOnlyResource { properties?: VnetInfo; } -// @public (undocumented) +// @public export interface VnetInfoResourceOutput extends ProxyOnlyResourceOutput { properties?: VnetInfoOutput; } -// @public (undocumented) +// @public export interface VnetParameters extends ProxyOnlyResource { properties?: VnetParametersProperties; } -// @public (undocumented) +// @public export interface VnetParametersOutput extends ProxyOnlyResourceOutput { properties?: VnetParametersPropertiesOutput; } -// @public (undocumented) +// @public export interface VnetParametersProperties { subnetResourceId?: string; vnetName?: string; @@ -15628,7 +17084,7 @@ export interface VnetParametersProperties { vnetSubnetName?: string; } -// @public (undocumented) +// @public export interface VnetParametersPropertiesOutput { subnetResourceId?: string; vnetName?: string; @@ -15636,41 +17092,41 @@ export interface VnetParametersPropertiesOutput { vnetSubnetName?: string; } -// @public (undocumented) +// @public export interface VnetRoute extends ProxyOnlyResource { properties?: VnetRouteProperties; } -// @public (undocumented) +// @public export interface VnetRouteOutput extends ProxyOnlyResourceOutput { properties?: VnetRoutePropertiesOutput; } -// @public (undocumented) +// @public export interface VnetRouteProperties { endAddress?: string; routeType?: "DEFAULT" | "INHERITED" | "STATIC"; startAddress?: string; } -// @public (undocumented) +// @public export interface VnetRoutePropertiesOutput { endAddress?: string; routeType?: "DEFAULT" | "INHERITED" | "STATIC"; startAddress?: string; } -// @public (undocumented) +// @public export interface VnetValidationFailureDetails extends ProxyOnlyResource { properties?: VnetValidationFailureDetailsProperties; } -// @public (undocumented) +// @public export interface VnetValidationFailureDetailsOutput extends ProxyOnlyResourceOutput { properties?: VnetValidationFailureDetailsPropertiesOutput; } -// @public (undocumented) +// @public export interface VnetValidationFailureDetailsProperties { failed?: boolean; failedTests?: Array; @@ -15678,7 +17134,7 @@ export interface VnetValidationFailureDetailsProperties { warnings?: Array; } -// @public (undocumented) +// @public export interface VnetValidationFailureDetailsPropertiesOutput { failed?: boolean; failedTests?: Array; @@ -15686,110 +17142,90 @@ export interface VnetValidationFailureDetailsPropertiesOutput { warnings?: Array; } -// @public (undocumented) +// @public export interface VnetValidationTestFailure extends ProxyOnlyResource { properties?: VnetValidationTestFailureProperties; } -// @public (undocumented) +// @public export interface VnetValidationTestFailureOutput extends ProxyOnlyResourceOutput { properties?: VnetValidationTestFailurePropertiesOutput; } -// @public (undocumented) +// @public export interface VnetValidationTestFailureProperties { details?: string; testName?: string; } -// @public (undocumented) +// @public export interface VnetValidationTestFailurePropertiesOutput { details?: string; testName?: string; } -// @public (undocumented) +// @public export interface WebAppCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface WebAppInstanceStatusCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface WebAppMajorVersion { - displayText?: string; - minorVersions?: Array; - value?: string; } -// @public (undocumented) +// @public export interface WebAppMajorVersionOutput { - displayText?: string; - minorVersions?: Array; - value?: string; + readonly displayText?: string; + readonly minorVersions?: Array; + readonly value?: string; } -// @public (undocumented) +// @public export interface WebAppMinorVersion { - displayText?: string; - stackSettings?: WebAppRuntimes; - value?: string; } -// @public (undocumented) +// @public export interface WebAppMinorVersionOutput { - displayText?: string; - stackSettings?: WebAppRuntimesOutput; - value?: string; + readonly displayText?: string; + readonly stackSettings?: WebAppRuntimesOutput; + readonly value?: string; } -// @public (undocumented) +// @public export interface WebAppRuntimes { - linuxContainerSettings?: LinuxJavaContainerSettings; - linuxRuntimeSettings?: WebAppRuntimeSettings; - windowsContainerSettings?: WindowsJavaContainerSettings; - windowsRuntimeSettings?: WebAppRuntimeSettings; } -// @public (undocumented) +// @public export interface WebAppRuntimeSettings { - appInsightsSettings?: AppInsightsWebAppStackSettings; - endOfLifeDate?: Date | string; - gitHubActionSettings?: GitHubActionWebAppStackSettings; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - remoteDebuggingSupported?: boolean; - runtimeVersion?: string; } -// @public (undocumented) +// @public export interface WebAppRuntimeSettingsOutput { - appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; - endOfLifeDate?: string; - gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - remoteDebuggingSupported?: boolean; - runtimeVersion?: string; + readonly appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; + readonly endOfLifeDate?: string; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; + readonly isAutoUpdate?: boolean; + readonly isDeprecated?: boolean; + readonly isEarlyAccess?: boolean; + readonly isHidden?: boolean; + readonly isPreview?: boolean; + readonly remoteDebuggingSupported?: boolean; + readonly runtimeVersion?: string; } -// @public (undocumented) +// @public export interface WebAppRuntimesOutput { - linuxContainerSettings?: LinuxJavaContainerSettingsOutput; - linuxRuntimeSettings?: WebAppRuntimeSettingsOutput; - windowsContainerSettings?: WindowsJavaContainerSettingsOutput; - windowsRuntimeSettings?: WebAppRuntimeSettingsOutput; + readonly linuxContainerSettings?: LinuxJavaContainerSettingsOutput; + readonly linuxRuntimeSettings?: WebAppRuntimeSettingsOutput; + readonly windowsContainerSettings?: WindowsJavaContainerSettingsOutput; + readonly windowsRuntimeSettings?: WebAppRuntimeSettingsOutput; } // @public @@ -15806,11 +17242,11 @@ export interface WebAppsAddPremierAddOnBodyParam { } // @public -export interface WebAppsAddPremierAddOndefaultResponse extends HttpResponse { +export interface WebAppsAddPremierAddOnDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15835,11 +17271,11 @@ export interface WebAppsAddPremierAddOnSlotBodyParam { } // @public -export interface WebAppsAddPremierAddOnSlotdefaultResponse extends HttpResponse { +export interface WebAppsAddPremierAddOnSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15852,7 +17288,7 @@ export type WebAppsAddPremierAddOnSlotParameters = WebAppsAddPremierAddOnSlotMed // @public (undocumented) export interface WebAppsAnalyzeCustomHostname { - get(options?: WebAppsAnalyzeCustomHostnameParameters): Promise; + get(options?: WebAppsAnalyzeCustomHostnameParameters): StreamableMethod; } // @public @@ -15864,11 +17300,11 @@ export interface WebAppsAnalyzeCustomHostname200Response extends HttpResponse { } // @public -export interface WebAppsAnalyzeCustomHostnamedefaultResponse extends HttpResponse { +export interface WebAppsAnalyzeCustomHostnameDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15887,7 +17323,7 @@ export interface WebAppsAnalyzeCustomHostnameQueryParamProperties { // @public (undocumented) export interface WebAppsAnalyzeCustomHostnameSlot { - get(options?: WebAppsAnalyzeCustomHostnameSlotParameters): Promise; + get(options?: WebAppsAnalyzeCustomHostnameSlotParameters): StreamableMethod; } // @public @@ -15899,11 +17335,11 @@ export interface WebAppsAnalyzeCustomHostnameSlot200Response extends HttpRespons } // @public -export interface WebAppsAnalyzeCustomHostnameSlotdefaultResponse extends HttpResponse { +export interface WebAppsAnalyzeCustomHostnameSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15922,13 +17358,11 @@ export interface WebAppsAnalyzeCustomHostnameSlotQueryParamProperties { // @public (undocumented) export interface WebAppsApplySlotConfigToProduction { - post(options: WebAppsApplySlotConfigToProductionParameters): Promise; + post(options: WebAppsApplySlotConfigToProductionParameters): StreamableMethod; } // @public export interface WebAppsApplySlotConfigToProduction200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -15939,11 +17373,11 @@ export interface WebAppsApplySlotConfigToProductionBodyParam { } // @public -export interface WebAppsApplySlotConfigToProductiondefaultResponse extends HttpResponse { +export interface WebAppsApplySlotConfigToProductionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -15956,13 +17390,11 @@ export type WebAppsApplySlotConfigToProductionParameters = WebAppsApplySlotConfi // @public (undocumented) export interface WebAppsApplySlotConfigurationSlot { - post(options: WebAppsApplySlotConfigurationSlotParameters): Promise; + post(options: WebAppsApplySlotConfigurationSlotParameters): StreamableMethod; } // @public export interface WebAppsApplySlotConfigurationSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -15973,11 +17405,11 @@ export interface WebAppsApplySlotConfigurationSlotBodyParam { } // @public -export interface WebAppsApplySlotConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsApplySlotConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16011,11 +17443,11 @@ export interface WebAppsApproveOrRejectPrivateEndpointConnectionBodyParam { } // @public -export interface WebAppsApproveOrRejectPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16049,11 +17481,11 @@ export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotBodyParam { } // @public -export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16066,7 +17498,7 @@ export type WebAppsApproveOrRejectPrivateEndpointConnectionSlotParameters = WebA // @public (undocumented) export interface WebAppsBackup { - post(options: WebAppsBackupParameters): Promise; + post(options: WebAppsBackupParameters): StreamableMethod; } // @public @@ -16083,11 +17515,11 @@ export interface WebAppsBackupBodyParam { } // @public -export interface WebAppsBackupdefaultResponse extends HttpResponse { +export interface WebAppsBackupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16100,7 +17532,7 @@ export type WebAppsBackupParameters = WebAppsBackupMediaTypesParam & WebAppsBack // @public (undocumented) export interface WebAppsBackupSlot { - post(options: WebAppsBackupSlotParameters): Promise; + post(options: WebAppsBackupSlotParameters): StreamableMethod; } // @public @@ -16117,11 +17549,11 @@ export interface WebAppsBackupSlotBodyParam { } // @public -export interface WebAppsBackupSlotdefaultResponse extends HttpResponse { +export interface WebAppsBackupSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16146,11 +17578,11 @@ export interface WebAppsCreateDeploymentBodyParam { } // @public -export interface WebAppsCreateDeploymentdefaultResponse extends HttpResponse { +export interface WebAppsCreateDeploymentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16175,11 +17607,11 @@ export interface WebAppsCreateDeploymentSlotBodyParam { } // @public -export interface WebAppsCreateDeploymentSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateDeploymentSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16204,11 +17636,11 @@ export interface WebAppsCreateFunctionBodyParam { } // @public -export interface WebAppsCreateFunctiondefaultResponse extends HttpResponse { +export interface WebAppsCreateFunctionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16233,11 +17665,11 @@ export interface WebAppsCreateInstanceFunctionSlotBodyParam { } // @public -export interface WebAppsCreateInstanceFunctionSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateInstanceFunctionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16258,8 +17690,6 @@ export interface WebAppsCreateInstanceMSDeployOperation201Response extends HttpR // @public export interface WebAppsCreateInstanceMSDeployOperation409Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "409"; } @@ -16270,11 +17700,11 @@ export interface WebAppsCreateInstanceMSDeployOperationBodyParam { } // @public -export interface WebAppsCreateInstanceMSDeployOperationdefaultResponse extends HttpResponse { +export interface WebAppsCreateInstanceMSDeployOperationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16295,8 +17725,6 @@ export interface WebAppsCreateInstanceMSDeployOperationSlot201Response extends H // @public export interface WebAppsCreateInstanceMSDeployOperationSlot409Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "409"; } @@ -16307,11 +17735,11 @@ export interface WebAppsCreateInstanceMSDeployOperationSlotBodyParam { } // @public -export interface WebAppsCreateInstanceMSDeployOperationSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16332,8 +17760,6 @@ export interface WebAppsCreateMSDeployOperation201Response extends HttpResponse // @public export interface WebAppsCreateMSDeployOperation409Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "409"; } @@ -16344,11 +17770,11 @@ export interface WebAppsCreateMSDeployOperationBodyParam { } // @public -export interface WebAppsCreateMSDeployOperationdefaultResponse extends HttpResponse { +export interface WebAppsCreateMSDeployOperationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16369,8 +17795,6 @@ export interface WebAppsCreateMSDeployOperationSlot201Response extends HttpRespo // @public export interface WebAppsCreateMSDeployOperationSlot409Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "409"; } @@ -16381,11 +17805,11 @@ export interface WebAppsCreateMSDeployOperationSlotBodyParam { } // @public -export interface WebAppsCreateMSDeployOperationSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateMSDeployOperationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16405,11 +17829,11 @@ export interface WebAppsCreateOneDeployOperation200Response extends HttpResponse } // @public -export interface WebAppsCreateOneDeployOperationdefaultResponse extends HttpResponse { +export interface WebAppsCreateOneDeployOperationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16450,11 +17874,11 @@ export interface WebAppsCreateOrUpdateConfigurationBodyParam { } // @public -export interface WebAppsCreateOrUpdateConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16479,11 +17903,11 @@ export interface WebAppsCreateOrUpdateConfigurationSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16495,11 +17919,11 @@ export interface WebAppsCreateOrUpdateConfigurationSlotMediaTypesParam { export type WebAppsCreateOrUpdateConfigurationSlotParameters = WebAppsCreateOrUpdateConfigurationSlotMediaTypesParam & WebAppsCreateOrUpdateConfigurationSlotBodyParam & RequestParameters; // @public -export interface WebAppsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public @@ -16516,11 +17940,11 @@ export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierBodyParam { } // @public -export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16545,11 +17969,11 @@ export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16562,8 +17986,8 @@ export type WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotParameters = WebAp // @public (undocumented) export interface WebAppsCreateOrUpdateFunctionSecret { - delete(options?: WebAppsDeleteFunctionSecretParameters): Promise; - put(options: WebAppsCreateOrUpdateFunctionSecretParameters): Promise; + delete(options?: WebAppsDeleteFunctionSecretParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateFunctionSecretParameters): StreamableMethod; } // @public @@ -16588,11 +18012,11 @@ export interface WebAppsCreateOrUpdateFunctionSecretBodyParam { } // @public -export interface WebAppsCreateOrUpdateFunctionSecretdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateFunctionSecretDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16605,8 +18029,8 @@ export type WebAppsCreateOrUpdateFunctionSecretParameters = WebAppsCreateOrUpdat // @public (undocumented) export interface WebAppsCreateOrUpdateFunctionSecretSlot { - delete(options?: WebAppsDeleteFunctionSecretSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateFunctionSecretSlotParameters): Promise; + delete(options?: WebAppsDeleteFunctionSecretSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateFunctionSecretSlotParameters): StreamableMethod; } // @public @@ -16631,11 +18055,11 @@ export interface WebAppsCreateOrUpdateFunctionSecretSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateFunctionSecretSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16660,11 +18084,11 @@ export interface WebAppsCreateOrUpdateHostNameBindingBodyParam { } // @public -export interface WebAppsCreateOrUpdateHostNameBindingdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHostNameBindingDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16689,11 +18113,11 @@ export interface WebAppsCreateOrUpdateHostNameBindingSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateHostNameBindingSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16706,8 +18130,8 @@ export type WebAppsCreateOrUpdateHostNameBindingSlotParameters = WebAppsCreateOr // @public (undocumented) export interface WebAppsCreateOrUpdateHostSecret { - delete(options?: WebAppsDeleteHostSecretParameters): Promise; - put(options: WebAppsCreateOrUpdateHostSecretParameters): Promise; + delete(options?: WebAppsDeleteHostSecretParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHostSecretParameters): StreamableMethod; } // @public @@ -16732,11 +18156,11 @@ export interface WebAppsCreateOrUpdateHostSecretBodyParam { } // @public -export interface WebAppsCreateOrUpdateHostSecretdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHostSecretDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16749,8 +18173,8 @@ export type WebAppsCreateOrUpdateHostSecretParameters = WebAppsCreateOrUpdateHos // @public (undocumented) export interface WebAppsCreateOrUpdateHostSecretSlot { - delete(options?: WebAppsDeleteHostSecretSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateHostSecretSlotParameters): Promise; + delete(options?: WebAppsDeleteHostSecretSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHostSecretSlotParameters): StreamableMethod; } // @public @@ -16775,11 +18199,11 @@ export interface WebAppsCreateOrUpdateHostSecretSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateHostSecretSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHostSecretSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16804,11 +18228,11 @@ export interface WebAppsCreateOrUpdateHybridConnectionBodyParam { } // @public -export interface WebAppsCreateOrUpdateHybridConnectiondefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16833,11 +18257,11 @@ export interface WebAppsCreateOrUpdateHybridConnectionSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateHybridConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16870,11 +18294,11 @@ export interface WebAppsCreateOrUpdatePublicCertificateBodyParam { } // @public -export interface WebAppsCreateOrUpdatePublicCertificatedefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdatePublicCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16899,11 +18323,11 @@ export interface WebAppsCreateOrUpdatePublicCertificateSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdatePublicCertificateSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16928,11 +18352,11 @@ export interface WebAppsCreateOrUpdateRelayServiceConnectionBodyParam { } // @public -export interface WebAppsCreateOrUpdateRelayServiceConnectiondefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16957,11 +18381,11 @@ export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -16994,11 +18418,11 @@ export interface WebAppsCreateOrUpdateSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17039,11 +18463,11 @@ export interface WebAppsCreateOrUpdateSourceControlBodyParam { } // @public -export interface WebAppsCreateOrUpdateSourceControldefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17084,11 +18508,11 @@ export interface WebAppsCreateOrUpdateSourceControlSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateSourceControlSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateSourceControlSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17113,11 +18537,11 @@ export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckBody } // @public -export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17142,11 +18566,11 @@ export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot } // @public -export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17171,11 +18595,11 @@ export interface WebAppsCreateOrUpdateVnetConnectionBodyParam { } // @public -export interface WebAppsCreateOrUpdateVnetConnectiondefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateVnetConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public @@ -17192,11 +18616,11 @@ export interface WebAppsCreateOrUpdateVnetConnectionGatewayBodyParam { } // @public -export interface WebAppsCreateOrUpdateVnetConnectionGatewaydefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17221,11 +18645,11 @@ export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17258,11 +18682,11 @@ export interface WebAppsCreateOrUpdateVnetConnectionSlotBodyParam { } // @public -export interface WebAppsCreateOrUpdateVnetConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17275,58 +18699,46 @@ export type WebAppsCreateOrUpdateVnetConnectionSlotParameters = WebAppsCreateOrU // @public export interface WebAppsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDelete404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public export interface WebAppsDeleteBackup200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteBackup404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public export interface WebAppsDeleteBackupConfiguration200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsDeleteBackupConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsDeleteBackupConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17334,29 +18746,27 @@ export type WebAppsDeleteBackupConfigurationParameters = RequestParameters; // @public export interface WebAppsDeleteBackupConfigurationSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsDeleteBackupConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteBackupConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsDeleteBackupConfigurationSlotParameters = RequestParameters; // @public -export interface WebAppsDeleteBackupdefaultResponse extends HttpResponse { +export interface WebAppsDeleteBackupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17364,26 +18774,22 @@ export type WebAppsDeleteBackupParameters = RequestParameters; // @public export interface WebAppsDeleteBackupSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteBackupSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteBackupSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteBackupSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17391,26 +18797,22 @@ export type WebAppsDeleteBackupSlotParameters = RequestParameters; // @public export interface WebAppsDeleteContinuousWebJob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteContinuousWebJob204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteContinuousWebJobdefaultResponse extends HttpResponse { +export interface WebAppsDeleteContinuousWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17418,61 +18820,53 @@ export type WebAppsDeleteContinuousWebJobParameters = RequestParameters; // @public export interface WebAppsDeleteContinuousWebJobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteContinuousWebJobSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteContinuousWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteContinuousWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsDeleteContinuousWebJobSlotParameters = RequestParameters; // @public -export interface WebAppsDeletedefaultResponse extends HttpResponse { +export interface WebAppsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public export interface WebAppsDeleteDeployment200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteDeployment204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteDeploymentdefaultResponse extends HttpResponse { +export interface WebAppsDeleteDeploymentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17480,26 +18874,22 @@ export type WebAppsDeleteDeploymentParameters = RequestParameters; // @public export interface WebAppsDeleteDeploymentSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteDeploymentSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteDeploymentSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteDeploymentSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17507,26 +18897,22 @@ export type WebAppsDeleteDeploymentSlotParameters = RequestParameters; // @public export interface WebAppsDeleteDomainOwnershipIdentifier200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteDomainOwnershipIdentifier204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteDomainOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface WebAppsDeleteDomainOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17534,26 +18920,22 @@ export type WebAppsDeleteDomainOwnershipIdentifierParameters = RequestParameters // @public export interface WebAppsDeleteDomainOwnershipIdentifierSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteDomainOwnershipIdentifierSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17561,26 +18943,22 @@ export type WebAppsDeleteDomainOwnershipIdentifierSlotParameters = RequestParame // @public export interface WebAppsDeleteFunction204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteFunction404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteFunctiondefaultResponse extends HttpResponse { +export interface WebAppsDeleteFunctionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17588,26 +18966,22 @@ export type WebAppsDeleteFunctionParameters = RequestParameters; // @public export interface WebAppsDeleteFunctionSecret204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteFunctionSecret404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteFunctionSecretdefaultResponse extends HttpResponse { +export interface WebAppsDeleteFunctionSecretDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17615,26 +18989,22 @@ export type WebAppsDeleteFunctionSecretParameters = RequestParameters; // @public export interface WebAppsDeleteFunctionSecretSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteFunctionSecretSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteFunctionSecretSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteFunctionSecretSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17642,26 +19012,22 @@ export type WebAppsDeleteFunctionSecretSlotParameters = RequestParameters; // @public export interface WebAppsDeleteHostNameBinding200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteHostNameBinding204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteHostNameBindingdefaultResponse extends HttpResponse { +export interface WebAppsDeleteHostNameBindingDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17669,26 +19035,22 @@ export type WebAppsDeleteHostNameBindingParameters = RequestParameters; // @public export interface WebAppsDeleteHostNameBindingSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteHostNameBindingSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteHostNameBindingSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteHostNameBindingSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17696,26 +19058,22 @@ export type WebAppsDeleteHostNameBindingSlotParameters = RequestParameters; // @public export interface WebAppsDeleteHostSecret204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteHostSecret404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteHostSecretdefaultResponse extends HttpResponse { +export interface WebAppsDeleteHostSecretDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17723,26 +19081,22 @@ export type WebAppsDeleteHostSecretParameters = RequestParameters; // @public export interface WebAppsDeleteHostSecretSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteHostSecretSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteHostSecretSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteHostSecretSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17750,26 +19104,22 @@ export type WebAppsDeleteHostSecretSlotParameters = RequestParameters; // @public export interface WebAppsDeleteHybridConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteHybridConnection404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteHybridConnectiondefaultResponse extends HttpResponse { +export interface WebAppsDeleteHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17777,26 +19127,22 @@ export type WebAppsDeleteHybridConnectionParameters = RequestParameters; // @public export interface WebAppsDeleteHybridConnectionSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteHybridConnectionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteHybridConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteHybridConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17804,26 +19150,22 @@ export type WebAppsDeleteHybridConnectionSlotParameters = RequestParameters; // @public export interface WebAppsDeleteInstanceFunctionSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteInstanceFunctionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteInstanceFunctionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteInstanceFunctionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17831,26 +19173,22 @@ export type WebAppsDeleteInstanceFunctionSlotParameters = RequestParameters; // @public export interface WebAppsDeleteInstanceProcess204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteInstanceProcess404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteInstanceProcessdefaultResponse extends HttpResponse { +export interface WebAppsDeleteInstanceProcessDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17858,26 +19196,22 @@ export type WebAppsDeleteInstanceProcessParameters = RequestParameters; // @public export interface WebAppsDeleteInstanceProcessSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteInstanceProcessSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteInstanceProcessSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteInstanceProcessSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17888,18 +19222,16 @@ export type WebAppsDeleteParameters = WebAppsDeleteQueryParam & RequestParameter // @public export interface WebAppsDeletePremierAddOn200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsDeletePremierAddOndefaultResponse extends HttpResponse { +export interface WebAppsDeletePremierAddOnDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17907,18 +19239,16 @@ export type WebAppsDeletePremierAddOnParameters = RequestParameters; // @public export interface WebAppsDeletePremierAddOnSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsDeletePremierAddOnSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeletePremierAddOnSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17949,11 +19279,11 @@ export interface WebAppsDeletePrivateEndpointConnection204Response extends HttpR } // @public -export interface WebAppsDeletePrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface WebAppsDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17984,11 +19314,11 @@ export interface WebAppsDeletePrivateEndpointConnectionSlot204Response extends H } // @public -export interface WebAppsDeletePrivateEndpointConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -17996,26 +19326,22 @@ export type WebAppsDeletePrivateEndpointConnectionSlotParameters = RequestParame // @public export interface WebAppsDeleteProcess204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteProcess404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteProcessdefaultResponse extends HttpResponse { +export interface WebAppsDeleteProcessDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18023,26 +19349,22 @@ export type WebAppsDeleteProcessParameters = RequestParameters; // @public export interface WebAppsDeleteProcessSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteProcessSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteProcessSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteProcessSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18050,26 +19372,22 @@ export type WebAppsDeleteProcessSlotParameters = RequestParameters; // @public export interface WebAppsDeletePublicCertificate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeletePublicCertificate204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeletePublicCertificatedefaultResponse extends HttpResponse { +export interface WebAppsDeletePublicCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18077,26 +19395,22 @@ export type WebAppsDeletePublicCertificateParameters = RequestParameters; // @public export interface WebAppsDeletePublicCertificateSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeletePublicCertificateSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeletePublicCertificateSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeletePublicCertificateSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18116,26 +19430,22 @@ export interface WebAppsDeleteQueryParamProperties { // @public export interface WebAppsDeleteRelayServiceConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteRelayServiceConnection404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteRelayServiceConnectiondefaultResponse extends HttpResponse { +export interface WebAppsDeleteRelayServiceConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18143,26 +19453,22 @@ export type WebAppsDeleteRelayServiceConnectionParameters = RequestParameters; // @public export interface WebAppsDeleteRelayServiceConnectionSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteRelayServiceConnectionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteRelayServiceConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteRelayServiceConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18170,26 +19476,22 @@ export type WebAppsDeleteRelayServiceConnectionSlotParameters = RequestParameter // @public export interface WebAppsDeleteSiteExtension204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteSiteExtension404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSiteExtensiondefaultResponse extends HttpResponse { +export interface WebAppsDeleteSiteExtensionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18197,26 +19499,22 @@ export type WebAppsDeleteSiteExtensionParameters = RequestParameters; // @public export interface WebAppsDeleteSiteExtensionSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteSiteExtensionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSiteExtensionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteSiteExtensionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18224,34 +19522,28 @@ export type WebAppsDeleteSiteExtensionSlotParameters = RequestParameters; // @public export interface WebAppsDeleteSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface WebAppsDeleteSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18271,34 +19563,28 @@ export interface WebAppsDeleteSlotQueryParamProperties { // @public export interface WebAppsDeleteSourceControl200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteSourceControl202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface WebAppsDeleteSourceControl404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSourceControldefaultResponse extends HttpResponse { +export interface WebAppsDeleteSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18318,34 +19604,28 @@ export interface WebAppsDeleteSourceControlQueryParamProperties { // @public export interface WebAppsDeleteSourceControlSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteSourceControlSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface WebAppsDeleteSourceControlSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSourceControlSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteSourceControlSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18365,26 +19645,22 @@ export interface WebAppsDeleteSourceControlSlotQueryParamProperties { // @public export interface WebAppsDeleteSwiftVirtualNetwork200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteSwiftVirtualNetwork404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSwiftVirtualNetworkdefaultResponse extends HttpResponse { +export interface WebAppsDeleteSwiftVirtualNetworkDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18392,26 +19668,22 @@ export type WebAppsDeleteSwiftVirtualNetworkParameters = RequestParameters; // @public export interface WebAppsDeleteSwiftVirtualNetworkSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteSwiftVirtualNetworkSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteSwiftVirtualNetworkSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18419,26 +19691,22 @@ export type WebAppsDeleteSwiftVirtualNetworkSlotParameters = RequestParameters; // @public export interface WebAppsDeleteTriggeredWebJob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteTriggeredWebJob204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteTriggeredWebJobdefaultResponse extends HttpResponse { +export interface WebAppsDeleteTriggeredWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18446,26 +19714,22 @@ export type WebAppsDeleteTriggeredWebJobParameters = RequestParameters; // @public export interface WebAppsDeleteTriggeredWebJobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteTriggeredWebJobSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsDeleteTriggeredWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteTriggeredWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18473,26 +19737,22 @@ export type WebAppsDeleteTriggeredWebJobSlotParameters = RequestParameters; // @public export interface WebAppsDeleteVnetConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteVnetConnection404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteVnetConnectiondefaultResponse extends HttpResponse { +export interface WebAppsDeleteVnetConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18500,26 +19760,22 @@ export type WebAppsDeleteVnetConnectionParameters = RequestParameters; // @public export interface WebAppsDeleteVnetConnectionSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsDeleteVnetConnectionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsDeleteVnetConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsDeleteVnetConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18527,7 +19783,7 @@ export type WebAppsDeleteVnetConnectionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsDiscoverBackup { - post(options: WebAppsDiscoverBackupParameters): Promise; + post(options: WebAppsDiscoverBackupParameters): StreamableMethod; } // @public @@ -18544,11 +19800,11 @@ export interface WebAppsDiscoverBackupBodyParam { } // @public -export interface WebAppsDiscoverBackupdefaultResponse extends HttpResponse { +export interface WebAppsDiscoverBackupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18561,7 +19817,7 @@ export type WebAppsDiscoverBackupParameters = WebAppsDiscoverBackupMediaTypesPar // @public (undocumented) export interface WebAppsDiscoverBackupSlot { - post(options: WebAppsDiscoverBackupSlotParameters): Promise; + post(options: WebAppsDiscoverBackupSlotParameters): StreamableMethod; } // @public @@ -18578,11 +19834,11 @@ export interface WebAppsDiscoverBackupSlotBodyParam { } // @public -export interface WebAppsDiscoverBackupSlotdefaultResponse extends HttpResponse { +export interface WebAppsDiscoverBackupSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18595,31 +19851,27 @@ export type WebAppsDiscoverBackupSlotParameters = WebAppsDiscoverBackupSlotMedia // @public (undocumented) export interface WebAppsGenerateNewSitePublishingPassword { - post(options?: WebAppsGenerateNewSitePublishingPasswordParameters): Promise; + post(options?: WebAppsGenerateNewSitePublishingPasswordParameters): StreamableMethod; } // @public export interface WebAppsGenerateNewSitePublishingPassword200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsGenerateNewSitePublishingPassword204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGenerateNewSitePublishingPassworddefaultResponse extends HttpResponse { +export interface WebAppsGenerateNewSitePublishingPasswordDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18627,31 +19879,27 @@ export type WebAppsGenerateNewSitePublishingPasswordParameters = RequestParamete // @public (undocumented) export interface WebAppsGenerateNewSitePublishingPasswordSlot { - post(options?: WebAppsGenerateNewSitePublishingPasswordSlotParameters): Promise; + post(options?: WebAppsGenerateNewSitePublishingPasswordSlotParameters): StreamableMethod; } // @public export interface WebAppsGenerateNewSitePublishingPasswordSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsGenerateNewSitePublishingPasswordSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGenerateNewSitePublishingPasswordSlotdefaultResponse extends HttpResponse { +export interface WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18659,10 +19907,10 @@ export type WebAppsGenerateNewSitePublishingPasswordSlotParameters = RequestPara // @public (undocumented) export interface WebAppsGet { - delete(options?: WebAppsDeleteParameters): Promise; - get(options?: WebAppsGetParameters): Promise; - patch(options: WebAppsUpdateParameters): Promise; - put(options: WebAppsCreateOrUpdateParameters): Promise; + delete(options?: WebAppsDeleteParameters): StreamableMethod; + get(options?: WebAppsGetParameters): StreamableMethod; + patch(options: WebAppsUpdateParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -18675,15 +19923,13 @@ export interface WebAppsGet200Response extends HttpResponse { // @public export interface WebAppsGet404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public (undocumented) export interface WebAppsGetAppSettingKeyVaultReference { - get(options?: WebAppsGetAppSettingKeyVaultReferenceParameters): Promise; + get(options?: WebAppsGetAppSettingKeyVaultReferenceParameters): StreamableMethod; } // @public @@ -18695,11 +19941,11 @@ export interface WebAppsGetAppSettingKeyVaultReference200Response extends HttpRe } // @public -export interface WebAppsGetAppSettingKeyVaultReferencedefaultResponse extends HttpResponse { +export interface WebAppsGetAppSettingKeyVaultReferenceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18707,7 +19953,7 @@ export type WebAppsGetAppSettingKeyVaultReferenceParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetAppSettingKeyVaultReferenceSlot { - get(options?: WebAppsGetAppSettingKeyVaultReferenceSlotParameters): Promise; + get(options?: WebAppsGetAppSettingKeyVaultReferenceSlotParameters): StreamableMethod; } // @public @@ -18719,11 +19965,11 @@ export interface WebAppsGetAppSettingKeyVaultReferenceSlot200Response extends Ht } // @public -export interface WebAppsGetAppSettingKeyVaultReferenceSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18731,7 +19977,7 @@ export type WebAppsGetAppSettingKeyVaultReferenceSlotParameters = RequestParamet // @public (undocumented) export interface WebAppsGetAppSettingsKeyVaultReferences { - get(options?: WebAppsGetAppSettingsKeyVaultReferencesParameters): Promise; + get(options?: WebAppsGetAppSettingsKeyVaultReferencesParameters): StreamableMethod; } // @public @@ -18743,11 +19989,11 @@ export interface WebAppsGetAppSettingsKeyVaultReferences200Response extends Http } // @public -export interface WebAppsGetAppSettingsKeyVaultReferencesdefaultResponse extends HttpResponse { +export interface WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18755,7 +20001,7 @@ export type WebAppsGetAppSettingsKeyVaultReferencesParameters = RequestParameter // @public (undocumented) export interface WebAppsGetAppSettingsKeyVaultReferencesSlot { - get(options?: WebAppsGetAppSettingsKeyVaultReferencesSlotParameters): Promise; + get(options?: WebAppsGetAppSettingsKeyVaultReferencesSlotParameters): StreamableMethod; } // @public @@ -18767,11 +20013,11 @@ export interface WebAppsGetAppSettingsKeyVaultReferencesSlot200Response extends } // @public -export interface WebAppsGetAppSettingsKeyVaultReferencesSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18779,7 +20025,7 @@ export type WebAppsGetAppSettingsKeyVaultReferencesSlotParameters = RequestParam // @public (undocumented) export interface WebAppsGetAuthSettings { - post(options?: WebAppsGetAuthSettingsParameters): Promise; + post(options?: WebAppsGetAuthSettingsParameters): StreamableMethod; } // @public @@ -18791,11 +20037,11 @@ export interface WebAppsGetAuthSettings200Response extends HttpResponse { } // @public -export interface WebAppsGetAuthSettingsdefaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18803,7 +20049,7 @@ export type WebAppsGetAuthSettingsParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetAuthSettingsSlot { - post(options?: WebAppsGetAuthSettingsSlotParameters): Promise; + post(options?: WebAppsGetAuthSettingsSlotParameters): StreamableMethod; } // @public @@ -18815,11 +20061,11 @@ export interface WebAppsGetAuthSettingsSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetAuthSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18827,7 +20073,7 @@ export type WebAppsGetAuthSettingsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetAuthSettingsV2 { - get(options?: WebAppsGetAuthSettingsV2Parameters): Promise; + get(options?: WebAppsGetAuthSettingsV2Parameters): StreamableMethod; } // @public @@ -18839,11 +20085,11 @@ export interface WebAppsGetAuthSettingsV2200Response extends HttpResponse { } // @public -export interface WebAppsGetAuthSettingsV2defaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18851,7 +20097,7 @@ export type WebAppsGetAuthSettingsV2Parameters = RequestParameters; // @public (undocumented) export interface WebAppsGetAuthSettingsV2Slot { - get(options?: WebAppsGetAuthSettingsV2SlotParameters): Promise; + get(options?: WebAppsGetAuthSettingsV2SlotParameters): StreamableMethod; } // @public @@ -18863,11 +20109,11 @@ export interface WebAppsGetAuthSettingsV2Slot200Response extends HttpResponse { } // @public -export interface WebAppsGetAuthSettingsV2SlotdefaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsV2SlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18875,8 +20121,8 @@ export type WebAppsGetAuthSettingsV2SlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetAuthSettingsV2WithoutSecrets { - get(options?: WebAppsGetAuthSettingsV2WithoutSecretsParameters): Promise; - put(options: WebAppsUpdateAuthSettingsV2Parameters): Promise; + get(options?: WebAppsGetAuthSettingsV2WithoutSecretsParameters): StreamableMethod; + put(options: WebAppsUpdateAuthSettingsV2Parameters): StreamableMethod; } // @public @@ -18888,11 +20134,11 @@ export interface WebAppsGetAuthSettingsV2WithoutSecrets200Response extends HttpR } // @public -export interface WebAppsGetAuthSettingsV2WithoutSecretsdefaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18900,8 +20146,8 @@ export type WebAppsGetAuthSettingsV2WithoutSecretsParameters = RequestParameters // @public (undocumented) export interface WebAppsGetAuthSettingsV2WithoutSecretsSlot { - get(options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotParameters): Promise; - put(options: WebAppsUpdateAuthSettingsV2SlotParameters): Promise; + get(options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotParameters): StreamableMethod; + put(options: WebAppsUpdateAuthSettingsV2SlotParameters): StreamableMethod; } // @public @@ -18913,11 +20159,11 @@ export interface WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response extends H } // @public -export interface WebAppsGetAuthSettingsV2WithoutSecretsSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18925,7 +20171,7 @@ export type WebAppsGetAuthSettingsV2WithoutSecretsSlotParameters = RequestParame // @public (undocumented) export interface WebAppsGetBackupConfiguration { - post(options?: WebAppsGetBackupConfigurationParameters): Promise; + post(options?: WebAppsGetBackupConfigurationParameters): StreamableMethod; } // @public @@ -18937,11 +20183,11 @@ export interface WebAppsGetBackupConfiguration200Response extends HttpResponse { } // @public -export interface WebAppsGetBackupConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsGetBackupConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18949,7 +20195,7 @@ export type WebAppsGetBackupConfigurationParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetBackupConfigurationSlot { - post(options?: WebAppsGetBackupConfigurationSlotParameters): Promise; + post(options?: WebAppsGetBackupConfigurationSlotParameters): StreamableMethod; } // @public @@ -18961,11 +20207,11 @@ export interface WebAppsGetBackupConfigurationSlot200Response extends HttpRespon } // @public -export interface WebAppsGetBackupConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetBackupConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18973,8 +20219,8 @@ export type WebAppsGetBackupConfigurationSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetBackupStatus { - delete(options?: WebAppsDeleteBackupParameters): Promise; - get(options?: WebAppsGetBackupStatusParameters): Promise; + delete(options?: WebAppsDeleteBackupParameters): StreamableMethod; + get(options?: WebAppsGetBackupStatusParameters): StreamableMethod; } // @public @@ -18986,11 +20232,11 @@ export interface WebAppsGetBackupStatus200Response extends HttpResponse { } // @public -export interface WebAppsGetBackupStatusdefaultResponse extends HttpResponse { +export interface WebAppsGetBackupStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -18998,8 +20244,8 @@ export type WebAppsGetBackupStatusParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetBackupStatusSlot { - delete(options?: WebAppsDeleteBackupSlotParameters): Promise; - get(options?: WebAppsGetBackupStatusSlotParameters): Promise; + delete(options?: WebAppsDeleteBackupSlotParameters): StreamableMethod; + get(options?: WebAppsGetBackupStatusSlotParameters): StreamableMethod; } // @public @@ -19011,11 +20257,11 @@ export interface WebAppsGetBackupStatusSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetBackupStatusSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetBackupStatusSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19023,9 +20269,9 @@ export type WebAppsGetBackupStatusSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetConfiguration { - get(options?: WebAppsGetConfigurationParameters): Promise; - patch(options: WebAppsUpdateConfigurationParameters): Promise; - put(options: WebAppsCreateOrUpdateConfigurationParameters): Promise; + get(options?: WebAppsGetConfigurationParameters): StreamableMethod; + patch(options: WebAppsUpdateConfigurationParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateConfigurationParameters): StreamableMethod; } // @public @@ -19037,11 +20283,11 @@ export interface WebAppsGetConfiguration200Response extends HttpResponse { } // @public -export interface WebAppsGetConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsGetConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19049,9 +20295,9 @@ export type WebAppsGetConfigurationParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetConfigurationSlot { - get(options?: WebAppsGetConfigurationSlotParameters): Promise; - patch(options: WebAppsUpdateConfigurationSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateConfigurationSlotParameters): Promise; + get(options?: WebAppsGetConfigurationSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateConfigurationSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateConfigurationSlotParameters): StreamableMethod; } // @public @@ -19063,11 +20309,11 @@ export interface WebAppsGetConfigurationSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19075,7 +20321,7 @@ export type WebAppsGetConfigurationSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetConfigurationSnapshot { - get(options?: WebAppsGetConfigurationSnapshotParameters): Promise; + get(options?: WebAppsGetConfigurationSnapshotParameters): StreamableMethod; } // @public @@ -19087,11 +20333,11 @@ export interface WebAppsGetConfigurationSnapshot200Response extends HttpResponse } // @public -export interface WebAppsGetConfigurationSnapshotdefaultResponse extends HttpResponse { +export interface WebAppsGetConfigurationSnapshotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19099,7 +20345,7 @@ export type WebAppsGetConfigurationSnapshotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetConfigurationSnapshotSlot { - get(options?: WebAppsGetConfigurationSnapshotSlotParameters): Promise; + get(options?: WebAppsGetConfigurationSnapshotSlotParameters): StreamableMethod; } // @public @@ -19111,11 +20357,11 @@ export interface WebAppsGetConfigurationSnapshotSlot200Response extends HttpResp } // @public -export interface WebAppsGetConfigurationSnapshotSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetConfigurationSnapshotSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19123,7 +20369,7 @@ export type WebAppsGetConfigurationSnapshotSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetContainerLogsZip { - post(options?: WebAppsGetContainerLogsZipParameters): Promise; + post(options?: WebAppsGetContainerLogsZipParameters): StreamableMethod; } // @public @@ -19135,18 +20381,14 @@ export interface WebAppsGetContainerLogsZip200Response extends HttpResponse { // @public export interface WebAppsGetContainerLogsZip204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGetContainerLogsZipdefaultResponse extends HttpResponse { - // (undocumented) - body: Record; +export interface WebAppsGetContainerLogsZipDefaultResponse extends HttpResponse { // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19154,7 +20396,7 @@ export type WebAppsGetContainerLogsZipParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetContainerLogsZipSlot { - post(options?: WebAppsGetContainerLogsZipSlotParameters): Promise; + post(options?: WebAppsGetContainerLogsZipSlotParameters): StreamableMethod; } // @public @@ -19166,18 +20408,14 @@ export interface WebAppsGetContainerLogsZipSlot200Response extends HttpResponse // @public export interface WebAppsGetContainerLogsZipSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGetContainerLogsZipSlotdefaultResponse extends HttpResponse { - // (undocumented) - body: Record; +export interface WebAppsGetContainerLogsZipSlotDefaultResponse extends HttpResponse { // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19185,8 +20423,8 @@ export type WebAppsGetContainerLogsZipSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetContinuousWebJob { - delete(options?: WebAppsDeleteContinuousWebJobParameters): Promise; - get(options?: WebAppsGetContinuousWebJobParameters): Promise; + delete(options?: WebAppsDeleteContinuousWebJobParameters): StreamableMethod; + get(options?: WebAppsGetContinuousWebJobParameters): StreamableMethod; } // @public @@ -19199,18 +20437,16 @@ export interface WebAppsGetContinuousWebJob200Response extends HttpResponse { // @public export interface WebAppsGetContinuousWebJob404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetContinuousWebJobdefaultResponse extends HttpResponse { +export interface WebAppsGetContinuousWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19218,8 +20454,8 @@ export type WebAppsGetContinuousWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetContinuousWebJobSlot { - delete(options?: WebAppsDeleteContinuousWebJobSlotParameters): Promise; - get(options?: WebAppsGetContinuousWebJobSlotParameters): Promise; + delete(options?: WebAppsDeleteContinuousWebJobSlotParameters): StreamableMethod; + get(options?: WebAppsGetContinuousWebJobSlotParameters): StreamableMethod; } // @public @@ -19232,36 +20468,34 @@ export interface WebAppsGetContinuousWebJobSlot200Response extends HttpResponse // @public export interface WebAppsGetContinuousWebJobSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetContinuousWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetContinuousWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsGetContinuousWebJobSlotParameters = RequestParameters; // @public -export interface WebAppsGetdefaultResponse extends HttpResponse { +export interface WebAppsGetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetDeployment { - delete(options?: WebAppsDeleteDeploymentParameters): Promise; - get(options?: WebAppsGetDeploymentParameters): Promise; - put(options: WebAppsCreateDeploymentParameters): Promise; + delete(options?: WebAppsDeleteDeploymentParameters): StreamableMethod; + get(options?: WebAppsGetDeploymentParameters): StreamableMethod; + put(options: WebAppsCreateDeploymentParameters): StreamableMethod; } // @public @@ -19273,11 +20507,11 @@ export interface WebAppsGetDeployment200Response extends HttpResponse { } // @public -export interface WebAppsGetDeploymentdefaultResponse extends HttpResponse { +export interface WebAppsGetDeploymentDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19285,9 +20519,9 @@ export type WebAppsGetDeploymentParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetDeploymentSlot { - delete(options?: WebAppsDeleteDeploymentSlotParameters): Promise; - get(options?: WebAppsGetDeploymentSlotParameters): Promise; - put(options: WebAppsCreateDeploymentSlotParameters): Promise; + delete(options?: WebAppsDeleteDeploymentSlotParameters): StreamableMethod; + get(options?: WebAppsGetDeploymentSlotParameters): StreamableMethod; + put(options: WebAppsCreateDeploymentSlotParameters): StreamableMethod; } // @public @@ -19299,11 +20533,11 @@ export interface WebAppsGetDeploymentSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetDeploymentSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetDeploymentSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19311,8 +20545,8 @@ export type WebAppsGetDeploymentSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetDiagnosticLogsConfiguration { - get(options?: WebAppsGetDiagnosticLogsConfigurationParameters): Promise; - put(options: WebAppsUpdateDiagnosticLogsConfigParameters): Promise; + get(options?: WebAppsGetDiagnosticLogsConfigurationParameters): StreamableMethod; + put(options: WebAppsUpdateDiagnosticLogsConfigParameters): StreamableMethod; } // @public @@ -19324,11 +20558,11 @@ export interface WebAppsGetDiagnosticLogsConfiguration200Response extends HttpRe } // @public -export interface WebAppsGetDiagnosticLogsConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsGetDiagnosticLogsConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19336,8 +20570,8 @@ export type WebAppsGetDiagnosticLogsConfigurationParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetDiagnosticLogsConfigurationSlot { - get(options?: WebAppsGetDiagnosticLogsConfigurationSlotParameters): Promise; - put(options: WebAppsUpdateDiagnosticLogsConfigSlotParameters): Promise; + get(options?: WebAppsGetDiagnosticLogsConfigurationSlotParameters): StreamableMethod; + put(options: WebAppsUpdateDiagnosticLogsConfigSlotParameters): StreamableMethod; } // @public @@ -19349,11 +20583,11 @@ export interface WebAppsGetDiagnosticLogsConfigurationSlot200Response extends Ht } // @public -export interface WebAppsGetDiagnosticLogsConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19361,10 +20595,10 @@ export type WebAppsGetDiagnosticLogsConfigurationSlotParameters = RequestParamet // @public (undocumented) export interface WebAppsGetDomainOwnershipIdentifier { - delete(options?: WebAppsDeleteDomainOwnershipIdentifierParameters): Promise; - get(options?: WebAppsGetDomainOwnershipIdentifierParameters): Promise; - patch(options: WebAppsUpdateDomainOwnershipIdentifierParameters): Promise; - put(options: WebAppsCreateOrUpdateDomainOwnershipIdentifierParameters): Promise; + delete(options?: WebAppsDeleteDomainOwnershipIdentifierParameters): StreamableMethod; + get(options?: WebAppsGetDomainOwnershipIdentifierParameters): StreamableMethod; + patch(options: WebAppsUpdateDomainOwnershipIdentifierParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateDomainOwnershipIdentifierParameters): StreamableMethod; } // @public @@ -19376,11 +20610,11 @@ export interface WebAppsGetDomainOwnershipIdentifier200Response extends HttpResp } // @public -export interface WebAppsGetDomainOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface WebAppsGetDomainOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19388,10 +20622,10 @@ export type WebAppsGetDomainOwnershipIdentifierParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetDomainOwnershipIdentifierSlot { - delete(options?: WebAppsDeleteDomainOwnershipIdentifierSlotParameters): Promise; - get(options?: WebAppsGetDomainOwnershipIdentifierSlotParameters): Promise; - patch(options: WebAppsUpdateDomainOwnershipIdentifierSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotParameters): Promise; + delete(options?: WebAppsDeleteDomainOwnershipIdentifierSlotParameters): StreamableMethod; + get(options?: WebAppsGetDomainOwnershipIdentifierSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateDomainOwnershipIdentifierSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotParameters): StreamableMethod; } // @public @@ -19403,11 +20637,11 @@ export interface WebAppsGetDomainOwnershipIdentifierSlot200Response extends Http } // @public -export interface WebAppsGetDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19415,8 +20649,8 @@ export type WebAppsGetDomainOwnershipIdentifierSlotParameters = RequestParameter // @public (undocumented) export interface WebAppsGetFtpAllowed { - get(options?: WebAppsGetFtpAllowedParameters): Promise; - put(options: WebAppsUpdateFtpAllowedParameters): Promise; + get(options?: WebAppsGetFtpAllowedParameters): StreamableMethod; + put(options: WebAppsUpdateFtpAllowedParameters): StreamableMethod; } // @public @@ -19428,11 +20662,11 @@ export interface WebAppsGetFtpAllowed200Response extends HttpResponse { } // @public -export interface WebAppsGetFtpAlloweddefaultResponse extends HttpResponse { +export interface WebAppsGetFtpAllowedDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19440,8 +20674,8 @@ export type WebAppsGetFtpAllowedParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetFtpAllowedSlot { - get(options?: WebAppsGetFtpAllowedSlotParameters): Promise; - put(options: WebAppsUpdateFtpAllowedSlotParameters): Promise; + get(options?: WebAppsGetFtpAllowedSlotParameters): StreamableMethod; + put(options: WebAppsUpdateFtpAllowedSlotParameters): StreamableMethod; } // @public @@ -19453,11 +20687,11 @@ export interface WebAppsGetFtpAllowedSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetFtpAllowedSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetFtpAllowedSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19465,9 +20699,9 @@ export type WebAppsGetFtpAllowedSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetFunction { - delete(options?: WebAppsDeleteFunctionParameters): Promise; - get(options?: WebAppsGetFunctionParameters): Promise; - put(options: WebAppsCreateFunctionParameters): Promise; + delete(options?: WebAppsDeleteFunctionParameters): StreamableMethod; + get(options?: WebAppsGetFunctionParameters): StreamableMethod; + put(options: WebAppsCreateFunctionParameters): StreamableMethod; } // @public @@ -19480,18 +20714,16 @@ export interface WebAppsGetFunction200Response extends HttpResponse { // @public export interface WebAppsGetFunction404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetFunctiondefaultResponse extends HttpResponse { +export interface WebAppsGetFunctionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19499,7 +20731,7 @@ export type WebAppsGetFunctionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetFunctionsAdminToken { - get(options?: WebAppsGetFunctionsAdminTokenParameters): Promise; + get(options?: WebAppsGetFunctionsAdminTokenParameters): StreamableMethod; } // @public @@ -19511,11 +20743,11 @@ export interface WebAppsGetFunctionsAdminToken200Response extends HttpResponse { } // @public -export interface WebAppsGetFunctionsAdminTokendefaultResponse extends HttpResponse { +export interface WebAppsGetFunctionsAdminTokenDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19523,7 +20755,7 @@ export type WebAppsGetFunctionsAdminTokenParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetFunctionsAdminTokenSlot { - get(options?: WebAppsGetFunctionsAdminTokenSlotParameters): Promise; + get(options?: WebAppsGetFunctionsAdminTokenSlotParameters): StreamableMethod; } // @public @@ -19535,11 +20767,11 @@ export interface WebAppsGetFunctionsAdminTokenSlot200Response extends HttpRespon } // @public -export interface WebAppsGetFunctionsAdminTokenSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetFunctionsAdminTokenSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19547,9 +20779,9 @@ export type WebAppsGetFunctionsAdminTokenSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetHostNameBinding { - delete(options?: WebAppsDeleteHostNameBindingParameters): Promise; - get(options?: WebAppsGetHostNameBindingParameters): Promise; - put(options: WebAppsCreateOrUpdateHostNameBindingParameters): Promise; + delete(options?: WebAppsDeleteHostNameBindingParameters): StreamableMethod; + get(options?: WebAppsGetHostNameBindingParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHostNameBindingParameters): StreamableMethod; } // @public @@ -19561,11 +20793,11 @@ export interface WebAppsGetHostNameBinding200Response extends HttpResponse { } // @public -export interface WebAppsGetHostNameBindingdefaultResponse extends HttpResponse { +export interface WebAppsGetHostNameBindingDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19573,9 +20805,9 @@ export type WebAppsGetHostNameBindingParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetHostNameBindingSlot { - delete(options?: WebAppsDeleteHostNameBindingSlotParameters): Promise; - get(options?: WebAppsGetHostNameBindingSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateHostNameBindingSlotParameters): Promise; + delete(options?: WebAppsDeleteHostNameBindingSlotParameters): StreamableMethod; + get(options?: WebAppsGetHostNameBindingSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHostNameBindingSlotParameters): StreamableMethod; } // @public @@ -19587,11 +20819,11 @@ export interface WebAppsGetHostNameBindingSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetHostNameBindingSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetHostNameBindingSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19599,10 +20831,10 @@ export type WebAppsGetHostNameBindingSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetHybridConnection { - delete(options?: WebAppsDeleteHybridConnectionParameters): Promise; - get(options?: WebAppsGetHybridConnectionParameters): Promise; - patch(options: WebAppsUpdateHybridConnectionParameters): Promise; - put(options: WebAppsCreateOrUpdateHybridConnectionParameters): Promise; + delete(options?: WebAppsDeleteHybridConnectionParameters): StreamableMethod; + get(options?: WebAppsGetHybridConnectionParameters): StreamableMethod; + patch(options: WebAppsUpdateHybridConnectionParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHybridConnectionParameters): StreamableMethod; } // @public @@ -19614,11 +20846,11 @@ export interface WebAppsGetHybridConnection200Response extends HttpResponse { } // @public -export interface WebAppsGetHybridConnectiondefaultResponse extends HttpResponse { +export interface WebAppsGetHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19626,10 +20858,10 @@ export type WebAppsGetHybridConnectionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetHybridConnectionSlot { - delete(options?: WebAppsDeleteHybridConnectionSlotParameters): Promise; - get(options?: WebAppsGetHybridConnectionSlotParameters): Promise; - patch(options: WebAppsUpdateHybridConnectionSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateHybridConnectionSlotParameters): Promise; + delete(options?: WebAppsDeleteHybridConnectionSlotParameters): StreamableMethod; + get(options?: WebAppsGetHybridConnectionSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateHybridConnectionSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateHybridConnectionSlotParameters): StreamableMethod; } // @public @@ -19641,11 +20873,11 @@ export interface WebAppsGetHybridConnectionSlot200Response extends HttpResponse } // @public -export interface WebAppsGetHybridConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetHybridConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19653,9 +20885,9 @@ export type WebAppsGetHybridConnectionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceFunctionSlot { - delete(options?: WebAppsDeleteInstanceFunctionSlotParameters): Promise; - get(options?: WebAppsGetInstanceFunctionSlotParameters): Promise; - put(options: WebAppsCreateInstanceFunctionSlotParameters): Promise; + delete(options?: WebAppsDeleteInstanceFunctionSlotParameters): StreamableMethod; + get(options?: WebAppsGetInstanceFunctionSlotParameters): StreamableMethod; + put(options: WebAppsCreateInstanceFunctionSlotParameters): StreamableMethod; } // @public @@ -19668,18 +20900,16 @@ export interface WebAppsGetInstanceFunctionSlot200Response extends HttpResponse // @public export interface WebAppsGetInstanceFunctionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceFunctionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceFunctionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19687,7 +20917,7 @@ export type WebAppsGetInstanceFunctionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceInfo { - get(options?: WebAppsGetInstanceInfoParameters): Promise; + get(options?: WebAppsGetInstanceInfoParameters): StreamableMethod; } // @public @@ -19699,11 +20929,11 @@ export interface WebAppsGetInstanceInfo200Response extends HttpResponse { } // @public -export interface WebAppsGetInstanceInfodefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceInfoDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19711,7 +20941,7 @@ export type WebAppsGetInstanceInfoParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceInfoSlot { - get(options?: WebAppsGetInstanceInfoSlotParameters): Promise; + get(options?: WebAppsGetInstanceInfoSlotParameters): StreamableMethod; } // @public @@ -19723,11 +20953,11 @@ export interface WebAppsGetInstanceInfoSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetInstanceInfoSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceInfoSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19735,7 +20965,7 @@ export type WebAppsGetInstanceInfoSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceMSDeployLog { - get(options?: WebAppsGetInstanceMSDeployLogParameters): Promise; + get(options?: WebAppsGetInstanceMSDeployLogParameters): StreamableMethod; } // @public @@ -19748,18 +20978,16 @@ export interface WebAppsGetInstanceMSDeployLog200Response extends HttpResponse { // @public export interface WebAppsGetInstanceMSDeployLog404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceMSDeployLogdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceMSDeployLogDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19767,7 +20995,7 @@ export type WebAppsGetInstanceMSDeployLogParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceMSDeployLogSlot { - get(options?: WebAppsGetInstanceMSDeployLogSlotParameters): Promise; + get(options?: WebAppsGetInstanceMSDeployLogSlotParameters): StreamableMethod; } // @public @@ -19780,18 +21008,16 @@ export interface WebAppsGetInstanceMSDeployLogSlot200Response extends HttpRespon // @public export interface WebAppsGetInstanceMSDeployLogSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceMSDeployLogSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceMSDeployLogSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19799,8 +21025,8 @@ export type WebAppsGetInstanceMSDeployLogSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceMsDeployStatus { - get(options?: WebAppsGetInstanceMsDeployStatusParameters): Promise; - put(options: WebAppsCreateInstanceMSDeployOperationParameters): Promise; + get(options?: WebAppsGetInstanceMsDeployStatusParameters): StreamableMethod; + put(options: WebAppsCreateInstanceMSDeployOperationParameters): StreamableMethod; } // @public @@ -19812,11 +21038,11 @@ export interface WebAppsGetInstanceMsDeployStatus200Response extends HttpRespons } // @public -export interface WebAppsGetInstanceMsDeployStatusdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceMsDeployStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19824,8 +21050,8 @@ export type WebAppsGetInstanceMsDeployStatusParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceMsDeployStatusSlot { - get(options?: WebAppsGetInstanceMsDeployStatusSlotParameters): Promise; - put(options: WebAppsCreateInstanceMSDeployOperationSlotParameters): Promise; + get(options?: WebAppsGetInstanceMsDeployStatusSlotParameters): StreamableMethod; + put(options: WebAppsCreateInstanceMSDeployOperationSlotParameters): StreamableMethod; } // @public @@ -19837,11 +21063,11 @@ export interface WebAppsGetInstanceMsDeployStatusSlot200Response extends HttpRes } // @public -export interface WebAppsGetInstanceMsDeployStatusSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceMsDeployStatusSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19849,8 +21075,8 @@ export type WebAppsGetInstanceMsDeployStatusSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceProcess { - delete(options?: WebAppsDeleteInstanceProcessParameters): Promise; - get(options?: WebAppsGetInstanceProcessParameters): Promise; + delete(options?: WebAppsDeleteInstanceProcessParameters): StreamableMethod; + get(options?: WebAppsGetInstanceProcessParameters): StreamableMethod; } // @public @@ -19863,23 +21089,21 @@ export interface WebAppsGetInstanceProcess200Response extends HttpResponse { // @public export interface WebAppsGetInstanceProcess404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetInstanceProcessDump { - get(options?: WebAppsGetInstanceProcessDumpParameters): Promise; + get(options?: WebAppsGetInstanceProcessDumpParameters): StreamableMethod; } // @public @@ -19891,18 +21115,16 @@ export interface WebAppsGetInstanceProcessDump200Response extends HttpResponse { // @public export interface WebAppsGetInstanceProcessDump404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessDumpdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessDumpDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19910,7 +21132,7 @@ export type WebAppsGetInstanceProcessDumpParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceProcessDumpSlot { - get(options?: WebAppsGetInstanceProcessDumpSlotParameters): Promise; + get(options?: WebAppsGetInstanceProcessDumpSlotParameters): StreamableMethod; } // @public @@ -19922,18 +21144,16 @@ export interface WebAppsGetInstanceProcessDumpSlot200Response extends HttpRespon // @public export interface WebAppsGetInstanceProcessDumpSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessDumpSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessDumpSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19941,7 +21161,7 @@ export type WebAppsGetInstanceProcessDumpSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceProcessModule { - get(options?: WebAppsGetInstanceProcessModuleParameters): Promise; + get(options?: WebAppsGetInstanceProcessModuleParameters): StreamableMethod; } // @public @@ -19954,18 +21174,16 @@ export interface WebAppsGetInstanceProcessModule200Response extends HttpResponse // @public export interface WebAppsGetInstanceProcessModule404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessModuledefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessModuleDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -19973,7 +21191,7 @@ export type WebAppsGetInstanceProcessModuleParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceProcessModuleSlot { - get(options?: WebAppsGetInstanceProcessModuleSlotParameters): Promise; + get(options?: WebAppsGetInstanceProcessModuleSlotParameters): StreamableMethod; } // @public @@ -19986,18 +21204,16 @@ export interface WebAppsGetInstanceProcessModuleSlot200Response extends HttpResp // @public export interface WebAppsGetInstanceProcessModuleSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessModuleSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessModuleSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20008,8 +21224,8 @@ export type WebAppsGetInstanceProcessParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetInstanceProcessSlot { - delete(options?: WebAppsDeleteInstanceProcessSlotParameters): Promise; - get(options?: WebAppsGetInstanceProcessSlotParameters): Promise; + delete(options?: WebAppsDeleteInstanceProcessSlotParameters): StreamableMethod; + get(options?: WebAppsGetInstanceProcessSlotParameters): StreamableMethod; } // @public @@ -20022,18 +21238,16 @@ export interface WebAppsGetInstanceProcessSlot200Response extends HttpResponse { // @public export interface WebAppsGetInstanceProcessSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetInstanceProcessSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetInstanceProcessSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20041,7 +21255,7 @@ export type WebAppsGetInstanceProcessSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMigrateMySqlStatus { - get(options?: WebAppsGetMigrateMySqlStatusParameters): Promise; + get(options?: WebAppsGetMigrateMySqlStatusParameters): StreamableMethod; } // @public @@ -20053,11 +21267,11 @@ export interface WebAppsGetMigrateMySqlStatus200Response extends HttpResponse { } // @public -export interface WebAppsGetMigrateMySqlStatusdefaultResponse extends HttpResponse { +export interface WebAppsGetMigrateMySqlStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20065,7 +21279,7 @@ export type WebAppsGetMigrateMySqlStatusParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMigrateMySqlStatusSlot { - get(options?: WebAppsGetMigrateMySqlStatusSlotParameters): Promise; + get(options?: WebAppsGetMigrateMySqlStatusSlotParameters): StreamableMethod; } // @public @@ -20077,11 +21291,11 @@ export interface WebAppsGetMigrateMySqlStatusSlot200Response extends HttpRespons } // @public -export interface WebAppsGetMigrateMySqlStatusSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetMigrateMySqlStatusSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20089,7 +21303,7 @@ export type WebAppsGetMigrateMySqlStatusSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMSDeployLog { - get(options?: WebAppsGetMSDeployLogParameters): Promise; + get(options?: WebAppsGetMSDeployLogParameters): StreamableMethod; } // @public @@ -20101,19 +21315,17 @@ export interface WebAppsGetMSDeployLog200Response extends HttpResponse { } // @public -export interface WebAppsGetMSDeployLog404Response extends HttpResponse { - // (undocumented) - body: Record; +export interface WebAppsGetMSDeployLog404Response extends HttpResponse { // (undocumented) status: "404"; } // @public -export interface WebAppsGetMSDeployLogdefaultResponse extends HttpResponse { +export interface WebAppsGetMSDeployLogDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20121,7 +21333,7 @@ export type WebAppsGetMSDeployLogParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMSDeployLogSlot { - get(options?: WebAppsGetMSDeployLogSlotParameters): Promise; + get(options?: WebAppsGetMSDeployLogSlotParameters): StreamableMethod; } // @public @@ -20134,18 +21346,16 @@ export interface WebAppsGetMSDeployLogSlot200Response extends HttpResponse { // @public export interface WebAppsGetMSDeployLogSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetMSDeployLogSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetMSDeployLogSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20153,8 +21363,8 @@ export type WebAppsGetMSDeployLogSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMSDeployStatus { - get(options?: WebAppsGetMSDeployStatusParameters): Promise; - put(options: WebAppsCreateMSDeployOperationParameters): Promise; + get(options?: WebAppsGetMSDeployStatusParameters): StreamableMethod; + put(options: WebAppsCreateMSDeployOperationParameters): StreamableMethod; } // @public @@ -20166,11 +21376,11 @@ export interface WebAppsGetMSDeployStatus200Response extends HttpResponse { } // @public -export interface WebAppsGetMSDeployStatusdefaultResponse extends HttpResponse { +export interface WebAppsGetMSDeployStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20178,8 +21388,8 @@ export type WebAppsGetMSDeployStatusParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetMSDeployStatusSlot { - get(options?: WebAppsGetMSDeployStatusSlotParameters): Promise; - put(options: WebAppsCreateMSDeployOperationSlotParameters): Promise; + get(options?: WebAppsGetMSDeployStatusSlotParameters): StreamableMethod; + put(options: WebAppsCreateMSDeployOperationSlotParameters): StreamableMethod; } // @public @@ -20191,11 +21401,11 @@ export interface WebAppsGetMSDeployStatusSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetMSDeployStatusSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetMSDeployStatusSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20203,7 +21413,7 @@ export type WebAppsGetMSDeployStatusSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTraceOperation { - get(options?: WebAppsGetNetworkTraceOperationParameters): Promise; + get(options?: WebAppsGetNetworkTraceOperationParameters): StreamableMethod; } // @public @@ -20223,11 +21433,11 @@ export interface WebAppsGetNetworkTraceOperation202Response extends HttpResponse } // @public -export interface WebAppsGetNetworkTraceOperationdefaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTraceOperationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20235,7 +21445,7 @@ export type WebAppsGetNetworkTraceOperationParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTraceOperationSlot { - get(options?: WebAppsGetNetworkTraceOperationSlotParameters): Promise; + get(options?: WebAppsGetNetworkTraceOperationSlotParameters): StreamableMethod; } // @public @@ -20255,11 +21465,11 @@ export interface WebAppsGetNetworkTraceOperationSlot202Response extends HttpResp } // @public -export interface WebAppsGetNetworkTraceOperationSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTraceOperationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20267,7 +21477,7 @@ export type WebAppsGetNetworkTraceOperationSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTraceOperationSlotV2 { - get(options?: WebAppsGetNetworkTraceOperationSlotV2Parameters): Promise; + get(options?: WebAppsGetNetworkTraceOperationSlotV2Parameters): StreamableMethod; } // @public @@ -20287,11 +21497,11 @@ export interface WebAppsGetNetworkTraceOperationSlotV2202Response extends HttpRe } // @public -export interface WebAppsGetNetworkTraceOperationSlotV2defaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTraceOperationSlotV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20299,7 +21509,7 @@ export type WebAppsGetNetworkTraceOperationSlotV2Parameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTraceOperationV2 { - get(options?: WebAppsGetNetworkTraceOperationV2Parameters): Promise; + get(options?: WebAppsGetNetworkTraceOperationV2Parameters): StreamableMethod; } // @public @@ -20319,11 +21529,11 @@ export interface WebAppsGetNetworkTraceOperationV2202Response extends HttpRespon } // @public -export interface WebAppsGetNetworkTraceOperationV2defaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTraceOperationV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20331,7 +21541,7 @@ export type WebAppsGetNetworkTraceOperationV2Parameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTraces { - get(options?: WebAppsGetNetworkTracesParameters): Promise; + get(options?: WebAppsGetNetworkTracesParameters): StreamableMethod; } // @public @@ -20343,11 +21553,11 @@ export interface WebAppsGetNetworkTraces200Response extends HttpResponse { } // @public -export interface WebAppsGetNetworkTracesdefaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTracesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20355,7 +21565,7 @@ export type WebAppsGetNetworkTracesParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTracesSlot { - get(options?: WebAppsGetNetworkTracesSlotParameters): Promise; + get(options?: WebAppsGetNetworkTracesSlotParameters): StreamableMethod; } // @public @@ -20367,11 +21577,11 @@ export interface WebAppsGetNetworkTracesSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetNetworkTracesSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTracesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20379,7 +21589,7 @@ export type WebAppsGetNetworkTracesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTracesSlotV2 { - get(options?: WebAppsGetNetworkTracesSlotV2Parameters): Promise; + get(options?: WebAppsGetNetworkTracesSlotV2Parameters): StreamableMethod; } // @public @@ -20391,11 +21601,11 @@ export interface WebAppsGetNetworkTracesSlotV2200Response extends HttpResponse { } // @public -export interface WebAppsGetNetworkTracesSlotV2defaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTracesSlotV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20403,7 +21613,7 @@ export type WebAppsGetNetworkTracesSlotV2Parameters = RequestParameters; // @public (undocumented) export interface WebAppsGetNetworkTracesV2 { - get(options?: WebAppsGetNetworkTracesV2Parameters): Promise; + get(options?: WebAppsGetNetworkTracesV2Parameters): StreamableMethod; } // @public @@ -20415,11 +21625,11 @@ export interface WebAppsGetNetworkTracesV2200Response extends HttpResponse { } // @public -export interface WebAppsGetNetworkTracesV2defaultResponse extends HttpResponse { +export interface WebAppsGetNetworkTracesV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20427,8 +21637,8 @@ export type WebAppsGetNetworkTracesV2Parameters = RequestParameters; // @public (undocumented) export interface WebAppsGetOneDeployStatus { - get(options?: WebAppsGetOneDeployStatusParameters): Promise; - put(options?: WebAppsCreateOneDeployOperationParameters): Promise; + get(options?: WebAppsGetOneDeployStatusParameters): StreamableMethod; + put(options?: WebAppsCreateOneDeployOperationParameters): StreamableMethod; } // @public @@ -20440,11 +21650,11 @@ export interface WebAppsGetOneDeployStatus200Response extends HttpResponse { } // @public -export interface WebAppsGetOneDeployStatusdefaultResponse extends HttpResponse { +export interface WebAppsGetOneDeployStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20455,10 +21665,10 @@ export type WebAppsGetParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPremierAddOn { - delete(options?: WebAppsDeletePremierAddOnParameters): Promise; - get(options?: WebAppsGetPremierAddOnParameters): Promise; - patch(options: WebAppsUpdatePremierAddOnParameters): Promise; - put(options: WebAppsAddPremierAddOnParameters): Promise; + delete(options?: WebAppsDeletePremierAddOnParameters): StreamableMethod; + get(options?: WebAppsGetPremierAddOnParameters): StreamableMethod; + patch(options: WebAppsUpdatePremierAddOnParameters): StreamableMethod; + put(options: WebAppsAddPremierAddOnParameters): StreamableMethod; } // @public @@ -20470,11 +21680,11 @@ export interface WebAppsGetPremierAddOn200Response extends HttpResponse { } // @public -export interface WebAppsGetPremierAddOndefaultResponse extends HttpResponse { +export interface WebAppsGetPremierAddOnDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20482,10 +21692,10 @@ export type WebAppsGetPremierAddOnParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPremierAddOnSlot { - delete(options?: WebAppsDeletePremierAddOnSlotParameters): Promise; - get(options?: WebAppsGetPremierAddOnSlotParameters): Promise; - patch(options: WebAppsUpdatePremierAddOnSlotParameters): Promise; - put(options: WebAppsAddPremierAddOnSlotParameters): Promise; + delete(options?: WebAppsDeletePremierAddOnSlotParameters): StreamableMethod; + get(options?: WebAppsGetPremierAddOnSlotParameters): StreamableMethod; + patch(options: WebAppsUpdatePremierAddOnSlotParameters): StreamableMethod; + put(options: WebAppsAddPremierAddOnSlotParameters): StreamableMethod; } // @public @@ -20497,11 +21707,11 @@ export interface WebAppsGetPremierAddOnSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetPremierAddOnSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPremierAddOnSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20509,8 +21719,8 @@ export type WebAppsGetPremierAddOnSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPrivateAccess { - get(options?: WebAppsGetPrivateAccessParameters): Promise; - put(options: WebAppsPutPrivateAccessVnetParameters): Promise; + get(options?: WebAppsGetPrivateAccessParameters): StreamableMethod; + put(options: WebAppsPutPrivateAccessVnetParameters): StreamableMethod; } // @public @@ -20522,11 +21732,11 @@ export interface WebAppsGetPrivateAccess200Response extends HttpResponse { } // @public -export interface WebAppsGetPrivateAccessdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateAccessDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20534,8 +21744,8 @@ export type WebAppsGetPrivateAccessParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPrivateAccessSlot { - get(options?: WebAppsGetPrivateAccessSlotParameters): Promise; - put(options: WebAppsPutPrivateAccessVnetSlotParameters): Promise; + get(options?: WebAppsGetPrivateAccessSlotParameters): StreamableMethod; + put(options: WebAppsPutPrivateAccessVnetSlotParameters): StreamableMethod; } // @public @@ -20547,11 +21757,11 @@ export interface WebAppsGetPrivateAccessSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetPrivateAccessSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateAccessSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20559,9 +21769,9 @@ export type WebAppsGetPrivateAccessSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPrivateEndpointConnection { - delete(options?: WebAppsDeletePrivateEndpointConnectionParameters): Promise; - get(options?: WebAppsGetPrivateEndpointConnectionParameters): Promise; - put(options: WebAppsApproveOrRejectPrivateEndpointConnectionParameters): Promise; + delete(options?: WebAppsDeletePrivateEndpointConnectionParameters): StreamableMethod; + get(options?: WebAppsGetPrivateEndpointConnectionParameters): StreamableMethod; + put(options: WebAppsApproveOrRejectPrivateEndpointConnectionParameters): StreamableMethod; } // @public @@ -20573,16 +21783,16 @@ export interface WebAppsGetPrivateEndpointConnection200Response extends HttpResp } // @public -export interface WebAppsGetPrivateEndpointConnectiondefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetPrivateEndpointConnectionList { - get(options?: WebAppsGetPrivateEndpointConnectionListParameters): Promise; + get(options?: WebAppsGetPrivateEndpointConnectionListParameters): StreamableMethod; } // @public @@ -20594,11 +21804,11 @@ export interface WebAppsGetPrivateEndpointConnectionList200Response extends Http } // @public -export interface WebAppsGetPrivateEndpointConnectionListdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20606,7 +21816,7 @@ export type WebAppsGetPrivateEndpointConnectionListParameters = RequestParameter // @public (undocumented) export interface WebAppsGetPrivateEndpointConnectionListSlot { - get(options?: WebAppsGetPrivateEndpointConnectionListSlotParameters): Promise; + get(options?: WebAppsGetPrivateEndpointConnectionListSlotParameters): StreamableMethod; } // @public @@ -20618,11 +21828,11 @@ export interface WebAppsGetPrivateEndpointConnectionListSlot200Response extends } // @public -export interface WebAppsGetPrivateEndpointConnectionListSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20633,9 +21843,9 @@ export type WebAppsGetPrivateEndpointConnectionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPrivateEndpointConnectionSlot { - delete(options?: WebAppsDeletePrivateEndpointConnectionSlotParameters): Promise; - get(options?: WebAppsGetPrivateEndpointConnectionSlotParameters): Promise; - put(options: WebAppsApproveOrRejectPrivateEndpointConnectionSlotParameters): Promise; + delete(options?: WebAppsDeletePrivateEndpointConnectionSlotParameters): StreamableMethod; + get(options?: WebAppsGetPrivateEndpointConnectionSlotParameters): StreamableMethod; + put(options: WebAppsApproveOrRejectPrivateEndpointConnectionSlotParameters): StreamableMethod; } // @public @@ -20647,11 +21857,11 @@ export interface WebAppsGetPrivateEndpointConnectionSlot200Response extends Http } // @public -export interface WebAppsGetPrivateEndpointConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20659,7 +21869,7 @@ export type WebAppsGetPrivateEndpointConnectionSlotParameters = RequestParameter // @public (undocumented) export interface WebAppsGetPrivateLinkResources { - get(options?: WebAppsGetPrivateLinkResourcesParameters): Promise; + get(options?: WebAppsGetPrivateLinkResourcesParameters): StreamableMethod; } // @public @@ -20671,11 +21881,11 @@ export interface WebAppsGetPrivateLinkResources200Response extends HttpResponse } // @public -export interface WebAppsGetPrivateLinkResourcesdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateLinkResourcesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20683,7 +21893,7 @@ export type WebAppsGetPrivateLinkResourcesParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPrivateLinkResourcesSlot { - get(options?: WebAppsGetPrivateLinkResourcesSlotParameters): Promise; + get(options?: WebAppsGetPrivateLinkResourcesSlotParameters): StreamableMethod; } // @public @@ -20695,11 +21905,11 @@ export interface WebAppsGetPrivateLinkResourcesSlot200Response extends HttpRespo } // @public -export interface WebAppsGetPrivateLinkResourcesSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPrivateLinkResourcesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20707,8 +21917,8 @@ export type WebAppsGetPrivateLinkResourcesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetProcess { - delete(options?: WebAppsDeleteProcessParameters): Promise; - get(options?: WebAppsGetProcessParameters): Promise; + delete(options?: WebAppsDeleteProcessParameters): StreamableMethod; + get(options?: WebAppsGetProcessParameters): StreamableMethod; } // @public @@ -20721,23 +21931,21 @@ export interface WebAppsGetProcess200Response extends HttpResponse { // @public export interface WebAppsGetProcess404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessdefaultResponse extends HttpResponse { +export interface WebAppsGetProcessDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetProcessDump { - get(options?: WebAppsGetProcessDumpParameters): Promise; + get(options?: WebAppsGetProcessDumpParameters): StreamableMethod; } // @public @@ -20749,18 +21957,16 @@ export interface WebAppsGetProcessDump200Response extends HttpResponse { // @public export interface WebAppsGetProcessDump404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessDumpdefaultResponse extends HttpResponse { +export interface WebAppsGetProcessDumpDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20768,7 +21974,7 @@ export type WebAppsGetProcessDumpParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetProcessDumpSlot { - get(options?: WebAppsGetProcessDumpSlotParameters): Promise; + get(options?: WebAppsGetProcessDumpSlotParameters): StreamableMethod; } // @public @@ -20780,18 +21986,16 @@ export interface WebAppsGetProcessDumpSlot200Response extends HttpResponse { // @public export interface WebAppsGetProcessDumpSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessDumpSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetProcessDumpSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20799,7 +22003,7 @@ export type WebAppsGetProcessDumpSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetProcessModule { - get(options?: WebAppsGetProcessModuleParameters): Promise; + get(options?: WebAppsGetProcessModuleParameters): StreamableMethod; } // @public @@ -20812,18 +22016,16 @@ export interface WebAppsGetProcessModule200Response extends HttpResponse { // @public export interface WebAppsGetProcessModule404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessModuledefaultResponse extends HttpResponse { +export interface WebAppsGetProcessModuleDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20831,7 +22033,7 @@ export type WebAppsGetProcessModuleParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetProcessModuleSlot { - get(options?: WebAppsGetProcessModuleSlotParameters): Promise; + get(options?: WebAppsGetProcessModuleSlotParameters): StreamableMethod; } // @public @@ -20844,18 +22046,16 @@ export interface WebAppsGetProcessModuleSlot200Response extends HttpResponse { // @public export interface WebAppsGetProcessModuleSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessModuleSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetProcessModuleSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20866,8 +22066,8 @@ export type WebAppsGetProcessParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetProcessSlot { - delete(options?: WebAppsDeleteProcessSlotParameters): Promise; - get(options?: WebAppsGetProcessSlotParameters): Promise; + delete(options?: WebAppsDeleteProcessSlotParameters): StreamableMethod; + get(options?: WebAppsGetProcessSlotParameters): StreamableMethod; } // @public @@ -20880,18 +22080,16 @@ export interface WebAppsGetProcessSlot200Response extends HttpResponse { // @public export interface WebAppsGetProcessSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetProcessSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetProcessSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20899,9 +22097,9 @@ export type WebAppsGetProcessSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPublicCertificate { - delete(options?: WebAppsDeletePublicCertificateParameters): Promise; - get(options?: WebAppsGetPublicCertificateParameters): Promise; - put(options: WebAppsCreateOrUpdatePublicCertificateParameters): Promise; + delete(options?: WebAppsDeletePublicCertificateParameters): StreamableMethod; + get(options?: WebAppsGetPublicCertificateParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdatePublicCertificateParameters): StreamableMethod; } // @public @@ -20913,11 +22111,11 @@ export interface WebAppsGetPublicCertificate200Response extends HttpResponse { } // @public -export interface WebAppsGetPublicCertificatedefaultResponse extends HttpResponse { +export interface WebAppsGetPublicCertificateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20925,9 +22123,9 @@ export type WebAppsGetPublicCertificateParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetPublicCertificateSlot { - delete(options?: WebAppsDeletePublicCertificateSlotParameters): Promise; - get(options?: WebAppsGetPublicCertificateSlotParameters): Promise; - put(options: WebAppsCreateOrUpdatePublicCertificateSlotParameters): Promise; + delete(options?: WebAppsDeletePublicCertificateSlotParameters): StreamableMethod; + get(options?: WebAppsGetPublicCertificateSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdatePublicCertificateSlotParameters): StreamableMethod; } // @public @@ -20939,11 +22137,11 @@ export interface WebAppsGetPublicCertificateSlot200Response extends HttpResponse } // @public -export interface WebAppsGetPublicCertificateSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetPublicCertificateSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20951,10 +22149,10 @@ export type WebAppsGetPublicCertificateSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetRelayServiceConnection { - delete(options?: WebAppsDeleteRelayServiceConnectionParameters): Promise; - get(options?: WebAppsGetRelayServiceConnectionParameters): Promise; - patch(options: WebAppsUpdateRelayServiceConnectionParameters): Promise; - put(options: WebAppsCreateOrUpdateRelayServiceConnectionParameters): Promise; + delete(options?: WebAppsDeleteRelayServiceConnectionParameters): StreamableMethod; + get(options?: WebAppsGetRelayServiceConnectionParameters): StreamableMethod; + patch(options: WebAppsUpdateRelayServiceConnectionParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateRelayServiceConnectionParameters): StreamableMethod; } // @public @@ -20966,11 +22164,11 @@ export interface WebAppsGetRelayServiceConnection200Response extends HttpRespons } // @public -export interface WebAppsGetRelayServiceConnectiondefaultResponse extends HttpResponse { +export interface WebAppsGetRelayServiceConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -20978,10 +22176,10 @@ export type WebAppsGetRelayServiceConnectionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetRelayServiceConnectionSlot { - delete(options?: WebAppsDeleteRelayServiceConnectionSlotParameters): Promise; - get(options?: WebAppsGetRelayServiceConnectionSlotParameters): Promise; - patch(options: WebAppsUpdateRelayServiceConnectionSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateRelayServiceConnectionSlotParameters): Promise; + delete(options?: WebAppsDeleteRelayServiceConnectionSlotParameters): StreamableMethod; + get(options?: WebAppsGetRelayServiceConnectionSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateRelayServiceConnectionSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateRelayServiceConnectionSlotParameters): StreamableMethod; } // @public @@ -20993,11 +22191,11 @@ export interface WebAppsGetRelayServiceConnectionSlot200Response extends HttpRes } // @public -export interface WebAppsGetRelayServiceConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetRelayServiceConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21005,8 +22203,8 @@ export type WebAppsGetRelayServiceConnectionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetScmAllowed { - get(options?: WebAppsGetScmAllowedParameters): Promise; - put(options: WebAppsUpdateScmAllowedParameters): Promise; + get(options?: WebAppsGetScmAllowedParameters): StreamableMethod; + put(options: WebAppsUpdateScmAllowedParameters): StreamableMethod; } // @public @@ -21018,11 +22216,11 @@ export interface WebAppsGetScmAllowed200Response extends HttpResponse { } // @public -export interface WebAppsGetScmAlloweddefaultResponse extends HttpResponse { +export interface WebAppsGetScmAllowedDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21030,8 +22228,8 @@ export type WebAppsGetScmAllowedParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetScmAllowedSlot { - get(options?: WebAppsGetScmAllowedSlotParameters): Promise; - put(options: WebAppsUpdateScmAllowedSlotParameters): Promise; + get(options?: WebAppsGetScmAllowedSlotParameters): StreamableMethod; + put(options: WebAppsUpdateScmAllowedSlotParameters): StreamableMethod; } // @public @@ -21043,11 +22241,11 @@ export interface WebAppsGetScmAllowedSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetScmAllowedSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetScmAllowedSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21055,7 +22253,7 @@ export type WebAppsGetScmAllowedSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSiteConnectionStringKeyVaultReference { - get(options?: WebAppsGetSiteConnectionStringKeyVaultReferenceParameters): Promise; + get(options?: WebAppsGetSiteConnectionStringKeyVaultReferenceParameters): StreamableMethod; } // @public @@ -21067,11 +22265,11 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReference200Response exte } // @public -export interface WebAppsGetSiteConnectionStringKeyVaultReferencedefaultResponse extends HttpResponse { +export interface WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21079,7 +22277,7 @@ export type WebAppsGetSiteConnectionStringKeyVaultReferenceParameters = RequestP // @public (undocumented) export interface WebAppsGetSiteConnectionStringKeyVaultReferences { - get(options?: WebAppsGetSiteConnectionStringKeyVaultReferencesParameters): Promise; + get(options?: WebAppsGetSiteConnectionStringKeyVaultReferencesParameters): StreamableMethod; } // @public @@ -21091,16 +22289,16 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferences200Response ext } // @public -export interface WebAppsGetSiteConnectionStringKeyVaultReferencesdefaultResponse extends HttpResponse { +export interface WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlot { - get(options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotParameters): Promise; + get(options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotParameters): StreamableMethod; } // @public @@ -21112,11 +22310,11 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response } // @public -export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21127,7 +22325,7 @@ export type WebAppsGetSiteConnectionStringKeyVaultReferencesParameters = Request // @public (undocumented) export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlot { - get(options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotParameters): Promise; + get(options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotParameters): StreamableMethod; } // @public @@ -21139,11 +22337,11 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response } // @public -export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21151,9 +22349,9 @@ export type WebAppsGetSiteConnectionStringKeyVaultReferencesSlotParameters = Req // @public (undocumented) export interface WebAppsGetSiteExtension { - delete(options?: WebAppsDeleteSiteExtensionParameters): Promise; - get(options?: WebAppsGetSiteExtensionParameters): Promise; - put(options?: WebAppsInstallSiteExtensionParameters): Promise; + delete(options?: WebAppsDeleteSiteExtensionParameters): StreamableMethod; + get(options?: WebAppsGetSiteExtensionParameters): StreamableMethod; + put(options?: WebAppsInstallSiteExtensionParameters): StreamableMethod; } // @public @@ -21166,18 +22364,16 @@ export interface WebAppsGetSiteExtension200Response extends HttpResponse { // @public export interface WebAppsGetSiteExtension404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetSiteExtensiondefaultResponse extends HttpResponse { +export interface WebAppsGetSiteExtensionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21185,9 +22381,9 @@ export type WebAppsGetSiteExtensionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSiteExtensionSlot { - delete(options?: WebAppsDeleteSiteExtensionSlotParameters): Promise; - get(options?: WebAppsGetSiteExtensionSlotParameters): Promise; - put(options?: WebAppsInstallSiteExtensionSlotParameters): Promise; + delete(options?: WebAppsDeleteSiteExtensionSlotParameters): StreamableMethod; + get(options?: WebAppsGetSiteExtensionSlotParameters): StreamableMethod; + put(options?: WebAppsInstallSiteExtensionSlotParameters): StreamableMethod; } // @public @@ -21200,18 +22396,16 @@ export interface WebAppsGetSiteExtensionSlot200Response extends HttpResponse { // @public export interface WebAppsGetSiteExtensionSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetSiteExtensionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSiteExtensionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21219,7 +22413,7 @@ export type WebAppsGetSiteExtensionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSitePhpErrorLogFlag { - get(options?: WebAppsGetSitePhpErrorLogFlagParameters): Promise; + get(options?: WebAppsGetSitePhpErrorLogFlagParameters): StreamableMethod; } // @public @@ -21231,11 +22425,11 @@ export interface WebAppsGetSitePhpErrorLogFlag200Response extends HttpResponse { } // @public -export interface WebAppsGetSitePhpErrorLogFlagdefaultResponse extends HttpResponse { +export interface WebAppsGetSitePhpErrorLogFlagDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21243,7 +22437,7 @@ export type WebAppsGetSitePhpErrorLogFlagParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSitePhpErrorLogFlagSlot { - get(options?: WebAppsGetSitePhpErrorLogFlagSlotParameters): Promise; + get(options?: WebAppsGetSitePhpErrorLogFlagSlotParameters): StreamableMethod; } // @public @@ -21255,11 +22449,11 @@ export interface WebAppsGetSitePhpErrorLogFlagSlot200Response extends HttpRespon } // @public -export interface WebAppsGetSitePhpErrorLogFlagSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21267,10 +22461,10 @@ export type WebAppsGetSitePhpErrorLogFlagSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSlot { - delete(options?: WebAppsDeleteSlotParameters): Promise; - get(options?: WebAppsGetSlotParameters): Promise; - patch(options: WebAppsUpdateSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateSlotParameters): Promise; + delete(options?: WebAppsDeleteSlotParameters): StreamableMethod; + get(options?: WebAppsGetSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateSlotParameters): StreamableMethod; } // @public @@ -21283,18 +22477,16 @@ export interface WebAppsGetSlot200Response extends HttpResponse { // @public export interface WebAppsGetSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21302,10 +22494,10 @@ export type WebAppsGetSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSourceControl { - delete(options?: WebAppsDeleteSourceControlParameters): Promise; - get(options?: WebAppsGetSourceControlParameters): Promise; - patch(options: WebAppsUpdateSourceControlParameters): Promise; - put(options: WebAppsCreateOrUpdateSourceControlParameters): Promise; + delete(options?: WebAppsDeleteSourceControlParameters): StreamableMethod; + get(options?: WebAppsGetSourceControlParameters): StreamableMethod; + patch(options: WebAppsUpdateSourceControlParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateSourceControlParameters): StreamableMethod; } // @public @@ -21333,11 +22525,11 @@ export interface WebAppsGetSourceControl202Response extends HttpResponse { } // @public -export interface WebAppsGetSourceControldefaultResponse extends HttpResponse { +export interface WebAppsGetSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21345,10 +22537,10 @@ export type WebAppsGetSourceControlParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSourceControlSlot { - delete(options?: WebAppsDeleteSourceControlSlotParameters): Promise; - get(options?: WebAppsGetSourceControlSlotParameters): Promise; - patch(options: WebAppsUpdateSourceControlSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateSourceControlSlotParameters): Promise; + delete(options?: WebAppsDeleteSourceControlSlotParameters): StreamableMethod; + get(options?: WebAppsGetSourceControlSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateSourceControlSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateSourceControlSlotParameters): StreamableMethod; } // @public @@ -21376,11 +22568,11 @@ export interface WebAppsGetSourceControlSlot202Response extends HttpResponse { } // @public -export interface WebAppsGetSourceControlSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSourceControlSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21388,10 +22580,10 @@ export type WebAppsGetSourceControlSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetSwiftVirtualNetworkConnection { - delete(options?: WebAppsDeleteSwiftVirtualNetworkParameters): Promise; - get(options?: WebAppsGetSwiftVirtualNetworkConnectionParameters): Promise; - patch(options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckParameters): Promise; - put(options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckParameters): Promise; + delete(options?: WebAppsDeleteSwiftVirtualNetworkParameters): StreamableMethod; + get(options?: WebAppsGetSwiftVirtualNetworkConnectionParameters): StreamableMethod; + patch(options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckParameters): StreamableMethod; } // @public @@ -21403,11 +22595,11 @@ export interface WebAppsGetSwiftVirtualNetworkConnection200Response extends Http } // @public -export interface WebAppsGetSwiftVirtualNetworkConnectiondefaultResponse extends HttpResponse { +export interface WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21415,10 +22607,10 @@ export type WebAppsGetSwiftVirtualNetworkConnectionParameters = RequestParameter // @public (undocumented) export interface WebAppsGetSwiftVirtualNetworkConnectionSlot { - delete(options?: WebAppsDeleteSwiftVirtualNetworkSlotParameters): Promise; - get(options?: WebAppsGetSwiftVirtualNetworkConnectionSlotParameters): Promise; - patch(options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters): Promise; + delete(options?: WebAppsDeleteSwiftVirtualNetworkSlotParameters): StreamableMethod; + get(options?: WebAppsGetSwiftVirtualNetworkConnectionSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters): StreamableMethod; } // @public @@ -21430,11 +22622,11 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlot200Response extends } // @public -export interface WebAppsGetSwiftVirtualNetworkConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21442,8 +22634,8 @@ export type WebAppsGetSwiftVirtualNetworkConnectionSlotParameters = RequestParam // @public (undocumented) export interface WebAppsGetTriggeredWebJob { - delete(options?: WebAppsDeleteTriggeredWebJobParameters): Promise; - get(options?: WebAppsGetTriggeredWebJobParameters): Promise; + delete(options?: WebAppsDeleteTriggeredWebJobParameters): StreamableMethod; + get(options?: WebAppsGetTriggeredWebJobParameters): StreamableMethod; } // @public @@ -21456,23 +22648,21 @@ export interface WebAppsGetTriggeredWebJob200Response extends HttpResponse { // @public export interface WebAppsGetTriggeredWebJob404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetTriggeredWebJobdefaultResponse extends HttpResponse { +export interface WebAppsGetTriggeredWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetTriggeredWebJobHistory { - get(options?: WebAppsGetTriggeredWebJobHistoryParameters): Promise; + get(options?: WebAppsGetTriggeredWebJobHistoryParameters): StreamableMethod; } // @public @@ -21485,18 +22675,16 @@ export interface WebAppsGetTriggeredWebJobHistory200Response extends HttpRespons // @public export interface WebAppsGetTriggeredWebJobHistory404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetTriggeredWebJobHistorydefaultResponse extends HttpResponse { +export interface WebAppsGetTriggeredWebJobHistoryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21504,7 +22692,7 @@ export type WebAppsGetTriggeredWebJobHistoryParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetTriggeredWebJobHistorySlot { - get(options?: WebAppsGetTriggeredWebJobHistorySlotParameters): Promise; + get(options?: WebAppsGetTriggeredWebJobHistorySlotParameters): StreamableMethod; } // @public @@ -21517,18 +22705,16 @@ export interface WebAppsGetTriggeredWebJobHistorySlot200Response extends HttpRes // @public export interface WebAppsGetTriggeredWebJobHistorySlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetTriggeredWebJobHistorySlotdefaultResponse extends HttpResponse { +export interface WebAppsGetTriggeredWebJobHistorySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21539,8 +22725,8 @@ export type WebAppsGetTriggeredWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetTriggeredWebJobSlot { - delete(options?: WebAppsDeleteTriggeredWebJobSlotParameters): Promise; - get(options?: WebAppsGetTriggeredWebJobSlotParameters): Promise; + delete(options?: WebAppsDeleteTriggeredWebJobSlotParameters): StreamableMethod; + get(options?: WebAppsGetTriggeredWebJobSlotParameters): StreamableMethod; } // @public @@ -21553,18 +22739,16 @@ export interface WebAppsGetTriggeredWebJobSlot200Response extends HttpResponse { // @public export interface WebAppsGetTriggeredWebJobSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetTriggeredWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetTriggeredWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21572,10 +22756,10 @@ export type WebAppsGetTriggeredWebJobSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetVnetConnection { - delete(options?: WebAppsDeleteVnetConnectionParameters): Promise; - get(options?: WebAppsGetVnetConnectionParameters): Promise; - patch(options: WebAppsUpdateVnetConnectionParameters): Promise; - put(options: WebAppsCreateOrUpdateVnetConnectionParameters): Promise; + delete(options?: WebAppsDeleteVnetConnectionParameters): StreamableMethod; + get(options?: WebAppsGetVnetConnectionParameters): StreamableMethod; + patch(options: WebAppsUpdateVnetConnectionParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateVnetConnectionParameters): StreamableMethod; } // @public @@ -21587,18 +22771,18 @@ export interface WebAppsGetVnetConnection200Response extends HttpResponse { } // @public -export interface WebAppsGetVnetConnectiondefaultResponse extends HttpResponse { +export interface WebAppsGetVnetConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsGetVnetConnectionGateway { - get(options?: WebAppsGetVnetConnectionGatewayParameters): Promise; - patch(options: WebAppsUpdateVnetConnectionGatewayParameters): Promise; - put(options: WebAppsCreateOrUpdateVnetConnectionGatewayParameters): Promise; + get(options?: WebAppsGetVnetConnectionGatewayParameters): StreamableMethod; + patch(options: WebAppsUpdateVnetConnectionGatewayParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateVnetConnectionGatewayParameters): StreamableMethod; } // @public @@ -21611,18 +22795,16 @@ export interface WebAppsGetVnetConnectionGateway200Response extends HttpResponse // @public export interface WebAppsGetVnetConnectionGateway404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetVnetConnectionGatewaydefaultResponse extends HttpResponse { +export interface WebAppsGetVnetConnectionGatewayDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21630,9 +22812,9 @@ export type WebAppsGetVnetConnectionGatewayParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetVnetConnectionGatewaySlot { - get(options?: WebAppsGetVnetConnectionGatewaySlotParameters): Promise; - patch(options: WebAppsUpdateVnetConnectionGatewaySlotParameters): Promise; - put(options: WebAppsCreateOrUpdateVnetConnectionGatewaySlotParameters): Promise; + get(options?: WebAppsGetVnetConnectionGatewaySlotParameters): StreamableMethod; + patch(options: WebAppsUpdateVnetConnectionGatewaySlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateVnetConnectionGatewaySlotParameters): StreamableMethod; } // @public @@ -21645,18 +22827,16 @@ export interface WebAppsGetVnetConnectionGatewaySlot200Response extends HttpResp // @public export interface WebAppsGetVnetConnectionGatewaySlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsGetVnetConnectionGatewaySlotdefaultResponse extends HttpResponse { +export interface WebAppsGetVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21667,10 +22847,10 @@ export type WebAppsGetVnetConnectionParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetVnetConnectionSlot { - delete(options?: WebAppsDeleteVnetConnectionSlotParameters): Promise; - get(options?: WebAppsGetVnetConnectionSlotParameters): Promise; - patch(options: WebAppsUpdateVnetConnectionSlotParameters): Promise; - put(options: WebAppsCreateOrUpdateVnetConnectionSlotParameters): Promise; + delete(options?: WebAppsDeleteVnetConnectionSlotParameters): StreamableMethod; + get(options?: WebAppsGetVnetConnectionSlotParameters): StreamableMethod; + patch(options: WebAppsUpdateVnetConnectionSlotParameters): StreamableMethod; + put(options: WebAppsCreateOrUpdateVnetConnectionSlotParameters): StreamableMethod; } // @public @@ -21682,11 +22862,11 @@ export interface WebAppsGetVnetConnectionSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetVnetConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetVnetConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21694,7 +22874,7 @@ export type WebAppsGetVnetConnectionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetWebJob { - get(options?: WebAppsGetWebJobParameters): Promise; + get(options?: WebAppsGetWebJobParameters): StreamableMethod; } // @public @@ -21706,11 +22886,11 @@ export interface WebAppsGetWebJob200Response extends HttpResponse { } // @public -export interface WebAppsGetWebJobdefaultResponse extends HttpResponse { +export interface WebAppsGetWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21718,7 +22898,7 @@ export type WebAppsGetWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetWebJobSlot { - get(options?: WebAppsGetWebJobSlotParameters): Promise; + get(options?: WebAppsGetWebJobSlotParameters): StreamableMethod; } // @public @@ -21730,11 +22910,11 @@ export interface WebAppsGetWebJobSlot200Response extends HttpResponse { } // @public -export interface WebAppsGetWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsGetWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21742,7 +22922,7 @@ export type WebAppsGetWebJobSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetWebSiteContainerLogs { - post(options?: WebAppsGetWebSiteContainerLogsParameters): Promise; + post(options?: WebAppsGetWebSiteContainerLogsParameters): StreamableMethod; } // @public @@ -21754,18 +22934,14 @@ export interface WebAppsGetWebSiteContainerLogs200Response extends HttpResponse // @public export interface WebAppsGetWebSiteContainerLogs204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGetWebSiteContainerLogsdefaultResponse extends HttpResponse { - // (undocumented) - body: Record; +export interface WebAppsGetWebSiteContainerLogsDefaultResponse extends HttpResponse { // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21773,7 +22949,7 @@ export type WebAppsGetWebSiteContainerLogsParameters = RequestParameters; // @public (undocumented) export interface WebAppsGetWebSiteContainerLogsSlot { - post(options?: WebAppsGetWebSiteContainerLogsSlotParameters): Promise; + post(options?: WebAppsGetWebSiteContainerLogsSlotParameters): StreamableMethod; } // @public @@ -21785,18 +22961,14 @@ export interface WebAppsGetWebSiteContainerLogsSlot200Response extends HttpRespo // @public export interface WebAppsGetWebSiteContainerLogsSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsGetWebSiteContainerLogsSlotdefaultResponse extends HttpResponse { - // (undocumented) - body: Record; +export interface WebAppsGetWebSiteContainerLogsSlotDefaultResponse extends HttpResponse { // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21820,18 +22992,16 @@ export interface WebAppsInstallSiteExtension201Response extends HttpResponse { // @public export interface WebAppsInstallSiteExtension429Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "429"; } // @public -export interface WebAppsInstallSiteExtensiondefaultResponse extends HttpResponse { +export interface WebAppsInstallSiteExtensionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21855,18 +23025,16 @@ export interface WebAppsInstallSiteExtensionSlot201Response extends HttpResponse // @public export interface WebAppsInstallSiteExtensionSlot429Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "429"; } // @public -export interface WebAppsInstallSiteExtensionSlotdefaultResponse extends HttpResponse { +export interface WebAppsInstallSiteExtensionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21874,7 +23042,7 @@ export type WebAppsInstallSiteExtensionSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsIsCloneable { - post(options?: WebAppsIsCloneableParameters): Promise; + post(options?: WebAppsIsCloneableParameters): StreamableMethod; } // @public @@ -21886,11 +23054,11 @@ export interface WebAppsIsCloneable200Response extends HttpResponse { } // @public -export interface WebAppsIsCloneabledefaultResponse extends HttpResponse { +export interface WebAppsIsCloneableDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21898,7 +23066,7 @@ export type WebAppsIsCloneableParameters = RequestParameters; // @public (undocumented) export interface WebAppsIsCloneableSlot { - post(options?: WebAppsIsCloneableSlotParameters): Promise; + post(options?: WebAppsIsCloneableSlotParameters): StreamableMethod; } // @public @@ -21910,11 +23078,11 @@ export interface WebAppsIsCloneableSlot200Response extends HttpResponse { } // @public -export interface WebAppsIsCloneableSlotdefaultResponse extends HttpResponse { +export interface WebAppsIsCloneableSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21922,7 +23090,7 @@ export type WebAppsIsCloneableSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsList { - get(options?: WebAppsListParameters): Promise; + get(options?: WebAppsListParameters): StreamableMethod; } // @public @@ -21935,7 +23103,7 @@ export interface WebAppsList200Response extends HttpResponse { // @public (undocumented) export interface WebAppsListApplicationSettings { - post(options?: WebAppsListApplicationSettingsParameters): Promise; + post(options?: WebAppsListApplicationSettingsParameters): StreamableMethod; } // @public @@ -21947,11 +23115,11 @@ export interface WebAppsListApplicationSettings200Response extends HttpResponse } // @public -export interface WebAppsListApplicationSettingsdefaultResponse extends HttpResponse { +export interface WebAppsListApplicationSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21959,7 +23127,7 @@ export type WebAppsListApplicationSettingsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListApplicationSettingsSlot { - post(options?: WebAppsListApplicationSettingsSlotParameters): Promise; + post(options?: WebAppsListApplicationSettingsSlotParameters): StreamableMethod; } // @public @@ -21971,11 +23139,11 @@ export interface WebAppsListApplicationSettingsSlot200Response extends HttpRespo } // @public -export interface WebAppsListApplicationSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListApplicationSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -21983,7 +23151,7 @@ export type WebAppsListApplicationSettingsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListAzureStorageAccounts { - post(options?: WebAppsListAzureStorageAccountsParameters): Promise; + post(options?: WebAppsListAzureStorageAccountsParameters): StreamableMethod; } // @public @@ -21995,11 +23163,11 @@ export interface WebAppsListAzureStorageAccounts200Response extends HttpResponse } // @public -export interface WebAppsListAzureStorageAccountsdefaultResponse extends HttpResponse { +export interface WebAppsListAzureStorageAccountsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22007,7 +23175,7 @@ export type WebAppsListAzureStorageAccountsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListAzureStorageAccountsSlot { - post(options?: WebAppsListAzureStorageAccountsSlotParameters): Promise; + post(options?: WebAppsListAzureStorageAccountsSlotParameters): StreamableMethod; } // @public @@ -22019,11 +23187,11 @@ export interface WebAppsListAzureStorageAccountsSlot200Response extends HttpResp } // @public -export interface WebAppsListAzureStorageAccountsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListAzureStorageAccountsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22031,7 +23199,7 @@ export type WebAppsListAzureStorageAccountsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListBackups { - get(options?: WebAppsListBackupsParameters): Promise; + get(options?: WebAppsListBackupsParameters): StreamableMethod; } // @public @@ -22043,11 +23211,11 @@ export interface WebAppsListBackups200Response extends HttpResponse { } // @public -export interface WebAppsListBackupsdefaultResponse extends HttpResponse { +export interface WebAppsListBackupsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22055,7 +23223,7 @@ export type WebAppsListBackupsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListBackupsSlot { - get(options?: WebAppsListBackupsSlotParameters): Promise; + get(options?: WebAppsListBackupsSlotParameters): StreamableMethod; } // @public @@ -22067,11 +23235,11 @@ export interface WebAppsListBackupsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListBackupsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListBackupsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22079,7 +23247,7 @@ export type WebAppsListBackupsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListBackupStatusSecrets { - post(options: WebAppsListBackupStatusSecretsParameters): Promise; + post(options: WebAppsListBackupStatusSecretsParameters): StreamableMethod; } // @public @@ -22096,11 +23264,11 @@ export interface WebAppsListBackupStatusSecretsBodyParam { } // @public -export interface WebAppsListBackupStatusSecretsdefaultResponse extends HttpResponse { +export interface WebAppsListBackupStatusSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22113,7 +23281,7 @@ export type WebAppsListBackupStatusSecretsParameters = WebAppsListBackupStatusSe // @public (undocumented) export interface WebAppsListBackupStatusSecretsSlot { - post(options: WebAppsListBackupStatusSecretsSlotParameters): Promise; + post(options: WebAppsListBackupStatusSecretsSlotParameters): StreamableMethod; } // @public @@ -22130,11 +23298,11 @@ export interface WebAppsListBackupStatusSecretsSlotBodyParam { } // @public -export interface WebAppsListBackupStatusSecretsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListBackupStatusSecretsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22147,7 +23315,7 @@ export type WebAppsListBackupStatusSecretsSlotParameters = WebAppsListBackupStat // @public (undocumented) export interface WebAppsListBasicPublishingCredentialsPolicies { - get(options?: WebAppsListBasicPublishingCredentialsPoliciesParameters): Promise; + get(options?: WebAppsListBasicPublishingCredentialsPoliciesParameters): StreamableMethod; } // @public @@ -22159,11 +23327,11 @@ export interface WebAppsListBasicPublishingCredentialsPolicies200Response extend } // @public -export interface WebAppsListBasicPublishingCredentialsPoliciesdefaultResponse extends HttpResponse { +export interface WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22171,7 +23339,7 @@ export type WebAppsListBasicPublishingCredentialsPoliciesParameters = RequestPar // @public (undocumented) export interface WebAppsListBasicPublishingCredentialsPoliciesSlot { - get(options?: WebAppsListBasicPublishingCredentialsPoliciesSlotParameters): Promise; + get(options?: WebAppsListBasicPublishingCredentialsPoliciesSlotParameters): StreamableMethod; } // @public @@ -22183,11 +23351,11 @@ export interface WebAppsListBasicPublishingCredentialsPoliciesSlot200Response ex } // @public -export interface WebAppsListBasicPublishingCredentialsPoliciesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22195,7 +23363,7 @@ export type WebAppsListBasicPublishingCredentialsPoliciesSlotParameters = Reques // @public (undocumented) export interface WebAppsListByResourceGroup { - get(options?: WebAppsListByResourceGroupParameters): Promise; + get(options?: WebAppsListByResourceGroupParameters): StreamableMethod; } // @public @@ -22207,11 +23375,11 @@ export interface WebAppsListByResourceGroup200Response extends HttpResponse { } // @public -export interface WebAppsListByResourceGroupdefaultResponse extends HttpResponse { +export interface WebAppsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22230,7 +23398,7 @@ export interface WebAppsListByResourceGroupQueryParamProperties { // @public (undocumented) export interface WebAppsListConfigurations { - get(options?: WebAppsListConfigurationsParameters): Promise; + get(options?: WebAppsListConfigurationsParameters): StreamableMethod; } // @public @@ -22242,16 +23410,16 @@ export interface WebAppsListConfigurations200Response extends HttpResponse { } // @public -export interface WebAppsListConfigurationsdefaultResponse extends HttpResponse { +export interface WebAppsListConfigurationsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsListConfigurationSnapshotInfo { - get(options?: WebAppsListConfigurationSnapshotInfoParameters): Promise; + get(options?: WebAppsListConfigurationSnapshotInfoParameters): StreamableMethod; } // @public @@ -22263,11 +23431,11 @@ export interface WebAppsListConfigurationSnapshotInfo200Response extends HttpRes } // @public -export interface WebAppsListConfigurationSnapshotInfodefaultResponse extends HttpResponse { +export interface WebAppsListConfigurationSnapshotInfoDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22275,7 +23443,7 @@ export type WebAppsListConfigurationSnapshotInfoParameters = RequestParameters; // @public (undocumented) export interface WebAppsListConfigurationSnapshotInfoSlot { - get(options?: WebAppsListConfigurationSnapshotInfoSlotParameters): Promise; + get(options?: WebAppsListConfigurationSnapshotInfoSlotParameters): StreamableMethod; } // @public @@ -22287,11 +23455,11 @@ export interface WebAppsListConfigurationSnapshotInfoSlot200Response extends Htt } // @public -export interface WebAppsListConfigurationSnapshotInfoSlotdefaultResponse extends HttpResponse { +export interface WebAppsListConfigurationSnapshotInfoSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22302,7 +23470,7 @@ export type WebAppsListConfigurationsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListConfigurationsSlot { - get(options?: WebAppsListConfigurationsSlotParameters): Promise; + get(options?: WebAppsListConfigurationsSlotParameters): StreamableMethod; } // @public @@ -22314,11 +23482,11 @@ export interface WebAppsListConfigurationsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListConfigurationsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListConfigurationsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22326,7 +23494,7 @@ export type WebAppsListConfigurationsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListConnectionStrings { - post(options?: WebAppsListConnectionStringsParameters): Promise; + post(options?: WebAppsListConnectionStringsParameters): StreamableMethod; } // @public @@ -22338,11 +23506,11 @@ export interface WebAppsListConnectionStrings200Response extends HttpResponse { } // @public -export interface WebAppsListConnectionStringsdefaultResponse extends HttpResponse { +export interface WebAppsListConnectionStringsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22350,7 +23518,7 @@ export type WebAppsListConnectionStringsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListConnectionStringsSlot { - post(options?: WebAppsListConnectionStringsSlotParameters): Promise; + post(options?: WebAppsListConnectionStringsSlotParameters): StreamableMethod; } // @public @@ -22362,11 +23530,11 @@ export interface WebAppsListConnectionStringsSlot200Response extends HttpRespons } // @public -export interface WebAppsListConnectionStringsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListConnectionStringsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22374,7 +23542,7 @@ export type WebAppsListConnectionStringsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListContinuousWebJobs { - get(options?: WebAppsListContinuousWebJobsParameters): Promise; + get(options?: WebAppsListContinuousWebJobsParameters): StreamableMethod; } // @public @@ -22386,11 +23554,11 @@ export interface WebAppsListContinuousWebJobs200Response extends HttpResponse { } // @public -export interface WebAppsListContinuousWebJobsdefaultResponse extends HttpResponse { +export interface WebAppsListContinuousWebJobsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22398,7 +23566,7 @@ export type WebAppsListContinuousWebJobsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListContinuousWebJobsSlot { - get(options?: WebAppsListContinuousWebJobsSlotParameters): Promise; + get(options?: WebAppsListContinuousWebJobsSlotParameters): StreamableMethod; } // @public @@ -22410,27 +23578,27 @@ export interface WebAppsListContinuousWebJobsSlot200Response extends HttpRespons } // @public -export interface WebAppsListContinuousWebJobsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListContinuousWebJobsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsListContinuousWebJobsSlotParameters = RequestParameters; // @public -export interface WebAppsListdefaultResponse extends HttpResponse { +export interface WebAppsListDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsListDeploymentLog { - get(options?: WebAppsListDeploymentLogParameters): Promise; + get(options?: WebAppsListDeploymentLogParameters): StreamableMethod; } // @public @@ -22442,11 +23610,11 @@ export interface WebAppsListDeploymentLog200Response extends HttpResponse { } // @public -export interface WebAppsListDeploymentLogdefaultResponse extends HttpResponse { +export interface WebAppsListDeploymentLogDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22454,7 +23622,7 @@ export type WebAppsListDeploymentLogParameters = RequestParameters; // @public (undocumented) export interface WebAppsListDeploymentLogSlot { - get(options?: WebAppsListDeploymentLogSlotParameters): Promise; + get(options?: WebAppsListDeploymentLogSlotParameters): StreamableMethod; } // @public @@ -22466,11 +23634,11 @@ export interface WebAppsListDeploymentLogSlot200Response extends HttpResponse { } // @public -export interface WebAppsListDeploymentLogSlotdefaultResponse extends HttpResponse { +export interface WebAppsListDeploymentLogSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22478,7 +23646,7 @@ export type WebAppsListDeploymentLogSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListDeployments { - get(options?: WebAppsListDeploymentsParameters): Promise; + get(options?: WebAppsListDeploymentsParameters): StreamableMethod; } // @public @@ -22490,11 +23658,11 @@ export interface WebAppsListDeployments200Response extends HttpResponse { } // @public -export interface WebAppsListDeploymentsdefaultResponse extends HttpResponse { +export interface WebAppsListDeploymentsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22502,7 +23670,7 @@ export type WebAppsListDeploymentsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListDeploymentsSlot { - get(options?: WebAppsListDeploymentsSlotParameters): Promise; + get(options?: WebAppsListDeploymentsSlotParameters): StreamableMethod; } // @public @@ -22514,11 +23682,11 @@ export interface WebAppsListDeploymentsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListDeploymentsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListDeploymentsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22526,7 +23694,7 @@ export type WebAppsListDeploymentsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListDomainOwnershipIdentifiers { - get(options?: WebAppsListDomainOwnershipIdentifiersParameters): Promise; + get(options?: WebAppsListDomainOwnershipIdentifiersParameters): StreamableMethod; } // @public @@ -22538,11 +23706,11 @@ export interface WebAppsListDomainOwnershipIdentifiers200Response extends HttpRe } // @public -export interface WebAppsListDomainOwnershipIdentifiersdefaultResponse extends HttpResponse { +export interface WebAppsListDomainOwnershipIdentifiersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22550,7 +23718,7 @@ export type WebAppsListDomainOwnershipIdentifiersParameters = RequestParameters; // @public (undocumented) export interface WebAppsListDomainOwnershipIdentifiersSlot { - get(options?: WebAppsListDomainOwnershipIdentifiersSlotParameters): Promise; + get(options?: WebAppsListDomainOwnershipIdentifiersSlotParameters): StreamableMethod; } // @public @@ -22562,11 +23730,11 @@ export interface WebAppsListDomainOwnershipIdentifiersSlot200Response extends Ht } // @public -export interface WebAppsListDomainOwnershipIdentifiersSlotdefaultResponse extends HttpResponse { +export interface WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22574,7 +23742,7 @@ export type WebAppsListDomainOwnershipIdentifiersSlotParameters = RequestParamet // @public (undocumented) export interface WebAppsListFunctionKeys { - post(options?: WebAppsListFunctionKeysParameters): Promise; + post(options?: WebAppsListFunctionKeysParameters): StreamableMethod; } // @public @@ -22586,11 +23754,11 @@ export interface WebAppsListFunctionKeys200Response extends HttpResponse { } // @public -export interface WebAppsListFunctionKeysdefaultResponse extends HttpResponse { +export interface WebAppsListFunctionKeysDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22598,7 +23766,7 @@ export type WebAppsListFunctionKeysParameters = RequestParameters; // @public (undocumented) export interface WebAppsListFunctionKeysSlot { - post(options?: WebAppsListFunctionKeysSlotParameters): Promise; + post(options?: WebAppsListFunctionKeysSlotParameters): StreamableMethod; } // @public @@ -22610,11 +23778,11 @@ export interface WebAppsListFunctionKeysSlot200Response extends HttpResponse { } // @public -export interface WebAppsListFunctionKeysSlotdefaultResponse extends HttpResponse { +export interface WebAppsListFunctionKeysSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22622,7 +23790,7 @@ export type WebAppsListFunctionKeysSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListFunctions { - get(options?: WebAppsListFunctionsParameters): Promise; + get(options?: WebAppsListFunctionsParameters): StreamableMethod; } // @public @@ -22635,23 +23803,21 @@ export interface WebAppsListFunctions200Response extends HttpResponse { // @public export interface WebAppsListFunctions404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListFunctionsdefaultResponse extends HttpResponse { +export interface WebAppsListFunctionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsListFunctionSecrets { - post(options?: WebAppsListFunctionSecretsParameters): Promise; + post(options?: WebAppsListFunctionSecretsParameters): StreamableMethod; } // @public @@ -22663,11 +23829,11 @@ export interface WebAppsListFunctionSecrets200Response extends HttpResponse { } // @public -export interface WebAppsListFunctionSecretsdefaultResponse extends HttpResponse { +export interface WebAppsListFunctionSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22675,7 +23841,7 @@ export type WebAppsListFunctionSecretsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListFunctionSecretsSlot { - post(options?: WebAppsListFunctionSecretsSlotParameters): Promise; + post(options?: WebAppsListFunctionSecretsSlotParameters): StreamableMethod; } // @public @@ -22687,11 +23853,11 @@ export interface WebAppsListFunctionSecretsSlot200Response extends HttpResponse } // @public -export interface WebAppsListFunctionSecretsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListFunctionSecretsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22702,7 +23868,7 @@ export type WebAppsListFunctionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHostKeys { - post(options?: WebAppsListHostKeysParameters): Promise; + post(options?: WebAppsListHostKeysParameters): StreamableMethod; } // @public @@ -22714,11 +23880,11 @@ export interface WebAppsListHostKeys200Response extends HttpResponse { } // @public -export interface WebAppsListHostKeysdefaultResponse extends HttpResponse { +export interface WebAppsListHostKeysDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22726,7 +23892,7 @@ export type WebAppsListHostKeysParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHostKeysSlot { - post(options?: WebAppsListHostKeysSlotParameters): Promise; + post(options?: WebAppsListHostKeysSlotParameters): StreamableMethod; } // @public @@ -22738,11 +23904,11 @@ export interface WebAppsListHostKeysSlot200Response extends HttpResponse { } // @public -export interface WebAppsListHostKeysSlotdefaultResponse extends HttpResponse { +export interface WebAppsListHostKeysSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22750,7 +23916,7 @@ export type WebAppsListHostKeysSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHostNameBindings { - get(options?: WebAppsListHostNameBindingsParameters): Promise; + get(options?: WebAppsListHostNameBindingsParameters): StreamableMethod; } // @public @@ -22762,11 +23928,11 @@ export interface WebAppsListHostNameBindings200Response extends HttpResponse { } // @public -export interface WebAppsListHostNameBindingsdefaultResponse extends HttpResponse { +export interface WebAppsListHostNameBindingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22774,7 +23940,7 @@ export type WebAppsListHostNameBindingsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHostNameBindingsSlot { - get(options?: WebAppsListHostNameBindingsSlotParameters): Promise; + get(options?: WebAppsListHostNameBindingsSlotParameters): StreamableMethod; } // @public @@ -22786,11 +23952,11 @@ export interface WebAppsListHostNameBindingsSlot200Response extends HttpResponse } // @public -export interface WebAppsListHostNameBindingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListHostNameBindingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22798,7 +23964,7 @@ export type WebAppsListHostNameBindingsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHybridConnections { - get(options?: WebAppsListHybridConnectionsParameters): Promise; + get(options?: WebAppsListHybridConnectionsParameters): StreamableMethod; } // @public @@ -22810,11 +23976,11 @@ export interface WebAppsListHybridConnections200Response extends HttpResponse { } // @public -export interface WebAppsListHybridConnectionsdefaultResponse extends HttpResponse { +export interface WebAppsListHybridConnectionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22822,7 +23988,7 @@ export type WebAppsListHybridConnectionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListHybridConnectionsSlot { - get(options?: WebAppsListHybridConnectionsSlotParameters): Promise; + get(options?: WebAppsListHybridConnectionsSlotParameters): StreamableMethod; } // @public @@ -22834,11 +24000,11 @@ export interface WebAppsListHybridConnectionsSlot200Response extends HttpRespons } // @public -export interface WebAppsListHybridConnectionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListHybridConnectionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22846,7 +24012,7 @@ export type WebAppsListHybridConnectionsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceFunctionsSlot { - get(options?: WebAppsListInstanceFunctionsSlotParameters): Promise; + get(options?: WebAppsListInstanceFunctionsSlotParameters): StreamableMethod; } // @public @@ -22859,18 +24025,16 @@ export interface WebAppsListInstanceFunctionsSlot200Response extends HttpRespons // @public export interface WebAppsListInstanceFunctionsSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceFunctionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceFunctionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22878,7 +24042,7 @@ export type WebAppsListInstanceFunctionsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceIdentifiers { - get(options?: WebAppsListInstanceIdentifiersParameters): Promise; + get(options?: WebAppsListInstanceIdentifiersParameters): StreamableMethod; } // @public @@ -22890,11 +24054,11 @@ export interface WebAppsListInstanceIdentifiers200Response extends HttpResponse } // @public -export interface WebAppsListInstanceIdentifiersdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceIdentifiersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22902,7 +24066,7 @@ export type WebAppsListInstanceIdentifiersParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceIdentifiersSlot { - get(options?: WebAppsListInstanceIdentifiersSlotParameters): Promise; + get(options?: WebAppsListInstanceIdentifiersSlotParameters): StreamableMethod; } // @public @@ -22914,11 +24078,11 @@ export interface WebAppsListInstanceIdentifiersSlot200Response extends HttpRespo } // @public -export interface WebAppsListInstanceIdentifiersSlotdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceIdentifiersSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22926,7 +24090,7 @@ export type WebAppsListInstanceIdentifiersSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcesses { - get(options?: WebAppsListInstanceProcessesParameters): Promise; + get(options?: WebAppsListInstanceProcessesParameters): StreamableMethod; } // @public @@ -22939,18 +24103,16 @@ export interface WebAppsListInstanceProcesses200Response extends HttpResponse { // @public export interface WebAppsListInstanceProcesses404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessesdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22958,7 +24120,7 @@ export type WebAppsListInstanceProcessesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcessesSlot { - get(options?: WebAppsListInstanceProcessesSlotParameters): Promise; + get(options?: WebAppsListInstanceProcessesSlotParameters): StreamableMethod; } // @public @@ -22971,18 +24133,16 @@ export interface WebAppsListInstanceProcessesSlot200Response extends HttpRespons // @public export interface WebAppsListInstanceProcessesSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -22990,7 +24150,7 @@ export type WebAppsListInstanceProcessesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcessModules { - get(options?: WebAppsListInstanceProcessModulesParameters): Promise; + get(options?: WebAppsListInstanceProcessModulesParameters): StreamableMethod; } // @public @@ -23003,18 +24163,16 @@ export interface WebAppsListInstanceProcessModules200Response extends HttpRespon // @public export interface WebAppsListInstanceProcessModules404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessModulesdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessModulesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23022,7 +24180,7 @@ export type WebAppsListInstanceProcessModulesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcessModulesSlot { - get(options?: WebAppsListInstanceProcessModulesSlotParameters): Promise; + get(options?: WebAppsListInstanceProcessModulesSlotParameters): StreamableMethod; } // @public @@ -23035,18 +24193,16 @@ export interface WebAppsListInstanceProcessModulesSlot200Response extends HttpRe // @public export interface WebAppsListInstanceProcessModulesSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessModulesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessModulesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23054,7 +24210,7 @@ export type WebAppsListInstanceProcessModulesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcessThreads { - get(options?: WebAppsListInstanceProcessThreadsParameters): Promise; + get(options?: WebAppsListInstanceProcessThreadsParameters): StreamableMethod; } // @public @@ -23067,18 +24223,16 @@ export interface WebAppsListInstanceProcessThreads200Response extends HttpRespon // @public export interface WebAppsListInstanceProcessThreads404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessThreadsdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessThreadsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23086,7 +24240,7 @@ export type WebAppsListInstanceProcessThreadsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListInstanceProcessThreadsSlot { - get(options?: WebAppsListInstanceProcessThreadsSlotParameters): Promise; + get(options?: WebAppsListInstanceProcessThreadsSlotParameters): StreamableMethod; } // @public @@ -23099,18 +24253,16 @@ export interface WebAppsListInstanceProcessThreadsSlot200Response extends HttpRe // @public export interface WebAppsListInstanceProcessThreadsSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListInstanceProcessThreadsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListInstanceProcessThreadsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23118,7 +24270,7 @@ export type WebAppsListInstanceProcessThreadsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListMetadata { - post(options?: WebAppsListMetadataParameters): Promise; + post(options?: WebAppsListMetadataParameters): StreamableMethod; } // @public @@ -23130,11 +24282,11 @@ export interface WebAppsListMetadata200Response extends HttpResponse { } // @public -export interface WebAppsListMetadatadefaultResponse extends HttpResponse { +export interface WebAppsListMetadataDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23142,7 +24294,7 @@ export type WebAppsListMetadataParameters = RequestParameters; // @public (undocumented) export interface WebAppsListMetadataSlot { - post(options?: WebAppsListMetadataSlotParameters): Promise; + post(options?: WebAppsListMetadataSlotParameters): StreamableMethod; } // @public @@ -23154,11 +24306,11 @@ export interface WebAppsListMetadataSlot200Response extends HttpResponse { } // @public -export interface WebAppsListMetadataSlotdefaultResponse extends HttpResponse { +export interface WebAppsListMetadataSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23166,7 +24318,7 @@ export type WebAppsListMetadataSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListNetworkFeatures { - get(options?: WebAppsListNetworkFeaturesParameters): Promise; + get(options?: WebAppsListNetworkFeaturesParameters): StreamableMethod; } // @public @@ -23179,18 +24331,16 @@ export interface WebAppsListNetworkFeatures200Response extends HttpResponse { // @public export interface WebAppsListNetworkFeatures404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListNetworkFeaturesdefaultResponse extends HttpResponse { +export interface WebAppsListNetworkFeaturesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23198,7 +24348,7 @@ export type WebAppsListNetworkFeaturesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListNetworkFeaturesSlot { - get(options?: WebAppsListNetworkFeaturesSlotParameters): Promise; + get(options?: WebAppsListNetworkFeaturesSlotParameters): StreamableMethod; } // @public @@ -23211,18 +24361,16 @@ export interface WebAppsListNetworkFeaturesSlot200Response extends HttpResponse // @public export interface WebAppsListNetworkFeaturesSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListNetworkFeaturesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListNetworkFeaturesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23233,7 +24381,7 @@ export type WebAppsListParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPerfMonCounters { - get(options?: WebAppsListPerfMonCountersParameters): Promise; + get(options?: WebAppsListPerfMonCountersParameters): StreamableMethod; } // @public @@ -23245,11 +24393,11 @@ export interface WebAppsListPerfMonCounters200Response extends HttpResponse { } // @public -export interface WebAppsListPerfMonCountersdefaultResponse extends HttpResponse { +export interface WebAppsListPerfMonCountersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23268,7 +24416,7 @@ export interface WebAppsListPerfMonCountersQueryParamProperties { // @public (undocumented) export interface WebAppsListPerfMonCountersSlot { - get(options?: WebAppsListPerfMonCountersSlotParameters): Promise; + get(options?: WebAppsListPerfMonCountersSlotParameters): StreamableMethod; } // @public @@ -23280,11 +24428,11 @@ export interface WebAppsListPerfMonCountersSlot200Response extends HttpResponse } // @public -export interface WebAppsListPerfMonCountersSlotdefaultResponse extends HttpResponse { +export interface WebAppsListPerfMonCountersSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23303,7 +24451,7 @@ export interface WebAppsListPerfMonCountersSlotQueryParamProperties { // @public (undocumented) export interface WebAppsListPremierAddOns { - get(options?: WebAppsListPremierAddOnsParameters): Promise; + get(options?: WebAppsListPremierAddOnsParameters): StreamableMethod; } // @public @@ -23315,11 +24463,11 @@ export interface WebAppsListPremierAddOns200Response extends HttpResponse { } // @public -export interface WebAppsListPremierAddOnsdefaultResponse extends HttpResponse { +export interface WebAppsListPremierAddOnsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23327,7 +24475,7 @@ export type WebAppsListPremierAddOnsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPremierAddOnsSlot { - get(options?: WebAppsListPremierAddOnsSlotParameters): Promise; + get(options?: WebAppsListPremierAddOnsSlotParameters): StreamableMethod; } // @public @@ -23339,11 +24487,11 @@ export interface WebAppsListPremierAddOnsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListPremierAddOnsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListPremierAddOnsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23351,7 +24499,7 @@ export type WebAppsListPremierAddOnsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcesses { - get(options?: WebAppsListProcessesParameters): Promise; + get(options?: WebAppsListProcessesParameters): StreamableMethod; } // @public @@ -23364,18 +24512,16 @@ export interface WebAppsListProcesses200Response extends HttpResponse { // @public export interface WebAppsListProcesses404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessesdefaultResponse extends HttpResponse { +export interface WebAppsListProcessesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23383,7 +24529,7 @@ export type WebAppsListProcessesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcessesSlot { - get(options?: WebAppsListProcessesSlotParameters): Promise; + get(options?: WebAppsListProcessesSlotParameters): StreamableMethod; } // @public @@ -23396,18 +24542,16 @@ export interface WebAppsListProcessesSlot200Response extends HttpResponse { // @public export interface WebAppsListProcessesSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListProcessesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23415,7 +24559,7 @@ export type WebAppsListProcessesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcessModules { - get(options?: WebAppsListProcessModulesParameters): Promise; + get(options?: WebAppsListProcessModulesParameters): StreamableMethod; } // @public @@ -23428,18 +24572,16 @@ export interface WebAppsListProcessModules200Response extends HttpResponse { // @public export interface WebAppsListProcessModules404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessModulesdefaultResponse extends HttpResponse { +export interface WebAppsListProcessModulesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23447,7 +24589,7 @@ export type WebAppsListProcessModulesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcessModulesSlot { - get(options?: WebAppsListProcessModulesSlotParameters): Promise; + get(options?: WebAppsListProcessModulesSlotParameters): StreamableMethod; } // @public @@ -23460,18 +24602,16 @@ export interface WebAppsListProcessModulesSlot200Response extends HttpResponse { // @public export interface WebAppsListProcessModulesSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessModulesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListProcessModulesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23479,7 +24619,7 @@ export type WebAppsListProcessModulesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcessThreads { - get(options?: WebAppsListProcessThreadsParameters): Promise; + get(options?: WebAppsListProcessThreadsParameters): StreamableMethod; } // @public @@ -23492,18 +24632,16 @@ export interface WebAppsListProcessThreads200Response extends HttpResponse { // @public export interface WebAppsListProcessThreads404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessThreadsdefaultResponse extends HttpResponse { +export interface WebAppsListProcessThreadsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23511,7 +24649,7 @@ export type WebAppsListProcessThreadsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListProcessThreadsSlot { - get(options?: WebAppsListProcessThreadsSlotParameters): Promise; + get(options?: WebAppsListProcessThreadsSlotParameters): StreamableMethod; } // @public @@ -23524,18 +24662,16 @@ export interface WebAppsListProcessThreadsSlot200Response extends HttpResponse { // @public export interface WebAppsListProcessThreadsSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListProcessThreadsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListProcessThreadsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23543,7 +24679,7 @@ export type WebAppsListProcessThreadsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPublicCertificates { - get(options?: WebAppsListPublicCertificatesParameters): Promise; + get(options?: WebAppsListPublicCertificatesParameters): StreamableMethod; } // @public @@ -23555,11 +24691,11 @@ export interface WebAppsListPublicCertificates200Response extends HttpResponse { } // @public -export interface WebAppsListPublicCertificatesdefaultResponse extends HttpResponse { +export interface WebAppsListPublicCertificatesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23567,7 +24703,7 @@ export type WebAppsListPublicCertificatesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPublicCertificatesSlot { - get(options?: WebAppsListPublicCertificatesSlotParameters): Promise; + get(options?: WebAppsListPublicCertificatesSlotParameters): StreamableMethod; } // @public @@ -23579,11 +24715,11 @@ export interface WebAppsListPublicCertificatesSlot200Response extends HttpRespon } // @public -export interface WebAppsListPublicCertificatesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListPublicCertificatesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23591,7 +24727,7 @@ export type WebAppsListPublicCertificatesSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPublishingCredentials { - post(options?: WebAppsListPublishingCredentialsParameters): Promise; + post(options?: WebAppsListPublishingCredentialsParameters): StreamableMethod; } // @public @@ -23603,11 +24739,11 @@ export interface WebAppsListPublishingCredentials200Response extends HttpRespons } // @public -export interface WebAppsListPublishingCredentialsdefaultResponse extends HttpResponse { +export interface WebAppsListPublishingCredentialsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23615,7 +24751,7 @@ export type WebAppsListPublishingCredentialsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPublishingCredentialsSlot { - post(options?: WebAppsListPublishingCredentialsSlotParameters): Promise; + post(options?: WebAppsListPublishingCredentialsSlotParameters): StreamableMethod; } // @public @@ -23627,11 +24763,11 @@ export interface WebAppsListPublishingCredentialsSlot200Response extends HttpRes } // @public -export interface WebAppsListPublishingCredentialsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListPublishingCredentialsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23639,7 +24775,7 @@ export type WebAppsListPublishingCredentialsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListPublishingProfileXmlWithSecrets { - post(options: WebAppsListPublishingProfileXmlWithSecretsParameters): Promise; + post(options: WebAppsListPublishingProfileXmlWithSecretsParameters): StreamableMethod; } // @public @@ -23655,11 +24791,11 @@ export interface WebAppsListPublishingProfileXmlWithSecretsBodyParam { } // @public -export interface WebAppsListPublishingProfileXmlWithSecretsdefaultResponse extends HttpResponse { +export interface WebAppsListPublishingProfileXmlWithSecretsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23672,7 +24808,7 @@ export type WebAppsListPublishingProfileXmlWithSecretsParameters = WebAppsListPu // @public (undocumented) export interface WebAppsListPublishingProfileXmlWithSecretsSlot { - post(options: WebAppsListPublishingProfileXmlWithSecretsSlotParameters): Promise; + post(options: WebAppsListPublishingProfileXmlWithSecretsSlotParameters): StreamableMethod; } // @public @@ -23688,11 +24824,11 @@ export interface WebAppsListPublishingProfileXmlWithSecretsSlotBodyParam { } // @public -export interface WebAppsListPublishingProfileXmlWithSecretsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23705,7 +24841,7 @@ export type WebAppsListPublishingProfileXmlWithSecretsSlotParameters = WebAppsLi // @public (undocumented) export interface WebAppsListRelayServiceConnections { - get(options?: WebAppsListRelayServiceConnectionsParameters): Promise; + get(options?: WebAppsListRelayServiceConnectionsParameters): StreamableMethod; } // @public @@ -23717,11 +24853,11 @@ export interface WebAppsListRelayServiceConnections200Response extends HttpRespo } // @public -export interface WebAppsListRelayServiceConnectionsdefaultResponse extends HttpResponse { +export interface WebAppsListRelayServiceConnectionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23729,7 +24865,7 @@ export type WebAppsListRelayServiceConnectionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListRelayServiceConnectionsSlot { - get(options?: WebAppsListRelayServiceConnectionsSlotParameters): Promise; + get(options?: WebAppsListRelayServiceConnectionsSlotParameters): StreamableMethod; } // @public @@ -23741,11 +24877,11 @@ export interface WebAppsListRelayServiceConnectionsSlot200Response extends HttpR } // @public -export interface WebAppsListRelayServiceConnectionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListRelayServiceConnectionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23753,7 +24889,7 @@ export type WebAppsListRelayServiceConnectionsSlotParameters = RequestParameters // @public (undocumented) export interface WebAppsListSiteBackups { - post(options?: WebAppsListSiteBackupsParameters): Promise; + post(options?: WebAppsListSiteBackupsParameters): StreamableMethod; } // @public @@ -23765,11 +24901,11 @@ export interface WebAppsListSiteBackups200Response extends HttpResponse { } // @public -export interface WebAppsListSiteBackupsdefaultResponse extends HttpResponse { +export interface WebAppsListSiteBackupsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23777,7 +24913,7 @@ export type WebAppsListSiteBackupsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSiteBackupsSlot { - post(options?: WebAppsListSiteBackupsSlotParameters): Promise; + post(options?: WebAppsListSiteBackupsSlotParameters): StreamableMethod; } // @public @@ -23789,11 +24925,11 @@ export interface WebAppsListSiteBackupsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListSiteBackupsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSiteBackupsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23801,7 +24937,7 @@ export type WebAppsListSiteBackupsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSiteExtensions { - get(options?: WebAppsListSiteExtensionsParameters): Promise; + get(options?: WebAppsListSiteExtensionsParameters): StreamableMethod; } // @public @@ -23814,18 +24950,16 @@ export interface WebAppsListSiteExtensions200Response extends HttpResponse { // @public export interface WebAppsListSiteExtensions404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListSiteExtensionsdefaultResponse extends HttpResponse { +export interface WebAppsListSiteExtensionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23833,7 +24967,7 @@ export type WebAppsListSiteExtensionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSiteExtensionsSlot { - get(options?: WebAppsListSiteExtensionsSlotParameters): Promise; + get(options?: WebAppsListSiteExtensionsSlotParameters): StreamableMethod; } // @public @@ -23846,18 +24980,16 @@ export interface WebAppsListSiteExtensionsSlot200Response extends HttpResponse { // @public export interface WebAppsListSiteExtensionsSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListSiteExtensionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSiteExtensionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23865,7 +24997,7 @@ export type WebAppsListSiteExtensionsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSitePushSettings { - post(options?: WebAppsListSitePushSettingsParameters): Promise; + post(options?: WebAppsListSitePushSettingsParameters): StreamableMethod; } // @public @@ -23877,11 +25009,11 @@ export interface WebAppsListSitePushSettings200Response extends HttpResponse { } // @public -export interface WebAppsListSitePushSettingsdefaultResponse extends HttpResponse { +export interface WebAppsListSitePushSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23889,7 +25021,7 @@ export type WebAppsListSitePushSettingsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSitePushSettingsSlot { - post(options?: WebAppsListSitePushSettingsSlotParameters): Promise; + post(options?: WebAppsListSitePushSettingsSlotParameters): StreamableMethod; } // @public @@ -23901,11 +25033,11 @@ export interface WebAppsListSitePushSettingsSlot200Response extends HttpResponse } // @public -export interface WebAppsListSitePushSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSitePushSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23913,8 +25045,8 @@ export type WebAppsListSitePushSettingsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSlotConfigurationNames { - get(options?: WebAppsListSlotConfigurationNamesParameters): Promise; - put(options: WebAppsUpdateSlotConfigurationNamesParameters): Promise; + get(options?: WebAppsListSlotConfigurationNamesParameters): StreamableMethod; + put(options: WebAppsUpdateSlotConfigurationNamesParameters): StreamableMethod; } // @public @@ -23926,11 +25058,11 @@ export interface WebAppsListSlotConfigurationNames200Response extends HttpRespon } // @public -export interface WebAppsListSlotConfigurationNamesdefaultResponse extends HttpResponse { +export interface WebAppsListSlotConfigurationNamesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23938,7 +25070,7 @@ export type WebAppsListSlotConfigurationNamesParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSlotDifferencesFromProduction { - post(options: WebAppsListSlotDifferencesFromProductionParameters): Promise; + post(options: WebAppsListSlotDifferencesFromProductionParameters): StreamableMethod; } // @public @@ -23955,11 +25087,11 @@ export interface WebAppsListSlotDifferencesFromProductionBodyParam { } // @public -export interface WebAppsListSlotDifferencesFromProductiondefaultResponse extends HttpResponse { +export interface WebAppsListSlotDifferencesFromProductionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -23972,7 +25104,7 @@ export type WebAppsListSlotDifferencesFromProductionParameters = WebAppsListSlot // @public (undocumented) export interface WebAppsListSlotDifferencesSlot { - post(options: WebAppsListSlotDifferencesSlotParameters): Promise; + post(options: WebAppsListSlotDifferencesSlotParameters): StreamableMethod; } // @public @@ -23989,11 +25121,11 @@ export interface WebAppsListSlotDifferencesSlotBodyParam { } // @public -export interface WebAppsListSlotDifferencesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSlotDifferencesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24006,7 +25138,7 @@ export type WebAppsListSlotDifferencesSlotParameters = WebAppsListSlotDifference // @public (undocumented) export interface WebAppsListSlots { - get(options?: WebAppsListSlotsParameters): Promise; + get(options?: WebAppsListSlotsParameters): StreamableMethod; } // @public @@ -24018,11 +25150,11 @@ export interface WebAppsListSlots200Response extends HttpResponse { } // @public -export interface WebAppsListSlotsdefaultResponse extends HttpResponse { +export interface WebAppsListSlotsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24030,7 +25162,7 @@ export type WebAppsListSlotsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSnapshots { - get(options?: WebAppsListSnapshotsParameters): Promise; + get(options?: WebAppsListSnapshotsParameters): StreamableMethod; } // @public @@ -24042,16 +25174,16 @@ export interface WebAppsListSnapshots200Response extends HttpResponse { } // @public -export interface WebAppsListSnapshotsdefaultResponse extends HttpResponse { +export interface WebAppsListSnapshotsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsListSnapshotsFromDRSecondary { - get(options?: WebAppsListSnapshotsFromDRSecondaryParameters): Promise; + get(options?: WebAppsListSnapshotsFromDRSecondaryParameters): StreamableMethod; } // @public @@ -24063,11 +25195,11 @@ export interface WebAppsListSnapshotsFromDRSecondary200Response extends HttpResp } // @public -export interface WebAppsListSnapshotsFromDRSecondarydefaultResponse extends HttpResponse { +export interface WebAppsListSnapshotsFromDRSecondaryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24075,7 +25207,7 @@ export type WebAppsListSnapshotsFromDRSecondaryParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSnapshotsFromDRSecondarySlot { - get(options?: WebAppsListSnapshotsFromDRSecondarySlotParameters): Promise; + get(options?: WebAppsListSnapshotsFromDRSecondarySlotParameters): StreamableMethod; } // @public @@ -24087,11 +25219,11 @@ export interface WebAppsListSnapshotsFromDRSecondarySlot200Response extends Http } // @public -export interface WebAppsListSnapshotsFromDRSecondarySlotdefaultResponse extends HttpResponse { +export interface WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24102,7 +25234,7 @@ export type WebAppsListSnapshotsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSnapshotsSlot { - get(options?: WebAppsListSnapshotsSlotParameters): Promise; + get(options?: WebAppsListSnapshotsSlotParameters): StreamableMethod; } // @public @@ -24114,11 +25246,11 @@ export interface WebAppsListSnapshotsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListSnapshotsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSnapshotsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24126,7 +25258,7 @@ export type WebAppsListSnapshotsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSyncFunctionTriggers { - post(options?: WebAppsListSyncFunctionTriggersParameters): Promise; + post(options?: WebAppsListSyncFunctionTriggersParameters): StreamableMethod; } // @public @@ -24138,11 +25270,11 @@ export interface WebAppsListSyncFunctionTriggers200Response extends HttpResponse } // @public -export interface WebAppsListSyncFunctionTriggersdefaultResponse extends HttpResponse { +export interface WebAppsListSyncFunctionTriggersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24150,7 +25282,7 @@ export type WebAppsListSyncFunctionTriggersParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSyncFunctionTriggersSlot { - post(options?: WebAppsListSyncFunctionTriggersSlotParameters): Promise; + post(options?: WebAppsListSyncFunctionTriggersSlotParameters): StreamableMethod; } // @public @@ -24162,11 +25294,11 @@ export interface WebAppsListSyncFunctionTriggersSlot200Response extends HttpResp } // @public -export interface WebAppsListSyncFunctionTriggersSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSyncFunctionTriggersSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24174,23 +25306,21 @@ export type WebAppsListSyncFunctionTriggersSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSyncStatus { - post(options?: WebAppsListSyncStatusParameters): Promise; + post(options?: WebAppsListSyncStatusParameters): StreamableMethod; } // @public export interface WebAppsListSyncStatus204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsListSyncStatusdefaultResponse extends HttpResponse { +export interface WebAppsListSyncStatusDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24198,23 +25328,21 @@ export type WebAppsListSyncStatusParameters = RequestParameters; // @public (undocumented) export interface WebAppsListSyncStatusSlot { - post(options?: WebAppsListSyncStatusSlotParameters): Promise; + post(options?: WebAppsListSyncStatusSlotParameters): StreamableMethod; } // @public export interface WebAppsListSyncStatusSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsListSyncStatusSlotdefaultResponse extends HttpResponse { +export interface WebAppsListSyncStatusSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24222,7 +25350,7 @@ export type WebAppsListSyncStatusSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListTriggeredWebJobHistory { - get(options?: WebAppsListTriggeredWebJobHistoryParameters): Promise; + get(options?: WebAppsListTriggeredWebJobHistoryParameters): StreamableMethod; } // @public @@ -24235,18 +25363,16 @@ export interface WebAppsListTriggeredWebJobHistory200Response extends HttpRespon // @public export interface WebAppsListTriggeredWebJobHistory404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListTriggeredWebJobHistorydefaultResponse extends HttpResponse { +export interface WebAppsListTriggeredWebJobHistoryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24254,7 +25380,7 @@ export type WebAppsListTriggeredWebJobHistoryParameters = RequestParameters; // @public (undocumented) export interface WebAppsListTriggeredWebJobHistorySlot { - get(options?: WebAppsListTriggeredWebJobHistorySlotParameters): Promise; + get(options?: WebAppsListTriggeredWebJobHistorySlotParameters): StreamableMethod; } // @public @@ -24267,18 +25393,16 @@ export interface WebAppsListTriggeredWebJobHistorySlot200Response extends HttpRe // @public export interface WebAppsListTriggeredWebJobHistorySlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsListTriggeredWebJobHistorySlotdefaultResponse extends HttpResponse { +export interface WebAppsListTriggeredWebJobHistorySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24286,7 +25410,7 @@ export type WebAppsListTriggeredWebJobHistorySlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListTriggeredWebJobs { - get(options?: WebAppsListTriggeredWebJobsParameters): Promise; + get(options?: WebAppsListTriggeredWebJobsParameters): StreamableMethod; } // @public @@ -24298,11 +25422,11 @@ export interface WebAppsListTriggeredWebJobs200Response extends HttpResponse { } // @public -export interface WebAppsListTriggeredWebJobsdefaultResponse extends HttpResponse { +export interface WebAppsListTriggeredWebJobsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24310,7 +25434,7 @@ export type WebAppsListTriggeredWebJobsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListTriggeredWebJobsSlot { - get(options?: WebAppsListTriggeredWebJobsSlotParameters): Promise; + get(options?: WebAppsListTriggeredWebJobsSlotParameters): StreamableMethod; } // @public @@ -24322,11 +25446,11 @@ export interface WebAppsListTriggeredWebJobsSlot200Response extends HttpResponse } // @public -export interface WebAppsListTriggeredWebJobsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListTriggeredWebJobsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24334,7 +25458,7 @@ export type WebAppsListTriggeredWebJobsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListUsages { - get(options?: WebAppsListUsagesParameters): Promise; + get(options?: WebAppsListUsagesParameters): StreamableMethod; } // @public @@ -24346,11 +25470,11 @@ export interface WebAppsListUsages200Response extends HttpResponse { } // @public -export interface WebAppsListUsagesdefaultResponse extends HttpResponse { +export interface WebAppsListUsagesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24369,7 +25493,7 @@ export interface WebAppsListUsagesQueryParamProperties { // @public (undocumented) export interface WebAppsListUsagesSlot { - get(options?: WebAppsListUsagesSlotParameters): Promise; + get(options?: WebAppsListUsagesSlotParameters): StreamableMethod; } // @public @@ -24381,11 +25505,11 @@ export interface WebAppsListUsagesSlot200Response extends HttpResponse { } // @public -export interface WebAppsListUsagesSlotdefaultResponse extends HttpResponse { +export interface WebAppsListUsagesSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24404,7 +25528,7 @@ export interface WebAppsListUsagesSlotQueryParamProperties { // @public (undocumented) export interface WebAppsListVnetConnections { - get(options?: WebAppsListVnetConnectionsParameters): Promise; + get(options?: WebAppsListVnetConnectionsParameters): StreamableMethod; } // @public @@ -24416,11 +25540,11 @@ export interface WebAppsListVnetConnections200Response extends HttpResponse { } // @public -export interface WebAppsListVnetConnectionsdefaultResponse extends HttpResponse { +export interface WebAppsListVnetConnectionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24428,7 +25552,7 @@ export type WebAppsListVnetConnectionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListVnetConnectionsSlot { - get(options?: WebAppsListVnetConnectionsSlotParameters): Promise; + get(options?: WebAppsListVnetConnectionsSlotParameters): StreamableMethod; } // @public @@ -24440,11 +25564,11 @@ export interface WebAppsListVnetConnectionsSlot200Response extends HttpResponse } // @public -export interface WebAppsListVnetConnectionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListVnetConnectionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24452,7 +25576,7 @@ export type WebAppsListVnetConnectionsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsListWebJobs { - get(options?: WebAppsListWebJobsParameters): Promise; + get(options?: WebAppsListWebJobsParameters): StreamableMethod; } // @public @@ -24464,11 +25588,11 @@ export interface WebAppsListWebJobs200Response extends HttpResponse { } // @public -export interface WebAppsListWebJobsdefaultResponse extends HttpResponse { +export interface WebAppsListWebJobsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24476,7 +25600,7 @@ export type WebAppsListWebJobsParameters = RequestParameters; // @public (undocumented) export interface WebAppsListWebJobsSlot { - get(options?: WebAppsListWebJobsSlotParameters): Promise; + get(options?: WebAppsListWebJobsSlotParameters): StreamableMethod; } // @public @@ -24488,11 +25612,11 @@ export interface WebAppsListWebJobsSlot200Response extends HttpResponse { } // @public -export interface WebAppsListWebJobsSlotdefaultResponse extends HttpResponse { +export interface WebAppsListWebJobsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24500,7 +25624,7 @@ export type WebAppsListWebJobsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsMigrateMySql { - post(options: WebAppsMigrateMySqlParameters): Promise; + post(options: WebAppsMigrateMySqlParameters): StreamableMethod; } // @public @@ -24517,11 +25641,11 @@ export interface WebAppsMigrateMySqlBodyParam { } // @public -export interface WebAppsMigrateMySqldefaultResponse extends HttpResponse { +export interface WebAppsMigrateMySqlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24534,7 +25658,7 @@ export type WebAppsMigrateMySqlParameters = WebAppsMigrateMySqlMediaTypesParam & // @public (undocumented) export interface WebAppsMigrateStorage { - put(options: WebAppsMigrateStorageParameters): Promise; + put(options: WebAppsMigrateStorageParameters): StreamableMethod; } // @public @@ -24551,11 +25675,11 @@ export interface WebAppsMigrateStorageBodyParam { } // @public -export interface WebAppsMigrateStoragedefaultResponse extends HttpResponse { +export interface WebAppsMigrateStorageDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24591,11 +25715,11 @@ export interface WebAppsPutPrivateAccessVnetBodyParam { } // @public -export interface WebAppsPutPrivateAccessVnetdefaultResponse extends HttpResponse { +export interface WebAppsPutPrivateAccessVnetDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24620,11 +25744,11 @@ export interface WebAppsPutPrivateAccessVnetSlotBodyParam { } // @public -export interface WebAppsPutPrivateAccessVnetSlotdefaultResponse extends HttpResponse { +export interface WebAppsPutPrivateAccessVnetSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24637,23 +25761,21 @@ export type WebAppsPutPrivateAccessVnetSlotParameters = WebAppsPutPrivateAccessV // @public (undocumented) export interface WebAppsRecoverSiteConfigurationSnapshot { - post(options?: WebAppsRecoverSiteConfigurationSnapshotParameters): Promise; + post(options?: WebAppsRecoverSiteConfigurationSnapshotParameters): StreamableMethod; } // @public export interface WebAppsRecoverSiteConfigurationSnapshot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsRecoverSiteConfigurationSnapshotdefaultResponse extends HttpResponse { +export interface WebAppsRecoverSiteConfigurationSnapshotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24661,23 +25783,21 @@ export type WebAppsRecoverSiteConfigurationSnapshotParameters = RequestParameter // @public (undocumented) export interface WebAppsRecoverSiteConfigurationSnapshotSlot { - post(options?: WebAppsRecoverSiteConfigurationSnapshotSlotParameters): Promise; + post(options?: WebAppsRecoverSiteConfigurationSnapshotSlotParameters): StreamableMethod; } // @public export interface WebAppsRecoverSiteConfigurationSnapshotSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsRecoverSiteConfigurationSnapshotSlotdefaultResponse extends HttpResponse { +export interface WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24685,23 +25805,21 @@ export type WebAppsRecoverSiteConfigurationSnapshotSlotParameters = RequestParam // @public (undocumented) export interface WebAppsResetProductionSlotConfig { - post(options?: WebAppsResetProductionSlotConfigParameters): Promise; + post(options?: WebAppsResetProductionSlotConfigParameters): StreamableMethod; } // @public export interface WebAppsResetProductionSlotConfig200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsResetProductionSlotConfigdefaultResponse extends HttpResponse { +export interface WebAppsResetProductionSlotConfigDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24709,23 +25827,21 @@ export type WebAppsResetProductionSlotConfigParameters = RequestParameters; // @public (undocumented) export interface WebAppsResetSlotConfigurationSlot { - post(options?: WebAppsResetSlotConfigurationSlotParameters): Promise; + post(options?: WebAppsResetSlotConfigurationSlotParameters): StreamableMethod; } // @public export interface WebAppsResetSlotConfigurationSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsResetSlotConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsResetSlotConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24733,23 +25849,21 @@ export type WebAppsResetSlotConfigurationSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsRestart { - post(options?: WebAppsRestartParameters): Promise; + post(options?: WebAppsRestartParameters): StreamableMethod; } // @public export interface WebAppsRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsRestartdefaultResponse extends HttpResponse { +export interface WebAppsRestartDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24769,23 +25883,21 @@ export interface WebAppsRestartQueryParamProperties { // @public (undocumented) export interface WebAppsRestartSlot { - post(options?: WebAppsRestartSlotParameters): Promise; + post(options?: WebAppsRestartSlotParameters): StreamableMethod; } // @public export interface WebAppsRestartSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsRestartSlotdefaultResponse extends HttpResponse { +export interface WebAppsRestartSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24805,21 +25917,17 @@ export interface WebAppsRestartSlotQueryParamProperties { // @public (undocumented) export interface WebAppsRestore { - post(options: WebAppsRestoreParameters): Promise; + post(options: WebAppsRestoreParameters): StreamableMethod; } // @public export interface WebAppsRestore200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestore202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24830,30 +25938,26 @@ export interface WebAppsRestoreBodyParam { } // @public -export interface WebAppsRestoredefaultResponse extends HttpResponse { +export interface WebAppsRestoreDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsRestoreFromBackupBlob { - post(options: WebAppsRestoreFromBackupBlobParameters): Promise; + post(options: WebAppsRestoreFromBackupBlobParameters): StreamableMethod; } // @public export interface WebAppsRestoreFromBackupBlob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreFromBackupBlob202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24864,11 +25968,11 @@ export interface WebAppsRestoreFromBackupBlobBodyParam { } // @public -export interface WebAppsRestoreFromBackupBlobdefaultResponse extends HttpResponse { +export interface WebAppsRestoreFromBackupBlobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24881,21 +25985,17 @@ export type WebAppsRestoreFromBackupBlobParameters = WebAppsRestoreFromBackupBlo // @public (undocumented) export interface WebAppsRestoreFromBackupBlobSlot { - post(options: WebAppsRestoreFromBackupBlobSlotParameters): Promise; + post(options: WebAppsRestoreFromBackupBlobSlotParameters): StreamableMethod; } // @public export interface WebAppsRestoreFromBackupBlobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreFromBackupBlobSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24906,11 +26006,11 @@ export interface WebAppsRestoreFromBackupBlobSlotBodyParam { } // @public -export interface WebAppsRestoreFromBackupBlobSlotdefaultResponse extends HttpResponse { +export interface WebAppsRestoreFromBackupBlobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24923,21 +26023,17 @@ export type WebAppsRestoreFromBackupBlobSlotParameters = WebAppsRestoreFromBacku // @public (undocumented) export interface WebAppsRestoreFromDeletedApp { - post(options: WebAppsRestoreFromDeletedAppParameters): Promise; + post(options: WebAppsRestoreFromDeletedAppParameters): StreamableMethod; } // @public export interface WebAppsRestoreFromDeletedApp200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreFromDeletedApp202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24948,11 +26044,11 @@ export interface WebAppsRestoreFromDeletedAppBodyParam { } // @public -export interface WebAppsRestoreFromDeletedAppdefaultResponse extends HttpResponse { +export interface WebAppsRestoreFromDeletedAppDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -24965,21 +26061,17 @@ export type WebAppsRestoreFromDeletedAppParameters = WebAppsRestoreFromDeletedAp // @public (undocumented) export interface WebAppsRestoreFromDeletedAppSlot { - post(options: WebAppsRestoreFromDeletedAppSlotParameters): Promise; + post(options: WebAppsRestoreFromDeletedAppSlotParameters): StreamableMethod; } // @public export interface WebAppsRestoreFromDeletedAppSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreFromDeletedAppSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -24990,11 +26082,11 @@ export interface WebAppsRestoreFromDeletedAppSlotBodyParam { } // @public -export interface WebAppsRestoreFromDeletedAppSlotdefaultResponse extends HttpResponse { +export interface WebAppsRestoreFromDeletedAppSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25015,21 +26107,17 @@ export type WebAppsRestoreParameters = WebAppsRestoreMediaTypesParam & WebAppsRe // @public (undocumented) export interface WebAppsRestoreSlot { - post(options: WebAppsRestoreSlotParameters): Promise; + post(options: WebAppsRestoreSlotParameters): StreamableMethod; } // @public export interface WebAppsRestoreSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25040,11 +26128,11 @@ export interface WebAppsRestoreSlotBodyParam { } // @public -export interface WebAppsRestoreSlotdefaultResponse extends HttpResponse { +export interface WebAppsRestoreSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25057,21 +26145,17 @@ export type WebAppsRestoreSlotParameters = WebAppsRestoreSlotMediaTypesParam & W // @public (undocumented) export interface WebAppsRestoreSnapshot { - post(options: WebAppsRestoreSnapshotParameters): Promise; + post(options: WebAppsRestoreSnapshotParameters): StreamableMethod; } // @public export interface WebAppsRestoreSnapshot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreSnapshot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25082,11 +26166,11 @@ export interface WebAppsRestoreSnapshotBodyParam { } // @public -export interface WebAppsRestoreSnapshotdefaultResponse extends HttpResponse { +export interface WebAppsRestoreSnapshotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25099,21 +26183,17 @@ export type WebAppsRestoreSnapshotParameters = WebAppsRestoreSnapshotMediaTypesP // @public (undocumented) export interface WebAppsRestoreSnapshotSlot { - post(options: WebAppsRestoreSnapshotSlotParameters): Promise; + post(options: WebAppsRestoreSnapshotSlotParameters): StreamableMethod; } // @public export interface WebAppsRestoreSnapshotSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRestoreSnapshotSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25124,11 +26204,11 @@ export interface WebAppsRestoreSnapshotSlotBodyParam { } // @public -export interface WebAppsRestoreSnapshotSlotdefaultResponse extends HttpResponse { +export interface WebAppsRestoreSnapshotSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25141,31 +26221,27 @@ export type WebAppsRestoreSnapshotSlotParameters = WebAppsRestoreSnapshotSlotMed // @public (undocumented) export interface WebAppsRunTriggeredWebJob { - post(options?: WebAppsRunTriggeredWebJobParameters): Promise; + post(options?: WebAppsRunTriggeredWebJobParameters): StreamableMethod; } // @public export interface WebAppsRunTriggeredWebJob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRunTriggeredWebJob404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsRunTriggeredWebJobdefaultResponse extends HttpResponse { +export interface WebAppsRunTriggeredWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25173,31 +26249,27 @@ export type WebAppsRunTriggeredWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsRunTriggeredWebJobSlot { - post(options?: WebAppsRunTriggeredWebJobSlotParameters): Promise; + post(options?: WebAppsRunTriggeredWebJobSlotParameters): StreamableMethod; } // @public export interface WebAppsRunTriggeredWebJobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsRunTriggeredWebJobSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsRunTriggeredWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsRunTriggeredWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25205,44 +26277,38 @@ export type WebAppsRunTriggeredWebJobSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsStart { - post(options?: WebAppsStartParameters): Promise; + post(options?: WebAppsStartParameters): StreamableMethod; } // @public export interface WebAppsStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public (undocumented) export interface WebAppsStartContinuousWebJob { - post(options?: WebAppsStartContinuousWebJobParameters): Promise; + post(options?: WebAppsStartContinuousWebJobParameters): StreamableMethod; } // @public export interface WebAppsStartContinuousWebJob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStartContinuousWebJob404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsStartContinuousWebJobdefaultResponse extends HttpResponse { +export interface WebAppsStartContinuousWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25250,47 +26316,43 @@ export type WebAppsStartContinuousWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsStartContinuousWebJobSlot { - post(options?: WebAppsStartContinuousWebJobSlotParameters): Promise; + post(options?: WebAppsStartContinuousWebJobSlotParameters): StreamableMethod; } // @public export interface WebAppsStartContinuousWebJobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStartContinuousWebJobSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsStartContinuousWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsStartContinuousWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsStartContinuousWebJobSlotParameters = RequestParameters; // @public -export interface WebAppsStartdefaultResponse extends HttpResponse { +export interface WebAppsStartDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsStartNetworkTrace { - post(options?: WebAppsStartNetworkTraceParameters): Promise; + post(options?: WebAppsStartNetworkTraceParameters): StreamableMethod; } // @public @@ -25310,11 +26372,11 @@ export interface WebAppsStartNetworkTrace202Response extends HttpResponse { } // @public -export interface WebAppsStartNetworkTracedefaultResponse extends HttpResponse { +export interface WebAppsStartNetworkTraceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25335,7 +26397,7 @@ export interface WebAppsStartNetworkTraceQueryParamProperties { // @public (undocumented) export interface WebAppsStartNetworkTraceSlot { - post(options?: WebAppsStartNetworkTraceSlotParameters): Promise; + post(options?: WebAppsStartNetworkTraceSlotParameters): StreamableMethod; } // @public @@ -25355,11 +26417,11 @@ export interface WebAppsStartNetworkTraceSlot202Response extends HttpResponse { } // @public -export interface WebAppsStartNetworkTraceSlotdefaultResponse extends HttpResponse { +export interface WebAppsStartNetworkTraceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25383,23 +26445,21 @@ export type WebAppsStartParameters = RequestParameters; // @public (undocumented) export interface WebAppsStartSlot { - post(options?: WebAppsStartSlotParameters): Promise; + post(options?: WebAppsStartSlotParameters): StreamableMethod; } // @public export interface WebAppsStartSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsStartSlotdefaultResponse extends HttpResponse { +export interface WebAppsStartSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25407,7 +26467,7 @@ export type WebAppsStartSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsStartWebSiteNetworkTrace { - post(options?: WebAppsStartWebSiteNetworkTraceParameters): Promise; + post(options?: WebAppsStartWebSiteNetworkTraceParameters): StreamableMethod; } // @public @@ -25419,16 +26479,16 @@ export interface WebAppsStartWebSiteNetworkTrace200Response extends HttpResponse } // @public -export interface WebAppsStartWebSiteNetworkTracedefaultResponse extends HttpResponse { +export interface WebAppsStartWebSiteNetworkTraceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsStartWebSiteNetworkTraceOperation { - post(options?: WebAppsStartWebSiteNetworkTraceOperationParameters): Promise; + post(options?: WebAppsStartWebSiteNetworkTraceOperationParameters): StreamableMethod; } // @public @@ -25448,11 +26508,11 @@ export interface WebAppsStartWebSiteNetworkTraceOperation202Response extends Htt } // @public -export interface WebAppsStartWebSiteNetworkTraceOperationdefaultResponse extends HttpResponse { +export interface WebAppsStartWebSiteNetworkTraceOperationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25473,7 +26533,7 @@ export interface WebAppsStartWebSiteNetworkTraceOperationQueryParamProperties { // @public (undocumented) export interface WebAppsStartWebSiteNetworkTraceOperationSlot { - post(options?: WebAppsStartWebSiteNetworkTraceOperationSlotParameters): Promise; + post(options?: WebAppsStartWebSiteNetworkTraceOperationSlotParameters): StreamableMethod; } // @public @@ -25493,11 +26553,11 @@ export interface WebAppsStartWebSiteNetworkTraceOperationSlot202Response extends } // @public -export interface WebAppsStartWebSiteNetworkTraceOperationSlotdefaultResponse extends HttpResponse { +export interface WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25534,7 +26594,7 @@ export interface WebAppsStartWebSiteNetworkTraceQueryParamProperties { // @public (undocumented) export interface WebAppsStartWebSiteNetworkTraceSlot { - post(options?: WebAppsStartWebSiteNetworkTraceSlotParameters): Promise; + post(options?: WebAppsStartWebSiteNetworkTraceSlotParameters): StreamableMethod; } // @public @@ -25546,11 +26606,11 @@ export interface WebAppsStartWebSiteNetworkTraceSlot200Response extends HttpResp } // @public -export interface WebAppsStartWebSiteNetworkTraceSlotdefaultResponse extends HttpResponse { +export interface WebAppsStartWebSiteNetworkTraceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25571,44 +26631,38 @@ export interface WebAppsStartWebSiteNetworkTraceSlotQueryParamProperties { // @public (undocumented) export interface WebAppsStop { - post(options?: WebAppsStopParameters): Promise; + post(options?: WebAppsStopParameters): StreamableMethod; } // @public export interface WebAppsStop200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public (undocumented) export interface WebAppsStopContinuousWebJob { - post(options?: WebAppsStopContinuousWebJobParameters): Promise; + post(options?: WebAppsStopContinuousWebJobParameters): StreamableMethod; } // @public export interface WebAppsStopContinuousWebJob200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopContinuousWebJob404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsStopContinuousWebJobdefaultResponse extends HttpResponse { +export interface WebAppsStopContinuousWebJobDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25616,71 +26670,63 @@ export type WebAppsStopContinuousWebJobParameters = RequestParameters; // @public (undocumented) export interface WebAppsStopContinuousWebJobSlot { - post(options?: WebAppsStopContinuousWebJobSlotParameters): Promise; + post(options?: WebAppsStopContinuousWebJobSlotParameters): StreamableMethod; } // @public export interface WebAppsStopContinuousWebJobSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopContinuousWebJobSlot404Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "404"; } // @public -export interface WebAppsStopContinuousWebJobSlotdefaultResponse extends HttpResponse { +export interface WebAppsStopContinuousWebJobSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsStopContinuousWebJobSlotParameters = RequestParameters; // @public -export interface WebAppsStopdefaultResponse extends HttpResponse { +export interface WebAppsStopDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export interface WebAppsStopNetworkTrace { - post(options?: WebAppsStopNetworkTraceParameters): Promise; + post(options?: WebAppsStopNetworkTraceParameters): StreamableMethod; } // @public export interface WebAppsStopNetworkTrace200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopNetworkTrace204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsStopNetworkTracedefaultResponse extends HttpResponse { +export interface WebAppsStopNetworkTraceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25688,31 +26734,27 @@ export type WebAppsStopNetworkTraceParameters = RequestParameters; // @public (undocumented) export interface WebAppsStopNetworkTraceSlot { - post(options?: WebAppsStopNetworkTraceSlotParameters): Promise; + post(options?: WebAppsStopNetworkTraceSlotParameters): StreamableMethod; } // @public export interface WebAppsStopNetworkTraceSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopNetworkTraceSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsStopNetworkTraceSlotdefaultResponse extends HttpResponse { +export interface WebAppsStopNetworkTraceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25723,23 +26765,21 @@ export type WebAppsStopParameters = RequestParameters; // @public (undocumented) export interface WebAppsStopSlot { - post(options?: WebAppsStopSlotParameters): Promise; + post(options?: WebAppsStopSlotParameters): StreamableMethod; } // @public export interface WebAppsStopSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsStopSlotdefaultResponse extends HttpResponse { +export interface WebAppsStopSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25747,31 +26787,27 @@ export type WebAppsStopSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsStopWebSiteNetworkTrace { - post(options?: WebAppsStopWebSiteNetworkTraceParameters): Promise; + post(options?: WebAppsStopWebSiteNetworkTraceParameters): StreamableMethod; } // @public export interface WebAppsStopWebSiteNetworkTrace200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopWebSiteNetworkTrace204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsStopWebSiteNetworkTracedefaultResponse extends HttpResponse { +export interface WebAppsStopWebSiteNetworkTraceDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25779,31 +26815,27 @@ export type WebAppsStopWebSiteNetworkTraceParameters = RequestParameters; // @public (undocumented) export interface WebAppsStopWebSiteNetworkTraceSlot { - post(options?: WebAppsStopWebSiteNetworkTraceSlotParameters): Promise; + post(options?: WebAppsStopWebSiteNetworkTraceSlotParameters): StreamableMethod; } // @public export interface WebAppsStopWebSiteNetworkTraceSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsStopWebSiteNetworkTraceSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsStopWebSiteNetworkTraceSlotdefaultResponse extends HttpResponse { +export interface WebAppsStopWebSiteNetworkTraceSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25811,21 +26843,17 @@ export type WebAppsStopWebSiteNetworkTraceSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsSwapSlot { - post(options: WebAppsSwapSlotParameters): Promise; + post(options: WebAppsSwapSlotParameters): StreamableMethod; } // @public export interface WebAppsSwapSlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsSwapSlot202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25836,11 +26864,11 @@ export interface WebAppsSwapSlotBodyParam { } // @public -export interface WebAppsSwapSlotdefaultResponse extends HttpResponse { +export interface WebAppsSwapSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25853,21 +26881,17 @@ export type WebAppsSwapSlotParameters = WebAppsSwapSlotMediaTypesParam & WebApps // @public (undocumented) export interface WebAppsSwapSlotWithProduction { - post(options: WebAppsSwapSlotWithProductionParameters): Promise; + post(options: WebAppsSwapSlotWithProductionParameters): StreamableMethod; } // @public export interface WebAppsSwapSlotWithProduction200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface WebAppsSwapSlotWithProduction202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -25878,11 +26902,11 @@ export interface WebAppsSwapSlotWithProductionBodyParam { } // @public -export interface WebAppsSwapSlotWithProductiondefaultResponse extends HttpResponse { +export interface WebAppsSwapSlotWithProductionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25895,23 +26919,21 @@ export type WebAppsSwapSlotWithProductionParameters = WebAppsSwapSlotWithProduct // @public (undocumented) export interface WebAppsSyncFunctions { - post(options?: WebAppsSyncFunctionsParameters): Promise; + post(options?: WebAppsSyncFunctionsParameters): StreamableMethod; } // @public export interface WebAppsSyncFunctions204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsSyncFunctionsdefaultResponse extends HttpResponse { +export interface WebAppsSyncFunctionsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25919,23 +26941,21 @@ export type WebAppsSyncFunctionsParameters = RequestParameters; // @public (undocumented) export interface WebAppsSyncFunctionsSlot { - post(options?: WebAppsSyncFunctionsSlotParameters): Promise; + post(options?: WebAppsSyncFunctionsSlotParameters): StreamableMethod; } // @public export interface WebAppsSyncFunctionsSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsSyncFunctionsSlotdefaultResponse extends HttpResponse { +export interface WebAppsSyncFunctionsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25943,23 +26963,21 @@ export type WebAppsSyncFunctionsSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsSyncFunctionTriggers { - post(options?: WebAppsSyncFunctionTriggersParameters): Promise; + post(options?: WebAppsSyncFunctionTriggersParameters): StreamableMethod; } // @public export interface WebAppsSyncFunctionTriggers204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsSyncFunctionTriggersdefaultResponse extends HttpResponse { +export interface WebAppsSyncFunctionTriggersDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25967,23 +26985,21 @@ export type WebAppsSyncFunctionTriggersParameters = RequestParameters; // @public (undocumented) export interface WebAppsSyncFunctionTriggersSlot { - post(options?: WebAppsSyncFunctionTriggersSlotParameters): Promise; + post(options?: WebAppsSyncFunctionTriggersSlotParameters): StreamableMethod; } // @public export interface WebAppsSyncFunctionTriggersSlot204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface WebAppsSyncFunctionTriggersSlotdefaultResponse extends HttpResponse { +export interface WebAppsSyncFunctionTriggersSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -25991,23 +27007,21 @@ export type WebAppsSyncFunctionTriggersSlotParameters = RequestParameters; // @public (undocumented) export interface WebAppsSyncRepository { - post(options?: WebAppsSyncRepositoryParameters): Promise; + post(options?: WebAppsSyncRepositoryParameters): StreamableMethod; } // @public export interface WebAppsSyncRepository200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsSyncRepositorydefaultResponse extends HttpResponse { +export interface WebAppsSyncRepositoryDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26015,60 +27029,53 @@ export type WebAppsSyncRepositoryParameters = RequestParameters; // @public (undocumented) export interface WebAppsSyncRepositorySlot { - post(options?: WebAppsSyncRepositorySlotParameters): Promise; + post(options?: WebAppsSyncRepositorySlotParameters): StreamableMethod; } // @public export interface WebAppsSyncRepositorySlot200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public -export interface WebAppsSyncRepositorySlotdefaultResponse extends HttpResponse { +export interface WebAppsSyncRepositorySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) export type WebAppsSyncRepositorySlotParameters = RequestParameters; -// @public (undocumented) +// @public export interface WebAppStack extends ProxyOnlyResource { - location?: string; properties?: WebAppStackProperties; } -// @public (undocumented) +// @public export interface WebAppStackCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface WebAppStackOutput extends ProxyOnlyResourceOutput { - location?: string; + readonly location?: string; properties?: WebAppStackPropertiesOutput; } -// @public (undocumented) +// @public export interface WebAppStackProperties { - displayText?: string; - majorVersions?: Array; - preferredOs?: "Windows" | "Linux"; - value?: string; } -// @public (undocumented) +// @public export interface WebAppStackPropertiesOutput { - displayText?: string; - majorVersions?: Array; - preferredOs?: "Windows" | "Linux"; - value?: string; + readonly displayText?: string; + readonly majorVersions?: Array; + readonly preferredOs?: "Windows" | "Linux"; + readonly value?: string; } // @public @@ -26089,7 +27096,7 @@ export interface WebAppsUpdate202Response extends HttpResponse { // @public (undocumented) export interface WebAppsUpdateApplicationSettings { - put(options: WebAppsUpdateApplicationSettingsParameters): Promise; + put(options: WebAppsUpdateApplicationSettingsParameters): StreamableMethod; } // @public @@ -26106,11 +27113,11 @@ export interface WebAppsUpdateApplicationSettingsBodyParam { } // @public -export interface WebAppsUpdateApplicationSettingsdefaultResponse extends HttpResponse { +export interface WebAppsUpdateApplicationSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26123,7 +27130,7 @@ export type WebAppsUpdateApplicationSettingsParameters = WebAppsUpdateApplicatio // @public (undocumented) export interface WebAppsUpdateApplicationSettingsSlot { - put(options: WebAppsUpdateApplicationSettingsSlotParameters): Promise; + put(options: WebAppsUpdateApplicationSettingsSlotParameters): StreamableMethod; } // @public @@ -26140,11 +27147,11 @@ export interface WebAppsUpdateApplicationSettingsSlotBodyParam { } // @public -export interface WebAppsUpdateApplicationSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateApplicationSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26157,7 +27164,7 @@ export type WebAppsUpdateApplicationSettingsSlotParameters = WebAppsUpdateApplic // @public (undocumented) export interface WebAppsUpdateAuthSettings { - put(options: WebAppsUpdateAuthSettingsParameters): Promise; + put(options: WebAppsUpdateAuthSettingsParameters): StreamableMethod; } // @public @@ -26174,11 +27181,11 @@ export interface WebAppsUpdateAuthSettingsBodyParam { } // @public -export interface WebAppsUpdateAuthSettingsdefaultResponse extends HttpResponse { +export interface WebAppsUpdateAuthSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26191,7 +27198,7 @@ export type WebAppsUpdateAuthSettingsParameters = WebAppsUpdateAuthSettingsMedia // @public (undocumented) export interface WebAppsUpdateAuthSettingsSlot { - put(options: WebAppsUpdateAuthSettingsSlotParameters): Promise; + put(options: WebAppsUpdateAuthSettingsSlotParameters): StreamableMethod; } // @public @@ -26208,11 +27215,11 @@ export interface WebAppsUpdateAuthSettingsSlotBodyParam { } // @public -export interface WebAppsUpdateAuthSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateAuthSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26237,11 +27244,11 @@ export interface WebAppsUpdateAuthSettingsV2BodyParam { } // @public -export interface WebAppsUpdateAuthSettingsV2defaultResponse extends HttpResponse { +export interface WebAppsUpdateAuthSettingsV2DefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26266,11 +27273,11 @@ export interface WebAppsUpdateAuthSettingsV2SlotBodyParam { } // @public -export interface WebAppsUpdateAuthSettingsV2SlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateAuthSettingsV2SlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26283,7 +27290,7 @@ export type WebAppsUpdateAuthSettingsV2SlotParameters = WebAppsUpdateAuthSetting // @public (undocumented) export interface WebAppsUpdateAzureStorageAccounts { - put(options: WebAppsUpdateAzureStorageAccountsParameters): Promise; + put(options: WebAppsUpdateAzureStorageAccountsParameters): StreamableMethod; } // @public @@ -26300,11 +27307,11 @@ export interface WebAppsUpdateAzureStorageAccountsBodyParam { } // @public -export interface WebAppsUpdateAzureStorageAccountsdefaultResponse extends HttpResponse { +export interface WebAppsUpdateAzureStorageAccountsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26317,7 +27324,7 @@ export type WebAppsUpdateAzureStorageAccountsParameters = WebAppsUpdateAzureStor // @public (undocumented) export interface WebAppsUpdateAzureStorageAccountsSlot { - put(options: WebAppsUpdateAzureStorageAccountsSlotParameters): Promise; + put(options: WebAppsUpdateAzureStorageAccountsSlotParameters): StreamableMethod; } // @public @@ -26334,11 +27341,11 @@ export interface WebAppsUpdateAzureStorageAccountsSlotBodyParam { } // @public -export interface WebAppsUpdateAzureStorageAccountsSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateAzureStorageAccountsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26351,8 +27358,8 @@ export type WebAppsUpdateAzureStorageAccountsSlotParameters = WebAppsUpdateAzure // @public (undocumented) export interface WebAppsUpdateBackupConfiguration { - delete(options?: WebAppsDeleteBackupConfigurationParameters): Promise; - put(options: WebAppsUpdateBackupConfigurationParameters): Promise; + delete(options?: WebAppsDeleteBackupConfigurationParameters): StreamableMethod; + put(options: WebAppsUpdateBackupConfigurationParameters): StreamableMethod; } // @public @@ -26369,11 +27376,11 @@ export interface WebAppsUpdateBackupConfigurationBodyParam { } // @public -export interface WebAppsUpdateBackupConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsUpdateBackupConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26386,8 +27393,8 @@ export type WebAppsUpdateBackupConfigurationParameters = WebAppsUpdateBackupConf // @public (undocumented) export interface WebAppsUpdateBackupConfigurationSlot { - delete(options?: WebAppsDeleteBackupConfigurationSlotParameters): Promise; - put(options: WebAppsUpdateBackupConfigurationSlotParameters): Promise; + delete(options?: WebAppsDeleteBackupConfigurationSlotParameters): StreamableMethod; + put(options: WebAppsUpdateBackupConfigurationSlotParameters): StreamableMethod; } // @public @@ -26404,11 +27411,11 @@ export interface WebAppsUpdateBackupConfigurationSlotBodyParam { } // @public -export interface WebAppsUpdateBackupConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateBackupConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26438,11 +27445,11 @@ export interface WebAppsUpdateConfigurationBodyParam { } // @public -export interface WebAppsUpdateConfigurationdefaultResponse extends HttpResponse { +export interface WebAppsUpdateConfigurationDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26467,11 +27474,11 @@ export interface WebAppsUpdateConfigurationSlotBodyParam { } // @public -export interface WebAppsUpdateConfigurationSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateConfigurationSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26484,7 +27491,7 @@ export type WebAppsUpdateConfigurationSlotParameters = WebAppsUpdateConfiguratio // @public (undocumented) export interface WebAppsUpdateConnectionStrings { - put(options: WebAppsUpdateConnectionStringsParameters): Promise; + put(options: WebAppsUpdateConnectionStringsParameters): StreamableMethod; } // @public @@ -26501,11 +27508,11 @@ export interface WebAppsUpdateConnectionStringsBodyParam { } // @public -export interface WebAppsUpdateConnectionStringsdefaultResponse extends HttpResponse { +export interface WebAppsUpdateConnectionStringsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26518,7 +27525,7 @@ export type WebAppsUpdateConnectionStringsParameters = WebAppsUpdateConnectionSt // @public (undocumented) export interface WebAppsUpdateConnectionStringsSlot { - put(options: WebAppsUpdateConnectionStringsSlotParameters): Promise; + put(options: WebAppsUpdateConnectionStringsSlotParameters): StreamableMethod; } // @public @@ -26535,11 +27542,11 @@ export interface WebAppsUpdateConnectionStringsSlotBodyParam { } // @public -export interface WebAppsUpdateConnectionStringsSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateConnectionStringsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26551,11 +27558,11 @@ export interface WebAppsUpdateConnectionStringsSlotMediaTypesParam { export type WebAppsUpdateConnectionStringsSlotParameters = WebAppsUpdateConnectionStringsSlotMediaTypesParam & WebAppsUpdateConnectionStringsSlotBodyParam & RequestParameters; // @public -export interface WebAppsUpdatedefaultResponse extends HttpResponse { +export interface WebAppsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public @@ -26572,11 +27579,11 @@ export interface WebAppsUpdateDiagnosticLogsConfigBodyParam { } // @public -export interface WebAppsUpdateDiagnosticLogsConfigdefaultResponse extends HttpResponse { +export interface WebAppsUpdateDiagnosticLogsConfigDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26601,11 +27608,11 @@ export interface WebAppsUpdateDiagnosticLogsConfigSlotBodyParam { } // @public -export interface WebAppsUpdateDiagnosticLogsConfigSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26630,11 +27637,11 @@ export interface WebAppsUpdateDomainOwnershipIdentifierBodyParam { } // @public -export interface WebAppsUpdateDomainOwnershipIdentifierdefaultResponse extends HttpResponse { +export interface WebAppsUpdateDomainOwnershipIdentifierDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26659,11 +27666,11 @@ export interface WebAppsUpdateDomainOwnershipIdentifierSlotBodyParam { } // @public -export interface WebAppsUpdateDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26689,11 +27696,11 @@ export interface WebAppsUpdateFtpAllowedBodyParam { } // @public -export interface WebAppsUpdateFtpAlloweddefaultResponse extends HttpResponse { +export interface WebAppsUpdateFtpAllowedDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26719,11 +27726,11 @@ export interface WebAppsUpdateFtpAllowedSlotBodyParam { } // @public -export interface WebAppsUpdateFtpAllowedSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateFtpAllowedSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26748,11 +27755,11 @@ export interface WebAppsUpdateHybridConnectionBodyParam { } // @public -export interface WebAppsUpdateHybridConnectiondefaultResponse extends HttpResponse { +export interface WebAppsUpdateHybridConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26777,11 +27784,11 @@ export interface WebAppsUpdateHybridConnectionSlotBodyParam { } // @public -export interface WebAppsUpdateHybridConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateHybridConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26799,7 +27806,7 @@ export interface WebAppsUpdateMediaTypesParam { // @public (undocumented) export interface WebAppsUpdateMetadata { - put(options: WebAppsUpdateMetadataParameters): Promise; + put(options: WebAppsUpdateMetadataParameters): StreamableMethod; } // @public @@ -26816,11 +27823,11 @@ export interface WebAppsUpdateMetadataBodyParam { } // @public -export interface WebAppsUpdateMetadatadefaultResponse extends HttpResponse { +export interface WebAppsUpdateMetadataDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26833,7 +27840,7 @@ export type WebAppsUpdateMetadataParameters = WebAppsUpdateMetadataMediaTypesPar // @public (undocumented) export interface WebAppsUpdateMetadataSlot { - put(options: WebAppsUpdateMetadataSlotParameters): Promise; + put(options: WebAppsUpdateMetadataSlotParameters): StreamableMethod; } // @public @@ -26850,11 +27857,11 @@ export interface WebAppsUpdateMetadataSlotBodyParam { } // @public -export interface WebAppsUpdateMetadataSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateMetadataSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26882,11 +27889,11 @@ export interface WebAppsUpdatePremierAddOnBodyParam { } // @public -export interface WebAppsUpdatePremierAddOndefaultResponse extends HttpResponse { +export interface WebAppsUpdatePremierAddOnDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26911,11 +27918,11 @@ export interface WebAppsUpdatePremierAddOnSlotBodyParam { } // @public -export interface WebAppsUpdatePremierAddOnSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdatePremierAddOnSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26940,11 +27947,11 @@ export interface WebAppsUpdateRelayServiceConnectionBodyParam { } // @public -export interface WebAppsUpdateRelayServiceConnectiondefaultResponse extends HttpResponse { +export interface WebAppsUpdateRelayServiceConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26969,11 +27976,11 @@ export interface WebAppsUpdateRelayServiceConnectionSlotBodyParam { } // @public -export interface WebAppsUpdateRelayServiceConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateRelayServiceConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -26999,11 +28006,11 @@ export interface WebAppsUpdateScmAllowedBodyParam { } // @public -export interface WebAppsUpdateScmAlloweddefaultResponse extends HttpResponse { +export interface WebAppsUpdateScmAllowedDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27029,11 +28036,11 @@ export interface WebAppsUpdateScmAllowedSlotBodyParam { } // @public -export interface WebAppsUpdateScmAllowedSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateScmAllowedSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27046,7 +28053,7 @@ export type WebAppsUpdateScmAllowedSlotParameters = WebAppsUpdateScmAllowedSlotM // @public (undocumented) export interface WebAppsUpdateSitePushSettings { - put(options: WebAppsUpdateSitePushSettingsParameters): Promise; + put(options: WebAppsUpdateSitePushSettingsParameters): StreamableMethod; } // @public @@ -27063,11 +28070,11 @@ export interface WebAppsUpdateSitePushSettingsBodyParam { } // @public -export interface WebAppsUpdateSitePushSettingsdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSitePushSettingsDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27080,7 +28087,7 @@ export type WebAppsUpdateSitePushSettingsParameters = WebAppsUpdateSitePushSetti // @public (undocumented) export interface WebAppsUpdateSitePushSettingsSlot { - put(options: WebAppsUpdateSitePushSettingsSlotParameters): Promise; + put(options: WebAppsUpdateSitePushSettingsSlotParameters): StreamableMethod; } // @public @@ -27097,11 +28104,11 @@ export interface WebAppsUpdateSitePushSettingsSlotBodyParam { } // @public -export interface WebAppsUpdateSitePushSettingsSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSitePushSettingsSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27147,11 +28154,11 @@ export interface WebAppsUpdateSlotConfigurationNamesBodyParam { } // @public -export interface WebAppsUpdateSlotConfigurationNamesdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSlotConfigurationNamesDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27163,11 +28170,11 @@ export interface WebAppsUpdateSlotConfigurationNamesMediaTypesParam { export type WebAppsUpdateSlotConfigurationNamesParameters = WebAppsUpdateSlotConfigurationNamesMediaTypesParam & WebAppsUpdateSlotConfigurationNamesBodyParam & RequestParameters; // @public -export interface WebAppsUpdateSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27208,11 +28215,11 @@ export interface WebAppsUpdateSourceControlBodyParam { } // @public -export interface WebAppsUpdateSourceControldefaultResponse extends HttpResponse { +export interface WebAppsUpdateSourceControlDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27253,11 +28260,11 @@ export interface WebAppsUpdateSourceControlSlotBodyParam { } // @public -export interface WebAppsUpdateSourceControlSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSourceControlSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27282,11 +28289,11 @@ export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckBodyParam { } // @public -export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27311,11 +28318,11 @@ export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotBodyPara } // @public -export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27340,11 +28347,11 @@ export interface WebAppsUpdateVnetConnectionBodyParam { } // @public -export interface WebAppsUpdateVnetConnectiondefaultResponse extends HttpResponse { +export interface WebAppsUpdateVnetConnectionDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public @@ -27361,11 +28368,11 @@ export interface WebAppsUpdateVnetConnectionGatewayBodyParam { } // @public -export interface WebAppsUpdateVnetConnectionGatewaydefaultResponse extends HttpResponse { +export interface WebAppsUpdateVnetConnectionGatewayDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27390,11 +28397,11 @@ export interface WebAppsUpdateVnetConnectionGatewaySlotBodyParam { } // @public -export interface WebAppsUpdateVnetConnectionGatewaySlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27427,11 +28434,11 @@ export interface WebAppsUpdateVnetConnectionSlotBodyParam { } // @public -export interface WebAppsUpdateVnetConnectionSlotdefaultResponse extends HttpResponse { +export interface WebAppsUpdateVnetConnectionSlotDefaultResponse extends HttpResponse { // (undocumented) body: DefaultErrorResponseOutput; // (undocumented) - status: "500"; + status: string; } // @public (undocumented) @@ -27442,23 +28449,23 @@ export interface WebAppsUpdateVnetConnectionSlotMediaTypesParam { // @public (undocumented) export type WebAppsUpdateVnetConnectionSlotParameters = WebAppsUpdateVnetConnectionSlotMediaTypesParam & WebAppsUpdateVnetConnectionSlotBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface WebJob extends ProxyOnlyResource { properties?: WebJobProperties; } -// @public (undocumented) +// @public export interface WebJobCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface WebJobOutput extends ProxyOnlyResourceOutput { properties?: WebJobPropertiesOutput; } -// @public (undocumented) +// @public export interface WebJobProperties { error?: string; extra_info_url?: string; @@ -27469,7 +28476,7 @@ export interface WebJobProperties { web_job_type?: "Continuous" | "Triggered"; } -// @public (undocumented) +// @public export interface WebJobPropertiesOutput { error?: string; extra_info_url?: string; @@ -27490,7 +28497,7 @@ export interface WebSiteInstanceStatusOutput extends ProxyOnlyResourceOutput { properties?: WebSiteInstanceStatusPropertiesOutput; } -// @public (undocumented) +// @public export interface WebSiteInstanceStatusProperties { consoleUrl?: string; containers?: Record; @@ -27501,7 +28508,7 @@ export interface WebSiteInstanceStatusProperties { statusUrl?: string; } -// @public (undocumented) +// @public export interface WebSiteInstanceStatusPropertiesOutput { consoleUrl?: string; containers?: Record; @@ -27517,61 +28524,57 @@ export type WebSiteManagementClient = Client & { path: Routes; }; -// @public (undocumented) +// @public +export interface WebSiteManagementClientOptions extends ClientOptions { + apiVersion?: string; +} + +// @public export interface WindowsJavaContainerSettings { - endOfLifeDate?: Date | string; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - javaContainer?: string; - javaContainerVersion?: string; } -// @public (undocumented) +// @public export interface WindowsJavaContainerSettingsOutput { - endOfLifeDate?: string; - isAutoUpdate?: boolean; - isDeprecated?: boolean; - isEarlyAccess?: boolean; - isHidden?: boolean; - isPreview?: boolean; - javaContainer?: string; - javaContainerVersion?: string; + readonly endOfLifeDate?: string; + readonly isAutoUpdate?: boolean; + readonly isDeprecated?: boolean; + readonly isEarlyAccess?: boolean; + readonly isHidden?: boolean; + readonly isPreview?: boolean; + readonly javaContainer?: string; + readonly javaContainerVersion?: string; } -// @public (undocumented) +// @public export interface WorkerPool { computeMode?: "Shared" | "Dedicated" | "Dynamic"; - instanceNames?: Array; workerCount?: number; workerSize?: string; workerSizeId?: number; } -// @public (undocumented) +// @public export interface WorkerPoolCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface WorkerPoolOutput { computeMode?: "Shared" | "Dedicated" | "Dynamic"; - instanceNames?: Array; + readonly instanceNames?: Array; workerCount?: number; workerSize?: string; workerSizeId?: number; } -// @public (undocumented) +// @public export interface WorkerPoolResource extends ProxyOnlyResource { properties?: WorkerPool; sku?: SkuDescription; } -// @public (undocumented) +// @public export interface WorkerPoolResourceOutput extends ProxyOnlyResourceOutput { properties?: WorkerPoolOutput; sku?: SkuDescriptionOutput; diff --git a/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/README.md b/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/README.md index f8d49a4c910c..b5f4aeb950f2 100644 --- a/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/README.md +++ b/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/README.md @@ -59,6 +59,6 @@ Take a look at our [API Documentation][apiref] for more information about the AP [appserviceplanslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/appServicePlansListByResourceGroupSample.js [appserviceplanslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/appServicePlansListSample.js [appserviceplansupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/javascript/appServicePlansUpdateSample.js -[apiref]: https://docs.microsoft.com/rest/api/appservice +[apiref]: https://learn.microsoft.com/rest/api/appservice [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice-rest/README.md diff --git a/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/README.md b/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/README.md index 5cbd9f9c1d2c..73eced6786c3 100644 --- a/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/README.md +++ b/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/README.md @@ -71,7 +71,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [appserviceplanslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/src/appServicePlansListByResourceGroupSample.ts [appserviceplanslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/src/appServicePlansListSample.ts [appserviceplansupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appservice/arm-appservice-rest/samples/v1-beta/typescript/src/appServicePlansUpdateSample.ts -[apiref]: https://docs.microsoft.com/rest/api/appservice +[apiref]: https://learn.microsoft.com/rest/api/appservice [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts b/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts index 9045655e247e..67dacdafc7f7 100644 --- a/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts +++ b/sdk/appservice/arm-appservice-rest/src/clientDefinitions.ts @@ -654,1546 +654,1546 @@ import type { WebAppsUpdateVnetConnectionGatewayParameters, WebAppsListWebJobsParameters, WebAppsGetWebJobParameters, -} from "./parameters"; +} from "./parameters.js"; import type { AppServiceCertificateOrdersList200Response, - AppServiceCertificateOrdersListdefaultResponse, + AppServiceCertificateOrdersListDefaultResponse, AppServiceCertificateOrdersValidatePurchaseInformation204Response, - AppServiceCertificateOrdersValidatePurchaseInformationdefaultResponse, + AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse, AppServiceCertificateOrdersListByResourceGroup200Response, - AppServiceCertificateOrdersListByResourceGroupdefaultResponse, + AppServiceCertificateOrdersListByResourceGroupDefaultResponse, AppServiceCertificateOrdersGet200Response, - AppServiceCertificateOrdersGetdefaultResponse, + AppServiceCertificateOrdersGetDefaultResponse, AppServiceCertificateOrdersCreateOrUpdate200Response, AppServiceCertificateOrdersCreateOrUpdate201Response, - AppServiceCertificateOrdersCreateOrUpdatedefaultResponse, + AppServiceCertificateOrdersCreateOrUpdateDefaultResponse, AppServiceCertificateOrdersDelete200Response, AppServiceCertificateOrdersDelete204Response, - AppServiceCertificateOrdersDeletedefaultResponse, + AppServiceCertificateOrdersDeleteDefaultResponse, AppServiceCertificateOrdersUpdate200Response, - AppServiceCertificateOrdersUpdatedefaultResponse, + AppServiceCertificateOrdersUpdateDefaultResponse, AppServiceCertificateOrdersListCertificates200Response, - AppServiceCertificateOrdersListCertificatesdefaultResponse, + AppServiceCertificateOrdersListCertificatesDefaultResponse, AppServiceCertificateOrdersGetCertificate200Response, - AppServiceCertificateOrdersGetCertificatedefaultResponse, + AppServiceCertificateOrdersGetCertificateDefaultResponse, AppServiceCertificateOrdersCreateOrUpdateCertificate200Response, AppServiceCertificateOrdersCreateOrUpdateCertificate201Response, - AppServiceCertificateOrdersCreateOrUpdateCertificatedefaultResponse, + AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse, AppServiceCertificateOrdersDeleteCertificate200Response, AppServiceCertificateOrdersDeleteCertificate204Response, - AppServiceCertificateOrdersDeleteCertificatedefaultResponse, + AppServiceCertificateOrdersDeleteCertificateDefaultResponse, AppServiceCertificateOrdersUpdateCertificate200Response, - AppServiceCertificateOrdersUpdateCertificatedefaultResponse, + AppServiceCertificateOrdersUpdateCertificateDefaultResponse, AppServiceCertificateOrdersReissue204Response, - AppServiceCertificateOrdersReissuedefaultResponse, + AppServiceCertificateOrdersReissueDefaultResponse, AppServiceCertificateOrdersRenew204Response, - AppServiceCertificateOrdersRenewdefaultResponse, + AppServiceCertificateOrdersRenewDefaultResponse, AppServiceCertificateOrdersResendEmail204Response, - AppServiceCertificateOrdersResendEmaildefaultResponse, + AppServiceCertificateOrdersResendEmailDefaultResponse, AppServiceCertificateOrdersResendRequestEmails204Response, - AppServiceCertificateOrdersResendRequestEmailsdefaultResponse, + AppServiceCertificateOrdersResendRequestEmailsDefaultResponse, AppServiceCertificateOrdersRetrieveSiteSeal200Response, - AppServiceCertificateOrdersRetrieveSiteSealdefaultResponse, + AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse, AppServiceCertificateOrdersVerifyDomainOwnership204Response, - AppServiceCertificateOrdersVerifyDomainOwnershipdefaultResponse, + AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse, AppServiceCertificateOrdersRetrieveCertificateActions200Response, - AppServiceCertificateOrdersRetrieveCertificateActionsdefaultResponse, + AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse, AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response, - AppServiceCertificateOrdersRetrieveCertificateEmailHistorydefaultResponse, + AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse, CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response, - CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponsedefaultResponse, + CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse, CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response, - CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponsedefaultResponse, + CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse, CertificateRegistrationProviderListOperations200Response, - CertificateRegistrationProviderListOperationsdefaultResponse, + CertificateRegistrationProviderListOperationsDefaultResponse, DomainsCheckAvailability200Response, - DomainsCheckAvailabilitydefaultResponse, + DomainsCheckAvailabilityDefaultResponse, DomainsList200Response, - DomainsListdefaultResponse, + DomainsListDefaultResponse, DomainsGetControlCenterSsoRequest200Response, - DomainsGetControlCenterSsoRequestdefaultResponse, + DomainsGetControlCenterSsoRequestDefaultResponse, DomainsListRecommendations200Response, - DomainsListRecommendationsdefaultResponse, + DomainsListRecommendationsDefaultResponse, DomainsListByResourceGroup200Response, - DomainsListByResourceGroupdefaultResponse, + DomainsListByResourceGroupDefaultResponse, DomainsGet200Response, - DomainsGetdefaultResponse, + DomainsGetDefaultResponse, DomainsCreateOrUpdate200Response, DomainsCreateOrUpdate202Response, - DomainsCreateOrUpdatedefaultResponse, + DomainsCreateOrUpdateDefaultResponse, DomainsDelete200Response, DomainsDelete204Response, - DomainsDeletedefaultResponse, + DomainsDeleteDefaultResponse, DomainsUpdate200Response, DomainsUpdate202Response, - DomainsUpdatedefaultResponse, + DomainsUpdateDefaultResponse, DomainsListOwnershipIdentifiers200Response, - DomainsListOwnershipIdentifiersdefaultResponse, + DomainsListOwnershipIdentifiersDefaultResponse, DomainsGetOwnershipIdentifier200Response, - DomainsGetOwnershipIdentifierdefaultResponse, + DomainsGetOwnershipIdentifierDefaultResponse, DomainsCreateOrUpdateOwnershipIdentifier200Response, - DomainsCreateOrUpdateOwnershipIdentifierdefaultResponse, + DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse, DomainsDeleteOwnershipIdentifier200Response, DomainsDeleteOwnershipIdentifier204Response, - DomainsDeleteOwnershipIdentifierdefaultResponse, + DomainsDeleteOwnershipIdentifierDefaultResponse, DomainsUpdateOwnershipIdentifier200Response, - DomainsUpdateOwnershipIdentifierdefaultResponse, + DomainsUpdateOwnershipIdentifierDefaultResponse, DomainsRenew200Response, DomainsRenew202Response, DomainsRenew204Response, - DomainsRenewdefaultResponse, + DomainsRenewDefaultResponse, DomainsTransferOut200Response, DomainsTransferOut400Response, - DomainsTransferOutdefaultResponse, + DomainsTransferOutDefaultResponse, TopLevelDomainsList200Response, - TopLevelDomainsListdefaultResponse, + TopLevelDomainsListDefaultResponse, TopLevelDomainsGet200Response, - TopLevelDomainsGetdefaultResponse, + TopLevelDomainsGetDefaultResponse, TopLevelDomainsListAgreements200Response, - TopLevelDomainsListAgreementsdefaultResponse, + TopLevelDomainsListAgreementsDefaultResponse, DomainRegistrationProviderListOperations200Response, - DomainRegistrationProviderListOperationsdefaultResponse, + DomainRegistrationProviderListOperationsDefaultResponse, AppServiceEnvironmentsList200Response, - AppServiceEnvironmentsListdefaultResponse, + AppServiceEnvironmentsListDefaultResponse, AppServiceEnvironmentsListByResourceGroup200Response, - AppServiceEnvironmentsListByResourceGroupdefaultResponse, + AppServiceEnvironmentsListByResourceGroupDefaultResponse, AppServiceEnvironmentsGet200Response, - AppServiceEnvironmentsGetdefaultResponse, + AppServiceEnvironmentsGetDefaultResponse, AppServiceEnvironmentsCreateOrUpdate200Response, AppServiceEnvironmentsCreateOrUpdate201Response, AppServiceEnvironmentsCreateOrUpdate202Response, - AppServiceEnvironmentsCreateOrUpdatedefaultResponse, + AppServiceEnvironmentsCreateOrUpdateDefaultResponse, AppServiceEnvironmentsDelete202Response, AppServiceEnvironmentsDelete204Response, - AppServiceEnvironmentsDeletedefaultResponse, + AppServiceEnvironmentsDeleteDefaultResponse, AppServiceEnvironmentsUpdate200Response, AppServiceEnvironmentsUpdate201Response, AppServiceEnvironmentsUpdate202Response, - AppServiceEnvironmentsUpdatedefaultResponse, + AppServiceEnvironmentsUpdateDefaultResponse, AppServiceEnvironmentsListCapacities200Response, - AppServiceEnvironmentsListCapacitiesdefaultResponse, + AppServiceEnvironmentsListCapacitiesDefaultResponse, AppServiceEnvironmentsGetVipInfo200Response, - AppServiceEnvironmentsGetVipInfodefaultResponse, + AppServiceEnvironmentsGetVipInfoDefaultResponse, AppServiceEnvironmentsChangeVnet200Response, AppServiceEnvironmentsChangeVnet202Response, - AppServiceEnvironmentsChangeVnetdefaultResponse, + AppServiceEnvironmentsChangeVnetDefaultResponse, AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response, - AppServiceEnvironmentsGetAseV3NetworkingConfigurationdefaultResponse, + AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse, AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response, - AppServiceEnvironmentsUpdateAseNetworkingConfigurationdefaultResponse, + AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse, AppServiceEnvironmentsListDiagnostics200Response, - AppServiceEnvironmentsListDiagnosticsdefaultResponse, + AppServiceEnvironmentsListDiagnosticsDefaultResponse, AppServiceEnvironmentsGetDiagnosticsItem200Response, - AppServiceEnvironmentsGetDiagnosticsItemdefaultResponse, + AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse, AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response, - AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsdefaultResponse, + AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse, AppServiceEnvironmentsListMultiRolePools200Response, - AppServiceEnvironmentsListMultiRolePoolsdefaultResponse, + AppServiceEnvironmentsListMultiRolePoolsDefaultResponse, AppServiceEnvironmentsGetMultiRolePool200Response, - AppServiceEnvironmentsGetMultiRolePooldefaultResponse, + AppServiceEnvironmentsGetMultiRolePoolDefaultResponse, AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response, AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response, - AppServiceEnvironmentsCreateOrUpdateMultiRolePooldefaultResponse, + AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse, AppServiceEnvironmentsUpdateMultiRolePool200Response, AppServiceEnvironmentsUpdateMultiRolePool202Response, - AppServiceEnvironmentsUpdateMultiRolePooldefaultResponse, + AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse, AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response, - AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsdefaultResponse, + AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse, AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response, - AppServiceEnvironmentsListMultiRoleMetricDefinitionsdefaultResponse, + AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse, AppServiceEnvironmentsListMultiRolePoolSkus200Response, - AppServiceEnvironmentsListMultiRolePoolSkusdefaultResponse, + AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse, AppServiceEnvironmentsListMultiRoleUsages200Response, - AppServiceEnvironmentsListMultiRoleUsagesdefaultResponse, + AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse, AppServiceEnvironmentsListOperations200Response, - AppServiceEnvironmentsListOperationsdefaultResponse, + AppServiceEnvironmentsListOperationsDefaultResponse, AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response, - AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsdefaultResponse, + AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse, AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response, - AppServiceEnvironmentsGetPrivateEndpointConnectionListdefaultResponse, + AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse, AppServiceEnvironmentsGetPrivateEndpointConnection200Response, - AppServiceEnvironmentsGetPrivateEndpointConnectiondefaultResponse, + AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response, AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response, - AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectiondefaultResponse, + AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse, AppServiceEnvironmentsDeletePrivateEndpointConnection200Response, AppServiceEnvironmentsDeletePrivateEndpointConnection202Response, AppServiceEnvironmentsDeletePrivateEndpointConnection204Response, - AppServiceEnvironmentsDeletePrivateEndpointConnectiondefaultResponse, + AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse, AppServiceEnvironmentsGetPrivateLinkResources200Response, - AppServiceEnvironmentsGetPrivateLinkResourcesdefaultResponse, + AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse, AppServiceEnvironmentsReboot202Response, - AppServiceEnvironmentsRebootdefaultResponse, + AppServiceEnvironmentsRebootDefaultResponse, AppServiceEnvironmentsResume200Response, AppServiceEnvironmentsResume202Response, - AppServiceEnvironmentsResumedefaultResponse, + AppServiceEnvironmentsResumeDefaultResponse, AppServiceEnvironmentsListAppServicePlans200Response, - AppServiceEnvironmentsListAppServicePlansdefaultResponse, + AppServiceEnvironmentsListAppServicePlansDefaultResponse, AppServiceEnvironmentsListWebApps200Response, - AppServiceEnvironmentsListWebAppsdefaultResponse, + AppServiceEnvironmentsListWebAppsDefaultResponse, AppServiceEnvironmentsSuspend200Response, AppServiceEnvironmentsSuspend202Response, - AppServiceEnvironmentsSuspenddefaultResponse, + AppServiceEnvironmentsSuspendDefaultResponse, AppServiceEnvironmentsListUsages200Response, - AppServiceEnvironmentsListUsagesdefaultResponse, + AppServiceEnvironmentsListUsagesDefaultResponse, AppServiceEnvironmentsListWorkerPools200Response, - AppServiceEnvironmentsListWorkerPoolsdefaultResponse, + AppServiceEnvironmentsListWorkerPoolsDefaultResponse, AppServiceEnvironmentsGetWorkerPool200Response, - AppServiceEnvironmentsGetWorkerPooldefaultResponse, + AppServiceEnvironmentsGetWorkerPoolDefaultResponse, AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response, AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response, - AppServiceEnvironmentsCreateOrUpdateWorkerPooldefaultResponse, + AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse, AppServiceEnvironmentsUpdateWorkerPool200Response, AppServiceEnvironmentsUpdateWorkerPool202Response, - AppServiceEnvironmentsUpdateWorkerPooldefaultResponse, + AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse, AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response, - AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsdefaultResponse, + AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse, AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response, - AppServiceEnvironmentsListWebWorkerMetricDefinitionsdefaultResponse, + AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse, AppServiceEnvironmentsListWorkerPoolSkus200Response, - AppServiceEnvironmentsListWorkerPoolSkusdefaultResponse, + AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse, AppServiceEnvironmentsListWebWorkerUsages200Response, - AppServiceEnvironmentsListWebWorkerUsagesdefaultResponse, + AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse, AppServicePlansList200Response, - AppServicePlansListdefaultResponse, + AppServicePlansListDefaultResponse, AppServicePlansListByResourceGroup200Response, - AppServicePlansListByResourceGroupdefaultResponse, + AppServicePlansListByResourceGroupDefaultResponse, AppServicePlansGet200Response, AppServicePlansGet404Response, - AppServicePlansGetdefaultResponse, + AppServicePlansGetDefaultResponse, AppServicePlansCreateOrUpdate200Response, AppServicePlansCreateOrUpdate202Response, - AppServicePlansCreateOrUpdatedefaultResponse, + AppServicePlansCreateOrUpdateDefaultResponse, AppServicePlansDelete200Response, AppServicePlansDelete204Response, - AppServicePlansDeletedefaultResponse, + AppServicePlansDeleteDefaultResponse, AppServicePlansUpdate200Response, AppServicePlansUpdate202Response, - AppServicePlansUpdatedefaultResponse, + AppServicePlansUpdateDefaultResponse, AppServicePlansListCapabilities200Response, - AppServicePlansListCapabilitiesdefaultResponse, + AppServicePlansListCapabilitiesDefaultResponse, AppServicePlansGetHybridConnection200Response, - AppServicePlansGetHybridConnectiondefaultResponse, + AppServicePlansGetHybridConnectionDefaultResponse, AppServicePlansDeleteHybridConnection200Response, AppServicePlansDeleteHybridConnection204Response, - AppServicePlansDeleteHybridConnectiondefaultResponse, + AppServicePlansDeleteHybridConnectionDefaultResponse, AppServicePlansListHybridConnectionKeys200Response, - AppServicePlansListHybridConnectionKeysdefaultResponse, + AppServicePlansListHybridConnectionKeysDefaultResponse, AppServicePlansListWebAppsByHybridConnection200Response, - AppServicePlansListWebAppsByHybridConnectiondefaultResponse, + AppServicePlansListWebAppsByHybridConnectionDefaultResponse, AppServicePlansGetHybridConnectionPlanLimit200Response, - AppServicePlansGetHybridConnectionPlanLimitdefaultResponse, + AppServicePlansGetHybridConnectionPlanLimitDefaultResponse, AppServicePlansListHybridConnections200Response, - AppServicePlansListHybridConnectionsdefaultResponse, + AppServicePlansListHybridConnectionsDefaultResponse, AppServicePlansRestartWebApps204Response, - AppServicePlansRestartWebAppsdefaultResponse, + AppServicePlansRestartWebAppsDefaultResponse, AppServicePlansListWebApps200Response, - AppServicePlansListWebAppsdefaultResponse, + AppServicePlansListWebAppsDefaultResponse, AppServicePlansGetServerFarmSkus200Response, - AppServicePlansGetServerFarmSkusdefaultResponse, + AppServicePlansGetServerFarmSkusDefaultResponse, AppServicePlansListUsages200Response, - AppServicePlansListUsagesdefaultResponse, + AppServicePlansListUsagesDefaultResponse, AppServicePlansListVnets200Response, - AppServicePlansListVnetsdefaultResponse, + AppServicePlansListVnetsDefaultResponse, AppServicePlansGetVnetFromServerFarm200Response, AppServicePlansGetVnetFromServerFarm404Response, - AppServicePlansGetVnetFromServerFarmdefaultResponse, + AppServicePlansGetVnetFromServerFarmDefaultResponse, AppServicePlansGetVnetGateway200Response, - AppServicePlansGetVnetGatewaydefaultResponse, + AppServicePlansGetVnetGatewayDefaultResponse, AppServicePlansUpdateVnetGateway200Response, - AppServicePlansUpdateVnetGatewaydefaultResponse, + AppServicePlansUpdateVnetGatewayDefaultResponse, AppServicePlansListRoutesForVnet200Response, - AppServicePlansListRoutesForVnetdefaultResponse, + AppServicePlansListRoutesForVnetDefaultResponse, AppServicePlansGetRouteForVnet200Response, AppServicePlansGetRouteForVnet404Response, - AppServicePlansGetRouteForVnetdefaultResponse, + AppServicePlansGetRouteForVnetDefaultResponse, AppServicePlansCreateOrUpdateVnetRoute200Response, AppServicePlansCreateOrUpdateVnetRoute400Response, AppServicePlansCreateOrUpdateVnetRoute404Response, - AppServicePlansCreateOrUpdateVnetRoutedefaultResponse, + AppServicePlansCreateOrUpdateVnetRouteDefaultResponse, AppServicePlansDeleteVnetRoute200Response, AppServicePlansDeleteVnetRoute404Response, - AppServicePlansDeleteVnetRoutedefaultResponse, + AppServicePlansDeleteVnetRouteDefaultResponse, AppServicePlansUpdateVnetRoute200Response, AppServicePlansUpdateVnetRoute400Response, AppServicePlansUpdateVnetRoute404Response, - AppServicePlansUpdateVnetRoutedefaultResponse, + AppServicePlansUpdateVnetRouteDefaultResponse, AppServicePlansRebootWorker204Response, - AppServicePlansRebootWorkerdefaultResponse, + AppServicePlansRebootWorkerDefaultResponse, CertificatesList200Response, - CertificatesListdefaultResponse, + CertificatesListDefaultResponse, CertificatesListByResourceGroup200Response, - CertificatesListByResourceGroupdefaultResponse, + CertificatesListByResourceGroupDefaultResponse, CertificatesGet200Response, - CertificatesGetdefaultResponse, + CertificatesGetDefaultResponse, CertificatesCreateOrUpdate200Response, - CertificatesCreateOrUpdatedefaultResponse, + CertificatesCreateOrUpdateDefaultResponse, CertificatesDelete200Response, CertificatesDelete204Response, - CertificatesDeletedefaultResponse, + CertificatesDeleteDefaultResponse, CertificatesUpdate200Response, - CertificatesUpdatedefaultResponse, + CertificatesUpdateDefaultResponse, ContainerAppsListBySubscription200Response, - ContainerAppsListBySubscriptiondefaultResponse, + ContainerAppsListBySubscriptionDefaultResponse, ContainerAppsListByResourceGroup200Response, - ContainerAppsListByResourceGroupdefaultResponse, + ContainerAppsListByResourceGroupDefaultResponse, ContainerAppsGet200Response, ContainerAppsGet404Response, - ContainerAppsGetdefaultResponse, + ContainerAppsGetDefaultResponse, ContainerAppsCreateOrUpdate200Response, ContainerAppsCreateOrUpdate201Response, - ContainerAppsCreateOrUpdatedefaultResponse, + ContainerAppsCreateOrUpdateDefaultResponse, ContainerAppsDelete200Response, ContainerAppsDelete202Response, ContainerAppsDelete204Response, - ContainerAppsDeletedefaultResponse, + ContainerAppsDeleteDefaultResponse, ContainerAppsListSecrets200Response, - ContainerAppsListSecretsdefaultResponse, + ContainerAppsListSecretsDefaultResponse, ContainerAppsRevisionsListRevisions200Response, - ContainerAppsRevisionsListRevisionsdefaultResponse, + ContainerAppsRevisionsListRevisionsDefaultResponse, ContainerAppsRevisionsGetRevision200Response, - ContainerAppsRevisionsGetRevisiondefaultResponse, + ContainerAppsRevisionsGetRevisionDefaultResponse, ContainerAppsRevisionsActivateRevision200Response, - ContainerAppsRevisionsActivateRevisiondefaultResponse, + ContainerAppsRevisionsActivateRevisionDefaultResponse, ContainerAppsRevisionsDeactivateRevision200Response, - ContainerAppsRevisionsDeactivateRevisiondefaultResponse, + ContainerAppsRevisionsDeactivateRevisionDefaultResponse, ContainerAppsRevisionsRestartRevision200Response, - ContainerAppsRevisionsRestartRevisiondefaultResponse, + ContainerAppsRevisionsRestartRevisionDefaultResponse, DeletedWebAppsList200Response, - DeletedWebAppsListdefaultResponse, + DeletedWebAppsListDefaultResponse, DeletedWebAppsListByLocation200Response, - DeletedWebAppsListByLocationdefaultResponse, + DeletedWebAppsListByLocationDefaultResponse, DeletedWebAppsGetDeletedWebAppByLocation200Response, - DeletedWebAppsGetDeletedWebAppByLocationdefaultResponse, + DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse, DiagnosticsListHostingEnvironmentDetectorResponses200Response, - DiagnosticsListHostingEnvironmentDetectorResponsesdefaultResponse, + DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse, DiagnosticsGetHostingEnvironmentDetectorResponse200Response, - DiagnosticsGetHostingEnvironmentDetectorResponsedefaultResponse, + DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse, DiagnosticsListSiteDetectorResponses200Response, - DiagnosticsListSiteDetectorResponsesdefaultResponse, + DiagnosticsListSiteDetectorResponsesDefaultResponse, DiagnosticsGetSiteDetectorResponse200Response, - DiagnosticsGetSiteDetectorResponsedefaultResponse, + DiagnosticsGetSiteDetectorResponseDefaultResponse, DiagnosticsListSiteDiagnosticCategories200Response, - DiagnosticsListSiteDiagnosticCategoriesdefaultResponse, + DiagnosticsListSiteDiagnosticCategoriesDefaultResponse, DiagnosticsGetSiteDiagnosticCategory200Response, - DiagnosticsGetSiteDiagnosticCategorydefaultResponse, + DiagnosticsGetSiteDiagnosticCategoryDefaultResponse, DiagnosticsListSiteAnalyses200Response, - DiagnosticsListSiteAnalysesdefaultResponse, + DiagnosticsListSiteAnalysesDefaultResponse, DiagnosticsGetSiteAnalysis200Response, - DiagnosticsGetSiteAnalysisdefaultResponse, + DiagnosticsGetSiteAnalysisDefaultResponse, DiagnosticsExecuteSiteAnalysis200Response, - DiagnosticsExecuteSiteAnalysisdefaultResponse, + DiagnosticsExecuteSiteAnalysisDefaultResponse, DiagnosticsListSiteDetectors200Response, - DiagnosticsListSiteDetectorsdefaultResponse, + DiagnosticsListSiteDetectorsDefaultResponse, DiagnosticsGetSiteDetector200Response, - DiagnosticsGetSiteDetectordefaultResponse, + DiagnosticsGetSiteDetectorDefaultResponse, DiagnosticsExecuteSiteDetector200Response, - DiagnosticsExecuteSiteDetectordefaultResponse, + DiagnosticsExecuteSiteDetectorDefaultResponse, DiagnosticsListSiteDetectorResponsesSlot200Response, - DiagnosticsListSiteDetectorResponsesSlotdefaultResponse, + DiagnosticsListSiteDetectorResponsesSlotDefaultResponse, DiagnosticsGetSiteDetectorResponseSlot200Response, - DiagnosticsGetSiteDetectorResponseSlotdefaultResponse, + DiagnosticsGetSiteDetectorResponseSlotDefaultResponse, DiagnosticsListSiteDiagnosticCategoriesSlot200Response, - DiagnosticsListSiteDiagnosticCategoriesSlotdefaultResponse, + DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse, DiagnosticsGetSiteDiagnosticCategorySlot200Response, - DiagnosticsGetSiteDiagnosticCategorySlotdefaultResponse, + DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse, DiagnosticsListSiteAnalysesSlot200Response, - DiagnosticsListSiteAnalysesSlotdefaultResponse, + DiagnosticsListSiteAnalysesSlotDefaultResponse, DiagnosticsGetSiteAnalysisSlot200Response, - DiagnosticsGetSiteAnalysisSlotdefaultResponse, + DiagnosticsGetSiteAnalysisSlotDefaultResponse, DiagnosticsExecuteSiteAnalysisSlot200Response, - DiagnosticsExecuteSiteAnalysisSlotdefaultResponse, + DiagnosticsExecuteSiteAnalysisSlotDefaultResponse, DiagnosticsListSiteDetectorsSlot200Response, - DiagnosticsListSiteDetectorsSlotdefaultResponse, + DiagnosticsListSiteDetectorsSlotDefaultResponse, DiagnosticsGetSiteDetectorSlot200Response, - DiagnosticsGetSiteDetectorSlotdefaultResponse, + DiagnosticsGetSiteDetectorSlotDefaultResponse, DiagnosticsExecuteSiteDetectorSlot200Response, - DiagnosticsExecuteSiteDetectorSlotdefaultResponse, + DiagnosticsExecuteSiteDetectorSlotDefaultResponse, GlobalGetDeletedWebApp200Response, - GlobalGetDeletedWebAppdefaultResponse, + GlobalGetDeletedWebAppDefaultResponse, GlobalGetDeletedWebAppSnapshots200Response, - GlobalGetDeletedWebAppSnapshotsdefaultResponse, + GlobalGetDeletedWebAppSnapshotsDefaultResponse, GlobalGetSubscriptionOperationWithAsyncResponse204Response, - GlobalGetSubscriptionOperationWithAsyncResponsedefaultResponse, + GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse, KubeEnvironmentsListBySubscription200Response, - KubeEnvironmentsListBySubscriptiondefaultResponse, + KubeEnvironmentsListBySubscriptionDefaultResponse, KubeEnvironmentsListByResourceGroup200Response, - KubeEnvironmentsListByResourceGroupdefaultResponse, + KubeEnvironmentsListByResourceGroupDefaultResponse, KubeEnvironmentsGet200Response, - KubeEnvironmentsGetdefaultResponse, + KubeEnvironmentsGetDefaultResponse, KubeEnvironmentsCreateOrUpdate200Response, KubeEnvironmentsCreateOrUpdate201Response, - KubeEnvironmentsCreateOrUpdatedefaultResponse, + KubeEnvironmentsCreateOrUpdateDefaultResponse, KubeEnvironmentsDelete200Response, KubeEnvironmentsDelete202Response, KubeEnvironmentsDelete204Response, - KubeEnvironmentsDeletedefaultResponse, + KubeEnvironmentsDeleteDefaultResponse, KubeEnvironmentsUpdate200Response, KubeEnvironmentsUpdate201Response, - KubeEnvironmentsUpdatedefaultResponse, + KubeEnvironmentsUpdateDefaultResponse, ProviderGetAvailableStacks200Response, - ProviderGetAvailableStacksdefaultResponse, + ProviderGetAvailableStacksDefaultResponse, ProviderGetFunctionAppStacks200Response, - ProviderGetFunctionAppStacksdefaultResponse, + ProviderGetFunctionAppStacksDefaultResponse, ProviderGetFunctionAppStacksForLocation200Response, - ProviderGetFunctionAppStacksForLocationdefaultResponse, + ProviderGetFunctionAppStacksForLocationDefaultResponse, ProviderGetWebAppStacksForLocation200Response, - ProviderGetWebAppStacksForLocationdefaultResponse, + ProviderGetWebAppStacksForLocationDefaultResponse, ProviderListOperations200Response, - ProviderListOperationsdefaultResponse, + ProviderListOperationsDefaultResponse, ProviderGetWebAppStacks200Response, - ProviderGetWebAppStacksdefaultResponse, + ProviderGetWebAppStacksDefaultResponse, ProviderGetAvailableStacksOnPrem200Response, - ProviderGetAvailableStacksOnPremdefaultResponse, + ProviderGetAvailableStacksOnPremDefaultResponse, RecommendationsList200Response, - RecommendationsListdefaultResponse, + RecommendationsListDefaultResponse, RecommendationsResetAllFilters204Response, - RecommendationsResetAllFiltersdefaultResponse, + RecommendationsResetAllFiltersDefaultResponse, RecommendationsDisableRecommendationForSubscription200Response, - RecommendationsDisableRecommendationForSubscriptiondefaultResponse, + RecommendationsDisableRecommendationForSubscriptionDefaultResponse, RecommendationsListHistoryForHostingEnvironment200Response, - RecommendationsListHistoryForHostingEnvironmentdefaultResponse, + RecommendationsListHistoryForHostingEnvironmentDefaultResponse, RecommendationsListRecommendedRulesForHostingEnvironment200Response, - RecommendationsListRecommendedRulesForHostingEnvironmentdefaultResponse, + RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse, RecommendationsDisableAllForHostingEnvironment204Response, - RecommendationsDisableAllForHostingEnvironmentdefaultResponse, + RecommendationsDisableAllForHostingEnvironmentDefaultResponse, RecommendationsResetAllFiltersForHostingEnvironment204Response, - RecommendationsResetAllFiltersForHostingEnvironmentdefaultResponse, + RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse, RecommendationsGetRuleDetailsByHostingEnvironment200Response, - RecommendationsGetRuleDetailsByHostingEnvironmentdefaultResponse, + RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse, RecommendationsDisableRecommendationForHostingEnvironment200Response, - RecommendationsDisableRecommendationForHostingEnvironmentdefaultResponse, + RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse, RecommendationsListHistoryForWebApp200Response, - RecommendationsListHistoryForWebAppdefaultResponse, + RecommendationsListHistoryForWebAppDefaultResponse, RecommendationsListRecommendedRulesForWebApp200Response, - RecommendationsListRecommendedRulesForWebAppdefaultResponse, + RecommendationsListRecommendedRulesForWebAppDefaultResponse, RecommendationsDisableAllForWebApp204Response, - RecommendationsDisableAllForWebAppdefaultResponse, + RecommendationsDisableAllForWebAppDefaultResponse, RecommendationsResetAllFiltersForWebApp204Response, - RecommendationsResetAllFiltersForWebAppdefaultResponse, + RecommendationsResetAllFiltersForWebAppDefaultResponse, RecommendationsGetRuleDetailsByWebApp200Response, - RecommendationsGetRuleDetailsByWebAppdefaultResponse, + RecommendationsGetRuleDetailsByWebAppDefaultResponse, RecommendationsDisableRecommendationForSite200Response, - RecommendationsDisableRecommendationForSitedefaultResponse, + RecommendationsDisableRecommendationForSiteDefaultResponse, ResourceHealthMetadataList200Response, - ResourceHealthMetadataListdefaultResponse, + ResourceHealthMetadataListDefaultResponse, ResourceHealthMetadataListByResourceGroup200Response, - ResourceHealthMetadataListByResourceGroupdefaultResponse, + ResourceHealthMetadataListByResourceGroupDefaultResponse, ResourceHealthMetadataListBySite200Response, - ResourceHealthMetadataListBySitedefaultResponse, + ResourceHealthMetadataListBySiteDefaultResponse, ResourceHealthMetadataGetBySite200Response, - ResourceHealthMetadataGetBySitedefaultResponse, + ResourceHealthMetadataGetBySiteDefaultResponse, ResourceHealthMetadataListBySiteSlot200Response, - ResourceHealthMetadataListBySiteSlotdefaultResponse, + ResourceHealthMetadataListBySiteSlotDefaultResponse, ResourceHealthMetadataGetBySiteSlot200Response, - ResourceHealthMetadataGetBySiteSlotdefaultResponse, + ResourceHealthMetadataGetBySiteSlotDefaultResponse, GetPublishingUser200Response, - GetPublishingUserdefaultResponse, + GetPublishingUserDefaultResponse, UpdatePublishingUser200Response, - UpdatePublishingUserdefaultResponse, + UpdatePublishingUserDefaultResponse, ListSourceControls200Response, - ListSourceControlsdefaultResponse, + ListSourceControlsDefaultResponse, GetSourceControl200Response, - GetSourceControldefaultResponse, + GetSourceControlDefaultResponse, UpdateSourceControl200Response, - UpdateSourceControldefaultResponse, + UpdateSourceControlDefaultResponse, ListBillingMeters200Response, - ListBillingMetersdefaultResponse, + ListBillingMetersDefaultResponse, CheckNameAvailability200Response, - CheckNameAvailabilitydefaultResponse, + CheckNameAvailabilityDefaultResponse, ListCustomHostNameSites200Response, - ListCustomHostNameSitesdefaultResponse, + ListCustomHostNameSitesDefaultResponse, GetSubscriptionDeploymentLocations200Response, - GetSubscriptionDeploymentLocationsdefaultResponse, + GetSubscriptionDeploymentLocationsDefaultResponse, ListGeoRegions200Response, - ListGeoRegionsdefaultResponse, + ListGeoRegionsDefaultResponse, ListSiteIdentifiersAssignedToHostName200Response, - ListSiteIdentifiersAssignedToHostNamedefaultResponse, + ListSiteIdentifiersAssignedToHostNameDefaultResponse, ListPremierAddOnOffers200Response, - ListPremierAddOnOffersdefaultResponse, + ListPremierAddOnOffersDefaultResponse, ListSkus200Response, - ListSkusdefaultResponse, + ListSkusDefaultResponse, VerifyHostingEnvironmentVnet200Response, - VerifyHostingEnvironmentVnetdefaultResponse, + VerifyHostingEnvironmentVnetDefaultResponse, Move204Response, - MovedefaultResponse, + MoveDefaultResponse, Validate200Response, - ValidatedefaultResponse, + ValidateDefaultResponse, ValidateMove204Response, - ValidateMovedefaultResponse, + ValidateMoveDefaultResponse, StaticSitesPreviewWorkflow200Response, - StaticSitesPreviewWorkflowdefaultResponse, + StaticSitesPreviewWorkflowDefaultResponse, StaticSitesList200Response, - StaticSitesListdefaultResponse, + StaticSitesListDefaultResponse, StaticSitesGetStaticSitesByResourceGroup200Response, - StaticSitesGetStaticSitesByResourceGroupdefaultResponse, + StaticSitesGetStaticSitesByResourceGroupDefaultResponse, StaticSitesGetStaticSite200Response, - StaticSitesGetStaticSitedefaultResponse, + StaticSitesGetStaticSiteDefaultResponse, StaticSitesCreateOrUpdateStaticSite200Response, StaticSitesCreateOrUpdateStaticSite202Response, - StaticSitesCreateOrUpdateStaticSitedefaultResponse, + StaticSitesCreateOrUpdateStaticSiteDefaultResponse, StaticSitesDeleteStaticSite200Response, StaticSitesDeleteStaticSite202Response, - StaticSitesDeleteStaticSitedefaultResponse, + StaticSitesDeleteStaticSiteDefaultResponse, StaticSitesUpdateStaticSite200Response, StaticSitesUpdateStaticSite202Response, - StaticSitesUpdateStaticSitedefaultResponse, + StaticSitesUpdateStaticSiteDefaultResponse, StaticSitesListStaticSiteUsers200Response, - StaticSitesListStaticSiteUsersdefaultResponse, + StaticSitesListStaticSiteUsersDefaultResponse, StaticSitesDeleteStaticSiteUser200Response, - StaticSitesDeleteStaticSiteUserdefaultResponse, + StaticSitesDeleteStaticSiteUserDefaultResponse, StaticSitesUpdateStaticSiteUser200Response, - StaticSitesUpdateStaticSiteUserdefaultResponse, + StaticSitesUpdateStaticSiteUserDefaultResponse, StaticSitesGetStaticSiteBuilds200Response, - StaticSitesGetStaticSiteBuildsdefaultResponse, + StaticSitesGetStaticSiteBuildsDefaultResponse, StaticSitesGetStaticSiteBuild200Response, - StaticSitesGetStaticSiteBuilddefaultResponse, + StaticSitesGetStaticSiteBuildDefaultResponse, StaticSitesDeleteStaticSiteBuild200Response, StaticSitesDeleteStaticSiteBuild202Response, StaticSitesDeleteStaticSiteBuild204Response, - StaticSitesDeleteStaticSiteBuilddefaultResponse, + StaticSitesDeleteStaticSiteBuildDefaultResponse, StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response, - StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsdefaultResponse, + StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse, StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response, - StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsdefaultResponse, + StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse, StaticSitesListStaticSiteBuildFunctions200Response, - StaticSitesListStaticSiteBuildFunctionsdefaultResponse, + StaticSitesListStaticSiteBuildFunctionsDefaultResponse, StaticSitesListStaticSiteBuildAppSettings200Response, - StaticSitesListStaticSiteBuildAppSettingsdefaultResponse, + StaticSitesListStaticSiteBuildAppSettingsDefaultResponse, StaticSitesListStaticSiteBuildFunctionAppSettings200Response, - StaticSitesListStaticSiteBuildFunctionAppSettingsdefaultResponse, + StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse, StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response, - StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuilddefaultResponse, + StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse, StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response, - StaticSitesGetUserProvidedFunctionAppForStaticSiteBuilddefaultResponse, + StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response, - StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuilddefaultResponse, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse, StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response, StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response, - StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuilddefaultResponse, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse, StaticSitesCreateZipDeploymentForStaticSiteBuild200Response, StaticSitesCreateZipDeploymentForStaticSiteBuild202Response, - StaticSitesCreateZipDeploymentForStaticSiteBuilddefaultResponse, + StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse, StaticSitesCreateOrUpdateStaticSiteAppSettings200Response, - StaticSitesCreateOrUpdateStaticSiteAppSettingsdefaultResponse, + StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse, StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response, - StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsdefaultResponse, + StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse, StaticSitesCreateUserRolesInvitationLink200Response, - StaticSitesCreateUserRolesInvitationLinkdefaultResponse, + StaticSitesCreateUserRolesInvitationLinkDefaultResponse, StaticSitesListStaticSiteCustomDomains200Response, - StaticSitesListStaticSiteCustomDomainsdefaultResponse, + StaticSitesListStaticSiteCustomDomainsDefaultResponse, StaticSitesGetStaticSiteCustomDomain200Response, - StaticSitesGetStaticSiteCustomDomaindefaultResponse, + StaticSitesGetStaticSiteCustomDomainDefaultResponse, StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response, StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response, - StaticSitesCreateOrUpdateStaticSiteCustomDomaindefaultResponse, + StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse, StaticSitesDeleteStaticSiteCustomDomain200Response, StaticSitesDeleteStaticSiteCustomDomain202Response, - StaticSitesDeleteStaticSiteCustomDomaindefaultResponse, + StaticSitesDeleteStaticSiteCustomDomainDefaultResponse, StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response, StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response, - StaticSitesValidateCustomDomainCanBeAddedToStaticSitedefaultResponse, + StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse, StaticSitesDetachStaticSite200Response, StaticSitesDetachStaticSite202Response, - StaticSitesDetachStaticSitedefaultResponse, + StaticSitesDetachStaticSiteDefaultResponse, StaticSitesListStaticSiteFunctions200Response, - StaticSitesListStaticSiteFunctionsdefaultResponse, + StaticSitesListStaticSiteFunctionsDefaultResponse, StaticSitesListStaticSiteAppSettings200Response, - StaticSitesListStaticSiteAppSettingsdefaultResponse, + StaticSitesListStaticSiteAppSettingsDefaultResponse, StaticSitesListStaticSiteConfiguredRoles200Response, - StaticSitesListStaticSiteConfiguredRolesdefaultResponse, + StaticSitesListStaticSiteConfiguredRolesDefaultResponse, StaticSitesListStaticSiteFunctionAppSettings200Response, - StaticSitesListStaticSiteFunctionAppSettingsdefaultResponse, + StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse, StaticSitesListStaticSiteSecrets200Response, - StaticSitesListStaticSiteSecretsdefaultResponse, + StaticSitesListStaticSiteSecretsDefaultResponse, StaticSitesGetPrivateEndpointConnectionList200Response, - StaticSitesGetPrivateEndpointConnectionListdefaultResponse, + StaticSitesGetPrivateEndpointConnectionListDefaultResponse, StaticSitesGetPrivateEndpointConnection200Response, - StaticSitesGetPrivateEndpointConnectiondefaultResponse, + StaticSitesGetPrivateEndpointConnectionDefaultResponse, StaticSitesApproveOrRejectPrivateEndpointConnection200Response, StaticSitesApproveOrRejectPrivateEndpointConnection202Response, - StaticSitesApproveOrRejectPrivateEndpointConnectiondefaultResponse, + StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse, StaticSitesDeletePrivateEndpointConnection200Response, StaticSitesDeletePrivateEndpointConnection202Response, StaticSitesDeletePrivateEndpointConnection204Response, - StaticSitesDeletePrivateEndpointConnectiondefaultResponse, + StaticSitesDeletePrivateEndpointConnectionDefaultResponse, StaticSitesGetPrivateLinkResources200Response, - StaticSitesGetPrivateLinkResourcesdefaultResponse, + StaticSitesGetPrivateLinkResourcesDefaultResponse, StaticSitesResetStaticSiteApiKey200Response, - StaticSitesResetStaticSiteApiKeydefaultResponse, + StaticSitesResetStaticSiteApiKeyDefaultResponse, StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response, - StaticSitesGetUserProvidedFunctionAppsForStaticSitedefaultResponse, + StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse, StaticSitesGetUserProvidedFunctionAppForStaticSite200Response, - StaticSitesGetUserProvidedFunctionAppForStaticSitedefaultResponse, + StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse, StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response, StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response, - StaticSitesRegisterUserProvidedFunctionAppWithStaticSitedefaultResponse, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse, StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response, StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response, - StaticSitesDetachUserProvidedFunctionAppFromStaticSitedefaultResponse, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse, StaticSitesCreateZipDeploymentForStaticSite200Response, StaticSitesCreateZipDeploymentForStaticSite202Response, - StaticSitesCreateZipDeploymentForStaticSitedefaultResponse, + StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse, WebAppsList200Response, - WebAppsListdefaultResponse, + WebAppsListDefaultResponse, WebAppsListByResourceGroup200Response, - WebAppsListByResourceGroupdefaultResponse, + WebAppsListByResourceGroupDefaultResponse, WebAppsGet200Response, WebAppsGet404Response, - WebAppsGetdefaultResponse, + WebAppsGetDefaultResponse, WebAppsCreateOrUpdate200Response, WebAppsCreateOrUpdate202Response, - WebAppsCreateOrUpdatedefaultResponse, + WebAppsCreateOrUpdateDefaultResponse, WebAppsDelete200Response, WebAppsDelete204Response, WebAppsDelete404Response, - WebAppsDeletedefaultResponse, + WebAppsDeleteDefaultResponse, WebAppsUpdate200Response, WebAppsUpdate202Response, - WebAppsUpdatedefaultResponse, + WebAppsUpdateDefaultResponse, WebAppsAnalyzeCustomHostname200Response, - WebAppsAnalyzeCustomHostnamedefaultResponse, + WebAppsAnalyzeCustomHostnameDefaultResponse, WebAppsApplySlotConfigToProduction200Response, - WebAppsApplySlotConfigToProductiondefaultResponse, + WebAppsApplySlotConfigToProductionDefaultResponse, WebAppsBackup200Response, - WebAppsBackupdefaultResponse, + WebAppsBackupDefaultResponse, WebAppsListBackups200Response, - WebAppsListBackupsdefaultResponse, + WebAppsListBackupsDefaultResponse, WebAppsGetBackupStatus200Response, - WebAppsGetBackupStatusdefaultResponse, + WebAppsGetBackupStatusDefaultResponse, WebAppsDeleteBackup200Response, WebAppsDeleteBackup404Response, - WebAppsDeleteBackupdefaultResponse, + WebAppsDeleteBackupDefaultResponse, WebAppsListBackupStatusSecrets200Response, - WebAppsListBackupStatusSecretsdefaultResponse, + WebAppsListBackupStatusSecretsDefaultResponse, WebAppsRestore200Response, WebAppsRestore202Response, - WebAppsRestoredefaultResponse, + WebAppsRestoreDefaultResponse, WebAppsListBasicPublishingCredentialsPolicies200Response, - WebAppsListBasicPublishingCredentialsPoliciesdefaultResponse, + WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse, WebAppsGetFtpAllowed200Response, - WebAppsGetFtpAlloweddefaultResponse, + WebAppsGetFtpAllowedDefaultResponse, WebAppsUpdateFtpAllowed200Response, - WebAppsUpdateFtpAlloweddefaultResponse, + WebAppsUpdateFtpAllowedDefaultResponse, WebAppsGetScmAllowed200Response, - WebAppsGetScmAlloweddefaultResponse, + WebAppsGetScmAllowedDefaultResponse, WebAppsUpdateScmAllowed200Response, - WebAppsUpdateScmAlloweddefaultResponse, + WebAppsUpdateScmAllowedDefaultResponse, WebAppsListConfigurations200Response, - WebAppsListConfigurationsdefaultResponse, + WebAppsListConfigurationsDefaultResponse, WebAppsUpdateApplicationSettings200Response, - WebAppsUpdateApplicationSettingsdefaultResponse, + WebAppsUpdateApplicationSettingsDefaultResponse, WebAppsListApplicationSettings200Response, - WebAppsListApplicationSettingsdefaultResponse, + WebAppsListApplicationSettingsDefaultResponse, WebAppsUpdateAuthSettings200Response, - WebAppsUpdateAuthSettingsdefaultResponse, + WebAppsUpdateAuthSettingsDefaultResponse, WebAppsGetAuthSettings200Response, - WebAppsGetAuthSettingsdefaultResponse, + WebAppsGetAuthSettingsDefaultResponse, WebAppsGetAuthSettingsV2WithoutSecrets200Response, - WebAppsGetAuthSettingsV2WithoutSecretsdefaultResponse, + WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse, WebAppsUpdateAuthSettingsV2200Response, - WebAppsUpdateAuthSettingsV2defaultResponse, + WebAppsUpdateAuthSettingsV2DefaultResponse, WebAppsGetAuthSettingsV2200Response, - WebAppsGetAuthSettingsV2defaultResponse, + WebAppsGetAuthSettingsV2DefaultResponse, WebAppsUpdateAzureStorageAccounts200Response, - WebAppsUpdateAzureStorageAccountsdefaultResponse, + WebAppsUpdateAzureStorageAccountsDefaultResponse, WebAppsListAzureStorageAccounts200Response, - WebAppsListAzureStorageAccountsdefaultResponse, + WebAppsListAzureStorageAccountsDefaultResponse, WebAppsUpdateBackupConfiguration200Response, - WebAppsUpdateBackupConfigurationdefaultResponse, + WebAppsUpdateBackupConfigurationDefaultResponse, WebAppsDeleteBackupConfiguration200Response, - WebAppsDeleteBackupConfigurationdefaultResponse, + WebAppsDeleteBackupConfigurationDefaultResponse, WebAppsGetBackupConfiguration200Response, - WebAppsGetBackupConfigurationdefaultResponse, + WebAppsGetBackupConfigurationDefaultResponse, WebAppsGetAppSettingsKeyVaultReferences200Response, - WebAppsGetAppSettingsKeyVaultReferencesdefaultResponse, + WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse, WebAppsGetAppSettingKeyVaultReference200Response, - WebAppsGetAppSettingKeyVaultReferencedefaultResponse, + WebAppsGetAppSettingKeyVaultReferenceDefaultResponse, WebAppsGetSiteConnectionStringKeyVaultReferences200Response, - WebAppsGetSiteConnectionStringKeyVaultReferencesdefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse, WebAppsGetSiteConnectionStringKeyVaultReference200Response, - WebAppsGetSiteConnectionStringKeyVaultReferencedefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse, WebAppsUpdateConnectionStrings200Response, - WebAppsUpdateConnectionStringsdefaultResponse, + WebAppsUpdateConnectionStringsDefaultResponse, WebAppsListConnectionStrings200Response, - WebAppsListConnectionStringsdefaultResponse, + WebAppsListConnectionStringsDefaultResponse, WebAppsGetDiagnosticLogsConfiguration200Response, - WebAppsGetDiagnosticLogsConfigurationdefaultResponse, + WebAppsGetDiagnosticLogsConfigurationDefaultResponse, WebAppsUpdateDiagnosticLogsConfig200Response, - WebAppsUpdateDiagnosticLogsConfigdefaultResponse, + WebAppsUpdateDiagnosticLogsConfigDefaultResponse, WebAppsUpdateMetadata200Response, - WebAppsUpdateMetadatadefaultResponse, + WebAppsUpdateMetadataDefaultResponse, WebAppsListMetadata200Response, - WebAppsListMetadatadefaultResponse, + WebAppsListMetadataDefaultResponse, WebAppsListPublishingCredentials200Response, - WebAppsListPublishingCredentialsdefaultResponse, + WebAppsListPublishingCredentialsDefaultResponse, WebAppsUpdateSitePushSettings200Response, - WebAppsUpdateSitePushSettingsdefaultResponse, + WebAppsUpdateSitePushSettingsDefaultResponse, WebAppsListSitePushSettings200Response, - WebAppsListSitePushSettingsdefaultResponse, + WebAppsListSitePushSettingsDefaultResponse, WebAppsListSlotConfigurationNames200Response, - WebAppsListSlotConfigurationNamesdefaultResponse, + WebAppsListSlotConfigurationNamesDefaultResponse, WebAppsUpdateSlotConfigurationNames200Response, - WebAppsUpdateSlotConfigurationNamesdefaultResponse, + WebAppsUpdateSlotConfigurationNamesDefaultResponse, WebAppsGetConfiguration200Response, - WebAppsGetConfigurationdefaultResponse, + WebAppsGetConfigurationDefaultResponse, WebAppsCreateOrUpdateConfiguration200Response, - WebAppsCreateOrUpdateConfigurationdefaultResponse, + WebAppsCreateOrUpdateConfigurationDefaultResponse, WebAppsUpdateConfiguration200Response, - WebAppsUpdateConfigurationdefaultResponse, + WebAppsUpdateConfigurationDefaultResponse, WebAppsListConfigurationSnapshotInfo200Response, - WebAppsListConfigurationSnapshotInfodefaultResponse, + WebAppsListConfigurationSnapshotInfoDefaultResponse, WebAppsGetConfigurationSnapshot200Response, - WebAppsGetConfigurationSnapshotdefaultResponse, + WebAppsGetConfigurationSnapshotDefaultResponse, WebAppsRecoverSiteConfigurationSnapshot204Response, - WebAppsRecoverSiteConfigurationSnapshotdefaultResponse, + WebAppsRecoverSiteConfigurationSnapshotDefaultResponse, WebAppsGetWebSiteContainerLogs200Response, WebAppsGetWebSiteContainerLogs204Response, - WebAppsGetWebSiteContainerLogsdefaultResponse, + WebAppsGetWebSiteContainerLogsDefaultResponse, WebAppsGetContainerLogsZip200Response, WebAppsGetContainerLogsZip204Response, - WebAppsGetContainerLogsZipdefaultResponse, + WebAppsGetContainerLogsZipDefaultResponse, WebAppsListContinuousWebJobs200Response, - WebAppsListContinuousWebJobsdefaultResponse, + WebAppsListContinuousWebJobsDefaultResponse, WebAppsGetContinuousWebJob200Response, WebAppsGetContinuousWebJob404Response, - WebAppsGetContinuousWebJobdefaultResponse, + WebAppsGetContinuousWebJobDefaultResponse, WebAppsDeleteContinuousWebJob200Response, WebAppsDeleteContinuousWebJob204Response, - WebAppsDeleteContinuousWebJobdefaultResponse, + WebAppsDeleteContinuousWebJobDefaultResponse, WebAppsStartContinuousWebJob200Response, WebAppsStartContinuousWebJob404Response, - WebAppsStartContinuousWebJobdefaultResponse, + WebAppsStartContinuousWebJobDefaultResponse, WebAppsStopContinuousWebJob200Response, WebAppsStopContinuousWebJob404Response, - WebAppsStopContinuousWebJobdefaultResponse, + WebAppsStopContinuousWebJobDefaultResponse, WebAppsListDeployments200Response, - WebAppsListDeploymentsdefaultResponse, + WebAppsListDeploymentsDefaultResponse, WebAppsGetDeployment200Response, - WebAppsGetDeploymentdefaultResponse, + WebAppsGetDeploymentDefaultResponse, WebAppsCreateDeployment200Response, - WebAppsCreateDeploymentdefaultResponse, + WebAppsCreateDeploymentDefaultResponse, WebAppsDeleteDeployment200Response, WebAppsDeleteDeployment204Response, - WebAppsDeleteDeploymentdefaultResponse, + WebAppsDeleteDeploymentDefaultResponse, WebAppsListDeploymentLog200Response, - WebAppsListDeploymentLogdefaultResponse, + WebAppsListDeploymentLogDefaultResponse, WebAppsDiscoverBackup200Response, - WebAppsDiscoverBackupdefaultResponse, + WebAppsDiscoverBackupDefaultResponse, WebAppsListDomainOwnershipIdentifiers200Response, - WebAppsListDomainOwnershipIdentifiersdefaultResponse, + WebAppsListDomainOwnershipIdentifiersDefaultResponse, WebAppsGetDomainOwnershipIdentifier200Response, - WebAppsGetDomainOwnershipIdentifierdefaultResponse, + WebAppsGetDomainOwnershipIdentifierDefaultResponse, WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response, - WebAppsCreateOrUpdateDomainOwnershipIdentifierdefaultResponse, + WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse, WebAppsDeleteDomainOwnershipIdentifier200Response, WebAppsDeleteDomainOwnershipIdentifier204Response, - WebAppsDeleteDomainOwnershipIdentifierdefaultResponse, + WebAppsDeleteDomainOwnershipIdentifierDefaultResponse, WebAppsUpdateDomainOwnershipIdentifier200Response, - WebAppsUpdateDomainOwnershipIdentifierdefaultResponse, + WebAppsUpdateDomainOwnershipIdentifierDefaultResponse, WebAppsGetMSDeployStatus200Response, - WebAppsGetMSDeployStatusdefaultResponse, + WebAppsGetMSDeployStatusDefaultResponse, WebAppsCreateMSDeployOperation201Response, WebAppsCreateMSDeployOperation409Response, - WebAppsCreateMSDeployOperationdefaultResponse, + WebAppsCreateMSDeployOperationDefaultResponse, WebAppsGetMSDeployLog200Response, WebAppsGetMSDeployLog404Response, - WebAppsGetMSDeployLogdefaultResponse, + WebAppsGetMSDeployLogDefaultResponse, WebAppsGetOneDeployStatus200Response, - WebAppsGetOneDeployStatusdefaultResponse, + WebAppsGetOneDeployStatusDefaultResponse, WebAppsCreateOneDeployOperation200Response, - WebAppsCreateOneDeployOperationdefaultResponse, + WebAppsCreateOneDeployOperationDefaultResponse, WebAppsListFunctions200Response, WebAppsListFunctions404Response, - WebAppsListFunctionsdefaultResponse, + WebAppsListFunctionsDefaultResponse, WebAppsGetFunctionsAdminToken200Response, - WebAppsGetFunctionsAdminTokendefaultResponse, + WebAppsGetFunctionsAdminTokenDefaultResponse, WebAppsGetFunction200Response, WebAppsGetFunction404Response, - WebAppsGetFunctiondefaultResponse, + WebAppsGetFunctionDefaultResponse, WebAppsCreateFunction201Response, - WebAppsCreateFunctiondefaultResponse, + WebAppsCreateFunctionDefaultResponse, WebAppsDeleteFunction204Response, WebAppsDeleteFunction404Response, - WebAppsDeleteFunctiondefaultResponse, + WebAppsDeleteFunctionDefaultResponse, WebAppsCreateOrUpdateFunctionSecret200Response, WebAppsCreateOrUpdateFunctionSecret201Response, - WebAppsCreateOrUpdateFunctionSecretdefaultResponse, + WebAppsCreateOrUpdateFunctionSecretDefaultResponse, WebAppsDeleteFunctionSecret204Response, WebAppsDeleteFunctionSecret404Response, - WebAppsDeleteFunctionSecretdefaultResponse, + WebAppsDeleteFunctionSecretDefaultResponse, WebAppsListFunctionKeys200Response, - WebAppsListFunctionKeysdefaultResponse, + WebAppsListFunctionKeysDefaultResponse, WebAppsListFunctionSecrets200Response, - WebAppsListFunctionSecretsdefaultResponse, + WebAppsListFunctionSecretsDefaultResponse, WebAppsListHostKeys200Response, - WebAppsListHostKeysdefaultResponse, + WebAppsListHostKeysDefaultResponse, WebAppsListSyncStatus204Response, - WebAppsListSyncStatusdefaultResponse, + WebAppsListSyncStatusDefaultResponse, WebAppsSyncFunctions204Response, - WebAppsSyncFunctionsdefaultResponse, + WebAppsSyncFunctionsDefaultResponse, WebAppsCreateOrUpdateHostSecret200Response, WebAppsCreateOrUpdateHostSecret201Response, - WebAppsCreateOrUpdateHostSecretdefaultResponse, + WebAppsCreateOrUpdateHostSecretDefaultResponse, WebAppsDeleteHostSecret204Response, WebAppsDeleteHostSecret404Response, - WebAppsDeleteHostSecretdefaultResponse, + WebAppsDeleteHostSecretDefaultResponse, WebAppsListHostNameBindings200Response, - WebAppsListHostNameBindingsdefaultResponse, + WebAppsListHostNameBindingsDefaultResponse, WebAppsGetHostNameBinding200Response, - WebAppsGetHostNameBindingdefaultResponse, + WebAppsGetHostNameBindingDefaultResponse, WebAppsCreateOrUpdateHostNameBinding200Response, - WebAppsCreateOrUpdateHostNameBindingdefaultResponse, + WebAppsCreateOrUpdateHostNameBindingDefaultResponse, WebAppsDeleteHostNameBinding200Response, WebAppsDeleteHostNameBinding204Response, - WebAppsDeleteHostNameBindingdefaultResponse, + WebAppsDeleteHostNameBindingDefaultResponse, WebAppsGetHybridConnection200Response, - WebAppsGetHybridConnectiondefaultResponse, + WebAppsGetHybridConnectionDefaultResponse, WebAppsCreateOrUpdateHybridConnection200Response, - WebAppsCreateOrUpdateHybridConnectiondefaultResponse, + WebAppsCreateOrUpdateHybridConnectionDefaultResponse, WebAppsDeleteHybridConnection200Response, WebAppsDeleteHybridConnection404Response, - WebAppsDeleteHybridConnectiondefaultResponse, + WebAppsDeleteHybridConnectionDefaultResponse, WebAppsUpdateHybridConnection200Response, - WebAppsUpdateHybridConnectiondefaultResponse, + WebAppsUpdateHybridConnectionDefaultResponse, WebAppsListHybridConnections200Response, - WebAppsListHybridConnectionsdefaultResponse, + WebAppsListHybridConnectionsDefaultResponse, WebAppsListRelayServiceConnections200Response, - WebAppsListRelayServiceConnectionsdefaultResponse, + WebAppsListRelayServiceConnectionsDefaultResponse, WebAppsGetRelayServiceConnection200Response, - WebAppsGetRelayServiceConnectiondefaultResponse, + WebAppsGetRelayServiceConnectionDefaultResponse, WebAppsCreateOrUpdateRelayServiceConnection200Response, - WebAppsCreateOrUpdateRelayServiceConnectiondefaultResponse, + WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse, WebAppsDeleteRelayServiceConnection200Response, WebAppsDeleteRelayServiceConnection404Response, - WebAppsDeleteRelayServiceConnectiondefaultResponse, + WebAppsDeleteRelayServiceConnectionDefaultResponse, WebAppsUpdateRelayServiceConnection200Response, - WebAppsUpdateRelayServiceConnectiondefaultResponse, + WebAppsUpdateRelayServiceConnectionDefaultResponse, WebAppsListInstanceIdentifiers200Response, - WebAppsListInstanceIdentifiersdefaultResponse, + WebAppsListInstanceIdentifiersDefaultResponse, WebAppsGetInstanceInfo200Response, - WebAppsGetInstanceInfodefaultResponse, + WebAppsGetInstanceInfoDefaultResponse, WebAppsGetInstanceMsDeployStatus200Response, - WebAppsGetInstanceMsDeployStatusdefaultResponse, + WebAppsGetInstanceMsDeployStatusDefaultResponse, WebAppsCreateInstanceMSDeployOperation201Response, WebAppsCreateInstanceMSDeployOperation409Response, - WebAppsCreateInstanceMSDeployOperationdefaultResponse, + WebAppsCreateInstanceMSDeployOperationDefaultResponse, WebAppsGetInstanceMSDeployLog200Response, WebAppsGetInstanceMSDeployLog404Response, - WebAppsGetInstanceMSDeployLogdefaultResponse, + WebAppsGetInstanceMSDeployLogDefaultResponse, WebAppsListInstanceProcesses200Response, WebAppsListInstanceProcesses404Response, - WebAppsListInstanceProcessesdefaultResponse, + WebAppsListInstanceProcessesDefaultResponse, WebAppsGetInstanceProcess200Response, WebAppsGetInstanceProcess404Response, - WebAppsGetInstanceProcessdefaultResponse, + WebAppsGetInstanceProcessDefaultResponse, WebAppsDeleteInstanceProcess204Response, WebAppsDeleteInstanceProcess404Response, - WebAppsDeleteInstanceProcessdefaultResponse, + WebAppsDeleteInstanceProcessDefaultResponse, WebAppsGetInstanceProcessDump200Response, WebAppsGetInstanceProcessDump404Response, - WebAppsGetInstanceProcessDumpdefaultResponse, + WebAppsGetInstanceProcessDumpDefaultResponse, WebAppsListInstanceProcessModules200Response, WebAppsListInstanceProcessModules404Response, - WebAppsListInstanceProcessModulesdefaultResponse, + WebAppsListInstanceProcessModulesDefaultResponse, WebAppsGetInstanceProcessModule200Response, WebAppsGetInstanceProcessModule404Response, - WebAppsGetInstanceProcessModuledefaultResponse, + WebAppsGetInstanceProcessModuleDefaultResponse, WebAppsListInstanceProcessThreads200Response, WebAppsListInstanceProcessThreads404Response, - WebAppsListInstanceProcessThreadsdefaultResponse, + WebAppsListInstanceProcessThreadsDefaultResponse, WebAppsIsCloneable200Response, - WebAppsIsCloneabledefaultResponse, + WebAppsIsCloneableDefaultResponse, WebAppsListSiteBackups200Response, - WebAppsListSiteBackupsdefaultResponse, + WebAppsListSiteBackupsDefaultResponse, WebAppsListSyncFunctionTriggers200Response, - WebAppsListSyncFunctionTriggersdefaultResponse, + WebAppsListSyncFunctionTriggersDefaultResponse, WebAppsMigrateStorage200Response, - WebAppsMigrateStoragedefaultResponse, + WebAppsMigrateStorageDefaultResponse, WebAppsMigrateMySql200Response, - WebAppsMigrateMySqldefaultResponse, + WebAppsMigrateMySqlDefaultResponse, WebAppsGetMigrateMySqlStatus200Response, - WebAppsGetMigrateMySqlStatusdefaultResponse, + WebAppsGetMigrateMySqlStatusDefaultResponse, WebAppsGetSwiftVirtualNetworkConnection200Response, - WebAppsGetSwiftVirtualNetworkConnectiondefaultResponse, + WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse, WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response, - WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, WebAppsDeleteSwiftVirtualNetwork200Response, WebAppsDeleteSwiftVirtualNetwork404Response, - WebAppsDeleteSwiftVirtualNetworkdefaultResponse, + WebAppsDeleteSwiftVirtualNetworkDefaultResponse, WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response, - WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, WebAppsListNetworkFeatures200Response, WebAppsListNetworkFeatures404Response, - WebAppsListNetworkFeaturesdefaultResponse, + WebAppsListNetworkFeaturesDefaultResponse, WebAppsGetNetworkTraceOperation200Response, WebAppsGetNetworkTraceOperation202Response, - WebAppsGetNetworkTraceOperationdefaultResponse, + WebAppsGetNetworkTraceOperationDefaultResponse, WebAppsStartWebSiteNetworkTrace200Response, - WebAppsStartWebSiteNetworkTracedefaultResponse, + WebAppsStartWebSiteNetworkTraceDefaultResponse, WebAppsStartWebSiteNetworkTraceOperation200Response, WebAppsStartWebSiteNetworkTraceOperation202Response, - WebAppsStartWebSiteNetworkTraceOperationdefaultResponse, + WebAppsStartWebSiteNetworkTraceOperationDefaultResponse, WebAppsStopWebSiteNetworkTrace200Response, WebAppsStopWebSiteNetworkTrace204Response, - WebAppsStopWebSiteNetworkTracedefaultResponse, + WebAppsStopWebSiteNetworkTraceDefaultResponse, WebAppsGetNetworkTraces200Response, - WebAppsGetNetworkTracesdefaultResponse, + WebAppsGetNetworkTracesDefaultResponse, WebAppsGetNetworkTraceOperationV2200Response, WebAppsGetNetworkTraceOperationV2202Response, - WebAppsGetNetworkTraceOperationV2defaultResponse, + WebAppsGetNetworkTraceOperationV2DefaultResponse, WebAppsGetNetworkTracesV2200Response, - WebAppsGetNetworkTracesV2defaultResponse, + WebAppsGetNetworkTracesV2DefaultResponse, WebAppsGenerateNewSitePublishingPassword200Response, WebAppsGenerateNewSitePublishingPassword204Response, - WebAppsGenerateNewSitePublishingPassworddefaultResponse, + WebAppsGenerateNewSitePublishingPasswordDefaultResponse, WebAppsListPerfMonCounters200Response, - WebAppsListPerfMonCountersdefaultResponse, + WebAppsListPerfMonCountersDefaultResponse, WebAppsGetSitePhpErrorLogFlag200Response, - WebAppsGetSitePhpErrorLogFlagdefaultResponse, + WebAppsGetSitePhpErrorLogFlagDefaultResponse, WebAppsListPremierAddOns200Response, - WebAppsListPremierAddOnsdefaultResponse, + WebAppsListPremierAddOnsDefaultResponse, WebAppsGetPremierAddOn200Response, - WebAppsGetPremierAddOndefaultResponse, + WebAppsGetPremierAddOnDefaultResponse, WebAppsAddPremierAddOn200Response, - WebAppsAddPremierAddOndefaultResponse, + WebAppsAddPremierAddOnDefaultResponse, WebAppsDeletePremierAddOn200Response, - WebAppsDeletePremierAddOndefaultResponse, + WebAppsDeletePremierAddOnDefaultResponse, WebAppsUpdatePremierAddOn200Response, - WebAppsUpdatePremierAddOndefaultResponse, + WebAppsUpdatePremierAddOnDefaultResponse, WebAppsGetPrivateAccess200Response, - WebAppsGetPrivateAccessdefaultResponse, + WebAppsGetPrivateAccessDefaultResponse, WebAppsPutPrivateAccessVnet200Response, - WebAppsPutPrivateAccessVnetdefaultResponse, + WebAppsPutPrivateAccessVnetDefaultResponse, WebAppsGetPrivateEndpointConnectionList200Response, - WebAppsGetPrivateEndpointConnectionListdefaultResponse, + WebAppsGetPrivateEndpointConnectionListDefaultResponse, WebAppsGetPrivateEndpointConnection200Response, - WebAppsGetPrivateEndpointConnectiondefaultResponse, + WebAppsGetPrivateEndpointConnectionDefaultResponse, WebAppsApproveOrRejectPrivateEndpointConnection200Response, WebAppsApproveOrRejectPrivateEndpointConnection202Response, - WebAppsApproveOrRejectPrivateEndpointConnectiondefaultResponse, + WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse, WebAppsDeletePrivateEndpointConnection200Response, WebAppsDeletePrivateEndpointConnection202Response, WebAppsDeletePrivateEndpointConnection204Response, - WebAppsDeletePrivateEndpointConnectiondefaultResponse, + WebAppsDeletePrivateEndpointConnectionDefaultResponse, WebAppsGetPrivateLinkResources200Response, - WebAppsGetPrivateLinkResourcesdefaultResponse, + WebAppsGetPrivateLinkResourcesDefaultResponse, WebAppsListProcesses200Response, WebAppsListProcesses404Response, - WebAppsListProcessesdefaultResponse, + WebAppsListProcessesDefaultResponse, WebAppsGetProcess200Response, WebAppsGetProcess404Response, - WebAppsGetProcessdefaultResponse, + WebAppsGetProcessDefaultResponse, WebAppsDeleteProcess204Response, WebAppsDeleteProcess404Response, - WebAppsDeleteProcessdefaultResponse, + WebAppsDeleteProcessDefaultResponse, WebAppsGetProcessDump200Response, WebAppsGetProcessDump404Response, - WebAppsGetProcessDumpdefaultResponse, + WebAppsGetProcessDumpDefaultResponse, WebAppsListProcessModules200Response, WebAppsListProcessModules404Response, - WebAppsListProcessModulesdefaultResponse, + WebAppsListProcessModulesDefaultResponse, WebAppsGetProcessModule200Response, WebAppsGetProcessModule404Response, - WebAppsGetProcessModuledefaultResponse, + WebAppsGetProcessModuleDefaultResponse, WebAppsListProcessThreads200Response, WebAppsListProcessThreads404Response, - WebAppsListProcessThreadsdefaultResponse, + WebAppsListProcessThreadsDefaultResponse, WebAppsListPublicCertificates200Response, - WebAppsListPublicCertificatesdefaultResponse, + WebAppsListPublicCertificatesDefaultResponse, WebAppsGetPublicCertificate200Response, - WebAppsGetPublicCertificatedefaultResponse, + WebAppsGetPublicCertificateDefaultResponse, WebAppsCreateOrUpdatePublicCertificate200Response, - WebAppsCreateOrUpdatePublicCertificatedefaultResponse, + WebAppsCreateOrUpdatePublicCertificateDefaultResponse, WebAppsDeletePublicCertificate200Response, WebAppsDeletePublicCertificate204Response, - WebAppsDeletePublicCertificatedefaultResponse, + WebAppsDeletePublicCertificateDefaultResponse, WebAppsListPublishingProfileXmlWithSecrets200Response, - WebAppsListPublishingProfileXmlWithSecretsdefaultResponse, + WebAppsListPublishingProfileXmlWithSecretsDefaultResponse, WebAppsResetProductionSlotConfig200Response, - WebAppsResetProductionSlotConfigdefaultResponse, + WebAppsResetProductionSlotConfigDefaultResponse, WebAppsRestart200Response, - WebAppsRestartdefaultResponse, + WebAppsRestartDefaultResponse, WebAppsRestoreFromBackupBlob200Response, WebAppsRestoreFromBackupBlob202Response, - WebAppsRestoreFromBackupBlobdefaultResponse, + WebAppsRestoreFromBackupBlobDefaultResponse, WebAppsRestoreFromDeletedApp200Response, WebAppsRestoreFromDeletedApp202Response, - WebAppsRestoreFromDeletedAppdefaultResponse, + WebAppsRestoreFromDeletedAppDefaultResponse, WebAppsRestoreSnapshot200Response, WebAppsRestoreSnapshot202Response, - WebAppsRestoreSnapshotdefaultResponse, + WebAppsRestoreSnapshotDefaultResponse, WebAppsListSiteExtensions200Response, WebAppsListSiteExtensions404Response, - WebAppsListSiteExtensionsdefaultResponse, + WebAppsListSiteExtensionsDefaultResponse, WebAppsGetSiteExtension200Response, WebAppsGetSiteExtension404Response, - WebAppsGetSiteExtensiondefaultResponse, + WebAppsGetSiteExtensionDefaultResponse, WebAppsInstallSiteExtension200Response, WebAppsInstallSiteExtension201Response, WebAppsInstallSiteExtension429Response, - WebAppsInstallSiteExtensiondefaultResponse, + WebAppsInstallSiteExtensionDefaultResponse, WebAppsDeleteSiteExtension204Response, WebAppsDeleteSiteExtension404Response, - WebAppsDeleteSiteExtensiondefaultResponse, + WebAppsDeleteSiteExtensionDefaultResponse, WebAppsListSlots200Response, - WebAppsListSlotsdefaultResponse, + WebAppsListSlotsDefaultResponse, WebAppsGetSlot200Response, WebAppsGetSlot404Response, - WebAppsGetSlotdefaultResponse, + WebAppsGetSlotDefaultResponse, WebAppsCreateOrUpdateSlot200Response, WebAppsCreateOrUpdateSlot202Response, - WebAppsCreateOrUpdateSlotdefaultResponse, + WebAppsCreateOrUpdateSlotDefaultResponse, WebAppsDeleteSlot200Response, WebAppsDeleteSlot204Response, WebAppsDeleteSlot404Response, - WebAppsDeleteSlotdefaultResponse, + WebAppsDeleteSlotDefaultResponse, WebAppsUpdateSlot200Response, WebAppsUpdateSlot202Response, - WebAppsUpdateSlotdefaultResponse, + WebAppsUpdateSlotDefaultResponse, WebAppsAnalyzeCustomHostnameSlot200Response, - WebAppsAnalyzeCustomHostnameSlotdefaultResponse, + WebAppsAnalyzeCustomHostnameSlotDefaultResponse, WebAppsApplySlotConfigurationSlot200Response, - WebAppsApplySlotConfigurationSlotdefaultResponse, + WebAppsApplySlotConfigurationSlotDefaultResponse, WebAppsBackupSlot200Response, - WebAppsBackupSlotdefaultResponse, + WebAppsBackupSlotDefaultResponse, WebAppsListBackupsSlot200Response, - WebAppsListBackupsSlotdefaultResponse, + WebAppsListBackupsSlotDefaultResponse, WebAppsGetBackupStatusSlot200Response, - WebAppsGetBackupStatusSlotdefaultResponse, + WebAppsGetBackupStatusSlotDefaultResponse, WebAppsDeleteBackupSlot200Response, WebAppsDeleteBackupSlot404Response, - WebAppsDeleteBackupSlotdefaultResponse, + WebAppsDeleteBackupSlotDefaultResponse, WebAppsListBackupStatusSecretsSlot200Response, - WebAppsListBackupStatusSecretsSlotdefaultResponse, + WebAppsListBackupStatusSecretsSlotDefaultResponse, WebAppsRestoreSlot200Response, WebAppsRestoreSlot202Response, - WebAppsRestoreSlotdefaultResponse, + WebAppsRestoreSlotDefaultResponse, WebAppsListBasicPublishingCredentialsPoliciesSlot200Response, - WebAppsListBasicPublishingCredentialsPoliciesSlotdefaultResponse, + WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse, WebAppsGetFtpAllowedSlot200Response, - WebAppsGetFtpAllowedSlotdefaultResponse, + WebAppsGetFtpAllowedSlotDefaultResponse, WebAppsUpdateFtpAllowedSlot200Response, - WebAppsUpdateFtpAllowedSlotdefaultResponse, + WebAppsUpdateFtpAllowedSlotDefaultResponse, WebAppsGetScmAllowedSlot200Response, - WebAppsGetScmAllowedSlotdefaultResponse, + WebAppsGetScmAllowedSlotDefaultResponse, WebAppsUpdateScmAllowedSlot200Response, - WebAppsUpdateScmAllowedSlotdefaultResponse, + WebAppsUpdateScmAllowedSlotDefaultResponse, WebAppsListConfigurationsSlot200Response, - WebAppsListConfigurationsSlotdefaultResponse, + WebAppsListConfigurationsSlotDefaultResponse, WebAppsUpdateApplicationSettingsSlot200Response, - WebAppsUpdateApplicationSettingsSlotdefaultResponse, + WebAppsUpdateApplicationSettingsSlotDefaultResponse, WebAppsListApplicationSettingsSlot200Response, - WebAppsListApplicationSettingsSlotdefaultResponse, + WebAppsListApplicationSettingsSlotDefaultResponse, WebAppsUpdateAuthSettingsSlot200Response, - WebAppsUpdateAuthSettingsSlotdefaultResponse, + WebAppsUpdateAuthSettingsSlotDefaultResponse, WebAppsGetAuthSettingsSlot200Response, - WebAppsGetAuthSettingsSlotdefaultResponse, + WebAppsGetAuthSettingsSlotDefaultResponse, WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response, - WebAppsGetAuthSettingsV2WithoutSecretsSlotdefaultResponse, + WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse, WebAppsUpdateAuthSettingsV2Slot200Response, - WebAppsUpdateAuthSettingsV2SlotdefaultResponse, + WebAppsUpdateAuthSettingsV2SlotDefaultResponse, WebAppsGetAuthSettingsV2Slot200Response, - WebAppsGetAuthSettingsV2SlotdefaultResponse, + WebAppsGetAuthSettingsV2SlotDefaultResponse, WebAppsUpdateAzureStorageAccountsSlot200Response, - WebAppsUpdateAzureStorageAccountsSlotdefaultResponse, + WebAppsUpdateAzureStorageAccountsSlotDefaultResponse, WebAppsListAzureStorageAccountsSlot200Response, - WebAppsListAzureStorageAccountsSlotdefaultResponse, + WebAppsListAzureStorageAccountsSlotDefaultResponse, WebAppsUpdateBackupConfigurationSlot200Response, - WebAppsUpdateBackupConfigurationSlotdefaultResponse, + WebAppsUpdateBackupConfigurationSlotDefaultResponse, WebAppsDeleteBackupConfigurationSlot200Response, - WebAppsDeleteBackupConfigurationSlotdefaultResponse, + WebAppsDeleteBackupConfigurationSlotDefaultResponse, WebAppsGetBackupConfigurationSlot200Response, - WebAppsGetBackupConfigurationSlotdefaultResponse, + WebAppsGetBackupConfigurationSlotDefaultResponse, WebAppsGetAppSettingsKeyVaultReferencesSlot200Response, - WebAppsGetAppSettingsKeyVaultReferencesSlotdefaultResponse, + WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse, WebAppsGetAppSettingKeyVaultReferenceSlot200Response, - WebAppsGetAppSettingKeyVaultReferenceSlotdefaultResponse, + WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse, WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response, - WebAppsGetSiteConnectionStringKeyVaultReferencesSlotdefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse, WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response, - WebAppsGetSiteConnectionStringKeyVaultReferenceSlotdefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse, WebAppsUpdateConnectionStringsSlot200Response, - WebAppsUpdateConnectionStringsSlotdefaultResponse, + WebAppsUpdateConnectionStringsSlotDefaultResponse, WebAppsListConnectionStringsSlot200Response, - WebAppsListConnectionStringsSlotdefaultResponse, + WebAppsListConnectionStringsSlotDefaultResponse, WebAppsGetDiagnosticLogsConfigurationSlot200Response, - WebAppsGetDiagnosticLogsConfigurationSlotdefaultResponse, + WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse, WebAppsUpdateDiagnosticLogsConfigSlot200Response, - WebAppsUpdateDiagnosticLogsConfigSlotdefaultResponse, + WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse, WebAppsUpdateMetadataSlot200Response, - WebAppsUpdateMetadataSlotdefaultResponse, + WebAppsUpdateMetadataSlotDefaultResponse, WebAppsListMetadataSlot200Response, - WebAppsListMetadataSlotdefaultResponse, + WebAppsListMetadataSlotDefaultResponse, WebAppsListPublishingCredentialsSlot200Response, - WebAppsListPublishingCredentialsSlotdefaultResponse, + WebAppsListPublishingCredentialsSlotDefaultResponse, WebAppsUpdateSitePushSettingsSlot200Response, - WebAppsUpdateSitePushSettingsSlotdefaultResponse, + WebAppsUpdateSitePushSettingsSlotDefaultResponse, WebAppsListSitePushSettingsSlot200Response, - WebAppsListSitePushSettingsSlotdefaultResponse, + WebAppsListSitePushSettingsSlotDefaultResponse, WebAppsGetConfigurationSlot200Response, - WebAppsGetConfigurationSlotdefaultResponse, + WebAppsGetConfigurationSlotDefaultResponse, WebAppsCreateOrUpdateConfigurationSlot200Response, - WebAppsCreateOrUpdateConfigurationSlotdefaultResponse, + WebAppsCreateOrUpdateConfigurationSlotDefaultResponse, WebAppsUpdateConfigurationSlot200Response, - WebAppsUpdateConfigurationSlotdefaultResponse, + WebAppsUpdateConfigurationSlotDefaultResponse, WebAppsListConfigurationSnapshotInfoSlot200Response, - WebAppsListConfigurationSnapshotInfoSlotdefaultResponse, + WebAppsListConfigurationSnapshotInfoSlotDefaultResponse, WebAppsGetConfigurationSnapshotSlot200Response, - WebAppsGetConfigurationSnapshotSlotdefaultResponse, + WebAppsGetConfigurationSnapshotSlotDefaultResponse, WebAppsRecoverSiteConfigurationSnapshotSlot204Response, - WebAppsRecoverSiteConfigurationSnapshotSlotdefaultResponse, + WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse, WebAppsGetWebSiteContainerLogsSlot200Response, WebAppsGetWebSiteContainerLogsSlot204Response, - WebAppsGetWebSiteContainerLogsSlotdefaultResponse, + WebAppsGetWebSiteContainerLogsSlotDefaultResponse, WebAppsGetContainerLogsZipSlot200Response, WebAppsGetContainerLogsZipSlot204Response, - WebAppsGetContainerLogsZipSlotdefaultResponse, + WebAppsGetContainerLogsZipSlotDefaultResponse, WebAppsListContinuousWebJobsSlot200Response, - WebAppsListContinuousWebJobsSlotdefaultResponse, + WebAppsListContinuousWebJobsSlotDefaultResponse, WebAppsGetContinuousWebJobSlot200Response, WebAppsGetContinuousWebJobSlot404Response, - WebAppsGetContinuousWebJobSlotdefaultResponse, + WebAppsGetContinuousWebJobSlotDefaultResponse, WebAppsDeleteContinuousWebJobSlot200Response, WebAppsDeleteContinuousWebJobSlot204Response, - WebAppsDeleteContinuousWebJobSlotdefaultResponse, + WebAppsDeleteContinuousWebJobSlotDefaultResponse, WebAppsStartContinuousWebJobSlot200Response, WebAppsStartContinuousWebJobSlot404Response, - WebAppsStartContinuousWebJobSlotdefaultResponse, + WebAppsStartContinuousWebJobSlotDefaultResponse, WebAppsStopContinuousWebJobSlot200Response, WebAppsStopContinuousWebJobSlot404Response, - WebAppsStopContinuousWebJobSlotdefaultResponse, + WebAppsStopContinuousWebJobSlotDefaultResponse, WebAppsListDeploymentsSlot200Response, - WebAppsListDeploymentsSlotdefaultResponse, + WebAppsListDeploymentsSlotDefaultResponse, WebAppsGetDeploymentSlot200Response, - WebAppsGetDeploymentSlotdefaultResponse, + WebAppsGetDeploymentSlotDefaultResponse, WebAppsCreateDeploymentSlot200Response, - WebAppsCreateDeploymentSlotdefaultResponse, + WebAppsCreateDeploymentSlotDefaultResponse, WebAppsDeleteDeploymentSlot200Response, WebAppsDeleteDeploymentSlot204Response, - WebAppsDeleteDeploymentSlotdefaultResponse, + WebAppsDeleteDeploymentSlotDefaultResponse, WebAppsListDeploymentLogSlot200Response, - WebAppsListDeploymentLogSlotdefaultResponse, + WebAppsListDeploymentLogSlotDefaultResponse, WebAppsDiscoverBackupSlot200Response, - WebAppsDiscoverBackupSlotdefaultResponse, + WebAppsDiscoverBackupSlotDefaultResponse, WebAppsListDomainOwnershipIdentifiersSlot200Response, - WebAppsListDomainOwnershipIdentifiersSlotdefaultResponse, + WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse, WebAppsGetDomainOwnershipIdentifierSlot200Response, - WebAppsGetDomainOwnershipIdentifierSlotdefaultResponse, + WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse, WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response, - WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotdefaultResponse, + WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse, WebAppsDeleteDomainOwnershipIdentifierSlot200Response, WebAppsDeleteDomainOwnershipIdentifierSlot204Response, - WebAppsDeleteDomainOwnershipIdentifierSlotdefaultResponse, + WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse, WebAppsUpdateDomainOwnershipIdentifierSlot200Response, - WebAppsUpdateDomainOwnershipIdentifierSlotdefaultResponse, + WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse, WebAppsGetMSDeployStatusSlot200Response, - WebAppsGetMSDeployStatusSlotdefaultResponse, + WebAppsGetMSDeployStatusSlotDefaultResponse, WebAppsCreateMSDeployOperationSlot201Response, WebAppsCreateMSDeployOperationSlot409Response, - WebAppsCreateMSDeployOperationSlotdefaultResponse, + WebAppsCreateMSDeployOperationSlotDefaultResponse, WebAppsGetMSDeployLogSlot200Response, WebAppsGetMSDeployLogSlot404Response, - WebAppsGetMSDeployLogSlotdefaultResponse, + WebAppsGetMSDeployLogSlotDefaultResponse, WebAppsListInstanceFunctionsSlot200Response, WebAppsListInstanceFunctionsSlot404Response, - WebAppsListInstanceFunctionsSlotdefaultResponse, + WebAppsListInstanceFunctionsSlotDefaultResponse, WebAppsGetFunctionsAdminTokenSlot200Response, - WebAppsGetFunctionsAdminTokenSlotdefaultResponse, + WebAppsGetFunctionsAdminTokenSlotDefaultResponse, WebAppsGetInstanceFunctionSlot200Response, WebAppsGetInstanceFunctionSlot404Response, - WebAppsGetInstanceFunctionSlotdefaultResponse, + WebAppsGetInstanceFunctionSlotDefaultResponse, WebAppsCreateInstanceFunctionSlot201Response, - WebAppsCreateInstanceFunctionSlotdefaultResponse, + WebAppsCreateInstanceFunctionSlotDefaultResponse, WebAppsDeleteInstanceFunctionSlot204Response, WebAppsDeleteInstanceFunctionSlot404Response, - WebAppsDeleteInstanceFunctionSlotdefaultResponse, + WebAppsDeleteInstanceFunctionSlotDefaultResponse, WebAppsCreateOrUpdateFunctionSecretSlot200Response, WebAppsCreateOrUpdateFunctionSecretSlot201Response, - WebAppsCreateOrUpdateFunctionSecretSlotdefaultResponse, + WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse, WebAppsDeleteFunctionSecretSlot204Response, WebAppsDeleteFunctionSecretSlot404Response, - WebAppsDeleteFunctionSecretSlotdefaultResponse, + WebAppsDeleteFunctionSecretSlotDefaultResponse, WebAppsListFunctionKeysSlot200Response, - WebAppsListFunctionKeysSlotdefaultResponse, + WebAppsListFunctionKeysSlotDefaultResponse, WebAppsListFunctionSecretsSlot200Response, - WebAppsListFunctionSecretsSlotdefaultResponse, + WebAppsListFunctionSecretsSlotDefaultResponse, WebAppsListHostKeysSlot200Response, - WebAppsListHostKeysSlotdefaultResponse, + WebAppsListHostKeysSlotDefaultResponse, WebAppsListSyncStatusSlot204Response, - WebAppsListSyncStatusSlotdefaultResponse, + WebAppsListSyncStatusSlotDefaultResponse, WebAppsSyncFunctionsSlot204Response, - WebAppsSyncFunctionsSlotdefaultResponse, + WebAppsSyncFunctionsSlotDefaultResponse, WebAppsCreateOrUpdateHostSecretSlot200Response, WebAppsCreateOrUpdateHostSecretSlot201Response, - WebAppsCreateOrUpdateHostSecretSlotdefaultResponse, + WebAppsCreateOrUpdateHostSecretSlotDefaultResponse, WebAppsDeleteHostSecretSlot204Response, WebAppsDeleteHostSecretSlot404Response, - WebAppsDeleteHostSecretSlotdefaultResponse, + WebAppsDeleteHostSecretSlotDefaultResponse, WebAppsListHostNameBindingsSlot200Response, - WebAppsListHostNameBindingsSlotdefaultResponse, + WebAppsListHostNameBindingsSlotDefaultResponse, WebAppsGetHostNameBindingSlot200Response, - WebAppsGetHostNameBindingSlotdefaultResponse, + WebAppsGetHostNameBindingSlotDefaultResponse, WebAppsCreateOrUpdateHostNameBindingSlot200Response, - WebAppsCreateOrUpdateHostNameBindingSlotdefaultResponse, + WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse, WebAppsDeleteHostNameBindingSlot200Response, WebAppsDeleteHostNameBindingSlot204Response, - WebAppsDeleteHostNameBindingSlotdefaultResponse, + WebAppsDeleteHostNameBindingSlotDefaultResponse, WebAppsGetHybridConnectionSlot200Response, - WebAppsGetHybridConnectionSlotdefaultResponse, + WebAppsGetHybridConnectionSlotDefaultResponse, WebAppsCreateOrUpdateHybridConnectionSlot200Response, - WebAppsCreateOrUpdateHybridConnectionSlotdefaultResponse, + WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse, WebAppsDeleteHybridConnectionSlot200Response, WebAppsDeleteHybridConnectionSlot404Response, - WebAppsDeleteHybridConnectionSlotdefaultResponse, + WebAppsDeleteHybridConnectionSlotDefaultResponse, WebAppsUpdateHybridConnectionSlot200Response, - WebAppsUpdateHybridConnectionSlotdefaultResponse, + WebAppsUpdateHybridConnectionSlotDefaultResponse, WebAppsListHybridConnectionsSlot200Response, - WebAppsListHybridConnectionsSlotdefaultResponse, + WebAppsListHybridConnectionsSlotDefaultResponse, WebAppsListRelayServiceConnectionsSlot200Response, - WebAppsListRelayServiceConnectionsSlotdefaultResponse, + WebAppsListRelayServiceConnectionsSlotDefaultResponse, WebAppsGetRelayServiceConnectionSlot200Response, - WebAppsGetRelayServiceConnectionSlotdefaultResponse, + WebAppsGetRelayServiceConnectionSlotDefaultResponse, WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response, - WebAppsCreateOrUpdateRelayServiceConnectionSlotdefaultResponse, + WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse, WebAppsDeleteRelayServiceConnectionSlot200Response, WebAppsDeleteRelayServiceConnectionSlot404Response, - WebAppsDeleteRelayServiceConnectionSlotdefaultResponse, + WebAppsDeleteRelayServiceConnectionSlotDefaultResponse, WebAppsUpdateRelayServiceConnectionSlot200Response, - WebAppsUpdateRelayServiceConnectionSlotdefaultResponse, + WebAppsUpdateRelayServiceConnectionSlotDefaultResponse, WebAppsListInstanceIdentifiersSlot200Response, - WebAppsListInstanceIdentifiersSlotdefaultResponse, + WebAppsListInstanceIdentifiersSlotDefaultResponse, WebAppsGetInstanceInfoSlot200Response, - WebAppsGetInstanceInfoSlotdefaultResponse, + WebAppsGetInstanceInfoSlotDefaultResponse, WebAppsGetInstanceMsDeployStatusSlot200Response, - WebAppsGetInstanceMsDeployStatusSlotdefaultResponse, + WebAppsGetInstanceMsDeployStatusSlotDefaultResponse, WebAppsCreateInstanceMSDeployOperationSlot201Response, WebAppsCreateInstanceMSDeployOperationSlot409Response, - WebAppsCreateInstanceMSDeployOperationSlotdefaultResponse, + WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse, WebAppsGetInstanceMSDeployLogSlot200Response, WebAppsGetInstanceMSDeployLogSlot404Response, - WebAppsGetInstanceMSDeployLogSlotdefaultResponse, + WebAppsGetInstanceMSDeployLogSlotDefaultResponse, WebAppsListInstanceProcessesSlot200Response, WebAppsListInstanceProcessesSlot404Response, - WebAppsListInstanceProcessesSlotdefaultResponse, + WebAppsListInstanceProcessesSlotDefaultResponse, WebAppsGetInstanceProcessSlot200Response, WebAppsGetInstanceProcessSlot404Response, - WebAppsGetInstanceProcessSlotdefaultResponse, + WebAppsGetInstanceProcessSlotDefaultResponse, WebAppsDeleteInstanceProcessSlot204Response, WebAppsDeleteInstanceProcessSlot404Response, - WebAppsDeleteInstanceProcessSlotdefaultResponse, + WebAppsDeleteInstanceProcessSlotDefaultResponse, WebAppsGetInstanceProcessDumpSlot200Response, WebAppsGetInstanceProcessDumpSlot404Response, - WebAppsGetInstanceProcessDumpSlotdefaultResponse, + WebAppsGetInstanceProcessDumpSlotDefaultResponse, WebAppsListInstanceProcessModulesSlot200Response, WebAppsListInstanceProcessModulesSlot404Response, - WebAppsListInstanceProcessModulesSlotdefaultResponse, + WebAppsListInstanceProcessModulesSlotDefaultResponse, WebAppsGetInstanceProcessModuleSlot200Response, WebAppsGetInstanceProcessModuleSlot404Response, - WebAppsGetInstanceProcessModuleSlotdefaultResponse, + WebAppsGetInstanceProcessModuleSlotDefaultResponse, WebAppsListInstanceProcessThreadsSlot200Response, WebAppsListInstanceProcessThreadsSlot404Response, - WebAppsListInstanceProcessThreadsSlotdefaultResponse, + WebAppsListInstanceProcessThreadsSlotDefaultResponse, WebAppsIsCloneableSlot200Response, - WebAppsIsCloneableSlotdefaultResponse, + WebAppsIsCloneableSlotDefaultResponse, WebAppsListSiteBackupsSlot200Response, - WebAppsListSiteBackupsSlotdefaultResponse, + WebAppsListSiteBackupsSlotDefaultResponse, WebAppsListSyncFunctionTriggersSlot200Response, - WebAppsListSyncFunctionTriggersSlotdefaultResponse, + WebAppsListSyncFunctionTriggersSlotDefaultResponse, WebAppsGetMigrateMySqlStatusSlot200Response, - WebAppsGetMigrateMySqlStatusSlotdefaultResponse, + WebAppsGetMigrateMySqlStatusSlotDefaultResponse, WebAppsGetSwiftVirtualNetworkConnectionSlot200Response, - WebAppsGetSwiftVirtualNetworkConnectionSlotdefaultResponse, + WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse, WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response, - WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, WebAppsDeleteSwiftVirtualNetworkSlot200Response, WebAppsDeleteSwiftVirtualNetworkSlot404Response, - WebAppsDeleteSwiftVirtualNetworkSlotdefaultResponse, + WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse, WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response, - WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, WebAppsListNetworkFeaturesSlot200Response, WebAppsListNetworkFeaturesSlot404Response, - WebAppsListNetworkFeaturesSlotdefaultResponse, + WebAppsListNetworkFeaturesSlotDefaultResponse, WebAppsGetNetworkTraceOperationSlot200Response, WebAppsGetNetworkTraceOperationSlot202Response, - WebAppsGetNetworkTraceOperationSlotdefaultResponse, + WebAppsGetNetworkTraceOperationSlotDefaultResponse, WebAppsStartWebSiteNetworkTraceSlot200Response, - WebAppsStartWebSiteNetworkTraceSlotdefaultResponse, + WebAppsStartWebSiteNetworkTraceSlotDefaultResponse, WebAppsStartWebSiteNetworkTraceOperationSlot200Response, WebAppsStartWebSiteNetworkTraceOperationSlot202Response, - WebAppsStartWebSiteNetworkTraceOperationSlotdefaultResponse, + WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse, WebAppsStopWebSiteNetworkTraceSlot200Response, WebAppsStopWebSiteNetworkTraceSlot204Response, - WebAppsStopWebSiteNetworkTraceSlotdefaultResponse, + WebAppsStopWebSiteNetworkTraceSlotDefaultResponse, WebAppsGetNetworkTracesSlot200Response, - WebAppsGetNetworkTracesSlotdefaultResponse, + WebAppsGetNetworkTracesSlotDefaultResponse, WebAppsGetNetworkTraceOperationSlotV2200Response, WebAppsGetNetworkTraceOperationSlotV2202Response, - WebAppsGetNetworkTraceOperationSlotV2defaultResponse, + WebAppsGetNetworkTraceOperationSlotV2DefaultResponse, WebAppsGetNetworkTracesSlotV2200Response, - WebAppsGetNetworkTracesSlotV2defaultResponse, + WebAppsGetNetworkTracesSlotV2DefaultResponse, WebAppsGenerateNewSitePublishingPasswordSlot200Response, WebAppsGenerateNewSitePublishingPasswordSlot204Response, - WebAppsGenerateNewSitePublishingPasswordSlotdefaultResponse, + WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse, WebAppsListPerfMonCountersSlot200Response, - WebAppsListPerfMonCountersSlotdefaultResponse, + WebAppsListPerfMonCountersSlotDefaultResponse, WebAppsGetSitePhpErrorLogFlagSlot200Response, - WebAppsGetSitePhpErrorLogFlagSlotdefaultResponse, + WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse, WebAppsListPremierAddOnsSlot200Response, - WebAppsListPremierAddOnsSlotdefaultResponse, + WebAppsListPremierAddOnsSlotDefaultResponse, WebAppsGetPremierAddOnSlot200Response, - WebAppsGetPremierAddOnSlotdefaultResponse, + WebAppsGetPremierAddOnSlotDefaultResponse, WebAppsAddPremierAddOnSlot200Response, - WebAppsAddPremierAddOnSlotdefaultResponse, + WebAppsAddPremierAddOnSlotDefaultResponse, WebAppsDeletePremierAddOnSlot200Response, - WebAppsDeletePremierAddOnSlotdefaultResponse, + WebAppsDeletePremierAddOnSlotDefaultResponse, WebAppsUpdatePremierAddOnSlot200Response, - WebAppsUpdatePremierAddOnSlotdefaultResponse, + WebAppsUpdatePremierAddOnSlotDefaultResponse, WebAppsGetPrivateAccessSlot200Response, - WebAppsGetPrivateAccessSlotdefaultResponse, + WebAppsGetPrivateAccessSlotDefaultResponse, WebAppsPutPrivateAccessVnetSlot200Response, - WebAppsPutPrivateAccessVnetSlotdefaultResponse, + WebAppsPutPrivateAccessVnetSlotDefaultResponse, WebAppsGetPrivateEndpointConnectionListSlot200Response, - WebAppsGetPrivateEndpointConnectionListSlotdefaultResponse, + WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse, WebAppsGetPrivateEndpointConnectionSlot200Response, - WebAppsGetPrivateEndpointConnectionSlotdefaultResponse, + WebAppsGetPrivateEndpointConnectionSlotDefaultResponse, WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response, WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response, - WebAppsApproveOrRejectPrivateEndpointConnectionSlotdefaultResponse, + WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse, WebAppsDeletePrivateEndpointConnectionSlot200Response, WebAppsDeletePrivateEndpointConnectionSlot202Response, WebAppsDeletePrivateEndpointConnectionSlot204Response, - WebAppsDeletePrivateEndpointConnectionSlotdefaultResponse, + WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse, WebAppsGetPrivateLinkResourcesSlot200Response, - WebAppsGetPrivateLinkResourcesSlotdefaultResponse, + WebAppsGetPrivateLinkResourcesSlotDefaultResponse, WebAppsListProcessesSlot200Response, WebAppsListProcessesSlot404Response, - WebAppsListProcessesSlotdefaultResponse, + WebAppsListProcessesSlotDefaultResponse, WebAppsGetProcessSlot200Response, WebAppsGetProcessSlot404Response, - WebAppsGetProcessSlotdefaultResponse, + WebAppsGetProcessSlotDefaultResponse, WebAppsDeleteProcessSlot204Response, WebAppsDeleteProcessSlot404Response, - WebAppsDeleteProcessSlotdefaultResponse, + WebAppsDeleteProcessSlotDefaultResponse, WebAppsGetProcessDumpSlot200Response, WebAppsGetProcessDumpSlot404Response, - WebAppsGetProcessDumpSlotdefaultResponse, + WebAppsGetProcessDumpSlotDefaultResponse, WebAppsListProcessModulesSlot200Response, WebAppsListProcessModulesSlot404Response, - WebAppsListProcessModulesSlotdefaultResponse, + WebAppsListProcessModulesSlotDefaultResponse, WebAppsGetProcessModuleSlot200Response, WebAppsGetProcessModuleSlot404Response, - WebAppsGetProcessModuleSlotdefaultResponse, + WebAppsGetProcessModuleSlotDefaultResponse, WebAppsListProcessThreadsSlot200Response, WebAppsListProcessThreadsSlot404Response, - WebAppsListProcessThreadsSlotdefaultResponse, + WebAppsListProcessThreadsSlotDefaultResponse, WebAppsListPublicCertificatesSlot200Response, - WebAppsListPublicCertificatesSlotdefaultResponse, + WebAppsListPublicCertificatesSlotDefaultResponse, WebAppsGetPublicCertificateSlot200Response, - WebAppsGetPublicCertificateSlotdefaultResponse, + WebAppsGetPublicCertificateSlotDefaultResponse, WebAppsCreateOrUpdatePublicCertificateSlot200Response, - WebAppsCreateOrUpdatePublicCertificateSlotdefaultResponse, + WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse, WebAppsDeletePublicCertificateSlot200Response, WebAppsDeletePublicCertificateSlot204Response, - WebAppsDeletePublicCertificateSlotdefaultResponse, + WebAppsDeletePublicCertificateSlotDefaultResponse, WebAppsListPublishingProfileXmlWithSecretsSlot200Response, - WebAppsListPublishingProfileXmlWithSecretsSlotdefaultResponse, + WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse, WebAppsResetSlotConfigurationSlot200Response, - WebAppsResetSlotConfigurationSlotdefaultResponse, + WebAppsResetSlotConfigurationSlotDefaultResponse, WebAppsRestartSlot200Response, - WebAppsRestartSlotdefaultResponse, + WebAppsRestartSlotDefaultResponse, WebAppsRestoreFromBackupBlobSlot200Response, WebAppsRestoreFromBackupBlobSlot202Response, - WebAppsRestoreFromBackupBlobSlotdefaultResponse, + WebAppsRestoreFromBackupBlobSlotDefaultResponse, WebAppsRestoreFromDeletedAppSlot200Response, WebAppsRestoreFromDeletedAppSlot202Response, - WebAppsRestoreFromDeletedAppSlotdefaultResponse, + WebAppsRestoreFromDeletedAppSlotDefaultResponse, WebAppsRestoreSnapshotSlot200Response, WebAppsRestoreSnapshotSlot202Response, - WebAppsRestoreSnapshotSlotdefaultResponse, + WebAppsRestoreSnapshotSlotDefaultResponse, WebAppsListSiteExtensionsSlot200Response, WebAppsListSiteExtensionsSlot404Response, - WebAppsListSiteExtensionsSlotdefaultResponse, + WebAppsListSiteExtensionsSlotDefaultResponse, WebAppsGetSiteExtensionSlot200Response, WebAppsGetSiteExtensionSlot404Response, - WebAppsGetSiteExtensionSlotdefaultResponse, + WebAppsGetSiteExtensionSlotDefaultResponse, WebAppsInstallSiteExtensionSlot200Response, WebAppsInstallSiteExtensionSlot201Response, WebAppsInstallSiteExtensionSlot429Response, - WebAppsInstallSiteExtensionSlotdefaultResponse, + WebAppsInstallSiteExtensionSlotDefaultResponse, WebAppsDeleteSiteExtensionSlot204Response, WebAppsDeleteSiteExtensionSlot404Response, - WebAppsDeleteSiteExtensionSlotdefaultResponse, + WebAppsDeleteSiteExtensionSlotDefaultResponse, WebAppsListSlotDifferencesSlot200Response, - WebAppsListSlotDifferencesSlotdefaultResponse, + WebAppsListSlotDifferencesSlotDefaultResponse, WebAppsSwapSlot200Response, WebAppsSwapSlot202Response, - WebAppsSwapSlotdefaultResponse, + WebAppsSwapSlotDefaultResponse, WebAppsListSnapshotsSlot200Response, - WebAppsListSnapshotsSlotdefaultResponse, + WebAppsListSnapshotsSlotDefaultResponse, WebAppsListSnapshotsFromDRSecondarySlot200Response, - WebAppsListSnapshotsFromDRSecondarySlotdefaultResponse, + WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse, WebAppsGetSourceControlSlot200Response, WebAppsGetSourceControlSlot201Response, WebAppsGetSourceControlSlot202Response, - WebAppsGetSourceControlSlotdefaultResponse, + WebAppsGetSourceControlSlotDefaultResponse, WebAppsCreateOrUpdateSourceControlSlot200Response, WebAppsCreateOrUpdateSourceControlSlot201Response, WebAppsCreateOrUpdateSourceControlSlot202Response, - WebAppsCreateOrUpdateSourceControlSlotdefaultResponse, + WebAppsCreateOrUpdateSourceControlSlotDefaultResponse, WebAppsDeleteSourceControlSlot200Response, WebAppsDeleteSourceControlSlot202Response, WebAppsDeleteSourceControlSlot404Response, - WebAppsDeleteSourceControlSlotdefaultResponse, + WebAppsDeleteSourceControlSlotDefaultResponse, WebAppsUpdateSourceControlSlot200Response, WebAppsUpdateSourceControlSlot201Response, WebAppsUpdateSourceControlSlot202Response, - WebAppsUpdateSourceControlSlotdefaultResponse, + WebAppsUpdateSourceControlSlotDefaultResponse, WebAppsStartSlot200Response, - WebAppsStartSlotdefaultResponse, + WebAppsStartSlotDefaultResponse, WebAppsStartNetworkTraceSlot200Response, WebAppsStartNetworkTraceSlot202Response, - WebAppsStartNetworkTraceSlotdefaultResponse, + WebAppsStartNetworkTraceSlotDefaultResponse, WebAppsStopSlot200Response, - WebAppsStopSlotdefaultResponse, + WebAppsStopSlotDefaultResponse, WebAppsStopNetworkTraceSlot200Response, WebAppsStopNetworkTraceSlot204Response, - WebAppsStopNetworkTraceSlotdefaultResponse, + WebAppsStopNetworkTraceSlotDefaultResponse, WebAppsSyncRepositorySlot200Response, - WebAppsSyncRepositorySlotdefaultResponse, + WebAppsSyncRepositorySlotDefaultResponse, WebAppsSyncFunctionTriggersSlot204Response, - WebAppsSyncFunctionTriggersSlotdefaultResponse, + WebAppsSyncFunctionTriggersSlotDefaultResponse, WebAppsListTriggeredWebJobsSlot200Response, - WebAppsListTriggeredWebJobsSlotdefaultResponse, + WebAppsListTriggeredWebJobsSlotDefaultResponse, WebAppsGetTriggeredWebJobSlot200Response, WebAppsGetTriggeredWebJobSlot404Response, - WebAppsGetTriggeredWebJobSlotdefaultResponse, + WebAppsGetTriggeredWebJobSlotDefaultResponse, WebAppsDeleteTriggeredWebJobSlot200Response, WebAppsDeleteTriggeredWebJobSlot204Response, - WebAppsDeleteTriggeredWebJobSlotdefaultResponse, + WebAppsDeleteTriggeredWebJobSlotDefaultResponse, WebAppsListTriggeredWebJobHistorySlot200Response, WebAppsListTriggeredWebJobHistorySlot404Response, - WebAppsListTriggeredWebJobHistorySlotdefaultResponse, + WebAppsListTriggeredWebJobHistorySlotDefaultResponse, WebAppsGetTriggeredWebJobHistorySlot200Response, WebAppsGetTriggeredWebJobHistorySlot404Response, - WebAppsGetTriggeredWebJobHistorySlotdefaultResponse, + WebAppsGetTriggeredWebJobHistorySlotDefaultResponse, WebAppsRunTriggeredWebJobSlot200Response, WebAppsRunTriggeredWebJobSlot404Response, - WebAppsRunTriggeredWebJobSlotdefaultResponse, + WebAppsRunTriggeredWebJobSlotDefaultResponse, WebAppsListUsagesSlot200Response, - WebAppsListUsagesSlotdefaultResponse, + WebAppsListUsagesSlotDefaultResponse, WebAppsListVnetConnectionsSlot200Response, - WebAppsListVnetConnectionsSlotdefaultResponse, + WebAppsListVnetConnectionsSlotDefaultResponse, WebAppsGetVnetConnectionSlot200Response, - WebAppsGetVnetConnectionSlotdefaultResponse, + WebAppsGetVnetConnectionSlotDefaultResponse, WebAppsCreateOrUpdateVnetConnectionSlot200Response, - WebAppsCreateOrUpdateVnetConnectionSlotdefaultResponse, + WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse, WebAppsDeleteVnetConnectionSlot200Response, WebAppsDeleteVnetConnectionSlot404Response, - WebAppsDeleteVnetConnectionSlotdefaultResponse, + WebAppsDeleteVnetConnectionSlotDefaultResponse, WebAppsUpdateVnetConnectionSlot200Response, - WebAppsUpdateVnetConnectionSlotdefaultResponse, + WebAppsUpdateVnetConnectionSlotDefaultResponse, WebAppsGetVnetConnectionGatewaySlot200Response, WebAppsGetVnetConnectionGatewaySlot404Response, - WebAppsGetVnetConnectionGatewaySlotdefaultResponse, + WebAppsGetVnetConnectionGatewaySlotDefaultResponse, WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response, - WebAppsCreateOrUpdateVnetConnectionGatewaySlotdefaultResponse, + WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse, WebAppsUpdateVnetConnectionGatewaySlot200Response, - WebAppsUpdateVnetConnectionGatewaySlotdefaultResponse, + WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse, WebAppsListWebJobsSlot200Response, - WebAppsListWebJobsSlotdefaultResponse, + WebAppsListWebJobsSlotDefaultResponse, WebAppsGetWebJobSlot200Response, - WebAppsGetWebJobSlotdefaultResponse, + WebAppsGetWebJobSlotDefaultResponse, WebAppsListSlotDifferencesFromProduction200Response, - WebAppsListSlotDifferencesFromProductiondefaultResponse, + WebAppsListSlotDifferencesFromProductionDefaultResponse, WebAppsSwapSlotWithProduction200Response, WebAppsSwapSlotWithProduction202Response, - WebAppsSwapSlotWithProductiondefaultResponse, + WebAppsSwapSlotWithProductionDefaultResponse, WebAppsListSnapshots200Response, - WebAppsListSnapshotsdefaultResponse, + WebAppsListSnapshotsDefaultResponse, WebAppsListSnapshotsFromDRSecondary200Response, - WebAppsListSnapshotsFromDRSecondarydefaultResponse, + WebAppsListSnapshotsFromDRSecondaryDefaultResponse, WebAppsGetSourceControl200Response, WebAppsGetSourceControl201Response, WebAppsGetSourceControl202Response, - WebAppsGetSourceControldefaultResponse, + WebAppsGetSourceControlDefaultResponse, WebAppsCreateOrUpdateSourceControl200Response, WebAppsCreateOrUpdateSourceControl201Response, WebAppsCreateOrUpdateSourceControl202Response, - WebAppsCreateOrUpdateSourceControldefaultResponse, + WebAppsCreateOrUpdateSourceControlDefaultResponse, WebAppsDeleteSourceControl200Response, WebAppsDeleteSourceControl202Response, WebAppsDeleteSourceControl404Response, - WebAppsDeleteSourceControldefaultResponse, + WebAppsDeleteSourceControlDefaultResponse, WebAppsUpdateSourceControl200Response, WebAppsUpdateSourceControl201Response, WebAppsUpdateSourceControl202Response, - WebAppsUpdateSourceControldefaultResponse, + WebAppsUpdateSourceControlDefaultResponse, WebAppsStart200Response, - WebAppsStartdefaultResponse, + WebAppsStartDefaultResponse, WebAppsStartNetworkTrace200Response, WebAppsStartNetworkTrace202Response, - WebAppsStartNetworkTracedefaultResponse, + WebAppsStartNetworkTraceDefaultResponse, WebAppsStop200Response, - WebAppsStopdefaultResponse, + WebAppsStopDefaultResponse, WebAppsStopNetworkTrace200Response, WebAppsStopNetworkTrace204Response, - WebAppsStopNetworkTracedefaultResponse, + WebAppsStopNetworkTraceDefaultResponse, WebAppsSyncRepository200Response, - WebAppsSyncRepositorydefaultResponse, + WebAppsSyncRepositoryDefaultResponse, WebAppsSyncFunctionTriggers204Response, - WebAppsSyncFunctionTriggersdefaultResponse, + WebAppsSyncFunctionTriggersDefaultResponse, WebAppsListTriggeredWebJobs200Response, - WebAppsListTriggeredWebJobsdefaultResponse, + WebAppsListTriggeredWebJobsDefaultResponse, WebAppsGetTriggeredWebJob200Response, WebAppsGetTriggeredWebJob404Response, - WebAppsGetTriggeredWebJobdefaultResponse, + WebAppsGetTriggeredWebJobDefaultResponse, WebAppsDeleteTriggeredWebJob200Response, WebAppsDeleteTriggeredWebJob204Response, - WebAppsDeleteTriggeredWebJobdefaultResponse, + WebAppsDeleteTriggeredWebJobDefaultResponse, WebAppsListTriggeredWebJobHistory200Response, WebAppsListTriggeredWebJobHistory404Response, - WebAppsListTriggeredWebJobHistorydefaultResponse, + WebAppsListTriggeredWebJobHistoryDefaultResponse, WebAppsGetTriggeredWebJobHistory200Response, WebAppsGetTriggeredWebJobHistory404Response, - WebAppsGetTriggeredWebJobHistorydefaultResponse, + WebAppsGetTriggeredWebJobHistoryDefaultResponse, WebAppsRunTriggeredWebJob200Response, WebAppsRunTriggeredWebJob404Response, - WebAppsRunTriggeredWebJobdefaultResponse, + WebAppsRunTriggeredWebJobDefaultResponse, WebAppsListUsages200Response, - WebAppsListUsagesdefaultResponse, + WebAppsListUsagesDefaultResponse, WebAppsListVnetConnections200Response, - WebAppsListVnetConnectionsdefaultResponse, + WebAppsListVnetConnectionsDefaultResponse, WebAppsGetVnetConnection200Response, - WebAppsGetVnetConnectiondefaultResponse, + WebAppsGetVnetConnectionDefaultResponse, WebAppsCreateOrUpdateVnetConnection200Response, - WebAppsCreateOrUpdateVnetConnectiondefaultResponse, + WebAppsCreateOrUpdateVnetConnectionDefaultResponse, WebAppsDeleteVnetConnection200Response, WebAppsDeleteVnetConnection404Response, - WebAppsDeleteVnetConnectiondefaultResponse, + WebAppsDeleteVnetConnectionDefaultResponse, WebAppsUpdateVnetConnection200Response, - WebAppsUpdateVnetConnectiondefaultResponse, + WebAppsUpdateVnetConnectionDefaultResponse, WebAppsGetVnetConnectionGateway200Response, WebAppsGetVnetConnectionGateway404Response, - WebAppsGetVnetConnectionGatewaydefaultResponse, + WebAppsGetVnetConnectionGatewayDefaultResponse, WebAppsCreateOrUpdateVnetConnectionGateway200Response, - WebAppsCreateOrUpdateVnetConnectionGatewaydefaultResponse, + WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse, WebAppsUpdateVnetConnectionGateway200Response, - WebAppsUpdateVnetConnectionGatewaydefaultResponse, + WebAppsUpdateVnetConnectionGatewayDefaultResponse, WebAppsListWebJobs200Response, - WebAppsListWebJobsdefaultResponse, + WebAppsListWebJobsDefaultResponse, WebAppsGetWebJob200Response, - WebAppsGetWebJobdefaultResponse, -} from "./responses"; -import type { Client } from "@azure-rest/core-client"; + WebAppsGetWebJobDefaultResponse, +} from "./responses.js"; +import type { Client, StreamableMethod } from "@azure-rest/core-client"; export interface AppServiceCertificateOrdersList { /** List all certificate orders in a subscription. */ get( options?: AppServiceCertificateOrdersListParameters, - ): Promise< - AppServiceCertificateOrdersList200Response | AppServiceCertificateOrdersListdefaultResponse + ): StreamableMethod< + AppServiceCertificateOrdersList200Response | AppServiceCertificateOrdersListDefaultResponse >; } @@ -2201,9 +2201,9 @@ export interface AppServiceCertificateOrdersValidatePurchaseInformation { /** Validate information for a certificate order. */ post( options: AppServiceCertificateOrdersValidatePurchaseInformationParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersValidatePurchaseInformation204Response - | AppServiceCertificateOrdersValidatePurchaseInformationdefaultResponse + | AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse >; } @@ -2211,9 +2211,9 @@ export interface AppServiceCertificateOrdersListByResourceGroup { /** Get certificate orders in a resource group. */ get( options?: AppServiceCertificateOrdersListByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersListByResourceGroup200Response - | AppServiceCertificateOrdersListByResourceGroupdefaultResponse + | AppServiceCertificateOrdersListByResourceGroupDefaultResponse >; } @@ -2221,30 +2221,30 @@ export interface AppServiceCertificateOrdersGet { /** Get a certificate order. */ get( options?: AppServiceCertificateOrdersGetParameters, - ): Promise< - AppServiceCertificateOrdersGet200Response | AppServiceCertificateOrdersGetdefaultResponse + ): StreamableMethod< + AppServiceCertificateOrdersGet200Response | AppServiceCertificateOrdersGetDefaultResponse >; /** Create or update a certificate purchase order. */ put( options: AppServiceCertificateOrdersCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersCreateOrUpdate200Response | AppServiceCertificateOrdersCreateOrUpdate201Response - | AppServiceCertificateOrdersCreateOrUpdatedefaultResponse + | AppServiceCertificateOrdersCreateOrUpdateDefaultResponse >; /** Delete an existing certificate order. */ delete( options?: AppServiceCertificateOrdersDeleteParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersDelete200Response | AppServiceCertificateOrdersDelete204Response - | AppServiceCertificateOrdersDeletedefaultResponse + | AppServiceCertificateOrdersDeleteDefaultResponse >; /** Create or update a certificate purchase order. */ patch( options: AppServiceCertificateOrdersUpdateParameters, - ): Promise< - AppServiceCertificateOrdersUpdate200Response | AppServiceCertificateOrdersUpdatedefaultResponse + ): StreamableMethod< + AppServiceCertificateOrdersUpdate200Response | AppServiceCertificateOrdersUpdateDefaultResponse >; } @@ -2252,9 +2252,9 @@ export interface AppServiceCertificateOrdersListCertificates { /** List all certificates associated with a certificate order. */ get( options?: AppServiceCertificateOrdersListCertificatesParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersListCertificates200Response - | AppServiceCertificateOrdersListCertificatesdefaultResponse + | AppServiceCertificateOrdersListCertificatesDefaultResponse >; } @@ -2262,32 +2262,32 @@ export interface AppServiceCertificateOrdersGetCertificate { /** Get the certificate associated with a certificate order. */ get( options?: AppServiceCertificateOrdersGetCertificateParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersGetCertificate200Response - | AppServiceCertificateOrdersGetCertificatedefaultResponse + | AppServiceCertificateOrdersGetCertificateDefaultResponse >; /** Creates or updates a certificate and associates with key vault secret. */ put( options: AppServiceCertificateOrdersCreateOrUpdateCertificateParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersCreateOrUpdateCertificate200Response | AppServiceCertificateOrdersCreateOrUpdateCertificate201Response - | AppServiceCertificateOrdersCreateOrUpdateCertificatedefaultResponse + | AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse >; /** Delete the certificate associated with a certificate order. */ delete( options?: AppServiceCertificateOrdersDeleteCertificateParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersDeleteCertificate200Response | AppServiceCertificateOrdersDeleteCertificate204Response - | AppServiceCertificateOrdersDeleteCertificatedefaultResponse + | AppServiceCertificateOrdersDeleteCertificateDefaultResponse >; /** Creates or updates a certificate and associates with key vault secret. */ patch( options: AppServiceCertificateOrdersUpdateCertificateParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersUpdateCertificate200Response - | AppServiceCertificateOrdersUpdateCertificatedefaultResponse + | AppServiceCertificateOrdersUpdateCertificateDefaultResponse >; } @@ -2295,9 +2295,9 @@ export interface AppServiceCertificateOrdersReissue { /** Reissue an existing certificate order. */ post( options: AppServiceCertificateOrdersReissueParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersReissue204Response - | AppServiceCertificateOrdersReissuedefaultResponse + | AppServiceCertificateOrdersReissueDefaultResponse >; } @@ -2305,8 +2305,8 @@ export interface AppServiceCertificateOrdersRenew { /** Renew an existing certificate order. */ post( options: AppServiceCertificateOrdersRenewParameters, - ): Promise< - AppServiceCertificateOrdersRenew204Response | AppServiceCertificateOrdersRenewdefaultResponse + ): StreamableMethod< + AppServiceCertificateOrdersRenew204Response | AppServiceCertificateOrdersRenewDefaultResponse >; } @@ -2314,9 +2314,9 @@ export interface AppServiceCertificateOrdersResendEmail { /** Resend certificate email. */ post( options?: AppServiceCertificateOrdersResendEmailParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersResendEmail204Response - | AppServiceCertificateOrdersResendEmaildefaultResponse + | AppServiceCertificateOrdersResendEmailDefaultResponse >; } @@ -2324,9 +2324,9 @@ export interface AppServiceCertificateOrdersResendRequestEmails { /** Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order */ post( options: AppServiceCertificateOrdersResendRequestEmailsParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersResendRequestEmails204Response - | AppServiceCertificateOrdersResendRequestEmailsdefaultResponse + | AppServiceCertificateOrdersResendRequestEmailsDefaultResponse >; } @@ -2334,9 +2334,9 @@ export interface AppServiceCertificateOrdersRetrieveSiteSeal { /** 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. */ post( options: AppServiceCertificateOrdersRetrieveSiteSealParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersRetrieveSiteSeal200Response - | AppServiceCertificateOrdersRetrieveSiteSealdefaultResponse + | AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse >; } @@ -2344,9 +2344,9 @@ export interface AppServiceCertificateOrdersVerifyDomainOwnership { /** Verify domain ownership for this certificate order. */ post( options?: AppServiceCertificateOrdersVerifyDomainOwnershipParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersVerifyDomainOwnership204Response - | AppServiceCertificateOrdersVerifyDomainOwnershipdefaultResponse + | AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse >; } @@ -2354,9 +2354,9 @@ export interface AppServiceCertificateOrdersRetrieveCertificateActions { /** Retrieve the list of certificate actions. */ post( options?: AppServiceCertificateOrdersRetrieveCertificateActionsParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersRetrieveCertificateActions200Response - | AppServiceCertificateOrdersRetrieveCertificateActionsdefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse >; } @@ -2364,9 +2364,9 @@ export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistory { /** Retrieve email history. */ post( options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryParameters, - ): Promise< + ): StreamableMethod< | AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response - | AppServiceCertificateOrdersRetrieveCertificateEmailHistorydefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse >; } @@ -2374,9 +2374,9 @@ export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetec /** Microsoft.CertificateRegistration to get the list of detectors for this RP. */ get( options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseParameters, - ): Promise< + ): StreamableMethod< | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response - | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponsedefaultResponse + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse >; } @@ -2384,9 +2384,9 @@ export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetect /** Microsoft.CertificateRegistration call to get a detector response from App Lens. */ get( options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseParameters, - ): Promise< + ): StreamableMethod< | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response - | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponsedefaultResponse + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse >; } @@ -2394,9 +2394,9 @@ export interface CertificateRegistrationProviderListOperations { /** Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider */ get( options?: CertificateRegistrationProviderListOperationsParameters, - ): Promise< + ): StreamableMethod< | CertificateRegistrationProviderListOperations200Response - | CertificateRegistrationProviderListOperationsdefaultResponse + | CertificateRegistrationProviderListOperationsDefaultResponse >; } @@ -2404,22 +2404,24 @@ export interface DomainsCheckAvailability { /** Check if a domain is available for registration. */ post( options: DomainsCheckAvailabilityParameters, - ): Promise; + ): StreamableMethod< + DomainsCheckAvailability200Response | DomainsCheckAvailabilityDefaultResponse + >; } export interface DomainsList { /** Get all domains in a subscription. */ get( options?: DomainsListParameters, - ): Promise; + ): StreamableMethod; } export interface DomainsGetControlCenterSsoRequest { /** Generate a single sign-on request for the domain management portal. */ post( options?: DomainsGetControlCenterSsoRequestParameters, - ): Promise< - DomainsGetControlCenterSsoRequest200Response | DomainsGetControlCenterSsoRequestdefaultResponse + ): StreamableMethod< + DomainsGetControlCenterSsoRequest200Response | DomainsGetControlCenterSsoRequestDefaultResponse >; } @@ -2427,43 +2429,53 @@ export interface DomainsListRecommendations { /** Get domain name recommendations based on keywords. */ post( options: DomainsListRecommendationsParameters, - ): Promise; + ): StreamableMethod< + DomainsListRecommendations200Response | DomainsListRecommendationsDefaultResponse + >; } export interface DomainsListByResourceGroup { /** Get all domains in a resource group. */ get( options?: DomainsListByResourceGroupParameters, - ): Promise; + ): StreamableMethod< + DomainsListByResourceGroup200Response | DomainsListByResourceGroupDefaultResponse + >; } export interface DomainsGet { /** Get a domain. */ - get(options?: DomainsGetParameters): Promise; + get( + options?: DomainsGetParameters, + ): StreamableMethod; /** Creates or updates a domain. */ put( options: DomainsCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | DomainsCreateOrUpdate200Response | DomainsCreateOrUpdate202Response - | DomainsCreateOrUpdatedefaultResponse + | DomainsCreateOrUpdateDefaultResponse >; /** Delete a domain. */ delete( options?: DomainsDeleteParameters, - ): Promise; + ): StreamableMethod< + DomainsDelete200Response | DomainsDelete204Response | DomainsDeleteDefaultResponse + >; /** Creates or updates a domain. */ patch( options: DomainsUpdateParameters, - ): Promise; + ): StreamableMethod< + DomainsUpdate200Response | DomainsUpdate202Response | DomainsUpdateDefaultResponse + >; } export interface DomainsListOwnershipIdentifiers { /** Lists domain ownership identifiers. */ get( options?: DomainsListOwnershipIdentifiersParameters, - ): Promise< - DomainsListOwnershipIdentifiers200Response | DomainsListOwnershipIdentifiersdefaultResponse + ): StreamableMethod< + DomainsListOwnershipIdentifiers200Response | DomainsListOwnershipIdentifiersDefaultResponse >; } @@ -2471,29 +2483,29 @@ export interface DomainsGetOwnershipIdentifier { /** Get ownership identifier for domain */ get( options?: DomainsGetOwnershipIdentifierParameters, - ): Promise< - DomainsGetOwnershipIdentifier200Response | DomainsGetOwnershipIdentifierdefaultResponse + ): StreamableMethod< + DomainsGetOwnershipIdentifier200Response | DomainsGetOwnershipIdentifierDefaultResponse >; /** Creates an ownership identifier for a domain or updates identifier details for an existing identifier */ put( options: DomainsCreateOrUpdateOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | DomainsCreateOrUpdateOwnershipIdentifier200Response - | DomainsCreateOrUpdateOwnershipIdentifierdefaultResponse + | DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse >; /** Delete ownership identifier for domain */ delete( options?: DomainsDeleteOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | DomainsDeleteOwnershipIdentifier200Response | DomainsDeleteOwnershipIdentifier204Response - | DomainsDeleteOwnershipIdentifierdefaultResponse + | DomainsDeleteOwnershipIdentifierDefaultResponse >; /** Creates an ownership identifier for a domain or updates identifier details for an existing identifier */ patch( options: DomainsUpdateOwnershipIdentifierParameters, - ): Promise< - DomainsUpdateOwnershipIdentifier200Response | DomainsUpdateOwnershipIdentifierdefaultResponse + ): StreamableMethod< + DomainsUpdateOwnershipIdentifier200Response | DomainsUpdateOwnershipIdentifierDefaultResponse >; } @@ -2501,11 +2513,11 @@ export interface DomainsRenew { /** Renew a domain. */ post( options?: DomainsRenewParameters, - ): Promise< + ): StreamableMethod< | DomainsRenew200Response | DomainsRenew202Response | DomainsRenew204Response - | DomainsRenewdefaultResponse + | DomainsRenewDefaultResponse >; } @@ -2513,10 +2525,10 @@ export interface DomainsTransferOut { /** Transfer out domain to another registrar */ put( options?: DomainsTransferOutParameters, - ): Promise< + ): StreamableMethod< | DomainsTransferOut200Response | DomainsTransferOut400Response - | DomainsTransferOutdefaultResponse + | DomainsTransferOutDefaultResponse >; } @@ -2524,22 +2536,22 @@ export interface TopLevelDomainsList { /** Get all top-level domains supported for registration. */ get( options?: TopLevelDomainsListParameters, - ): Promise; + ): StreamableMethod; } export interface TopLevelDomainsGet { /** Get details of a top-level domain. */ get( options?: TopLevelDomainsGetParameters, - ): Promise; + ): StreamableMethod; } export interface TopLevelDomainsListAgreements { /** Gets all legal agreements that user needs to accept before purchasing a domain. */ post( options: TopLevelDomainsListAgreementsParameters, - ): Promise< - TopLevelDomainsListAgreements200Response | TopLevelDomainsListAgreementsdefaultResponse + ): StreamableMethod< + TopLevelDomainsListAgreements200Response | TopLevelDomainsListAgreementsDefaultResponse >; } @@ -2547,9 +2559,9 @@ export interface DomainRegistrationProviderListOperations { /** Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider */ get( options?: DomainRegistrationProviderListOperationsParameters, - ): Promise< + ): StreamableMethod< | DomainRegistrationProviderListOperations200Response - | DomainRegistrationProviderListOperationsdefaultResponse + | DomainRegistrationProviderListOperationsDefaultResponse >; } @@ -2557,16 +2569,18 @@ export interface AppServiceEnvironmentsList { /** Get all App Service Environments for a subscription. */ get( options?: AppServiceEnvironmentsListParameters, - ): Promise; + ): StreamableMethod< + AppServiceEnvironmentsList200Response | AppServiceEnvironmentsListDefaultResponse + >; } export interface AppServiceEnvironmentsListByResourceGroup { /** Get all App Service Environments in a resource group. */ get( options?: AppServiceEnvironmentsListByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListByResourceGroup200Response - | AppServiceEnvironmentsListByResourceGroupdefaultResponse + | AppServiceEnvironmentsListByResourceGroupDefaultResponse >; } @@ -2574,32 +2588,34 @@ export interface AppServiceEnvironmentsGet { /** Get the properties of an App Service Environment. */ get( options?: AppServiceEnvironmentsGetParameters, - ): Promise; + ): StreamableMethod< + AppServiceEnvironmentsGet200Response | AppServiceEnvironmentsGetDefaultResponse + >; /** Create or update an App Service Environment. */ put( options: AppServiceEnvironmentsCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsCreateOrUpdate200Response | AppServiceEnvironmentsCreateOrUpdate201Response | AppServiceEnvironmentsCreateOrUpdate202Response - | AppServiceEnvironmentsCreateOrUpdatedefaultResponse + | AppServiceEnvironmentsCreateOrUpdateDefaultResponse >; /** Delete an App Service Environment. */ delete( options?: AppServiceEnvironmentsDeleteParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsDelete202Response | AppServiceEnvironmentsDelete204Response - | AppServiceEnvironmentsDeletedefaultResponse + | AppServiceEnvironmentsDeleteDefaultResponse >; /** Create or update an App Service Environment. */ patch( options: AppServiceEnvironmentsUpdateParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsUpdate200Response | AppServiceEnvironmentsUpdate201Response | AppServiceEnvironmentsUpdate202Response - | AppServiceEnvironmentsUpdatedefaultResponse + | AppServiceEnvironmentsUpdateDefaultResponse >; } @@ -2607,9 +2623,9 @@ export interface AppServiceEnvironmentsListCapacities { /** Get the used, available, and total worker capacity an App Service Environment. */ get( options?: AppServiceEnvironmentsListCapacitiesParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListCapacities200Response - | AppServiceEnvironmentsListCapacitiesdefaultResponse + | AppServiceEnvironmentsListCapacitiesDefaultResponse >; } @@ -2617,8 +2633,8 @@ export interface AppServiceEnvironmentsGetVipInfo { /** Get IP addresses assigned to an App Service Environment. */ get( options?: AppServiceEnvironmentsGetVipInfoParameters, - ): Promise< - AppServiceEnvironmentsGetVipInfo200Response | AppServiceEnvironmentsGetVipInfodefaultResponse + ): StreamableMethod< + AppServiceEnvironmentsGetVipInfo200Response | AppServiceEnvironmentsGetVipInfoDefaultResponse >; } @@ -2626,10 +2642,10 @@ export interface AppServiceEnvironmentsChangeVnet { /** Move an App Service Environment to a different VNET. */ post( options: AppServiceEnvironmentsChangeVnetParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsChangeVnet200Response | AppServiceEnvironmentsChangeVnet202Response - | AppServiceEnvironmentsChangeVnetdefaultResponse + | AppServiceEnvironmentsChangeVnetDefaultResponse >; } @@ -2637,16 +2653,16 @@ export interface AppServiceEnvironmentsGetAseV3NetworkingConfiguration { /** Get networking configuration of an App Service Environment */ get( options?: AppServiceEnvironmentsGetAseV3NetworkingConfigurationParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response - | AppServiceEnvironmentsGetAseV3NetworkingConfigurationdefaultResponse + | AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse >; /** Update networking configuration of an App Service Environment */ put( options: AppServiceEnvironmentsUpdateAseNetworkingConfigurationParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response - | AppServiceEnvironmentsUpdateAseNetworkingConfigurationdefaultResponse + | AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse >; } @@ -2654,9 +2670,9 @@ export interface AppServiceEnvironmentsListDiagnostics { /** Get diagnostic information for an App Service Environment. */ get( options?: AppServiceEnvironmentsListDiagnosticsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListDiagnostics200Response - | AppServiceEnvironmentsListDiagnosticsdefaultResponse + | AppServiceEnvironmentsListDiagnosticsDefaultResponse >; } @@ -2664,9 +2680,9 @@ export interface AppServiceEnvironmentsGetDiagnosticsItem { /** Get a diagnostics item for an App Service Environment. */ get( options?: AppServiceEnvironmentsGetDiagnosticsItemParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetDiagnosticsItem200Response - | AppServiceEnvironmentsGetDiagnosticsItemdefaultResponse + | AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse >; } @@ -2674,9 +2690,9 @@ export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints { /** Get the network endpoints of all inbound dependencies of an App Service Environment. */ get( options?: AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response - | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsdefaultResponse + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse >; } @@ -2684,9 +2700,9 @@ export interface AppServiceEnvironmentsListMultiRolePools { /** Get all multi-role pools. */ get( options?: AppServiceEnvironmentsListMultiRolePoolsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListMultiRolePools200Response - | AppServiceEnvironmentsListMultiRolePoolsdefaultResponse + | AppServiceEnvironmentsListMultiRolePoolsDefaultResponse >; } @@ -2694,25 +2710,25 @@ export interface AppServiceEnvironmentsGetMultiRolePool { /** Get properties of a multi-role pool. */ get( options?: AppServiceEnvironmentsGetMultiRolePoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetMultiRolePool200Response - | AppServiceEnvironmentsGetMultiRolePooldefaultResponse + | AppServiceEnvironmentsGetMultiRolePoolDefaultResponse >; /** Create or update a multi-role pool. */ put( options: AppServiceEnvironmentsCreateOrUpdateMultiRolePoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response | AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response - | AppServiceEnvironmentsCreateOrUpdateMultiRolePooldefaultResponse + | AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse >; /** Create or update a multi-role pool. */ patch( options: AppServiceEnvironmentsUpdateMultiRolePoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsUpdateMultiRolePool200Response | AppServiceEnvironmentsUpdateMultiRolePool202Response - | AppServiceEnvironmentsUpdateMultiRolePooldefaultResponse + | AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse >; } @@ -2720,9 +2736,9 @@ export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinition /** Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response - | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsdefaultResponse + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse >; } @@ -2730,9 +2746,9 @@ export interface AppServiceEnvironmentsListMultiRoleMetricDefinitions { /** Get metric definitions for a multi-role pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListMultiRoleMetricDefinitionsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response - | AppServiceEnvironmentsListMultiRoleMetricDefinitionsdefaultResponse + | AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse >; } @@ -2740,9 +2756,9 @@ export interface AppServiceEnvironmentsListMultiRolePoolSkus { /** Get available SKUs for scaling a multi-role pool. */ get( options?: AppServiceEnvironmentsListMultiRolePoolSkusParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListMultiRolePoolSkus200Response - | AppServiceEnvironmentsListMultiRolePoolSkusdefaultResponse + | AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse >; } @@ -2750,9 +2766,9 @@ export interface AppServiceEnvironmentsListMultiRoleUsages { /** Get usage metrics for a multi-role pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListMultiRoleUsagesParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListMultiRoleUsages200Response - | AppServiceEnvironmentsListMultiRoleUsagesdefaultResponse + | AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse >; } @@ -2760,9 +2776,9 @@ export interface AppServiceEnvironmentsListOperations { /** List all currently running operations on the App Service Environment. */ get( options?: AppServiceEnvironmentsListOperationsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListOperations200Response - | AppServiceEnvironmentsListOperationsdefaultResponse + | AppServiceEnvironmentsListOperationsDefaultResponse >; } @@ -2770,9 +2786,9 @@ export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints { /** Get the network endpoints of all outbound dependencies of an App Service Environment. */ get( options?: AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response - | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsdefaultResponse + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse >; } @@ -2780,9 +2796,9 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnectionList { /** Gets the list of private endpoints associated with a hosting environment */ get( options?: AppServiceEnvironmentsGetPrivateEndpointConnectionListParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response - | AppServiceEnvironmentsGetPrivateEndpointConnectionListdefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse >; } @@ -2790,26 +2806,26 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnection { /** Gets a private endpoint connection */ get( options?: AppServiceEnvironmentsGetPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetPrivateEndpointConnection200Response - | AppServiceEnvironmentsGetPrivateEndpointConnectiondefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse >; /** Approves or rejects a private endpoint connection */ put( options: AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response - | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectiondefaultResponse + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse >; /** Deletes a private endpoint connection */ delete( options?: AppServiceEnvironmentsDeletePrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsDeletePrivateEndpointConnection200Response | AppServiceEnvironmentsDeletePrivateEndpointConnection202Response | AppServiceEnvironmentsDeletePrivateEndpointConnection204Response - | AppServiceEnvironmentsDeletePrivateEndpointConnectiondefaultResponse + | AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse >; } @@ -2817,9 +2833,9 @@ export interface AppServiceEnvironmentsGetPrivateLinkResources { /** Gets the private link resources */ get( options?: AppServiceEnvironmentsGetPrivateLinkResourcesParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetPrivateLinkResources200Response - | AppServiceEnvironmentsGetPrivateLinkResourcesdefaultResponse + | AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse >; } @@ -2827,17 +2843,19 @@ export interface AppServiceEnvironmentsReboot { /** Reboot all machines in an App Service Environment. */ post( options?: AppServiceEnvironmentsRebootParameters, - ): Promise; + ): StreamableMethod< + AppServiceEnvironmentsReboot202Response | AppServiceEnvironmentsRebootDefaultResponse + >; } export interface AppServiceEnvironmentsResume { /** Resume an App Service Environment. */ post( options?: AppServiceEnvironmentsResumeParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsResume200Response | AppServiceEnvironmentsResume202Response - | AppServiceEnvironmentsResumedefaultResponse + | AppServiceEnvironmentsResumeDefaultResponse >; } @@ -2845,9 +2863,9 @@ export interface AppServiceEnvironmentsListAppServicePlans { /** Get all App Service plans in an App Service Environment. */ get( options?: AppServiceEnvironmentsListAppServicePlansParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListAppServicePlans200Response - | AppServiceEnvironmentsListAppServicePlansdefaultResponse + | AppServiceEnvironmentsListAppServicePlansDefaultResponse >; } @@ -2855,8 +2873,8 @@ export interface AppServiceEnvironmentsListWebApps { /** Get all apps in an App Service Environment. */ get( options?: AppServiceEnvironmentsListWebAppsParameters, - ): Promise< - AppServiceEnvironmentsListWebApps200Response | AppServiceEnvironmentsListWebAppsdefaultResponse + ): StreamableMethod< + AppServiceEnvironmentsListWebApps200Response | AppServiceEnvironmentsListWebAppsDefaultResponse >; } @@ -2864,10 +2882,10 @@ export interface AppServiceEnvironmentsSuspend { /** Suspend an App Service Environment. */ post( options?: AppServiceEnvironmentsSuspendParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsSuspend200Response | AppServiceEnvironmentsSuspend202Response - | AppServiceEnvironmentsSuspenddefaultResponse + | AppServiceEnvironmentsSuspendDefaultResponse >; } @@ -2875,8 +2893,8 @@ export interface AppServiceEnvironmentsListUsages { /** Get global usage metrics of an App Service Environment. */ get( options?: AppServiceEnvironmentsListUsagesParameters, - ): Promise< - AppServiceEnvironmentsListUsages200Response | AppServiceEnvironmentsListUsagesdefaultResponse + ): StreamableMethod< + AppServiceEnvironmentsListUsages200Response | AppServiceEnvironmentsListUsagesDefaultResponse >; } @@ -2884,9 +2902,9 @@ export interface AppServiceEnvironmentsListWorkerPools { /** Get all worker pools of an App Service Environment. */ get( options?: AppServiceEnvironmentsListWorkerPoolsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListWorkerPools200Response - | AppServiceEnvironmentsListWorkerPoolsdefaultResponse + | AppServiceEnvironmentsListWorkerPoolsDefaultResponse >; } @@ -2894,25 +2912,25 @@ export interface AppServiceEnvironmentsGetWorkerPool { /** Get properties of a worker pool. */ get( options?: AppServiceEnvironmentsGetWorkerPoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsGetWorkerPool200Response - | AppServiceEnvironmentsGetWorkerPooldefaultResponse + | AppServiceEnvironmentsGetWorkerPoolDefaultResponse >; /** Create or update a worker pool. */ put( options: AppServiceEnvironmentsCreateOrUpdateWorkerPoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response | AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response - | AppServiceEnvironmentsCreateOrUpdateWorkerPooldefaultResponse + | AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse >; /** Create or update a worker pool. */ patch( options: AppServiceEnvironmentsUpdateWorkerPoolParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsUpdateWorkerPool200Response | AppServiceEnvironmentsUpdateWorkerPool202Response - | AppServiceEnvironmentsUpdateWorkerPooldefaultResponse + | AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse >; } @@ -2920,9 +2938,9 @@ export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions { /** Get metric definitions for a specific instance of a worker pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response - | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsdefaultResponse + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse >; } @@ -2930,9 +2948,9 @@ export interface AppServiceEnvironmentsListWebWorkerMetricDefinitions { /** Get metric definitions for a worker pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListWebWorkerMetricDefinitionsParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response - | AppServiceEnvironmentsListWebWorkerMetricDefinitionsdefaultResponse + | AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse >; } @@ -2940,9 +2958,9 @@ export interface AppServiceEnvironmentsListWorkerPoolSkus { /** Get available SKUs for scaling a worker pool. */ get( options?: AppServiceEnvironmentsListWorkerPoolSkusParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListWorkerPoolSkus200Response - | AppServiceEnvironmentsListWorkerPoolSkusdefaultResponse + | AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse >; } @@ -2950,9 +2968,9 @@ export interface AppServiceEnvironmentsListWebWorkerUsages { /** Get usage metrics for a worker pool of an App Service Environment. */ get( options?: AppServiceEnvironmentsListWebWorkerUsagesParameters, - ): Promise< + ): StreamableMethod< | AppServiceEnvironmentsListWebWorkerUsages200Response - | AppServiceEnvironmentsListWebWorkerUsagesdefaultResponse + | AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse >; } @@ -2960,16 +2978,16 @@ export interface AppServicePlansList { /** Get all App Service plans for a subscription. */ get( options?: AppServicePlansListParameters, - ): Promise; + ): StreamableMethod; } export interface AppServicePlansListByResourceGroup { /** Get all App Service plans in a resource group. */ get( options?: AppServicePlansListByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansListByResourceGroup200Response - | AppServicePlansListByResourceGroupdefaultResponse + | AppServicePlansListByResourceGroupDefaultResponse >; } @@ -2977,34 +2995,34 @@ export interface AppServicePlansGet { /** Get an App Service plan. */ get( options?: AppServicePlansGetParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansGet200Response | AppServicePlansGet404Response - | AppServicePlansGetdefaultResponse + | AppServicePlansGetDefaultResponse >; /** Creates or updates an App Service Plan. */ put( options: AppServicePlansCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansCreateOrUpdate200Response | AppServicePlansCreateOrUpdate202Response - | AppServicePlansCreateOrUpdatedefaultResponse + | AppServicePlansCreateOrUpdateDefaultResponse >; /** Delete an App Service plan. */ delete( options?: AppServicePlansDeleteParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansDelete200Response | AppServicePlansDelete204Response - | AppServicePlansDeletedefaultResponse + | AppServicePlansDeleteDefaultResponse >; /** Creates or updates an App Service Plan. */ patch( options: AppServicePlansUpdateParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansUpdate200Response | AppServicePlansUpdate202Response - | AppServicePlansUpdatedefaultResponse + | AppServicePlansUpdateDefaultResponse >; } @@ -3012,8 +3030,8 @@ export interface AppServicePlansListCapabilities { /** List all capabilities of an App Service plan. */ get( options?: AppServicePlansListCapabilitiesParameters, - ): Promise< - AppServicePlansListCapabilities200Response | AppServicePlansListCapabilitiesdefaultResponse + ): StreamableMethod< + AppServicePlansListCapabilities200Response | AppServicePlansListCapabilitiesDefaultResponse >; } @@ -3021,17 +3039,17 @@ export interface AppServicePlansGetHybridConnection { /** Retrieve a Hybrid Connection in use in an App Service plan. */ get( options?: AppServicePlansGetHybridConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansGetHybridConnection200Response - | AppServicePlansGetHybridConnectiondefaultResponse + | AppServicePlansGetHybridConnectionDefaultResponse >; /** Delete a Hybrid Connection in use in an App Service plan. */ delete( options?: AppServicePlansDeleteHybridConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansDeleteHybridConnection200Response | AppServicePlansDeleteHybridConnection204Response - | AppServicePlansDeleteHybridConnectiondefaultResponse + | AppServicePlansDeleteHybridConnectionDefaultResponse >; } @@ -3039,9 +3057,9 @@ export interface AppServicePlansListHybridConnectionKeys { /** Get the send key name and value of a Hybrid Connection. */ post( options?: AppServicePlansListHybridConnectionKeysParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansListHybridConnectionKeys200Response - | AppServicePlansListHybridConnectionKeysdefaultResponse + | AppServicePlansListHybridConnectionKeysDefaultResponse >; } @@ -3049,9 +3067,9 @@ export interface AppServicePlansListWebAppsByHybridConnection { /** Get all apps that use a Hybrid Connection in an App Service Plan. */ get( options?: AppServicePlansListWebAppsByHybridConnectionParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansListWebAppsByHybridConnection200Response - | AppServicePlansListWebAppsByHybridConnectiondefaultResponse + | AppServicePlansListWebAppsByHybridConnectionDefaultResponse >; } @@ -3059,9 +3077,9 @@ export interface AppServicePlansGetHybridConnectionPlanLimit { /** Get the maximum number of Hybrid Connections allowed in an App Service plan. */ get( options?: AppServicePlansGetHybridConnectionPlanLimitParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansGetHybridConnectionPlanLimit200Response - | AppServicePlansGetHybridConnectionPlanLimitdefaultResponse + | AppServicePlansGetHybridConnectionPlanLimitDefaultResponse >; } @@ -3069,9 +3087,9 @@ export interface AppServicePlansListHybridConnections { /** Retrieve all Hybrid Connections in use in an App Service plan. */ get( options?: AppServicePlansListHybridConnectionsParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansListHybridConnections200Response - | AppServicePlansListHybridConnectionsdefaultResponse + | AppServicePlansListHybridConnectionsDefaultResponse >; } @@ -3079,8 +3097,8 @@ export interface AppServicePlansRestartWebApps { /** Restart all apps in an App Service plan. */ post( options?: AppServicePlansRestartWebAppsParameters, - ): Promise< - AppServicePlansRestartWebApps204Response | AppServicePlansRestartWebAppsdefaultResponse + ): StreamableMethod< + AppServicePlansRestartWebApps204Response | AppServicePlansRestartWebAppsDefaultResponse >; } @@ -3088,15 +3106,17 @@ export interface AppServicePlansListWebApps { /** Get all apps associated with an App Service plan. */ get( options?: AppServicePlansListWebAppsParameters, - ): Promise; + ): StreamableMethod< + AppServicePlansListWebApps200Response | AppServicePlansListWebAppsDefaultResponse + >; } export interface AppServicePlansGetServerFarmSkus { /** Gets all selectable SKUs for a given App Service Plan */ get( options?: AppServicePlansGetServerFarmSkusParameters, - ): Promise< - AppServicePlansGetServerFarmSkus200Response | AppServicePlansGetServerFarmSkusdefaultResponse + ): StreamableMethod< + AppServicePlansGetServerFarmSkus200Response | AppServicePlansGetServerFarmSkusDefaultResponse >; } @@ -3104,24 +3124,28 @@ export interface AppServicePlansListUsages { /** Gets server farm usage information */ get( options?: AppServicePlansListUsagesParameters, - ): Promise; + ): StreamableMethod< + AppServicePlansListUsages200Response | AppServicePlansListUsagesDefaultResponse + >; } export interface AppServicePlansListVnets { /** Get all Virtual Networks associated with an App Service plan. */ get( options?: AppServicePlansListVnetsParameters, - ): Promise; + ): StreamableMethod< + AppServicePlansListVnets200Response | AppServicePlansListVnetsDefaultResponse + >; } export interface AppServicePlansGetVnetFromServerFarm { /** Get a Virtual Network associated with an App Service plan. */ get( options?: AppServicePlansGetVnetFromServerFarmParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansGetVnetFromServerFarm200Response | AppServicePlansGetVnetFromServerFarm404Response - | AppServicePlansGetVnetFromServerFarmdefaultResponse + | AppServicePlansGetVnetFromServerFarmDefaultResponse >; } @@ -3129,14 +3153,14 @@ export interface AppServicePlansGetVnetGateway { /** Get a Virtual Network gateway. */ get( options?: AppServicePlansGetVnetGatewayParameters, - ): Promise< - AppServicePlansGetVnetGateway200Response | AppServicePlansGetVnetGatewaydefaultResponse + ): StreamableMethod< + AppServicePlansGetVnetGateway200Response | AppServicePlansGetVnetGatewayDefaultResponse >; /** Update a Virtual Network gateway. */ put( options: AppServicePlansUpdateVnetGatewayParameters, - ): Promise< - AppServicePlansUpdateVnetGateway200Response | AppServicePlansUpdateVnetGatewaydefaultResponse + ): StreamableMethod< + AppServicePlansUpdateVnetGateway200Response | AppServicePlansUpdateVnetGatewayDefaultResponse >; } @@ -3144,8 +3168,8 @@ export interface AppServicePlansListRoutesForVnet { /** Get all routes that are associated with a Virtual Network in an App Service plan. */ get( options?: AppServicePlansListRoutesForVnetParameters, - ): Promise< - AppServicePlansListRoutesForVnet200Response | AppServicePlansListRoutesForVnetdefaultResponse + ): StreamableMethod< + AppServicePlansListRoutesForVnet200Response | AppServicePlansListRoutesForVnetDefaultResponse >; } @@ -3153,36 +3177,36 @@ export interface AppServicePlansGetRouteForVnet { /** Get a Virtual Network route in an App Service plan. */ get( options?: AppServicePlansGetRouteForVnetParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansGetRouteForVnet200Response | AppServicePlansGetRouteForVnet404Response - | AppServicePlansGetRouteForVnetdefaultResponse + | AppServicePlansGetRouteForVnetDefaultResponse >; /** Create or update a Virtual Network route in an App Service plan. */ put( options: AppServicePlansCreateOrUpdateVnetRouteParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansCreateOrUpdateVnetRoute200Response | AppServicePlansCreateOrUpdateVnetRoute400Response | AppServicePlansCreateOrUpdateVnetRoute404Response - | AppServicePlansCreateOrUpdateVnetRoutedefaultResponse + | AppServicePlansCreateOrUpdateVnetRouteDefaultResponse >; /** Delete a Virtual Network route in an App Service plan. */ delete( options?: AppServicePlansDeleteVnetRouteParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansDeleteVnetRoute200Response | AppServicePlansDeleteVnetRoute404Response - | AppServicePlansDeleteVnetRoutedefaultResponse + | AppServicePlansDeleteVnetRouteDefaultResponse >; /** Create or update a Virtual Network route in an App Service plan. */ patch( options: AppServicePlansUpdateVnetRouteParameters, - ): Promise< + ): StreamableMethod< | AppServicePlansUpdateVnetRoute200Response | AppServicePlansUpdateVnetRoute400Response | AppServicePlansUpdateVnetRoute404Response - | AppServicePlansUpdateVnetRoutedefaultResponse + | AppServicePlansUpdateVnetRouteDefaultResponse >; } @@ -3190,22 +3214,24 @@ export interface AppServicePlansRebootWorker { /** Reboot a worker machine in an App Service plan. */ post( options?: AppServicePlansRebootWorkerParameters, - ): Promise; + ): StreamableMethod< + AppServicePlansRebootWorker204Response | AppServicePlansRebootWorkerDefaultResponse + >; } export interface CertificatesList { /** Get all certificates for a subscription. */ get( options?: CertificatesListParameters, - ): Promise; + ): StreamableMethod; } export interface CertificatesListByResourceGroup { /** Get all certificates in a resource group. */ get( options?: CertificatesListByResourceGroupParameters, - ): Promise< - CertificatesListByResourceGroup200Response | CertificatesListByResourceGroupdefaultResponse + ): StreamableMethod< + CertificatesListByResourceGroup200Response | CertificatesListByResourceGroupDefaultResponse >; } @@ -3213,31 +3239,33 @@ export interface CertificatesGet { /** Get a certificate. */ get( options?: CertificatesGetParameters, - ): Promise; + ): StreamableMethod; /** Create or update a certificate. */ put( options: CertificatesCreateOrUpdateParameters, - ): Promise; + ): StreamableMethod< + CertificatesCreateOrUpdate200Response | CertificatesCreateOrUpdateDefaultResponse + >; /** Delete a certificate. */ delete( options?: CertificatesDeleteParameters, - ): Promise< + ): StreamableMethod< | CertificatesDelete200Response | CertificatesDelete204Response - | CertificatesDeletedefaultResponse + | CertificatesDeleteDefaultResponse >; /** Create or update a certificate. */ patch( options: CertificatesUpdateParameters, - ): Promise; + ): StreamableMethod; } export interface ContainerAppsListBySubscription { /** Get the Container Apps in a given subscription. */ get( options?: ContainerAppsListBySubscriptionParameters, - ): Promise< - ContainerAppsListBySubscription200Response | ContainerAppsListBySubscriptiondefaultResponse + ): StreamableMethod< + ContainerAppsListBySubscription200Response | ContainerAppsListBySubscriptionDefaultResponse >; } @@ -3245,8 +3273,8 @@ export interface ContainerAppsListByResourceGroup { /** Get the Container Apps in a given resource group. */ get( options?: ContainerAppsListByResourceGroupParameters, - ): Promise< - ContainerAppsListByResourceGroup200Response | ContainerAppsListByResourceGroupdefaultResponse + ): StreamableMethod< + ContainerAppsListByResourceGroup200Response | ContainerAppsListByResourceGroupDefaultResponse >; } @@ -3254,25 +3282,25 @@ export interface ContainerAppsGet { /** Get the properties of a Container App. */ get( options?: ContainerAppsGetParameters, - ): Promise< - ContainerAppsGet200Response | ContainerAppsGet404Response | ContainerAppsGetdefaultResponse + ): StreamableMethod< + ContainerAppsGet200Response | ContainerAppsGet404Response | ContainerAppsGetDefaultResponse >; /** Create or update a Container App. */ put( options: ContainerAppsCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsCreateOrUpdate200Response | ContainerAppsCreateOrUpdate201Response - | ContainerAppsCreateOrUpdatedefaultResponse + | ContainerAppsCreateOrUpdateDefaultResponse >; /** Delete a Container App. */ delete( options?: ContainerAppsDeleteParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsDelete200Response | ContainerAppsDelete202Response | ContainerAppsDelete204Response - | ContainerAppsDeletedefaultResponse + | ContainerAppsDeleteDefaultResponse >; } @@ -3280,16 +3308,18 @@ export interface ContainerAppsListSecrets { /** List secrets for a container app */ post( options?: ContainerAppsListSecretsParameters, - ): Promise; + ): StreamableMethod< + ContainerAppsListSecrets200Response | ContainerAppsListSecretsDefaultResponse + >; } export interface ContainerAppsRevisionsListRevisions { /** Get the Revisions for a given Container App. */ get( options?: ContainerAppsRevisionsListRevisionsParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsRevisionsListRevisions200Response - | ContainerAppsRevisionsListRevisionsdefaultResponse + | ContainerAppsRevisionsListRevisionsDefaultResponse >; } @@ -3297,8 +3327,8 @@ export interface ContainerAppsRevisionsGetRevision { /** Get a revision of a Container App. */ get( options?: ContainerAppsRevisionsGetRevisionParameters, - ): Promise< - ContainerAppsRevisionsGetRevision200Response | ContainerAppsRevisionsGetRevisiondefaultResponse + ): StreamableMethod< + ContainerAppsRevisionsGetRevision200Response | ContainerAppsRevisionsGetRevisionDefaultResponse >; } @@ -3306,9 +3336,9 @@ export interface ContainerAppsRevisionsActivateRevision { /** Activates a revision for a Container App */ post( options?: ContainerAppsRevisionsActivateRevisionParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsRevisionsActivateRevision200Response - | ContainerAppsRevisionsActivateRevisiondefaultResponse + | ContainerAppsRevisionsActivateRevisionDefaultResponse >; } @@ -3316,9 +3346,9 @@ export interface ContainerAppsRevisionsDeactivateRevision { /** Deactivates a revision for a Container App */ post( options?: ContainerAppsRevisionsDeactivateRevisionParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsRevisionsDeactivateRevision200Response - | ContainerAppsRevisionsDeactivateRevisiondefaultResponse + | ContainerAppsRevisionsDeactivateRevisionDefaultResponse >; } @@ -3326,9 +3356,9 @@ export interface ContainerAppsRevisionsRestartRevision { /** Restarts a revision for a Container App */ post( options?: ContainerAppsRevisionsRestartRevisionParameters, - ): Promise< + ): StreamableMethod< | ContainerAppsRevisionsRestartRevision200Response - | ContainerAppsRevisionsRestartRevisiondefaultResponse + | ContainerAppsRevisionsRestartRevisionDefaultResponse >; } @@ -3336,23 +3366,25 @@ export interface DeletedWebAppsList { /** Get all deleted apps for a subscription. */ get( options?: DeletedWebAppsListParameters, - ): Promise; + ): StreamableMethod; } export interface DeletedWebAppsListByLocation { /** Get all deleted apps for a subscription at location */ get( options?: DeletedWebAppsListByLocationParameters, - ): Promise; + ): StreamableMethod< + DeletedWebAppsListByLocation200Response | DeletedWebAppsListByLocationDefaultResponse + >; } export interface DeletedWebAppsGetDeletedWebAppByLocation { /** Get deleted app for a subscription at location. */ get( options?: DeletedWebAppsGetDeletedWebAppByLocationParameters, - ): Promise< + ): StreamableMethod< | DeletedWebAppsGetDeletedWebAppByLocation200Response - | DeletedWebAppsGetDeletedWebAppByLocationdefaultResponse + | DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse >; } @@ -3360,9 +3392,9 @@ export interface DiagnosticsListHostingEnvironmentDetectorResponses { /** List Hosting Environment Detector Responses */ get( options?: DiagnosticsListHostingEnvironmentDetectorResponsesParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsListHostingEnvironmentDetectorResponses200Response - | DiagnosticsListHostingEnvironmentDetectorResponsesdefaultResponse + | DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse >; } @@ -3370,9 +3402,9 @@ export interface DiagnosticsGetHostingEnvironmentDetectorResponse { /** Get Hosting Environment Detector Response */ get( options?: DiagnosticsGetHostingEnvironmentDetectorResponseParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsGetHostingEnvironmentDetectorResponse200Response - | DiagnosticsGetHostingEnvironmentDetectorResponsedefaultResponse + | DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse >; } @@ -3380,9 +3412,9 @@ export interface DiagnosticsListSiteDetectorResponses { /** List Site Detector Responses */ get( options?: DiagnosticsListSiteDetectorResponsesParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsListSiteDetectorResponses200Response - | DiagnosticsListSiteDetectorResponsesdefaultResponse + | DiagnosticsListSiteDetectorResponsesDefaultResponse >; } @@ -3390,9 +3422,9 @@ export interface DiagnosticsGetSiteDetectorResponse { /** Get site detector response */ get( options?: DiagnosticsGetSiteDetectorResponseParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsGetSiteDetectorResponse200Response - | DiagnosticsGetSiteDetectorResponsedefaultResponse + | DiagnosticsGetSiteDetectorResponseDefaultResponse >; } @@ -3400,9 +3432,9 @@ export interface DiagnosticsListSiteDiagnosticCategories { /** Get Diagnostics Categories */ get( options?: DiagnosticsListSiteDiagnosticCategoriesParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsListSiteDiagnosticCategories200Response - | DiagnosticsListSiteDiagnosticCategoriesdefaultResponse + | DiagnosticsListSiteDiagnosticCategoriesDefaultResponse >; } @@ -3410,9 +3442,9 @@ export interface DiagnosticsGetSiteDiagnosticCategory { /** Get Diagnostics Category */ get( options?: DiagnosticsGetSiteDiagnosticCategoryParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsGetSiteDiagnosticCategory200Response - | DiagnosticsGetSiteDiagnosticCategorydefaultResponse + | DiagnosticsGetSiteDiagnosticCategoryDefaultResponse >; } @@ -3420,22 +3452,26 @@ export interface DiagnosticsListSiteAnalyses { /** Get Site Analyses */ get( options?: DiagnosticsListSiteAnalysesParameters, - ): Promise; + ): StreamableMethod< + DiagnosticsListSiteAnalyses200Response | DiagnosticsListSiteAnalysesDefaultResponse + >; } export interface DiagnosticsGetSiteAnalysis { /** Get Site Analysis */ get( options?: DiagnosticsGetSiteAnalysisParameters, - ): Promise; + ): StreamableMethod< + DiagnosticsGetSiteAnalysis200Response | DiagnosticsGetSiteAnalysisDefaultResponse + >; } export interface DiagnosticsExecuteSiteAnalysis { /** Execute Analysis */ post( options?: DiagnosticsExecuteSiteAnalysisParameters, - ): Promise< - DiagnosticsExecuteSiteAnalysis200Response | DiagnosticsExecuteSiteAnalysisdefaultResponse + ): StreamableMethod< + DiagnosticsExecuteSiteAnalysis200Response | DiagnosticsExecuteSiteAnalysisDefaultResponse >; } @@ -3443,22 +3479,26 @@ export interface DiagnosticsListSiteDetectors { /** Get Detectors */ get( options?: DiagnosticsListSiteDetectorsParameters, - ): Promise; + ): StreamableMethod< + DiagnosticsListSiteDetectors200Response | DiagnosticsListSiteDetectorsDefaultResponse + >; } export interface DiagnosticsGetSiteDetector { /** Get Detector */ get( options?: DiagnosticsGetSiteDetectorParameters, - ): Promise; + ): StreamableMethod< + DiagnosticsGetSiteDetector200Response | DiagnosticsGetSiteDetectorDefaultResponse + >; } export interface DiagnosticsExecuteSiteDetector { /** Execute Detector */ post( options?: DiagnosticsExecuteSiteDetectorParameters, - ): Promise< - DiagnosticsExecuteSiteDetector200Response | DiagnosticsExecuteSiteDetectordefaultResponse + ): StreamableMethod< + DiagnosticsExecuteSiteDetector200Response | DiagnosticsExecuteSiteDetectorDefaultResponse >; } @@ -3466,9 +3506,9 @@ export interface DiagnosticsListSiteDetectorResponsesSlot { /** List Site Detector Responses */ get( options?: DiagnosticsListSiteDetectorResponsesSlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsListSiteDetectorResponsesSlot200Response - | DiagnosticsListSiteDetectorResponsesSlotdefaultResponse + | DiagnosticsListSiteDetectorResponsesSlotDefaultResponse >; } @@ -3476,9 +3516,9 @@ export interface DiagnosticsGetSiteDetectorResponseSlot { /** Get site detector response */ get( options?: DiagnosticsGetSiteDetectorResponseSlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsGetSiteDetectorResponseSlot200Response - | DiagnosticsGetSiteDetectorResponseSlotdefaultResponse + | DiagnosticsGetSiteDetectorResponseSlotDefaultResponse >; } @@ -3486,9 +3526,9 @@ export interface DiagnosticsListSiteDiagnosticCategoriesSlot { /** Get Diagnostics Categories */ get( options?: DiagnosticsListSiteDiagnosticCategoriesSlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsListSiteDiagnosticCategoriesSlot200Response - | DiagnosticsListSiteDiagnosticCategoriesSlotdefaultResponse + | DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse >; } @@ -3496,9 +3536,9 @@ export interface DiagnosticsGetSiteDiagnosticCategorySlot { /** Get Diagnostics Category */ get( options?: DiagnosticsGetSiteDiagnosticCategorySlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsGetSiteDiagnosticCategorySlot200Response - | DiagnosticsGetSiteDiagnosticCategorySlotdefaultResponse + | DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse >; } @@ -3506,8 +3546,8 @@ export interface DiagnosticsListSiteAnalysesSlot { /** Get Site Analyses */ get( options?: DiagnosticsListSiteAnalysesSlotParameters, - ): Promise< - DiagnosticsListSiteAnalysesSlot200Response | DiagnosticsListSiteAnalysesSlotdefaultResponse + ): StreamableMethod< + DiagnosticsListSiteAnalysesSlot200Response | DiagnosticsListSiteAnalysesSlotDefaultResponse >; } @@ -3515,8 +3555,8 @@ export interface DiagnosticsGetSiteAnalysisSlot { /** Get Site Analysis */ get( options?: DiagnosticsGetSiteAnalysisSlotParameters, - ): Promise< - DiagnosticsGetSiteAnalysisSlot200Response | DiagnosticsGetSiteAnalysisSlotdefaultResponse + ): StreamableMethod< + DiagnosticsGetSiteAnalysisSlot200Response | DiagnosticsGetSiteAnalysisSlotDefaultResponse >; } @@ -3524,9 +3564,9 @@ export interface DiagnosticsExecuteSiteAnalysisSlot { /** Execute Analysis */ post( options?: DiagnosticsExecuteSiteAnalysisSlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsExecuteSiteAnalysisSlot200Response - | DiagnosticsExecuteSiteAnalysisSlotdefaultResponse + | DiagnosticsExecuteSiteAnalysisSlotDefaultResponse >; } @@ -3534,8 +3574,8 @@ export interface DiagnosticsListSiteDetectorsSlot { /** Get Detectors */ get( options?: DiagnosticsListSiteDetectorsSlotParameters, - ): Promise< - DiagnosticsListSiteDetectorsSlot200Response | DiagnosticsListSiteDetectorsSlotdefaultResponse + ): StreamableMethod< + DiagnosticsListSiteDetectorsSlot200Response | DiagnosticsListSiteDetectorsSlotDefaultResponse >; } @@ -3543,8 +3583,8 @@ export interface DiagnosticsGetSiteDetectorSlot { /** Get Detector */ get( options?: DiagnosticsGetSiteDetectorSlotParameters, - ): Promise< - DiagnosticsGetSiteDetectorSlot200Response | DiagnosticsGetSiteDetectorSlotdefaultResponse + ): StreamableMethod< + DiagnosticsGetSiteDetectorSlot200Response | DiagnosticsGetSiteDetectorSlotDefaultResponse >; } @@ -3552,9 +3592,9 @@ export interface DiagnosticsExecuteSiteDetectorSlot { /** Execute Detector */ post( options?: DiagnosticsExecuteSiteDetectorSlotParameters, - ): Promise< + ): StreamableMethod< | DiagnosticsExecuteSiteDetectorSlot200Response - | DiagnosticsExecuteSiteDetectorSlotdefaultResponse + | DiagnosticsExecuteSiteDetectorSlotDefaultResponse >; } @@ -3562,15 +3602,15 @@ export interface GlobalGetDeletedWebApp { /** Get deleted app for a subscription. */ get( options?: GlobalGetDeletedWebAppParameters, - ): Promise; + ): StreamableMethod; } export interface GlobalGetDeletedWebAppSnapshots { /** Get all deleted apps for a subscription. */ get( options?: GlobalGetDeletedWebAppSnapshotsParameters, - ): Promise< - GlobalGetDeletedWebAppSnapshots200Response | GlobalGetDeletedWebAppSnapshotsdefaultResponse + ): StreamableMethod< + GlobalGetDeletedWebAppSnapshots200Response | GlobalGetDeletedWebAppSnapshotsDefaultResponse >; } @@ -3578,9 +3618,9 @@ export interface GlobalGetSubscriptionOperationWithAsyncResponse { /** Gets an operation in a subscription and given region */ get( options?: GlobalGetSubscriptionOperationWithAsyncResponseParameters, - ): Promise< + ): StreamableMethod< | GlobalGetSubscriptionOperationWithAsyncResponse204Response - | GlobalGetSubscriptionOperationWithAsyncResponsedefaultResponse + | GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse >; } @@ -3588,9 +3628,9 @@ export interface KubeEnvironmentsListBySubscription { /** Get all Kubernetes Environments for a subscription. */ get( options?: KubeEnvironmentsListBySubscriptionParameters, - ): Promise< + ): StreamableMethod< | KubeEnvironmentsListBySubscription200Response - | KubeEnvironmentsListBySubscriptiondefaultResponse + | KubeEnvironmentsListBySubscriptionDefaultResponse >; } @@ -3598,9 +3638,9 @@ export interface KubeEnvironmentsListByResourceGroup { /** Get all the Kubernetes Environments in a resource group. */ get( options?: KubeEnvironmentsListByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | KubeEnvironmentsListByResourceGroup200Response - | KubeEnvironmentsListByResourceGroupdefaultResponse + | KubeEnvironmentsListByResourceGroupDefaultResponse >; } @@ -3608,31 +3648,31 @@ export interface KubeEnvironmentsGet { /** Get the properties of a Kubernetes Environment. */ get( options?: KubeEnvironmentsGetParameters, - ): Promise; + ): StreamableMethod; /** Creates or updates a Kubernetes Environment. */ put( options: KubeEnvironmentsCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | KubeEnvironmentsCreateOrUpdate200Response | KubeEnvironmentsCreateOrUpdate201Response - | KubeEnvironmentsCreateOrUpdatedefaultResponse + | KubeEnvironmentsCreateOrUpdateDefaultResponse >; /** Delete a Kubernetes Environment. */ delete( options?: KubeEnvironmentsDeleteParameters, - ): Promise< + ): StreamableMethod< | KubeEnvironmentsDelete200Response | KubeEnvironmentsDelete202Response | KubeEnvironmentsDelete204Response - | KubeEnvironmentsDeletedefaultResponse + | KubeEnvironmentsDeleteDefaultResponse >; /** Creates or updates a Kubernetes Environment. */ patch( options: KubeEnvironmentsUpdateParameters, - ): Promise< + ): StreamableMethod< | KubeEnvironmentsUpdate200Response | KubeEnvironmentsUpdate201Response - | KubeEnvironmentsUpdatedefaultResponse + | KubeEnvironmentsUpdateDefaultResponse >; } @@ -3640,23 +3680,27 @@ export interface ProviderGetAvailableStacks { /** Get available application frameworks and their versions */ get( options?: ProviderGetAvailableStacksParameters, - ): Promise; + ): StreamableMethod< + ProviderGetAvailableStacks200Response | ProviderGetAvailableStacksDefaultResponse + >; } export interface ProviderGetFunctionAppStacks { /** Get available Function app frameworks and their versions */ get( options?: ProviderGetFunctionAppStacksParameters, - ): Promise; + ): StreamableMethod< + ProviderGetFunctionAppStacks200Response | ProviderGetFunctionAppStacksDefaultResponse + >; } export interface ProviderGetFunctionAppStacksForLocation { /** Get available Function app frameworks and their versions for location */ get( options?: ProviderGetFunctionAppStacksForLocationParameters, - ): Promise< + ): StreamableMethod< | ProviderGetFunctionAppStacksForLocation200Response - | ProviderGetFunctionAppStacksForLocationdefaultResponse + | ProviderGetFunctionAppStacksForLocationDefaultResponse >; } @@ -3664,9 +3708,9 @@ export interface ProviderGetWebAppStacksForLocation { /** Get available Web app frameworks and their versions for location */ get( options?: ProviderGetWebAppStacksForLocationParameters, - ): Promise< + ): StreamableMethod< | ProviderGetWebAppStacksForLocation200Response - | ProviderGetWebAppStacksForLocationdefaultResponse + | ProviderGetWebAppStacksForLocationDefaultResponse >; } @@ -3674,22 +3718,22 @@ export interface ProviderListOperations { /** Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions */ get( options?: ProviderListOperationsParameters, - ): Promise; + ): StreamableMethod; } export interface ProviderGetWebAppStacks { /** Get available Web app frameworks and their versions */ get( options?: ProviderGetWebAppStacksParameters, - ): Promise; + ): StreamableMethod; } export interface ProviderGetAvailableStacksOnPrem { /** Get available application frameworks and their versions */ get( options?: ProviderGetAvailableStacksOnPremParameters, - ): Promise< - ProviderGetAvailableStacksOnPrem200Response | ProviderGetAvailableStacksOnPremdefaultResponse + ): StreamableMethod< + ProviderGetAvailableStacksOnPrem200Response | ProviderGetAvailableStacksOnPremDefaultResponse >; } @@ -3697,15 +3741,15 @@ export interface RecommendationsList { /** List all recommendations for a subscription. */ get( options?: RecommendationsListParameters, - ): Promise; + ): StreamableMethod; } export interface RecommendationsResetAllFilters { /** Reset all recommendation opt-out settings for a subscription. */ post( options?: RecommendationsResetAllFiltersParameters, - ): Promise< - RecommendationsResetAllFilters204Response | RecommendationsResetAllFiltersdefaultResponse + ): StreamableMethod< + RecommendationsResetAllFilters204Response | RecommendationsResetAllFiltersDefaultResponse >; } @@ -3713,9 +3757,9 @@ export interface RecommendationsDisableRecommendationForSubscription { /** Disables the specified rule so it will not apply to a subscription in the future. */ post( options?: RecommendationsDisableRecommendationForSubscriptionParameters, - ): Promise< + ): StreamableMethod< | RecommendationsDisableRecommendationForSubscription200Response - | RecommendationsDisableRecommendationForSubscriptiondefaultResponse + | RecommendationsDisableRecommendationForSubscriptionDefaultResponse >; } @@ -3723,9 +3767,9 @@ export interface RecommendationsListHistoryForHostingEnvironment { /** Get past recommendations for an app, optionally specified by the time range. */ get( options?: RecommendationsListHistoryForHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsListHistoryForHostingEnvironment200Response - | RecommendationsListHistoryForHostingEnvironmentdefaultResponse + | RecommendationsListHistoryForHostingEnvironmentDefaultResponse >; } @@ -3733,9 +3777,9 @@ export interface RecommendationsListRecommendedRulesForHostingEnvironment { /** Get all recommendations for a hosting environment. */ get( options?: RecommendationsListRecommendedRulesForHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsListRecommendedRulesForHostingEnvironment200Response - | RecommendationsListRecommendedRulesForHostingEnvironmentdefaultResponse + | RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse >; } @@ -3743,9 +3787,9 @@ export interface RecommendationsDisableAllForHostingEnvironment { /** Disable all recommendations for an app. */ post( options: RecommendationsDisableAllForHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsDisableAllForHostingEnvironment204Response - | RecommendationsDisableAllForHostingEnvironmentdefaultResponse + | RecommendationsDisableAllForHostingEnvironmentDefaultResponse >; } @@ -3753,9 +3797,9 @@ export interface RecommendationsResetAllFiltersForHostingEnvironment { /** Reset all recommendation opt-out settings for an app. */ post( options: RecommendationsResetAllFiltersForHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsResetAllFiltersForHostingEnvironment204Response - | RecommendationsResetAllFiltersForHostingEnvironmentdefaultResponse + | RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse >; } @@ -3763,9 +3807,9 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironment { /** Get a recommendation rule for an app. */ get( options?: RecommendationsGetRuleDetailsByHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsGetRuleDetailsByHostingEnvironment200Response - | RecommendationsGetRuleDetailsByHostingEnvironmentdefaultResponse + | RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse >; } @@ -3773,9 +3817,9 @@ export interface RecommendationsDisableRecommendationForHostingEnvironment { /** Disables the specific rule for a web site permanently. */ post( options: RecommendationsDisableRecommendationForHostingEnvironmentParameters, - ): Promise< + ): StreamableMethod< | RecommendationsDisableRecommendationForHostingEnvironment200Response - | RecommendationsDisableRecommendationForHostingEnvironmentdefaultResponse + | RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse >; } @@ -3783,9 +3827,9 @@ export interface RecommendationsListHistoryForWebApp { /** Get past recommendations for an app, optionally specified by the time range. */ get( options?: RecommendationsListHistoryForWebAppParameters, - ): Promise< + ): StreamableMethod< | RecommendationsListHistoryForWebApp200Response - | RecommendationsListHistoryForWebAppdefaultResponse + | RecommendationsListHistoryForWebAppDefaultResponse >; } @@ -3793,9 +3837,9 @@ export interface RecommendationsListRecommendedRulesForWebApp { /** Get all recommendations for an app. */ get( options?: RecommendationsListRecommendedRulesForWebAppParameters, - ): Promise< + ): StreamableMethod< | RecommendationsListRecommendedRulesForWebApp200Response - | RecommendationsListRecommendedRulesForWebAppdefaultResponse + | RecommendationsListRecommendedRulesForWebAppDefaultResponse >; } @@ -3803,9 +3847,9 @@ export interface RecommendationsDisableAllForWebApp { /** Disable all recommendations for an app. */ post( options?: RecommendationsDisableAllForWebAppParameters, - ): Promise< + ): StreamableMethod< | RecommendationsDisableAllForWebApp204Response - | RecommendationsDisableAllForWebAppdefaultResponse + | RecommendationsDisableAllForWebAppDefaultResponse >; } @@ -3813,9 +3857,9 @@ export interface RecommendationsResetAllFiltersForWebApp { /** Reset all recommendation opt-out settings for an app. */ post( options?: RecommendationsResetAllFiltersForWebAppParameters, - ): Promise< + ): StreamableMethod< | RecommendationsResetAllFiltersForWebApp204Response - | RecommendationsResetAllFiltersForWebAppdefaultResponse + | RecommendationsResetAllFiltersForWebAppDefaultResponse >; } @@ -3823,9 +3867,9 @@ export interface RecommendationsGetRuleDetailsByWebApp { /** Get a recommendation rule for an app. */ get( options?: RecommendationsGetRuleDetailsByWebAppParameters, - ): Promise< + ): StreamableMethod< | RecommendationsGetRuleDetailsByWebApp200Response - | RecommendationsGetRuleDetailsByWebAppdefaultResponse + | RecommendationsGetRuleDetailsByWebAppDefaultResponse >; } @@ -3833,9 +3877,9 @@ export interface RecommendationsDisableRecommendationForSite { /** Disables the specific rule for a web site permanently. */ post( options?: RecommendationsDisableRecommendationForSiteParameters, - ): Promise< + ): StreamableMethod< | RecommendationsDisableRecommendationForSite200Response - | RecommendationsDisableRecommendationForSitedefaultResponse + | RecommendationsDisableRecommendationForSiteDefaultResponse >; } @@ -3843,16 +3887,18 @@ export interface ResourceHealthMetadataList { /** List all ResourceHealthMetadata for all sites in the subscription. */ get( options?: ResourceHealthMetadataListParameters, - ): Promise; + ): StreamableMethod< + ResourceHealthMetadataList200Response | ResourceHealthMetadataListDefaultResponse + >; } export interface ResourceHealthMetadataListByResourceGroup { /** List all ResourceHealthMetadata for all sites in the resource group in the subscription. */ get( options?: ResourceHealthMetadataListByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | ResourceHealthMetadataListByResourceGroup200Response - | ResourceHealthMetadataListByResourceGroupdefaultResponse + | ResourceHealthMetadataListByResourceGroupDefaultResponse >; } @@ -3860,8 +3906,8 @@ export interface ResourceHealthMetadataListBySite { /** Gets the category of ResourceHealthMetadata to use for the given site as a collection */ get( options?: ResourceHealthMetadataListBySiteParameters, - ): Promise< - ResourceHealthMetadataListBySite200Response | ResourceHealthMetadataListBySitedefaultResponse + ): StreamableMethod< + ResourceHealthMetadataListBySite200Response | ResourceHealthMetadataListBySiteDefaultResponse >; } @@ -3869,8 +3915,8 @@ export interface ResourceHealthMetadataGetBySite { /** Gets the category of ResourceHealthMetadata to use for the given site */ get( options?: ResourceHealthMetadataGetBySiteParameters, - ): Promise< - ResourceHealthMetadataGetBySite200Response | ResourceHealthMetadataGetBySitedefaultResponse + ): StreamableMethod< + ResourceHealthMetadataGetBySite200Response | ResourceHealthMetadataGetBySiteDefaultResponse >; } @@ -3878,9 +3924,9 @@ export interface ResourceHealthMetadataListBySiteSlot { /** Gets the category of ResourceHealthMetadata to use for the given site as a collection */ get( options?: ResourceHealthMetadataListBySiteSlotParameters, - ): Promise< + ): StreamableMethod< | ResourceHealthMetadataListBySiteSlot200Response - | ResourceHealthMetadataListBySiteSlotdefaultResponse + | ResourceHealthMetadataListBySiteSlotDefaultResponse >; } @@ -3888,9 +3934,9 @@ export interface ResourceHealthMetadataGetBySiteSlot { /** Gets the category of ResourceHealthMetadata to use for the given site */ get( options?: ResourceHealthMetadataGetBySiteSlotParameters, - ): Promise< + ): StreamableMethod< | ResourceHealthMetadataGetBySiteSlot200Response - | ResourceHealthMetadataGetBySiteSlotdefaultResponse + | ResourceHealthMetadataGetBySiteSlotDefaultResponse >; } @@ -3898,59 +3944,59 @@ export interface GetPublishingUser { /** Gets publishing user */ get( options?: GetPublishingUserParameters, - ): Promise; + ): StreamableMethod; /** Updates publishing user */ put( options: UpdatePublishingUserParameters, - ): Promise; + ): StreamableMethod; } export interface ListSourceControls { /** Gets the source controls available for Azure websites. */ get( options?: ListSourceControlsParameters, - ): Promise; + ): StreamableMethod; } export interface GetSourceControl { /** Gets source control token */ get( options?: GetSourceControlParameters, - ): Promise; + ): StreamableMethod; /** Updates source control token */ put( options: UpdateSourceControlParameters, - ): Promise; + ): StreamableMethod; } export interface ListBillingMeters { /** Gets a list of meters for a given location. */ get( options?: ListBillingMetersParameters, - ): Promise; + ): StreamableMethod; } export interface CheckNameAvailability { /** Check if a resource name is available. */ post( options: CheckNameAvailabilityParameters, - ): Promise; + ): StreamableMethod; } export interface ListCustomHostNameSites { /** Get custom hostnames under this subscription */ get( options?: ListCustomHostNameSitesParameters, - ): Promise; + ): StreamableMethod; } export interface GetSubscriptionDeploymentLocations { /** Gets list of available geo regions plus ministamps */ get( options?: GetSubscriptionDeploymentLocationsParameters, - ): Promise< + ): StreamableMethod< | GetSubscriptionDeploymentLocations200Response - | GetSubscriptionDeploymentLocationsdefaultResponse + | GetSubscriptionDeploymentLocationsDefaultResponse >; } @@ -3958,16 +4004,16 @@ export interface ListGeoRegions { /** Get a list of available geographical regions. */ get( options?: ListGeoRegionsParameters, - ): Promise; + ): StreamableMethod; } export interface ListSiteIdentifiersAssignedToHostName { /** List all apps that are assigned to a hostname. */ post( options: ListSiteIdentifiersAssignedToHostNameParameters, - ): Promise< + ): StreamableMethod< | ListSiteIdentifiersAssignedToHostName200Response - | ListSiteIdentifiersAssignedToHostNamedefaultResponse + | ListSiteIdentifiersAssignedToHostNameDefaultResponse >; } @@ -3975,59 +4021,67 @@ export interface ListPremierAddOnOffers { /** List all premier add-on offers. */ get( options?: ListPremierAddOnOffersParameters, - ): Promise; + ): StreamableMethod; } export interface ListSkus { /** List all SKUs. */ - get(options?: ListSkusParameters): Promise; + get( + options?: ListSkusParameters, + ): StreamableMethod; } export interface VerifyHostingEnvironmentVnet { /** Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules. */ post( options: VerifyHostingEnvironmentVnetParameters, - ): Promise; + ): StreamableMethod< + VerifyHostingEnvironmentVnet200Response | VerifyHostingEnvironmentVnetDefaultResponse + >; } export interface Move { /** Move resources between resource groups. */ - post(options: MoveParameters): Promise; + post(options: MoveParameters): StreamableMethod; } export interface Validate { /** Validate if a resource can be created. */ - post(options: ValidateParameters): Promise; + post( + options: ValidateParameters, + ): StreamableMethod; } export interface ValidateMove { /** Validate whether a resource can be moved. */ post( options: ValidateMoveParameters, - ): Promise; + ): StreamableMethod; } export interface StaticSitesPreviewWorkflow { /** Generates a preview workflow file for the static site */ post( options: StaticSitesPreviewWorkflowParameters, - ): Promise; + ): StreamableMethod< + StaticSitesPreviewWorkflow200Response | StaticSitesPreviewWorkflowDefaultResponse + >; } export interface StaticSitesList { /** Get all Static Sites for a subscription. */ get( options?: StaticSitesListParameters, - ): Promise; + ): StreamableMethod; } export interface StaticSitesGetStaticSitesByResourceGroup { /** Gets all static sites in the specified resource group. */ get( options?: StaticSitesGetStaticSitesByResourceGroupParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetStaticSitesByResourceGroup200Response - | StaticSitesGetStaticSitesByResourceGroupdefaultResponse + | StaticSitesGetStaticSitesByResourceGroupDefaultResponse >; } @@ -4035,30 +4089,32 @@ export interface StaticSitesGetStaticSite { /** Gets the details of a static site. */ get( options?: StaticSitesGetStaticSiteParameters, - ): Promise; + ): StreamableMethod< + StaticSitesGetStaticSite200Response | StaticSitesGetStaticSiteDefaultResponse + >; /** Creates a new static site in an existing resource group, or updates an existing static site. */ put( options: StaticSitesCreateOrUpdateStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSite200Response | StaticSitesCreateOrUpdateStaticSite202Response - | StaticSitesCreateOrUpdateStaticSitedefaultResponse + | StaticSitesCreateOrUpdateStaticSiteDefaultResponse >; /** Deletes a static site. */ delete( options?: StaticSitesDeleteStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDeleteStaticSite200Response | StaticSitesDeleteStaticSite202Response - | StaticSitesDeleteStaticSitedefaultResponse + | StaticSitesDeleteStaticSiteDefaultResponse >; /** Creates a new static site in an existing resource group, or updates an existing static site. */ patch( options: StaticSitesUpdateStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesUpdateStaticSite200Response | StaticSitesUpdateStaticSite202Response - | StaticSitesUpdateStaticSitedefaultResponse + | StaticSitesUpdateStaticSiteDefaultResponse >; } @@ -4066,8 +4122,8 @@ export interface StaticSitesListStaticSiteUsers { /** Gets the list of users of a static site. */ post( options?: StaticSitesListStaticSiteUsersParameters, - ): Promise< - StaticSitesListStaticSiteUsers200Response | StaticSitesListStaticSiteUsersdefaultResponse + ): StreamableMethod< + StaticSitesListStaticSiteUsers200Response | StaticSitesListStaticSiteUsersDefaultResponse >; } @@ -4075,14 +4131,14 @@ export interface StaticSitesDeleteStaticSiteUser { /** Deletes the user entry from the static site. */ delete( options?: StaticSitesDeleteStaticSiteUserParameters, - ): Promise< - StaticSitesDeleteStaticSiteUser200Response | StaticSitesDeleteStaticSiteUserdefaultResponse + ): StreamableMethod< + StaticSitesDeleteStaticSiteUser200Response | StaticSitesDeleteStaticSiteUserDefaultResponse >; /** Updates a user entry with the listed roles */ patch( options: StaticSitesUpdateStaticSiteUserParameters, - ): Promise< - StaticSitesUpdateStaticSiteUser200Response | StaticSitesUpdateStaticSiteUserdefaultResponse + ): StreamableMethod< + StaticSitesUpdateStaticSiteUser200Response | StaticSitesUpdateStaticSiteUserDefaultResponse >; } @@ -4090,8 +4146,8 @@ export interface StaticSitesGetStaticSiteBuilds { /** Gets all static site builds for a particular static site. */ get( options?: StaticSitesGetStaticSiteBuildsParameters, - ): Promise< - StaticSitesGetStaticSiteBuilds200Response | StaticSitesGetStaticSiteBuildsdefaultResponse + ): StreamableMethod< + StaticSitesGetStaticSiteBuilds200Response | StaticSitesGetStaticSiteBuildsDefaultResponse >; } @@ -4099,17 +4155,17 @@ export interface StaticSitesGetStaticSiteBuild { /** Gets the details of a static site build. */ get( options?: StaticSitesGetStaticSiteBuildParameters, - ): Promise< - StaticSitesGetStaticSiteBuild200Response | StaticSitesGetStaticSiteBuilddefaultResponse + ): StreamableMethod< + StaticSitesGetStaticSiteBuild200Response | StaticSitesGetStaticSiteBuildDefaultResponse >; /** Deletes a static site build. */ delete( options?: StaticSitesDeleteStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDeleteStaticSiteBuild200Response | StaticSitesDeleteStaticSiteBuild202Response | StaticSitesDeleteStaticSiteBuild204Response - | StaticSitesDeleteStaticSiteBuilddefaultResponse + | StaticSitesDeleteStaticSiteBuildDefaultResponse >; } @@ -4117,9 +4173,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettings { /** Creates or updates the app settings of a static site build. */ put( options: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response - | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsdefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse >; } @@ -4127,9 +4183,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings { /** Creates or updates the function app settings of a static site build. */ put( options: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response - | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsdefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse >; } @@ -4137,9 +4193,9 @@ export interface StaticSitesListStaticSiteBuildFunctions { /** Gets the functions of a particular static site build. */ get( options?: StaticSitesListStaticSiteBuildFunctionsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteBuildFunctions200Response - | StaticSitesListStaticSiteBuildFunctionsdefaultResponse + | StaticSitesListStaticSiteBuildFunctionsDefaultResponse >; } @@ -4147,9 +4203,9 @@ export interface StaticSitesListStaticSiteBuildAppSettings { /** Gets the application settings of a static site build. */ post( options?: StaticSitesListStaticSiteBuildAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteBuildAppSettings200Response - | StaticSitesListStaticSiteBuildAppSettingsdefaultResponse + | StaticSitesListStaticSiteBuildAppSettingsDefaultResponse >; } @@ -4157,9 +4213,9 @@ export interface StaticSitesListStaticSiteBuildFunctionAppSettings { /** Gets the application settings of a static site build. */ post( options?: StaticSitesListStaticSiteBuildFunctionAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteBuildFunctionAppSettings200Response - | StaticSitesListStaticSiteBuildFunctionAppSettingsdefaultResponse + | StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse >; } @@ -4167,9 +4223,9 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild { /** Gets the details of the user provided function apps registered with a static site build */ get( options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response - | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuilddefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse >; } @@ -4177,25 +4233,25 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild { /** Gets the details of the user provided function app registered with a static site build */ get( options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response - | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuilddefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse >; /** Register a user provided function app with a static site build */ put( options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response - | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuilddefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse >; /** Detach the user provided function app from the static site build */ delete( options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response - | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuilddefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse >; } @@ -4203,10 +4259,10 @@ export interface StaticSitesCreateZipDeploymentForStaticSiteBuild { /** Deploys zipped content to a specific environment of a static site. */ post( options: StaticSitesCreateZipDeploymentForStaticSiteBuildParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateZipDeploymentForStaticSiteBuild200Response | StaticSitesCreateZipDeploymentForStaticSiteBuild202Response - | StaticSitesCreateZipDeploymentForStaticSiteBuilddefaultResponse + | StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse >; } @@ -4214,9 +4270,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteAppSettings { /** Creates or updates the app settings of a static site. */ put( options: StaticSitesCreateOrUpdateStaticSiteAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSiteAppSettings200Response - | StaticSitesCreateOrUpdateStaticSiteAppSettingsdefaultResponse + | StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse >; } @@ -4224,9 +4280,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings { /** Creates or updates the function app settings of a static site. */ put( options: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response - | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsdefaultResponse + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse >; } @@ -4234,9 +4290,9 @@ export interface StaticSitesCreateUserRolesInvitationLink { /** Creates an invitation link for a user with the role */ post( options: StaticSitesCreateUserRolesInvitationLinkParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateUserRolesInvitationLink200Response - | StaticSitesCreateUserRolesInvitationLinkdefaultResponse + | StaticSitesCreateUserRolesInvitationLinkDefaultResponse >; } @@ -4244,9 +4300,9 @@ export interface StaticSitesListStaticSiteCustomDomains { /** Gets all static site custom domains for a particular static site. */ get( options?: StaticSitesListStaticSiteCustomDomainsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteCustomDomains200Response - | StaticSitesListStaticSiteCustomDomainsdefaultResponse + | StaticSitesListStaticSiteCustomDomainsDefaultResponse >; } @@ -4254,25 +4310,25 @@ export interface StaticSitesGetStaticSiteCustomDomain { /** Gets an existing custom domain for a particular static site. */ get( options?: StaticSitesGetStaticSiteCustomDomainParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetStaticSiteCustomDomain200Response - | StaticSitesGetStaticSiteCustomDomaindefaultResponse + | StaticSitesGetStaticSiteCustomDomainDefaultResponse >; /** Creates a new static site custom domain in an existing resource group and static site. */ put( options: StaticSitesCreateOrUpdateStaticSiteCustomDomainParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response | StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response - | StaticSitesCreateOrUpdateStaticSiteCustomDomaindefaultResponse + | StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse >; /** Deletes a custom domain. */ delete( options?: StaticSitesDeleteStaticSiteCustomDomainParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDeleteStaticSiteCustomDomain200Response | StaticSitesDeleteStaticSiteCustomDomain202Response - | StaticSitesDeleteStaticSiteCustomDomaindefaultResponse + | StaticSitesDeleteStaticSiteCustomDomainDefaultResponse >; } @@ -4280,10 +4336,10 @@ export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite { /** Validates a particular custom domain can be added to a static site. */ post( options: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response | StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response - | StaticSitesValidateCustomDomainCanBeAddedToStaticSitedefaultResponse + | StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse >; } @@ -4291,10 +4347,10 @@ export interface StaticSitesDetachStaticSite { /** Detaches a static site. */ post( options?: StaticSitesDetachStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDetachStaticSite200Response | StaticSitesDetachStaticSite202Response - | StaticSitesDetachStaticSitedefaultResponse + | StaticSitesDetachStaticSiteDefaultResponse >; } @@ -4302,9 +4358,9 @@ export interface StaticSitesListStaticSiteFunctions { /** Gets the functions of a static site. */ get( options?: StaticSitesListStaticSiteFunctionsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteFunctions200Response - | StaticSitesListStaticSiteFunctionsdefaultResponse + | StaticSitesListStaticSiteFunctionsDefaultResponse >; } @@ -4312,9 +4368,9 @@ export interface StaticSitesListStaticSiteAppSettings { /** Gets the application settings of a static site. */ post( options?: StaticSitesListStaticSiteAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteAppSettings200Response - | StaticSitesListStaticSiteAppSettingsdefaultResponse + | StaticSitesListStaticSiteAppSettingsDefaultResponse >; } @@ -4322,9 +4378,9 @@ export interface StaticSitesListStaticSiteConfiguredRoles { /** Lists the roles configured for the static site. */ post( options?: StaticSitesListStaticSiteConfiguredRolesParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteConfiguredRoles200Response - | StaticSitesListStaticSiteConfiguredRolesdefaultResponse + | StaticSitesListStaticSiteConfiguredRolesDefaultResponse >; } @@ -4332,9 +4388,9 @@ export interface StaticSitesListStaticSiteFunctionAppSettings { /** Gets the application settings of a static site. */ post( options?: StaticSitesListStaticSiteFunctionAppSettingsParameters, - ): Promise< + ): StreamableMethod< | StaticSitesListStaticSiteFunctionAppSettings200Response - | StaticSitesListStaticSiteFunctionAppSettingsdefaultResponse + | StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse >; } @@ -4342,8 +4398,8 @@ export interface StaticSitesListStaticSiteSecrets { /** Lists the secrets for an existing static site. */ post( options?: StaticSitesListStaticSiteSecretsParameters, - ): Promise< - StaticSitesListStaticSiteSecrets200Response | StaticSitesListStaticSiteSecretsdefaultResponse + ): StreamableMethod< + StaticSitesListStaticSiteSecrets200Response | StaticSitesListStaticSiteSecretsDefaultResponse >; } @@ -4351,9 +4407,9 @@ export interface StaticSitesGetPrivateEndpointConnectionList { /** Gets the list of private endpoint connections associated with a static site */ get( options?: StaticSitesGetPrivateEndpointConnectionListParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetPrivateEndpointConnectionList200Response - | StaticSitesGetPrivateEndpointConnectionListdefaultResponse + | StaticSitesGetPrivateEndpointConnectionListDefaultResponse >; } @@ -4361,26 +4417,26 @@ export interface StaticSitesGetPrivateEndpointConnection { /** Gets a private endpoint connection */ get( options?: StaticSitesGetPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetPrivateEndpointConnection200Response - | StaticSitesGetPrivateEndpointConnectiondefaultResponse + | StaticSitesGetPrivateEndpointConnectionDefaultResponse >; /** Approves or rejects a private endpoint connection */ put( options: StaticSitesApproveOrRejectPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | StaticSitesApproveOrRejectPrivateEndpointConnection200Response | StaticSitesApproveOrRejectPrivateEndpointConnection202Response - | StaticSitesApproveOrRejectPrivateEndpointConnectiondefaultResponse + | StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse >; /** Deletes a private endpoint connection */ delete( options?: StaticSitesDeletePrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDeletePrivateEndpointConnection200Response | StaticSitesDeletePrivateEndpointConnection202Response | StaticSitesDeletePrivateEndpointConnection204Response - | StaticSitesDeletePrivateEndpointConnectiondefaultResponse + | StaticSitesDeletePrivateEndpointConnectionDefaultResponse >; } @@ -4388,9 +4444,9 @@ export interface StaticSitesGetPrivateLinkResources { /** Gets the private link resources */ get( options?: StaticSitesGetPrivateLinkResourcesParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetPrivateLinkResources200Response - | StaticSitesGetPrivateLinkResourcesdefaultResponse + | StaticSitesGetPrivateLinkResourcesDefaultResponse >; } @@ -4398,8 +4454,8 @@ export interface StaticSitesResetStaticSiteApiKey { /** Resets the api key for an existing static site. */ post( options: StaticSitesResetStaticSiteApiKeyParameters, - ): Promise< - StaticSitesResetStaticSiteApiKey200Response | StaticSitesResetStaticSiteApiKeydefaultResponse + ): StreamableMethod< + StaticSitesResetStaticSiteApiKey200Response | StaticSitesResetStaticSiteApiKeyDefaultResponse >; } @@ -4407,9 +4463,9 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSite { /** Gets the details of the user provided function apps registered with a static site */ get( options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response - | StaticSitesGetUserProvidedFunctionAppsForStaticSitedefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse >; } @@ -4417,25 +4473,25 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSite { /** Gets the details of the user provided function app registered with a static site */ get( options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesGetUserProvidedFunctionAppForStaticSite200Response - | StaticSitesGetUserProvidedFunctionAppForStaticSitedefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse >; /** Register a user provided function app with a static site */ put( options: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response - | StaticSitesRegisterUserProvidedFunctionAppWithStaticSitedefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse >; /** Detach the user provided function app from the static site */ delete( options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response | StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response - | StaticSitesDetachUserProvidedFunctionAppFromStaticSitedefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse >; } @@ -4443,10 +4499,10 @@ export interface StaticSitesCreateZipDeploymentForStaticSite { /** Deploys zipped content to a static site. */ post( options: StaticSitesCreateZipDeploymentForStaticSiteParameters, - ): Promise< + ): StreamableMethod< | StaticSitesCreateZipDeploymentForStaticSite200Response | StaticSitesCreateZipDeploymentForStaticSite202Response - | StaticSitesCreateZipDeploymentForStaticSitedefaultResponse + | StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse >; } @@ -4454,58 +4510,64 @@ export interface WebAppsList { /** Get all apps for a subscription. */ get( options?: WebAppsListParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListByResourceGroup { /** Gets all web, mobile, and API apps in the specified resource group. */ get( options?: WebAppsListByResourceGroupParameters, - ): Promise; + ): StreamableMethod< + WebAppsListByResourceGroup200Response | WebAppsListByResourceGroupDefaultResponse + >; } export interface WebAppsGet { /** Gets the details of a web, mobile, or API app. */ get( options?: WebAppsGetParameters, - ): Promise; + ): StreamableMethod; /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ put( options: WebAppsCreateOrUpdateParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdate200Response | WebAppsCreateOrUpdate202Response - | WebAppsCreateOrUpdatedefaultResponse + | WebAppsCreateOrUpdateDefaultResponse >; /** Deletes a web, mobile, or API app, or one of the deployment slots. */ delete( options?: WebAppsDeleteParameters, - ): Promise< + ): StreamableMethod< | WebAppsDelete200Response | WebAppsDelete204Response | WebAppsDelete404Response - | WebAppsDeletedefaultResponse + | WebAppsDeleteDefaultResponse >; /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ patch( options: WebAppsUpdateParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdate200Response | WebAppsUpdate202Response | WebAppsUpdateDefaultResponse + >; } export interface WebAppsAnalyzeCustomHostname { /** Analyze a custom hostname. */ get( options?: WebAppsAnalyzeCustomHostnameParameters, - ): Promise; + ): StreamableMethod< + WebAppsAnalyzeCustomHostname200Response | WebAppsAnalyzeCustomHostnameDefaultResponse + >; } export interface WebAppsApplySlotConfigToProduction { /** Applies the configuration settings from the target slot onto the current slot. */ post( options: WebAppsApplySlotConfigToProductionParameters, - ): Promise< + ): StreamableMethod< | WebAppsApplySlotConfigToProduction200Response - | WebAppsApplySlotConfigToProductiondefaultResponse + | WebAppsApplySlotConfigToProductionDefaultResponse >; } @@ -4513,28 +4575,28 @@ export interface WebAppsBackup { /** Creates a backup of an app. */ post( options: WebAppsBackupParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListBackups { /** Gets existing backups of an app. */ get( options?: WebAppsListBackupsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetBackupStatus { /** Gets a backup of an app by its ID. */ get( options?: WebAppsGetBackupStatusParameters, - ): Promise; + ): StreamableMethod; /** Deletes a backup of an app by its ID. */ delete( options?: WebAppsDeleteBackupParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteBackup200Response | WebAppsDeleteBackup404Response - | WebAppsDeleteBackupdefaultResponse + | WebAppsDeleteBackupDefaultResponse >; } @@ -4542,8 +4604,8 @@ export interface WebAppsListBackupStatusSecrets { /** 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. */ post( options: WebAppsListBackupStatusSecretsParameters, - ): Promise< - WebAppsListBackupStatusSecrets200Response | WebAppsListBackupStatusSecretsdefaultResponse + ): StreamableMethod< + WebAppsListBackupStatusSecrets200Response | WebAppsListBackupStatusSecretsDefaultResponse >; } @@ -4551,16 +4613,18 @@ export interface WebAppsRestore { /** Restores a specific backup to another app (or deployment slot, if specified). */ post( options: WebAppsRestoreParameters, - ): Promise; + ): StreamableMethod< + WebAppsRestore200Response | WebAppsRestore202Response | WebAppsRestoreDefaultResponse + >; } export interface WebAppsListBasicPublishingCredentialsPolicies { /** Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. */ get( options?: WebAppsListBasicPublishingCredentialsPoliciesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListBasicPublishingCredentialsPolicies200Response - | WebAppsListBasicPublishingCredentialsPoliciesdefaultResponse + | WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse >; } @@ -4568,37 +4632,39 @@ export interface WebAppsGetFtpAllowed { /** Returns whether FTP is allowed on the site or not. */ get( options?: WebAppsGetFtpAllowedParameters, - ): Promise; + ): StreamableMethod; /** Updates whether FTP is allowed on the site or not. */ put( options: WebAppsUpdateFtpAllowedParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetScmAllowed { /** Returns whether Scm basic auth is allowed on the site or not. */ get( options?: WebAppsGetScmAllowedParameters, - ): Promise; + ): StreamableMethod; /** Updates whether user publishing credentials are allowed on the site or not. */ put( options: WebAppsUpdateScmAllowedParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListConfigurations { /** List the configurations of an app */ get( options?: WebAppsListConfigurationsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListConfigurations200Response | WebAppsListConfigurationsDefaultResponse + >; } export interface WebAppsUpdateApplicationSettings { /** Replaces the application settings of an app. */ put( options: WebAppsUpdateApplicationSettingsParameters, - ): Promise< - WebAppsUpdateApplicationSettings200Response | WebAppsUpdateApplicationSettingsdefaultResponse + ): StreamableMethod< + WebAppsUpdateApplicationSettings200Response | WebAppsUpdateApplicationSettingsDefaultResponse >; } @@ -4606,8 +4672,8 @@ export interface WebAppsListApplicationSettings { /** Gets the application settings of an app. */ post( options?: WebAppsListApplicationSettingsParameters, - ): Promise< - WebAppsListApplicationSettings200Response | WebAppsListApplicationSettingsdefaultResponse + ): StreamableMethod< + WebAppsListApplicationSettings200Response | WebAppsListApplicationSettingsDefaultResponse >; } @@ -4615,43 +4681,49 @@ export interface WebAppsUpdateAuthSettings { /** Updates the Authentication / Authorization settings associated with web app. */ put( options: WebAppsUpdateAuthSettingsParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateAuthSettings200Response | WebAppsUpdateAuthSettingsDefaultResponse + >; } export interface WebAppsGetAuthSettings { /** Gets the Authentication/Authorization settings of an app. */ post( options?: WebAppsGetAuthSettingsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetAuthSettingsV2WithoutSecrets { /** Gets site's Authentication / Authorization settings for apps via the V2 format */ get( options?: WebAppsGetAuthSettingsV2WithoutSecretsParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAuthSettingsV2WithoutSecrets200Response - | WebAppsGetAuthSettingsV2WithoutSecretsdefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse >; /** Updates site's Authentication / Authorization settings for apps via the V2 format */ put( options: WebAppsUpdateAuthSettingsV2Parameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateAuthSettingsV2200Response | WebAppsUpdateAuthSettingsV2DefaultResponse + >; } export interface WebAppsGetAuthSettingsV2 { /** Gets site's Authentication / Authorization settings for apps via the V2 format */ get( options?: WebAppsGetAuthSettingsV2Parameters, - ): Promise; + ): StreamableMethod< + WebAppsGetAuthSettingsV2200Response | WebAppsGetAuthSettingsV2DefaultResponse + >; } export interface WebAppsUpdateAzureStorageAccounts { /** Updates the Azure storage account configurations of an app. */ put( options: WebAppsUpdateAzureStorageAccountsParameters, - ): Promise< - WebAppsUpdateAzureStorageAccounts200Response | WebAppsUpdateAzureStorageAccountsdefaultResponse + ): StreamableMethod< + WebAppsUpdateAzureStorageAccounts200Response | WebAppsUpdateAzureStorageAccountsDefaultResponse >; } @@ -4659,8 +4731,8 @@ export interface WebAppsListAzureStorageAccounts { /** Gets the Azure storage account configurations of an app. */ post( options?: WebAppsListAzureStorageAccountsParameters, - ): Promise< - WebAppsListAzureStorageAccounts200Response | WebAppsListAzureStorageAccountsdefaultResponse + ): StreamableMethod< + WebAppsListAzureStorageAccounts200Response | WebAppsListAzureStorageAccountsDefaultResponse >; } @@ -4668,14 +4740,14 @@ export interface WebAppsUpdateBackupConfiguration { /** Updates the backup configuration of an app. */ put( options: WebAppsUpdateBackupConfigurationParameters, - ): Promise< - WebAppsUpdateBackupConfiguration200Response | WebAppsUpdateBackupConfigurationdefaultResponse + ): StreamableMethod< + WebAppsUpdateBackupConfiguration200Response | WebAppsUpdateBackupConfigurationDefaultResponse >; /** Deletes the backup configuration of an app. */ delete( options?: WebAppsDeleteBackupConfigurationParameters, - ): Promise< - WebAppsDeleteBackupConfiguration200Response | WebAppsDeleteBackupConfigurationdefaultResponse + ): StreamableMethod< + WebAppsDeleteBackupConfiguration200Response | WebAppsDeleteBackupConfigurationDefaultResponse >; } @@ -4683,8 +4755,8 @@ export interface WebAppsGetBackupConfiguration { /** Gets the backup configuration of an app. */ post( options?: WebAppsGetBackupConfigurationParameters, - ): Promise< - WebAppsGetBackupConfiguration200Response | WebAppsGetBackupConfigurationdefaultResponse + ): StreamableMethod< + WebAppsGetBackupConfiguration200Response | WebAppsGetBackupConfigurationDefaultResponse >; } @@ -4692,9 +4764,9 @@ export interface WebAppsGetAppSettingsKeyVaultReferences { /** Gets the config reference app settings and status of an app */ get( options?: WebAppsGetAppSettingsKeyVaultReferencesParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAppSettingsKeyVaultReferences200Response - | WebAppsGetAppSettingsKeyVaultReferencesdefaultResponse + | WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse >; } @@ -4702,9 +4774,9 @@ export interface WebAppsGetAppSettingKeyVaultReference { /** Gets the config reference and status of an app */ get( options?: WebAppsGetAppSettingKeyVaultReferenceParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAppSettingKeyVaultReference200Response - | WebAppsGetAppSettingKeyVaultReferencedefaultResponse + | WebAppsGetAppSettingKeyVaultReferenceDefaultResponse >; } @@ -4712,9 +4784,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferences { /** Gets the config reference app settings and status of an app */ get( options?: WebAppsGetSiteConnectionStringKeyVaultReferencesParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteConnectionStringKeyVaultReferences200Response - | WebAppsGetSiteConnectionStringKeyVaultReferencesdefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse >; } @@ -4722,9 +4794,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReference { /** Gets the config reference and status of an app */ get( options?: WebAppsGetSiteConnectionStringKeyVaultReferenceParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteConnectionStringKeyVaultReference200Response - | WebAppsGetSiteConnectionStringKeyVaultReferencedefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse >; } @@ -4732,8 +4804,8 @@ export interface WebAppsUpdateConnectionStrings { /** Replaces the connection strings of an app. */ put( options: WebAppsUpdateConnectionStringsParameters, - ): Promise< - WebAppsUpdateConnectionStrings200Response | WebAppsUpdateConnectionStringsdefaultResponse + ): StreamableMethod< + WebAppsUpdateConnectionStrings200Response | WebAppsUpdateConnectionStringsDefaultResponse >; } @@ -4741,22 +4813,24 @@ export interface WebAppsListConnectionStrings { /** Gets the connection strings of an app. */ post( options?: WebAppsListConnectionStringsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListConnectionStrings200Response | WebAppsListConnectionStringsDefaultResponse + >; } export interface WebAppsGetDiagnosticLogsConfiguration { /** Gets the logging configuration of an app. */ get( options?: WebAppsGetDiagnosticLogsConfigurationParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetDiagnosticLogsConfiguration200Response - | WebAppsGetDiagnosticLogsConfigurationdefaultResponse + | WebAppsGetDiagnosticLogsConfigurationDefaultResponse >; /** Updates the logging configuration of an app. */ put( options: WebAppsUpdateDiagnosticLogsConfigParameters, - ): Promise< - WebAppsUpdateDiagnosticLogsConfig200Response | WebAppsUpdateDiagnosticLogsConfigdefaultResponse + ): StreamableMethod< + WebAppsUpdateDiagnosticLogsConfig200Response | WebAppsUpdateDiagnosticLogsConfigDefaultResponse >; } @@ -4764,22 +4838,22 @@ export interface WebAppsUpdateMetadata { /** Replaces the metadata of an app. */ put( options: WebAppsUpdateMetadataParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListMetadata { /** Gets the metadata of an app. */ post( options?: WebAppsListMetadataParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListPublishingCredentials { /** Gets the Git/FTP publishing credentials of an app. */ post( options?: WebAppsListPublishingCredentialsParameters, - ): Promise< - WebAppsListPublishingCredentials200Response | WebAppsListPublishingCredentialsdefaultResponse + ): StreamableMethod< + WebAppsListPublishingCredentials200Response | WebAppsListPublishingCredentialsDefaultResponse >; } @@ -4787,8 +4861,8 @@ export interface WebAppsUpdateSitePushSettings { /** Updates the Push settings associated with web app. */ put( options: WebAppsUpdateSitePushSettingsParameters, - ): Promise< - WebAppsUpdateSitePushSettings200Response | WebAppsUpdateSitePushSettingsdefaultResponse + ): StreamableMethod< + WebAppsUpdateSitePushSettings200Response | WebAppsUpdateSitePushSettingsDefaultResponse >; } @@ -4796,22 +4870,24 @@ export interface WebAppsListSitePushSettings { /** Gets the Push settings associated with web app. */ post( options?: WebAppsListSitePushSettingsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListSitePushSettings200Response | WebAppsListSitePushSettingsDefaultResponse + >; } export interface WebAppsListSlotConfigurationNames { /** Gets the names of app settings and connection strings that stick to the slot (not swapped). */ get( options?: WebAppsListSlotConfigurationNamesParameters, - ): Promise< - WebAppsListSlotConfigurationNames200Response | WebAppsListSlotConfigurationNamesdefaultResponse + ): StreamableMethod< + WebAppsListSlotConfigurationNames200Response | WebAppsListSlotConfigurationNamesDefaultResponse >; /** Updates the names of application settings and connection string that remain with the slot during swap operation. */ put( options: WebAppsUpdateSlotConfigurationNamesParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateSlotConfigurationNames200Response - | WebAppsUpdateSlotConfigurationNamesdefaultResponse + | WebAppsUpdateSlotConfigurationNamesDefaultResponse >; } @@ -4819,27 +4895,29 @@ export interface WebAppsGetConfiguration { /** Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. */ get( options?: WebAppsGetConfigurationParameters, - ): Promise; + ): StreamableMethod; /** Updates the configuration of an app. */ put( options: WebAppsCreateOrUpdateConfigurationParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateConfiguration200Response - | WebAppsCreateOrUpdateConfigurationdefaultResponse + | WebAppsCreateOrUpdateConfigurationDefaultResponse >; /** Updates the configuration of an app. */ patch( options: WebAppsUpdateConfigurationParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateConfiguration200Response | WebAppsUpdateConfigurationDefaultResponse + >; } export interface WebAppsListConfigurationSnapshotInfo { /** Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. */ get( options?: WebAppsListConfigurationSnapshotInfoParameters, - ): Promise< + ): StreamableMethod< | WebAppsListConfigurationSnapshotInfo200Response - | WebAppsListConfigurationSnapshotInfodefaultResponse + | WebAppsListConfigurationSnapshotInfoDefaultResponse >; } @@ -4847,8 +4925,8 @@ export interface WebAppsGetConfigurationSnapshot { /** Gets a snapshot of the configuration of an app at a previous point in time. */ get( options?: WebAppsGetConfigurationSnapshotParameters, - ): Promise< - WebAppsGetConfigurationSnapshot200Response | WebAppsGetConfigurationSnapshotdefaultResponse + ): StreamableMethod< + WebAppsGetConfigurationSnapshot200Response | WebAppsGetConfigurationSnapshotDefaultResponse >; } @@ -4856,9 +4934,9 @@ export interface WebAppsRecoverSiteConfigurationSnapshot { /** Reverts the configuration of an app to a previous snapshot. */ post( options?: WebAppsRecoverSiteConfigurationSnapshotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRecoverSiteConfigurationSnapshot204Response - | WebAppsRecoverSiteConfigurationSnapshotdefaultResponse + | WebAppsRecoverSiteConfigurationSnapshotDefaultResponse >; } @@ -4866,10 +4944,10 @@ export interface WebAppsGetWebSiteContainerLogs { /** Gets the last lines of docker logs for the given site */ post( options?: WebAppsGetWebSiteContainerLogsParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetWebSiteContainerLogs200Response | WebAppsGetWebSiteContainerLogs204Response - | WebAppsGetWebSiteContainerLogsdefaultResponse + | WebAppsGetWebSiteContainerLogsDefaultResponse >; } @@ -4877,10 +4955,10 @@ export interface WebAppsGetContainerLogsZip { /** Gets the ZIP archived docker log files for the given site */ post( options?: WebAppsGetContainerLogsZipParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetContainerLogsZip200Response | WebAppsGetContainerLogsZip204Response - | WebAppsGetContainerLogsZipdefaultResponse + | WebAppsGetContainerLogsZipDefaultResponse >; } @@ -4888,25 +4966,27 @@ export interface WebAppsListContinuousWebJobs { /** List continuous web jobs for an app, or a deployment slot. */ get( options?: WebAppsListContinuousWebJobsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListContinuousWebJobs200Response | WebAppsListContinuousWebJobsDefaultResponse + >; } export interface WebAppsGetContinuousWebJob { /** Gets a continuous web job by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetContinuousWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetContinuousWebJob200Response | WebAppsGetContinuousWebJob404Response - | WebAppsGetContinuousWebJobdefaultResponse + | WebAppsGetContinuousWebJobDefaultResponse >; /** Delete a continuous web job by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteContinuousWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteContinuousWebJob200Response | WebAppsDeleteContinuousWebJob204Response - | WebAppsDeleteContinuousWebJobdefaultResponse + | WebAppsDeleteContinuousWebJobDefaultResponse >; } @@ -4914,10 +4994,10 @@ export interface WebAppsStartContinuousWebJob { /** Start a continuous web job for an app, or a deployment slot. */ post( options?: WebAppsStartContinuousWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartContinuousWebJob200Response | WebAppsStartContinuousWebJob404Response - | WebAppsStartContinuousWebJobdefaultResponse + | WebAppsStartContinuousWebJobDefaultResponse >; } @@ -4925,10 +5005,10 @@ export interface WebAppsStopContinuousWebJob { /** Stop a continuous web job for an app, or a deployment slot. */ post( options?: WebAppsStopContinuousWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopContinuousWebJob200Response | WebAppsStopContinuousWebJob404Response - | WebAppsStopContinuousWebJobdefaultResponse + | WebAppsStopContinuousWebJobDefaultResponse >; } @@ -4936,25 +5016,25 @@ export interface WebAppsListDeployments { /** List deployments for an app, or a deployment slot. */ get( options?: WebAppsListDeploymentsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetDeployment { /** Get a deployment by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetDeploymentParameters, - ): Promise; + ): StreamableMethod; /** Create a deployment for an app, or a deployment slot. */ put( options: WebAppsCreateDeploymentParameters, - ): Promise; + ): StreamableMethod; /** Delete a deployment by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteDeploymentParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteDeployment200Response | WebAppsDeleteDeployment204Response - | WebAppsDeleteDeploymentdefaultResponse + | WebAppsDeleteDeploymentDefaultResponse >; } @@ -4962,23 +5042,25 @@ export interface WebAppsListDeploymentLog { /** List deployment log for specific deployment for an app, or a deployment slot. */ get( options?: WebAppsListDeploymentLogParameters, - ): Promise; + ): StreamableMethod< + WebAppsListDeploymentLog200Response | WebAppsListDeploymentLogDefaultResponse + >; } export interface WebAppsDiscoverBackup { /** Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. */ post( options: WebAppsDiscoverBackupParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListDomainOwnershipIdentifiers { /** Lists ownership identifiers for domain associated with web app. */ get( options?: WebAppsListDomainOwnershipIdentifiersParameters, - ): Promise< + ): StreamableMethod< | WebAppsListDomainOwnershipIdentifiers200Response - | WebAppsListDomainOwnershipIdentifiersdefaultResponse + | WebAppsListDomainOwnershipIdentifiersDefaultResponse >; } @@ -4986,31 +5068,31 @@ export interface WebAppsGetDomainOwnershipIdentifier { /** Get domain ownership identifier for web app. */ get( options?: WebAppsGetDomainOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetDomainOwnershipIdentifier200Response - | WebAppsGetDomainOwnershipIdentifierdefaultResponse + | WebAppsGetDomainOwnershipIdentifierDefaultResponse >; /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ put( options: WebAppsCreateOrUpdateDomainOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response - | WebAppsCreateOrUpdateDomainOwnershipIdentifierdefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse >; /** Deletes a domain ownership identifier for a web app. */ delete( options?: WebAppsDeleteDomainOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteDomainOwnershipIdentifier200Response | WebAppsDeleteDomainOwnershipIdentifier204Response - | WebAppsDeleteDomainOwnershipIdentifierdefaultResponse + | WebAppsDeleteDomainOwnershipIdentifierDefaultResponse >; /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ patch( options: WebAppsUpdateDomainOwnershipIdentifierParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateDomainOwnershipIdentifier200Response - | WebAppsUpdateDomainOwnershipIdentifierdefaultResponse + | WebAppsUpdateDomainOwnershipIdentifierDefaultResponse >; } @@ -5018,14 +5100,16 @@ export interface WebAppsGetMSDeployStatus { /** Get the status of the last MSDeploy operation. */ get( options?: WebAppsGetMSDeployStatusParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetMSDeployStatus200Response | WebAppsGetMSDeployStatusDefaultResponse + >; /** Invoke the MSDeploy web app extension. */ put( options: WebAppsCreateMSDeployOperationParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateMSDeployOperation201Response | WebAppsCreateMSDeployOperation409Response - | WebAppsCreateMSDeployOperationdefaultResponse + | WebAppsCreateMSDeployOperationDefaultResponse >; } @@ -5033,10 +5117,10 @@ export interface WebAppsGetMSDeployLog { /** Get the MSDeploy Log for the last MSDeploy operation. */ get( options?: WebAppsGetMSDeployLogParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetMSDeployLog200Response | WebAppsGetMSDeployLog404Response - | WebAppsGetMSDeployLogdefaultResponse + | WebAppsGetMSDeployLogDefaultResponse >; } @@ -5044,12 +5128,14 @@ export interface WebAppsGetOneDeployStatus { /** Invoke onedeploy status API /api/deployments and gets the deployment status for the site */ get( options?: WebAppsGetOneDeployStatusParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetOneDeployStatus200Response | WebAppsGetOneDeployStatusDefaultResponse + >; /** Invoke the OneDeploy publish web app extension. */ put( options?: WebAppsCreateOneDeployOperationParameters, - ): Promise< - WebAppsCreateOneDeployOperation200Response | WebAppsCreateOneDeployOperationdefaultResponse + ): StreamableMethod< + WebAppsCreateOneDeployOperation200Response | WebAppsCreateOneDeployOperationDefaultResponse >; } @@ -5057,10 +5143,10 @@ export interface WebAppsListFunctions { /** List the functions for a web site, or a deployment slot. */ get( options?: WebAppsListFunctionsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListFunctions200Response | WebAppsListFunctions404Response - | WebAppsListFunctionsdefaultResponse + | WebAppsListFunctionsDefaultResponse >; } @@ -5068,8 +5154,8 @@ export interface WebAppsGetFunctionsAdminToken { /** Fetch a short lived token that can be exchanged for a master key. */ get( options?: WebAppsGetFunctionsAdminTokenParameters, - ): Promise< - WebAppsGetFunctionsAdminToken200Response | WebAppsGetFunctionsAdminTokendefaultResponse + ): StreamableMethod< + WebAppsGetFunctionsAdminToken200Response | WebAppsGetFunctionsAdminTokenDefaultResponse >; } @@ -5077,22 +5163,22 @@ export interface WebAppsGetFunction { /** Get function information by its ID for web site, or a deployment slot. */ get( options?: WebAppsGetFunctionParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetFunction200Response | WebAppsGetFunction404Response - | WebAppsGetFunctiondefaultResponse + | WebAppsGetFunctionDefaultResponse >; /** Create function for web site, or a deployment slot. */ put( options: WebAppsCreateFunctionParameters, - ): Promise; + ): StreamableMethod; /** Delete a function for web site, or a deployment slot. */ delete( options?: WebAppsDeleteFunctionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteFunction204Response | WebAppsDeleteFunction404Response - | WebAppsDeleteFunctiondefaultResponse + | WebAppsDeleteFunctionDefaultResponse >; } @@ -5100,18 +5186,18 @@ export interface WebAppsCreateOrUpdateFunctionSecret { /** Add or update a function secret. */ put( options: WebAppsCreateOrUpdateFunctionSecretParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateFunctionSecret200Response | WebAppsCreateOrUpdateFunctionSecret201Response - | WebAppsCreateOrUpdateFunctionSecretdefaultResponse + | WebAppsCreateOrUpdateFunctionSecretDefaultResponse >; /** Delete a function secret. */ delete( options?: WebAppsDeleteFunctionSecretParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteFunctionSecret204Response | WebAppsDeleteFunctionSecret404Response - | WebAppsDeleteFunctionSecretdefaultResponse + | WebAppsDeleteFunctionSecretDefaultResponse >; } @@ -5119,53 +5205,55 @@ export interface WebAppsListFunctionKeys { /** Get function keys for a function in a web site, or a deployment slot. */ post( options?: WebAppsListFunctionKeysParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListFunctionSecrets { /** Get function secrets for a function in a web site, or a deployment slot. */ post( options?: WebAppsListFunctionSecretsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListFunctionSecrets200Response | WebAppsListFunctionSecretsDefaultResponse + >; } export interface WebAppsListHostKeys { /** Get host secrets for a function app. */ post( options?: WebAppsListHostKeysParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSyncStatus { /** This is to allow calling via powershell and ARM template. */ post( options?: WebAppsListSyncStatusParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsSyncFunctions { /** Syncs function trigger metadata to the management database */ post( options?: WebAppsSyncFunctionsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsCreateOrUpdateHostSecret { /** Add or update a host level secret. */ put( options: WebAppsCreateOrUpdateHostSecretParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHostSecret200Response | WebAppsCreateOrUpdateHostSecret201Response - | WebAppsCreateOrUpdateHostSecretdefaultResponse + | WebAppsCreateOrUpdateHostSecretDefaultResponse >; /** Delete a host level secret. */ delete( options?: WebAppsDeleteHostSecretParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHostSecret204Response | WebAppsDeleteHostSecret404Response - | WebAppsDeleteHostSecretdefaultResponse + | WebAppsDeleteHostSecretDefaultResponse >; } @@ -5173,28 +5261,32 @@ export interface WebAppsListHostNameBindings { /** Get hostname bindings for an app or a deployment slot. */ get( options?: WebAppsListHostNameBindingsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListHostNameBindings200Response | WebAppsListHostNameBindingsDefaultResponse + >; } export interface WebAppsGetHostNameBinding { /** Get the named hostname binding for an app (or deployment slot, if specified). */ get( options?: WebAppsGetHostNameBindingParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetHostNameBinding200Response | WebAppsGetHostNameBindingDefaultResponse + >; /** Creates a hostname binding for an app. */ put( options: WebAppsCreateOrUpdateHostNameBindingParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHostNameBinding200Response - | WebAppsCreateOrUpdateHostNameBindingdefaultResponse + | WebAppsCreateOrUpdateHostNameBindingDefaultResponse >; /** Deletes a hostname binding for an app. */ delete( options?: WebAppsDeleteHostNameBindingParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHostNameBinding200Response | WebAppsDeleteHostNameBinding204Response - | WebAppsDeleteHostNameBindingdefaultResponse + | WebAppsDeleteHostNameBindingDefaultResponse >; } @@ -5202,27 +5294,29 @@ export interface WebAppsGetHybridConnection { /** Retrieves a specific Service Bus Hybrid Connection used by this Web App. */ get( options?: WebAppsGetHybridConnectionParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetHybridConnection200Response | WebAppsGetHybridConnectionDefaultResponse + >; /** Creates a new Hybrid Connection using a Service Bus relay. */ put( options: WebAppsCreateOrUpdateHybridConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHybridConnection200Response - | WebAppsCreateOrUpdateHybridConnectiondefaultResponse + | WebAppsCreateOrUpdateHybridConnectionDefaultResponse >; /** Removes a Hybrid Connection from this site. */ delete( options?: WebAppsDeleteHybridConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHybridConnection200Response | WebAppsDeleteHybridConnection404Response - | WebAppsDeleteHybridConnectiondefaultResponse + | WebAppsDeleteHybridConnectionDefaultResponse >; /** Creates a new Hybrid Connection using a Service Bus relay. */ patch( options: WebAppsUpdateHybridConnectionParameters, - ): Promise< - WebAppsUpdateHybridConnection200Response | WebAppsUpdateHybridConnectiondefaultResponse + ): StreamableMethod< + WebAppsUpdateHybridConnection200Response | WebAppsUpdateHybridConnectionDefaultResponse >; } @@ -5230,16 +5324,18 @@ export interface WebAppsListHybridConnections { /** Retrieves all Service Bus Hybrid Connections used by this Web App. */ get( options?: WebAppsListHybridConnectionsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListHybridConnections200Response | WebAppsListHybridConnectionsDefaultResponse + >; } export interface WebAppsListRelayServiceConnections { /** Gets hybrid connections configured for an app (or deployment slot, if specified). */ get( options?: WebAppsListRelayServiceConnectionsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListRelayServiceConnections200Response - | WebAppsListRelayServiceConnectionsdefaultResponse + | WebAppsListRelayServiceConnectionsDefaultResponse >; } @@ -5247,30 +5343,30 @@ export interface WebAppsGetRelayServiceConnection { /** Gets a hybrid connection configuration by its name. */ get( options?: WebAppsGetRelayServiceConnectionParameters, - ): Promise< - WebAppsGetRelayServiceConnection200Response | WebAppsGetRelayServiceConnectiondefaultResponse + ): StreamableMethod< + WebAppsGetRelayServiceConnection200Response | WebAppsGetRelayServiceConnectionDefaultResponse >; /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ put( options: WebAppsCreateOrUpdateRelayServiceConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateRelayServiceConnection200Response - | WebAppsCreateOrUpdateRelayServiceConnectiondefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse >; /** Deletes a relay service connection by its name. */ delete( options?: WebAppsDeleteRelayServiceConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteRelayServiceConnection200Response | WebAppsDeleteRelayServiceConnection404Response - | WebAppsDeleteRelayServiceConnectiondefaultResponse + | WebAppsDeleteRelayServiceConnectionDefaultResponse >; /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ patch( options: WebAppsUpdateRelayServiceConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateRelayServiceConnection200Response - | WebAppsUpdateRelayServiceConnectiondefaultResponse + | WebAppsUpdateRelayServiceConnectionDefaultResponse >; } @@ -5278,8 +5374,8 @@ export interface WebAppsListInstanceIdentifiers { /** Gets all scale-out instances of an app. */ get( options?: WebAppsListInstanceIdentifiersParameters, - ): Promise< - WebAppsListInstanceIdentifiers200Response | WebAppsListInstanceIdentifiersdefaultResponse + ): StreamableMethod< + WebAppsListInstanceIdentifiers200Response | WebAppsListInstanceIdentifiersDefaultResponse >; } @@ -5287,23 +5383,23 @@ export interface WebAppsGetInstanceInfo { /** Gets all scale-out instances of an app. */ get( options?: WebAppsGetInstanceInfoParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetInstanceMsDeployStatus { /** Get the status of the last MSDeploy operation. */ get( options?: WebAppsGetInstanceMsDeployStatusParameters, - ): Promise< - WebAppsGetInstanceMsDeployStatus200Response | WebAppsGetInstanceMsDeployStatusdefaultResponse + ): StreamableMethod< + WebAppsGetInstanceMsDeployStatus200Response | WebAppsGetInstanceMsDeployStatusDefaultResponse >; /** Invoke the MSDeploy web app extension. */ put( options: WebAppsCreateInstanceMSDeployOperationParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateInstanceMSDeployOperation201Response | WebAppsCreateInstanceMSDeployOperation409Response - | WebAppsCreateInstanceMSDeployOperationdefaultResponse + | WebAppsCreateInstanceMSDeployOperationDefaultResponse >; } @@ -5311,10 +5407,10 @@ export interface WebAppsGetInstanceMSDeployLog { /** Get the MSDeploy Log for the last MSDeploy operation. */ get( options?: WebAppsGetInstanceMSDeployLogParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceMSDeployLog200Response | WebAppsGetInstanceMSDeployLog404Response - | WebAppsGetInstanceMSDeployLogdefaultResponse + | WebAppsGetInstanceMSDeployLogDefaultResponse >; } @@ -5322,10 +5418,10 @@ export interface WebAppsListInstanceProcesses { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcesses200Response | WebAppsListInstanceProcesses404Response - | WebAppsListInstanceProcessesdefaultResponse + | WebAppsListInstanceProcessesDefaultResponse >; } @@ -5333,18 +5429,18 @@ export interface WebAppsGetInstanceProcess { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcess200Response | WebAppsGetInstanceProcess404Response - | WebAppsGetInstanceProcessdefaultResponse + | WebAppsGetInstanceProcessDefaultResponse >; /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ delete( options?: WebAppsDeleteInstanceProcessParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteInstanceProcess204Response | WebAppsDeleteInstanceProcess404Response - | WebAppsDeleteInstanceProcessdefaultResponse + | WebAppsDeleteInstanceProcessDefaultResponse >; } @@ -5352,10 +5448,10 @@ export interface WebAppsGetInstanceProcessDump { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessDumpParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcessDump200Response | WebAppsGetInstanceProcessDump404Response - | WebAppsGetInstanceProcessDumpdefaultResponse + | WebAppsGetInstanceProcessDumpDefaultResponse >; } @@ -5363,10 +5459,10 @@ export interface WebAppsListInstanceProcessModules { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessModulesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcessModules200Response | WebAppsListInstanceProcessModules404Response - | WebAppsListInstanceProcessModulesdefaultResponse + | WebAppsListInstanceProcessModulesDefaultResponse >; } @@ -5374,10 +5470,10 @@ export interface WebAppsGetInstanceProcessModule { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessModuleParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcessModule200Response | WebAppsGetInstanceProcessModule404Response - | WebAppsGetInstanceProcessModuledefaultResponse + | WebAppsGetInstanceProcessModuleDefaultResponse >; } @@ -5385,10 +5481,10 @@ export interface WebAppsListInstanceProcessThreads { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessThreadsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcessThreads200Response | WebAppsListInstanceProcessThreads404Response - | WebAppsListInstanceProcessThreadsdefaultResponse + | WebAppsListInstanceProcessThreadsDefaultResponse >; } @@ -5396,22 +5492,22 @@ export interface WebAppsIsCloneable { /** Shows whether an app can be cloned to another resource group or subscription. */ post( options?: WebAppsIsCloneableParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSiteBackups { /** Gets existing backups of an app. */ post( options?: WebAppsListSiteBackupsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSyncFunctionTriggers { /** This is to allow calling via powershell and ARM template. */ post( options?: WebAppsListSyncFunctionTriggersParameters, - ): Promise< - WebAppsListSyncFunctionTriggers200Response | WebAppsListSyncFunctionTriggersdefaultResponse + ): StreamableMethod< + WebAppsListSyncFunctionTriggers200Response | WebAppsListSyncFunctionTriggersDefaultResponse >; } @@ -5419,30 +5515,32 @@ export interface WebAppsMigrateStorage { /** Restores a web app. */ put( options: WebAppsMigrateStorageParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsMigrateMySql { /** Migrates a local (in-app) MySql database to a remote MySql database. */ post( options: WebAppsMigrateMySqlParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetMigrateMySqlStatus { /** Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled */ get( options?: WebAppsGetMigrateMySqlStatusParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetMigrateMySqlStatus200Response | WebAppsGetMigrateMySqlStatusDefaultResponse + >; } export interface WebAppsGetSwiftVirtualNetworkConnection { /** Gets a Swift Virtual Network connection. */ get( options?: WebAppsGetSwiftVirtualNetworkConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSwiftVirtualNetworkConnection200Response - | WebAppsGetSwiftVirtualNetworkConnectiondefaultResponse + | WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse >; /** * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not @@ -5450,17 +5548,17 @@ export interface WebAppsGetSwiftVirtualNetworkConnection { */ put( options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response - | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse >; /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ delete( options?: WebAppsDeleteSwiftVirtualNetworkParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSwiftVirtualNetwork200Response | WebAppsDeleteSwiftVirtualNetwork404Response - | WebAppsDeleteSwiftVirtualNetworkdefaultResponse + | WebAppsDeleteSwiftVirtualNetworkDefaultResponse >; /** * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not @@ -5468,9 +5566,9 @@ export interface WebAppsGetSwiftVirtualNetworkConnection { */ patch( options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response - | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse >; } @@ -5478,10 +5576,10 @@ export interface WebAppsListNetworkFeatures { /** Gets all network features used by the app (or deployment slot, if specified). */ get( options?: WebAppsListNetworkFeaturesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListNetworkFeatures200Response | WebAppsListNetworkFeatures404Response - | WebAppsListNetworkFeaturesdefaultResponse + | WebAppsListNetworkFeaturesDefaultResponse >; } @@ -5489,10 +5587,10 @@ export interface WebAppsGetNetworkTraceOperation { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTraceOperationParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetNetworkTraceOperation200Response | WebAppsGetNetworkTraceOperation202Response - | WebAppsGetNetworkTraceOperationdefaultResponse + | WebAppsGetNetworkTraceOperationDefaultResponse >; } @@ -5500,8 +5598,8 @@ export interface WebAppsStartWebSiteNetworkTrace { /** Start capturing network packets for the site (To be deprecated). */ post( options?: WebAppsStartWebSiteNetworkTraceParameters, - ): Promise< - WebAppsStartWebSiteNetworkTrace200Response | WebAppsStartWebSiteNetworkTracedefaultResponse + ): StreamableMethod< + WebAppsStartWebSiteNetworkTrace200Response | WebAppsStartWebSiteNetworkTraceDefaultResponse >; } @@ -5509,10 +5607,10 @@ export interface WebAppsStartWebSiteNetworkTraceOperation { /** Start capturing network packets for the site. */ post( options?: WebAppsStartWebSiteNetworkTraceOperationParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartWebSiteNetworkTraceOperation200Response | WebAppsStartWebSiteNetworkTraceOperation202Response - | WebAppsStartWebSiteNetworkTraceOperationdefaultResponse + | WebAppsStartWebSiteNetworkTraceOperationDefaultResponse >; } @@ -5520,10 +5618,10 @@ export interface WebAppsStopWebSiteNetworkTrace { /** Stop ongoing capturing network packets for the site. */ post( options?: WebAppsStopWebSiteNetworkTraceParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopWebSiteNetworkTrace200Response | WebAppsStopWebSiteNetworkTrace204Response - | WebAppsStopWebSiteNetworkTracedefaultResponse + | WebAppsStopWebSiteNetworkTraceDefaultResponse >; } @@ -5531,17 +5629,17 @@ export interface WebAppsGetNetworkTraces { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTracesParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetNetworkTraceOperationV2 { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTraceOperationV2Parameters, - ): Promise< + ): StreamableMethod< | WebAppsGetNetworkTraceOperationV2200Response | WebAppsGetNetworkTraceOperationV2202Response - | WebAppsGetNetworkTraceOperationV2defaultResponse + | WebAppsGetNetworkTraceOperationV2DefaultResponse >; } @@ -5549,17 +5647,19 @@ export interface WebAppsGetNetworkTracesV2 { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTracesV2Parameters, - ): Promise; + ): StreamableMethod< + WebAppsGetNetworkTracesV2200Response | WebAppsGetNetworkTracesV2DefaultResponse + >; } export interface WebAppsGenerateNewSitePublishingPassword { /** Generates a new publishing password for an app (or deployment slot, if specified). */ post( options?: WebAppsGenerateNewSitePublishingPasswordParameters, - ): Promise< + ): StreamableMethod< | WebAppsGenerateNewSitePublishingPassword200Response | WebAppsGenerateNewSitePublishingPassword204Response - | WebAppsGenerateNewSitePublishingPassworddefaultResponse + | WebAppsGenerateNewSitePublishingPasswordDefaultResponse >; } @@ -5567,15 +5667,17 @@ export interface WebAppsListPerfMonCounters { /** Gets perfmon counters for web app. */ get( options?: WebAppsListPerfMonCountersParameters, - ): Promise; + ): StreamableMethod< + WebAppsListPerfMonCounters200Response | WebAppsListPerfMonCountersDefaultResponse + >; } export interface WebAppsGetSitePhpErrorLogFlag { /** Gets web app's event logs. */ get( options?: WebAppsGetSitePhpErrorLogFlagParameters, - ): Promise< - WebAppsGetSitePhpErrorLogFlag200Response | WebAppsGetSitePhpErrorLogFlagdefaultResponse + ): StreamableMethod< + WebAppsGetSitePhpErrorLogFlag200Response | WebAppsGetSitePhpErrorLogFlagDefaultResponse >; } @@ -5583,46 +5685,54 @@ export interface WebAppsListPremierAddOns { /** Gets the premier add-ons of an app. */ get( options?: WebAppsListPremierAddOnsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListPremierAddOns200Response | WebAppsListPremierAddOnsDefaultResponse + >; } export interface WebAppsGetPremierAddOn { /** Gets a named add-on of an app. */ get( options?: WebAppsGetPremierAddOnParameters, - ): Promise; + ): StreamableMethod; /** Updates a named add-on of an app. */ put( options: WebAppsAddPremierAddOnParameters, - ): Promise; + ): StreamableMethod; /** Delete a premier add-on from an app. */ delete( options?: WebAppsDeletePremierAddOnParameters, - ): Promise; + ): StreamableMethod< + WebAppsDeletePremierAddOn200Response | WebAppsDeletePremierAddOnDefaultResponse + >; /** Updates a named add-on of an app. */ patch( options: WebAppsUpdatePremierAddOnParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdatePremierAddOn200Response | WebAppsUpdatePremierAddOnDefaultResponse + >; } export interface WebAppsGetPrivateAccess { /** Gets data around private site access enablement and authorized Virtual Networks that can access the site. */ get( options?: WebAppsGetPrivateAccessParameters, - ): Promise; + ): StreamableMethod; /** Sets data around private site access enablement and authorized Virtual Networks that can access the site. */ put( options: WebAppsPutPrivateAccessVnetParameters, - ): Promise; + ): StreamableMethod< + WebAppsPutPrivateAccessVnet200Response | WebAppsPutPrivateAccessVnetDefaultResponse + >; } export interface WebAppsGetPrivateEndpointConnectionList { /** Gets the list of private endpoint connections associated with a site */ get( options?: WebAppsGetPrivateEndpointConnectionListParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetPrivateEndpointConnectionList200Response - | WebAppsGetPrivateEndpointConnectionListdefaultResponse + | WebAppsGetPrivateEndpointConnectionListDefaultResponse >; } @@ -5630,26 +5740,26 @@ export interface WebAppsGetPrivateEndpointConnection { /** Gets a private endpoint connection */ get( options?: WebAppsGetPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetPrivateEndpointConnection200Response - | WebAppsGetPrivateEndpointConnectiondefaultResponse + | WebAppsGetPrivateEndpointConnectionDefaultResponse >; /** Approves or rejects a private endpoint connection */ put( options: WebAppsApproveOrRejectPrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsApproveOrRejectPrivateEndpointConnection200Response | WebAppsApproveOrRejectPrivateEndpointConnection202Response - | WebAppsApproveOrRejectPrivateEndpointConnectiondefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse >; /** Deletes a private endpoint connection */ delete( options?: WebAppsDeletePrivateEndpointConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeletePrivateEndpointConnection200Response | WebAppsDeletePrivateEndpointConnection202Response | WebAppsDeletePrivateEndpointConnection204Response - | WebAppsDeletePrivateEndpointConnectiondefaultResponse + | WebAppsDeletePrivateEndpointConnectionDefaultResponse >; } @@ -5657,8 +5767,8 @@ export interface WebAppsGetPrivateLinkResources { /** Gets the private link resources */ get( options?: WebAppsGetPrivateLinkResourcesParameters, - ): Promise< - WebAppsGetPrivateLinkResources200Response | WebAppsGetPrivateLinkResourcesdefaultResponse + ): StreamableMethod< + WebAppsGetPrivateLinkResources200Response | WebAppsGetPrivateLinkResourcesDefaultResponse >; } @@ -5666,10 +5776,10 @@ export interface WebAppsListProcesses { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcesses200Response | WebAppsListProcesses404Response - | WebAppsListProcessesdefaultResponse + | WebAppsListProcessesDefaultResponse >; } @@ -5677,16 +5787,16 @@ export interface WebAppsGetProcess { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessParameters, - ): Promise< - WebAppsGetProcess200Response | WebAppsGetProcess404Response | WebAppsGetProcessdefaultResponse + ): StreamableMethod< + WebAppsGetProcess200Response | WebAppsGetProcess404Response | WebAppsGetProcessDefaultResponse >; /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ delete( options?: WebAppsDeleteProcessParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteProcess204Response | WebAppsDeleteProcess404Response - | WebAppsDeleteProcessdefaultResponse + | WebAppsDeleteProcessDefaultResponse >; } @@ -5694,10 +5804,10 @@ export interface WebAppsGetProcessDump { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessDumpParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetProcessDump200Response | WebAppsGetProcessDump404Response - | WebAppsGetProcessDumpdefaultResponse + | WebAppsGetProcessDumpDefaultResponse >; } @@ -5705,10 +5815,10 @@ export interface WebAppsListProcessModules { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessModulesParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcessModules200Response | WebAppsListProcessModules404Response - | WebAppsListProcessModulesdefaultResponse + | WebAppsListProcessModulesDefaultResponse >; } @@ -5716,10 +5826,10 @@ export interface WebAppsGetProcessModule { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessModuleParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetProcessModule200Response | WebAppsGetProcessModule404Response - | WebAppsGetProcessModuledefaultResponse + | WebAppsGetProcessModuleDefaultResponse >; } @@ -5727,10 +5837,10 @@ export interface WebAppsListProcessThreads { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessThreadsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcessThreads200Response | WebAppsListProcessThreads404Response - | WebAppsListProcessThreadsdefaultResponse + | WebAppsListProcessThreadsDefaultResponse >; } @@ -5738,8 +5848,8 @@ export interface WebAppsListPublicCertificates { /** Get public certificates for an app or a deployment slot. */ get( options?: WebAppsListPublicCertificatesParameters, - ): Promise< - WebAppsListPublicCertificates200Response | WebAppsListPublicCertificatesdefaultResponse + ): StreamableMethod< + WebAppsListPublicCertificates200Response | WebAppsListPublicCertificatesDefaultResponse >; } @@ -5747,21 +5857,23 @@ export interface WebAppsGetPublicCertificate { /** Get the named public certificate for an app (or deployment slot, if specified). */ get( options?: WebAppsGetPublicCertificateParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetPublicCertificate200Response | WebAppsGetPublicCertificateDefaultResponse + >; /** Creates a hostname binding for an app. */ put( options: WebAppsCreateOrUpdatePublicCertificateParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdatePublicCertificate200Response - | WebAppsCreateOrUpdatePublicCertificatedefaultResponse + | WebAppsCreateOrUpdatePublicCertificateDefaultResponse >; /** Deletes a hostname binding for an app. */ delete( options?: WebAppsDeletePublicCertificateParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeletePublicCertificate200Response | WebAppsDeletePublicCertificate204Response - | WebAppsDeletePublicCertificatedefaultResponse + | WebAppsDeletePublicCertificateDefaultResponse >; } @@ -5769,9 +5881,9 @@ export interface WebAppsListPublishingProfileXmlWithSecrets { /** Gets the publishing profile for an app (or deployment slot, if specified). */ post( options: WebAppsListPublishingProfileXmlWithSecretsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListPublishingProfileXmlWithSecrets200Response - | WebAppsListPublishingProfileXmlWithSecretsdefaultResponse + | WebAppsListPublishingProfileXmlWithSecretsDefaultResponse >; } @@ -5779,8 +5891,8 @@ export interface WebAppsResetProductionSlotConfig { /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ post( options?: WebAppsResetProductionSlotConfigParameters, - ): Promise< - WebAppsResetProductionSlotConfig200Response | WebAppsResetProductionSlotConfigdefaultResponse + ): StreamableMethod< + WebAppsResetProductionSlotConfig200Response | WebAppsResetProductionSlotConfigDefaultResponse >; } @@ -5788,17 +5900,17 @@ export interface WebAppsRestart { /** Restarts an app (or deployment slot, if specified). */ post( options?: WebAppsRestartParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsRestoreFromBackupBlob { /** Restores an app from a backup blob in Azure Storage. */ post( options: WebAppsRestoreFromBackupBlobParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreFromBackupBlob200Response | WebAppsRestoreFromBackupBlob202Response - | WebAppsRestoreFromBackupBlobdefaultResponse + | WebAppsRestoreFromBackupBlobDefaultResponse >; } @@ -5806,10 +5918,10 @@ export interface WebAppsRestoreFromDeletedApp { /** Restores a deleted web app to this web app. */ post( options: WebAppsRestoreFromDeletedAppParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreFromDeletedApp200Response | WebAppsRestoreFromDeletedApp202Response - | WebAppsRestoreFromDeletedAppdefaultResponse + | WebAppsRestoreFromDeletedAppDefaultResponse >; } @@ -5817,10 +5929,10 @@ export interface WebAppsRestoreSnapshot { /** Restores a web app from a snapshot. */ post( options: WebAppsRestoreSnapshotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreSnapshot200Response | WebAppsRestoreSnapshot202Response - | WebAppsRestoreSnapshotdefaultResponse + | WebAppsRestoreSnapshotDefaultResponse >; } @@ -5828,10 +5940,10 @@ export interface WebAppsListSiteExtensions { /** Get list of siteextensions for a web site, or a deployment slot. */ get( options?: WebAppsListSiteExtensionsParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSiteExtensions200Response | WebAppsListSiteExtensions404Response - | WebAppsListSiteExtensionsdefaultResponse + | WebAppsListSiteExtensionsDefaultResponse >; } @@ -5839,27 +5951,27 @@ export interface WebAppsGetSiteExtension { /** Get site extension information by its ID for a web site, or a deployment slot. */ get( options?: WebAppsGetSiteExtensionParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteExtension200Response | WebAppsGetSiteExtension404Response - | WebAppsGetSiteExtensiondefaultResponse + | WebAppsGetSiteExtensionDefaultResponse >; /** Install site extension on a web site, or a deployment slot. */ put( options?: WebAppsInstallSiteExtensionParameters, - ): Promise< + ): StreamableMethod< | WebAppsInstallSiteExtension200Response | WebAppsInstallSiteExtension201Response | WebAppsInstallSiteExtension429Response - | WebAppsInstallSiteExtensiondefaultResponse + | WebAppsInstallSiteExtensionDefaultResponse >; /** Remove a site extension from a web site, or a deployment slot. */ delete( options?: WebAppsDeleteSiteExtensionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSiteExtension204Response | WebAppsDeleteSiteExtension404Response - | WebAppsDeleteSiteExtensiondefaultResponse + | WebAppsDeleteSiteExtensionDefaultResponse >; } @@ -5867,36 +5979,38 @@ export interface WebAppsListSlots { /** Gets an app's deployment slots. */ get( options?: WebAppsListSlotsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetSlot { /** Gets the details of a web, mobile, or API app. */ get( options?: WebAppsGetSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetSlot200Response | WebAppsGetSlot404Response | WebAppsGetSlotDefaultResponse + >; /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ put( options: WebAppsCreateOrUpdateSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateSlot200Response | WebAppsCreateOrUpdateSlot202Response - | WebAppsCreateOrUpdateSlotdefaultResponse + | WebAppsCreateOrUpdateSlotDefaultResponse >; /** Deletes a web, mobile, or API app, or one of the deployment slots. */ delete( options?: WebAppsDeleteSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSlot200Response | WebAppsDeleteSlot204Response | WebAppsDeleteSlot404Response - | WebAppsDeleteSlotdefaultResponse + | WebAppsDeleteSlotDefaultResponse >; /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ patch( options: WebAppsUpdateSlotParameters, - ): Promise< - WebAppsUpdateSlot200Response | WebAppsUpdateSlot202Response | WebAppsUpdateSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateSlot200Response | WebAppsUpdateSlot202Response | WebAppsUpdateSlotDefaultResponse >; } @@ -5904,8 +6018,8 @@ export interface WebAppsAnalyzeCustomHostnameSlot { /** Analyze a custom hostname. */ get( options?: WebAppsAnalyzeCustomHostnameSlotParameters, - ): Promise< - WebAppsAnalyzeCustomHostnameSlot200Response | WebAppsAnalyzeCustomHostnameSlotdefaultResponse + ): StreamableMethod< + WebAppsAnalyzeCustomHostnameSlot200Response | WebAppsAnalyzeCustomHostnameSlotDefaultResponse >; } @@ -5913,8 +6027,8 @@ export interface WebAppsApplySlotConfigurationSlot { /** Applies the configuration settings from the target slot onto the current slot. */ post( options: WebAppsApplySlotConfigurationSlotParameters, - ): Promise< - WebAppsApplySlotConfigurationSlot200Response | WebAppsApplySlotConfigurationSlotdefaultResponse + ): StreamableMethod< + WebAppsApplySlotConfigurationSlot200Response | WebAppsApplySlotConfigurationSlotDefaultResponse >; } @@ -5922,28 +6036,30 @@ export interface WebAppsBackupSlot { /** Creates a backup of an app. */ post( options: WebAppsBackupSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListBackupsSlot { /** Gets existing backups of an app. */ get( options?: WebAppsListBackupsSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetBackupStatusSlot { /** Gets a backup of an app by its ID. */ get( options?: WebAppsGetBackupStatusSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetBackupStatusSlot200Response | WebAppsGetBackupStatusSlotDefaultResponse + >; /** Deletes a backup of an app by its ID. */ delete( options?: WebAppsDeleteBackupSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteBackupSlot200Response | WebAppsDeleteBackupSlot404Response - | WebAppsDeleteBackupSlotdefaultResponse + | WebAppsDeleteBackupSlotDefaultResponse >; } @@ -5951,9 +6067,9 @@ export interface WebAppsListBackupStatusSecretsSlot { /** 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. */ post( options: WebAppsListBackupStatusSecretsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListBackupStatusSecretsSlot200Response - | WebAppsListBackupStatusSecretsSlotdefaultResponse + | WebAppsListBackupStatusSecretsSlotDefaultResponse >; } @@ -5961,10 +6077,10 @@ export interface WebAppsRestoreSlot { /** Restores a specific backup to another app (or deployment slot, if specified). */ post( options: WebAppsRestoreSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreSlot200Response | WebAppsRestoreSlot202Response - | WebAppsRestoreSlotdefaultResponse + | WebAppsRestoreSlotDefaultResponse >; } @@ -5972,9 +6088,9 @@ export interface WebAppsListBasicPublishingCredentialsPoliciesSlot { /** Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. */ get( options?: WebAppsListBasicPublishingCredentialsPoliciesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListBasicPublishingCredentialsPoliciesSlot200Response - | WebAppsListBasicPublishingCredentialsPoliciesSlotdefaultResponse + | WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse >; } @@ -5982,30 +6098,38 @@ export interface WebAppsGetFtpAllowedSlot { /** Returns whether FTP is allowed on the site or not. */ get( options?: WebAppsGetFtpAllowedSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetFtpAllowedSlot200Response | WebAppsGetFtpAllowedSlotDefaultResponse + >; /** Updates whether FTP is allowed on the site or not. */ put( options: WebAppsUpdateFtpAllowedSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateFtpAllowedSlot200Response | WebAppsUpdateFtpAllowedSlotDefaultResponse + >; } export interface WebAppsGetScmAllowedSlot { /** Returns whether Scm basic auth is allowed on the site or not. */ get( options?: WebAppsGetScmAllowedSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetScmAllowedSlot200Response | WebAppsGetScmAllowedSlotDefaultResponse + >; /** Updates whether user publishing credentials are allowed on the site or not. */ put( options: WebAppsUpdateScmAllowedSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateScmAllowedSlot200Response | WebAppsUpdateScmAllowedSlotDefaultResponse + >; } export interface WebAppsListConfigurationsSlot { /** List the configurations of an app */ get( options?: WebAppsListConfigurationsSlotParameters, - ): Promise< - WebAppsListConfigurationsSlot200Response | WebAppsListConfigurationsSlotdefaultResponse + ): StreamableMethod< + WebAppsListConfigurationsSlot200Response | WebAppsListConfigurationsSlotDefaultResponse >; } @@ -6013,9 +6137,9 @@ export interface WebAppsUpdateApplicationSettingsSlot { /** Replaces the application settings of an app. */ put( options: WebAppsUpdateApplicationSettingsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateApplicationSettingsSlot200Response - | WebAppsUpdateApplicationSettingsSlotdefaultResponse + | WebAppsUpdateApplicationSettingsSlotDefaultResponse >; } @@ -6023,9 +6147,9 @@ export interface WebAppsListApplicationSettingsSlot { /** Gets the application settings of an app. */ post( options?: WebAppsListApplicationSettingsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListApplicationSettingsSlot200Response - | WebAppsListApplicationSettingsSlotdefaultResponse + | WebAppsListApplicationSettingsSlotDefaultResponse >; } @@ -6033,8 +6157,8 @@ export interface WebAppsUpdateAuthSettingsSlot { /** Updates the Authentication / Authorization settings associated with web app. */ put( options: WebAppsUpdateAuthSettingsSlotParameters, - ): Promise< - WebAppsUpdateAuthSettingsSlot200Response | WebAppsUpdateAuthSettingsSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateAuthSettingsSlot200Response | WebAppsUpdateAuthSettingsSlotDefaultResponse >; } @@ -6042,22 +6166,24 @@ export interface WebAppsGetAuthSettingsSlot { /** Gets the Authentication/Authorization settings of an app. */ post( options?: WebAppsGetAuthSettingsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetAuthSettingsSlot200Response | WebAppsGetAuthSettingsSlotDefaultResponse + >; } export interface WebAppsGetAuthSettingsV2WithoutSecretsSlot { /** Gets site's Authentication / Authorization settings for apps via the V2 format */ get( options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response - | WebAppsGetAuthSettingsV2WithoutSecretsSlotdefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse >; /** Updates site's Authentication / Authorization settings for apps via the V2 format */ put( options: WebAppsUpdateAuthSettingsV2SlotParameters, - ): Promise< - WebAppsUpdateAuthSettingsV2Slot200Response | WebAppsUpdateAuthSettingsV2SlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateAuthSettingsV2Slot200Response | WebAppsUpdateAuthSettingsV2SlotDefaultResponse >; } @@ -6065,16 +6191,18 @@ export interface WebAppsGetAuthSettingsV2Slot { /** Gets site's Authentication / Authorization settings for apps via the V2 format */ get( options?: WebAppsGetAuthSettingsV2SlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetAuthSettingsV2Slot200Response | WebAppsGetAuthSettingsV2SlotDefaultResponse + >; } export interface WebAppsUpdateAzureStorageAccountsSlot { /** Updates the Azure storage account configurations of an app. */ put( options: WebAppsUpdateAzureStorageAccountsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateAzureStorageAccountsSlot200Response - | WebAppsUpdateAzureStorageAccountsSlotdefaultResponse + | WebAppsUpdateAzureStorageAccountsSlotDefaultResponse >; } @@ -6082,9 +6210,9 @@ export interface WebAppsListAzureStorageAccountsSlot { /** Gets the Azure storage account configurations of an app. */ post( options?: WebAppsListAzureStorageAccountsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListAzureStorageAccountsSlot200Response - | WebAppsListAzureStorageAccountsSlotdefaultResponse + | WebAppsListAzureStorageAccountsSlotDefaultResponse >; } @@ -6092,16 +6220,16 @@ export interface WebAppsUpdateBackupConfigurationSlot { /** Updates the backup configuration of an app. */ put( options: WebAppsUpdateBackupConfigurationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateBackupConfigurationSlot200Response - | WebAppsUpdateBackupConfigurationSlotdefaultResponse + | WebAppsUpdateBackupConfigurationSlotDefaultResponse >; /** Deletes the backup configuration of an app. */ delete( options?: WebAppsDeleteBackupConfigurationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteBackupConfigurationSlot200Response - | WebAppsDeleteBackupConfigurationSlotdefaultResponse + | WebAppsDeleteBackupConfigurationSlotDefaultResponse >; } @@ -6109,8 +6237,8 @@ export interface WebAppsGetBackupConfigurationSlot { /** Gets the backup configuration of an app. */ post( options?: WebAppsGetBackupConfigurationSlotParameters, - ): Promise< - WebAppsGetBackupConfigurationSlot200Response | WebAppsGetBackupConfigurationSlotdefaultResponse + ): StreamableMethod< + WebAppsGetBackupConfigurationSlot200Response | WebAppsGetBackupConfigurationSlotDefaultResponse >; } @@ -6118,9 +6246,9 @@ export interface WebAppsGetAppSettingsKeyVaultReferencesSlot { /** Gets the config reference app settings and status of an app */ get( options?: WebAppsGetAppSettingsKeyVaultReferencesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAppSettingsKeyVaultReferencesSlot200Response - | WebAppsGetAppSettingsKeyVaultReferencesSlotdefaultResponse + | WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse >; } @@ -6128,9 +6256,9 @@ export interface WebAppsGetAppSettingKeyVaultReferenceSlot { /** Gets the config reference and status of an app */ get( options?: WebAppsGetAppSettingKeyVaultReferenceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetAppSettingKeyVaultReferenceSlot200Response - | WebAppsGetAppSettingKeyVaultReferenceSlotdefaultResponse + | WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse >; } @@ -6138,9 +6266,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlot { /** Gets the config reference app settings and status of an app */ get( options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response - | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotdefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse >; } @@ -6148,9 +6276,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlot { /** Gets the config reference and status of an app */ get( options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response - | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotdefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse >; } @@ -6158,9 +6286,9 @@ export interface WebAppsUpdateConnectionStringsSlot { /** Replaces the connection strings of an app. */ put( options: WebAppsUpdateConnectionStringsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateConnectionStringsSlot200Response - | WebAppsUpdateConnectionStringsSlotdefaultResponse + | WebAppsUpdateConnectionStringsSlotDefaultResponse >; } @@ -6168,8 +6296,8 @@ export interface WebAppsListConnectionStringsSlot { /** Gets the connection strings of an app. */ post( options?: WebAppsListConnectionStringsSlotParameters, - ): Promise< - WebAppsListConnectionStringsSlot200Response | WebAppsListConnectionStringsSlotdefaultResponse + ): StreamableMethod< + WebAppsListConnectionStringsSlot200Response | WebAppsListConnectionStringsSlotDefaultResponse >; } @@ -6177,16 +6305,16 @@ export interface WebAppsGetDiagnosticLogsConfigurationSlot { /** Gets the logging configuration of an app. */ get( options?: WebAppsGetDiagnosticLogsConfigurationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetDiagnosticLogsConfigurationSlot200Response - | WebAppsGetDiagnosticLogsConfigurationSlotdefaultResponse + | WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse >; /** Updates the logging configuration of an app. */ put( options: WebAppsUpdateDiagnosticLogsConfigSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateDiagnosticLogsConfigSlot200Response - | WebAppsUpdateDiagnosticLogsConfigSlotdefaultResponse + | WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse >; } @@ -6194,23 +6322,25 @@ export interface WebAppsUpdateMetadataSlot { /** Replaces the metadata of an app. */ put( options: WebAppsUpdateMetadataSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateMetadataSlot200Response | WebAppsUpdateMetadataSlotDefaultResponse + >; } export interface WebAppsListMetadataSlot { /** Gets the metadata of an app. */ post( options?: WebAppsListMetadataSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListPublishingCredentialsSlot { /** Gets the Git/FTP publishing credentials of an app. */ post( options?: WebAppsListPublishingCredentialsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListPublishingCredentialsSlot200Response - | WebAppsListPublishingCredentialsSlotdefaultResponse + | WebAppsListPublishingCredentialsSlotDefaultResponse >; } @@ -6218,8 +6348,8 @@ export interface WebAppsUpdateSitePushSettingsSlot { /** Updates the Push settings associated with web app. */ put( options: WebAppsUpdateSitePushSettingsSlotParameters, - ): Promise< - WebAppsUpdateSitePushSettingsSlot200Response | WebAppsUpdateSitePushSettingsSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateSitePushSettingsSlot200Response | WebAppsUpdateSitePushSettingsSlotDefaultResponse >; } @@ -6227,8 +6357,8 @@ export interface WebAppsListSitePushSettingsSlot { /** Gets the Push settings associated with web app. */ post( options?: WebAppsListSitePushSettingsSlotParameters, - ): Promise< - WebAppsListSitePushSettingsSlot200Response | WebAppsListSitePushSettingsSlotdefaultResponse + ): StreamableMethod< + WebAppsListSitePushSettingsSlot200Response | WebAppsListSitePushSettingsSlotDefaultResponse >; } @@ -6236,19 +6366,21 @@ export interface WebAppsGetConfigurationSlot { /** Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. */ get( options?: WebAppsGetConfigurationSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetConfigurationSlot200Response | WebAppsGetConfigurationSlotDefaultResponse + >; /** Updates the configuration of an app. */ put( options: WebAppsCreateOrUpdateConfigurationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateConfigurationSlot200Response - | WebAppsCreateOrUpdateConfigurationSlotdefaultResponse + | WebAppsCreateOrUpdateConfigurationSlotDefaultResponse >; /** Updates the configuration of an app. */ patch( options: WebAppsUpdateConfigurationSlotParameters, - ): Promise< - WebAppsUpdateConfigurationSlot200Response | WebAppsUpdateConfigurationSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateConfigurationSlot200Response | WebAppsUpdateConfigurationSlotDefaultResponse >; } @@ -6256,9 +6388,9 @@ export interface WebAppsListConfigurationSnapshotInfoSlot { /** Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. */ get( options?: WebAppsListConfigurationSnapshotInfoSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListConfigurationSnapshotInfoSlot200Response - | WebAppsListConfigurationSnapshotInfoSlotdefaultResponse + | WebAppsListConfigurationSnapshotInfoSlotDefaultResponse >; } @@ -6266,9 +6398,9 @@ export interface WebAppsGetConfigurationSnapshotSlot { /** Gets a snapshot of the configuration of an app at a previous point in time. */ get( options?: WebAppsGetConfigurationSnapshotSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetConfigurationSnapshotSlot200Response - | WebAppsGetConfigurationSnapshotSlotdefaultResponse + | WebAppsGetConfigurationSnapshotSlotDefaultResponse >; } @@ -6276,9 +6408,9 @@ export interface WebAppsRecoverSiteConfigurationSnapshotSlot { /** Reverts the configuration of an app to a previous snapshot. */ post( options?: WebAppsRecoverSiteConfigurationSnapshotSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRecoverSiteConfigurationSnapshotSlot204Response - | WebAppsRecoverSiteConfigurationSnapshotSlotdefaultResponse + | WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse >; } @@ -6286,10 +6418,10 @@ export interface WebAppsGetWebSiteContainerLogsSlot { /** Gets the last lines of docker logs for the given site */ post( options?: WebAppsGetWebSiteContainerLogsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetWebSiteContainerLogsSlot200Response | WebAppsGetWebSiteContainerLogsSlot204Response - | WebAppsGetWebSiteContainerLogsSlotdefaultResponse + | WebAppsGetWebSiteContainerLogsSlotDefaultResponse >; } @@ -6297,10 +6429,10 @@ export interface WebAppsGetContainerLogsZipSlot { /** Gets the ZIP archived docker log files for the given site */ post( options?: WebAppsGetContainerLogsZipSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetContainerLogsZipSlot200Response | WebAppsGetContainerLogsZipSlot204Response - | WebAppsGetContainerLogsZipSlotdefaultResponse + | WebAppsGetContainerLogsZipSlotDefaultResponse >; } @@ -6308,8 +6440,8 @@ export interface WebAppsListContinuousWebJobsSlot { /** List continuous web jobs for an app, or a deployment slot. */ get( options?: WebAppsListContinuousWebJobsSlotParameters, - ): Promise< - WebAppsListContinuousWebJobsSlot200Response | WebAppsListContinuousWebJobsSlotdefaultResponse + ): StreamableMethod< + WebAppsListContinuousWebJobsSlot200Response | WebAppsListContinuousWebJobsSlotDefaultResponse >; } @@ -6317,18 +6449,18 @@ export interface WebAppsGetContinuousWebJobSlot { /** Gets a continuous web job by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetContinuousWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetContinuousWebJobSlot200Response | WebAppsGetContinuousWebJobSlot404Response - | WebAppsGetContinuousWebJobSlotdefaultResponse + | WebAppsGetContinuousWebJobSlotDefaultResponse >; /** Delete a continuous web job by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteContinuousWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteContinuousWebJobSlot200Response | WebAppsDeleteContinuousWebJobSlot204Response - | WebAppsDeleteContinuousWebJobSlotdefaultResponse + | WebAppsDeleteContinuousWebJobSlotDefaultResponse >; } @@ -6336,10 +6468,10 @@ export interface WebAppsStartContinuousWebJobSlot { /** Start a continuous web job for an app, or a deployment slot. */ post( options?: WebAppsStartContinuousWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartContinuousWebJobSlot200Response | WebAppsStartContinuousWebJobSlot404Response - | WebAppsStartContinuousWebJobSlotdefaultResponse + | WebAppsStartContinuousWebJobSlotDefaultResponse >; } @@ -6347,10 +6479,10 @@ export interface WebAppsStopContinuousWebJobSlot { /** Stop a continuous web job for an app, or a deployment slot. */ post( options?: WebAppsStopContinuousWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopContinuousWebJobSlot200Response | WebAppsStopContinuousWebJobSlot404Response - | WebAppsStopContinuousWebJobSlotdefaultResponse + | WebAppsStopContinuousWebJobSlotDefaultResponse >; } @@ -6358,25 +6490,31 @@ export interface WebAppsListDeploymentsSlot { /** List deployments for an app, or a deployment slot. */ get( options?: WebAppsListDeploymentsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListDeploymentsSlot200Response | WebAppsListDeploymentsSlotDefaultResponse + >; } export interface WebAppsGetDeploymentSlot { /** Get a deployment by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetDeploymentSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetDeploymentSlot200Response | WebAppsGetDeploymentSlotDefaultResponse + >; /** Create a deployment for an app, or a deployment slot. */ put( options: WebAppsCreateDeploymentSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsCreateDeploymentSlot200Response | WebAppsCreateDeploymentSlotDefaultResponse + >; /** Delete a deployment by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteDeploymentSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteDeploymentSlot200Response | WebAppsDeleteDeploymentSlot204Response - | WebAppsDeleteDeploymentSlotdefaultResponse + | WebAppsDeleteDeploymentSlotDefaultResponse >; } @@ -6384,23 +6522,27 @@ export interface WebAppsListDeploymentLogSlot { /** List deployment log for specific deployment for an app, or a deployment slot. */ get( options?: WebAppsListDeploymentLogSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListDeploymentLogSlot200Response | WebAppsListDeploymentLogSlotDefaultResponse + >; } export interface WebAppsDiscoverBackupSlot { /** Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. */ post( options: WebAppsDiscoverBackupSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsDiscoverBackupSlot200Response | WebAppsDiscoverBackupSlotDefaultResponse + >; } export interface WebAppsListDomainOwnershipIdentifiersSlot { /** Lists ownership identifiers for domain associated with web app. */ get( options?: WebAppsListDomainOwnershipIdentifiersSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListDomainOwnershipIdentifiersSlot200Response - | WebAppsListDomainOwnershipIdentifiersSlotdefaultResponse + | WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse >; } @@ -6408,31 +6550,31 @@ export interface WebAppsGetDomainOwnershipIdentifierSlot { /** Get domain ownership identifier for web app. */ get( options?: WebAppsGetDomainOwnershipIdentifierSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetDomainOwnershipIdentifierSlot200Response - | WebAppsGetDomainOwnershipIdentifierSlotdefaultResponse + | WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse >; /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ put( options: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response - | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotdefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse >; /** Deletes a domain ownership identifier for a web app. */ delete( options?: WebAppsDeleteDomainOwnershipIdentifierSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteDomainOwnershipIdentifierSlot200Response | WebAppsDeleteDomainOwnershipIdentifierSlot204Response - | WebAppsDeleteDomainOwnershipIdentifierSlotdefaultResponse + | WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse >; /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ patch( options: WebAppsUpdateDomainOwnershipIdentifierSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateDomainOwnershipIdentifierSlot200Response - | WebAppsUpdateDomainOwnershipIdentifierSlotdefaultResponse + | WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse >; } @@ -6440,14 +6582,16 @@ export interface WebAppsGetMSDeployStatusSlot { /** Get the status of the last MSDeploy operation. */ get( options?: WebAppsGetMSDeployStatusSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetMSDeployStatusSlot200Response | WebAppsGetMSDeployStatusSlotDefaultResponse + >; /** Invoke the MSDeploy web app extension. */ put( options: WebAppsCreateMSDeployOperationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateMSDeployOperationSlot201Response | WebAppsCreateMSDeployOperationSlot409Response - | WebAppsCreateMSDeployOperationSlotdefaultResponse + | WebAppsCreateMSDeployOperationSlotDefaultResponse >; } @@ -6455,10 +6599,10 @@ export interface WebAppsGetMSDeployLogSlot { /** Get the MSDeploy Log for the last MSDeploy operation. */ get( options?: WebAppsGetMSDeployLogSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetMSDeployLogSlot200Response | WebAppsGetMSDeployLogSlot404Response - | WebAppsGetMSDeployLogSlotdefaultResponse + | WebAppsGetMSDeployLogSlotDefaultResponse >; } @@ -6466,10 +6610,10 @@ export interface WebAppsListInstanceFunctionsSlot { /** List the functions for a web site, or a deployment slot. */ get( options?: WebAppsListInstanceFunctionsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceFunctionsSlot200Response | WebAppsListInstanceFunctionsSlot404Response - | WebAppsListInstanceFunctionsSlotdefaultResponse + | WebAppsListInstanceFunctionsSlotDefaultResponse >; } @@ -6477,8 +6621,8 @@ export interface WebAppsGetFunctionsAdminTokenSlot { /** Fetch a short lived token that can be exchanged for a master key. */ get( options?: WebAppsGetFunctionsAdminTokenSlotParameters, - ): Promise< - WebAppsGetFunctionsAdminTokenSlot200Response | WebAppsGetFunctionsAdminTokenSlotdefaultResponse + ): StreamableMethod< + WebAppsGetFunctionsAdminTokenSlot200Response | WebAppsGetFunctionsAdminTokenSlotDefaultResponse >; } @@ -6486,24 +6630,24 @@ export interface WebAppsGetInstanceFunctionSlot { /** Get function information by its ID for web site, or a deployment slot. */ get( options?: WebAppsGetInstanceFunctionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceFunctionSlot200Response | WebAppsGetInstanceFunctionSlot404Response - | WebAppsGetInstanceFunctionSlotdefaultResponse + | WebAppsGetInstanceFunctionSlotDefaultResponse >; /** Create function for web site, or a deployment slot. */ put( options: WebAppsCreateInstanceFunctionSlotParameters, - ): Promise< - WebAppsCreateInstanceFunctionSlot201Response | WebAppsCreateInstanceFunctionSlotdefaultResponse + ): StreamableMethod< + WebAppsCreateInstanceFunctionSlot201Response | WebAppsCreateInstanceFunctionSlotDefaultResponse >; /** Delete a function for web site, or a deployment slot. */ delete( options?: WebAppsDeleteInstanceFunctionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteInstanceFunctionSlot204Response | WebAppsDeleteInstanceFunctionSlot404Response - | WebAppsDeleteInstanceFunctionSlotdefaultResponse + | WebAppsDeleteInstanceFunctionSlotDefaultResponse >; } @@ -6511,18 +6655,18 @@ export interface WebAppsCreateOrUpdateFunctionSecretSlot { /** Add or update a function secret. */ put( options: WebAppsCreateOrUpdateFunctionSecretSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateFunctionSecretSlot200Response | WebAppsCreateOrUpdateFunctionSecretSlot201Response - | WebAppsCreateOrUpdateFunctionSecretSlotdefaultResponse + | WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse >; /** Delete a function secret. */ delete( options?: WebAppsDeleteFunctionSecretSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteFunctionSecretSlot204Response | WebAppsDeleteFunctionSecretSlot404Response - | WebAppsDeleteFunctionSecretSlotdefaultResponse + | WebAppsDeleteFunctionSecretSlotDefaultResponse >; } @@ -6530,15 +6674,17 @@ export interface WebAppsListFunctionKeysSlot { /** Get function keys for a function in a web site, or a deployment slot. */ post( options?: WebAppsListFunctionKeysSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListFunctionKeysSlot200Response | WebAppsListFunctionKeysSlotDefaultResponse + >; } export interface WebAppsListFunctionSecretsSlot { /** Get function secrets for a function in a web site, or a deployment slot. */ post( options?: WebAppsListFunctionSecretsSlotParameters, - ): Promise< - WebAppsListFunctionSecretsSlot200Response | WebAppsListFunctionSecretsSlotdefaultResponse + ): StreamableMethod< + WebAppsListFunctionSecretsSlot200Response | WebAppsListFunctionSecretsSlotDefaultResponse >; } @@ -6546,39 +6692,43 @@ export interface WebAppsListHostKeysSlot { /** Get host secrets for a function app. */ post( options?: WebAppsListHostKeysSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSyncStatusSlot { /** This is to allow calling via powershell and ARM template. */ post( options?: WebAppsListSyncStatusSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListSyncStatusSlot204Response | WebAppsListSyncStatusSlotDefaultResponse + >; } export interface WebAppsSyncFunctionsSlot { /** Syncs function trigger metadata to the management database */ post( options?: WebAppsSyncFunctionsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsSyncFunctionsSlot204Response | WebAppsSyncFunctionsSlotDefaultResponse + >; } export interface WebAppsCreateOrUpdateHostSecretSlot { /** Add or update a host level secret. */ put( options: WebAppsCreateOrUpdateHostSecretSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHostSecretSlot200Response | WebAppsCreateOrUpdateHostSecretSlot201Response - | WebAppsCreateOrUpdateHostSecretSlotdefaultResponse + | WebAppsCreateOrUpdateHostSecretSlotDefaultResponse >; /** Delete a host level secret. */ delete( options?: WebAppsDeleteHostSecretSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHostSecretSlot204Response | WebAppsDeleteHostSecretSlot404Response - | WebAppsDeleteHostSecretSlotdefaultResponse + | WebAppsDeleteHostSecretSlotDefaultResponse >; } @@ -6586,8 +6736,8 @@ export interface WebAppsListHostNameBindingsSlot { /** Get hostname bindings for an app or a deployment slot. */ get( options?: WebAppsListHostNameBindingsSlotParameters, - ): Promise< - WebAppsListHostNameBindingsSlot200Response | WebAppsListHostNameBindingsSlotdefaultResponse + ): StreamableMethod< + WebAppsListHostNameBindingsSlot200Response | WebAppsListHostNameBindingsSlotDefaultResponse >; } @@ -6595,23 +6745,23 @@ export interface WebAppsGetHostNameBindingSlot { /** Get the named hostname binding for an app (or deployment slot, if specified). */ get( options?: WebAppsGetHostNameBindingSlotParameters, - ): Promise< - WebAppsGetHostNameBindingSlot200Response | WebAppsGetHostNameBindingSlotdefaultResponse + ): StreamableMethod< + WebAppsGetHostNameBindingSlot200Response | WebAppsGetHostNameBindingSlotDefaultResponse >; /** Creates a hostname binding for an app. */ put( options: WebAppsCreateOrUpdateHostNameBindingSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHostNameBindingSlot200Response - | WebAppsCreateOrUpdateHostNameBindingSlotdefaultResponse + | WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse >; /** Deletes a hostname binding for an app. */ delete( options?: WebAppsDeleteHostNameBindingSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHostNameBindingSlot200Response | WebAppsDeleteHostNameBindingSlot204Response - | WebAppsDeleteHostNameBindingSlotdefaultResponse + | WebAppsDeleteHostNameBindingSlotDefaultResponse >; } @@ -6619,29 +6769,29 @@ export interface WebAppsGetHybridConnectionSlot { /** Retrieves a specific Service Bus Hybrid Connection used by this Web App. */ get( options?: WebAppsGetHybridConnectionSlotParameters, - ): Promise< - WebAppsGetHybridConnectionSlot200Response | WebAppsGetHybridConnectionSlotdefaultResponse + ): StreamableMethod< + WebAppsGetHybridConnectionSlot200Response | WebAppsGetHybridConnectionSlotDefaultResponse >; /** Creates a new Hybrid Connection using a Service Bus relay. */ put( options: WebAppsCreateOrUpdateHybridConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateHybridConnectionSlot200Response - | WebAppsCreateOrUpdateHybridConnectionSlotdefaultResponse + | WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse >; /** Removes a Hybrid Connection from this site. */ delete( options?: WebAppsDeleteHybridConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteHybridConnectionSlot200Response | WebAppsDeleteHybridConnectionSlot404Response - | WebAppsDeleteHybridConnectionSlotdefaultResponse + | WebAppsDeleteHybridConnectionSlotDefaultResponse >; /** Creates a new Hybrid Connection using a Service Bus relay. */ patch( options: WebAppsUpdateHybridConnectionSlotParameters, - ): Promise< - WebAppsUpdateHybridConnectionSlot200Response | WebAppsUpdateHybridConnectionSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateHybridConnectionSlot200Response | WebAppsUpdateHybridConnectionSlotDefaultResponse >; } @@ -6649,8 +6799,8 @@ export interface WebAppsListHybridConnectionsSlot { /** Retrieves all Service Bus Hybrid Connections used by this Web App. */ get( options?: WebAppsListHybridConnectionsSlotParameters, - ): Promise< - WebAppsListHybridConnectionsSlot200Response | WebAppsListHybridConnectionsSlotdefaultResponse + ): StreamableMethod< + WebAppsListHybridConnectionsSlot200Response | WebAppsListHybridConnectionsSlotDefaultResponse >; } @@ -6658,9 +6808,9 @@ export interface WebAppsListRelayServiceConnectionsSlot { /** Gets hybrid connections configured for an app (or deployment slot, if specified). */ get( options?: WebAppsListRelayServiceConnectionsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListRelayServiceConnectionsSlot200Response - | WebAppsListRelayServiceConnectionsSlotdefaultResponse + | WebAppsListRelayServiceConnectionsSlotDefaultResponse >; } @@ -6668,31 +6818,31 @@ export interface WebAppsGetRelayServiceConnectionSlot { /** Gets a hybrid connection configuration by its name. */ get( options?: WebAppsGetRelayServiceConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetRelayServiceConnectionSlot200Response - | WebAppsGetRelayServiceConnectionSlotdefaultResponse + | WebAppsGetRelayServiceConnectionSlotDefaultResponse >; /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ put( options: WebAppsCreateOrUpdateRelayServiceConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response - | WebAppsCreateOrUpdateRelayServiceConnectionSlotdefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse >; /** Deletes a relay service connection by its name. */ delete( options?: WebAppsDeleteRelayServiceConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteRelayServiceConnectionSlot200Response | WebAppsDeleteRelayServiceConnectionSlot404Response - | WebAppsDeleteRelayServiceConnectionSlotdefaultResponse + | WebAppsDeleteRelayServiceConnectionSlotDefaultResponse >; /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ patch( options: WebAppsUpdateRelayServiceConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateRelayServiceConnectionSlot200Response - | WebAppsUpdateRelayServiceConnectionSlotdefaultResponse + | WebAppsUpdateRelayServiceConnectionSlotDefaultResponse >; } @@ -6700,9 +6850,9 @@ export interface WebAppsListInstanceIdentifiersSlot { /** Gets all scale-out instances of an app. */ get( options?: WebAppsListInstanceIdentifiersSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceIdentifiersSlot200Response - | WebAppsListInstanceIdentifiersSlotdefaultResponse + | WebAppsListInstanceIdentifiersSlotDefaultResponse >; } @@ -6710,24 +6860,26 @@ export interface WebAppsGetInstanceInfoSlot { /** Gets all scale-out instances of an app. */ get( options?: WebAppsGetInstanceInfoSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetInstanceInfoSlot200Response | WebAppsGetInstanceInfoSlotDefaultResponse + >; } export interface WebAppsGetInstanceMsDeployStatusSlot { /** Get the status of the last MSDeploy operation. */ get( options?: WebAppsGetInstanceMsDeployStatusSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceMsDeployStatusSlot200Response - | WebAppsGetInstanceMsDeployStatusSlotdefaultResponse + | WebAppsGetInstanceMsDeployStatusSlotDefaultResponse >; /** Invoke the MSDeploy web app extension. */ put( options: WebAppsCreateInstanceMSDeployOperationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateInstanceMSDeployOperationSlot201Response | WebAppsCreateInstanceMSDeployOperationSlot409Response - | WebAppsCreateInstanceMSDeployOperationSlotdefaultResponse + | WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse >; } @@ -6735,10 +6887,10 @@ export interface WebAppsGetInstanceMSDeployLogSlot { /** Get the MSDeploy Log for the last MSDeploy operation. */ get( options?: WebAppsGetInstanceMSDeployLogSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceMSDeployLogSlot200Response | WebAppsGetInstanceMSDeployLogSlot404Response - | WebAppsGetInstanceMSDeployLogSlotdefaultResponse + | WebAppsGetInstanceMSDeployLogSlotDefaultResponse >; } @@ -6746,10 +6898,10 @@ export interface WebAppsListInstanceProcessesSlot { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcessesSlot200Response | WebAppsListInstanceProcessesSlot404Response - | WebAppsListInstanceProcessesSlotdefaultResponse + | WebAppsListInstanceProcessesSlotDefaultResponse >; } @@ -6757,18 +6909,18 @@ export interface WebAppsGetInstanceProcessSlot { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcessSlot200Response | WebAppsGetInstanceProcessSlot404Response - | WebAppsGetInstanceProcessSlotdefaultResponse + | WebAppsGetInstanceProcessSlotDefaultResponse >; /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ delete( options?: WebAppsDeleteInstanceProcessSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteInstanceProcessSlot204Response | WebAppsDeleteInstanceProcessSlot404Response - | WebAppsDeleteInstanceProcessSlotdefaultResponse + | WebAppsDeleteInstanceProcessSlotDefaultResponse >; } @@ -6776,10 +6928,10 @@ export interface WebAppsGetInstanceProcessDumpSlot { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessDumpSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcessDumpSlot200Response | WebAppsGetInstanceProcessDumpSlot404Response - | WebAppsGetInstanceProcessDumpSlotdefaultResponse + | WebAppsGetInstanceProcessDumpSlotDefaultResponse >; } @@ -6787,10 +6939,10 @@ export interface WebAppsListInstanceProcessModulesSlot { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessModulesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcessModulesSlot200Response | WebAppsListInstanceProcessModulesSlot404Response - | WebAppsListInstanceProcessModulesSlotdefaultResponse + | WebAppsListInstanceProcessModulesSlotDefaultResponse >; } @@ -6798,10 +6950,10 @@ export interface WebAppsGetInstanceProcessModuleSlot { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetInstanceProcessModuleSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetInstanceProcessModuleSlot200Response | WebAppsGetInstanceProcessModuleSlot404Response - | WebAppsGetInstanceProcessModuleSlotdefaultResponse + | WebAppsGetInstanceProcessModuleSlotDefaultResponse >; } @@ -6809,10 +6961,10 @@ export interface WebAppsListInstanceProcessThreadsSlot { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListInstanceProcessThreadsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListInstanceProcessThreadsSlot200Response | WebAppsListInstanceProcessThreadsSlot404Response - | WebAppsListInstanceProcessThreadsSlotdefaultResponse + | WebAppsListInstanceProcessThreadsSlotDefaultResponse >; } @@ -6820,23 +6972,25 @@ export interface WebAppsIsCloneableSlot { /** Shows whether an app can be cloned to another resource group or subscription. */ post( options?: WebAppsIsCloneableSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSiteBackupsSlot { /** Gets existing backups of an app. */ post( options?: WebAppsListSiteBackupsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListSiteBackupsSlot200Response | WebAppsListSiteBackupsSlotDefaultResponse + >; } export interface WebAppsListSyncFunctionTriggersSlot { /** This is to allow calling via powershell and ARM template. */ post( options?: WebAppsListSyncFunctionTriggersSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSyncFunctionTriggersSlot200Response - | WebAppsListSyncFunctionTriggersSlotdefaultResponse + | WebAppsListSyncFunctionTriggersSlotDefaultResponse >; } @@ -6844,8 +6998,8 @@ export interface WebAppsGetMigrateMySqlStatusSlot { /** Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled */ get( options?: WebAppsGetMigrateMySqlStatusSlotParameters, - ): Promise< - WebAppsGetMigrateMySqlStatusSlot200Response | WebAppsGetMigrateMySqlStatusSlotdefaultResponse + ): StreamableMethod< + WebAppsGetMigrateMySqlStatusSlot200Response | WebAppsGetMigrateMySqlStatusSlotDefaultResponse >; } @@ -6853,9 +7007,9 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlot { /** Gets a Swift Virtual Network connection. */ get( options?: WebAppsGetSwiftVirtualNetworkConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSwiftVirtualNetworkConnectionSlot200Response - | WebAppsGetSwiftVirtualNetworkConnectionSlotdefaultResponse + | WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse >; /** * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not @@ -6863,17 +7017,17 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlot { */ put( options: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response - | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse >; /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ delete( options?: WebAppsDeleteSwiftVirtualNetworkSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSwiftVirtualNetworkSlot200Response | WebAppsDeleteSwiftVirtualNetworkSlot404Response - | WebAppsDeleteSwiftVirtualNetworkSlotdefaultResponse + | WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse >; /** * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not @@ -6881,9 +7035,9 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlot { */ patch( options: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response - | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse >; } @@ -6891,10 +7045,10 @@ export interface WebAppsListNetworkFeaturesSlot { /** Gets all network features used by the app (or deployment slot, if specified). */ get( options?: WebAppsListNetworkFeaturesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListNetworkFeaturesSlot200Response | WebAppsListNetworkFeaturesSlot404Response - | WebAppsListNetworkFeaturesSlotdefaultResponse + | WebAppsListNetworkFeaturesSlotDefaultResponse >; } @@ -6902,10 +7056,10 @@ export interface WebAppsGetNetworkTraceOperationSlot { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTraceOperationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetNetworkTraceOperationSlot200Response | WebAppsGetNetworkTraceOperationSlot202Response - | WebAppsGetNetworkTraceOperationSlotdefaultResponse + | WebAppsGetNetworkTraceOperationSlotDefaultResponse >; } @@ -6913,9 +7067,9 @@ export interface WebAppsStartWebSiteNetworkTraceSlot { /** Start capturing network packets for the site (To be deprecated). */ post( options?: WebAppsStartWebSiteNetworkTraceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartWebSiteNetworkTraceSlot200Response - | WebAppsStartWebSiteNetworkTraceSlotdefaultResponse + | WebAppsStartWebSiteNetworkTraceSlotDefaultResponse >; } @@ -6923,10 +7077,10 @@ export interface WebAppsStartWebSiteNetworkTraceOperationSlot { /** Start capturing network packets for the site. */ post( options?: WebAppsStartWebSiteNetworkTraceOperationSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartWebSiteNetworkTraceOperationSlot200Response | WebAppsStartWebSiteNetworkTraceOperationSlot202Response - | WebAppsStartWebSiteNetworkTraceOperationSlotdefaultResponse + | WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse >; } @@ -6934,10 +7088,10 @@ export interface WebAppsStopWebSiteNetworkTraceSlot { /** Stop ongoing capturing network packets for the site. */ post( options?: WebAppsStopWebSiteNetworkTraceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopWebSiteNetworkTraceSlot200Response | WebAppsStopWebSiteNetworkTraceSlot204Response - | WebAppsStopWebSiteNetworkTraceSlotdefaultResponse + | WebAppsStopWebSiteNetworkTraceSlotDefaultResponse >; } @@ -6945,17 +7099,19 @@ export interface WebAppsGetNetworkTracesSlot { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTracesSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetNetworkTracesSlot200Response | WebAppsGetNetworkTracesSlotDefaultResponse + >; } export interface WebAppsGetNetworkTraceOperationSlotV2 { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTraceOperationSlotV2Parameters, - ): Promise< + ): StreamableMethod< | WebAppsGetNetworkTraceOperationSlotV2200Response | WebAppsGetNetworkTraceOperationSlotV2202Response - | WebAppsGetNetworkTraceOperationSlotV2defaultResponse + | WebAppsGetNetworkTraceOperationSlotV2DefaultResponse >; } @@ -6963,8 +7119,8 @@ export interface WebAppsGetNetworkTracesSlotV2 { /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ get( options?: WebAppsGetNetworkTracesSlotV2Parameters, - ): Promise< - WebAppsGetNetworkTracesSlotV2200Response | WebAppsGetNetworkTracesSlotV2defaultResponse + ): StreamableMethod< + WebAppsGetNetworkTracesSlotV2200Response | WebAppsGetNetworkTracesSlotV2DefaultResponse >; } @@ -6972,10 +7128,10 @@ export interface WebAppsGenerateNewSitePublishingPasswordSlot { /** Generates a new publishing password for an app (or deployment slot, if specified). */ post( options?: WebAppsGenerateNewSitePublishingPasswordSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGenerateNewSitePublishingPasswordSlot200Response | WebAppsGenerateNewSitePublishingPasswordSlot204Response - | WebAppsGenerateNewSitePublishingPasswordSlotdefaultResponse + | WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse >; } @@ -6983,8 +7139,8 @@ export interface WebAppsListPerfMonCountersSlot { /** Gets perfmon counters for web app. */ get( options?: WebAppsListPerfMonCountersSlotParameters, - ): Promise< - WebAppsListPerfMonCountersSlot200Response | WebAppsListPerfMonCountersSlotdefaultResponse + ): StreamableMethod< + WebAppsListPerfMonCountersSlot200Response | WebAppsListPerfMonCountersSlotDefaultResponse >; } @@ -6992,8 +7148,8 @@ export interface WebAppsGetSitePhpErrorLogFlagSlot { /** Gets web app's event logs. */ get( options?: WebAppsGetSitePhpErrorLogFlagSlotParameters, - ): Promise< - WebAppsGetSitePhpErrorLogFlagSlot200Response | WebAppsGetSitePhpErrorLogFlagSlotdefaultResponse + ): StreamableMethod< + WebAppsGetSitePhpErrorLogFlagSlot200Response | WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse >; } @@ -7001,29 +7157,35 @@ export interface WebAppsListPremierAddOnsSlot { /** Gets the premier add-ons of an app. */ get( options?: WebAppsListPremierAddOnsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListPremierAddOnsSlot200Response | WebAppsListPremierAddOnsSlotDefaultResponse + >; } export interface WebAppsGetPremierAddOnSlot { /** Gets a named add-on of an app. */ get( options?: WebAppsGetPremierAddOnSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetPremierAddOnSlot200Response | WebAppsGetPremierAddOnSlotDefaultResponse + >; /** Updates a named add-on of an app. */ put( options: WebAppsAddPremierAddOnSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsAddPremierAddOnSlot200Response | WebAppsAddPremierAddOnSlotDefaultResponse + >; /** Delete a premier add-on from an app. */ delete( options?: WebAppsDeletePremierAddOnSlotParameters, - ): Promise< - WebAppsDeletePremierAddOnSlot200Response | WebAppsDeletePremierAddOnSlotdefaultResponse + ): StreamableMethod< + WebAppsDeletePremierAddOnSlot200Response | WebAppsDeletePremierAddOnSlotDefaultResponse >; /** Updates a named add-on of an app. */ patch( options: WebAppsUpdatePremierAddOnSlotParameters, - ): Promise< - WebAppsUpdatePremierAddOnSlot200Response | WebAppsUpdatePremierAddOnSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdatePremierAddOnSlot200Response | WebAppsUpdatePremierAddOnSlotDefaultResponse >; } @@ -7031,12 +7193,14 @@ export interface WebAppsGetPrivateAccessSlot { /** Gets data around private site access enablement and authorized Virtual Networks that can access the site. */ get( options?: WebAppsGetPrivateAccessSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetPrivateAccessSlot200Response | WebAppsGetPrivateAccessSlotDefaultResponse + >; /** Sets data around private site access enablement and authorized Virtual Networks that can access the site. */ put( options: WebAppsPutPrivateAccessVnetSlotParameters, - ): Promise< - WebAppsPutPrivateAccessVnetSlot200Response | WebAppsPutPrivateAccessVnetSlotdefaultResponse + ): StreamableMethod< + WebAppsPutPrivateAccessVnetSlot200Response | WebAppsPutPrivateAccessVnetSlotDefaultResponse >; } @@ -7044,9 +7208,9 @@ export interface WebAppsGetPrivateEndpointConnectionListSlot { /** Gets the list of private endpoint connections associated with a site */ get( options?: WebAppsGetPrivateEndpointConnectionListSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetPrivateEndpointConnectionListSlot200Response - | WebAppsGetPrivateEndpointConnectionListSlotdefaultResponse + | WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse >; } @@ -7054,26 +7218,26 @@ export interface WebAppsGetPrivateEndpointConnectionSlot { /** Gets a private endpoint connection */ get( options?: WebAppsGetPrivateEndpointConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetPrivateEndpointConnectionSlot200Response - | WebAppsGetPrivateEndpointConnectionSlotdefaultResponse + | WebAppsGetPrivateEndpointConnectionSlotDefaultResponse >; /** Approves or rejects a private endpoint connection */ put( options: WebAppsApproveOrRejectPrivateEndpointConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response | WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response - | WebAppsApproveOrRejectPrivateEndpointConnectionSlotdefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse >; /** Deletes a private endpoint connection */ delete( options?: WebAppsDeletePrivateEndpointConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeletePrivateEndpointConnectionSlot200Response | WebAppsDeletePrivateEndpointConnectionSlot202Response | WebAppsDeletePrivateEndpointConnectionSlot204Response - | WebAppsDeletePrivateEndpointConnectionSlotdefaultResponse + | WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse >; } @@ -7081,9 +7245,9 @@ export interface WebAppsGetPrivateLinkResourcesSlot { /** Gets the private link resources */ get( options?: WebAppsGetPrivateLinkResourcesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetPrivateLinkResourcesSlot200Response - | WebAppsGetPrivateLinkResourcesSlotdefaultResponse + | WebAppsGetPrivateLinkResourcesSlotDefaultResponse >; } @@ -7091,10 +7255,10 @@ export interface WebAppsListProcessesSlot { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcessesSlot200Response | WebAppsListProcessesSlot404Response - | WebAppsListProcessesSlotdefaultResponse + | WebAppsListProcessesSlotDefaultResponse >; } @@ -7102,18 +7266,18 @@ export interface WebAppsGetProcessSlot { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetProcessSlot200Response | WebAppsGetProcessSlot404Response - | WebAppsGetProcessSlotdefaultResponse + | WebAppsGetProcessSlotDefaultResponse >; /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ delete( options?: WebAppsDeleteProcessSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteProcessSlot204Response | WebAppsDeleteProcessSlot404Response - | WebAppsDeleteProcessSlotdefaultResponse + | WebAppsDeleteProcessSlotDefaultResponse >; } @@ -7121,10 +7285,10 @@ export interface WebAppsGetProcessDumpSlot { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessDumpSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetProcessDumpSlot200Response | WebAppsGetProcessDumpSlot404Response - | WebAppsGetProcessDumpSlotdefaultResponse + | WebAppsGetProcessDumpSlotDefaultResponse >; } @@ -7132,10 +7296,10 @@ export interface WebAppsListProcessModulesSlot { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessModulesSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcessModulesSlot200Response | WebAppsListProcessModulesSlot404Response - | WebAppsListProcessModulesSlotdefaultResponse + | WebAppsListProcessModulesSlotDefaultResponse >; } @@ -7143,10 +7307,10 @@ export interface WebAppsGetProcessModuleSlot { /** Get process information by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsGetProcessModuleSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetProcessModuleSlot200Response | WebAppsGetProcessModuleSlot404Response - | WebAppsGetProcessModuleSlotdefaultResponse + | WebAppsGetProcessModuleSlotDefaultResponse >; } @@ -7154,10 +7318,10 @@ export interface WebAppsListProcessThreadsSlot { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ get( options?: WebAppsListProcessThreadsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListProcessThreadsSlot200Response | WebAppsListProcessThreadsSlot404Response - | WebAppsListProcessThreadsSlotdefaultResponse + | WebAppsListProcessThreadsSlotDefaultResponse >; } @@ -7165,8 +7329,8 @@ export interface WebAppsListPublicCertificatesSlot { /** Get public certificates for an app or a deployment slot. */ get( options?: WebAppsListPublicCertificatesSlotParameters, - ): Promise< - WebAppsListPublicCertificatesSlot200Response | WebAppsListPublicCertificatesSlotdefaultResponse + ): StreamableMethod< + WebAppsListPublicCertificatesSlot200Response | WebAppsListPublicCertificatesSlotDefaultResponse >; } @@ -7174,23 +7338,23 @@ export interface WebAppsGetPublicCertificateSlot { /** Get the named public certificate for an app (or deployment slot, if specified). */ get( options?: WebAppsGetPublicCertificateSlotParameters, - ): Promise< - WebAppsGetPublicCertificateSlot200Response | WebAppsGetPublicCertificateSlotdefaultResponse + ): StreamableMethod< + WebAppsGetPublicCertificateSlot200Response | WebAppsGetPublicCertificateSlotDefaultResponse >; /** Creates a hostname binding for an app. */ put( options: WebAppsCreateOrUpdatePublicCertificateSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdatePublicCertificateSlot200Response - | WebAppsCreateOrUpdatePublicCertificateSlotdefaultResponse + | WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse >; /** Deletes a hostname binding for an app. */ delete( options?: WebAppsDeletePublicCertificateSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeletePublicCertificateSlot200Response | WebAppsDeletePublicCertificateSlot204Response - | WebAppsDeletePublicCertificateSlotdefaultResponse + | WebAppsDeletePublicCertificateSlotDefaultResponse >; } @@ -7198,9 +7362,9 @@ export interface WebAppsListPublishingProfileXmlWithSecretsSlot { /** Gets the publishing profile for an app (or deployment slot, if specified). */ post( options: WebAppsListPublishingProfileXmlWithSecretsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListPublishingProfileXmlWithSecretsSlot200Response - | WebAppsListPublishingProfileXmlWithSecretsSlotdefaultResponse + | WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse >; } @@ -7208,8 +7372,8 @@ export interface WebAppsResetSlotConfigurationSlot { /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ post( options?: WebAppsResetSlotConfigurationSlotParameters, - ): Promise< - WebAppsResetSlotConfigurationSlot200Response | WebAppsResetSlotConfigurationSlotdefaultResponse + ): StreamableMethod< + WebAppsResetSlotConfigurationSlot200Response | WebAppsResetSlotConfigurationSlotDefaultResponse >; } @@ -7217,17 +7381,17 @@ export interface WebAppsRestartSlot { /** Restarts an app (or deployment slot, if specified). */ post( options?: WebAppsRestartSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsRestoreFromBackupBlobSlot { /** Restores an app from a backup blob in Azure Storage. */ post( options: WebAppsRestoreFromBackupBlobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreFromBackupBlobSlot200Response | WebAppsRestoreFromBackupBlobSlot202Response - | WebAppsRestoreFromBackupBlobSlotdefaultResponse + | WebAppsRestoreFromBackupBlobSlotDefaultResponse >; } @@ -7235,10 +7399,10 @@ export interface WebAppsRestoreFromDeletedAppSlot { /** Restores a deleted web app to this web app. */ post( options: WebAppsRestoreFromDeletedAppSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreFromDeletedAppSlot200Response | WebAppsRestoreFromDeletedAppSlot202Response - | WebAppsRestoreFromDeletedAppSlotdefaultResponse + | WebAppsRestoreFromDeletedAppSlotDefaultResponse >; } @@ -7246,10 +7410,10 @@ export interface WebAppsRestoreSnapshotSlot { /** Restores a web app from a snapshot. */ post( options: WebAppsRestoreSnapshotSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRestoreSnapshotSlot200Response | WebAppsRestoreSnapshotSlot202Response - | WebAppsRestoreSnapshotSlotdefaultResponse + | WebAppsRestoreSnapshotSlotDefaultResponse >; } @@ -7257,10 +7421,10 @@ export interface WebAppsListSiteExtensionsSlot { /** Get list of siteextensions for a web site, or a deployment slot. */ get( options?: WebAppsListSiteExtensionsSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSiteExtensionsSlot200Response | WebAppsListSiteExtensionsSlot404Response - | WebAppsListSiteExtensionsSlotdefaultResponse + | WebAppsListSiteExtensionsSlotDefaultResponse >; } @@ -7268,27 +7432,27 @@ export interface WebAppsGetSiteExtensionSlot { /** Get site extension information by its ID for a web site, or a deployment slot. */ get( options?: WebAppsGetSiteExtensionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSiteExtensionSlot200Response | WebAppsGetSiteExtensionSlot404Response - | WebAppsGetSiteExtensionSlotdefaultResponse + | WebAppsGetSiteExtensionSlotDefaultResponse >; /** Install site extension on a web site, or a deployment slot. */ put( options?: WebAppsInstallSiteExtensionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsInstallSiteExtensionSlot200Response | WebAppsInstallSiteExtensionSlot201Response | WebAppsInstallSiteExtensionSlot429Response - | WebAppsInstallSiteExtensionSlotdefaultResponse + | WebAppsInstallSiteExtensionSlotDefaultResponse >; /** Remove a site extension from a web site, or a deployment slot. */ delete( options?: WebAppsDeleteSiteExtensionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSiteExtensionSlot204Response | WebAppsDeleteSiteExtensionSlot404Response - | WebAppsDeleteSiteExtensionSlotdefaultResponse + | WebAppsDeleteSiteExtensionSlotDefaultResponse >; } @@ -7296,8 +7460,8 @@ export interface WebAppsListSlotDifferencesSlot { /** Get the difference in configuration settings between two web app slots. */ post( options: WebAppsListSlotDifferencesSlotParameters, - ): Promise< - WebAppsListSlotDifferencesSlot200Response | WebAppsListSlotDifferencesSlotdefaultResponse + ): StreamableMethod< + WebAppsListSlotDifferencesSlot200Response | WebAppsListSlotDifferencesSlotDefaultResponse >; } @@ -7305,8 +7469,8 @@ export interface WebAppsSwapSlot { /** Swaps two deployment slots of an app. */ post( options: WebAppsSwapSlotParameters, - ): Promise< - WebAppsSwapSlot200Response | WebAppsSwapSlot202Response | WebAppsSwapSlotdefaultResponse + ): StreamableMethod< + WebAppsSwapSlot200Response | WebAppsSwapSlot202Response | WebAppsSwapSlotDefaultResponse >; } @@ -7314,16 +7478,18 @@ export interface WebAppsListSnapshotsSlot { /** Returns all Snapshots to the user. */ get( options?: WebAppsListSnapshotsSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsListSnapshotsSlot200Response | WebAppsListSnapshotsSlotDefaultResponse + >; } export interface WebAppsListSnapshotsFromDRSecondarySlot { /** Returns all Snapshots to the user from DRSecondary endpoint. */ get( options?: WebAppsListSnapshotsFromDRSecondarySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSnapshotsFromDRSecondarySlot200Response - | WebAppsListSnapshotsFromDRSecondarySlotdefaultResponse + | WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse >; } @@ -7331,38 +7497,38 @@ export interface WebAppsGetSourceControlSlot { /** Gets the source control configuration of an app. */ get( options?: WebAppsGetSourceControlSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSourceControlSlot200Response | WebAppsGetSourceControlSlot201Response | WebAppsGetSourceControlSlot202Response - | WebAppsGetSourceControlSlotdefaultResponse + | WebAppsGetSourceControlSlotDefaultResponse >; /** Updates the source control configuration of an app. */ put( options: WebAppsCreateOrUpdateSourceControlSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateSourceControlSlot200Response | WebAppsCreateOrUpdateSourceControlSlot201Response | WebAppsCreateOrUpdateSourceControlSlot202Response - | WebAppsCreateOrUpdateSourceControlSlotdefaultResponse + | WebAppsCreateOrUpdateSourceControlSlotDefaultResponse >; /** Deletes the source control configuration of an app. */ delete( options?: WebAppsDeleteSourceControlSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSourceControlSlot200Response | WebAppsDeleteSourceControlSlot202Response | WebAppsDeleteSourceControlSlot404Response - | WebAppsDeleteSourceControlSlotdefaultResponse + | WebAppsDeleteSourceControlSlotDefaultResponse >; /** Updates the source control configuration of an app. */ patch( options: WebAppsUpdateSourceControlSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateSourceControlSlot200Response | WebAppsUpdateSourceControlSlot201Response | WebAppsUpdateSourceControlSlot202Response - | WebAppsUpdateSourceControlSlotdefaultResponse + | WebAppsUpdateSourceControlSlotDefaultResponse >; } @@ -7370,17 +7536,17 @@ export interface WebAppsStartSlot { /** Starts an app (or deployment slot, if specified). */ post( options?: WebAppsStartSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsStartNetworkTraceSlot { /** Start capturing network packets for the site. */ post( options?: WebAppsStartNetworkTraceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartNetworkTraceSlot200Response | WebAppsStartNetworkTraceSlot202Response - | WebAppsStartNetworkTraceSlotdefaultResponse + | WebAppsStartNetworkTraceSlotDefaultResponse >; } @@ -7388,17 +7554,17 @@ export interface WebAppsStopSlot { /** Stops an app (or deployment slot, if specified). */ post( options?: WebAppsStopSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsStopNetworkTraceSlot { /** Stop ongoing capturing network packets for the site. */ post( options?: WebAppsStopNetworkTraceSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopNetworkTraceSlot200Response | WebAppsStopNetworkTraceSlot204Response - | WebAppsStopNetworkTraceSlotdefaultResponse + | WebAppsStopNetworkTraceSlotDefaultResponse >; } @@ -7406,15 +7572,17 @@ export interface WebAppsSyncRepositorySlot { /** Sync web app repository. */ post( options?: WebAppsSyncRepositorySlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsSyncRepositorySlot200Response | WebAppsSyncRepositorySlotDefaultResponse + >; } export interface WebAppsSyncFunctionTriggersSlot { /** Syncs function trigger metadata to the management database */ post( options?: WebAppsSyncFunctionTriggersSlotParameters, - ): Promise< - WebAppsSyncFunctionTriggersSlot204Response | WebAppsSyncFunctionTriggersSlotdefaultResponse + ): StreamableMethod< + WebAppsSyncFunctionTriggersSlot204Response | WebAppsSyncFunctionTriggersSlotDefaultResponse >; } @@ -7422,8 +7590,8 @@ export interface WebAppsListTriggeredWebJobsSlot { /** List triggered web jobs for an app, or a deployment slot. */ get( options?: WebAppsListTriggeredWebJobsSlotParameters, - ): Promise< - WebAppsListTriggeredWebJobsSlot200Response | WebAppsListTriggeredWebJobsSlotdefaultResponse + ): StreamableMethod< + WebAppsListTriggeredWebJobsSlot200Response | WebAppsListTriggeredWebJobsSlotDefaultResponse >; } @@ -7431,18 +7599,18 @@ export interface WebAppsGetTriggeredWebJobSlot { /** Gets a triggered web job by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetTriggeredWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetTriggeredWebJobSlot200Response | WebAppsGetTriggeredWebJobSlot404Response - | WebAppsGetTriggeredWebJobSlotdefaultResponse + | WebAppsGetTriggeredWebJobSlotDefaultResponse >; /** Delete a triggered web job by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteTriggeredWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteTriggeredWebJobSlot200Response | WebAppsDeleteTriggeredWebJobSlot204Response - | WebAppsDeleteTriggeredWebJobSlotdefaultResponse + | WebAppsDeleteTriggeredWebJobSlotDefaultResponse >; } @@ -7450,10 +7618,10 @@ export interface WebAppsListTriggeredWebJobHistorySlot { /** List a triggered web job's history for an app, or a deployment slot. */ get( options?: WebAppsListTriggeredWebJobHistorySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsListTriggeredWebJobHistorySlot200Response | WebAppsListTriggeredWebJobHistorySlot404Response - | WebAppsListTriggeredWebJobHistorySlotdefaultResponse + | WebAppsListTriggeredWebJobHistorySlotDefaultResponse >; } @@ -7461,10 +7629,10 @@ export interface WebAppsGetTriggeredWebJobHistorySlot { /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ get( options?: WebAppsGetTriggeredWebJobHistorySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetTriggeredWebJobHistorySlot200Response | WebAppsGetTriggeredWebJobHistorySlot404Response - | WebAppsGetTriggeredWebJobHistorySlotdefaultResponse + | WebAppsGetTriggeredWebJobHistorySlotDefaultResponse >; } @@ -7472,10 +7640,10 @@ export interface WebAppsRunTriggeredWebJobSlot { /** Run a triggered web job for an app, or a deployment slot. */ post( options?: WebAppsRunTriggeredWebJobSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsRunTriggeredWebJobSlot200Response | WebAppsRunTriggeredWebJobSlot404Response - | WebAppsRunTriggeredWebJobSlotdefaultResponse + | WebAppsRunTriggeredWebJobSlotDefaultResponse >; } @@ -7483,15 +7651,15 @@ export interface WebAppsListUsagesSlot { /** Gets the quota usage information of an app (or deployment slot, if specified). */ get( options?: WebAppsListUsagesSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListVnetConnectionsSlot { /** Gets the virtual networks the app (or deployment slot) is connected to. */ get( options?: WebAppsListVnetConnectionsSlotParameters, - ): Promise< - WebAppsListVnetConnectionsSlot200Response | WebAppsListVnetConnectionsSlotdefaultResponse + ): StreamableMethod< + WebAppsListVnetConnectionsSlot200Response | WebAppsListVnetConnectionsSlotDefaultResponse >; } @@ -7499,27 +7667,29 @@ export interface WebAppsGetVnetConnectionSlot { /** Gets a virtual network the app (or deployment slot) is connected to by name. */ get( options?: WebAppsGetVnetConnectionSlotParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetVnetConnectionSlot200Response | WebAppsGetVnetConnectionSlotDefaultResponse + >; /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ put( options: WebAppsCreateOrUpdateVnetConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateVnetConnectionSlot200Response - | WebAppsCreateOrUpdateVnetConnectionSlotdefaultResponse + | WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse >; /** Deletes a connection from an app (or deployment slot to a named virtual network. */ delete( options?: WebAppsDeleteVnetConnectionSlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteVnetConnectionSlot200Response | WebAppsDeleteVnetConnectionSlot404Response - | WebAppsDeleteVnetConnectionSlotdefaultResponse + | WebAppsDeleteVnetConnectionSlotDefaultResponse >; /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ patch( options: WebAppsUpdateVnetConnectionSlotParameters, - ): Promise< - WebAppsUpdateVnetConnectionSlot200Response | WebAppsUpdateVnetConnectionSlotdefaultResponse + ): StreamableMethod< + WebAppsUpdateVnetConnectionSlot200Response | WebAppsUpdateVnetConnectionSlotDefaultResponse >; } @@ -7527,24 +7697,24 @@ export interface WebAppsGetVnetConnectionGatewaySlot { /** Gets an app's Virtual Network gateway. */ get( options?: WebAppsGetVnetConnectionGatewaySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetVnetConnectionGatewaySlot200Response | WebAppsGetVnetConnectionGatewaySlot404Response - | WebAppsGetVnetConnectionGatewaySlotdefaultResponse + | WebAppsGetVnetConnectionGatewaySlotDefaultResponse >; /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ put( options: WebAppsCreateOrUpdateVnetConnectionGatewaySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response - | WebAppsCreateOrUpdateVnetConnectionGatewaySlotdefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse >; /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ patch( options: WebAppsUpdateVnetConnectionGatewaySlotParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateVnetConnectionGatewaySlot200Response - | WebAppsUpdateVnetConnectionGatewaySlotdefaultResponse + | WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse >; } @@ -7552,23 +7722,23 @@ export interface WebAppsListWebJobsSlot { /** List webjobs for an app, or a deployment slot. */ get( options?: WebAppsListWebJobsSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetWebJobSlot { /** Get webjob information for an app, or a deployment slot. */ get( options?: WebAppsGetWebJobSlotParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSlotDifferencesFromProduction { /** Get the difference in configuration settings between two web app slots. */ post( options: WebAppsListSlotDifferencesFromProductionParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSlotDifferencesFromProduction200Response - | WebAppsListSlotDifferencesFromProductiondefaultResponse + | WebAppsListSlotDifferencesFromProductionDefaultResponse >; } @@ -7576,10 +7746,10 @@ export interface WebAppsSwapSlotWithProduction { /** Swaps two deployment slots of an app. */ post( options: WebAppsSwapSlotWithProductionParameters, - ): Promise< + ): StreamableMethod< | WebAppsSwapSlotWithProduction200Response | WebAppsSwapSlotWithProduction202Response - | WebAppsSwapSlotWithProductiondefaultResponse + | WebAppsSwapSlotWithProductionDefaultResponse >; } @@ -7587,16 +7757,16 @@ export interface WebAppsListSnapshots { /** Returns all Snapshots to the user. */ get( options?: WebAppsListSnapshotsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListSnapshotsFromDRSecondary { /** Returns all Snapshots to the user from DRSecondary endpoint. */ get( options?: WebAppsListSnapshotsFromDRSecondaryParameters, - ): Promise< + ): StreamableMethod< | WebAppsListSnapshotsFromDRSecondary200Response - | WebAppsListSnapshotsFromDRSecondarydefaultResponse + | WebAppsListSnapshotsFromDRSecondaryDefaultResponse >; } @@ -7604,38 +7774,38 @@ export interface WebAppsGetSourceControl { /** Gets the source control configuration of an app. */ get( options?: WebAppsGetSourceControlParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetSourceControl200Response | WebAppsGetSourceControl201Response | WebAppsGetSourceControl202Response - | WebAppsGetSourceControldefaultResponse + | WebAppsGetSourceControlDefaultResponse >; /** Updates the source control configuration of an app. */ put( options: WebAppsCreateOrUpdateSourceControlParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateSourceControl200Response | WebAppsCreateOrUpdateSourceControl201Response | WebAppsCreateOrUpdateSourceControl202Response - | WebAppsCreateOrUpdateSourceControldefaultResponse + | WebAppsCreateOrUpdateSourceControlDefaultResponse >; /** Deletes the source control configuration of an app. */ delete( options?: WebAppsDeleteSourceControlParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteSourceControl200Response | WebAppsDeleteSourceControl202Response | WebAppsDeleteSourceControl404Response - | WebAppsDeleteSourceControldefaultResponse + | WebAppsDeleteSourceControlDefaultResponse >; /** Updates the source control configuration of an app. */ patch( options: WebAppsUpdateSourceControlParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateSourceControl200Response | WebAppsUpdateSourceControl201Response | WebAppsUpdateSourceControl202Response - | WebAppsUpdateSourceControldefaultResponse + | WebAppsUpdateSourceControlDefaultResponse >; } @@ -7643,17 +7813,17 @@ export interface WebAppsStart { /** Starts an app (or deployment slot, if specified). */ post( options?: WebAppsStartParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsStartNetworkTrace { /** Start capturing network packets for the site. */ post( options?: WebAppsStartNetworkTraceParameters, - ): Promise< + ): StreamableMethod< | WebAppsStartNetworkTrace200Response | WebAppsStartNetworkTrace202Response - | WebAppsStartNetworkTracedefaultResponse + | WebAppsStartNetworkTraceDefaultResponse >; } @@ -7661,17 +7831,17 @@ export interface WebAppsStop { /** Stops an app (or deployment slot, if specified). */ post( options?: WebAppsStopParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsStopNetworkTrace { /** Stop ongoing capturing network packets for the site. */ post( options?: WebAppsStopNetworkTraceParameters, - ): Promise< + ): StreamableMethod< | WebAppsStopNetworkTrace200Response | WebAppsStopNetworkTrace204Response - | WebAppsStopNetworkTracedefaultResponse + | WebAppsStopNetworkTraceDefaultResponse >; } @@ -7679,39 +7849,43 @@ export interface WebAppsSyncRepository { /** Sync web app repository. */ post( options?: WebAppsSyncRepositoryParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsSyncFunctionTriggers { /** Syncs function trigger metadata to the management database */ post( options?: WebAppsSyncFunctionTriggersParameters, - ): Promise; + ): StreamableMethod< + WebAppsSyncFunctionTriggers204Response | WebAppsSyncFunctionTriggersDefaultResponse + >; } export interface WebAppsListTriggeredWebJobs { /** List triggered web jobs for an app, or a deployment slot. */ get( options?: WebAppsListTriggeredWebJobsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListTriggeredWebJobs200Response | WebAppsListTriggeredWebJobsDefaultResponse + >; } export interface WebAppsGetTriggeredWebJob { /** Gets a triggered web job by its ID for an app, or a deployment slot. */ get( options?: WebAppsGetTriggeredWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetTriggeredWebJob200Response | WebAppsGetTriggeredWebJob404Response - | WebAppsGetTriggeredWebJobdefaultResponse + | WebAppsGetTriggeredWebJobDefaultResponse >; /** Delete a triggered web job by its ID for an app, or a deployment slot. */ delete( options?: WebAppsDeleteTriggeredWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteTriggeredWebJob200Response | WebAppsDeleteTriggeredWebJob204Response - | WebAppsDeleteTriggeredWebJobdefaultResponse + | WebAppsDeleteTriggeredWebJobDefaultResponse >; } @@ -7719,10 +7893,10 @@ export interface WebAppsListTriggeredWebJobHistory { /** List a triggered web job's history for an app, or a deployment slot. */ get( options?: WebAppsListTriggeredWebJobHistoryParameters, - ): Promise< + ): StreamableMethod< | WebAppsListTriggeredWebJobHistory200Response | WebAppsListTriggeredWebJobHistory404Response - | WebAppsListTriggeredWebJobHistorydefaultResponse + | WebAppsListTriggeredWebJobHistoryDefaultResponse >; } @@ -7730,10 +7904,10 @@ export interface WebAppsGetTriggeredWebJobHistory { /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ get( options?: WebAppsGetTriggeredWebJobHistoryParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetTriggeredWebJobHistory200Response | WebAppsGetTriggeredWebJobHistory404Response - | WebAppsGetTriggeredWebJobHistorydefaultResponse + | WebAppsGetTriggeredWebJobHistoryDefaultResponse >; } @@ -7741,10 +7915,10 @@ export interface WebAppsRunTriggeredWebJob { /** Run a triggered web job for an app, or a deployment slot. */ post( options?: WebAppsRunTriggeredWebJobParameters, - ): Promise< + ): StreamableMethod< | WebAppsRunTriggeredWebJob200Response | WebAppsRunTriggeredWebJob404Response - | WebAppsRunTriggeredWebJobdefaultResponse + | WebAppsRunTriggeredWebJobDefaultResponse >; } @@ -7752,64 +7926,70 @@ export interface WebAppsListUsages { /** Gets the quota usage information of an app (or deployment slot, if specified). */ get( options?: WebAppsListUsagesParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsListVnetConnections { /** Gets the virtual networks the app (or deployment slot) is connected to. */ get( options?: WebAppsListVnetConnectionsParameters, - ): Promise; + ): StreamableMethod< + WebAppsListVnetConnections200Response | WebAppsListVnetConnectionsDefaultResponse + >; } export interface WebAppsGetVnetConnection { /** Gets a virtual network the app (or deployment slot) is connected to by name. */ get( options?: WebAppsGetVnetConnectionParameters, - ): Promise; + ): StreamableMethod< + WebAppsGetVnetConnection200Response | WebAppsGetVnetConnectionDefaultResponse + >; /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ put( options: WebAppsCreateOrUpdateVnetConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateVnetConnection200Response - | WebAppsCreateOrUpdateVnetConnectiondefaultResponse + | WebAppsCreateOrUpdateVnetConnectionDefaultResponse >; /** Deletes a connection from an app (or deployment slot to a named virtual network. */ delete( options?: WebAppsDeleteVnetConnectionParameters, - ): Promise< + ): StreamableMethod< | WebAppsDeleteVnetConnection200Response | WebAppsDeleteVnetConnection404Response - | WebAppsDeleteVnetConnectiondefaultResponse + | WebAppsDeleteVnetConnectionDefaultResponse >; /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ patch( options: WebAppsUpdateVnetConnectionParameters, - ): Promise; + ): StreamableMethod< + WebAppsUpdateVnetConnection200Response | WebAppsUpdateVnetConnectionDefaultResponse + >; } export interface WebAppsGetVnetConnectionGateway { /** Gets an app's Virtual Network gateway. */ get( options?: WebAppsGetVnetConnectionGatewayParameters, - ): Promise< + ): StreamableMethod< | WebAppsGetVnetConnectionGateway200Response | WebAppsGetVnetConnectionGateway404Response - | WebAppsGetVnetConnectionGatewaydefaultResponse + | WebAppsGetVnetConnectionGatewayDefaultResponse >; /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ put( options: WebAppsCreateOrUpdateVnetConnectionGatewayParameters, - ): Promise< + ): StreamableMethod< | WebAppsCreateOrUpdateVnetConnectionGateway200Response - | WebAppsCreateOrUpdateVnetConnectionGatewaydefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse >; /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ patch( options: WebAppsUpdateVnetConnectionGatewayParameters, - ): Promise< + ): StreamableMethod< | WebAppsUpdateVnetConnectionGateway200Response - | WebAppsUpdateVnetConnectionGatewaydefaultResponse + | WebAppsUpdateVnetConnectionGatewayDefaultResponse >; } @@ -7817,14 +7997,14 @@ export interface WebAppsListWebJobs { /** List webjobs for an app, or a deployment slot. */ get( options?: WebAppsListWebJobsParameters, - ): Promise; + ): StreamableMethod; } export interface WebAppsGetWebJob { /** Get webjob information for an app, or a deployment slot. */ get( options?: WebAppsGetWebJobParameters, - ): Promise; + ): StreamableMethod; } export interface Routes { diff --git a/sdk/appservice/arm-appservice-rest/src/index.ts b/sdk/appservice/arm-appservice-rest/src/index.ts index f3b58f22b72d..350511aaa28f 100644 --- a/sdk/appservice/arm-appservice-rest/src/index.ts +++ b/sdk/appservice/arm-appservice-rest/src/index.ts @@ -1,15 +1,16 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import WebSiteManagementClient from "./webSiteManagementClient"; +import WebSiteManagementClient from "./webSiteManagementClient.js"; -export * from "./webSiteManagementClient"; -export * from "./parameters"; -export * from "./responses"; -export * from "./clientDefinitions"; -export * from "./models"; -export * from "./outputModels"; -export * from "./paginateHelper"; -export * from "./pollingHelper"; +export * from "./webSiteManagementClient.js"; +export * from "./parameters.js"; +export * from "./responses.js"; +export * from "./clientDefinitions.js"; +export * from "./isUnexpected.js"; +export * from "./models.js"; +export * from "./outputModels.js"; +export * from "./paginateHelper.js"; +export * from "./pollingHelper.js"; export default WebSiteManagementClient; diff --git a/sdk/appservice/arm-appservice-rest/src/isUnexpected.ts b/sdk/appservice/arm-appservice-rest/src/isUnexpected.ts new file mode 100644 index 000000000000..06545a523786 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/src/isUnexpected.ts @@ -0,0 +1,8334 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { + AppServiceCertificateOrdersList200Response, + AppServiceCertificateOrdersListDefaultResponse, + AppServiceCertificateOrdersValidatePurchaseInformation204Response, + AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse, + AppServiceCertificateOrdersListByResourceGroup200Response, + AppServiceCertificateOrdersListByResourceGroupDefaultResponse, + AppServiceCertificateOrdersGet200Response, + AppServiceCertificateOrdersGetDefaultResponse, + AppServiceCertificateOrdersCreateOrUpdate200Response, + AppServiceCertificateOrdersCreateOrUpdate201Response, + AppServiceCertificateOrdersCreateOrUpdateDefaultResponse, + AppServiceCertificateOrdersDelete200Response, + AppServiceCertificateOrdersDelete204Response, + AppServiceCertificateOrdersDeleteDefaultResponse, + AppServiceCertificateOrdersUpdate200Response, + AppServiceCertificateOrdersUpdateDefaultResponse, + AppServiceCertificateOrdersListCertificates200Response, + AppServiceCertificateOrdersListCertificatesDefaultResponse, + AppServiceCertificateOrdersGetCertificate200Response, + AppServiceCertificateOrdersGetCertificateDefaultResponse, + AppServiceCertificateOrdersCreateOrUpdateCertificate200Response, + AppServiceCertificateOrdersCreateOrUpdateCertificate201Response, + AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse, + AppServiceCertificateOrdersDeleteCertificate200Response, + AppServiceCertificateOrdersDeleteCertificate204Response, + AppServiceCertificateOrdersDeleteCertificateDefaultResponse, + AppServiceCertificateOrdersUpdateCertificate200Response, + AppServiceCertificateOrdersUpdateCertificateDefaultResponse, + AppServiceCertificateOrdersReissue204Response, + AppServiceCertificateOrdersReissueDefaultResponse, + AppServiceCertificateOrdersRenew204Response, + AppServiceCertificateOrdersRenewDefaultResponse, + AppServiceCertificateOrdersResendEmail204Response, + AppServiceCertificateOrdersResendEmailDefaultResponse, + AppServiceCertificateOrdersResendRequestEmails204Response, + AppServiceCertificateOrdersResendRequestEmailsDefaultResponse, + AppServiceCertificateOrdersRetrieveSiteSeal200Response, + AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse, + AppServiceCertificateOrdersVerifyDomainOwnership204Response, + AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse, + AppServiceCertificateOrdersRetrieveCertificateActions200Response, + AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse, + AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response, + AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse, + CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response, + CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse, + CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response, + CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse, + CertificateRegistrationProviderListOperations200Response, + CertificateRegistrationProviderListOperationsDefaultResponse, + DomainsCheckAvailability200Response, + DomainsCheckAvailabilityDefaultResponse, + DomainsList200Response, + DomainsListDefaultResponse, + DomainsGetControlCenterSsoRequest200Response, + DomainsGetControlCenterSsoRequestDefaultResponse, + DomainsListRecommendations200Response, + DomainsListRecommendationsDefaultResponse, + DomainsListByResourceGroup200Response, + DomainsListByResourceGroupDefaultResponse, + DomainsGet200Response, + DomainsGetDefaultResponse, + DomainsCreateOrUpdate200Response, + DomainsCreateOrUpdate202Response, + DomainsCreateOrUpdateDefaultResponse, + DomainsDelete200Response, + DomainsDelete204Response, + DomainsDeleteDefaultResponse, + DomainsUpdate200Response, + DomainsUpdate202Response, + DomainsUpdateDefaultResponse, + DomainsListOwnershipIdentifiers200Response, + DomainsListOwnershipIdentifiersDefaultResponse, + DomainsGetOwnershipIdentifier200Response, + DomainsGetOwnershipIdentifierDefaultResponse, + DomainsCreateOrUpdateOwnershipIdentifier200Response, + DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse, + DomainsDeleteOwnershipIdentifier200Response, + DomainsDeleteOwnershipIdentifier204Response, + DomainsDeleteOwnershipIdentifierDefaultResponse, + DomainsUpdateOwnershipIdentifier200Response, + DomainsUpdateOwnershipIdentifierDefaultResponse, + DomainsRenew200Response, + DomainsRenew202Response, + DomainsRenew204Response, + DomainsRenewDefaultResponse, + DomainsTransferOut200Response, + DomainsTransferOut400Response, + DomainsTransferOutDefaultResponse, + TopLevelDomainsList200Response, + TopLevelDomainsListDefaultResponse, + TopLevelDomainsGet200Response, + TopLevelDomainsGetDefaultResponse, + TopLevelDomainsListAgreements200Response, + TopLevelDomainsListAgreementsDefaultResponse, + DomainRegistrationProviderListOperations200Response, + DomainRegistrationProviderListOperationsDefaultResponse, + AppServiceEnvironmentsList200Response, + AppServiceEnvironmentsListDefaultResponse, + AppServiceEnvironmentsListByResourceGroup200Response, + AppServiceEnvironmentsListByResourceGroupDefaultResponse, + AppServiceEnvironmentsGet200Response, + AppServiceEnvironmentsGetDefaultResponse, + AppServiceEnvironmentsCreateOrUpdate200Response, + AppServiceEnvironmentsCreateOrUpdate201Response, + AppServiceEnvironmentsCreateOrUpdate202Response, + AppServiceEnvironmentsCreateOrUpdateDefaultResponse, + AppServiceEnvironmentsDelete202Response, + AppServiceEnvironmentsDelete204Response, + AppServiceEnvironmentsDeleteDefaultResponse, + AppServiceEnvironmentsUpdate200Response, + AppServiceEnvironmentsUpdate201Response, + AppServiceEnvironmentsUpdate202Response, + AppServiceEnvironmentsUpdateDefaultResponse, + AppServiceEnvironmentsListCapacities200Response, + AppServiceEnvironmentsListCapacitiesDefaultResponse, + AppServiceEnvironmentsGetVipInfo200Response, + AppServiceEnvironmentsGetVipInfoDefaultResponse, + AppServiceEnvironmentsChangeVnet200Response, + AppServiceEnvironmentsChangeVnet202Response, + AppServiceEnvironmentsChangeVnetDefaultResponse, + AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response, + AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse, + AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response, + AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse, + AppServiceEnvironmentsListDiagnostics200Response, + AppServiceEnvironmentsListDiagnosticsDefaultResponse, + AppServiceEnvironmentsGetDiagnosticsItem200Response, + AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse, + AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response, + AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse, + AppServiceEnvironmentsListMultiRolePools200Response, + AppServiceEnvironmentsListMultiRolePoolsDefaultResponse, + AppServiceEnvironmentsGetMultiRolePool200Response, + AppServiceEnvironmentsGetMultiRolePoolDefaultResponse, + AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response, + AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response, + AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse, + AppServiceEnvironmentsUpdateMultiRolePool200Response, + AppServiceEnvironmentsUpdateMultiRolePool202Response, + AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse, + AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response, + AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse, + AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response, + AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse, + AppServiceEnvironmentsListMultiRolePoolSkus200Response, + AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse, + AppServiceEnvironmentsListMultiRoleUsages200Response, + AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse, + AppServiceEnvironmentsListOperations200Response, + AppServiceEnvironmentsListOperationsDefaultResponse, + AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response, + AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse, + AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response, + AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse, + AppServiceEnvironmentsGetPrivateEndpointConnection200Response, + AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse, + AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response, + AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response, + AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse, + AppServiceEnvironmentsDeletePrivateEndpointConnection200Response, + AppServiceEnvironmentsDeletePrivateEndpointConnection202Response, + AppServiceEnvironmentsDeletePrivateEndpointConnection204Response, + AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse, + AppServiceEnvironmentsGetPrivateLinkResources200Response, + AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse, + AppServiceEnvironmentsReboot202Response, + AppServiceEnvironmentsRebootDefaultResponse, + AppServiceEnvironmentsResume200Response, + AppServiceEnvironmentsResume202Response, + AppServiceEnvironmentsResumeDefaultResponse, + AppServiceEnvironmentsListAppServicePlans200Response, + AppServiceEnvironmentsListAppServicePlansDefaultResponse, + AppServiceEnvironmentsListWebApps200Response, + AppServiceEnvironmentsListWebAppsDefaultResponse, + AppServiceEnvironmentsSuspend200Response, + AppServiceEnvironmentsSuspend202Response, + AppServiceEnvironmentsSuspendDefaultResponse, + AppServiceEnvironmentsListUsages200Response, + AppServiceEnvironmentsListUsagesDefaultResponse, + AppServiceEnvironmentsListWorkerPools200Response, + AppServiceEnvironmentsListWorkerPoolsDefaultResponse, + AppServiceEnvironmentsGetWorkerPool200Response, + AppServiceEnvironmentsGetWorkerPoolDefaultResponse, + AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response, + AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response, + AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse, + AppServiceEnvironmentsUpdateWorkerPool200Response, + AppServiceEnvironmentsUpdateWorkerPool202Response, + AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse, + AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response, + AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse, + AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response, + AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse, + AppServiceEnvironmentsListWorkerPoolSkus200Response, + AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse, + AppServiceEnvironmentsListWebWorkerUsages200Response, + AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse, + AppServicePlansList200Response, + AppServicePlansListDefaultResponse, + AppServicePlansListByResourceGroup200Response, + AppServicePlansListByResourceGroupDefaultResponse, + AppServicePlansGet200Response, + AppServicePlansGet404Response, + AppServicePlansGetDefaultResponse, + AppServicePlansCreateOrUpdate200Response, + AppServicePlansCreateOrUpdate202Response, + AppServicePlansCreateOrUpdateDefaultResponse, + AppServicePlansDelete200Response, + AppServicePlansDelete204Response, + AppServicePlansDeleteDefaultResponse, + AppServicePlansUpdate200Response, + AppServicePlansUpdate202Response, + AppServicePlansUpdateDefaultResponse, + AppServicePlansListCapabilities200Response, + AppServicePlansListCapabilitiesDefaultResponse, + AppServicePlansGetHybridConnection200Response, + AppServicePlansGetHybridConnectionDefaultResponse, + AppServicePlansDeleteHybridConnection200Response, + AppServicePlansDeleteHybridConnection204Response, + AppServicePlansDeleteHybridConnectionDefaultResponse, + AppServicePlansListHybridConnectionKeys200Response, + AppServicePlansListHybridConnectionKeysDefaultResponse, + AppServicePlansListWebAppsByHybridConnection200Response, + AppServicePlansListWebAppsByHybridConnectionDefaultResponse, + AppServicePlansGetHybridConnectionPlanLimit200Response, + AppServicePlansGetHybridConnectionPlanLimitDefaultResponse, + AppServicePlansListHybridConnections200Response, + AppServicePlansListHybridConnectionsDefaultResponse, + AppServicePlansRestartWebApps204Response, + AppServicePlansRestartWebAppsDefaultResponse, + AppServicePlansListWebApps200Response, + AppServicePlansListWebAppsDefaultResponse, + AppServicePlansGetServerFarmSkus200Response, + AppServicePlansGetServerFarmSkusDefaultResponse, + AppServicePlansListUsages200Response, + AppServicePlansListUsagesDefaultResponse, + AppServicePlansListVnets200Response, + AppServicePlansListVnetsDefaultResponse, + AppServicePlansGetVnetFromServerFarm200Response, + AppServicePlansGetVnetFromServerFarm404Response, + AppServicePlansGetVnetFromServerFarmDefaultResponse, + AppServicePlansGetVnetGateway200Response, + AppServicePlansGetVnetGatewayDefaultResponse, + AppServicePlansUpdateVnetGateway200Response, + AppServicePlansUpdateVnetGatewayDefaultResponse, + AppServicePlansListRoutesForVnet200Response, + AppServicePlansListRoutesForVnetDefaultResponse, + AppServicePlansGetRouteForVnet200Response, + AppServicePlansGetRouteForVnet404Response, + AppServicePlansGetRouteForVnetDefaultResponse, + AppServicePlansCreateOrUpdateVnetRoute200Response, + AppServicePlansCreateOrUpdateVnetRoute400Response, + AppServicePlansCreateOrUpdateVnetRoute404Response, + AppServicePlansCreateOrUpdateVnetRouteDefaultResponse, + AppServicePlansDeleteVnetRoute200Response, + AppServicePlansDeleteVnetRoute404Response, + AppServicePlansDeleteVnetRouteDefaultResponse, + AppServicePlansUpdateVnetRoute200Response, + AppServicePlansUpdateVnetRoute400Response, + AppServicePlansUpdateVnetRoute404Response, + AppServicePlansUpdateVnetRouteDefaultResponse, + AppServicePlansRebootWorker204Response, + AppServicePlansRebootWorkerDefaultResponse, + CertificatesList200Response, + CertificatesListDefaultResponse, + CertificatesListByResourceGroup200Response, + CertificatesListByResourceGroupDefaultResponse, + CertificatesGet200Response, + CertificatesGetDefaultResponse, + CertificatesCreateOrUpdate200Response, + CertificatesCreateOrUpdateDefaultResponse, + CertificatesDelete200Response, + CertificatesDelete204Response, + CertificatesDeleteDefaultResponse, + CertificatesUpdate200Response, + CertificatesUpdateDefaultResponse, + ContainerAppsListBySubscription200Response, + ContainerAppsListBySubscriptionDefaultResponse, + ContainerAppsListByResourceGroup200Response, + ContainerAppsListByResourceGroupDefaultResponse, + ContainerAppsGet200Response, + ContainerAppsGet404Response, + ContainerAppsGetDefaultResponse, + ContainerAppsCreateOrUpdate200Response, + ContainerAppsCreateOrUpdate201Response, + ContainerAppsCreateOrUpdateDefaultResponse, + ContainerAppsDelete200Response, + ContainerAppsDelete202Response, + ContainerAppsDelete204Response, + ContainerAppsDeleteDefaultResponse, + ContainerAppsListSecrets200Response, + ContainerAppsListSecretsDefaultResponse, + ContainerAppsRevisionsListRevisions200Response, + ContainerAppsRevisionsListRevisionsDefaultResponse, + ContainerAppsRevisionsGetRevision200Response, + ContainerAppsRevisionsGetRevisionDefaultResponse, + ContainerAppsRevisionsActivateRevision200Response, + ContainerAppsRevisionsActivateRevisionDefaultResponse, + ContainerAppsRevisionsDeactivateRevision200Response, + ContainerAppsRevisionsDeactivateRevisionDefaultResponse, + ContainerAppsRevisionsRestartRevision200Response, + ContainerAppsRevisionsRestartRevisionDefaultResponse, + DeletedWebAppsList200Response, + DeletedWebAppsListDefaultResponse, + DeletedWebAppsListByLocation200Response, + DeletedWebAppsListByLocationDefaultResponse, + DeletedWebAppsGetDeletedWebAppByLocation200Response, + DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse, + DiagnosticsListHostingEnvironmentDetectorResponses200Response, + DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse, + DiagnosticsGetHostingEnvironmentDetectorResponse200Response, + DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse, + DiagnosticsListSiteDetectorResponses200Response, + DiagnosticsListSiteDetectorResponsesDefaultResponse, + DiagnosticsGetSiteDetectorResponse200Response, + DiagnosticsGetSiteDetectorResponseDefaultResponse, + DiagnosticsListSiteDiagnosticCategories200Response, + DiagnosticsListSiteDiagnosticCategoriesDefaultResponse, + DiagnosticsGetSiteDiagnosticCategory200Response, + DiagnosticsGetSiteDiagnosticCategoryDefaultResponse, + DiagnosticsListSiteAnalyses200Response, + DiagnosticsListSiteAnalysesDefaultResponse, + DiagnosticsGetSiteAnalysis200Response, + DiagnosticsGetSiteAnalysisDefaultResponse, + DiagnosticsExecuteSiteAnalysis200Response, + DiagnosticsExecuteSiteAnalysisDefaultResponse, + DiagnosticsListSiteDetectors200Response, + DiagnosticsListSiteDetectorsDefaultResponse, + DiagnosticsGetSiteDetector200Response, + DiagnosticsGetSiteDetectorDefaultResponse, + DiagnosticsExecuteSiteDetector200Response, + DiagnosticsExecuteSiteDetectorDefaultResponse, + DiagnosticsListSiteDetectorResponsesSlot200Response, + DiagnosticsListSiteDetectorResponsesSlotDefaultResponse, + DiagnosticsGetSiteDetectorResponseSlot200Response, + DiagnosticsGetSiteDetectorResponseSlotDefaultResponse, + DiagnosticsListSiteDiagnosticCategoriesSlot200Response, + DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse, + DiagnosticsGetSiteDiagnosticCategorySlot200Response, + DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse, + DiagnosticsListSiteAnalysesSlot200Response, + DiagnosticsListSiteAnalysesSlotDefaultResponse, + DiagnosticsGetSiteAnalysisSlot200Response, + DiagnosticsGetSiteAnalysisSlotDefaultResponse, + DiagnosticsExecuteSiteAnalysisSlot200Response, + DiagnosticsExecuteSiteAnalysisSlotDefaultResponse, + DiagnosticsListSiteDetectorsSlot200Response, + DiagnosticsListSiteDetectorsSlotDefaultResponse, + DiagnosticsGetSiteDetectorSlot200Response, + DiagnosticsGetSiteDetectorSlotDefaultResponse, + DiagnosticsExecuteSiteDetectorSlot200Response, + DiagnosticsExecuteSiteDetectorSlotDefaultResponse, + GlobalGetDeletedWebApp200Response, + GlobalGetDeletedWebAppDefaultResponse, + GlobalGetDeletedWebAppSnapshots200Response, + GlobalGetDeletedWebAppSnapshotsDefaultResponse, + GlobalGetSubscriptionOperationWithAsyncResponse204Response, + GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse, + KubeEnvironmentsListBySubscription200Response, + KubeEnvironmentsListBySubscriptionDefaultResponse, + KubeEnvironmentsListByResourceGroup200Response, + KubeEnvironmentsListByResourceGroupDefaultResponse, + KubeEnvironmentsGet200Response, + KubeEnvironmentsGetDefaultResponse, + KubeEnvironmentsCreateOrUpdate200Response, + KubeEnvironmentsCreateOrUpdate201Response, + KubeEnvironmentsCreateOrUpdateDefaultResponse, + KubeEnvironmentsDelete200Response, + KubeEnvironmentsDelete202Response, + KubeEnvironmentsDelete204Response, + KubeEnvironmentsDeleteDefaultResponse, + KubeEnvironmentsUpdate200Response, + KubeEnvironmentsUpdate201Response, + KubeEnvironmentsUpdateDefaultResponse, + ProviderGetAvailableStacks200Response, + ProviderGetAvailableStacksDefaultResponse, + ProviderGetFunctionAppStacks200Response, + ProviderGetFunctionAppStacksDefaultResponse, + ProviderGetFunctionAppStacksForLocation200Response, + ProviderGetFunctionAppStacksForLocationDefaultResponse, + ProviderGetWebAppStacksForLocation200Response, + ProviderGetWebAppStacksForLocationDefaultResponse, + ProviderListOperations200Response, + ProviderListOperationsDefaultResponse, + ProviderGetWebAppStacks200Response, + ProviderGetWebAppStacksDefaultResponse, + ProviderGetAvailableStacksOnPrem200Response, + ProviderGetAvailableStacksOnPremDefaultResponse, + RecommendationsList200Response, + RecommendationsListDefaultResponse, + RecommendationsResetAllFilters204Response, + RecommendationsResetAllFiltersDefaultResponse, + RecommendationsDisableRecommendationForSubscription200Response, + RecommendationsDisableRecommendationForSubscriptionDefaultResponse, + RecommendationsListHistoryForHostingEnvironment200Response, + RecommendationsListHistoryForHostingEnvironmentDefaultResponse, + RecommendationsListRecommendedRulesForHostingEnvironment200Response, + RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse, + RecommendationsDisableAllForHostingEnvironment204Response, + RecommendationsDisableAllForHostingEnvironmentDefaultResponse, + RecommendationsResetAllFiltersForHostingEnvironment204Response, + RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse, + RecommendationsGetRuleDetailsByHostingEnvironment200Response, + RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse, + RecommendationsDisableRecommendationForHostingEnvironment200Response, + RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse, + RecommendationsListHistoryForWebApp200Response, + RecommendationsListHistoryForWebAppDefaultResponse, + RecommendationsListRecommendedRulesForWebApp200Response, + RecommendationsListRecommendedRulesForWebAppDefaultResponse, + RecommendationsDisableAllForWebApp204Response, + RecommendationsDisableAllForWebAppDefaultResponse, + RecommendationsResetAllFiltersForWebApp204Response, + RecommendationsResetAllFiltersForWebAppDefaultResponse, + RecommendationsGetRuleDetailsByWebApp200Response, + RecommendationsGetRuleDetailsByWebAppDefaultResponse, + RecommendationsDisableRecommendationForSite200Response, + RecommendationsDisableRecommendationForSiteDefaultResponse, + ResourceHealthMetadataList200Response, + ResourceHealthMetadataListDefaultResponse, + ResourceHealthMetadataListByResourceGroup200Response, + ResourceHealthMetadataListByResourceGroupDefaultResponse, + ResourceHealthMetadataListBySite200Response, + ResourceHealthMetadataListBySiteDefaultResponse, + ResourceHealthMetadataGetBySite200Response, + ResourceHealthMetadataGetBySiteDefaultResponse, + ResourceHealthMetadataListBySiteSlot200Response, + ResourceHealthMetadataListBySiteSlotDefaultResponse, + ResourceHealthMetadataGetBySiteSlot200Response, + ResourceHealthMetadataGetBySiteSlotDefaultResponse, + GetPublishingUser200Response, + GetPublishingUserDefaultResponse, + UpdatePublishingUser200Response, + UpdatePublishingUserDefaultResponse, + ListSourceControls200Response, + ListSourceControlsDefaultResponse, + GetSourceControl200Response, + GetSourceControlDefaultResponse, + UpdateSourceControl200Response, + UpdateSourceControlDefaultResponse, + ListBillingMeters200Response, + ListBillingMetersDefaultResponse, + CheckNameAvailability200Response, + CheckNameAvailabilityDefaultResponse, + ListCustomHostNameSites200Response, + ListCustomHostNameSitesDefaultResponse, + GetSubscriptionDeploymentLocations200Response, + GetSubscriptionDeploymentLocationsDefaultResponse, + ListGeoRegions200Response, + ListGeoRegionsDefaultResponse, + ListSiteIdentifiersAssignedToHostName200Response, + ListSiteIdentifiersAssignedToHostNameDefaultResponse, + ListPremierAddOnOffers200Response, + ListPremierAddOnOffersDefaultResponse, + ListSkus200Response, + ListSkusDefaultResponse, + VerifyHostingEnvironmentVnet200Response, + VerifyHostingEnvironmentVnetDefaultResponse, + Move204Response, + MoveDefaultResponse, + Validate200Response, + ValidateDefaultResponse, + ValidateMove204Response, + ValidateMoveDefaultResponse, + StaticSitesPreviewWorkflow200Response, + StaticSitesPreviewWorkflowDefaultResponse, + StaticSitesList200Response, + StaticSitesListDefaultResponse, + StaticSitesGetStaticSitesByResourceGroup200Response, + StaticSitesGetStaticSitesByResourceGroupDefaultResponse, + StaticSitesGetStaticSite200Response, + StaticSitesGetStaticSiteDefaultResponse, + StaticSitesCreateOrUpdateStaticSite200Response, + StaticSitesCreateOrUpdateStaticSite202Response, + StaticSitesCreateOrUpdateStaticSiteDefaultResponse, + StaticSitesDeleteStaticSite200Response, + StaticSitesDeleteStaticSite202Response, + StaticSitesDeleteStaticSiteDefaultResponse, + StaticSitesUpdateStaticSite200Response, + StaticSitesUpdateStaticSite202Response, + StaticSitesUpdateStaticSiteDefaultResponse, + StaticSitesListStaticSiteUsers200Response, + StaticSitesListStaticSiteUsersDefaultResponse, + StaticSitesDeleteStaticSiteUser200Response, + StaticSitesDeleteStaticSiteUserDefaultResponse, + StaticSitesUpdateStaticSiteUser200Response, + StaticSitesUpdateStaticSiteUserDefaultResponse, + StaticSitesGetStaticSiteBuilds200Response, + StaticSitesGetStaticSiteBuildsDefaultResponse, + StaticSitesGetStaticSiteBuild200Response, + StaticSitesGetStaticSiteBuildDefaultResponse, + StaticSitesDeleteStaticSiteBuild200Response, + StaticSitesDeleteStaticSiteBuild202Response, + StaticSitesDeleteStaticSiteBuild204Response, + StaticSitesDeleteStaticSiteBuildDefaultResponse, + StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response, + StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse, + StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response, + StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse, + StaticSitesListStaticSiteBuildFunctions200Response, + StaticSitesListStaticSiteBuildFunctionsDefaultResponse, + StaticSitesListStaticSiteBuildAppSettings200Response, + StaticSitesListStaticSiteBuildAppSettingsDefaultResponse, + StaticSitesListStaticSiteBuildFunctionAppSettings200Response, + StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse, + StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response, + StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse, + StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response, + StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse, + StaticSitesCreateZipDeploymentForStaticSiteBuild200Response, + StaticSitesCreateZipDeploymentForStaticSiteBuild202Response, + StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse, + StaticSitesCreateOrUpdateStaticSiteAppSettings200Response, + StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse, + StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response, + StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse, + StaticSitesCreateUserRolesInvitationLink200Response, + StaticSitesCreateUserRolesInvitationLinkDefaultResponse, + StaticSitesListStaticSiteCustomDomains200Response, + StaticSitesListStaticSiteCustomDomainsDefaultResponse, + StaticSitesGetStaticSiteCustomDomain200Response, + StaticSitesGetStaticSiteCustomDomainDefaultResponse, + StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response, + StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response, + StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse, + StaticSitesDeleteStaticSiteCustomDomain200Response, + StaticSitesDeleteStaticSiteCustomDomain202Response, + StaticSitesDeleteStaticSiteCustomDomainDefaultResponse, + StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response, + StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response, + StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse, + StaticSitesDetachStaticSite200Response, + StaticSitesDetachStaticSite202Response, + StaticSitesDetachStaticSiteDefaultResponse, + StaticSitesListStaticSiteFunctions200Response, + StaticSitesListStaticSiteFunctionsDefaultResponse, + StaticSitesListStaticSiteAppSettings200Response, + StaticSitesListStaticSiteAppSettingsDefaultResponse, + StaticSitesListStaticSiteConfiguredRoles200Response, + StaticSitesListStaticSiteConfiguredRolesDefaultResponse, + StaticSitesListStaticSiteFunctionAppSettings200Response, + StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse, + StaticSitesListStaticSiteSecrets200Response, + StaticSitesListStaticSiteSecretsDefaultResponse, + StaticSitesGetPrivateEndpointConnectionList200Response, + StaticSitesGetPrivateEndpointConnectionListDefaultResponse, + StaticSitesGetPrivateEndpointConnection200Response, + StaticSitesGetPrivateEndpointConnectionDefaultResponse, + StaticSitesApproveOrRejectPrivateEndpointConnection200Response, + StaticSitesApproveOrRejectPrivateEndpointConnection202Response, + StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse, + StaticSitesDeletePrivateEndpointConnection200Response, + StaticSitesDeletePrivateEndpointConnection202Response, + StaticSitesDeletePrivateEndpointConnection204Response, + StaticSitesDeletePrivateEndpointConnectionDefaultResponse, + StaticSitesGetPrivateLinkResources200Response, + StaticSitesGetPrivateLinkResourcesDefaultResponse, + StaticSitesResetStaticSiteApiKey200Response, + StaticSitesResetStaticSiteApiKeyDefaultResponse, + StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response, + StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse, + StaticSitesGetUserProvidedFunctionAppForStaticSite200Response, + StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response, + StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse, + StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response, + StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response, + StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse, + StaticSitesCreateZipDeploymentForStaticSite200Response, + StaticSitesCreateZipDeploymentForStaticSite202Response, + StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse, + WebAppsList200Response, + WebAppsListDefaultResponse, + WebAppsListByResourceGroup200Response, + WebAppsListByResourceGroupDefaultResponse, + WebAppsGet200Response, + WebAppsGet404Response, + WebAppsGetDefaultResponse, + WebAppsCreateOrUpdate200Response, + WebAppsCreateOrUpdate202Response, + WebAppsCreateOrUpdateDefaultResponse, + WebAppsDelete200Response, + WebAppsDelete204Response, + WebAppsDelete404Response, + WebAppsDeleteDefaultResponse, + WebAppsUpdate200Response, + WebAppsUpdate202Response, + WebAppsUpdateDefaultResponse, + WebAppsAnalyzeCustomHostname200Response, + WebAppsAnalyzeCustomHostnameDefaultResponse, + WebAppsApplySlotConfigToProduction200Response, + WebAppsApplySlotConfigToProductionDefaultResponse, + WebAppsBackup200Response, + WebAppsBackupDefaultResponse, + WebAppsListBackups200Response, + WebAppsListBackupsDefaultResponse, + WebAppsGetBackupStatus200Response, + WebAppsGetBackupStatusDefaultResponse, + WebAppsDeleteBackup200Response, + WebAppsDeleteBackup404Response, + WebAppsDeleteBackupDefaultResponse, + WebAppsListBackupStatusSecrets200Response, + WebAppsListBackupStatusSecretsDefaultResponse, + WebAppsRestore200Response, + WebAppsRestore202Response, + WebAppsRestoreDefaultResponse, + WebAppsListBasicPublishingCredentialsPolicies200Response, + WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse, + WebAppsGetFtpAllowed200Response, + WebAppsGetFtpAllowedDefaultResponse, + WebAppsUpdateFtpAllowed200Response, + WebAppsUpdateFtpAllowedDefaultResponse, + WebAppsGetScmAllowed200Response, + WebAppsGetScmAllowedDefaultResponse, + WebAppsUpdateScmAllowed200Response, + WebAppsUpdateScmAllowedDefaultResponse, + WebAppsListConfigurations200Response, + WebAppsListConfigurationsDefaultResponse, + WebAppsUpdateApplicationSettings200Response, + WebAppsUpdateApplicationSettingsDefaultResponse, + WebAppsListApplicationSettings200Response, + WebAppsListApplicationSettingsDefaultResponse, + WebAppsUpdateAuthSettings200Response, + WebAppsUpdateAuthSettingsDefaultResponse, + WebAppsGetAuthSettings200Response, + WebAppsGetAuthSettingsDefaultResponse, + WebAppsGetAuthSettingsV2WithoutSecrets200Response, + WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse, + WebAppsUpdateAuthSettingsV2200Response, + WebAppsUpdateAuthSettingsV2DefaultResponse, + WebAppsGetAuthSettingsV2200Response, + WebAppsGetAuthSettingsV2DefaultResponse, + WebAppsUpdateAzureStorageAccounts200Response, + WebAppsUpdateAzureStorageAccountsDefaultResponse, + WebAppsListAzureStorageAccounts200Response, + WebAppsListAzureStorageAccountsDefaultResponse, + WebAppsUpdateBackupConfiguration200Response, + WebAppsUpdateBackupConfigurationDefaultResponse, + WebAppsDeleteBackupConfiguration200Response, + WebAppsDeleteBackupConfigurationDefaultResponse, + WebAppsGetBackupConfiguration200Response, + WebAppsGetBackupConfigurationDefaultResponse, + WebAppsGetAppSettingsKeyVaultReferences200Response, + WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse, + WebAppsGetAppSettingKeyVaultReference200Response, + WebAppsGetAppSettingKeyVaultReferenceDefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferences200Response, + WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReference200Response, + WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse, + WebAppsUpdateConnectionStrings200Response, + WebAppsUpdateConnectionStringsDefaultResponse, + WebAppsListConnectionStrings200Response, + WebAppsListConnectionStringsDefaultResponse, + WebAppsGetDiagnosticLogsConfiguration200Response, + WebAppsGetDiagnosticLogsConfigurationDefaultResponse, + WebAppsUpdateDiagnosticLogsConfig200Response, + WebAppsUpdateDiagnosticLogsConfigDefaultResponse, + WebAppsUpdateMetadata200Response, + WebAppsUpdateMetadataDefaultResponse, + WebAppsListMetadata200Response, + WebAppsListMetadataDefaultResponse, + WebAppsListPublishingCredentials200Response, + WebAppsListPublishingCredentialsDefaultResponse, + WebAppsUpdateSitePushSettings200Response, + WebAppsUpdateSitePushSettingsDefaultResponse, + WebAppsListSitePushSettings200Response, + WebAppsListSitePushSettingsDefaultResponse, + WebAppsListSlotConfigurationNames200Response, + WebAppsListSlotConfigurationNamesDefaultResponse, + WebAppsUpdateSlotConfigurationNames200Response, + WebAppsUpdateSlotConfigurationNamesDefaultResponse, + WebAppsGetConfiguration200Response, + WebAppsGetConfigurationDefaultResponse, + WebAppsCreateOrUpdateConfiguration200Response, + WebAppsCreateOrUpdateConfigurationDefaultResponse, + WebAppsUpdateConfiguration200Response, + WebAppsUpdateConfigurationDefaultResponse, + WebAppsListConfigurationSnapshotInfo200Response, + WebAppsListConfigurationSnapshotInfoDefaultResponse, + WebAppsGetConfigurationSnapshot200Response, + WebAppsGetConfigurationSnapshotDefaultResponse, + WebAppsRecoverSiteConfigurationSnapshot204Response, + WebAppsRecoverSiteConfigurationSnapshotDefaultResponse, + WebAppsGetWebSiteContainerLogs200Response, + WebAppsGetWebSiteContainerLogs204Response, + WebAppsGetWebSiteContainerLogsDefaultResponse, + WebAppsGetContainerLogsZip200Response, + WebAppsGetContainerLogsZip204Response, + WebAppsGetContainerLogsZipDefaultResponse, + WebAppsListContinuousWebJobs200Response, + WebAppsListContinuousWebJobsDefaultResponse, + WebAppsGetContinuousWebJob200Response, + WebAppsGetContinuousWebJob404Response, + WebAppsGetContinuousWebJobDefaultResponse, + WebAppsDeleteContinuousWebJob200Response, + WebAppsDeleteContinuousWebJob204Response, + WebAppsDeleteContinuousWebJobDefaultResponse, + WebAppsStartContinuousWebJob200Response, + WebAppsStartContinuousWebJob404Response, + WebAppsStartContinuousWebJobDefaultResponse, + WebAppsStopContinuousWebJob200Response, + WebAppsStopContinuousWebJob404Response, + WebAppsStopContinuousWebJobDefaultResponse, + WebAppsListDeployments200Response, + WebAppsListDeploymentsDefaultResponse, + WebAppsGetDeployment200Response, + WebAppsGetDeploymentDefaultResponse, + WebAppsCreateDeployment200Response, + WebAppsCreateDeploymentDefaultResponse, + WebAppsDeleteDeployment200Response, + WebAppsDeleteDeployment204Response, + WebAppsDeleteDeploymentDefaultResponse, + WebAppsListDeploymentLog200Response, + WebAppsListDeploymentLogDefaultResponse, + WebAppsDiscoverBackup200Response, + WebAppsDiscoverBackupDefaultResponse, + WebAppsListDomainOwnershipIdentifiers200Response, + WebAppsListDomainOwnershipIdentifiersDefaultResponse, + WebAppsGetDomainOwnershipIdentifier200Response, + WebAppsGetDomainOwnershipIdentifierDefaultResponse, + WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response, + WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse, + WebAppsDeleteDomainOwnershipIdentifier200Response, + WebAppsDeleteDomainOwnershipIdentifier204Response, + WebAppsDeleteDomainOwnershipIdentifierDefaultResponse, + WebAppsUpdateDomainOwnershipIdentifier200Response, + WebAppsUpdateDomainOwnershipIdentifierDefaultResponse, + WebAppsGetMSDeployStatus200Response, + WebAppsGetMSDeployStatusDefaultResponse, + WebAppsCreateMSDeployOperation201Response, + WebAppsCreateMSDeployOperation409Response, + WebAppsCreateMSDeployOperationDefaultResponse, + WebAppsGetMSDeployLog200Response, + WebAppsGetMSDeployLog404Response, + WebAppsGetMSDeployLogDefaultResponse, + WebAppsGetOneDeployStatus200Response, + WebAppsGetOneDeployStatusDefaultResponse, + WebAppsCreateOneDeployOperation200Response, + WebAppsCreateOneDeployOperationDefaultResponse, + WebAppsListFunctions200Response, + WebAppsListFunctions404Response, + WebAppsListFunctionsDefaultResponse, + WebAppsGetFunctionsAdminToken200Response, + WebAppsGetFunctionsAdminTokenDefaultResponse, + WebAppsGetFunction200Response, + WebAppsGetFunction404Response, + WebAppsGetFunctionDefaultResponse, + WebAppsCreateFunction201Response, + WebAppsCreateFunctionDefaultResponse, + WebAppsDeleteFunction204Response, + WebAppsDeleteFunction404Response, + WebAppsDeleteFunctionDefaultResponse, + WebAppsCreateOrUpdateFunctionSecret200Response, + WebAppsCreateOrUpdateFunctionSecret201Response, + WebAppsCreateOrUpdateFunctionSecretDefaultResponse, + WebAppsDeleteFunctionSecret204Response, + WebAppsDeleteFunctionSecret404Response, + WebAppsDeleteFunctionSecretDefaultResponse, + WebAppsListFunctionKeys200Response, + WebAppsListFunctionKeysDefaultResponse, + WebAppsListFunctionSecrets200Response, + WebAppsListFunctionSecretsDefaultResponse, + WebAppsListHostKeys200Response, + WebAppsListHostKeysDefaultResponse, + WebAppsListSyncStatus204Response, + WebAppsListSyncStatusDefaultResponse, + WebAppsSyncFunctions204Response, + WebAppsSyncFunctionsDefaultResponse, + WebAppsCreateOrUpdateHostSecret200Response, + WebAppsCreateOrUpdateHostSecret201Response, + WebAppsCreateOrUpdateHostSecretDefaultResponse, + WebAppsDeleteHostSecret204Response, + WebAppsDeleteHostSecret404Response, + WebAppsDeleteHostSecretDefaultResponse, + WebAppsListHostNameBindings200Response, + WebAppsListHostNameBindingsDefaultResponse, + WebAppsGetHostNameBinding200Response, + WebAppsGetHostNameBindingDefaultResponse, + WebAppsCreateOrUpdateHostNameBinding200Response, + WebAppsCreateOrUpdateHostNameBindingDefaultResponse, + WebAppsDeleteHostNameBinding200Response, + WebAppsDeleteHostNameBinding204Response, + WebAppsDeleteHostNameBindingDefaultResponse, + WebAppsGetHybridConnection200Response, + WebAppsGetHybridConnectionDefaultResponse, + WebAppsCreateOrUpdateHybridConnection200Response, + WebAppsCreateOrUpdateHybridConnectionDefaultResponse, + WebAppsDeleteHybridConnection200Response, + WebAppsDeleteHybridConnection404Response, + WebAppsDeleteHybridConnectionDefaultResponse, + WebAppsUpdateHybridConnection200Response, + WebAppsUpdateHybridConnectionDefaultResponse, + WebAppsListHybridConnections200Response, + WebAppsListHybridConnectionsDefaultResponse, + WebAppsListRelayServiceConnections200Response, + WebAppsListRelayServiceConnectionsDefaultResponse, + WebAppsGetRelayServiceConnection200Response, + WebAppsGetRelayServiceConnectionDefaultResponse, + WebAppsCreateOrUpdateRelayServiceConnection200Response, + WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse, + WebAppsDeleteRelayServiceConnection200Response, + WebAppsDeleteRelayServiceConnection404Response, + WebAppsDeleteRelayServiceConnectionDefaultResponse, + WebAppsUpdateRelayServiceConnection200Response, + WebAppsUpdateRelayServiceConnectionDefaultResponse, + WebAppsListInstanceIdentifiers200Response, + WebAppsListInstanceIdentifiersDefaultResponse, + WebAppsGetInstanceInfo200Response, + WebAppsGetInstanceInfoDefaultResponse, + WebAppsGetInstanceMsDeployStatus200Response, + WebAppsGetInstanceMsDeployStatusDefaultResponse, + WebAppsCreateInstanceMSDeployOperation201Response, + WebAppsCreateInstanceMSDeployOperation409Response, + WebAppsCreateInstanceMSDeployOperationDefaultResponse, + WebAppsGetInstanceMSDeployLog200Response, + WebAppsGetInstanceMSDeployLog404Response, + WebAppsGetInstanceMSDeployLogDefaultResponse, + WebAppsListInstanceProcesses200Response, + WebAppsListInstanceProcesses404Response, + WebAppsListInstanceProcessesDefaultResponse, + WebAppsGetInstanceProcess200Response, + WebAppsGetInstanceProcess404Response, + WebAppsGetInstanceProcessDefaultResponse, + WebAppsDeleteInstanceProcess204Response, + WebAppsDeleteInstanceProcess404Response, + WebAppsDeleteInstanceProcessDefaultResponse, + WebAppsGetInstanceProcessDump200Response, + WebAppsGetInstanceProcessDump404Response, + WebAppsGetInstanceProcessDumpDefaultResponse, + WebAppsListInstanceProcessModules200Response, + WebAppsListInstanceProcessModules404Response, + WebAppsListInstanceProcessModulesDefaultResponse, + WebAppsGetInstanceProcessModule200Response, + WebAppsGetInstanceProcessModule404Response, + WebAppsGetInstanceProcessModuleDefaultResponse, + WebAppsListInstanceProcessThreads200Response, + WebAppsListInstanceProcessThreads404Response, + WebAppsListInstanceProcessThreadsDefaultResponse, + WebAppsIsCloneable200Response, + WebAppsIsCloneableDefaultResponse, + WebAppsListSiteBackups200Response, + WebAppsListSiteBackupsDefaultResponse, + WebAppsListSyncFunctionTriggers200Response, + WebAppsListSyncFunctionTriggersDefaultResponse, + WebAppsMigrateStorage200Response, + WebAppsMigrateStorageDefaultResponse, + WebAppsMigrateMySql200Response, + WebAppsMigrateMySqlDefaultResponse, + WebAppsGetMigrateMySqlStatus200Response, + WebAppsGetMigrateMySqlStatusDefaultResponse, + WebAppsGetSwiftVirtualNetworkConnection200Response, + WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, + WebAppsDeleteSwiftVirtualNetwork200Response, + WebAppsDeleteSwiftVirtualNetwork404Response, + WebAppsDeleteSwiftVirtualNetworkDefaultResponse, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, + WebAppsListNetworkFeatures200Response, + WebAppsListNetworkFeatures404Response, + WebAppsListNetworkFeaturesDefaultResponse, + WebAppsGetNetworkTraceOperation200Response, + WebAppsGetNetworkTraceOperation202Response, + WebAppsGetNetworkTraceOperationDefaultResponse, + WebAppsStartWebSiteNetworkTrace200Response, + WebAppsStartWebSiteNetworkTraceDefaultResponse, + WebAppsStartWebSiteNetworkTraceOperation200Response, + WebAppsStartWebSiteNetworkTraceOperation202Response, + WebAppsStartWebSiteNetworkTraceOperationDefaultResponse, + WebAppsStopWebSiteNetworkTrace200Response, + WebAppsStopWebSiteNetworkTrace204Response, + WebAppsStopWebSiteNetworkTraceDefaultResponse, + WebAppsGetNetworkTraces200Response, + WebAppsGetNetworkTracesDefaultResponse, + WebAppsGetNetworkTraceOperationV2200Response, + WebAppsGetNetworkTraceOperationV2202Response, + WebAppsGetNetworkTraceOperationV2DefaultResponse, + WebAppsGetNetworkTracesV2200Response, + WebAppsGetNetworkTracesV2DefaultResponse, + WebAppsGenerateNewSitePublishingPassword200Response, + WebAppsGenerateNewSitePublishingPassword204Response, + WebAppsGenerateNewSitePublishingPasswordDefaultResponse, + WebAppsListPerfMonCounters200Response, + WebAppsListPerfMonCountersDefaultResponse, + WebAppsGetSitePhpErrorLogFlag200Response, + WebAppsGetSitePhpErrorLogFlagDefaultResponse, + WebAppsListPremierAddOns200Response, + WebAppsListPremierAddOnsDefaultResponse, + WebAppsGetPremierAddOn200Response, + WebAppsGetPremierAddOnDefaultResponse, + WebAppsAddPremierAddOn200Response, + WebAppsAddPremierAddOnDefaultResponse, + WebAppsDeletePremierAddOn200Response, + WebAppsDeletePremierAddOnDefaultResponse, + WebAppsUpdatePremierAddOn200Response, + WebAppsUpdatePremierAddOnDefaultResponse, + WebAppsGetPrivateAccess200Response, + WebAppsGetPrivateAccessDefaultResponse, + WebAppsPutPrivateAccessVnet200Response, + WebAppsPutPrivateAccessVnetDefaultResponse, + WebAppsGetPrivateEndpointConnectionList200Response, + WebAppsGetPrivateEndpointConnectionListDefaultResponse, + WebAppsGetPrivateEndpointConnection200Response, + WebAppsGetPrivateEndpointConnectionDefaultResponse, + WebAppsApproveOrRejectPrivateEndpointConnection200Response, + WebAppsApproveOrRejectPrivateEndpointConnection202Response, + WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse, + WebAppsDeletePrivateEndpointConnection200Response, + WebAppsDeletePrivateEndpointConnection202Response, + WebAppsDeletePrivateEndpointConnection204Response, + WebAppsDeletePrivateEndpointConnectionDefaultResponse, + WebAppsGetPrivateLinkResources200Response, + WebAppsGetPrivateLinkResourcesDefaultResponse, + WebAppsListProcesses200Response, + WebAppsListProcesses404Response, + WebAppsListProcessesDefaultResponse, + WebAppsGetProcess200Response, + WebAppsGetProcess404Response, + WebAppsGetProcessDefaultResponse, + WebAppsDeleteProcess204Response, + WebAppsDeleteProcess404Response, + WebAppsDeleteProcessDefaultResponse, + WebAppsGetProcessDump200Response, + WebAppsGetProcessDump404Response, + WebAppsGetProcessDumpDefaultResponse, + WebAppsListProcessModules200Response, + WebAppsListProcessModules404Response, + WebAppsListProcessModulesDefaultResponse, + WebAppsGetProcessModule200Response, + WebAppsGetProcessModule404Response, + WebAppsGetProcessModuleDefaultResponse, + WebAppsListProcessThreads200Response, + WebAppsListProcessThreads404Response, + WebAppsListProcessThreadsDefaultResponse, + WebAppsListPublicCertificates200Response, + WebAppsListPublicCertificatesDefaultResponse, + WebAppsGetPublicCertificate200Response, + WebAppsGetPublicCertificateDefaultResponse, + WebAppsCreateOrUpdatePublicCertificate200Response, + WebAppsCreateOrUpdatePublicCertificateDefaultResponse, + WebAppsDeletePublicCertificate200Response, + WebAppsDeletePublicCertificate204Response, + WebAppsDeletePublicCertificateDefaultResponse, + WebAppsListPublishingProfileXmlWithSecrets200Response, + WebAppsListPublishingProfileXmlWithSecretsDefaultResponse, + WebAppsResetProductionSlotConfig200Response, + WebAppsResetProductionSlotConfigDefaultResponse, + WebAppsRestart200Response, + WebAppsRestartDefaultResponse, + WebAppsRestoreFromBackupBlob200Response, + WebAppsRestoreFromBackupBlob202Response, + WebAppsRestoreFromBackupBlobDefaultResponse, + WebAppsRestoreFromDeletedApp200Response, + WebAppsRestoreFromDeletedApp202Response, + WebAppsRestoreFromDeletedAppDefaultResponse, + WebAppsRestoreSnapshot200Response, + WebAppsRestoreSnapshot202Response, + WebAppsRestoreSnapshotDefaultResponse, + WebAppsListSiteExtensions200Response, + WebAppsListSiteExtensions404Response, + WebAppsListSiteExtensionsDefaultResponse, + WebAppsGetSiteExtension200Response, + WebAppsGetSiteExtension404Response, + WebAppsGetSiteExtensionDefaultResponse, + WebAppsInstallSiteExtension200Response, + WebAppsInstallSiteExtension201Response, + WebAppsInstallSiteExtension429Response, + WebAppsInstallSiteExtensionDefaultResponse, + WebAppsDeleteSiteExtension204Response, + WebAppsDeleteSiteExtension404Response, + WebAppsDeleteSiteExtensionDefaultResponse, + WebAppsListSlots200Response, + WebAppsListSlotsDefaultResponse, + WebAppsGetSlot200Response, + WebAppsGetSlot404Response, + WebAppsGetSlotDefaultResponse, + WebAppsCreateOrUpdateSlot200Response, + WebAppsCreateOrUpdateSlot202Response, + WebAppsCreateOrUpdateSlotDefaultResponse, + WebAppsDeleteSlot200Response, + WebAppsDeleteSlot204Response, + WebAppsDeleteSlot404Response, + WebAppsDeleteSlotDefaultResponse, + WebAppsUpdateSlot200Response, + WebAppsUpdateSlot202Response, + WebAppsUpdateSlotDefaultResponse, + WebAppsAnalyzeCustomHostnameSlot200Response, + WebAppsAnalyzeCustomHostnameSlotDefaultResponse, + WebAppsApplySlotConfigurationSlot200Response, + WebAppsApplySlotConfigurationSlotDefaultResponse, + WebAppsBackupSlot200Response, + WebAppsBackupSlotDefaultResponse, + WebAppsListBackupsSlot200Response, + WebAppsListBackupsSlotDefaultResponse, + WebAppsGetBackupStatusSlot200Response, + WebAppsGetBackupStatusSlotDefaultResponse, + WebAppsDeleteBackupSlot200Response, + WebAppsDeleteBackupSlot404Response, + WebAppsDeleteBackupSlotDefaultResponse, + WebAppsListBackupStatusSecretsSlot200Response, + WebAppsListBackupStatusSecretsSlotDefaultResponse, + WebAppsRestoreSlot200Response, + WebAppsRestoreSlot202Response, + WebAppsRestoreSlotDefaultResponse, + WebAppsListBasicPublishingCredentialsPoliciesSlot200Response, + WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse, + WebAppsGetFtpAllowedSlot200Response, + WebAppsGetFtpAllowedSlotDefaultResponse, + WebAppsUpdateFtpAllowedSlot200Response, + WebAppsUpdateFtpAllowedSlotDefaultResponse, + WebAppsGetScmAllowedSlot200Response, + WebAppsGetScmAllowedSlotDefaultResponse, + WebAppsUpdateScmAllowedSlot200Response, + WebAppsUpdateScmAllowedSlotDefaultResponse, + WebAppsListConfigurationsSlot200Response, + WebAppsListConfigurationsSlotDefaultResponse, + WebAppsUpdateApplicationSettingsSlot200Response, + WebAppsUpdateApplicationSettingsSlotDefaultResponse, + WebAppsListApplicationSettingsSlot200Response, + WebAppsListApplicationSettingsSlotDefaultResponse, + WebAppsUpdateAuthSettingsSlot200Response, + WebAppsUpdateAuthSettingsSlotDefaultResponse, + WebAppsGetAuthSettingsSlot200Response, + WebAppsGetAuthSettingsSlotDefaultResponse, + WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response, + WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse, + WebAppsUpdateAuthSettingsV2Slot200Response, + WebAppsUpdateAuthSettingsV2SlotDefaultResponse, + WebAppsGetAuthSettingsV2Slot200Response, + WebAppsGetAuthSettingsV2SlotDefaultResponse, + WebAppsUpdateAzureStorageAccountsSlot200Response, + WebAppsUpdateAzureStorageAccountsSlotDefaultResponse, + WebAppsListAzureStorageAccountsSlot200Response, + WebAppsListAzureStorageAccountsSlotDefaultResponse, + WebAppsUpdateBackupConfigurationSlot200Response, + WebAppsUpdateBackupConfigurationSlotDefaultResponse, + WebAppsDeleteBackupConfigurationSlot200Response, + WebAppsDeleteBackupConfigurationSlotDefaultResponse, + WebAppsGetBackupConfigurationSlot200Response, + WebAppsGetBackupConfigurationSlotDefaultResponse, + WebAppsGetAppSettingsKeyVaultReferencesSlot200Response, + WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse, + WebAppsGetAppSettingKeyVaultReferenceSlot200Response, + WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response, + WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse, + WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response, + WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse, + WebAppsUpdateConnectionStringsSlot200Response, + WebAppsUpdateConnectionStringsSlotDefaultResponse, + WebAppsListConnectionStringsSlot200Response, + WebAppsListConnectionStringsSlotDefaultResponse, + WebAppsGetDiagnosticLogsConfigurationSlot200Response, + WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse, + WebAppsUpdateDiagnosticLogsConfigSlot200Response, + WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse, + WebAppsUpdateMetadataSlot200Response, + WebAppsUpdateMetadataSlotDefaultResponse, + WebAppsListMetadataSlot200Response, + WebAppsListMetadataSlotDefaultResponse, + WebAppsListPublishingCredentialsSlot200Response, + WebAppsListPublishingCredentialsSlotDefaultResponse, + WebAppsUpdateSitePushSettingsSlot200Response, + WebAppsUpdateSitePushSettingsSlotDefaultResponse, + WebAppsListSitePushSettingsSlot200Response, + WebAppsListSitePushSettingsSlotDefaultResponse, + WebAppsGetConfigurationSlot200Response, + WebAppsGetConfigurationSlotDefaultResponse, + WebAppsCreateOrUpdateConfigurationSlot200Response, + WebAppsCreateOrUpdateConfigurationSlotDefaultResponse, + WebAppsUpdateConfigurationSlot200Response, + WebAppsUpdateConfigurationSlotDefaultResponse, + WebAppsListConfigurationSnapshotInfoSlot200Response, + WebAppsListConfigurationSnapshotInfoSlotDefaultResponse, + WebAppsGetConfigurationSnapshotSlot200Response, + WebAppsGetConfigurationSnapshotSlotDefaultResponse, + WebAppsRecoverSiteConfigurationSnapshotSlot204Response, + WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse, + WebAppsGetWebSiteContainerLogsSlot200Response, + WebAppsGetWebSiteContainerLogsSlot204Response, + WebAppsGetWebSiteContainerLogsSlotDefaultResponse, + WebAppsGetContainerLogsZipSlot200Response, + WebAppsGetContainerLogsZipSlot204Response, + WebAppsGetContainerLogsZipSlotDefaultResponse, + WebAppsListContinuousWebJobsSlot200Response, + WebAppsListContinuousWebJobsSlotDefaultResponse, + WebAppsGetContinuousWebJobSlot200Response, + WebAppsGetContinuousWebJobSlot404Response, + WebAppsGetContinuousWebJobSlotDefaultResponse, + WebAppsDeleteContinuousWebJobSlot200Response, + WebAppsDeleteContinuousWebJobSlot204Response, + WebAppsDeleteContinuousWebJobSlotDefaultResponse, + WebAppsStartContinuousWebJobSlot200Response, + WebAppsStartContinuousWebJobSlot404Response, + WebAppsStartContinuousWebJobSlotDefaultResponse, + WebAppsStopContinuousWebJobSlot200Response, + WebAppsStopContinuousWebJobSlot404Response, + WebAppsStopContinuousWebJobSlotDefaultResponse, + WebAppsListDeploymentsSlot200Response, + WebAppsListDeploymentsSlotDefaultResponse, + WebAppsGetDeploymentSlot200Response, + WebAppsGetDeploymentSlotDefaultResponse, + WebAppsCreateDeploymentSlot200Response, + WebAppsCreateDeploymentSlotDefaultResponse, + WebAppsDeleteDeploymentSlot200Response, + WebAppsDeleteDeploymentSlot204Response, + WebAppsDeleteDeploymentSlotDefaultResponse, + WebAppsListDeploymentLogSlot200Response, + WebAppsListDeploymentLogSlotDefaultResponse, + WebAppsDiscoverBackupSlot200Response, + WebAppsDiscoverBackupSlotDefaultResponse, + WebAppsListDomainOwnershipIdentifiersSlot200Response, + WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse, + WebAppsGetDomainOwnershipIdentifierSlot200Response, + WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse, + WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response, + WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse, + WebAppsDeleteDomainOwnershipIdentifierSlot200Response, + WebAppsDeleteDomainOwnershipIdentifierSlot204Response, + WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse, + WebAppsUpdateDomainOwnershipIdentifierSlot200Response, + WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse, + WebAppsGetMSDeployStatusSlot200Response, + WebAppsGetMSDeployStatusSlotDefaultResponse, + WebAppsCreateMSDeployOperationSlot201Response, + WebAppsCreateMSDeployOperationSlot409Response, + WebAppsCreateMSDeployOperationSlotDefaultResponse, + WebAppsGetMSDeployLogSlot200Response, + WebAppsGetMSDeployLogSlot404Response, + WebAppsGetMSDeployLogSlotDefaultResponse, + WebAppsListInstanceFunctionsSlot200Response, + WebAppsListInstanceFunctionsSlot404Response, + WebAppsListInstanceFunctionsSlotDefaultResponse, + WebAppsGetFunctionsAdminTokenSlot200Response, + WebAppsGetFunctionsAdminTokenSlotDefaultResponse, + WebAppsGetInstanceFunctionSlot200Response, + WebAppsGetInstanceFunctionSlot404Response, + WebAppsGetInstanceFunctionSlotDefaultResponse, + WebAppsCreateInstanceFunctionSlot201Response, + WebAppsCreateInstanceFunctionSlotDefaultResponse, + WebAppsDeleteInstanceFunctionSlot204Response, + WebAppsDeleteInstanceFunctionSlot404Response, + WebAppsDeleteInstanceFunctionSlotDefaultResponse, + WebAppsCreateOrUpdateFunctionSecretSlot200Response, + WebAppsCreateOrUpdateFunctionSecretSlot201Response, + WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse, + WebAppsDeleteFunctionSecretSlot204Response, + WebAppsDeleteFunctionSecretSlot404Response, + WebAppsDeleteFunctionSecretSlotDefaultResponse, + WebAppsListFunctionKeysSlot200Response, + WebAppsListFunctionKeysSlotDefaultResponse, + WebAppsListFunctionSecretsSlot200Response, + WebAppsListFunctionSecretsSlotDefaultResponse, + WebAppsListHostKeysSlot200Response, + WebAppsListHostKeysSlotDefaultResponse, + WebAppsListSyncStatusSlot204Response, + WebAppsListSyncStatusSlotDefaultResponse, + WebAppsSyncFunctionsSlot204Response, + WebAppsSyncFunctionsSlotDefaultResponse, + WebAppsCreateOrUpdateHostSecretSlot200Response, + WebAppsCreateOrUpdateHostSecretSlot201Response, + WebAppsCreateOrUpdateHostSecretSlotDefaultResponse, + WebAppsDeleteHostSecretSlot204Response, + WebAppsDeleteHostSecretSlot404Response, + WebAppsDeleteHostSecretSlotDefaultResponse, + WebAppsListHostNameBindingsSlot200Response, + WebAppsListHostNameBindingsSlotDefaultResponse, + WebAppsGetHostNameBindingSlot200Response, + WebAppsGetHostNameBindingSlotDefaultResponse, + WebAppsCreateOrUpdateHostNameBindingSlot200Response, + WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse, + WebAppsDeleteHostNameBindingSlot200Response, + WebAppsDeleteHostNameBindingSlot204Response, + WebAppsDeleteHostNameBindingSlotDefaultResponse, + WebAppsGetHybridConnectionSlot200Response, + WebAppsGetHybridConnectionSlotDefaultResponse, + WebAppsCreateOrUpdateHybridConnectionSlot200Response, + WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse, + WebAppsDeleteHybridConnectionSlot200Response, + WebAppsDeleteHybridConnectionSlot404Response, + WebAppsDeleteHybridConnectionSlotDefaultResponse, + WebAppsUpdateHybridConnectionSlot200Response, + WebAppsUpdateHybridConnectionSlotDefaultResponse, + WebAppsListHybridConnectionsSlot200Response, + WebAppsListHybridConnectionsSlotDefaultResponse, + WebAppsListRelayServiceConnectionsSlot200Response, + WebAppsListRelayServiceConnectionsSlotDefaultResponse, + WebAppsGetRelayServiceConnectionSlot200Response, + WebAppsGetRelayServiceConnectionSlotDefaultResponse, + WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response, + WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse, + WebAppsDeleteRelayServiceConnectionSlot200Response, + WebAppsDeleteRelayServiceConnectionSlot404Response, + WebAppsDeleteRelayServiceConnectionSlotDefaultResponse, + WebAppsUpdateRelayServiceConnectionSlot200Response, + WebAppsUpdateRelayServiceConnectionSlotDefaultResponse, + WebAppsListInstanceIdentifiersSlot200Response, + WebAppsListInstanceIdentifiersSlotDefaultResponse, + WebAppsGetInstanceInfoSlot200Response, + WebAppsGetInstanceInfoSlotDefaultResponse, + WebAppsGetInstanceMsDeployStatusSlot200Response, + WebAppsGetInstanceMsDeployStatusSlotDefaultResponse, + WebAppsCreateInstanceMSDeployOperationSlot201Response, + WebAppsCreateInstanceMSDeployOperationSlot409Response, + WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse, + WebAppsGetInstanceMSDeployLogSlot200Response, + WebAppsGetInstanceMSDeployLogSlot404Response, + WebAppsGetInstanceMSDeployLogSlotDefaultResponse, + WebAppsListInstanceProcessesSlot200Response, + WebAppsListInstanceProcessesSlot404Response, + WebAppsListInstanceProcessesSlotDefaultResponse, + WebAppsGetInstanceProcessSlot200Response, + WebAppsGetInstanceProcessSlot404Response, + WebAppsGetInstanceProcessSlotDefaultResponse, + WebAppsDeleteInstanceProcessSlot204Response, + WebAppsDeleteInstanceProcessSlot404Response, + WebAppsDeleteInstanceProcessSlotDefaultResponse, + WebAppsGetInstanceProcessDumpSlot200Response, + WebAppsGetInstanceProcessDumpSlot404Response, + WebAppsGetInstanceProcessDumpSlotDefaultResponse, + WebAppsListInstanceProcessModulesSlot200Response, + WebAppsListInstanceProcessModulesSlot404Response, + WebAppsListInstanceProcessModulesSlotDefaultResponse, + WebAppsGetInstanceProcessModuleSlot200Response, + WebAppsGetInstanceProcessModuleSlot404Response, + WebAppsGetInstanceProcessModuleSlotDefaultResponse, + WebAppsListInstanceProcessThreadsSlot200Response, + WebAppsListInstanceProcessThreadsSlot404Response, + WebAppsListInstanceProcessThreadsSlotDefaultResponse, + WebAppsIsCloneableSlot200Response, + WebAppsIsCloneableSlotDefaultResponse, + WebAppsListSiteBackupsSlot200Response, + WebAppsListSiteBackupsSlotDefaultResponse, + WebAppsListSyncFunctionTriggersSlot200Response, + WebAppsListSyncFunctionTriggersSlotDefaultResponse, + WebAppsGetMigrateMySqlStatusSlot200Response, + WebAppsGetMigrateMySqlStatusSlotDefaultResponse, + WebAppsGetSwiftVirtualNetworkConnectionSlot200Response, + WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response, + WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, + WebAppsDeleteSwiftVirtualNetworkSlot200Response, + WebAppsDeleteSwiftVirtualNetworkSlot404Response, + WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response, + WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, + WebAppsListNetworkFeaturesSlot200Response, + WebAppsListNetworkFeaturesSlot404Response, + WebAppsListNetworkFeaturesSlotDefaultResponse, + WebAppsGetNetworkTraceOperationSlot200Response, + WebAppsGetNetworkTraceOperationSlot202Response, + WebAppsGetNetworkTraceOperationSlotDefaultResponse, + WebAppsStartWebSiteNetworkTraceSlot200Response, + WebAppsStartWebSiteNetworkTraceSlotDefaultResponse, + WebAppsStartWebSiteNetworkTraceOperationSlot200Response, + WebAppsStartWebSiteNetworkTraceOperationSlot202Response, + WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse, + WebAppsStopWebSiteNetworkTraceSlot200Response, + WebAppsStopWebSiteNetworkTraceSlot204Response, + WebAppsStopWebSiteNetworkTraceSlotDefaultResponse, + WebAppsGetNetworkTracesSlot200Response, + WebAppsGetNetworkTracesSlotDefaultResponse, + WebAppsGetNetworkTraceOperationSlotV2200Response, + WebAppsGetNetworkTraceOperationSlotV2202Response, + WebAppsGetNetworkTraceOperationSlotV2DefaultResponse, + WebAppsGetNetworkTracesSlotV2200Response, + WebAppsGetNetworkTracesSlotV2DefaultResponse, + WebAppsGenerateNewSitePublishingPasswordSlot200Response, + WebAppsGenerateNewSitePublishingPasswordSlot204Response, + WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse, + WebAppsListPerfMonCountersSlot200Response, + WebAppsListPerfMonCountersSlotDefaultResponse, + WebAppsGetSitePhpErrorLogFlagSlot200Response, + WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse, + WebAppsListPremierAddOnsSlot200Response, + WebAppsListPremierAddOnsSlotDefaultResponse, + WebAppsGetPremierAddOnSlot200Response, + WebAppsGetPremierAddOnSlotDefaultResponse, + WebAppsAddPremierAddOnSlot200Response, + WebAppsAddPremierAddOnSlotDefaultResponse, + WebAppsDeletePremierAddOnSlot200Response, + WebAppsDeletePremierAddOnSlotDefaultResponse, + WebAppsUpdatePremierAddOnSlot200Response, + WebAppsUpdatePremierAddOnSlotDefaultResponse, + WebAppsGetPrivateAccessSlot200Response, + WebAppsGetPrivateAccessSlotDefaultResponse, + WebAppsPutPrivateAccessVnetSlot200Response, + WebAppsPutPrivateAccessVnetSlotDefaultResponse, + WebAppsGetPrivateEndpointConnectionListSlot200Response, + WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse, + WebAppsGetPrivateEndpointConnectionSlot200Response, + WebAppsGetPrivateEndpointConnectionSlotDefaultResponse, + WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response, + WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response, + WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse, + WebAppsDeletePrivateEndpointConnectionSlot200Response, + WebAppsDeletePrivateEndpointConnectionSlot202Response, + WebAppsDeletePrivateEndpointConnectionSlot204Response, + WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse, + WebAppsGetPrivateLinkResourcesSlot200Response, + WebAppsGetPrivateLinkResourcesSlotDefaultResponse, + WebAppsListProcessesSlot200Response, + WebAppsListProcessesSlot404Response, + WebAppsListProcessesSlotDefaultResponse, + WebAppsGetProcessSlot200Response, + WebAppsGetProcessSlot404Response, + WebAppsGetProcessSlotDefaultResponse, + WebAppsDeleteProcessSlot204Response, + WebAppsDeleteProcessSlot404Response, + WebAppsDeleteProcessSlotDefaultResponse, + WebAppsGetProcessDumpSlot200Response, + WebAppsGetProcessDumpSlot404Response, + WebAppsGetProcessDumpSlotDefaultResponse, + WebAppsListProcessModulesSlot200Response, + WebAppsListProcessModulesSlot404Response, + WebAppsListProcessModulesSlotDefaultResponse, + WebAppsGetProcessModuleSlot200Response, + WebAppsGetProcessModuleSlot404Response, + WebAppsGetProcessModuleSlotDefaultResponse, + WebAppsListProcessThreadsSlot200Response, + WebAppsListProcessThreadsSlot404Response, + WebAppsListProcessThreadsSlotDefaultResponse, + WebAppsListPublicCertificatesSlot200Response, + WebAppsListPublicCertificatesSlotDefaultResponse, + WebAppsGetPublicCertificateSlot200Response, + WebAppsGetPublicCertificateSlotDefaultResponse, + WebAppsCreateOrUpdatePublicCertificateSlot200Response, + WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse, + WebAppsDeletePublicCertificateSlot200Response, + WebAppsDeletePublicCertificateSlot204Response, + WebAppsDeletePublicCertificateSlotDefaultResponse, + WebAppsListPublishingProfileXmlWithSecretsSlot200Response, + WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse, + WebAppsResetSlotConfigurationSlot200Response, + WebAppsResetSlotConfigurationSlotDefaultResponse, + WebAppsRestartSlot200Response, + WebAppsRestartSlotDefaultResponse, + WebAppsRestoreFromBackupBlobSlot200Response, + WebAppsRestoreFromBackupBlobSlot202Response, + WebAppsRestoreFromBackupBlobSlotDefaultResponse, + WebAppsRestoreFromDeletedAppSlot200Response, + WebAppsRestoreFromDeletedAppSlot202Response, + WebAppsRestoreFromDeletedAppSlotDefaultResponse, + WebAppsRestoreSnapshotSlot200Response, + WebAppsRestoreSnapshotSlot202Response, + WebAppsRestoreSnapshotSlotDefaultResponse, + WebAppsListSiteExtensionsSlot200Response, + WebAppsListSiteExtensionsSlot404Response, + WebAppsListSiteExtensionsSlotDefaultResponse, + WebAppsGetSiteExtensionSlot200Response, + WebAppsGetSiteExtensionSlot404Response, + WebAppsGetSiteExtensionSlotDefaultResponse, + WebAppsInstallSiteExtensionSlot200Response, + WebAppsInstallSiteExtensionSlot201Response, + WebAppsInstallSiteExtensionSlot429Response, + WebAppsInstallSiteExtensionSlotDefaultResponse, + WebAppsDeleteSiteExtensionSlot204Response, + WebAppsDeleteSiteExtensionSlot404Response, + WebAppsDeleteSiteExtensionSlotDefaultResponse, + WebAppsListSlotDifferencesSlot200Response, + WebAppsListSlotDifferencesSlotDefaultResponse, + WebAppsSwapSlot200Response, + WebAppsSwapSlot202Response, + WebAppsSwapSlotDefaultResponse, + WebAppsListSnapshotsSlot200Response, + WebAppsListSnapshotsSlotDefaultResponse, + WebAppsListSnapshotsFromDRSecondarySlot200Response, + WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse, + WebAppsGetSourceControlSlot200Response, + WebAppsGetSourceControlSlot201Response, + WebAppsGetSourceControlSlot202Response, + WebAppsGetSourceControlSlotDefaultResponse, + WebAppsCreateOrUpdateSourceControlSlot200Response, + WebAppsCreateOrUpdateSourceControlSlot201Response, + WebAppsCreateOrUpdateSourceControlSlot202Response, + WebAppsCreateOrUpdateSourceControlSlotDefaultResponse, + WebAppsDeleteSourceControlSlot200Response, + WebAppsDeleteSourceControlSlot202Response, + WebAppsDeleteSourceControlSlot404Response, + WebAppsDeleteSourceControlSlotDefaultResponse, + WebAppsUpdateSourceControlSlot200Response, + WebAppsUpdateSourceControlSlot201Response, + WebAppsUpdateSourceControlSlot202Response, + WebAppsUpdateSourceControlSlotDefaultResponse, + WebAppsStartSlot200Response, + WebAppsStartSlotDefaultResponse, + WebAppsStartNetworkTraceSlot200Response, + WebAppsStartNetworkTraceSlot202Response, + WebAppsStartNetworkTraceSlotDefaultResponse, + WebAppsStopSlot200Response, + WebAppsStopSlotDefaultResponse, + WebAppsStopNetworkTraceSlot200Response, + WebAppsStopNetworkTraceSlot204Response, + WebAppsStopNetworkTraceSlotDefaultResponse, + WebAppsSyncRepositorySlot200Response, + WebAppsSyncRepositorySlotDefaultResponse, + WebAppsSyncFunctionTriggersSlot204Response, + WebAppsSyncFunctionTriggersSlotDefaultResponse, + WebAppsListTriggeredWebJobsSlot200Response, + WebAppsListTriggeredWebJobsSlotDefaultResponse, + WebAppsGetTriggeredWebJobSlot200Response, + WebAppsGetTriggeredWebJobSlot404Response, + WebAppsGetTriggeredWebJobSlotDefaultResponse, + WebAppsDeleteTriggeredWebJobSlot200Response, + WebAppsDeleteTriggeredWebJobSlot204Response, + WebAppsDeleteTriggeredWebJobSlotDefaultResponse, + WebAppsListTriggeredWebJobHistorySlot200Response, + WebAppsListTriggeredWebJobHistorySlot404Response, + WebAppsListTriggeredWebJobHistorySlotDefaultResponse, + WebAppsGetTriggeredWebJobHistorySlot200Response, + WebAppsGetTriggeredWebJobHistorySlot404Response, + WebAppsGetTriggeredWebJobHistorySlotDefaultResponse, + WebAppsRunTriggeredWebJobSlot200Response, + WebAppsRunTriggeredWebJobSlot404Response, + WebAppsRunTriggeredWebJobSlotDefaultResponse, + WebAppsListUsagesSlot200Response, + WebAppsListUsagesSlotDefaultResponse, + WebAppsListVnetConnectionsSlot200Response, + WebAppsListVnetConnectionsSlotDefaultResponse, + WebAppsGetVnetConnectionSlot200Response, + WebAppsGetVnetConnectionSlotDefaultResponse, + WebAppsCreateOrUpdateVnetConnectionSlot200Response, + WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse, + WebAppsDeleteVnetConnectionSlot200Response, + WebAppsDeleteVnetConnectionSlot404Response, + WebAppsDeleteVnetConnectionSlotDefaultResponse, + WebAppsUpdateVnetConnectionSlot200Response, + WebAppsUpdateVnetConnectionSlotDefaultResponse, + WebAppsGetVnetConnectionGatewaySlot200Response, + WebAppsGetVnetConnectionGatewaySlot404Response, + WebAppsGetVnetConnectionGatewaySlotDefaultResponse, + WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response, + WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse, + WebAppsUpdateVnetConnectionGatewaySlot200Response, + WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse, + WebAppsListWebJobsSlot200Response, + WebAppsListWebJobsSlotDefaultResponse, + WebAppsGetWebJobSlot200Response, + WebAppsGetWebJobSlotDefaultResponse, + WebAppsListSlotDifferencesFromProduction200Response, + WebAppsListSlotDifferencesFromProductionDefaultResponse, + WebAppsSwapSlotWithProduction200Response, + WebAppsSwapSlotWithProduction202Response, + WebAppsSwapSlotWithProductionDefaultResponse, + WebAppsListSnapshots200Response, + WebAppsListSnapshotsDefaultResponse, + WebAppsListSnapshotsFromDRSecondary200Response, + WebAppsListSnapshotsFromDRSecondaryDefaultResponse, + WebAppsGetSourceControl200Response, + WebAppsGetSourceControl201Response, + WebAppsGetSourceControl202Response, + WebAppsGetSourceControlDefaultResponse, + WebAppsCreateOrUpdateSourceControl200Response, + WebAppsCreateOrUpdateSourceControl201Response, + WebAppsCreateOrUpdateSourceControl202Response, + WebAppsCreateOrUpdateSourceControlDefaultResponse, + WebAppsDeleteSourceControl200Response, + WebAppsDeleteSourceControl202Response, + WebAppsDeleteSourceControl404Response, + WebAppsDeleteSourceControlDefaultResponse, + WebAppsUpdateSourceControl200Response, + WebAppsUpdateSourceControl201Response, + WebAppsUpdateSourceControl202Response, + WebAppsUpdateSourceControlDefaultResponse, + WebAppsStart200Response, + WebAppsStartDefaultResponse, + WebAppsStartNetworkTrace200Response, + WebAppsStartNetworkTrace202Response, + WebAppsStartNetworkTraceDefaultResponse, + WebAppsStop200Response, + WebAppsStopDefaultResponse, + WebAppsStopNetworkTrace200Response, + WebAppsStopNetworkTrace204Response, + WebAppsStopNetworkTraceDefaultResponse, + WebAppsSyncRepository200Response, + WebAppsSyncRepositoryDefaultResponse, + WebAppsSyncFunctionTriggers204Response, + WebAppsSyncFunctionTriggersDefaultResponse, + WebAppsListTriggeredWebJobs200Response, + WebAppsListTriggeredWebJobsDefaultResponse, + WebAppsGetTriggeredWebJob200Response, + WebAppsGetTriggeredWebJob404Response, + WebAppsGetTriggeredWebJobDefaultResponse, + WebAppsDeleteTriggeredWebJob200Response, + WebAppsDeleteTriggeredWebJob204Response, + WebAppsDeleteTriggeredWebJobDefaultResponse, + WebAppsListTriggeredWebJobHistory200Response, + WebAppsListTriggeredWebJobHistory404Response, + WebAppsListTriggeredWebJobHistoryDefaultResponse, + WebAppsGetTriggeredWebJobHistory200Response, + WebAppsGetTriggeredWebJobHistory404Response, + WebAppsGetTriggeredWebJobHistoryDefaultResponse, + WebAppsRunTriggeredWebJob200Response, + WebAppsRunTriggeredWebJob404Response, + WebAppsRunTriggeredWebJobDefaultResponse, + WebAppsListUsages200Response, + WebAppsListUsagesDefaultResponse, + WebAppsListVnetConnections200Response, + WebAppsListVnetConnectionsDefaultResponse, + WebAppsGetVnetConnection200Response, + WebAppsGetVnetConnectionDefaultResponse, + WebAppsCreateOrUpdateVnetConnection200Response, + WebAppsCreateOrUpdateVnetConnectionDefaultResponse, + WebAppsDeleteVnetConnection200Response, + WebAppsDeleteVnetConnection404Response, + WebAppsDeleteVnetConnectionDefaultResponse, + WebAppsUpdateVnetConnection200Response, + WebAppsUpdateVnetConnectionDefaultResponse, + WebAppsGetVnetConnectionGateway200Response, + WebAppsGetVnetConnectionGateway404Response, + WebAppsGetVnetConnectionGatewayDefaultResponse, + WebAppsCreateOrUpdateVnetConnectionGateway200Response, + WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse, + WebAppsUpdateVnetConnectionGateway200Response, + WebAppsUpdateVnetConnectionGatewayDefaultResponse, + WebAppsListWebJobs200Response, + WebAppsListWebJobsDefaultResponse, + WebAppsGetWebJob200Response, + WebAppsGetWebJobDefaultResponse, +} from "./responses.js"; + +const responseMap: Record = { + "GET /subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders": + ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/validateCertificateRegistrationInformation": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/reissue": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/renew": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendEmail": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendRequestEmails": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/retrieveSiteSeal": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/verifyDomainOwnership": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveCertificateActions": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveEmailHistory": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors/{detectorName}": + ["200"], + "GET /providers/Microsoft.CertificateRegistration/operations": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/generateSsoRequest": + ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/renew": + ["200", "202", "204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements": + ["200"], + "GET /providers/Microsoft.DomainRegistration/operations": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": + ["200", "201", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": + ["202", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}": + ["200", "201", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/changeVirtualNetwork": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/changeVirtualNetwork": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/inboundNetworkDependenciesEndpoints": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": + ["200", "202"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/operations": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/outboundNetworkDependenciesEndpoints": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateLinkResources": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": + ["202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": + ["200", "202"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metricdefinitions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/capabilities": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/sites": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionPlanLimits/limit": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionRelays": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/skus": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot": + ["204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}": + ["200", "202", "204"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps/{name}/listSecrets": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/activate": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/deactivate": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{containerAppName}/revisions/{name}/restart": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}/snapshots": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/operations/{operationId}": + ["204"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}": + ["200", "202", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}": + ["200", "201"], + "GET /providers/Microsoft.Web/availableStacks": ["200"], + "GET /providers/Microsoft.Web/functionAppStacks": ["200"], + "GET /providers/Microsoft.Web/locations/{location}/functionAppStacks": ["200"], + "GET /providers/Microsoft.Web/locations/{location}/webAppStacks": ["200"], + "GET /providers/Microsoft.Web/operations": ["200"], + "GET /providers/Microsoft.Web/webAppStacks": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/reset": ["204"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/{name}/disable": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendationHistory": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/disable": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/reset": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/disable": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/reset": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}/disable": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default": + ["200"], + "GET /providers/Microsoft.Web/publishingUsers/web": ["200"], + "PUT /providers/Microsoft.Web/publishingUsers/web": ["200"], + "GET /providers/Microsoft.Web/sourcecontrols": ["200"], + "GET /providers/Microsoft.Web/sourcecontrols/{sourceControlType}": ["200"], + "PUT /providers/Microsoft.Web/sourcecontrols/{sourceControlType}": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/customhostnameSites": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName": [ + "200", + ], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers": ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/skus": ["200"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet": [ + "200", + ], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources": ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources": [ + "204", + ], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/previewStaticSiteWorkflowFile": + ["200"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/staticSites": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}": + ["200", "202"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/listUsers": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}": + ["200", "202", "204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/appsettings": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/functionappsettings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/functions": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listAppSettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listFunctionAppSettings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/zipdeploy": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/zipdeploy": + ["200", "202"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/appsettings": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/functionappsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/createUserInvitation": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}/validate": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}/validate": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/detach": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/detach": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/functions": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listAppSettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listConfiguredRoles": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listFunctionAppSettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listSecrets": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateLinkResources": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/resetapikey": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/sites": ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}/recover": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/start": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/stop": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}/log": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/discoverbackup": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy": + ["201"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}": + ["201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}": + ["204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync": + ["204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": + ["201"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/dump": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId}": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/{operationId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/perfcounters": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/phplogging": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateLinkResources": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/dump": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/scm": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/scm": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings/{appSettingKey}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/connectionstrings/{connectionStringKey}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/start": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/stop": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}/log": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/discoverbackup": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200", "204"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": + ["201"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": + ["201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": + ["204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listkeys": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listkeys": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listsyncstatus": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync": + ["204"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionRelays": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy": + ["201"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/dump": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/threads": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listbackups": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listsyncfunctiontriggerstatus": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/migratemysql/status": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/operationresults/{operationId}": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/start": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/startOperation": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/startOperation": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/stop": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/{operationId}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/current/operationresults/{operationId}": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/{operationId}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/perfcounters": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateLinkResources": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/dump": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{baseAddress}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/threads": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromBackupBlob": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromBackupBlob": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromDeletedApp": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromDeletedApp": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreSnapshot": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreSnapshot": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}": + ["200", "201"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}": + ["204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": + ["200", "201", "202"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": + ["200", "201", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": + ["200", "202"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": + ["200", "201", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/startNetworkTrace": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/startNetworkTrace": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stopNetworkTrace": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/syncfunctiontriggers": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history/{id}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/run": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs/{webJobName}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap": + ["200", "202"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": + ["200", "201", "202"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": + ["200", "201", "202"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": + ["200", "202"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": + ["200", "201", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace": + ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stopNetworkTrace": + ["200", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/syncfunctiontriggers": + ["204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}": + ["200", "204"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history/{id}": + ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/run": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": + ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs": + ["200"], + "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName}": + ["200"], +}; + +export function isUnexpected( + response: + | AppServiceCertificateOrdersList200Response + | AppServiceCertificateOrdersListDefaultResponse, +): response is AppServiceCertificateOrdersListDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersValidatePurchaseInformation204Response + | AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse, +): response is AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersListByResourceGroup200Response + | AppServiceCertificateOrdersListByResourceGroupDefaultResponse, +): response is AppServiceCertificateOrdersListByResourceGroupDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersGet200Response + | AppServiceCertificateOrdersGetDefaultResponse, +): response is AppServiceCertificateOrdersGetDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersCreateOrUpdate200Response + | AppServiceCertificateOrdersCreateOrUpdate201Response + | AppServiceCertificateOrdersCreateOrUpdateDefaultResponse, +): response is AppServiceCertificateOrdersCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersDelete200Response + | AppServiceCertificateOrdersDelete204Response + | AppServiceCertificateOrdersDeleteDefaultResponse, +): response is AppServiceCertificateOrdersDeleteDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersUpdate200Response + | AppServiceCertificateOrdersUpdateDefaultResponse, +): response is AppServiceCertificateOrdersUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersListCertificates200Response + | AppServiceCertificateOrdersListCertificatesDefaultResponse, +): response is AppServiceCertificateOrdersListCertificatesDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersGetCertificate200Response + | AppServiceCertificateOrdersGetCertificateDefaultResponse, +): response is AppServiceCertificateOrdersGetCertificateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersCreateOrUpdateCertificate200Response + | AppServiceCertificateOrdersCreateOrUpdateCertificate201Response + | AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse, +): response is AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersDeleteCertificate200Response + | AppServiceCertificateOrdersDeleteCertificate204Response + | AppServiceCertificateOrdersDeleteCertificateDefaultResponse, +): response is AppServiceCertificateOrdersDeleteCertificateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersUpdateCertificate200Response + | AppServiceCertificateOrdersUpdateCertificateDefaultResponse, +): response is AppServiceCertificateOrdersUpdateCertificateDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersReissue204Response + | AppServiceCertificateOrdersReissueDefaultResponse, +): response is AppServiceCertificateOrdersReissueDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersRenew204Response + | AppServiceCertificateOrdersRenewDefaultResponse, +): response is AppServiceCertificateOrdersRenewDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersResendEmail204Response + | AppServiceCertificateOrdersResendEmailDefaultResponse, +): response is AppServiceCertificateOrdersResendEmailDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersResendRequestEmails204Response + | AppServiceCertificateOrdersResendRequestEmailsDefaultResponse, +): response is AppServiceCertificateOrdersResendRequestEmailsDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersRetrieveSiteSeal200Response + | AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse, +): response is AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersVerifyDomainOwnership204Response + | AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse, +): response is AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersRetrieveCertificateActions200Response + | AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse, +): response is AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response + | AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse, +): response is AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse; +export function isUnexpected( + response: + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse, +): response is CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse; +export function isUnexpected( + response: + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse, +): response is CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse; +export function isUnexpected( + response: + | CertificateRegistrationProviderListOperations200Response + | CertificateRegistrationProviderListOperationsDefaultResponse, +): response is CertificateRegistrationProviderListOperationsDefaultResponse; +export function isUnexpected( + response: DomainsCheckAvailability200Response | DomainsCheckAvailabilityDefaultResponse, +): response is DomainsCheckAvailabilityDefaultResponse; +export function isUnexpected( + response: DomainsList200Response | DomainsListDefaultResponse, +): response is DomainsListDefaultResponse; +export function isUnexpected( + response: + | DomainsGetControlCenterSsoRequest200Response + | DomainsGetControlCenterSsoRequestDefaultResponse, +): response is DomainsGetControlCenterSsoRequestDefaultResponse; +export function isUnexpected( + response: DomainsListRecommendations200Response | DomainsListRecommendationsDefaultResponse, +): response is DomainsListRecommendationsDefaultResponse; +export function isUnexpected( + response: DomainsListByResourceGroup200Response | DomainsListByResourceGroupDefaultResponse, +): response is DomainsListByResourceGroupDefaultResponse; +export function isUnexpected( + response: DomainsGet200Response | DomainsGetDefaultResponse, +): response is DomainsGetDefaultResponse; +export function isUnexpected( + response: + | DomainsCreateOrUpdate200Response + | DomainsCreateOrUpdate202Response + | DomainsCreateOrUpdateDefaultResponse, +): response is DomainsCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: DomainsDelete200Response | DomainsDelete204Response | DomainsDeleteDefaultResponse, +): response is DomainsDeleteDefaultResponse; +export function isUnexpected( + response: DomainsUpdate200Response | DomainsUpdate202Response | DomainsUpdateDefaultResponse, +): response is DomainsUpdateDefaultResponse; +export function isUnexpected( + response: + | DomainsListOwnershipIdentifiers200Response + | DomainsListOwnershipIdentifiersDefaultResponse, +): response is DomainsListOwnershipIdentifiersDefaultResponse; +export function isUnexpected( + response: DomainsGetOwnershipIdentifier200Response | DomainsGetOwnershipIdentifierDefaultResponse, +): response is DomainsGetOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | DomainsCreateOrUpdateOwnershipIdentifier200Response + | DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse, +): response is DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | DomainsDeleteOwnershipIdentifier200Response + | DomainsDeleteOwnershipIdentifier204Response + | DomainsDeleteOwnershipIdentifierDefaultResponse, +): response is DomainsDeleteOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | DomainsUpdateOwnershipIdentifier200Response + | DomainsUpdateOwnershipIdentifierDefaultResponse, +): response is DomainsUpdateOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | DomainsRenew200Response + | DomainsRenew202Response + | DomainsRenew204Response + | DomainsRenewDefaultResponse, +): response is DomainsRenewDefaultResponse; +export function isUnexpected( + response: + | DomainsTransferOut200Response + | DomainsTransferOut400Response + | DomainsTransferOutDefaultResponse, +): response is DomainsTransferOut400Response; +export function isUnexpected( + response: TopLevelDomainsList200Response | TopLevelDomainsListDefaultResponse, +): response is TopLevelDomainsListDefaultResponse; +export function isUnexpected( + response: TopLevelDomainsGet200Response | TopLevelDomainsGetDefaultResponse, +): response is TopLevelDomainsGetDefaultResponse; +export function isUnexpected( + response: TopLevelDomainsListAgreements200Response | TopLevelDomainsListAgreementsDefaultResponse, +): response is TopLevelDomainsListAgreementsDefaultResponse; +export function isUnexpected( + response: + | DomainRegistrationProviderListOperations200Response + | DomainRegistrationProviderListOperationsDefaultResponse, +): response is DomainRegistrationProviderListOperationsDefaultResponse; +export function isUnexpected( + response: AppServiceEnvironmentsList200Response | AppServiceEnvironmentsListDefaultResponse, +): response is AppServiceEnvironmentsListDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListByResourceGroup200Response + | AppServiceEnvironmentsListByResourceGroupDefaultResponse, +): response is AppServiceEnvironmentsListByResourceGroupDefaultResponse; +export function isUnexpected( + response: AppServiceEnvironmentsGet200Response | AppServiceEnvironmentsGetDefaultResponse, +): response is AppServiceEnvironmentsGetDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsCreateOrUpdate200Response + | AppServiceEnvironmentsCreateOrUpdate201Response + | AppServiceEnvironmentsCreateOrUpdate202Response + | AppServiceEnvironmentsCreateOrUpdateDefaultResponse, +): response is AppServiceEnvironmentsCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsDelete202Response + | AppServiceEnvironmentsDelete204Response + | AppServiceEnvironmentsDeleteDefaultResponse, +): response is AppServiceEnvironmentsDeleteDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsUpdate200Response + | AppServiceEnvironmentsUpdate201Response + | AppServiceEnvironmentsUpdate202Response + | AppServiceEnvironmentsUpdateDefaultResponse, +): response is AppServiceEnvironmentsUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListCapacities200Response + | AppServiceEnvironmentsListCapacitiesDefaultResponse, +): response is AppServiceEnvironmentsListCapacitiesDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetVipInfo200Response + | AppServiceEnvironmentsGetVipInfoDefaultResponse, +): response is AppServiceEnvironmentsGetVipInfoDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsChangeVnet200Response + | AppServiceEnvironmentsChangeVnet202Response + | AppServiceEnvironmentsChangeVnetDefaultResponse, +): response is AppServiceEnvironmentsChangeVnetDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response + | AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse, +): response is AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response + | AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse, +): response is AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListDiagnostics200Response + | AppServiceEnvironmentsListDiagnosticsDefaultResponse, +): response is AppServiceEnvironmentsListDiagnosticsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetDiagnosticsItem200Response + | AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse, +): response is AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse, +): response is AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListMultiRolePools200Response + | AppServiceEnvironmentsListMultiRolePoolsDefaultResponse, +): response is AppServiceEnvironmentsListMultiRolePoolsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetMultiRolePool200Response + | AppServiceEnvironmentsGetMultiRolePoolDefaultResponse, +): response is AppServiceEnvironmentsGetMultiRolePoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response + | AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response + | AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse, +): response is AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsUpdateMultiRolePool200Response + | AppServiceEnvironmentsUpdateMultiRolePool202Response + | AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse, +): response is AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse, +): response is AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response + | AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse, +): response is AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListMultiRolePoolSkus200Response + | AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse, +): response is AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListMultiRoleUsages200Response + | AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse, +): response is AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListOperations200Response + | AppServiceEnvironmentsListOperationsDefaultResponse, +): response is AppServiceEnvironmentsListOperationsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse, +): response is AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response + | AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse, +): response is AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetPrivateEndpointConnection200Response + | AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse, +): response is AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse, +): response is AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsDeletePrivateEndpointConnection200Response + | AppServiceEnvironmentsDeletePrivateEndpointConnection202Response + | AppServiceEnvironmentsDeletePrivateEndpointConnection204Response + | AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse, +): response is AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetPrivateLinkResources200Response + | AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse, +): response is AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse; +export function isUnexpected( + response: AppServiceEnvironmentsReboot202Response | AppServiceEnvironmentsRebootDefaultResponse, +): response is AppServiceEnvironmentsRebootDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsResume200Response + | AppServiceEnvironmentsResume202Response + | AppServiceEnvironmentsResumeDefaultResponse, +): response is AppServiceEnvironmentsResumeDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListAppServicePlans200Response + | AppServiceEnvironmentsListAppServicePlansDefaultResponse, +): response is AppServiceEnvironmentsListAppServicePlansDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWebApps200Response + | AppServiceEnvironmentsListWebAppsDefaultResponse, +): response is AppServiceEnvironmentsListWebAppsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsSuspend200Response + | AppServiceEnvironmentsSuspend202Response + | AppServiceEnvironmentsSuspendDefaultResponse, +): response is AppServiceEnvironmentsSuspendDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListUsages200Response + | AppServiceEnvironmentsListUsagesDefaultResponse, +): response is AppServiceEnvironmentsListUsagesDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWorkerPools200Response + | AppServiceEnvironmentsListWorkerPoolsDefaultResponse, +): response is AppServiceEnvironmentsListWorkerPoolsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsGetWorkerPool200Response + | AppServiceEnvironmentsGetWorkerPoolDefaultResponse, +): response is AppServiceEnvironmentsGetWorkerPoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response + | AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response + | AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse, +): response is AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsUpdateWorkerPool200Response + | AppServiceEnvironmentsUpdateWorkerPool202Response + | AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse, +): response is AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse, +): response is AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response + | AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse, +): response is AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWorkerPoolSkus200Response + | AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse, +): response is AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse; +export function isUnexpected( + response: + | AppServiceEnvironmentsListWebWorkerUsages200Response + | AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse, +): response is AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse; +export function isUnexpected( + response: AppServicePlansList200Response | AppServicePlansListDefaultResponse, +): response is AppServicePlansListDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListByResourceGroup200Response + | AppServicePlansListByResourceGroupDefaultResponse, +): response is AppServicePlansListByResourceGroupDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGet200Response + | AppServicePlansGet404Response + | AppServicePlansGetDefaultResponse, +): response is AppServicePlansGet404Response; +export function isUnexpected( + response: + | AppServicePlansCreateOrUpdate200Response + | AppServicePlansCreateOrUpdate202Response + | AppServicePlansCreateOrUpdateDefaultResponse, +): response is AppServicePlansCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansDelete200Response + | AppServicePlansDelete204Response + | AppServicePlansDeleteDefaultResponse, +): response is AppServicePlansDeleteDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansUpdate200Response + | AppServicePlansUpdate202Response + | AppServicePlansUpdateDefaultResponse, +): response is AppServicePlansUpdateDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListCapabilities200Response + | AppServicePlansListCapabilitiesDefaultResponse, +): response is AppServicePlansListCapabilitiesDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGetHybridConnection200Response + | AppServicePlansGetHybridConnectionDefaultResponse, +): response is AppServicePlansGetHybridConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansDeleteHybridConnection200Response + | AppServicePlansDeleteHybridConnection204Response + | AppServicePlansDeleteHybridConnectionDefaultResponse, +): response is AppServicePlansDeleteHybridConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListHybridConnectionKeys200Response + | AppServicePlansListHybridConnectionKeysDefaultResponse, +): response is AppServicePlansListHybridConnectionKeysDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListWebAppsByHybridConnection200Response + | AppServicePlansListWebAppsByHybridConnectionDefaultResponse, +): response is AppServicePlansListWebAppsByHybridConnectionDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGetHybridConnectionPlanLimit200Response + | AppServicePlansGetHybridConnectionPlanLimitDefaultResponse, +): response is AppServicePlansGetHybridConnectionPlanLimitDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListHybridConnections200Response + | AppServicePlansListHybridConnectionsDefaultResponse, +): response is AppServicePlansListHybridConnectionsDefaultResponse; +export function isUnexpected( + response: AppServicePlansRestartWebApps204Response | AppServicePlansRestartWebAppsDefaultResponse, +): response is AppServicePlansRestartWebAppsDefaultResponse; +export function isUnexpected( + response: AppServicePlansListWebApps200Response | AppServicePlansListWebAppsDefaultResponse, +): response is AppServicePlansListWebAppsDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGetServerFarmSkus200Response + | AppServicePlansGetServerFarmSkusDefaultResponse, +): response is AppServicePlansGetServerFarmSkusDefaultResponse; +export function isUnexpected( + response: AppServicePlansListUsages200Response | AppServicePlansListUsagesDefaultResponse, +): response is AppServicePlansListUsagesDefaultResponse; +export function isUnexpected( + response: AppServicePlansListVnets200Response | AppServicePlansListVnetsDefaultResponse, +): response is AppServicePlansListVnetsDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGetVnetFromServerFarm200Response + | AppServicePlansGetVnetFromServerFarm404Response + | AppServicePlansGetVnetFromServerFarmDefaultResponse, +): response is AppServicePlansGetVnetFromServerFarm404Response; +export function isUnexpected( + response: AppServicePlansGetVnetGateway200Response | AppServicePlansGetVnetGatewayDefaultResponse, +): response is AppServicePlansGetVnetGatewayDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansUpdateVnetGateway200Response + | AppServicePlansUpdateVnetGatewayDefaultResponse, +): response is AppServicePlansUpdateVnetGatewayDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansListRoutesForVnet200Response + | AppServicePlansListRoutesForVnetDefaultResponse, +): response is AppServicePlansListRoutesForVnetDefaultResponse; +export function isUnexpected( + response: + | AppServicePlansGetRouteForVnet200Response + | AppServicePlansGetRouteForVnet404Response + | AppServicePlansGetRouteForVnetDefaultResponse, +): response is AppServicePlansGetRouteForVnet404Response; +export function isUnexpected( + response: + | AppServicePlansCreateOrUpdateVnetRoute200Response + | AppServicePlansCreateOrUpdateVnetRoute400Response + | AppServicePlansCreateOrUpdateVnetRoute404Response + | AppServicePlansCreateOrUpdateVnetRouteDefaultResponse, +): response is AppServicePlansCreateOrUpdateVnetRoute400Response; +export function isUnexpected( + response: + | AppServicePlansDeleteVnetRoute200Response + | AppServicePlansDeleteVnetRoute404Response + | AppServicePlansDeleteVnetRouteDefaultResponse, +): response is AppServicePlansDeleteVnetRoute404Response; +export function isUnexpected( + response: + | AppServicePlansUpdateVnetRoute200Response + | AppServicePlansUpdateVnetRoute400Response + | AppServicePlansUpdateVnetRoute404Response + | AppServicePlansUpdateVnetRouteDefaultResponse, +): response is AppServicePlansUpdateVnetRoute400Response; +export function isUnexpected( + response: AppServicePlansRebootWorker204Response | AppServicePlansRebootWorkerDefaultResponse, +): response is AppServicePlansRebootWorkerDefaultResponse; +export function isUnexpected( + response: CertificatesList200Response | CertificatesListDefaultResponse, +): response is CertificatesListDefaultResponse; +export function isUnexpected( + response: + | CertificatesListByResourceGroup200Response + | CertificatesListByResourceGroupDefaultResponse, +): response is CertificatesListByResourceGroupDefaultResponse; +export function isUnexpected( + response: CertificatesGet200Response | CertificatesGetDefaultResponse, +): response is CertificatesGetDefaultResponse; +export function isUnexpected( + response: CertificatesCreateOrUpdate200Response | CertificatesCreateOrUpdateDefaultResponse, +): response is CertificatesCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | CertificatesDelete200Response + | CertificatesDelete204Response + | CertificatesDeleteDefaultResponse, +): response is CertificatesDeleteDefaultResponse; +export function isUnexpected( + response: CertificatesUpdate200Response | CertificatesUpdateDefaultResponse, +): response is CertificatesUpdateDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsListBySubscription200Response + | ContainerAppsListBySubscriptionDefaultResponse, +): response is ContainerAppsListBySubscriptionDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsListByResourceGroup200Response + | ContainerAppsListByResourceGroupDefaultResponse, +): response is ContainerAppsListByResourceGroupDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsGet200Response + | ContainerAppsGet404Response + | ContainerAppsGetDefaultResponse, +): response is ContainerAppsGet404Response; +export function isUnexpected( + response: + | ContainerAppsCreateOrUpdate200Response + | ContainerAppsCreateOrUpdate201Response + | ContainerAppsCreateOrUpdateDefaultResponse, +): response is ContainerAppsCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsDelete200Response + | ContainerAppsDelete202Response + | ContainerAppsDelete204Response + | ContainerAppsDeleteDefaultResponse, +): response is ContainerAppsDeleteDefaultResponse; +export function isUnexpected( + response: ContainerAppsListSecrets200Response | ContainerAppsListSecretsDefaultResponse, +): response is ContainerAppsListSecretsDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsRevisionsListRevisions200Response + | ContainerAppsRevisionsListRevisionsDefaultResponse, +): response is ContainerAppsRevisionsListRevisionsDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsRevisionsGetRevision200Response + | ContainerAppsRevisionsGetRevisionDefaultResponse, +): response is ContainerAppsRevisionsGetRevisionDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsRevisionsActivateRevision200Response + | ContainerAppsRevisionsActivateRevisionDefaultResponse, +): response is ContainerAppsRevisionsActivateRevisionDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsRevisionsDeactivateRevision200Response + | ContainerAppsRevisionsDeactivateRevisionDefaultResponse, +): response is ContainerAppsRevisionsDeactivateRevisionDefaultResponse; +export function isUnexpected( + response: + | ContainerAppsRevisionsRestartRevision200Response + | ContainerAppsRevisionsRestartRevisionDefaultResponse, +): response is ContainerAppsRevisionsRestartRevisionDefaultResponse; +export function isUnexpected( + response: DeletedWebAppsList200Response | DeletedWebAppsListDefaultResponse, +): response is DeletedWebAppsListDefaultResponse; +export function isUnexpected( + response: DeletedWebAppsListByLocation200Response | DeletedWebAppsListByLocationDefaultResponse, +): response is DeletedWebAppsListByLocationDefaultResponse; +export function isUnexpected( + response: + | DeletedWebAppsGetDeletedWebAppByLocation200Response + | DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse, +): response is DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListHostingEnvironmentDetectorResponses200Response + | DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse, +): response is DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetHostingEnvironmentDetectorResponse200Response + | DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse, +): response is DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteDetectorResponses200Response + | DiagnosticsListSiteDetectorResponsesDefaultResponse, +): response is DiagnosticsListSiteDetectorResponsesDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteDetectorResponse200Response + | DiagnosticsGetSiteDetectorResponseDefaultResponse, +): response is DiagnosticsGetSiteDetectorResponseDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteDiagnosticCategories200Response + | DiagnosticsListSiteDiagnosticCategoriesDefaultResponse, +): response is DiagnosticsListSiteDiagnosticCategoriesDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteDiagnosticCategory200Response + | DiagnosticsGetSiteDiagnosticCategoryDefaultResponse, +): response is DiagnosticsGetSiteDiagnosticCategoryDefaultResponse; +export function isUnexpected( + response: DiagnosticsListSiteAnalyses200Response | DiagnosticsListSiteAnalysesDefaultResponse, +): response is DiagnosticsListSiteAnalysesDefaultResponse; +export function isUnexpected( + response: DiagnosticsGetSiteAnalysis200Response | DiagnosticsGetSiteAnalysisDefaultResponse, +): response is DiagnosticsGetSiteAnalysisDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsExecuteSiteAnalysis200Response + | DiagnosticsExecuteSiteAnalysisDefaultResponse, +): response is DiagnosticsExecuteSiteAnalysisDefaultResponse; +export function isUnexpected( + response: DiagnosticsListSiteDetectors200Response | DiagnosticsListSiteDetectorsDefaultResponse, +): response is DiagnosticsListSiteDetectorsDefaultResponse; +export function isUnexpected( + response: DiagnosticsGetSiteDetector200Response | DiagnosticsGetSiteDetectorDefaultResponse, +): response is DiagnosticsGetSiteDetectorDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsExecuteSiteDetector200Response + | DiagnosticsExecuteSiteDetectorDefaultResponse, +): response is DiagnosticsExecuteSiteDetectorDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteDetectorResponsesSlot200Response + | DiagnosticsListSiteDetectorResponsesSlotDefaultResponse, +): response is DiagnosticsListSiteDetectorResponsesSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteDetectorResponseSlot200Response + | DiagnosticsGetSiteDetectorResponseSlotDefaultResponse, +): response is DiagnosticsGetSiteDetectorResponseSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteDiagnosticCategoriesSlot200Response + | DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse, +): response is DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteDiagnosticCategorySlot200Response + | DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse, +): response is DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteAnalysesSlot200Response + | DiagnosticsListSiteAnalysesSlotDefaultResponse, +): response is DiagnosticsListSiteAnalysesSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteAnalysisSlot200Response + | DiagnosticsGetSiteAnalysisSlotDefaultResponse, +): response is DiagnosticsGetSiteAnalysisSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsExecuteSiteAnalysisSlot200Response + | DiagnosticsExecuteSiteAnalysisSlotDefaultResponse, +): response is DiagnosticsExecuteSiteAnalysisSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsListSiteDetectorsSlot200Response + | DiagnosticsListSiteDetectorsSlotDefaultResponse, +): response is DiagnosticsListSiteDetectorsSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsGetSiteDetectorSlot200Response + | DiagnosticsGetSiteDetectorSlotDefaultResponse, +): response is DiagnosticsGetSiteDetectorSlotDefaultResponse; +export function isUnexpected( + response: + | DiagnosticsExecuteSiteDetectorSlot200Response + | DiagnosticsExecuteSiteDetectorSlotDefaultResponse, +): response is DiagnosticsExecuteSiteDetectorSlotDefaultResponse; +export function isUnexpected( + response: GlobalGetDeletedWebApp200Response | GlobalGetDeletedWebAppDefaultResponse, +): response is GlobalGetDeletedWebAppDefaultResponse; +export function isUnexpected( + response: + | GlobalGetDeletedWebAppSnapshots200Response + | GlobalGetDeletedWebAppSnapshotsDefaultResponse, +): response is GlobalGetDeletedWebAppSnapshotsDefaultResponse; +export function isUnexpected( + response: + | GlobalGetSubscriptionOperationWithAsyncResponse204Response + | GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse, +): response is GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse; +export function isUnexpected( + response: + | KubeEnvironmentsListBySubscription200Response + | KubeEnvironmentsListBySubscriptionDefaultResponse, +): response is KubeEnvironmentsListBySubscriptionDefaultResponse; +export function isUnexpected( + response: + | KubeEnvironmentsListByResourceGroup200Response + | KubeEnvironmentsListByResourceGroupDefaultResponse, +): response is KubeEnvironmentsListByResourceGroupDefaultResponse; +export function isUnexpected( + response: KubeEnvironmentsGet200Response | KubeEnvironmentsGetDefaultResponse, +): response is KubeEnvironmentsGetDefaultResponse; +export function isUnexpected( + response: + | KubeEnvironmentsCreateOrUpdate200Response + | KubeEnvironmentsCreateOrUpdate201Response + | KubeEnvironmentsCreateOrUpdateDefaultResponse, +): response is KubeEnvironmentsCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | KubeEnvironmentsDelete200Response + | KubeEnvironmentsDelete202Response + | KubeEnvironmentsDelete204Response + | KubeEnvironmentsDeleteDefaultResponse, +): response is KubeEnvironmentsDeleteDefaultResponse; +export function isUnexpected( + response: + | KubeEnvironmentsUpdate200Response + | KubeEnvironmentsUpdate201Response + | KubeEnvironmentsUpdateDefaultResponse, +): response is KubeEnvironmentsUpdateDefaultResponse; +export function isUnexpected( + response: ProviderGetAvailableStacks200Response | ProviderGetAvailableStacksDefaultResponse, +): response is ProviderGetAvailableStacksDefaultResponse; +export function isUnexpected( + response: ProviderGetFunctionAppStacks200Response | ProviderGetFunctionAppStacksDefaultResponse, +): response is ProviderGetFunctionAppStacksDefaultResponse; +export function isUnexpected( + response: + | ProviderGetFunctionAppStacksForLocation200Response + | ProviderGetFunctionAppStacksForLocationDefaultResponse, +): response is ProviderGetFunctionAppStacksForLocationDefaultResponse; +export function isUnexpected( + response: + | ProviderGetWebAppStacksForLocation200Response + | ProviderGetWebAppStacksForLocationDefaultResponse, +): response is ProviderGetWebAppStacksForLocationDefaultResponse; +export function isUnexpected( + response: ProviderListOperations200Response | ProviderListOperationsDefaultResponse, +): response is ProviderListOperationsDefaultResponse; +export function isUnexpected( + response: ProviderGetWebAppStacks200Response | ProviderGetWebAppStacksDefaultResponse, +): response is ProviderGetWebAppStacksDefaultResponse; +export function isUnexpected( + response: + | ProviderGetAvailableStacksOnPrem200Response + | ProviderGetAvailableStacksOnPremDefaultResponse, +): response is ProviderGetAvailableStacksOnPremDefaultResponse; +export function isUnexpected( + response: RecommendationsList200Response | RecommendationsListDefaultResponse, +): response is RecommendationsListDefaultResponse; +export function isUnexpected( + response: + | RecommendationsResetAllFilters204Response + | RecommendationsResetAllFiltersDefaultResponse, +): response is RecommendationsResetAllFiltersDefaultResponse; +export function isUnexpected( + response: + | RecommendationsDisableRecommendationForSubscription200Response + | RecommendationsDisableRecommendationForSubscriptionDefaultResponse, +): response is RecommendationsDisableRecommendationForSubscriptionDefaultResponse; +export function isUnexpected( + response: + | RecommendationsListHistoryForHostingEnvironment200Response + | RecommendationsListHistoryForHostingEnvironmentDefaultResponse, +): response is RecommendationsListHistoryForHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsListRecommendedRulesForHostingEnvironment200Response + | RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse, +): response is RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsDisableAllForHostingEnvironment204Response + | RecommendationsDisableAllForHostingEnvironmentDefaultResponse, +): response is RecommendationsDisableAllForHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsResetAllFiltersForHostingEnvironment204Response + | RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse, +): response is RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsGetRuleDetailsByHostingEnvironment200Response + | RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse, +): response is RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsDisableRecommendationForHostingEnvironment200Response + | RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse, +): response is RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse; +export function isUnexpected( + response: + | RecommendationsListHistoryForWebApp200Response + | RecommendationsListHistoryForWebAppDefaultResponse, +): response is RecommendationsListHistoryForWebAppDefaultResponse; +export function isUnexpected( + response: + | RecommendationsListRecommendedRulesForWebApp200Response + | RecommendationsListRecommendedRulesForWebAppDefaultResponse, +): response is RecommendationsListRecommendedRulesForWebAppDefaultResponse; +export function isUnexpected( + response: + | RecommendationsDisableAllForWebApp204Response + | RecommendationsDisableAllForWebAppDefaultResponse, +): response is RecommendationsDisableAllForWebAppDefaultResponse; +export function isUnexpected( + response: + | RecommendationsResetAllFiltersForWebApp204Response + | RecommendationsResetAllFiltersForWebAppDefaultResponse, +): response is RecommendationsResetAllFiltersForWebAppDefaultResponse; +export function isUnexpected( + response: + | RecommendationsGetRuleDetailsByWebApp200Response + | RecommendationsGetRuleDetailsByWebAppDefaultResponse, +): response is RecommendationsGetRuleDetailsByWebAppDefaultResponse; +export function isUnexpected( + response: + | RecommendationsDisableRecommendationForSite200Response + | RecommendationsDisableRecommendationForSiteDefaultResponse, +): response is RecommendationsDisableRecommendationForSiteDefaultResponse; +export function isUnexpected( + response: ResourceHealthMetadataList200Response | ResourceHealthMetadataListDefaultResponse, +): response is ResourceHealthMetadataListDefaultResponse; +export function isUnexpected( + response: + | ResourceHealthMetadataListByResourceGroup200Response + | ResourceHealthMetadataListByResourceGroupDefaultResponse, +): response is ResourceHealthMetadataListByResourceGroupDefaultResponse; +export function isUnexpected( + response: + | ResourceHealthMetadataListBySite200Response + | ResourceHealthMetadataListBySiteDefaultResponse, +): response is ResourceHealthMetadataListBySiteDefaultResponse; +export function isUnexpected( + response: + | ResourceHealthMetadataGetBySite200Response + | ResourceHealthMetadataGetBySiteDefaultResponse, +): response is ResourceHealthMetadataGetBySiteDefaultResponse; +export function isUnexpected( + response: + | ResourceHealthMetadataListBySiteSlot200Response + | ResourceHealthMetadataListBySiteSlotDefaultResponse, +): response is ResourceHealthMetadataListBySiteSlotDefaultResponse; +export function isUnexpected( + response: + | ResourceHealthMetadataGetBySiteSlot200Response + | ResourceHealthMetadataGetBySiteSlotDefaultResponse, +): response is ResourceHealthMetadataGetBySiteSlotDefaultResponse; +export function isUnexpected( + response: GetPublishingUser200Response | GetPublishingUserDefaultResponse, +): response is GetPublishingUserDefaultResponse; +export function isUnexpected( + response: UpdatePublishingUser200Response | UpdatePublishingUserDefaultResponse, +): response is UpdatePublishingUserDefaultResponse; +export function isUnexpected( + response: ListSourceControls200Response | ListSourceControlsDefaultResponse, +): response is ListSourceControlsDefaultResponse; +export function isUnexpected( + response: GetSourceControl200Response | GetSourceControlDefaultResponse, +): response is GetSourceControlDefaultResponse; +export function isUnexpected( + response: UpdateSourceControl200Response | UpdateSourceControlDefaultResponse, +): response is UpdateSourceControlDefaultResponse; +export function isUnexpected( + response: ListBillingMeters200Response | ListBillingMetersDefaultResponse, +): response is ListBillingMetersDefaultResponse; +export function isUnexpected( + response: CheckNameAvailability200Response | CheckNameAvailabilityDefaultResponse, +): response is CheckNameAvailabilityDefaultResponse; +export function isUnexpected( + response: ListCustomHostNameSites200Response | ListCustomHostNameSitesDefaultResponse, +): response is ListCustomHostNameSitesDefaultResponse; +export function isUnexpected( + response: + | GetSubscriptionDeploymentLocations200Response + | GetSubscriptionDeploymentLocationsDefaultResponse, +): response is GetSubscriptionDeploymentLocationsDefaultResponse; +export function isUnexpected( + response: ListGeoRegions200Response | ListGeoRegionsDefaultResponse, +): response is ListGeoRegionsDefaultResponse; +export function isUnexpected( + response: + | ListSiteIdentifiersAssignedToHostName200Response + | ListSiteIdentifiersAssignedToHostNameDefaultResponse, +): response is ListSiteIdentifiersAssignedToHostNameDefaultResponse; +export function isUnexpected( + response: ListPremierAddOnOffers200Response | ListPremierAddOnOffersDefaultResponse, +): response is ListPremierAddOnOffersDefaultResponse; +export function isUnexpected( + response: ListSkus200Response | ListSkusDefaultResponse, +): response is ListSkusDefaultResponse; +export function isUnexpected( + response: VerifyHostingEnvironmentVnet200Response | VerifyHostingEnvironmentVnetDefaultResponse, +): response is VerifyHostingEnvironmentVnetDefaultResponse; +export function isUnexpected( + response: Move204Response | MoveDefaultResponse, +): response is MoveDefaultResponse; +export function isUnexpected( + response: Validate200Response | ValidateDefaultResponse, +): response is ValidateDefaultResponse; +export function isUnexpected( + response: ValidateMove204Response | ValidateMoveDefaultResponse, +): response is ValidateMoveDefaultResponse; +export function isUnexpected( + response: StaticSitesPreviewWorkflow200Response | StaticSitesPreviewWorkflowDefaultResponse, +): response is StaticSitesPreviewWorkflowDefaultResponse; +export function isUnexpected( + response: StaticSitesList200Response | StaticSitesListDefaultResponse, +): response is StaticSitesListDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetStaticSitesByResourceGroup200Response + | StaticSitesGetStaticSitesByResourceGroupDefaultResponse, +): response is StaticSitesGetStaticSitesByResourceGroupDefaultResponse; +export function isUnexpected( + response: StaticSitesGetStaticSite200Response | StaticSitesGetStaticSiteDefaultResponse, +): response is StaticSitesGetStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSite200Response + | StaticSitesCreateOrUpdateStaticSite202Response + | StaticSitesCreateOrUpdateStaticSiteDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDeleteStaticSite200Response + | StaticSitesDeleteStaticSite202Response + | StaticSitesDeleteStaticSiteDefaultResponse, +): response is StaticSitesDeleteStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesUpdateStaticSite200Response + | StaticSitesUpdateStaticSite202Response + | StaticSitesUpdateStaticSiteDefaultResponse, +): response is StaticSitesUpdateStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteUsers200Response + | StaticSitesListStaticSiteUsersDefaultResponse, +): response is StaticSitesListStaticSiteUsersDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDeleteStaticSiteUser200Response + | StaticSitesDeleteStaticSiteUserDefaultResponse, +): response is StaticSitesDeleteStaticSiteUserDefaultResponse; +export function isUnexpected( + response: + | StaticSitesUpdateStaticSiteUser200Response + | StaticSitesUpdateStaticSiteUserDefaultResponse, +): response is StaticSitesUpdateStaticSiteUserDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetStaticSiteBuilds200Response + | StaticSitesGetStaticSiteBuildsDefaultResponse, +): response is StaticSitesGetStaticSiteBuildsDefaultResponse; +export function isUnexpected( + response: StaticSitesGetStaticSiteBuild200Response | StaticSitesGetStaticSiteBuildDefaultResponse, +): response is StaticSitesGetStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDeleteStaticSiteBuild200Response + | StaticSitesDeleteStaticSiteBuild202Response + | StaticSitesDeleteStaticSiteBuild204Response + | StaticSitesDeleteStaticSiteBuildDefaultResponse, +): response is StaticSitesDeleteStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteBuildFunctions200Response + | StaticSitesListStaticSiteBuildFunctionsDefaultResponse, +): response is StaticSitesListStaticSiteBuildFunctionsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteBuildAppSettings200Response + | StaticSitesListStaticSiteBuildAppSettingsDefaultResponse, +): response is StaticSitesListStaticSiteBuildAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteBuildFunctionAppSettings200Response + | StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse, +): response is StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse, +): response is StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse, +): response is StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse, +): response is StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse, +): response is StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateZipDeploymentForStaticSiteBuild200Response + | StaticSitesCreateZipDeploymentForStaticSiteBuild202Response + | StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse, +): response is StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSiteAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateUserRolesInvitationLink200Response + | StaticSitesCreateUserRolesInvitationLinkDefaultResponse, +): response is StaticSitesCreateUserRolesInvitationLinkDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteCustomDomains200Response + | StaticSitesListStaticSiteCustomDomainsDefaultResponse, +): response is StaticSitesListStaticSiteCustomDomainsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetStaticSiteCustomDomain200Response + | StaticSitesGetStaticSiteCustomDomainDefaultResponse, +): response is StaticSitesGetStaticSiteCustomDomainDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response + | StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response + | StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse, +): response is StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDeleteStaticSiteCustomDomain200Response + | StaticSitesDeleteStaticSiteCustomDomain202Response + | StaticSitesDeleteStaticSiteCustomDomainDefaultResponse, +): response is StaticSitesDeleteStaticSiteCustomDomainDefaultResponse; +export function isUnexpected( + response: + | StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response + | StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response + | StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse, +): response is StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDetachStaticSite200Response + | StaticSitesDetachStaticSite202Response + | StaticSitesDetachStaticSiteDefaultResponse, +): response is StaticSitesDetachStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteFunctions200Response + | StaticSitesListStaticSiteFunctionsDefaultResponse, +): response is StaticSitesListStaticSiteFunctionsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteAppSettings200Response + | StaticSitesListStaticSiteAppSettingsDefaultResponse, +): response is StaticSitesListStaticSiteAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteConfiguredRoles200Response + | StaticSitesListStaticSiteConfiguredRolesDefaultResponse, +): response is StaticSitesListStaticSiteConfiguredRolesDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteFunctionAppSettings200Response + | StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse, +): response is StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesListStaticSiteSecrets200Response + | StaticSitesListStaticSiteSecretsDefaultResponse, +): response is StaticSitesListStaticSiteSecretsDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetPrivateEndpointConnectionList200Response + | StaticSitesGetPrivateEndpointConnectionListDefaultResponse, +): response is StaticSitesGetPrivateEndpointConnectionListDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetPrivateEndpointConnection200Response + | StaticSitesGetPrivateEndpointConnectionDefaultResponse, +): response is StaticSitesGetPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | StaticSitesApproveOrRejectPrivateEndpointConnection200Response + | StaticSitesApproveOrRejectPrivateEndpointConnection202Response + | StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse, +): response is StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDeletePrivateEndpointConnection200Response + | StaticSitesDeletePrivateEndpointConnection202Response + | StaticSitesDeletePrivateEndpointConnection204Response + | StaticSitesDeletePrivateEndpointConnectionDefaultResponse, +): response is StaticSitesDeletePrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetPrivateLinkResources200Response + | StaticSitesGetPrivateLinkResourcesDefaultResponse, +): response is StaticSitesGetPrivateLinkResourcesDefaultResponse; +export function isUnexpected( + response: + | StaticSitesResetStaticSiteApiKey200Response + | StaticSitesResetStaticSiteApiKeyDefaultResponse, +): response is StaticSitesResetStaticSiteApiKeyDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse, +): response is StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesGetUserProvidedFunctionAppForStaticSite200Response + | StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse, +): response is StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse, +): response is StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse, +): response is StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse; +export function isUnexpected( + response: + | StaticSitesCreateZipDeploymentForStaticSite200Response + | StaticSitesCreateZipDeploymentForStaticSite202Response + | StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse, +): response is StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse; +export function isUnexpected( + response: WebAppsList200Response | WebAppsListDefaultResponse, +): response is WebAppsListDefaultResponse; +export function isUnexpected( + response: WebAppsListByResourceGroup200Response | WebAppsListByResourceGroupDefaultResponse, +): response is WebAppsListByResourceGroupDefaultResponse; +export function isUnexpected( + response: WebAppsGet200Response | WebAppsGet404Response | WebAppsGetDefaultResponse, +): response is WebAppsGet404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdate200Response + | WebAppsCreateOrUpdate202Response + | WebAppsCreateOrUpdateDefaultResponse, +): response is WebAppsCreateOrUpdateDefaultResponse; +export function isUnexpected( + response: + | WebAppsDelete200Response + | WebAppsDelete204Response + | WebAppsDelete404Response + | WebAppsDeleteDefaultResponse, +): response is WebAppsDelete404Response; +export function isUnexpected( + response: WebAppsUpdate200Response | WebAppsUpdate202Response | WebAppsUpdateDefaultResponse, +): response is WebAppsUpdateDefaultResponse; +export function isUnexpected( + response: WebAppsAnalyzeCustomHostname200Response | WebAppsAnalyzeCustomHostnameDefaultResponse, +): response is WebAppsAnalyzeCustomHostnameDefaultResponse; +export function isUnexpected( + response: + | WebAppsApplySlotConfigToProduction200Response + | WebAppsApplySlotConfigToProductionDefaultResponse, +): response is WebAppsApplySlotConfigToProductionDefaultResponse; +export function isUnexpected( + response: WebAppsBackup200Response | WebAppsBackupDefaultResponse, +): response is WebAppsBackupDefaultResponse; +export function isUnexpected( + response: WebAppsListBackups200Response | WebAppsListBackupsDefaultResponse, +): response is WebAppsListBackupsDefaultResponse; +export function isUnexpected( + response: WebAppsGetBackupStatus200Response | WebAppsGetBackupStatusDefaultResponse, +): response is WebAppsGetBackupStatusDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteBackup200Response + | WebAppsDeleteBackup404Response + | WebAppsDeleteBackupDefaultResponse, +): response is WebAppsDeleteBackup404Response; +export function isUnexpected( + response: + | WebAppsListBackupStatusSecrets200Response + | WebAppsListBackupStatusSecretsDefaultResponse, +): response is WebAppsListBackupStatusSecretsDefaultResponse; +export function isUnexpected( + response: WebAppsRestore200Response | WebAppsRestore202Response | WebAppsRestoreDefaultResponse, +): response is WebAppsRestoreDefaultResponse; +export function isUnexpected( + response: + | WebAppsListBasicPublishingCredentialsPolicies200Response + | WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse, +): response is WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse; +export function isUnexpected( + response: WebAppsGetFtpAllowed200Response | WebAppsGetFtpAllowedDefaultResponse, +): response is WebAppsGetFtpAllowedDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateFtpAllowed200Response | WebAppsUpdateFtpAllowedDefaultResponse, +): response is WebAppsUpdateFtpAllowedDefaultResponse; +export function isUnexpected( + response: WebAppsGetScmAllowed200Response | WebAppsGetScmAllowedDefaultResponse, +): response is WebAppsGetScmAllowedDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateScmAllowed200Response | WebAppsUpdateScmAllowedDefaultResponse, +): response is WebAppsUpdateScmAllowedDefaultResponse; +export function isUnexpected( + response: WebAppsListConfigurations200Response | WebAppsListConfigurationsDefaultResponse, +): response is WebAppsListConfigurationsDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateApplicationSettings200Response + | WebAppsUpdateApplicationSettingsDefaultResponse, +): response is WebAppsUpdateApplicationSettingsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListApplicationSettings200Response + | WebAppsListApplicationSettingsDefaultResponse, +): response is WebAppsListApplicationSettingsDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateAuthSettings200Response | WebAppsUpdateAuthSettingsDefaultResponse, +): response is WebAppsUpdateAuthSettingsDefaultResponse; +export function isUnexpected( + response: WebAppsGetAuthSettings200Response | WebAppsGetAuthSettingsDefaultResponse, +): response is WebAppsGetAuthSettingsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAuthSettingsV2WithoutSecrets200Response + | WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse, +): response is WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateAuthSettingsV2200Response | WebAppsUpdateAuthSettingsV2DefaultResponse, +): response is WebAppsUpdateAuthSettingsV2DefaultResponse; +export function isUnexpected( + response: WebAppsGetAuthSettingsV2200Response | WebAppsGetAuthSettingsV2DefaultResponse, +): response is WebAppsGetAuthSettingsV2DefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateAzureStorageAccounts200Response + | WebAppsUpdateAzureStorageAccountsDefaultResponse, +): response is WebAppsUpdateAzureStorageAccountsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListAzureStorageAccounts200Response + | WebAppsListAzureStorageAccountsDefaultResponse, +): response is WebAppsListAzureStorageAccountsDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateBackupConfiguration200Response + | WebAppsUpdateBackupConfigurationDefaultResponse, +): response is WebAppsUpdateBackupConfigurationDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteBackupConfiguration200Response + | WebAppsDeleteBackupConfigurationDefaultResponse, +): response is WebAppsDeleteBackupConfigurationDefaultResponse; +export function isUnexpected( + response: WebAppsGetBackupConfiguration200Response | WebAppsGetBackupConfigurationDefaultResponse, +): response is WebAppsGetBackupConfigurationDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAppSettingsKeyVaultReferences200Response + | WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse, +): response is WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAppSettingKeyVaultReference200Response + | WebAppsGetAppSettingKeyVaultReferenceDefaultResponse, +): response is WebAppsGetAppSettingKeyVaultReferenceDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSiteConnectionStringKeyVaultReferences200Response + | WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse, +): response is WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSiteConnectionStringKeyVaultReference200Response + | WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse, +): response is WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateConnectionStrings200Response + | WebAppsUpdateConnectionStringsDefaultResponse, +): response is WebAppsUpdateConnectionStringsDefaultResponse; +export function isUnexpected( + response: WebAppsListConnectionStrings200Response | WebAppsListConnectionStringsDefaultResponse, +): response is WebAppsListConnectionStringsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetDiagnosticLogsConfiguration200Response + | WebAppsGetDiagnosticLogsConfigurationDefaultResponse, +): response is WebAppsGetDiagnosticLogsConfigurationDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateDiagnosticLogsConfig200Response + | WebAppsUpdateDiagnosticLogsConfigDefaultResponse, +): response is WebAppsUpdateDiagnosticLogsConfigDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateMetadata200Response | WebAppsUpdateMetadataDefaultResponse, +): response is WebAppsUpdateMetadataDefaultResponse; +export function isUnexpected( + response: WebAppsListMetadata200Response | WebAppsListMetadataDefaultResponse, +): response is WebAppsListMetadataDefaultResponse; +export function isUnexpected( + response: + | WebAppsListPublishingCredentials200Response + | WebAppsListPublishingCredentialsDefaultResponse, +): response is WebAppsListPublishingCredentialsDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateSitePushSettings200Response | WebAppsUpdateSitePushSettingsDefaultResponse, +): response is WebAppsUpdateSitePushSettingsDefaultResponse; +export function isUnexpected( + response: WebAppsListSitePushSettings200Response | WebAppsListSitePushSettingsDefaultResponse, +): response is WebAppsListSitePushSettingsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSlotConfigurationNames200Response + | WebAppsListSlotConfigurationNamesDefaultResponse, +): response is WebAppsListSlotConfigurationNamesDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateSlotConfigurationNames200Response + | WebAppsUpdateSlotConfigurationNamesDefaultResponse, +): response is WebAppsUpdateSlotConfigurationNamesDefaultResponse; +export function isUnexpected( + response: WebAppsGetConfiguration200Response | WebAppsGetConfigurationDefaultResponse, +): response is WebAppsGetConfigurationDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateConfiguration200Response + | WebAppsCreateOrUpdateConfigurationDefaultResponse, +): response is WebAppsCreateOrUpdateConfigurationDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateConfiguration200Response | WebAppsUpdateConfigurationDefaultResponse, +): response is WebAppsUpdateConfigurationDefaultResponse; +export function isUnexpected( + response: + | WebAppsListConfigurationSnapshotInfo200Response + | WebAppsListConfigurationSnapshotInfoDefaultResponse, +): response is WebAppsListConfigurationSnapshotInfoDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetConfigurationSnapshot200Response + | WebAppsGetConfigurationSnapshotDefaultResponse, +): response is WebAppsGetConfigurationSnapshotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRecoverSiteConfigurationSnapshot204Response + | WebAppsRecoverSiteConfigurationSnapshotDefaultResponse, +): response is WebAppsRecoverSiteConfigurationSnapshotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetWebSiteContainerLogs200Response + | WebAppsGetWebSiteContainerLogs204Response + | WebAppsGetWebSiteContainerLogsDefaultResponse, +): response is WebAppsGetWebSiteContainerLogsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetContainerLogsZip200Response + | WebAppsGetContainerLogsZip204Response + | WebAppsGetContainerLogsZipDefaultResponse, +): response is WebAppsGetContainerLogsZipDefaultResponse; +export function isUnexpected( + response: WebAppsListContinuousWebJobs200Response | WebAppsListContinuousWebJobsDefaultResponse, +): response is WebAppsListContinuousWebJobsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetContinuousWebJob200Response + | WebAppsGetContinuousWebJob404Response + | WebAppsGetContinuousWebJobDefaultResponse, +): response is WebAppsGetContinuousWebJob404Response; +export function isUnexpected( + response: + | WebAppsDeleteContinuousWebJob200Response + | WebAppsDeleteContinuousWebJob204Response + | WebAppsDeleteContinuousWebJobDefaultResponse, +): response is WebAppsDeleteContinuousWebJobDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartContinuousWebJob200Response + | WebAppsStartContinuousWebJob404Response + | WebAppsStartContinuousWebJobDefaultResponse, +): response is WebAppsStartContinuousWebJob404Response; +export function isUnexpected( + response: + | WebAppsStopContinuousWebJob200Response + | WebAppsStopContinuousWebJob404Response + | WebAppsStopContinuousWebJobDefaultResponse, +): response is WebAppsStopContinuousWebJob404Response; +export function isUnexpected( + response: WebAppsListDeployments200Response | WebAppsListDeploymentsDefaultResponse, +): response is WebAppsListDeploymentsDefaultResponse; +export function isUnexpected( + response: WebAppsGetDeployment200Response | WebAppsGetDeploymentDefaultResponse, +): response is WebAppsGetDeploymentDefaultResponse; +export function isUnexpected( + response: WebAppsCreateDeployment200Response | WebAppsCreateDeploymentDefaultResponse, +): response is WebAppsCreateDeploymentDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteDeployment200Response + | WebAppsDeleteDeployment204Response + | WebAppsDeleteDeploymentDefaultResponse, +): response is WebAppsDeleteDeploymentDefaultResponse; +export function isUnexpected( + response: WebAppsListDeploymentLog200Response | WebAppsListDeploymentLogDefaultResponse, +): response is WebAppsListDeploymentLogDefaultResponse; +export function isUnexpected( + response: WebAppsDiscoverBackup200Response | WebAppsDiscoverBackupDefaultResponse, +): response is WebAppsDiscoverBackupDefaultResponse; +export function isUnexpected( + response: + | WebAppsListDomainOwnershipIdentifiers200Response + | WebAppsListDomainOwnershipIdentifiersDefaultResponse, +): response is WebAppsListDomainOwnershipIdentifiersDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetDomainOwnershipIdentifier200Response + | WebAppsGetDomainOwnershipIdentifierDefaultResponse, +): response is WebAppsGetDomainOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response + | WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse, +): response is WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteDomainOwnershipIdentifier200Response + | WebAppsDeleteDomainOwnershipIdentifier204Response + | WebAppsDeleteDomainOwnershipIdentifierDefaultResponse, +): response is WebAppsDeleteDomainOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateDomainOwnershipIdentifier200Response + | WebAppsUpdateDomainOwnershipIdentifierDefaultResponse, +): response is WebAppsUpdateDomainOwnershipIdentifierDefaultResponse; +export function isUnexpected( + response: WebAppsGetMSDeployStatus200Response | WebAppsGetMSDeployStatusDefaultResponse, +): response is WebAppsGetMSDeployStatusDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateMSDeployOperation201Response + | WebAppsCreateMSDeployOperation409Response + | WebAppsCreateMSDeployOperationDefaultResponse, +): response is WebAppsCreateMSDeployOperation409Response; +export function isUnexpected( + response: + | WebAppsGetMSDeployLog200Response + | WebAppsGetMSDeployLog404Response + | WebAppsGetMSDeployLogDefaultResponse, +): response is WebAppsGetMSDeployLog404Response; +export function isUnexpected( + response: WebAppsGetOneDeployStatus200Response | WebAppsGetOneDeployStatusDefaultResponse, +): response is WebAppsGetOneDeployStatusDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOneDeployOperation200Response + | WebAppsCreateOneDeployOperationDefaultResponse, +): response is WebAppsCreateOneDeployOperationDefaultResponse; +export function isUnexpected( + response: + | WebAppsListFunctions200Response + | WebAppsListFunctions404Response + | WebAppsListFunctionsDefaultResponse, +): response is WebAppsListFunctions404Response; +export function isUnexpected( + response: WebAppsGetFunctionsAdminToken200Response | WebAppsGetFunctionsAdminTokenDefaultResponse, +): response is WebAppsGetFunctionsAdminTokenDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetFunction200Response + | WebAppsGetFunction404Response + | WebAppsGetFunctionDefaultResponse, +): response is WebAppsGetFunction404Response; +export function isUnexpected( + response: WebAppsCreateFunction201Response | WebAppsCreateFunctionDefaultResponse, +): response is WebAppsCreateFunctionDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteFunction204Response + | WebAppsDeleteFunction404Response + | WebAppsDeleteFunctionDefaultResponse, +): response is WebAppsDeleteFunction404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateFunctionSecret200Response + | WebAppsCreateOrUpdateFunctionSecret201Response + | WebAppsCreateOrUpdateFunctionSecretDefaultResponse, +): response is WebAppsCreateOrUpdateFunctionSecretDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteFunctionSecret204Response + | WebAppsDeleteFunctionSecret404Response + | WebAppsDeleteFunctionSecretDefaultResponse, +): response is WebAppsDeleteFunctionSecret404Response; +export function isUnexpected( + response: WebAppsListFunctionKeys200Response | WebAppsListFunctionKeysDefaultResponse, +): response is WebAppsListFunctionKeysDefaultResponse; +export function isUnexpected( + response: WebAppsListFunctionSecrets200Response | WebAppsListFunctionSecretsDefaultResponse, +): response is WebAppsListFunctionSecretsDefaultResponse; +export function isUnexpected( + response: WebAppsListHostKeys200Response | WebAppsListHostKeysDefaultResponse, +): response is WebAppsListHostKeysDefaultResponse; +export function isUnexpected( + response: WebAppsListSyncStatus204Response | WebAppsListSyncStatusDefaultResponse, +): response is WebAppsListSyncStatusDefaultResponse; +export function isUnexpected( + response: WebAppsSyncFunctions204Response | WebAppsSyncFunctionsDefaultResponse, +): response is WebAppsSyncFunctionsDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHostSecret200Response + | WebAppsCreateOrUpdateHostSecret201Response + | WebAppsCreateOrUpdateHostSecretDefaultResponse, +): response is WebAppsCreateOrUpdateHostSecretDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHostSecret204Response + | WebAppsDeleteHostSecret404Response + | WebAppsDeleteHostSecretDefaultResponse, +): response is WebAppsDeleteHostSecret404Response; +export function isUnexpected( + response: WebAppsListHostNameBindings200Response | WebAppsListHostNameBindingsDefaultResponse, +): response is WebAppsListHostNameBindingsDefaultResponse; +export function isUnexpected( + response: WebAppsGetHostNameBinding200Response | WebAppsGetHostNameBindingDefaultResponse, +): response is WebAppsGetHostNameBindingDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHostNameBinding200Response + | WebAppsCreateOrUpdateHostNameBindingDefaultResponse, +): response is WebAppsCreateOrUpdateHostNameBindingDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHostNameBinding200Response + | WebAppsDeleteHostNameBinding204Response + | WebAppsDeleteHostNameBindingDefaultResponse, +): response is WebAppsDeleteHostNameBindingDefaultResponse; +export function isUnexpected( + response: WebAppsGetHybridConnection200Response | WebAppsGetHybridConnectionDefaultResponse, +): response is WebAppsGetHybridConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHybridConnection200Response + | WebAppsCreateOrUpdateHybridConnectionDefaultResponse, +): response is WebAppsCreateOrUpdateHybridConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHybridConnection200Response + | WebAppsDeleteHybridConnection404Response + | WebAppsDeleteHybridConnectionDefaultResponse, +): response is WebAppsDeleteHybridConnection404Response; +export function isUnexpected( + response: WebAppsUpdateHybridConnection200Response | WebAppsUpdateHybridConnectionDefaultResponse, +): response is WebAppsUpdateHybridConnectionDefaultResponse; +export function isUnexpected( + response: WebAppsListHybridConnections200Response | WebAppsListHybridConnectionsDefaultResponse, +): response is WebAppsListHybridConnectionsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListRelayServiceConnections200Response + | WebAppsListRelayServiceConnectionsDefaultResponse, +): response is WebAppsListRelayServiceConnectionsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetRelayServiceConnection200Response + | WebAppsGetRelayServiceConnectionDefaultResponse, +): response is WebAppsGetRelayServiceConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateRelayServiceConnection200Response + | WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse, +): response is WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteRelayServiceConnection200Response + | WebAppsDeleteRelayServiceConnection404Response + | WebAppsDeleteRelayServiceConnectionDefaultResponse, +): response is WebAppsDeleteRelayServiceConnection404Response; +export function isUnexpected( + response: + | WebAppsUpdateRelayServiceConnection200Response + | WebAppsUpdateRelayServiceConnectionDefaultResponse, +): response is WebAppsUpdateRelayServiceConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsListInstanceIdentifiers200Response + | WebAppsListInstanceIdentifiersDefaultResponse, +): response is WebAppsListInstanceIdentifiersDefaultResponse; +export function isUnexpected( + response: WebAppsGetInstanceInfo200Response | WebAppsGetInstanceInfoDefaultResponse, +): response is WebAppsGetInstanceInfoDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetInstanceMsDeployStatus200Response + | WebAppsGetInstanceMsDeployStatusDefaultResponse, +): response is WebAppsGetInstanceMsDeployStatusDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateInstanceMSDeployOperation201Response + | WebAppsCreateInstanceMSDeployOperation409Response + | WebAppsCreateInstanceMSDeployOperationDefaultResponse, +): response is WebAppsCreateInstanceMSDeployOperation409Response; +export function isUnexpected( + response: + | WebAppsGetInstanceMSDeployLog200Response + | WebAppsGetInstanceMSDeployLog404Response + | WebAppsGetInstanceMSDeployLogDefaultResponse, +): response is WebAppsGetInstanceMSDeployLog404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcesses200Response + | WebAppsListInstanceProcesses404Response + | WebAppsListInstanceProcessesDefaultResponse, +): response is WebAppsListInstanceProcesses404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcess200Response + | WebAppsGetInstanceProcess404Response + | WebAppsGetInstanceProcessDefaultResponse, +): response is WebAppsGetInstanceProcess404Response; +export function isUnexpected( + response: + | WebAppsDeleteInstanceProcess204Response + | WebAppsDeleteInstanceProcess404Response + | WebAppsDeleteInstanceProcessDefaultResponse, +): response is WebAppsDeleteInstanceProcess404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcessDump200Response + | WebAppsGetInstanceProcessDump404Response + | WebAppsGetInstanceProcessDumpDefaultResponse, +): response is WebAppsGetInstanceProcessDump404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcessModules200Response + | WebAppsListInstanceProcessModules404Response + | WebAppsListInstanceProcessModulesDefaultResponse, +): response is WebAppsListInstanceProcessModules404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcessModule200Response + | WebAppsGetInstanceProcessModule404Response + | WebAppsGetInstanceProcessModuleDefaultResponse, +): response is WebAppsGetInstanceProcessModule404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcessThreads200Response + | WebAppsListInstanceProcessThreads404Response + | WebAppsListInstanceProcessThreadsDefaultResponse, +): response is WebAppsListInstanceProcessThreads404Response; +export function isUnexpected( + response: WebAppsIsCloneable200Response | WebAppsIsCloneableDefaultResponse, +): response is WebAppsIsCloneableDefaultResponse; +export function isUnexpected( + response: WebAppsListSiteBackups200Response | WebAppsListSiteBackupsDefaultResponse, +): response is WebAppsListSiteBackupsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSyncFunctionTriggers200Response + | WebAppsListSyncFunctionTriggersDefaultResponse, +): response is WebAppsListSyncFunctionTriggersDefaultResponse; +export function isUnexpected( + response: WebAppsMigrateStorage200Response | WebAppsMigrateStorageDefaultResponse, +): response is WebAppsMigrateStorageDefaultResponse; +export function isUnexpected( + response: WebAppsMigrateMySql200Response | WebAppsMigrateMySqlDefaultResponse, +): response is WebAppsMigrateMySqlDefaultResponse; +export function isUnexpected( + response: WebAppsGetMigrateMySqlStatus200Response | WebAppsGetMigrateMySqlStatusDefaultResponse, +): response is WebAppsGetMigrateMySqlStatusDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSwiftVirtualNetworkConnection200Response + | WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse, +): response is WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, +): response is WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteSwiftVirtualNetwork200Response + | WebAppsDeleteSwiftVirtualNetwork404Response + | WebAppsDeleteSwiftVirtualNetworkDefaultResponse, +): response is WebAppsDeleteSwiftVirtualNetwork404Response; +export function isUnexpected( + response: + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse, +): response is WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse; +export function isUnexpected( + response: + | WebAppsListNetworkFeatures200Response + | WebAppsListNetworkFeatures404Response + | WebAppsListNetworkFeaturesDefaultResponse, +): response is WebAppsListNetworkFeatures404Response; +export function isUnexpected( + response: + | WebAppsGetNetworkTraceOperation200Response + | WebAppsGetNetworkTraceOperation202Response + | WebAppsGetNetworkTraceOperationDefaultResponse, +): response is WebAppsGetNetworkTraceOperationDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartWebSiteNetworkTrace200Response + | WebAppsStartWebSiteNetworkTraceDefaultResponse, +): response is WebAppsStartWebSiteNetworkTraceDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartWebSiteNetworkTraceOperation200Response + | WebAppsStartWebSiteNetworkTraceOperation202Response + | WebAppsStartWebSiteNetworkTraceOperationDefaultResponse, +): response is WebAppsStartWebSiteNetworkTraceOperationDefaultResponse; +export function isUnexpected( + response: + | WebAppsStopWebSiteNetworkTrace200Response + | WebAppsStopWebSiteNetworkTrace204Response + | WebAppsStopWebSiteNetworkTraceDefaultResponse, +): response is WebAppsStopWebSiteNetworkTraceDefaultResponse; +export function isUnexpected( + response: WebAppsGetNetworkTraces200Response | WebAppsGetNetworkTracesDefaultResponse, +): response is WebAppsGetNetworkTracesDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetNetworkTraceOperationV2200Response + | WebAppsGetNetworkTraceOperationV2202Response + | WebAppsGetNetworkTraceOperationV2DefaultResponse, +): response is WebAppsGetNetworkTraceOperationV2DefaultResponse; +export function isUnexpected( + response: WebAppsGetNetworkTracesV2200Response | WebAppsGetNetworkTracesV2DefaultResponse, +): response is WebAppsGetNetworkTracesV2DefaultResponse; +export function isUnexpected( + response: + | WebAppsGenerateNewSitePublishingPassword200Response + | WebAppsGenerateNewSitePublishingPassword204Response + | WebAppsGenerateNewSitePublishingPasswordDefaultResponse, +): response is WebAppsGenerateNewSitePublishingPasswordDefaultResponse; +export function isUnexpected( + response: WebAppsListPerfMonCounters200Response | WebAppsListPerfMonCountersDefaultResponse, +): response is WebAppsListPerfMonCountersDefaultResponse; +export function isUnexpected( + response: WebAppsGetSitePhpErrorLogFlag200Response | WebAppsGetSitePhpErrorLogFlagDefaultResponse, +): response is WebAppsGetSitePhpErrorLogFlagDefaultResponse; +export function isUnexpected( + response: WebAppsListPremierAddOns200Response | WebAppsListPremierAddOnsDefaultResponse, +): response is WebAppsListPremierAddOnsDefaultResponse; +export function isUnexpected( + response: WebAppsGetPremierAddOn200Response | WebAppsGetPremierAddOnDefaultResponse, +): response is WebAppsGetPremierAddOnDefaultResponse; +export function isUnexpected( + response: WebAppsAddPremierAddOn200Response | WebAppsAddPremierAddOnDefaultResponse, +): response is WebAppsAddPremierAddOnDefaultResponse; +export function isUnexpected( + response: WebAppsDeletePremierAddOn200Response | WebAppsDeletePremierAddOnDefaultResponse, +): response is WebAppsDeletePremierAddOnDefaultResponse; +export function isUnexpected( + response: WebAppsUpdatePremierAddOn200Response | WebAppsUpdatePremierAddOnDefaultResponse, +): response is WebAppsUpdatePremierAddOnDefaultResponse; +export function isUnexpected( + response: WebAppsGetPrivateAccess200Response | WebAppsGetPrivateAccessDefaultResponse, +): response is WebAppsGetPrivateAccessDefaultResponse; +export function isUnexpected( + response: WebAppsPutPrivateAccessVnet200Response | WebAppsPutPrivateAccessVnetDefaultResponse, +): response is WebAppsPutPrivateAccessVnetDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateEndpointConnectionList200Response + | WebAppsGetPrivateEndpointConnectionListDefaultResponse, +): response is WebAppsGetPrivateEndpointConnectionListDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateEndpointConnection200Response + | WebAppsGetPrivateEndpointConnectionDefaultResponse, +): response is WebAppsGetPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsApproveOrRejectPrivateEndpointConnection200Response + | WebAppsApproveOrRejectPrivateEndpointConnection202Response + | WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse, +): response is WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeletePrivateEndpointConnection200Response + | WebAppsDeletePrivateEndpointConnection202Response + | WebAppsDeletePrivateEndpointConnection204Response + | WebAppsDeletePrivateEndpointConnectionDefaultResponse, +): response is WebAppsDeletePrivateEndpointConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateLinkResources200Response + | WebAppsGetPrivateLinkResourcesDefaultResponse, +): response is WebAppsGetPrivateLinkResourcesDefaultResponse; +export function isUnexpected( + response: + | WebAppsListProcesses200Response + | WebAppsListProcesses404Response + | WebAppsListProcessesDefaultResponse, +): response is WebAppsListProcesses404Response; +export function isUnexpected( + response: + | WebAppsGetProcess200Response + | WebAppsGetProcess404Response + | WebAppsGetProcessDefaultResponse, +): response is WebAppsGetProcess404Response; +export function isUnexpected( + response: + | WebAppsDeleteProcess204Response + | WebAppsDeleteProcess404Response + | WebAppsDeleteProcessDefaultResponse, +): response is WebAppsDeleteProcess404Response; +export function isUnexpected( + response: + | WebAppsGetProcessDump200Response + | WebAppsGetProcessDump404Response + | WebAppsGetProcessDumpDefaultResponse, +): response is WebAppsGetProcessDump404Response; +export function isUnexpected( + response: + | WebAppsListProcessModules200Response + | WebAppsListProcessModules404Response + | WebAppsListProcessModulesDefaultResponse, +): response is WebAppsListProcessModules404Response; +export function isUnexpected( + response: + | WebAppsGetProcessModule200Response + | WebAppsGetProcessModule404Response + | WebAppsGetProcessModuleDefaultResponse, +): response is WebAppsGetProcessModule404Response; +export function isUnexpected( + response: + | WebAppsListProcessThreads200Response + | WebAppsListProcessThreads404Response + | WebAppsListProcessThreadsDefaultResponse, +): response is WebAppsListProcessThreads404Response; +export function isUnexpected( + response: WebAppsListPublicCertificates200Response | WebAppsListPublicCertificatesDefaultResponse, +): response is WebAppsListPublicCertificatesDefaultResponse; +export function isUnexpected( + response: WebAppsGetPublicCertificate200Response | WebAppsGetPublicCertificateDefaultResponse, +): response is WebAppsGetPublicCertificateDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdatePublicCertificate200Response + | WebAppsCreateOrUpdatePublicCertificateDefaultResponse, +): response is WebAppsCreateOrUpdatePublicCertificateDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeletePublicCertificate200Response + | WebAppsDeletePublicCertificate204Response + | WebAppsDeletePublicCertificateDefaultResponse, +): response is WebAppsDeletePublicCertificateDefaultResponse; +export function isUnexpected( + response: + | WebAppsListPublishingProfileXmlWithSecrets200Response + | WebAppsListPublishingProfileXmlWithSecretsDefaultResponse, +): response is WebAppsListPublishingProfileXmlWithSecretsDefaultResponse; +export function isUnexpected( + response: + | WebAppsResetProductionSlotConfig200Response + | WebAppsResetProductionSlotConfigDefaultResponse, +): response is WebAppsResetProductionSlotConfigDefaultResponse; +export function isUnexpected( + response: WebAppsRestart200Response | WebAppsRestartDefaultResponse, +): response is WebAppsRestartDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreFromBackupBlob200Response + | WebAppsRestoreFromBackupBlob202Response + | WebAppsRestoreFromBackupBlobDefaultResponse, +): response is WebAppsRestoreFromBackupBlobDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreFromDeletedApp200Response + | WebAppsRestoreFromDeletedApp202Response + | WebAppsRestoreFromDeletedAppDefaultResponse, +): response is WebAppsRestoreFromDeletedAppDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreSnapshot200Response + | WebAppsRestoreSnapshot202Response + | WebAppsRestoreSnapshotDefaultResponse, +): response is WebAppsRestoreSnapshotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSiteExtensions200Response + | WebAppsListSiteExtensions404Response + | WebAppsListSiteExtensionsDefaultResponse, +): response is WebAppsListSiteExtensions404Response; +export function isUnexpected( + response: + | WebAppsGetSiteExtension200Response + | WebAppsGetSiteExtension404Response + | WebAppsGetSiteExtensionDefaultResponse, +): response is WebAppsGetSiteExtension404Response; +export function isUnexpected( + response: + | WebAppsInstallSiteExtension200Response + | WebAppsInstallSiteExtension201Response + | WebAppsInstallSiteExtension429Response + | WebAppsInstallSiteExtensionDefaultResponse, +): response is WebAppsInstallSiteExtension429Response; +export function isUnexpected( + response: + | WebAppsDeleteSiteExtension204Response + | WebAppsDeleteSiteExtension404Response + | WebAppsDeleteSiteExtensionDefaultResponse, +): response is WebAppsDeleteSiteExtension404Response; +export function isUnexpected( + response: WebAppsListSlots200Response | WebAppsListSlotsDefaultResponse, +): response is WebAppsListSlotsDefaultResponse; +export function isUnexpected( + response: WebAppsGetSlot200Response | WebAppsGetSlot404Response | WebAppsGetSlotDefaultResponse, +): response is WebAppsGetSlot404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateSlot200Response + | WebAppsCreateOrUpdateSlot202Response + | WebAppsCreateOrUpdateSlotDefaultResponse, +): response is WebAppsCreateOrUpdateSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteSlot200Response + | WebAppsDeleteSlot204Response + | WebAppsDeleteSlot404Response + | WebAppsDeleteSlotDefaultResponse, +): response is WebAppsDeleteSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateSlot200Response + | WebAppsUpdateSlot202Response + | WebAppsUpdateSlotDefaultResponse, +): response is WebAppsUpdateSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsAnalyzeCustomHostnameSlot200Response + | WebAppsAnalyzeCustomHostnameSlotDefaultResponse, +): response is WebAppsAnalyzeCustomHostnameSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsApplySlotConfigurationSlot200Response + | WebAppsApplySlotConfigurationSlotDefaultResponse, +): response is WebAppsApplySlotConfigurationSlotDefaultResponse; +export function isUnexpected( + response: WebAppsBackupSlot200Response | WebAppsBackupSlotDefaultResponse, +): response is WebAppsBackupSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListBackupsSlot200Response | WebAppsListBackupsSlotDefaultResponse, +): response is WebAppsListBackupsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetBackupStatusSlot200Response | WebAppsGetBackupStatusSlotDefaultResponse, +): response is WebAppsGetBackupStatusSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteBackupSlot200Response + | WebAppsDeleteBackupSlot404Response + | WebAppsDeleteBackupSlotDefaultResponse, +): response is WebAppsDeleteBackupSlot404Response; +export function isUnexpected( + response: + | WebAppsListBackupStatusSecretsSlot200Response + | WebAppsListBackupStatusSecretsSlotDefaultResponse, +): response is WebAppsListBackupStatusSecretsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreSlot200Response + | WebAppsRestoreSlot202Response + | WebAppsRestoreSlotDefaultResponse, +): response is WebAppsRestoreSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListBasicPublishingCredentialsPoliciesSlot200Response + | WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse, +): response is WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetFtpAllowedSlot200Response | WebAppsGetFtpAllowedSlotDefaultResponse, +): response is WebAppsGetFtpAllowedSlotDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateFtpAllowedSlot200Response | WebAppsUpdateFtpAllowedSlotDefaultResponse, +): response is WebAppsUpdateFtpAllowedSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetScmAllowedSlot200Response | WebAppsGetScmAllowedSlotDefaultResponse, +): response is WebAppsGetScmAllowedSlotDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateScmAllowedSlot200Response | WebAppsUpdateScmAllowedSlotDefaultResponse, +): response is WebAppsUpdateScmAllowedSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListConfigurationsSlot200Response | WebAppsListConfigurationsSlotDefaultResponse, +): response is WebAppsListConfigurationsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateApplicationSettingsSlot200Response + | WebAppsUpdateApplicationSettingsSlotDefaultResponse, +): response is WebAppsUpdateApplicationSettingsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListApplicationSettingsSlot200Response + | WebAppsListApplicationSettingsSlotDefaultResponse, +): response is WebAppsListApplicationSettingsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateAuthSettingsSlot200Response | WebAppsUpdateAuthSettingsSlotDefaultResponse, +): response is WebAppsUpdateAuthSettingsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetAuthSettingsSlot200Response | WebAppsGetAuthSettingsSlotDefaultResponse, +): response is WebAppsGetAuthSettingsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response + | WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse, +): response is WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateAuthSettingsV2Slot200Response + | WebAppsUpdateAuthSettingsV2SlotDefaultResponse, +): response is WebAppsUpdateAuthSettingsV2SlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetAuthSettingsV2Slot200Response | WebAppsGetAuthSettingsV2SlotDefaultResponse, +): response is WebAppsGetAuthSettingsV2SlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateAzureStorageAccountsSlot200Response + | WebAppsUpdateAzureStorageAccountsSlotDefaultResponse, +): response is WebAppsUpdateAzureStorageAccountsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListAzureStorageAccountsSlot200Response + | WebAppsListAzureStorageAccountsSlotDefaultResponse, +): response is WebAppsListAzureStorageAccountsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateBackupConfigurationSlot200Response + | WebAppsUpdateBackupConfigurationSlotDefaultResponse, +): response is WebAppsUpdateBackupConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteBackupConfigurationSlot200Response + | WebAppsDeleteBackupConfigurationSlotDefaultResponse, +): response is WebAppsDeleteBackupConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetBackupConfigurationSlot200Response + | WebAppsGetBackupConfigurationSlotDefaultResponse, +): response is WebAppsGetBackupConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAppSettingsKeyVaultReferencesSlot200Response + | WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse, +): response is WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetAppSettingKeyVaultReferenceSlot200Response + | WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse, +): response is WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse, +): response is WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse, +): response is WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateConnectionStringsSlot200Response + | WebAppsUpdateConnectionStringsSlotDefaultResponse, +): response is WebAppsUpdateConnectionStringsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListConnectionStringsSlot200Response + | WebAppsListConnectionStringsSlotDefaultResponse, +): response is WebAppsListConnectionStringsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetDiagnosticLogsConfigurationSlot200Response + | WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse, +): response is WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateDiagnosticLogsConfigSlot200Response + | WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse, +): response is WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse; +export function isUnexpected( + response: WebAppsUpdateMetadataSlot200Response | WebAppsUpdateMetadataSlotDefaultResponse, +): response is WebAppsUpdateMetadataSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListMetadataSlot200Response | WebAppsListMetadataSlotDefaultResponse, +): response is WebAppsListMetadataSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListPublishingCredentialsSlot200Response + | WebAppsListPublishingCredentialsSlotDefaultResponse, +): response is WebAppsListPublishingCredentialsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateSitePushSettingsSlot200Response + | WebAppsUpdateSitePushSettingsSlotDefaultResponse, +): response is WebAppsUpdateSitePushSettingsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSitePushSettingsSlot200Response + | WebAppsListSitePushSettingsSlotDefaultResponse, +): response is WebAppsListSitePushSettingsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetConfigurationSlot200Response | WebAppsGetConfigurationSlotDefaultResponse, +): response is WebAppsGetConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateConfigurationSlot200Response + | WebAppsCreateOrUpdateConfigurationSlotDefaultResponse, +): response is WebAppsCreateOrUpdateConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateConfigurationSlot200Response + | WebAppsUpdateConfigurationSlotDefaultResponse, +): response is WebAppsUpdateConfigurationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListConfigurationSnapshotInfoSlot200Response + | WebAppsListConfigurationSnapshotInfoSlotDefaultResponse, +): response is WebAppsListConfigurationSnapshotInfoSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetConfigurationSnapshotSlot200Response + | WebAppsGetConfigurationSnapshotSlotDefaultResponse, +): response is WebAppsGetConfigurationSnapshotSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRecoverSiteConfigurationSnapshotSlot204Response + | WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse, +): response is WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetWebSiteContainerLogsSlot200Response + | WebAppsGetWebSiteContainerLogsSlot204Response + | WebAppsGetWebSiteContainerLogsSlotDefaultResponse, +): response is WebAppsGetWebSiteContainerLogsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetContainerLogsZipSlot200Response + | WebAppsGetContainerLogsZipSlot204Response + | WebAppsGetContainerLogsZipSlotDefaultResponse, +): response is WebAppsGetContainerLogsZipSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListContinuousWebJobsSlot200Response + | WebAppsListContinuousWebJobsSlotDefaultResponse, +): response is WebAppsListContinuousWebJobsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetContinuousWebJobSlot200Response + | WebAppsGetContinuousWebJobSlot404Response + | WebAppsGetContinuousWebJobSlotDefaultResponse, +): response is WebAppsGetContinuousWebJobSlot404Response; +export function isUnexpected( + response: + | WebAppsDeleteContinuousWebJobSlot200Response + | WebAppsDeleteContinuousWebJobSlot204Response + | WebAppsDeleteContinuousWebJobSlotDefaultResponse, +): response is WebAppsDeleteContinuousWebJobSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartContinuousWebJobSlot200Response + | WebAppsStartContinuousWebJobSlot404Response + | WebAppsStartContinuousWebJobSlotDefaultResponse, +): response is WebAppsStartContinuousWebJobSlot404Response; +export function isUnexpected( + response: + | WebAppsStopContinuousWebJobSlot200Response + | WebAppsStopContinuousWebJobSlot404Response + | WebAppsStopContinuousWebJobSlotDefaultResponse, +): response is WebAppsStopContinuousWebJobSlot404Response; +export function isUnexpected( + response: WebAppsListDeploymentsSlot200Response | WebAppsListDeploymentsSlotDefaultResponse, +): response is WebAppsListDeploymentsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetDeploymentSlot200Response | WebAppsGetDeploymentSlotDefaultResponse, +): response is WebAppsGetDeploymentSlotDefaultResponse; +export function isUnexpected( + response: WebAppsCreateDeploymentSlot200Response | WebAppsCreateDeploymentSlotDefaultResponse, +): response is WebAppsCreateDeploymentSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteDeploymentSlot200Response + | WebAppsDeleteDeploymentSlot204Response + | WebAppsDeleteDeploymentSlotDefaultResponse, +): response is WebAppsDeleteDeploymentSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListDeploymentLogSlot200Response | WebAppsListDeploymentLogSlotDefaultResponse, +): response is WebAppsListDeploymentLogSlotDefaultResponse; +export function isUnexpected( + response: WebAppsDiscoverBackupSlot200Response | WebAppsDiscoverBackupSlotDefaultResponse, +): response is WebAppsDiscoverBackupSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListDomainOwnershipIdentifiersSlot200Response + | WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse, +): response is WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetDomainOwnershipIdentifierSlot200Response + | WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse, +): response is WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse, +): response is WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteDomainOwnershipIdentifierSlot200Response + | WebAppsDeleteDomainOwnershipIdentifierSlot204Response + | WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse, +): response is WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateDomainOwnershipIdentifierSlot200Response + | WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse, +): response is WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetMSDeployStatusSlot200Response | WebAppsGetMSDeployStatusSlotDefaultResponse, +): response is WebAppsGetMSDeployStatusSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateMSDeployOperationSlot201Response + | WebAppsCreateMSDeployOperationSlot409Response + | WebAppsCreateMSDeployOperationSlotDefaultResponse, +): response is WebAppsCreateMSDeployOperationSlot409Response; +export function isUnexpected( + response: + | WebAppsGetMSDeployLogSlot200Response + | WebAppsGetMSDeployLogSlot404Response + | WebAppsGetMSDeployLogSlotDefaultResponse, +): response is WebAppsGetMSDeployLogSlot404Response; +export function isUnexpected( + response: + | WebAppsListInstanceFunctionsSlot200Response + | WebAppsListInstanceFunctionsSlot404Response + | WebAppsListInstanceFunctionsSlotDefaultResponse, +): response is WebAppsListInstanceFunctionsSlot404Response; +export function isUnexpected( + response: + | WebAppsGetFunctionsAdminTokenSlot200Response + | WebAppsGetFunctionsAdminTokenSlotDefaultResponse, +): response is WebAppsGetFunctionsAdminTokenSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetInstanceFunctionSlot200Response + | WebAppsGetInstanceFunctionSlot404Response + | WebAppsGetInstanceFunctionSlotDefaultResponse, +): response is WebAppsGetInstanceFunctionSlot404Response; +export function isUnexpected( + response: + | WebAppsCreateInstanceFunctionSlot201Response + | WebAppsCreateInstanceFunctionSlotDefaultResponse, +): response is WebAppsCreateInstanceFunctionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteInstanceFunctionSlot204Response + | WebAppsDeleteInstanceFunctionSlot404Response + | WebAppsDeleteInstanceFunctionSlotDefaultResponse, +): response is WebAppsDeleteInstanceFunctionSlot404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateFunctionSecretSlot200Response + | WebAppsCreateOrUpdateFunctionSecretSlot201Response + | WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse, +): response is WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteFunctionSecretSlot204Response + | WebAppsDeleteFunctionSecretSlot404Response + | WebAppsDeleteFunctionSecretSlotDefaultResponse, +): response is WebAppsDeleteFunctionSecretSlot404Response; +export function isUnexpected( + response: WebAppsListFunctionKeysSlot200Response | WebAppsListFunctionKeysSlotDefaultResponse, +): response is WebAppsListFunctionKeysSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListFunctionSecretsSlot200Response + | WebAppsListFunctionSecretsSlotDefaultResponse, +): response is WebAppsListFunctionSecretsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListHostKeysSlot200Response | WebAppsListHostKeysSlotDefaultResponse, +): response is WebAppsListHostKeysSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListSyncStatusSlot204Response | WebAppsListSyncStatusSlotDefaultResponse, +): response is WebAppsListSyncStatusSlotDefaultResponse; +export function isUnexpected( + response: WebAppsSyncFunctionsSlot204Response | WebAppsSyncFunctionsSlotDefaultResponse, +): response is WebAppsSyncFunctionsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHostSecretSlot200Response + | WebAppsCreateOrUpdateHostSecretSlot201Response + | WebAppsCreateOrUpdateHostSecretSlotDefaultResponse, +): response is WebAppsCreateOrUpdateHostSecretSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHostSecretSlot204Response + | WebAppsDeleteHostSecretSlot404Response + | WebAppsDeleteHostSecretSlotDefaultResponse, +): response is WebAppsDeleteHostSecretSlot404Response; +export function isUnexpected( + response: + | WebAppsListHostNameBindingsSlot200Response + | WebAppsListHostNameBindingsSlotDefaultResponse, +): response is WebAppsListHostNameBindingsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetHostNameBindingSlot200Response | WebAppsGetHostNameBindingSlotDefaultResponse, +): response is WebAppsGetHostNameBindingSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHostNameBindingSlot200Response + | WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse, +): response is WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHostNameBindingSlot200Response + | WebAppsDeleteHostNameBindingSlot204Response + | WebAppsDeleteHostNameBindingSlotDefaultResponse, +): response is WebAppsDeleteHostNameBindingSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetHybridConnectionSlot200Response + | WebAppsGetHybridConnectionSlotDefaultResponse, +): response is WebAppsGetHybridConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateHybridConnectionSlot200Response + | WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse, +): response is WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteHybridConnectionSlot200Response + | WebAppsDeleteHybridConnectionSlot404Response + | WebAppsDeleteHybridConnectionSlotDefaultResponse, +): response is WebAppsDeleteHybridConnectionSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateHybridConnectionSlot200Response + | WebAppsUpdateHybridConnectionSlotDefaultResponse, +): response is WebAppsUpdateHybridConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListHybridConnectionsSlot200Response + | WebAppsListHybridConnectionsSlotDefaultResponse, +): response is WebAppsListHybridConnectionsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListRelayServiceConnectionsSlot200Response + | WebAppsListRelayServiceConnectionsSlotDefaultResponse, +): response is WebAppsListRelayServiceConnectionsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetRelayServiceConnectionSlot200Response + | WebAppsGetRelayServiceConnectionSlotDefaultResponse, +): response is WebAppsGetRelayServiceConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response + | WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse, +): response is WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteRelayServiceConnectionSlot200Response + | WebAppsDeleteRelayServiceConnectionSlot404Response + | WebAppsDeleteRelayServiceConnectionSlotDefaultResponse, +): response is WebAppsDeleteRelayServiceConnectionSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateRelayServiceConnectionSlot200Response + | WebAppsUpdateRelayServiceConnectionSlotDefaultResponse, +): response is WebAppsUpdateRelayServiceConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListInstanceIdentifiersSlot200Response + | WebAppsListInstanceIdentifiersSlotDefaultResponse, +): response is WebAppsListInstanceIdentifiersSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetInstanceInfoSlot200Response | WebAppsGetInstanceInfoSlotDefaultResponse, +): response is WebAppsGetInstanceInfoSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetInstanceMsDeployStatusSlot200Response + | WebAppsGetInstanceMsDeployStatusSlotDefaultResponse, +): response is WebAppsGetInstanceMsDeployStatusSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateInstanceMSDeployOperationSlot201Response + | WebAppsCreateInstanceMSDeployOperationSlot409Response + | WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse, +): response is WebAppsCreateInstanceMSDeployOperationSlot409Response; +export function isUnexpected( + response: + | WebAppsGetInstanceMSDeployLogSlot200Response + | WebAppsGetInstanceMSDeployLogSlot404Response + | WebAppsGetInstanceMSDeployLogSlotDefaultResponse, +): response is WebAppsGetInstanceMSDeployLogSlot404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcessesSlot200Response + | WebAppsListInstanceProcessesSlot404Response + | WebAppsListInstanceProcessesSlotDefaultResponse, +): response is WebAppsListInstanceProcessesSlot404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcessSlot200Response + | WebAppsGetInstanceProcessSlot404Response + | WebAppsGetInstanceProcessSlotDefaultResponse, +): response is WebAppsGetInstanceProcessSlot404Response; +export function isUnexpected( + response: + | WebAppsDeleteInstanceProcessSlot204Response + | WebAppsDeleteInstanceProcessSlot404Response + | WebAppsDeleteInstanceProcessSlotDefaultResponse, +): response is WebAppsDeleteInstanceProcessSlot404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcessDumpSlot200Response + | WebAppsGetInstanceProcessDumpSlot404Response + | WebAppsGetInstanceProcessDumpSlotDefaultResponse, +): response is WebAppsGetInstanceProcessDumpSlot404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcessModulesSlot200Response + | WebAppsListInstanceProcessModulesSlot404Response + | WebAppsListInstanceProcessModulesSlotDefaultResponse, +): response is WebAppsListInstanceProcessModulesSlot404Response; +export function isUnexpected( + response: + | WebAppsGetInstanceProcessModuleSlot200Response + | WebAppsGetInstanceProcessModuleSlot404Response + | WebAppsGetInstanceProcessModuleSlotDefaultResponse, +): response is WebAppsGetInstanceProcessModuleSlot404Response; +export function isUnexpected( + response: + | WebAppsListInstanceProcessThreadsSlot200Response + | WebAppsListInstanceProcessThreadsSlot404Response + | WebAppsListInstanceProcessThreadsSlotDefaultResponse, +): response is WebAppsListInstanceProcessThreadsSlot404Response; +export function isUnexpected( + response: WebAppsIsCloneableSlot200Response | WebAppsIsCloneableSlotDefaultResponse, +): response is WebAppsIsCloneableSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListSiteBackupsSlot200Response | WebAppsListSiteBackupsSlotDefaultResponse, +): response is WebAppsListSiteBackupsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSyncFunctionTriggersSlot200Response + | WebAppsListSyncFunctionTriggersSlotDefaultResponse, +): response is WebAppsListSyncFunctionTriggersSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetMigrateMySqlStatusSlot200Response + | WebAppsGetMigrateMySqlStatusSlotDefaultResponse, +): response is WebAppsGetMigrateMySqlStatusSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSwiftVirtualNetworkConnectionSlot200Response + | WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse, +): response is WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, +): response is WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteSwiftVirtualNetworkSlot200Response + | WebAppsDeleteSwiftVirtualNetworkSlot404Response + | WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse, +): response is WebAppsDeleteSwiftVirtualNetworkSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse, +): response is WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListNetworkFeaturesSlot200Response + | WebAppsListNetworkFeaturesSlot404Response + | WebAppsListNetworkFeaturesSlotDefaultResponse, +): response is WebAppsListNetworkFeaturesSlot404Response; +export function isUnexpected( + response: + | WebAppsGetNetworkTraceOperationSlot200Response + | WebAppsGetNetworkTraceOperationSlot202Response + | WebAppsGetNetworkTraceOperationSlotDefaultResponse, +): response is WebAppsGetNetworkTraceOperationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartWebSiteNetworkTraceSlot200Response + | WebAppsStartWebSiteNetworkTraceSlotDefaultResponse, +): response is WebAppsStartWebSiteNetworkTraceSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartWebSiteNetworkTraceOperationSlot200Response + | WebAppsStartWebSiteNetworkTraceOperationSlot202Response + | WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse, +): response is WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStopWebSiteNetworkTraceSlot200Response + | WebAppsStopWebSiteNetworkTraceSlot204Response + | WebAppsStopWebSiteNetworkTraceSlotDefaultResponse, +): response is WebAppsStopWebSiteNetworkTraceSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetNetworkTracesSlot200Response | WebAppsGetNetworkTracesSlotDefaultResponse, +): response is WebAppsGetNetworkTracesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetNetworkTraceOperationSlotV2200Response + | WebAppsGetNetworkTraceOperationSlotV2202Response + | WebAppsGetNetworkTraceOperationSlotV2DefaultResponse, +): response is WebAppsGetNetworkTraceOperationSlotV2DefaultResponse; +export function isUnexpected( + response: WebAppsGetNetworkTracesSlotV2200Response | WebAppsGetNetworkTracesSlotV2DefaultResponse, +): response is WebAppsGetNetworkTracesSlotV2DefaultResponse; +export function isUnexpected( + response: + | WebAppsGenerateNewSitePublishingPasswordSlot200Response + | WebAppsGenerateNewSitePublishingPasswordSlot204Response + | WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse, +): response is WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListPerfMonCountersSlot200Response + | WebAppsListPerfMonCountersSlotDefaultResponse, +): response is WebAppsListPerfMonCountersSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSitePhpErrorLogFlagSlot200Response + | WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse, +): response is WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListPremierAddOnsSlot200Response | WebAppsListPremierAddOnsSlotDefaultResponse, +): response is WebAppsListPremierAddOnsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetPremierAddOnSlot200Response | WebAppsGetPremierAddOnSlotDefaultResponse, +): response is WebAppsGetPremierAddOnSlotDefaultResponse; +export function isUnexpected( + response: WebAppsAddPremierAddOnSlot200Response | WebAppsAddPremierAddOnSlotDefaultResponse, +): response is WebAppsAddPremierAddOnSlotDefaultResponse; +export function isUnexpected( + response: WebAppsDeletePremierAddOnSlot200Response | WebAppsDeletePremierAddOnSlotDefaultResponse, +): response is WebAppsDeletePremierAddOnSlotDefaultResponse; +export function isUnexpected( + response: WebAppsUpdatePremierAddOnSlot200Response | WebAppsUpdatePremierAddOnSlotDefaultResponse, +): response is WebAppsUpdatePremierAddOnSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetPrivateAccessSlot200Response | WebAppsGetPrivateAccessSlotDefaultResponse, +): response is WebAppsGetPrivateAccessSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsPutPrivateAccessVnetSlot200Response + | WebAppsPutPrivateAccessVnetSlotDefaultResponse, +): response is WebAppsPutPrivateAccessVnetSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateEndpointConnectionListSlot200Response + | WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse, +): response is WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateEndpointConnectionSlot200Response + | WebAppsGetPrivateEndpointConnectionSlotDefaultResponse, +): response is WebAppsGetPrivateEndpointConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response + | WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response + | WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse, +): response is WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeletePrivateEndpointConnectionSlot200Response + | WebAppsDeletePrivateEndpointConnectionSlot202Response + | WebAppsDeletePrivateEndpointConnectionSlot204Response + | WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse, +): response is WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPrivateLinkResourcesSlot200Response + | WebAppsGetPrivateLinkResourcesSlotDefaultResponse, +): response is WebAppsGetPrivateLinkResourcesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListProcessesSlot200Response + | WebAppsListProcessesSlot404Response + | WebAppsListProcessesSlotDefaultResponse, +): response is WebAppsListProcessesSlot404Response; +export function isUnexpected( + response: + | WebAppsGetProcessSlot200Response + | WebAppsGetProcessSlot404Response + | WebAppsGetProcessSlotDefaultResponse, +): response is WebAppsGetProcessSlot404Response; +export function isUnexpected( + response: + | WebAppsDeleteProcessSlot204Response + | WebAppsDeleteProcessSlot404Response + | WebAppsDeleteProcessSlotDefaultResponse, +): response is WebAppsDeleteProcessSlot404Response; +export function isUnexpected( + response: + | WebAppsGetProcessDumpSlot200Response + | WebAppsGetProcessDumpSlot404Response + | WebAppsGetProcessDumpSlotDefaultResponse, +): response is WebAppsGetProcessDumpSlot404Response; +export function isUnexpected( + response: + | WebAppsListProcessModulesSlot200Response + | WebAppsListProcessModulesSlot404Response + | WebAppsListProcessModulesSlotDefaultResponse, +): response is WebAppsListProcessModulesSlot404Response; +export function isUnexpected( + response: + | WebAppsGetProcessModuleSlot200Response + | WebAppsGetProcessModuleSlot404Response + | WebAppsGetProcessModuleSlotDefaultResponse, +): response is WebAppsGetProcessModuleSlot404Response; +export function isUnexpected( + response: + | WebAppsListProcessThreadsSlot200Response + | WebAppsListProcessThreadsSlot404Response + | WebAppsListProcessThreadsSlotDefaultResponse, +): response is WebAppsListProcessThreadsSlot404Response; +export function isUnexpected( + response: + | WebAppsListPublicCertificatesSlot200Response + | WebAppsListPublicCertificatesSlotDefaultResponse, +): response is WebAppsListPublicCertificatesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetPublicCertificateSlot200Response + | WebAppsGetPublicCertificateSlotDefaultResponse, +): response is WebAppsGetPublicCertificateSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdatePublicCertificateSlot200Response + | WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse, +): response is WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeletePublicCertificateSlot200Response + | WebAppsDeletePublicCertificateSlot204Response + | WebAppsDeletePublicCertificateSlotDefaultResponse, +): response is WebAppsDeletePublicCertificateSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListPublishingProfileXmlWithSecretsSlot200Response + | WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse, +): response is WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsResetSlotConfigurationSlot200Response + | WebAppsResetSlotConfigurationSlotDefaultResponse, +): response is WebAppsResetSlotConfigurationSlotDefaultResponse; +export function isUnexpected( + response: WebAppsRestartSlot200Response | WebAppsRestartSlotDefaultResponse, +): response is WebAppsRestartSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreFromBackupBlobSlot200Response + | WebAppsRestoreFromBackupBlobSlot202Response + | WebAppsRestoreFromBackupBlobSlotDefaultResponse, +): response is WebAppsRestoreFromBackupBlobSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreFromDeletedAppSlot200Response + | WebAppsRestoreFromDeletedAppSlot202Response + | WebAppsRestoreFromDeletedAppSlotDefaultResponse, +): response is WebAppsRestoreFromDeletedAppSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsRestoreSnapshotSlot200Response + | WebAppsRestoreSnapshotSlot202Response + | WebAppsRestoreSnapshotSlotDefaultResponse, +): response is WebAppsRestoreSnapshotSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSiteExtensionsSlot200Response + | WebAppsListSiteExtensionsSlot404Response + | WebAppsListSiteExtensionsSlotDefaultResponse, +): response is WebAppsListSiteExtensionsSlot404Response; +export function isUnexpected( + response: + | WebAppsGetSiteExtensionSlot200Response + | WebAppsGetSiteExtensionSlot404Response + | WebAppsGetSiteExtensionSlotDefaultResponse, +): response is WebAppsGetSiteExtensionSlot404Response; +export function isUnexpected( + response: + | WebAppsInstallSiteExtensionSlot200Response + | WebAppsInstallSiteExtensionSlot201Response + | WebAppsInstallSiteExtensionSlot429Response + | WebAppsInstallSiteExtensionSlotDefaultResponse, +): response is WebAppsInstallSiteExtensionSlot429Response; +export function isUnexpected( + response: + | WebAppsDeleteSiteExtensionSlot204Response + | WebAppsDeleteSiteExtensionSlot404Response + | WebAppsDeleteSiteExtensionSlotDefaultResponse, +): response is WebAppsDeleteSiteExtensionSlot404Response; +export function isUnexpected( + response: + | WebAppsListSlotDifferencesSlot200Response + | WebAppsListSlotDifferencesSlotDefaultResponse, +): response is WebAppsListSlotDifferencesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsSwapSlot200Response + | WebAppsSwapSlot202Response + | WebAppsSwapSlotDefaultResponse, +): response is WebAppsSwapSlotDefaultResponse; +export function isUnexpected( + response: WebAppsListSnapshotsSlot200Response | WebAppsListSnapshotsSlotDefaultResponse, +): response is WebAppsListSnapshotsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSnapshotsFromDRSecondarySlot200Response + | WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse, +): response is WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSourceControlSlot200Response + | WebAppsGetSourceControlSlot201Response + | WebAppsGetSourceControlSlot202Response + | WebAppsGetSourceControlSlotDefaultResponse, +): response is WebAppsGetSourceControlSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateSourceControlSlot200Response + | WebAppsCreateOrUpdateSourceControlSlot201Response + | WebAppsCreateOrUpdateSourceControlSlot202Response + | WebAppsCreateOrUpdateSourceControlSlotDefaultResponse, +): response is WebAppsCreateOrUpdateSourceControlSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteSourceControlSlot200Response + | WebAppsDeleteSourceControlSlot202Response + | WebAppsDeleteSourceControlSlot404Response + | WebAppsDeleteSourceControlSlotDefaultResponse, +): response is WebAppsDeleteSourceControlSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateSourceControlSlot200Response + | WebAppsUpdateSourceControlSlot201Response + | WebAppsUpdateSourceControlSlot202Response + | WebAppsUpdateSourceControlSlotDefaultResponse, +): response is WebAppsUpdateSourceControlSlotDefaultResponse; +export function isUnexpected( + response: WebAppsStartSlot200Response | WebAppsStartSlotDefaultResponse, +): response is WebAppsStartSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartNetworkTraceSlot200Response + | WebAppsStartNetworkTraceSlot202Response + | WebAppsStartNetworkTraceSlotDefaultResponse, +): response is WebAppsStartNetworkTraceSlotDefaultResponse; +export function isUnexpected( + response: WebAppsStopSlot200Response | WebAppsStopSlotDefaultResponse, +): response is WebAppsStopSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsStopNetworkTraceSlot200Response + | WebAppsStopNetworkTraceSlot204Response + | WebAppsStopNetworkTraceSlotDefaultResponse, +): response is WebAppsStopNetworkTraceSlotDefaultResponse; +export function isUnexpected( + response: WebAppsSyncRepositorySlot200Response | WebAppsSyncRepositorySlotDefaultResponse, +): response is WebAppsSyncRepositorySlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsSyncFunctionTriggersSlot204Response + | WebAppsSyncFunctionTriggersSlotDefaultResponse, +): response is WebAppsSyncFunctionTriggersSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListTriggeredWebJobsSlot200Response + | WebAppsListTriggeredWebJobsSlotDefaultResponse, +): response is WebAppsListTriggeredWebJobsSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetTriggeredWebJobSlot200Response + | WebAppsGetTriggeredWebJobSlot404Response + | WebAppsGetTriggeredWebJobSlotDefaultResponse, +): response is WebAppsGetTriggeredWebJobSlot404Response; +export function isUnexpected( + response: + | WebAppsDeleteTriggeredWebJobSlot200Response + | WebAppsDeleteTriggeredWebJobSlot204Response + | WebAppsDeleteTriggeredWebJobSlotDefaultResponse, +): response is WebAppsDeleteTriggeredWebJobSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListTriggeredWebJobHistorySlot200Response + | WebAppsListTriggeredWebJobHistorySlot404Response + | WebAppsListTriggeredWebJobHistorySlotDefaultResponse, +): response is WebAppsListTriggeredWebJobHistorySlot404Response; +export function isUnexpected( + response: + | WebAppsGetTriggeredWebJobHistorySlot200Response + | WebAppsGetTriggeredWebJobHistorySlot404Response + | WebAppsGetTriggeredWebJobHistorySlotDefaultResponse, +): response is WebAppsGetTriggeredWebJobHistorySlot404Response; +export function isUnexpected( + response: + | WebAppsRunTriggeredWebJobSlot200Response + | WebAppsRunTriggeredWebJobSlot404Response + | WebAppsRunTriggeredWebJobSlotDefaultResponse, +): response is WebAppsRunTriggeredWebJobSlot404Response; +export function isUnexpected( + response: WebAppsListUsagesSlot200Response | WebAppsListUsagesSlotDefaultResponse, +): response is WebAppsListUsagesSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListVnetConnectionsSlot200Response + | WebAppsListVnetConnectionsSlotDefaultResponse, +): response is WebAppsListVnetConnectionsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetVnetConnectionSlot200Response | WebAppsGetVnetConnectionSlotDefaultResponse, +): response is WebAppsGetVnetConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateVnetConnectionSlot200Response + | WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse, +): response is WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteVnetConnectionSlot200Response + | WebAppsDeleteVnetConnectionSlot404Response + | WebAppsDeleteVnetConnectionSlotDefaultResponse, +): response is WebAppsDeleteVnetConnectionSlot404Response; +export function isUnexpected( + response: + | WebAppsUpdateVnetConnectionSlot200Response + | WebAppsUpdateVnetConnectionSlotDefaultResponse, +): response is WebAppsUpdateVnetConnectionSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetVnetConnectionGatewaySlot200Response + | WebAppsGetVnetConnectionGatewaySlot404Response + | WebAppsGetVnetConnectionGatewaySlotDefaultResponse, +): response is WebAppsGetVnetConnectionGatewaySlot404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response + | WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse, +): response is WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateVnetConnectionGatewaySlot200Response + | WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse, +): response is WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse; +export function isUnexpected( + response: WebAppsListWebJobsSlot200Response | WebAppsListWebJobsSlotDefaultResponse, +): response is WebAppsListWebJobsSlotDefaultResponse; +export function isUnexpected( + response: WebAppsGetWebJobSlot200Response | WebAppsGetWebJobSlotDefaultResponse, +): response is WebAppsGetWebJobSlotDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSlotDifferencesFromProduction200Response + | WebAppsListSlotDifferencesFromProductionDefaultResponse, +): response is WebAppsListSlotDifferencesFromProductionDefaultResponse; +export function isUnexpected( + response: + | WebAppsSwapSlotWithProduction200Response + | WebAppsSwapSlotWithProduction202Response + | WebAppsSwapSlotWithProductionDefaultResponse, +): response is WebAppsSwapSlotWithProductionDefaultResponse; +export function isUnexpected( + response: WebAppsListSnapshots200Response | WebAppsListSnapshotsDefaultResponse, +): response is WebAppsListSnapshotsDefaultResponse; +export function isUnexpected( + response: + | WebAppsListSnapshotsFromDRSecondary200Response + | WebAppsListSnapshotsFromDRSecondaryDefaultResponse, +): response is WebAppsListSnapshotsFromDRSecondaryDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetSourceControl200Response + | WebAppsGetSourceControl201Response + | WebAppsGetSourceControl202Response + | WebAppsGetSourceControlDefaultResponse, +): response is WebAppsGetSourceControlDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateSourceControl200Response + | WebAppsCreateOrUpdateSourceControl201Response + | WebAppsCreateOrUpdateSourceControl202Response + | WebAppsCreateOrUpdateSourceControlDefaultResponse, +): response is WebAppsCreateOrUpdateSourceControlDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteSourceControl200Response + | WebAppsDeleteSourceControl202Response + | WebAppsDeleteSourceControl404Response + | WebAppsDeleteSourceControlDefaultResponse, +): response is WebAppsDeleteSourceControl404Response; +export function isUnexpected( + response: + | WebAppsUpdateSourceControl200Response + | WebAppsUpdateSourceControl201Response + | WebAppsUpdateSourceControl202Response + | WebAppsUpdateSourceControlDefaultResponse, +): response is WebAppsUpdateSourceControlDefaultResponse; +export function isUnexpected( + response: WebAppsStart200Response | WebAppsStartDefaultResponse, +): response is WebAppsStartDefaultResponse; +export function isUnexpected( + response: + | WebAppsStartNetworkTrace200Response + | WebAppsStartNetworkTrace202Response + | WebAppsStartNetworkTraceDefaultResponse, +): response is WebAppsStartNetworkTraceDefaultResponse; +export function isUnexpected( + response: WebAppsStop200Response | WebAppsStopDefaultResponse, +): response is WebAppsStopDefaultResponse; +export function isUnexpected( + response: + | WebAppsStopNetworkTrace200Response + | WebAppsStopNetworkTrace204Response + | WebAppsStopNetworkTraceDefaultResponse, +): response is WebAppsStopNetworkTraceDefaultResponse; +export function isUnexpected( + response: WebAppsSyncRepository200Response | WebAppsSyncRepositoryDefaultResponse, +): response is WebAppsSyncRepositoryDefaultResponse; +export function isUnexpected( + response: WebAppsSyncFunctionTriggers204Response | WebAppsSyncFunctionTriggersDefaultResponse, +): response is WebAppsSyncFunctionTriggersDefaultResponse; +export function isUnexpected( + response: WebAppsListTriggeredWebJobs200Response | WebAppsListTriggeredWebJobsDefaultResponse, +): response is WebAppsListTriggeredWebJobsDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetTriggeredWebJob200Response + | WebAppsGetTriggeredWebJob404Response + | WebAppsGetTriggeredWebJobDefaultResponse, +): response is WebAppsGetTriggeredWebJob404Response; +export function isUnexpected( + response: + | WebAppsDeleteTriggeredWebJob200Response + | WebAppsDeleteTriggeredWebJob204Response + | WebAppsDeleteTriggeredWebJobDefaultResponse, +): response is WebAppsDeleteTriggeredWebJobDefaultResponse; +export function isUnexpected( + response: + | WebAppsListTriggeredWebJobHistory200Response + | WebAppsListTriggeredWebJobHistory404Response + | WebAppsListTriggeredWebJobHistoryDefaultResponse, +): response is WebAppsListTriggeredWebJobHistory404Response; +export function isUnexpected( + response: + | WebAppsGetTriggeredWebJobHistory200Response + | WebAppsGetTriggeredWebJobHistory404Response + | WebAppsGetTriggeredWebJobHistoryDefaultResponse, +): response is WebAppsGetTriggeredWebJobHistory404Response; +export function isUnexpected( + response: + | WebAppsRunTriggeredWebJob200Response + | WebAppsRunTriggeredWebJob404Response + | WebAppsRunTriggeredWebJobDefaultResponse, +): response is WebAppsRunTriggeredWebJob404Response; +export function isUnexpected( + response: WebAppsListUsages200Response | WebAppsListUsagesDefaultResponse, +): response is WebAppsListUsagesDefaultResponse; +export function isUnexpected( + response: WebAppsListVnetConnections200Response | WebAppsListVnetConnectionsDefaultResponse, +): response is WebAppsListVnetConnectionsDefaultResponse; +export function isUnexpected( + response: WebAppsGetVnetConnection200Response | WebAppsGetVnetConnectionDefaultResponse, +): response is WebAppsGetVnetConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateVnetConnection200Response + | WebAppsCreateOrUpdateVnetConnectionDefaultResponse, +): response is WebAppsCreateOrUpdateVnetConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsDeleteVnetConnection200Response + | WebAppsDeleteVnetConnection404Response + | WebAppsDeleteVnetConnectionDefaultResponse, +): response is WebAppsDeleteVnetConnection404Response; +export function isUnexpected( + response: WebAppsUpdateVnetConnection200Response | WebAppsUpdateVnetConnectionDefaultResponse, +): response is WebAppsUpdateVnetConnectionDefaultResponse; +export function isUnexpected( + response: + | WebAppsGetVnetConnectionGateway200Response + | WebAppsGetVnetConnectionGateway404Response + | WebAppsGetVnetConnectionGatewayDefaultResponse, +): response is WebAppsGetVnetConnectionGateway404Response; +export function isUnexpected( + response: + | WebAppsCreateOrUpdateVnetConnectionGateway200Response + | WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse, +): response is WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse; +export function isUnexpected( + response: + | WebAppsUpdateVnetConnectionGateway200Response + | WebAppsUpdateVnetConnectionGatewayDefaultResponse, +): response is WebAppsUpdateVnetConnectionGatewayDefaultResponse; +export function isUnexpected( + response: WebAppsListWebJobs200Response | WebAppsListWebJobsDefaultResponse, +): response is WebAppsListWebJobsDefaultResponse; +export function isUnexpected( + response: WebAppsGetWebJob200Response | WebAppsGetWebJobDefaultResponse, +): response is WebAppsGetWebJobDefaultResponse; +export function isUnexpected( + response: + | AppServiceCertificateOrdersList200Response + | AppServiceCertificateOrdersListDefaultResponse + | AppServiceCertificateOrdersValidatePurchaseInformation204Response + | AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse + | AppServiceCertificateOrdersListByResourceGroup200Response + | AppServiceCertificateOrdersListByResourceGroupDefaultResponse + | AppServiceCertificateOrdersGet200Response + | AppServiceCertificateOrdersGetDefaultResponse + | AppServiceCertificateOrdersCreateOrUpdate200Response + | AppServiceCertificateOrdersCreateOrUpdate201Response + | AppServiceCertificateOrdersCreateOrUpdateDefaultResponse + | AppServiceCertificateOrdersDelete200Response + | AppServiceCertificateOrdersDelete204Response + | AppServiceCertificateOrdersDeleteDefaultResponse + | AppServiceCertificateOrdersUpdate200Response + | AppServiceCertificateOrdersUpdateDefaultResponse + | AppServiceCertificateOrdersListCertificates200Response + | AppServiceCertificateOrdersListCertificatesDefaultResponse + | AppServiceCertificateOrdersGetCertificate200Response + | AppServiceCertificateOrdersGetCertificateDefaultResponse + | AppServiceCertificateOrdersCreateOrUpdateCertificate200Response + | AppServiceCertificateOrdersCreateOrUpdateCertificate201Response + | AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse + | AppServiceCertificateOrdersDeleteCertificate200Response + | AppServiceCertificateOrdersDeleteCertificate204Response + | AppServiceCertificateOrdersDeleteCertificateDefaultResponse + | AppServiceCertificateOrdersUpdateCertificate200Response + | AppServiceCertificateOrdersUpdateCertificateDefaultResponse + | AppServiceCertificateOrdersReissue204Response + | AppServiceCertificateOrdersReissueDefaultResponse + | AppServiceCertificateOrdersRenew204Response + | AppServiceCertificateOrdersRenewDefaultResponse + | AppServiceCertificateOrdersResendEmail204Response + | AppServiceCertificateOrdersResendEmailDefaultResponse + | AppServiceCertificateOrdersResendRequestEmails204Response + | AppServiceCertificateOrdersResendRequestEmailsDefaultResponse + | AppServiceCertificateOrdersRetrieveSiteSeal200Response + | AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse + | AppServiceCertificateOrdersVerifyDomainOwnership204Response + | AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateActions200Response + | AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Response + | AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponse200Response + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponse200Response + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse + | CertificateRegistrationProviderListOperations200Response + | CertificateRegistrationProviderListOperationsDefaultResponse + | DomainsCheckAvailability200Response + | DomainsCheckAvailabilityDefaultResponse + | DomainsList200Response + | DomainsListDefaultResponse + | DomainsGetControlCenterSsoRequest200Response + | DomainsGetControlCenterSsoRequestDefaultResponse + | DomainsListRecommendations200Response + | DomainsListRecommendationsDefaultResponse + | DomainsListByResourceGroup200Response + | DomainsListByResourceGroupDefaultResponse + | DomainsGet200Response + | DomainsGetDefaultResponse + | DomainsCreateOrUpdate200Response + | DomainsCreateOrUpdate202Response + | DomainsCreateOrUpdateDefaultResponse + | DomainsDelete200Response + | DomainsDelete204Response + | DomainsDeleteDefaultResponse + | DomainsUpdate200Response + | DomainsUpdate202Response + | DomainsUpdateDefaultResponse + | DomainsListOwnershipIdentifiers200Response + | DomainsListOwnershipIdentifiersDefaultResponse + | DomainsGetOwnershipIdentifier200Response + | DomainsGetOwnershipIdentifierDefaultResponse + | DomainsCreateOrUpdateOwnershipIdentifier200Response + | DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse + | DomainsDeleteOwnershipIdentifier200Response + | DomainsDeleteOwnershipIdentifier204Response + | DomainsDeleteOwnershipIdentifierDefaultResponse + | DomainsUpdateOwnershipIdentifier200Response + | DomainsUpdateOwnershipIdentifierDefaultResponse + | DomainsRenew200Response + | DomainsRenew202Response + | DomainsRenew204Response + | DomainsRenewDefaultResponse + | DomainsTransferOut200Response + | DomainsTransferOut400Response + | DomainsTransferOutDefaultResponse + | TopLevelDomainsList200Response + | TopLevelDomainsListDefaultResponse + | TopLevelDomainsGet200Response + | TopLevelDomainsGetDefaultResponse + | TopLevelDomainsListAgreements200Response + | TopLevelDomainsListAgreementsDefaultResponse + | DomainRegistrationProviderListOperations200Response + | DomainRegistrationProviderListOperationsDefaultResponse + | AppServiceEnvironmentsList200Response + | AppServiceEnvironmentsListDefaultResponse + | AppServiceEnvironmentsListByResourceGroup200Response + | AppServiceEnvironmentsListByResourceGroupDefaultResponse + | AppServiceEnvironmentsGet200Response + | AppServiceEnvironmentsGetDefaultResponse + | AppServiceEnvironmentsCreateOrUpdate200Response + | AppServiceEnvironmentsCreateOrUpdate201Response + | AppServiceEnvironmentsCreateOrUpdate202Response + | AppServiceEnvironmentsCreateOrUpdateDefaultResponse + | AppServiceEnvironmentsDelete202Response + | AppServiceEnvironmentsDelete204Response + | AppServiceEnvironmentsDeleteDefaultResponse + | AppServiceEnvironmentsUpdate200Response + | AppServiceEnvironmentsUpdate201Response + | AppServiceEnvironmentsUpdate202Response + | AppServiceEnvironmentsUpdateDefaultResponse + | AppServiceEnvironmentsListCapacities200Response + | AppServiceEnvironmentsListCapacitiesDefaultResponse + | AppServiceEnvironmentsGetVipInfo200Response + | AppServiceEnvironmentsGetVipInfoDefaultResponse + | AppServiceEnvironmentsChangeVnet200Response + | AppServiceEnvironmentsChangeVnet202Response + | AppServiceEnvironmentsChangeVnetDefaultResponse + | AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Response + | AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse + | AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Response + | AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse + | AppServiceEnvironmentsListDiagnostics200Response + | AppServiceEnvironmentsListDiagnosticsDefaultResponse + | AppServiceEnvironmentsGetDiagnosticsItem200Response + | AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200Response + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse + | AppServiceEnvironmentsListMultiRolePools200Response + | AppServiceEnvironmentsListMultiRolePoolsDefaultResponse + | AppServiceEnvironmentsGetMultiRolePool200Response + | AppServiceEnvironmentsGetMultiRolePoolDefaultResponse + | AppServiceEnvironmentsCreateOrUpdateMultiRolePool200Response + | AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response + | AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse + | AppServiceEnvironmentsUpdateMultiRolePool200Response + | AppServiceEnvironmentsUpdateMultiRolePool202Response + | AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitions200Response + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response + | AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListMultiRolePoolSkus200Response + | AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse + | AppServiceEnvironmentsListMultiRoleUsages200Response + | AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse + | AppServiceEnvironmentsListOperations200Response + | AppServiceEnvironmentsListOperationsDefaultResponse + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints200Response + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnectionList200Response + | AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnection200Response + | AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection200Response + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection202Response + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsDeletePrivateEndpointConnection200Response + | AppServiceEnvironmentsDeletePrivateEndpointConnection202Response + | AppServiceEnvironmentsDeletePrivateEndpointConnection204Response + | AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsGetPrivateLinkResources200Response + | AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse + | AppServiceEnvironmentsReboot202Response + | AppServiceEnvironmentsRebootDefaultResponse + | AppServiceEnvironmentsResume200Response + | AppServiceEnvironmentsResume202Response + | AppServiceEnvironmentsResumeDefaultResponse + | AppServiceEnvironmentsListAppServicePlans200Response + | AppServiceEnvironmentsListAppServicePlansDefaultResponse + | AppServiceEnvironmentsListWebApps200Response + | AppServiceEnvironmentsListWebAppsDefaultResponse + | AppServiceEnvironmentsSuspend200Response + | AppServiceEnvironmentsSuspend202Response + | AppServiceEnvironmentsSuspendDefaultResponse + | AppServiceEnvironmentsListUsages200Response + | AppServiceEnvironmentsListUsagesDefaultResponse + | AppServiceEnvironmentsListWorkerPools200Response + | AppServiceEnvironmentsListWorkerPoolsDefaultResponse + | AppServiceEnvironmentsGetWorkerPool200Response + | AppServiceEnvironmentsGetWorkerPoolDefaultResponse + | AppServiceEnvironmentsCreateOrUpdateWorkerPool200Response + | AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response + | AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse + | AppServiceEnvironmentsUpdateWorkerPool200Response + | AppServiceEnvironmentsUpdateWorkerPool202Response + | AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions200Response + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response + | AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListWorkerPoolSkus200Response + | AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse + | AppServiceEnvironmentsListWebWorkerUsages200Response + | AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse + | AppServicePlansList200Response + | AppServicePlansListDefaultResponse + | AppServicePlansListByResourceGroup200Response + | AppServicePlansListByResourceGroupDefaultResponse + | AppServicePlansGet200Response + | AppServicePlansGet404Response + | AppServicePlansGetDefaultResponse + | AppServicePlansCreateOrUpdate200Response + | AppServicePlansCreateOrUpdate202Response + | AppServicePlansCreateOrUpdateDefaultResponse + | AppServicePlansDelete200Response + | AppServicePlansDelete204Response + | AppServicePlansDeleteDefaultResponse + | AppServicePlansUpdate200Response + | AppServicePlansUpdate202Response + | AppServicePlansUpdateDefaultResponse + | AppServicePlansListCapabilities200Response + | AppServicePlansListCapabilitiesDefaultResponse + | AppServicePlansGetHybridConnection200Response + | AppServicePlansGetHybridConnectionDefaultResponse + | AppServicePlansDeleteHybridConnection200Response + | AppServicePlansDeleteHybridConnection204Response + | AppServicePlansDeleteHybridConnectionDefaultResponse + | AppServicePlansListHybridConnectionKeys200Response + | AppServicePlansListHybridConnectionKeysDefaultResponse + | AppServicePlansListWebAppsByHybridConnection200Response + | AppServicePlansListWebAppsByHybridConnectionDefaultResponse + | AppServicePlansGetHybridConnectionPlanLimit200Response + | AppServicePlansGetHybridConnectionPlanLimitDefaultResponse + | AppServicePlansListHybridConnections200Response + | AppServicePlansListHybridConnectionsDefaultResponse + | AppServicePlansRestartWebApps204Response + | AppServicePlansRestartWebAppsDefaultResponse + | AppServicePlansListWebApps200Response + | AppServicePlansListWebAppsDefaultResponse + | AppServicePlansGetServerFarmSkus200Response + | AppServicePlansGetServerFarmSkusDefaultResponse + | AppServicePlansListUsages200Response + | AppServicePlansListUsagesDefaultResponse + | AppServicePlansListVnets200Response + | AppServicePlansListVnetsDefaultResponse + | AppServicePlansGetVnetFromServerFarm200Response + | AppServicePlansGetVnetFromServerFarm404Response + | AppServicePlansGetVnetFromServerFarmDefaultResponse + | AppServicePlansGetVnetGateway200Response + | AppServicePlansGetVnetGatewayDefaultResponse + | AppServicePlansUpdateVnetGateway200Response + | AppServicePlansUpdateVnetGatewayDefaultResponse + | AppServicePlansListRoutesForVnet200Response + | AppServicePlansListRoutesForVnetDefaultResponse + | AppServicePlansGetRouteForVnet200Response + | AppServicePlansGetRouteForVnet404Response + | AppServicePlansGetRouteForVnetDefaultResponse + | AppServicePlansCreateOrUpdateVnetRoute200Response + | AppServicePlansCreateOrUpdateVnetRoute400Response + | AppServicePlansCreateOrUpdateVnetRoute404Response + | AppServicePlansCreateOrUpdateVnetRouteDefaultResponse + | AppServicePlansDeleteVnetRoute200Response + | AppServicePlansDeleteVnetRoute404Response + | AppServicePlansDeleteVnetRouteDefaultResponse + | AppServicePlansUpdateVnetRoute200Response + | AppServicePlansUpdateVnetRoute400Response + | AppServicePlansUpdateVnetRoute404Response + | AppServicePlansUpdateVnetRouteDefaultResponse + | AppServicePlansRebootWorker204Response + | AppServicePlansRebootWorkerDefaultResponse + | CertificatesList200Response + | CertificatesListDefaultResponse + | CertificatesListByResourceGroup200Response + | CertificatesListByResourceGroupDefaultResponse + | CertificatesGet200Response + | CertificatesGetDefaultResponse + | CertificatesCreateOrUpdate200Response + | CertificatesCreateOrUpdateDefaultResponse + | CertificatesDelete200Response + | CertificatesDelete204Response + | CertificatesDeleteDefaultResponse + | CertificatesUpdate200Response + | CertificatesUpdateDefaultResponse + | ContainerAppsListBySubscription200Response + | ContainerAppsListBySubscriptionDefaultResponse + | ContainerAppsListByResourceGroup200Response + | ContainerAppsListByResourceGroupDefaultResponse + | ContainerAppsGet200Response + | ContainerAppsGet404Response + | ContainerAppsGetDefaultResponse + | ContainerAppsCreateOrUpdate200Response + | ContainerAppsCreateOrUpdate201Response + | ContainerAppsCreateOrUpdateDefaultResponse + | ContainerAppsDelete200Response + | ContainerAppsDelete202Response + | ContainerAppsDelete204Response + | ContainerAppsDeleteDefaultResponse + | ContainerAppsListSecrets200Response + | ContainerAppsListSecretsDefaultResponse + | ContainerAppsRevisionsListRevisions200Response + | ContainerAppsRevisionsListRevisionsDefaultResponse + | ContainerAppsRevisionsGetRevision200Response + | ContainerAppsRevisionsGetRevisionDefaultResponse + | ContainerAppsRevisionsActivateRevision200Response + | ContainerAppsRevisionsActivateRevisionDefaultResponse + | ContainerAppsRevisionsDeactivateRevision200Response + | ContainerAppsRevisionsDeactivateRevisionDefaultResponse + | ContainerAppsRevisionsRestartRevision200Response + | ContainerAppsRevisionsRestartRevisionDefaultResponse + | DeletedWebAppsList200Response + | DeletedWebAppsListDefaultResponse + | DeletedWebAppsListByLocation200Response + | DeletedWebAppsListByLocationDefaultResponse + | DeletedWebAppsGetDeletedWebAppByLocation200Response + | DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse + | DiagnosticsListHostingEnvironmentDetectorResponses200Response + | DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse + | DiagnosticsGetHostingEnvironmentDetectorResponse200Response + | DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse + | DiagnosticsListSiteDetectorResponses200Response + | DiagnosticsListSiteDetectorResponsesDefaultResponse + | DiagnosticsGetSiteDetectorResponse200Response + | DiagnosticsGetSiteDetectorResponseDefaultResponse + | DiagnosticsListSiteDiagnosticCategories200Response + | DiagnosticsListSiteDiagnosticCategoriesDefaultResponse + | DiagnosticsGetSiteDiagnosticCategory200Response + | DiagnosticsGetSiteDiagnosticCategoryDefaultResponse + | DiagnosticsListSiteAnalyses200Response + | DiagnosticsListSiteAnalysesDefaultResponse + | DiagnosticsGetSiteAnalysis200Response + | DiagnosticsGetSiteAnalysisDefaultResponse + | DiagnosticsExecuteSiteAnalysis200Response + | DiagnosticsExecuteSiteAnalysisDefaultResponse + | DiagnosticsListSiteDetectors200Response + | DiagnosticsListSiteDetectorsDefaultResponse + | DiagnosticsGetSiteDetector200Response + | DiagnosticsGetSiteDetectorDefaultResponse + | DiagnosticsExecuteSiteDetector200Response + | DiagnosticsExecuteSiteDetectorDefaultResponse + | DiagnosticsListSiteDetectorResponsesSlot200Response + | DiagnosticsListSiteDetectorResponsesSlotDefaultResponse + | DiagnosticsGetSiteDetectorResponseSlot200Response + | DiagnosticsGetSiteDetectorResponseSlotDefaultResponse + | DiagnosticsListSiteDiagnosticCategoriesSlot200Response + | DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse + | DiagnosticsGetSiteDiagnosticCategorySlot200Response + | DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse + | DiagnosticsListSiteAnalysesSlot200Response + | DiagnosticsListSiteAnalysesSlotDefaultResponse + | DiagnosticsGetSiteAnalysisSlot200Response + | DiagnosticsGetSiteAnalysisSlotDefaultResponse + | DiagnosticsExecuteSiteAnalysisSlot200Response + | DiagnosticsExecuteSiteAnalysisSlotDefaultResponse + | DiagnosticsListSiteDetectorsSlot200Response + | DiagnosticsListSiteDetectorsSlotDefaultResponse + | DiagnosticsGetSiteDetectorSlot200Response + | DiagnosticsGetSiteDetectorSlotDefaultResponse + | DiagnosticsExecuteSiteDetectorSlot200Response + | DiagnosticsExecuteSiteDetectorSlotDefaultResponse + | GlobalGetDeletedWebApp200Response + | GlobalGetDeletedWebAppDefaultResponse + | GlobalGetDeletedWebAppSnapshots200Response + | GlobalGetDeletedWebAppSnapshotsDefaultResponse + | GlobalGetSubscriptionOperationWithAsyncResponse204Response + | GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse + | KubeEnvironmentsListBySubscription200Response + | KubeEnvironmentsListBySubscriptionDefaultResponse + | KubeEnvironmentsListByResourceGroup200Response + | KubeEnvironmentsListByResourceGroupDefaultResponse + | KubeEnvironmentsGet200Response + | KubeEnvironmentsGetDefaultResponse + | KubeEnvironmentsCreateOrUpdate200Response + | KubeEnvironmentsCreateOrUpdate201Response + | KubeEnvironmentsCreateOrUpdateDefaultResponse + | KubeEnvironmentsDelete200Response + | KubeEnvironmentsDelete202Response + | KubeEnvironmentsDelete204Response + | KubeEnvironmentsDeleteDefaultResponse + | KubeEnvironmentsUpdate200Response + | KubeEnvironmentsUpdate201Response + | KubeEnvironmentsUpdateDefaultResponse + | ProviderGetAvailableStacks200Response + | ProviderGetAvailableStacksDefaultResponse + | ProviderGetFunctionAppStacks200Response + | ProviderGetFunctionAppStacksDefaultResponse + | ProviderGetFunctionAppStacksForLocation200Response + | ProviderGetFunctionAppStacksForLocationDefaultResponse + | ProviderGetWebAppStacksForLocation200Response + | ProviderGetWebAppStacksForLocationDefaultResponse + | ProviderListOperations200Response + | ProviderListOperationsDefaultResponse + | ProviderGetWebAppStacks200Response + | ProviderGetWebAppStacksDefaultResponse + | ProviderGetAvailableStacksOnPrem200Response + | ProviderGetAvailableStacksOnPremDefaultResponse + | RecommendationsList200Response + | RecommendationsListDefaultResponse + | RecommendationsResetAllFilters204Response + | RecommendationsResetAllFiltersDefaultResponse + | RecommendationsDisableRecommendationForSubscription200Response + | RecommendationsDisableRecommendationForSubscriptionDefaultResponse + | RecommendationsListHistoryForHostingEnvironment200Response + | RecommendationsListHistoryForHostingEnvironmentDefaultResponse + | RecommendationsListRecommendedRulesForHostingEnvironment200Response + | RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse + | RecommendationsDisableAllForHostingEnvironment204Response + | RecommendationsDisableAllForHostingEnvironmentDefaultResponse + | RecommendationsResetAllFiltersForHostingEnvironment204Response + | RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse + | RecommendationsGetRuleDetailsByHostingEnvironment200Response + | RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse + | RecommendationsDisableRecommendationForHostingEnvironment200Response + | RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse + | RecommendationsListHistoryForWebApp200Response + | RecommendationsListHistoryForWebAppDefaultResponse + | RecommendationsListRecommendedRulesForWebApp200Response + | RecommendationsListRecommendedRulesForWebAppDefaultResponse + | RecommendationsDisableAllForWebApp204Response + | RecommendationsDisableAllForWebAppDefaultResponse + | RecommendationsResetAllFiltersForWebApp204Response + | RecommendationsResetAllFiltersForWebAppDefaultResponse + | RecommendationsGetRuleDetailsByWebApp200Response + | RecommendationsGetRuleDetailsByWebAppDefaultResponse + | RecommendationsDisableRecommendationForSite200Response + | RecommendationsDisableRecommendationForSiteDefaultResponse + | ResourceHealthMetadataList200Response + | ResourceHealthMetadataListDefaultResponse + | ResourceHealthMetadataListByResourceGroup200Response + | ResourceHealthMetadataListByResourceGroupDefaultResponse + | ResourceHealthMetadataListBySite200Response + | ResourceHealthMetadataListBySiteDefaultResponse + | ResourceHealthMetadataGetBySite200Response + | ResourceHealthMetadataGetBySiteDefaultResponse + | ResourceHealthMetadataListBySiteSlot200Response + | ResourceHealthMetadataListBySiteSlotDefaultResponse + | ResourceHealthMetadataGetBySiteSlot200Response + | ResourceHealthMetadataGetBySiteSlotDefaultResponse + | GetPublishingUser200Response + | GetPublishingUserDefaultResponse + | UpdatePublishingUser200Response + | UpdatePublishingUserDefaultResponse + | ListSourceControls200Response + | ListSourceControlsDefaultResponse + | GetSourceControl200Response + | GetSourceControlDefaultResponse + | UpdateSourceControl200Response + | UpdateSourceControlDefaultResponse + | ListBillingMeters200Response + | ListBillingMetersDefaultResponse + | CheckNameAvailability200Response + | CheckNameAvailabilityDefaultResponse + | ListCustomHostNameSites200Response + | ListCustomHostNameSitesDefaultResponse + | GetSubscriptionDeploymentLocations200Response + | GetSubscriptionDeploymentLocationsDefaultResponse + | ListGeoRegions200Response + | ListGeoRegionsDefaultResponse + | ListSiteIdentifiersAssignedToHostName200Response + | ListSiteIdentifiersAssignedToHostNameDefaultResponse + | ListPremierAddOnOffers200Response + | ListPremierAddOnOffersDefaultResponse + | ListSkus200Response + | ListSkusDefaultResponse + | VerifyHostingEnvironmentVnet200Response + | VerifyHostingEnvironmentVnetDefaultResponse + | Move204Response + | MoveDefaultResponse + | Validate200Response + | ValidateDefaultResponse + | ValidateMove204Response + | ValidateMoveDefaultResponse + | StaticSitesPreviewWorkflow200Response + | StaticSitesPreviewWorkflowDefaultResponse + | StaticSitesList200Response + | StaticSitesListDefaultResponse + | StaticSitesGetStaticSitesByResourceGroup200Response + | StaticSitesGetStaticSitesByResourceGroupDefaultResponse + | StaticSitesGetStaticSite200Response + | StaticSitesGetStaticSiteDefaultResponse + | StaticSitesCreateOrUpdateStaticSite200Response + | StaticSitesCreateOrUpdateStaticSite202Response + | StaticSitesCreateOrUpdateStaticSiteDefaultResponse + | StaticSitesDeleteStaticSite200Response + | StaticSitesDeleteStaticSite202Response + | StaticSitesDeleteStaticSiteDefaultResponse + | StaticSitesUpdateStaticSite200Response + | StaticSitesUpdateStaticSite202Response + | StaticSitesUpdateStaticSiteDefaultResponse + | StaticSitesListStaticSiteUsers200Response + | StaticSitesListStaticSiteUsersDefaultResponse + | StaticSitesDeleteStaticSiteUser200Response + | StaticSitesDeleteStaticSiteUserDefaultResponse + | StaticSitesUpdateStaticSiteUser200Response + | StaticSitesUpdateStaticSiteUserDefaultResponse + | StaticSitesGetStaticSiteBuilds200Response + | StaticSitesGetStaticSiteBuildsDefaultResponse + | StaticSitesGetStaticSiteBuild200Response + | StaticSitesGetStaticSiteBuildDefaultResponse + | StaticSitesDeleteStaticSiteBuild200Response + | StaticSitesDeleteStaticSiteBuild202Response + | StaticSitesDeleteStaticSiteBuild204Response + | StaticSitesDeleteStaticSiteBuildDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse + | StaticSitesListStaticSiteBuildFunctions200Response + | StaticSitesListStaticSiteBuildFunctionsDefaultResponse + | StaticSitesListStaticSiteBuildAppSettings200Response + | StaticSitesListStaticSiteBuildAppSettingsDefaultResponse + | StaticSitesListStaticSiteBuildFunctionAppSettings200Response + | StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Response + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Response + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild200Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild202Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse + | StaticSitesCreateZipDeploymentForStaticSiteBuild200Response + | StaticSitesCreateZipDeploymentForStaticSiteBuild202Response + | StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Response + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse + | StaticSitesCreateUserRolesInvitationLink200Response + | StaticSitesCreateUserRolesInvitationLinkDefaultResponse + | StaticSitesListStaticSiteCustomDomains200Response + | StaticSitesListStaticSiteCustomDomainsDefaultResponse + | StaticSitesGetStaticSiteCustomDomain200Response + | StaticSitesGetStaticSiteCustomDomainDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteCustomDomain200Response + | StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response + | StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse + | StaticSitesDeleteStaticSiteCustomDomain200Response + | StaticSitesDeleteStaticSiteCustomDomain202Response + | StaticSitesDeleteStaticSiteCustomDomainDefaultResponse + | StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response + | StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response + | StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse + | StaticSitesDetachStaticSite200Response + | StaticSitesDetachStaticSite202Response + | StaticSitesDetachStaticSiteDefaultResponse + | StaticSitesListStaticSiteFunctions200Response + | StaticSitesListStaticSiteFunctionsDefaultResponse + | StaticSitesListStaticSiteAppSettings200Response + | StaticSitesListStaticSiteAppSettingsDefaultResponse + | StaticSitesListStaticSiteConfiguredRoles200Response + | StaticSitesListStaticSiteConfiguredRolesDefaultResponse + | StaticSitesListStaticSiteFunctionAppSettings200Response + | StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse + | StaticSitesListStaticSiteSecrets200Response + | StaticSitesListStaticSiteSecretsDefaultResponse + | StaticSitesGetPrivateEndpointConnectionList200Response + | StaticSitesGetPrivateEndpointConnectionListDefaultResponse + | StaticSitesGetPrivateEndpointConnection200Response + | StaticSitesGetPrivateEndpointConnectionDefaultResponse + | StaticSitesApproveOrRejectPrivateEndpointConnection200Response + | StaticSitesApproveOrRejectPrivateEndpointConnection202Response + | StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse + | StaticSitesDeletePrivateEndpointConnection200Response + | StaticSitesDeletePrivateEndpointConnection202Response + | StaticSitesDeletePrivateEndpointConnection204Response + | StaticSitesDeletePrivateEndpointConnectionDefaultResponse + | StaticSitesGetPrivateLinkResources200Response + | StaticSitesGetPrivateLinkResourcesDefaultResponse + | StaticSitesResetStaticSiteApiKey200Response + | StaticSitesResetStaticSiteApiKeyDefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSite200Response + | StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite200Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Response + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse + | StaticSitesCreateZipDeploymentForStaticSite200Response + | StaticSitesCreateZipDeploymentForStaticSite202Response + | StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse + | WebAppsList200Response + | WebAppsListDefaultResponse + | WebAppsListByResourceGroup200Response + | WebAppsListByResourceGroupDefaultResponse + | WebAppsGet200Response + | WebAppsGet404Response + | WebAppsGetDefaultResponse + | WebAppsCreateOrUpdate200Response + | WebAppsCreateOrUpdate202Response + | WebAppsCreateOrUpdateDefaultResponse + | WebAppsDelete200Response + | WebAppsDelete204Response + | WebAppsDelete404Response + | WebAppsDeleteDefaultResponse + | WebAppsUpdate200Response + | WebAppsUpdate202Response + | WebAppsUpdateDefaultResponse + | WebAppsAnalyzeCustomHostname200Response + | WebAppsAnalyzeCustomHostnameDefaultResponse + | WebAppsApplySlotConfigToProduction200Response + | WebAppsApplySlotConfigToProductionDefaultResponse + | WebAppsBackup200Response + | WebAppsBackupDefaultResponse + | WebAppsListBackups200Response + | WebAppsListBackupsDefaultResponse + | WebAppsGetBackupStatus200Response + | WebAppsGetBackupStatusDefaultResponse + | WebAppsDeleteBackup200Response + | WebAppsDeleteBackup404Response + | WebAppsDeleteBackupDefaultResponse + | WebAppsListBackupStatusSecrets200Response + | WebAppsListBackupStatusSecretsDefaultResponse + | WebAppsRestore200Response + | WebAppsRestore202Response + | WebAppsRestoreDefaultResponse + | WebAppsListBasicPublishingCredentialsPolicies200Response + | WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse + | WebAppsGetFtpAllowed200Response + | WebAppsGetFtpAllowedDefaultResponse + | WebAppsUpdateFtpAllowed200Response + | WebAppsUpdateFtpAllowedDefaultResponse + | WebAppsGetScmAllowed200Response + | WebAppsGetScmAllowedDefaultResponse + | WebAppsUpdateScmAllowed200Response + | WebAppsUpdateScmAllowedDefaultResponse + | WebAppsListConfigurations200Response + | WebAppsListConfigurationsDefaultResponse + | WebAppsUpdateApplicationSettings200Response + | WebAppsUpdateApplicationSettingsDefaultResponse + | WebAppsListApplicationSettings200Response + | WebAppsListApplicationSettingsDefaultResponse + | WebAppsUpdateAuthSettings200Response + | WebAppsUpdateAuthSettingsDefaultResponse + | WebAppsGetAuthSettings200Response + | WebAppsGetAuthSettingsDefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecrets200Response + | WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse + | WebAppsUpdateAuthSettingsV2200Response + | WebAppsUpdateAuthSettingsV2DefaultResponse + | WebAppsGetAuthSettingsV2200Response + | WebAppsGetAuthSettingsV2DefaultResponse + | WebAppsUpdateAzureStorageAccounts200Response + | WebAppsUpdateAzureStorageAccountsDefaultResponse + | WebAppsListAzureStorageAccounts200Response + | WebAppsListAzureStorageAccountsDefaultResponse + | WebAppsUpdateBackupConfiguration200Response + | WebAppsUpdateBackupConfigurationDefaultResponse + | WebAppsDeleteBackupConfiguration200Response + | WebAppsDeleteBackupConfigurationDefaultResponse + | WebAppsGetBackupConfiguration200Response + | WebAppsGetBackupConfigurationDefaultResponse + | WebAppsGetAppSettingsKeyVaultReferences200Response + | WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse + | WebAppsGetAppSettingKeyVaultReference200Response + | WebAppsGetAppSettingKeyVaultReferenceDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferences200Response + | WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReference200Response + | WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse + | WebAppsUpdateConnectionStrings200Response + | WebAppsUpdateConnectionStringsDefaultResponse + | WebAppsListConnectionStrings200Response + | WebAppsListConnectionStringsDefaultResponse + | WebAppsGetDiagnosticLogsConfiguration200Response + | WebAppsGetDiagnosticLogsConfigurationDefaultResponse + | WebAppsUpdateDiagnosticLogsConfig200Response + | WebAppsUpdateDiagnosticLogsConfigDefaultResponse + | WebAppsUpdateMetadata200Response + | WebAppsUpdateMetadataDefaultResponse + | WebAppsListMetadata200Response + | WebAppsListMetadataDefaultResponse + | WebAppsListPublishingCredentials200Response + | WebAppsListPublishingCredentialsDefaultResponse + | WebAppsUpdateSitePushSettings200Response + | WebAppsUpdateSitePushSettingsDefaultResponse + | WebAppsListSitePushSettings200Response + | WebAppsListSitePushSettingsDefaultResponse + | WebAppsListSlotConfigurationNames200Response + | WebAppsListSlotConfigurationNamesDefaultResponse + | WebAppsUpdateSlotConfigurationNames200Response + | WebAppsUpdateSlotConfigurationNamesDefaultResponse + | WebAppsGetConfiguration200Response + | WebAppsGetConfigurationDefaultResponse + | WebAppsCreateOrUpdateConfiguration200Response + | WebAppsCreateOrUpdateConfigurationDefaultResponse + | WebAppsUpdateConfiguration200Response + | WebAppsUpdateConfigurationDefaultResponse + | WebAppsListConfigurationSnapshotInfo200Response + | WebAppsListConfigurationSnapshotInfoDefaultResponse + | WebAppsGetConfigurationSnapshot200Response + | WebAppsGetConfigurationSnapshotDefaultResponse + | WebAppsRecoverSiteConfigurationSnapshot204Response + | WebAppsRecoverSiteConfigurationSnapshotDefaultResponse + | WebAppsGetWebSiteContainerLogs200Response + | WebAppsGetWebSiteContainerLogs204Response + | WebAppsGetWebSiteContainerLogsDefaultResponse + | WebAppsGetContainerLogsZip200Response + | WebAppsGetContainerLogsZip204Response + | WebAppsGetContainerLogsZipDefaultResponse + | WebAppsListContinuousWebJobs200Response + | WebAppsListContinuousWebJobsDefaultResponse + | WebAppsGetContinuousWebJob200Response + | WebAppsGetContinuousWebJob404Response + | WebAppsGetContinuousWebJobDefaultResponse + | WebAppsDeleteContinuousWebJob200Response + | WebAppsDeleteContinuousWebJob204Response + | WebAppsDeleteContinuousWebJobDefaultResponse + | WebAppsStartContinuousWebJob200Response + | WebAppsStartContinuousWebJob404Response + | WebAppsStartContinuousWebJobDefaultResponse + | WebAppsStopContinuousWebJob200Response + | WebAppsStopContinuousWebJob404Response + | WebAppsStopContinuousWebJobDefaultResponse + | WebAppsListDeployments200Response + | WebAppsListDeploymentsDefaultResponse + | WebAppsGetDeployment200Response + | WebAppsGetDeploymentDefaultResponse + | WebAppsCreateDeployment200Response + | WebAppsCreateDeploymentDefaultResponse + | WebAppsDeleteDeployment200Response + | WebAppsDeleteDeployment204Response + | WebAppsDeleteDeploymentDefaultResponse + | WebAppsListDeploymentLog200Response + | WebAppsListDeploymentLogDefaultResponse + | WebAppsDiscoverBackup200Response + | WebAppsDiscoverBackupDefaultResponse + | WebAppsListDomainOwnershipIdentifiers200Response + | WebAppsListDomainOwnershipIdentifiersDefaultResponse + | WebAppsGetDomainOwnershipIdentifier200Response + | WebAppsGetDomainOwnershipIdentifierDefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response + | WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse + | WebAppsDeleteDomainOwnershipIdentifier200Response + | WebAppsDeleteDomainOwnershipIdentifier204Response + | WebAppsDeleteDomainOwnershipIdentifierDefaultResponse + | WebAppsUpdateDomainOwnershipIdentifier200Response + | WebAppsUpdateDomainOwnershipIdentifierDefaultResponse + | WebAppsGetMSDeployStatus200Response + | WebAppsGetMSDeployStatusDefaultResponse + | WebAppsCreateMSDeployOperation201Response + | WebAppsCreateMSDeployOperation409Response + | WebAppsCreateMSDeployOperationDefaultResponse + | WebAppsGetMSDeployLog200Response + | WebAppsGetMSDeployLog404Response + | WebAppsGetMSDeployLogDefaultResponse + | WebAppsGetOneDeployStatus200Response + | WebAppsGetOneDeployStatusDefaultResponse + | WebAppsCreateOneDeployOperation200Response + | WebAppsCreateOneDeployOperationDefaultResponse + | WebAppsListFunctions200Response + | WebAppsListFunctions404Response + | WebAppsListFunctionsDefaultResponse + | WebAppsGetFunctionsAdminToken200Response + | WebAppsGetFunctionsAdminTokenDefaultResponse + | WebAppsGetFunction200Response + | WebAppsGetFunction404Response + | WebAppsGetFunctionDefaultResponse + | WebAppsCreateFunction201Response + | WebAppsCreateFunctionDefaultResponse + | WebAppsDeleteFunction204Response + | WebAppsDeleteFunction404Response + | WebAppsDeleteFunctionDefaultResponse + | WebAppsCreateOrUpdateFunctionSecret200Response + | WebAppsCreateOrUpdateFunctionSecret201Response + | WebAppsCreateOrUpdateFunctionSecretDefaultResponse + | WebAppsDeleteFunctionSecret204Response + | WebAppsDeleteFunctionSecret404Response + | WebAppsDeleteFunctionSecretDefaultResponse + | WebAppsListFunctionKeys200Response + | WebAppsListFunctionKeysDefaultResponse + | WebAppsListFunctionSecrets200Response + | WebAppsListFunctionSecretsDefaultResponse + | WebAppsListHostKeys200Response + | WebAppsListHostKeysDefaultResponse + | WebAppsListSyncStatus204Response + | WebAppsListSyncStatusDefaultResponse + | WebAppsSyncFunctions204Response + | WebAppsSyncFunctionsDefaultResponse + | WebAppsCreateOrUpdateHostSecret200Response + | WebAppsCreateOrUpdateHostSecret201Response + | WebAppsCreateOrUpdateHostSecretDefaultResponse + | WebAppsDeleteHostSecret204Response + | WebAppsDeleteHostSecret404Response + | WebAppsDeleteHostSecretDefaultResponse + | WebAppsListHostNameBindings200Response + | WebAppsListHostNameBindingsDefaultResponse + | WebAppsGetHostNameBinding200Response + | WebAppsGetHostNameBindingDefaultResponse + | WebAppsCreateOrUpdateHostNameBinding200Response + | WebAppsCreateOrUpdateHostNameBindingDefaultResponse + | WebAppsDeleteHostNameBinding200Response + | WebAppsDeleteHostNameBinding204Response + | WebAppsDeleteHostNameBindingDefaultResponse + | WebAppsGetHybridConnection200Response + | WebAppsGetHybridConnectionDefaultResponse + | WebAppsCreateOrUpdateHybridConnection200Response + | WebAppsCreateOrUpdateHybridConnectionDefaultResponse + | WebAppsDeleteHybridConnection200Response + | WebAppsDeleteHybridConnection404Response + | WebAppsDeleteHybridConnectionDefaultResponse + | WebAppsUpdateHybridConnection200Response + | WebAppsUpdateHybridConnectionDefaultResponse + | WebAppsListHybridConnections200Response + | WebAppsListHybridConnectionsDefaultResponse + | WebAppsListRelayServiceConnections200Response + | WebAppsListRelayServiceConnectionsDefaultResponse + | WebAppsGetRelayServiceConnection200Response + | WebAppsGetRelayServiceConnectionDefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnection200Response + | WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse + | WebAppsDeleteRelayServiceConnection200Response + | WebAppsDeleteRelayServiceConnection404Response + | WebAppsDeleteRelayServiceConnectionDefaultResponse + | WebAppsUpdateRelayServiceConnection200Response + | WebAppsUpdateRelayServiceConnectionDefaultResponse + | WebAppsListInstanceIdentifiers200Response + | WebAppsListInstanceIdentifiersDefaultResponse + | WebAppsGetInstanceInfo200Response + | WebAppsGetInstanceInfoDefaultResponse + | WebAppsGetInstanceMsDeployStatus200Response + | WebAppsGetInstanceMsDeployStatusDefaultResponse + | WebAppsCreateInstanceMSDeployOperation201Response + | WebAppsCreateInstanceMSDeployOperation409Response + | WebAppsCreateInstanceMSDeployOperationDefaultResponse + | WebAppsGetInstanceMSDeployLog200Response + | WebAppsGetInstanceMSDeployLog404Response + | WebAppsGetInstanceMSDeployLogDefaultResponse + | WebAppsListInstanceProcesses200Response + | WebAppsListInstanceProcesses404Response + | WebAppsListInstanceProcessesDefaultResponse + | WebAppsGetInstanceProcess200Response + | WebAppsGetInstanceProcess404Response + | WebAppsGetInstanceProcessDefaultResponse + | WebAppsDeleteInstanceProcess204Response + | WebAppsDeleteInstanceProcess404Response + | WebAppsDeleteInstanceProcessDefaultResponse + | WebAppsGetInstanceProcessDump200Response + | WebAppsGetInstanceProcessDump404Response + | WebAppsGetInstanceProcessDumpDefaultResponse + | WebAppsListInstanceProcessModules200Response + | WebAppsListInstanceProcessModules404Response + | WebAppsListInstanceProcessModulesDefaultResponse + | WebAppsGetInstanceProcessModule200Response + | WebAppsGetInstanceProcessModule404Response + | WebAppsGetInstanceProcessModuleDefaultResponse + | WebAppsListInstanceProcessThreads200Response + | WebAppsListInstanceProcessThreads404Response + | WebAppsListInstanceProcessThreadsDefaultResponse + | WebAppsIsCloneable200Response + | WebAppsIsCloneableDefaultResponse + | WebAppsListSiteBackups200Response + | WebAppsListSiteBackupsDefaultResponse + | WebAppsListSyncFunctionTriggers200Response + | WebAppsListSyncFunctionTriggersDefaultResponse + | WebAppsMigrateStorage200Response + | WebAppsMigrateStorageDefaultResponse + | WebAppsMigrateMySql200Response + | WebAppsMigrateMySqlDefaultResponse + | WebAppsGetMigrateMySqlStatus200Response + | WebAppsGetMigrateMySqlStatusDefaultResponse + | WebAppsGetSwiftVirtualNetworkConnection200Response + | WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200Response + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse + | WebAppsDeleteSwiftVirtualNetwork200Response + | WebAppsDeleteSwiftVirtualNetwork404Response + | WebAppsDeleteSwiftVirtualNetworkDefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse + | WebAppsListNetworkFeatures200Response + | WebAppsListNetworkFeatures404Response + | WebAppsListNetworkFeaturesDefaultResponse + | WebAppsGetNetworkTraceOperation200Response + | WebAppsGetNetworkTraceOperation202Response + | WebAppsGetNetworkTraceOperationDefaultResponse + | WebAppsStartWebSiteNetworkTrace200Response + | WebAppsStartWebSiteNetworkTraceDefaultResponse + | WebAppsStartWebSiteNetworkTraceOperation200Response + | WebAppsStartWebSiteNetworkTraceOperation202Response + | WebAppsStartWebSiteNetworkTraceOperationDefaultResponse + | WebAppsStopWebSiteNetworkTrace200Response + | WebAppsStopWebSiteNetworkTrace204Response + | WebAppsStopWebSiteNetworkTraceDefaultResponse + | WebAppsGetNetworkTraces200Response + | WebAppsGetNetworkTracesDefaultResponse + | WebAppsGetNetworkTraceOperationV2200Response + | WebAppsGetNetworkTraceOperationV2202Response + | WebAppsGetNetworkTraceOperationV2DefaultResponse + | WebAppsGetNetworkTracesV2200Response + | WebAppsGetNetworkTracesV2DefaultResponse + | WebAppsGenerateNewSitePublishingPassword200Response + | WebAppsGenerateNewSitePublishingPassword204Response + | WebAppsGenerateNewSitePublishingPasswordDefaultResponse + | WebAppsListPerfMonCounters200Response + | WebAppsListPerfMonCountersDefaultResponse + | WebAppsGetSitePhpErrorLogFlag200Response + | WebAppsGetSitePhpErrorLogFlagDefaultResponse + | WebAppsListPremierAddOns200Response + | WebAppsListPremierAddOnsDefaultResponse + | WebAppsGetPremierAddOn200Response + | WebAppsGetPremierAddOnDefaultResponse + | WebAppsAddPremierAddOn200Response + | WebAppsAddPremierAddOnDefaultResponse + | WebAppsDeletePremierAddOn200Response + | WebAppsDeletePremierAddOnDefaultResponse + | WebAppsUpdatePremierAddOn200Response + | WebAppsUpdatePremierAddOnDefaultResponse + | WebAppsGetPrivateAccess200Response + | WebAppsGetPrivateAccessDefaultResponse + | WebAppsPutPrivateAccessVnet200Response + | WebAppsPutPrivateAccessVnetDefaultResponse + | WebAppsGetPrivateEndpointConnectionList200Response + | WebAppsGetPrivateEndpointConnectionListDefaultResponse + | WebAppsGetPrivateEndpointConnection200Response + | WebAppsGetPrivateEndpointConnectionDefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnection200Response + | WebAppsApproveOrRejectPrivateEndpointConnection202Response + | WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse + | WebAppsDeletePrivateEndpointConnection200Response + | WebAppsDeletePrivateEndpointConnection202Response + | WebAppsDeletePrivateEndpointConnection204Response + | WebAppsDeletePrivateEndpointConnectionDefaultResponse + | WebAppsGetPrivateLinkResources200Response + | WebAppsGetPrivateLinkResourcesDefaultResponse + | WebAppsListProcesses200Response + | WebAppsListProcesses404Response + | WebAppsListProcessesDefaultResponse + | WebAppsGetProcess200Response + | WebAppsGetProcess404Response + | WebAppsGetProcessDefaultResponse + | WebAppsDeleteProcess204Response + | WebAppsDeleteProcess404Response + | WebAppsDeleteProcessDefaultResponse + | WebAppsGetProcessDump200Response + | WebAppsGetProcessDump404Response + | WebAppsGetProcessDumpDefaultResponse + | WebAppsListProcessModules200Response + | WebAppsListProcessModules404Response + | WebAppsListProcessModulesDefaultResponse + | WebAppsGetProcessModule200Response + | WebAppsGetProcessModule404Response + | WebAppsGetProcessModuleDefaultResponse + | WebAppsListProcessThreads200Response + | WebAppsListProcessThreads404Response + | WebAppsListProcessThreadsDefaultResponse + | WebAppsListPublicCertificates200Response + | WebAppsListPublicCertificatesDefaultResponse + | WebAppsGetPublicCertificate200Response + | WebAppsGetPublicCertificateDefaultResponse + | WebAppsCreateOrUpdatePublicCertificate200Response + | WebAppsCreateOrUpdatePublicCertificateDefaultResponse + | WebAppsDeletePublicCertificate200Response + | WebAppsDeletePublicCertificate204Response + | WebAppsDeletePublicCertificateDefaultResponse + | WebAppsListPublishingProfileXmlWithSecrets200Response + | WebAppsListPublishingProfileXmlWithSecretsDefaultResponse + | WebAppsResetProductionSlotConfig200Response + | WebAppsResetProductionSlotConfigDefaultResponse + | WebAppsRestart200Response + | WebAppsRestartDefaultResponse + | WebAppsRestoreFromBackupBlob200Response + | WebAppsRestoreFromBackupBlob202Response + | WebAppsRestoreFromBackupBlobDefaultResponse + | WebAppsRestoreFromDeletedApp200Response + | WebAppsRestoreFromDeletedApp202Response + | WebAppsRestoreFromDeletedAppDefaultResponse + | WebAppsRestoreSnapshot200Response + | WebAppsRestoreSnapshot202Response + | WebAppsRestoreSnapshotDefaultResponse + | WebAppsListSiteExtensions200Response + | WebAppsListSiteExtensions404Response + | WebAppsListSiteExtensionsDefaultResponse + | WebAppsGetSiteExtension200Response + | WebAppsGetSiteExtension404Response + | WebAppsGetSiteExtensionDefaultResponse + | WebAppsInstallSiteExtension200Response + | WebAppsInstallSiteExtension201Response + | WebAppsInstallSiteExtension429Response + | WebAppsInstallSiteExtensionDefaultResponse + | WebAppsDeleteSiteExtension204Response + | WebAppsDeleteSiteExtension404Response + | WebAppsDeleteSiteExtensionDefaultResponse + | WebAppsListSlots200Response + | WebAppsListSlotsDefaultResponse + | WebAppsGetSlot200Response + | WebAppsGetSlot404Response + | WebAppsGetSlotDefaultResponse + | WebAppsCreateOrUpdateSlot200Response + | WebAppsCreateOrUpdateSlot202Response + | WebAppsCreateOrUpdateSlotDefaultResponse + | WebAppsDeleteSlot200Response + | WebAppsDeleteSlot204Response + | WebAppsDeleteSlot404Response + | WebAppsDeleteSlotDefaultResponse + | WebAppsUpdateSlot200Response + | WebAppsUpdateSlot202Response + | WebAppsUpdateSlotDefaultResponse + | WebAppsAnalyzeCustomHostnameSlot200Response + | WebAppsAnalyzeCustomHostnameSlotDefaultResponse + | WebAppsApplySlotConfigurationSlot200Response + | WebAppsApplySlotConfigurationSlotDefaultResponse + | WebAppsBackupSlot200Response + | WebAppsBackupSlotDefaultResponse + | WebAppsListBackupsSlot200Response + | WebAppsListBackupsSlotDefaultResponse + | WebAppsGetBackupStatusSlot200Response + | WebAppsGetBackupStatusSlotDefaultResponse + | WebAppsDeleteBackupSlot200Response + | WebAppsDeleteBackupSlot404Response + | WebAppsDeleteBackupSlotDefaultResponse + | WebAppsListBackupStatusSecretsSlot200Response + | WebAppsListBackupStatusSecretsSlotDefaultResponse + | WebAppsRestoreSlot200Response + | WebAppsRestoreSlot202Response + | WebAppsRestoreSlotDefaultResponse + | WebAppsListBasicPublishingCredentialsPoliciesSlot200Response + | WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse + | WebAppsGetFtpAllowedSlot200Response + | WebAppsGetFtpAllowedSlotDefaultResponse + | WebAppsUpdateFtpAllowedSlot200Response + | WebAppsUpdateFtpAllowedSlotDefaultResponse + | WebAppsGetScmAllowedSlot200Response + | WebAppsGetScmAllowedSlotDefaultResponse + | WebAppsUpdateScmAllowedSlot200Response + | WebAppsUpdateScmAllowedSlotDefaultResponse + | WebAppsListConfigurationsSlot200Response + | WebAppsListConfigurationsSlotDefaultResponse + | WebAppsUpdateApplicationSettingsSlot200Response + | WebAppsUpdateApplicationSettingsSlotDefaultResponse + | WebAppsListApplicationSettingsSlot200Response + | WebAppsListApplicationSettingsSlotDefaultResponse + | WebAppsUpdateAuthSettingsSlot200Response + | WebAppsUpdateAuthSettingsSlotDefaultResponse + | WebAppsGetAuthSettingsSlot200Response + | WebAppsGetAuthSettingsSlotDefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response + | WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse + | WebAppsUpdateAuthSettingsV2Slot200Response + | WebAppsUpdateAuthSettingsV2SlotDefaultResponse + | WebAppsGetAuthSettingsV2Slot200Response + | WebAppsGetAuthSettingsV2SlotDefaultResponse + | WebAppsUpdateAzureStorageAccountsSlot200Response + | WebAppsUpdateAzureStorageAccountsSlotDefaultResponse + | WebAppsListAzureStorageAccountsSlot200Response + | WebAppsListAzureStorageAccountsSlotDefaultResponse + | WebAppsUpdateBackupConfigurationSlot200Response + | WebAppsUpdateBackupConfigurationSlotDefaultResponse + | WebAppsDeleteBackupConfigurationSlot200Response + | WebAppsDeleteBackupConfigurationSlotDefaultResponse + | WebAppsGetBackupConfigurationSlot200Response + | WebAppsGetBackupConfigurationSlotDefaultResponse + | WebAppsGetAppSettingsKeyVaultReferencesSlot200Response + | WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse + | WebAppsGetAppSettingKeyVaultReferenceSlot200Response + | WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse + | WebAppsUpdateConnectionStringsSlot200Response + | WebAppsUpdateConnectionStringsSlotDefaultResponse + | WebAppsListConnectionStringsSlot200Response + | WebAppsListConnectionStringsSlotDefaultResponse + | WebAppsGetDiagnosticLogsConfigurationSlot200Response + | WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse + | WebAppsUpdateDiagnosticLogsConfigSlot200Response + | WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse + | WebAppsUpdateMetadataSlot200Response + | WebAppsUpdateMetadataSlotDefaultResponse + | WebAppsListMetadataSlot200Response + | WebAppsListMetadataSlotDefaultResponse + | WebAppsListPublishingCredentialsSlot200Response + | WebAppsListPublishingCredentialsSlotDefaultResponse + | WebAppsUpdateSitePushSettingsSlot200Response + | WebAppsUpdateSitePushSettingsSlotDefaultResponse + | WebAppsListSitePushSettingsSlot200Response + | WebAppsListSitePushSettingsSlotDefaultResponse + | WebAppsGetConfigurationSlot200Response + | WebAppsGetConfigurationSlotDefaultResponse + | WebAppsCreateOrUpdateConfigurationSlot200Response + | WebAppsCreateOrUpdateConfigurationSlotDefaultResponse + | WebAppsUpdateConfigurationSlot200Response + | WebAppsUpdateConfigurationSlotDefaultResponse + | WebAppsListConfigurationSnapshotInfoSlot200Response + | WebAppsListConfigurationSnapshotInfoSlotDefaultResponse + | WebAppsGetConfigurationSnapshotSlot200Response + | WebAppsGetConfigurationSnapshotSlotDefaultResponse + | WebAppsRecoverSiteConfigurationSnapshotSlot204Response + | WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse + | WebAppsGetWebSiteContainerLogsSlot200Response + | WebAppsGetWebSiteContainerLogsSlot204Response + | WebAppsGetWebSiteContainerLogsSlotDefaultResponse + | WebAppsGetContainerLogsZipSlot200Response + | WebAppsGetContainerLogsZipSlot204Response + | WebAppsGetContainerLogsZipSlotDefaultResponse + | WebAppsListContinuousWebJobsSlot200Response + | WebAppsListContinuousWebJobsSlotDefaultResponse + | WebAppsGetContinuousWebJobSlot200Response + | WebAppsGetContinuousWebJobSlot404Response + | WebAppsGetContinuousWebJobSlotDefaultResponse + | WebAppsDeleteContinuousWebJobSlot200Response + | WebAppsDeleteContinuousWebJobSlot204Response + | WebAppsDeleteContinuousWebJobSlotDefaultResponse + | WebAppsStartContinuousWebJobSlot200Response + | WebAppsStartContinuousWebJobSlot404Response + | WebAppsStartContinuousWebJobSlotDefaultResponse + | WebAppsStopContinuousWebJobSlot200Response + | WebAppsStopContinuousWebJobSlot404Response + | WebAppsStopContinuousWebJobSlotDefaultResponse + | WebAppsListDeploymentsSlot200Response + | WebAppsListDeploymentsSlotDefaultResponse + | WebAppsGetDeploymentSlot200Response + | WebAppsGetDeploymentSlotDefaultResponse + | WebAppsCreateDeploymentSlot200Response + | WebAppsCreateDeploymentSlotDefaultResponse + | WebAppsDeleteDeploymentSlot200Response + | WebAppsDeleteDeploymentSlot204Response + | WebAppsDeleteDeploymentSlotDefaultResponse + | WebAppsListDeploymentLogSlot200Response + | WebAppsListDeploymentLogSlotDefaultResponse + | WebAppsDiscoverBackupSlot200Response + | WebAppsDiscoverBackupSlotDefaultResponse + | WebAppsListDomainOwnershipIdentifiersSlot200Response + | WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse + | WebAppsGetDomainOwnershipIdentifierSlot200Response + | WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsDeleteDomainOwnershipIdentifierSlot200Response + | WebAppsDeleteDomainOwnershipIdentifierSlot204Response + | WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsUpdateDomainOwnershipIdentifierSlot200Response + | WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsGetMSDeployStatusSlot200Response + | WebAppsGetMSDeployStatusSlotDefaultResponse + | WebAppsCreateMSDeployOperationSlot201Response + | WebAppsCreateMSDeployOperationSlot409Response + | WebAppsCreateMSDeployOperationSlotDefaultResponse + | WebAppsGetMSDeployLogSlot200Response + | WebAppsGetMSDeployLogSlot404Response + | WebAppsGetMSDeployLogSlotDefaultResponse + | WebAppsListInstanceFunctionsSlot200Response + | WebAppsListInstanceFunctionsSlot404Response + | WebAppsListInstanceFunctionsSlotDefaultResponse + | WebAppsGetFunctionsAdminTokenSlot200Response + | WebAppsGetFunctionsAdminTokenSlotDefaultResponse + | WebAppsGetInstanceFunctionSlot200Response + | WebAppsGetInstanceFunctionSlot404Response + | WebAppsGetInstanceFunctionSlotDefaultResponse + | WebAppsCreateInstanceFunctionSlot201Response + | WebAppsCreateInstanceFunctionSlotDefaultResponse + | WebAppsDeleteInstanceFunctionSlot204Response + | WebAppsDeleteInstanceFunctionSlot404Response + | WebAppsDeleteInstanceFunctionSlotDefaultResponse + | WebAppsCreateOrUpdateFunctionSecretSlot200Response + | WebAppsCreateOrUpdateFunctionSecretSlot201Response + | WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse + | WebAppsDeleteFunctionSecretSlot204Response + | WebAppsDeleteFunctionSecretSlot404Response + | WebAppsDeleteFunctionSecretSlotDefaultResponse + | WebAppsListFunctionKeysSlot200Response + | WebAppsListFunctionKeysSlotDefaultResponse + | WebAppsListFunctionSecretsSlot200Response + | WebAppsListFunctionSecretsSlotDefaultResponse + | WebAppsListHostKeysSlot200Response + | WebAppsListHostKeysSlotDefaultResponse + | WebAppsListSyncStatusSlot204Response + | WebAppsListSyncStatusSlotDefaultResponse + | WebAppsSyncFunctionsSlot204Response + | WebAppsSyncFunctionsSlotDefaultResponse + | WebAppsCreateOrUpdateHostSecretSlot200Response + | WebAppsCreateOrUpdateHostSecretSlot201Response + | WebAppsCreateOrUpdateHostSecretSlotDefaultResponse + | WebAppsDeleteHostSecretSlot204Response + | WebAppsDeleteHostSecretSlot404Response + | WebAppsDeleteHostSecretSlotDefaultResponse + | WebAppsListHostNameBindingsSlot200Response + | WebAppsListHostNameBindingsSlotDefaultResponse + | WebAppsGetHostNameBindingSlot200Response + | WebAppsGetHostNameBindingSlotDefaultResponse + | WebAppsCreateOrUpdateHostNameBindingSlot200Response + | WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse + | WebAppsDeleteHostNameBindingSlot200Response + | WebAppsDeleteHostNameBindingSlot204Response + | WebAppsDeleteHostNameBindingSlotDefaultResponse + | WebAppsGetHybridConnectionSlot200Response + | WebAppsGetHybridConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateHybridConnectionSlot200Response + | WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse + | WebAppsDeleteHybridConnectionSlot200Response + | WebAppsDeleteHybridConnectionSlot404Response + | WebAppsDeleteHybridConnectionSlotDefaultResponse + | WebAppsUpdateHybridConnectionSlot200Response + | WebAppsUpdateHybridConnectionSlotDefaultResponse + | WebAppsListHybridConnectionsSlot200Response + | WebAppsListHybridConnectionsSlotDefaultResponse + | WebAppsListRelayServiceConnectionsSlot200Response + | WebAppsListRelayServiceConnectionsSlotDefaultResponse + | WebAppsGetRelayServiceConnectionSlot200Response + | WebAppsGetRelayServiceConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response + | WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse + | WebAppsDeleteRelayServiceConnectionSlot200Response + | WebAppsDeleteRelayServiceConnectionSlot404Response + | WebAppsDeleteRelayServiceConnectionSlotDefaultResponse + | WebAppsUpdateRelayServiceConnectionSlot200Response + | WebAppsUpdateRelayServiceConnectionSlotDefaultResponse + | WebAppsListInstanceIdentifiersSlot200Response + | WebAppsListInstanceIdentifiersSlotDefaultResponse + | WebAppsGetInstanceInfoSlot200Response + | WebAppsGetInstanceInfoSlotDefaultResponse + | WebAppsGetInstanceMsDeployStatusSlot200Response + | WebAppsGetInstanceMsDeployStatusSlotDefaultResponse + | WebAppsCreateInstanceMSDeployOperationSlot201Response + | WebAppsCreateInstanceMSDeployOperationSlot409Response + | WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse + | WebAppsGetInstanceMSDeployLogSlot200Response + | WebAppsGetInstanceMSDeployLogSlot404Response + | WebAppsGetInstanceMSDeployLogSlotDefaultResponse + | WebAppsListInstanceProcessesSlot200Response + | WebAppsListInstanceProcessesSlot404Response + | WebAppsListInstanceProcessesSlotDefaultResponse + | WebAppsGetInstanceProcessSlot200Response + | WebAppsGetInstanceProcessSlot404Response + | WebAppsGetInstanceProcessSlotDefaultResponse + | WebAppsDeleteInstanceProcessSlot204Response + | WebAppsDeleteInstanceProcessSlot404Response + | WebAppsDeleteInstanceProcessSlotDefaultResponse + | WebAppsGetInstanceProcessDumpSlot200Response + | WebAppsGetInstanceProcessDumpSlot404Response + | WebAppsGetInstanceProcessDumpSlotDefaultResponse + | WebAppsListInstanceProcessModulesSlot200Response + | WebAppsListInstanceProcessModulesSlot404Response + | WebAppsListInstanceProcessModulesSlotDefaultResponse + | WebAppsGetInstanceProcessModuleSlot200Response + | WebAppsGetInstanceProcessModuleSlot404Response + | WebAppsGetInstanceProcessModuleSlotDefaultResponse + | WebAppsListInstanceProcessThreadsSlot200Response + | WebAppsListInstanceProcessThreadsSlot404Response + | WebAppsListInstanceProcessThreadsSlotDefaultResponse + | WebAppsIsCloneableSlot200Response + | WebAppsIsCloneableSlotDefaultResponse + | WebAppsListSiteBackupsSlot200Response + | WebAppsListSiteBackupsSlotDefaultResponse + | WebAppsListSyncFunctionTriggersSlot200Response + | WebAppsListSyncFunctionTriggersSlotDefaultResponse + | WebAppsGetMigrateMySqlStatusSlot200Response + | WebAppsGetMigrateMySqlStatusSlotDefaultResponse + | WebAppsGetSwiftVirtualNetworkConnectionSlot200Response + | WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse + | WebAppsDeleteSwiftVirtualNetworkSlot200Response + | WebAppsDeleteSwiftVirtualNetworkSlot404Response + | WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Response + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse + | WebAppsListNetworkFeaturesSlot200Response + | WebAppsListNetworkFeaturesSlot404Response + | WebAppsListNetworkFeaturesSlotDefaultResponse + | WebAppsGetNetworkTraceOperationSlot200Response + | WebAppsGetNetworkTraceOperationSlot202Response + | WebAppsGetNetworkTraceOperationSlotDefaultResponse + | WebAppsStartWebSiteNetworkTraceSlot200Response + | WebAppsStartWebSiteNetworkTraceSlotDefaultResponse + | WebAppsStartWebSiteNetworkTraceOperationSlot200Response + | WebAppsStartWebSiteNetworkTraceOperationSlot202Response + | WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse + | WebAppsStopWebSiteNetworkTraceSlot200Response + | WebAppsStopWebSiteNetworkTraceSlot204Response + | WebAppsStopWebSiteNetworkTraceSlotDefaultResponse + | WebAppsGetNetworkTracesSlot200Response + | WebAppsGetNetworkTracesSlotDefaultResponse + | WebAppsGetNetworkTraceOperationSlotV2200Response + | WebAppsGetNetworkTraceOperationSlotV2202Response + | WebAppsGetNetworkTraceOperationSlotV2DefaultResponse + | WebAppsGetNetworkTracesSlotV2200Response + | WebAppsGetNetworkTracesSlotV2DefaultResponse + | WebAppsGenerateNewSitePublishingPasswordSlot200Response + | WebAppsGenerateNewSitePublishingPasswordSlot204Response + | WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse + | WebAppsListPerfMonCountersSlot200Response + | WebAppsListPerfMonCountersSlotDefaultResponse + | WebAppsGetSitePhpErrorLogFlagSlot200Response + | WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse + | WebAppsListPremierAddOnsSlot200Response + | WebAppsListPremierAddOnsSlotDefaultResponse + | WebAppsGetPremierAddOnSlot200Response + | WebAppsGetPremierAddOnSlotDefaultResponse + | WebAppsAddPremierAddOnSlot200Response + | WebAppsAddPremierAddOnSlotDefaultResponse + | WebAppsDeletePremierAddOnSlot200Response + | WebAppsDeletePremierAddOnSlotDefaultResponse + | WebAppsUpdatePremierAddOnSlot200Response + | WebAppsUpdatePremierAddOnSlotDefaultResponse + | WebAppsGetPrivateAccessSlot200Response + | WebAppsGetPrivateAccessSlotDefaultResponse + | WebAppsPutPrivateAccessVnetSlot200Response + | WebAppsPutPrivateAccessVnetSlotDefaultResponse + | WebAppsGetPrivateEndpointConnectionListSlot200Response + | WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse + | WebAppsGetPrivateEndpointConnectionSlot200Response + | WebAppsGetPrivateEndpointConnectionSlotDefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnectionSlot200Response + | WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response + | WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse + | WebAppsDeletePrivateEndpointConnectionSlot200Response + | WebAppsDeletePrivateEndpointConnectionSlot202Response + | WebAppsDeletePrivateEndpointConnectionSlot204Response + | WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse + | WebAppsGetPrivateLinkResourcesSlot200Response + | WebAppsGetPrivateLinkResourcesSlotDefaultResponse + | WebAppsListProcessesSlot200Response + | WebAppsListProcessesSlot404Response + | WebAppsListProcessesSlotDefaultResponse + | WebAppsGetProcessSlot200Response + | WebAppsGetProcessSlot404Response + | WebAppsGetProcessSlotDefaultResponse + | WebAppsDeleteProcessSlot204Response + | WebAppsDeleteProcessSlot404Response + | WebAppsDeleteProcessSlotDefaultResponse + | WebAppsGetProcessDumpSlot200Response + | WebAppsGetProcessDumpSlot404Response + | WebAppsGetProcessDumpSlotDefaultResponse + | WebAppsListProcessModulesSlot200Response + | WebAppsListProcessModulesSlot404Response + | WebAppsListProcessModulesSlotDefaultResponse + | WebAppsGetProcessModuleSlot200Response + | WebAppsGetProcessModuleSlot404Response + | WebAppsGetProcessModuleSlotDefaultResponse + | WebAppsListProcessThreadsSlot200Response + | WebAppsListProcessThreadsSlot404Response + | WebAppsListProcessThreadsSlotDefaultResponse + | WebAppsListPublicCertificatesSlot200Response + | WebAppsListPublicCertificatesSlotDefaultResponse + | WebAppsGetPublicCertificateSlot200Response + | WebAppsGetPublicCertificateSlotDefaultResponse + | WebAppsCreateOrUpdatePublicCertificateSlot200Response + | WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse + | WebAppsDeletePublicCertificateSlot200Response + | WebAppsDeletePublicCertificateSlot204Response + | WebAppsDeletePublicCertificateSlotDefaultResponse + | WebAppsListPublishingProfileXmlWithSecretsSlot200Response + | WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse + | WebAppsResetSlotConfigurationSlot200Response + | WebAppsResetSlotConfigurationSlotDefaultResponse + | WebAppsRestartSlot200Response + | WebAppsRestartSlotDefaultResponse + | WebAppsRestoreFromBackupBlobSlot200Response + | WebAppsRestoreFromBackupBlobSlot202Response + | WebAppsRestoreFromBackupBlobSlotDefaultResponse + | WebAppsRestoreFromDeletedAppSlot200Response + | WebAppsRestoreFromDeletedAppSlot202Response + | WebAppsRestoreFromDeletedAppSlotDefaultResponse + | WebAppsRestoreSnapshotSlot200Response + | WebAppsRestoreSnapshotSlot202Response + | WebAppsRestoreSnapshotSlotDefaultResponse + | WebAppsListSiteExtensionsSlot200Response + | WebAppsListSiteExtensionsSlot404Response + | WebAppsListSiteExtensionsSlotDefaultResponse + | WebAppsGetSiteExtensionSlot200Response + | WebAppsGetSiteExtensionSlot404Response + | WebAppsGetSiteExtensionSlotDefaultResponse + | WebAppsInstallSiteExtensionSlot200Response + | WebAppsInstallSiteExtensionSlot201Response + | WebAppsInstallSiteExtensionSlot429Response + | WebAppsInstallSiteExtensionSlotDefaultResponse + | WebAppsDeleteSiteExtensionSlot204Response + | WebAppsDeleteSiteExtensionSlot404Response + | WebAppsDeleteSiteExtensionSlotDefaultResponse + | WebAppsListSlotDifferencesSlot200Response + | WebAppsListSlotDifferencesSlotDefaultResponse + | WebAppsSwapSlot200Response + | WebAppsSwapSlot202Response + | WebAppsSwapSlotDefaultResponse + | WebAppsListSnapshotsSlot200Response + | WebAppsListSnapshotsSlotDefaultResponse + | WebAppsListSnapshotsFromDRSecondarySlot200Response + | WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse + | WebAppsGetSourceControlSlot200Response + | WebAppsGetSourceControlSlot201Response + | WebAppsGetSourceControlSlot202Response + | WebAppsGetSourceControlSlotDefaultResponse + | WebAppsCreateOrUpdateSourceControlSlot200Response + | WebAppsCreateOrUpdateSourceControlSlot201Response + | WebAppsCreateOrUpdateSourceControlSlot202Response + | WebAppsCreateOrUpdateSourceControlSlotDefaultResponse + | WebAppsDeleteSourceControlSlot200Response + | WebAppsDeleteSourceControlSlot202Response + | WebAppsDeleteSourceControlSlot404Response + | WebAppsDeleteSourceControlSlotDefaultResponse + | WebAppsUpdateSourceControlSlot200Response + | WebAppsUpdateSourceControlSlot201Response + | WebAppsUpdateSourceControlSlot202Response + | WebAppsUpdateSourceControlSlotDefaultResponse + | WebAppsStartSlot200Response + | WebAppsStartSlotDefaultResponse + | WebAppsStartNetworkTraceSlot200Response + | WebAppsStartNetworkTraceSlot202Response + | WebAppsStartNetworkTraceSlotDefaultResponse + | WebAppsStopSlot200Response + | WebAppsStopSlotDefaultResponse + | WebAppsStopNetworkTraceSlot200Response + | WebAppsStopNetworkTraceSlot204Response + | WebAppsStopNetworkTraceSlotDefaultResponse + | WebAppsSyncRepositorySlot200Response + | WebAppsSyncRepositorySlotDefaultResponse + | WebAppsSyncFunctionTriggersSlot204Response + | WebAppsSyncFunctionTriggersSlotDefaultResponse + | WebAppsListTriggeredWebJobsSlot200Response + | WebAppsListTriggeredWebJobsSlotDefaultResponse + | WebAppsGetTriggeredWebJobSlot200Response + | WebAppsGetTriggeredWebJobSlot404Response + | WebAppsGetTriggeredWebJobSlotDefaultResponse + | WebAppsDeleteTriggeredWebJobSlot200Response + | WebAppsDeleteTriggeredWebJobSlot204Response + | WebAppsDeleteTriggeredWebJobSlotDefaultResponse + | WebAppsListTriggeredWebJobHistorySlot200Response + | WebAppsListTriggeredWebJobHistorySlot404Response + | WebAppsListTriggeredWebJobHistorySlotDefaultResponse + | WebAppsGetTriggeredWebJobHistorySlot200Response + | WebAppsGetTriggeredWebJobHistorySlot404Response + | WebAppsGetTriggeredWebJobHistorySlotDefaultResponse + | WebAppsRunTriggeredWebJobSlot200Response + | WebAppsRunTriggeredWebJobSlot404Response + | WebAppsRunTriggeredWebJobSlotDefaultResponse + | WebAppsListUsagesSlot200Response + | WebAppsListUsagesSlotDefaultResponse + | WebAppsListVnetConnectionsSlot200Response + | WebAppsListVnetConnectionsSlotDefaultResponse + | WebAppsGetVnetConnectionSlot200Response + | WebAppsGetVnetConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionSlot200Response + | WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse + | WebAppsDeleteVnetConnectionSlot200Response + | WebAppsDeleteVnetConnectionSlot404Response + | WebAppsDeleteVnetConnectionSlotDefaultResponse + | WebAppsUpdateVnetConnectionSlot200Response + | WebAppsUpdateVnetConnectionSlotDefaultResponse + | WebAppsGetVnetConnectionGatewaySlot200Response + | WebAppsGetVnetConnectionGatewaySlot404Response + | WebAppsGetVnetConnectionGatewaySlotDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response + | WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse + | WebAppsUpdateVnetConnectionGatewaySlot200Response + | WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse + | WebAppsListWebJobsSlot200Response + | WebAppsListWebJobsSlotDefaultResponse + | WebAppsGetWebJobSlot200Response + | WebAppsGetWebJobSlotDefaultResponse + | WebAppsListSlotDifferencesFromProduction200Response + | WebAppsListSlotDifferencesFromProductionDefaultResponse + | WebAppsSwapSlotWithProduction200Response + | WebAppsSwapSlotWithProduction202Response + | WebAppsSwapSlotWithProductionDefaultResponse + | WebAppsListSnapshots200Response + | WebAppsListSnapshotsDefaultResponse + | WebAppsListSnapshotsFromDRSecondary200Response + | WebAppsListSnapshotsFromDRSecondaryDefaultResponse + | WebAppsGetSourceControl200Response + | WebAppsGetSourceControl201Response + | WebAppsGetSourceControl202Response + | WebAppsGetSourceControlDefaultResponse + | WebAppsCreateOrUpdateSourceControl200Response + | WebAppsCreateOrUpdateSourceControl201Response + | WebAppsCreateOrUpdateSourceControl202Response + | WebAppsCreateOrUpdateSourceControlDefaultResponse + | WebAppsDeleteSourceControl200Response + | WebAppsDeleteSourceControl202Response + | WebAppsDeleteSourceControl404Response + | WebAppsDeleteSourceControlDefaultResponse + | WebAppsUpdateSourceControl200Response + | WebAppsUpdateSourceControl201Response + | WebAppsUpdateSourceControl202Response + | WebAppsUpdateSourceControlDefaultResponse + | WebAppsStart200Response + | WebAppsStartDefaultResponse + | WebAppsStartNetworkTrace200Response + | WebAppsStartNetworkTrace202Response + | WebAppsStartNetworkTraceDefaultResponse + | WebAppsStop200Response + | WebAppsStopDefaultResponse + | WebAppsStopNetworkTrace200Response + | WebAppsStopNetworkTrace204Response + | WebAppsStopNetworkTraceDefaultResponse + | WebAppsSyncRepository200Response + | WebAppsSyncRepositoryDefaultResponse + | WebAppsSyncFunctionTriggers204Response + | WebAppsSyncFunctionTriggersDefaultResponse + | WebAppsListTriggeredWebJobs200Response + | WebAppsListTriggeredWebJobsDefaultResponse + | WebAppsGetTriggeredWebJob200Response + | WebAppsGetTriggeredWebJob404Response + | WebAppsGetTriggeredWebJobDefaultResponse + | WebAppsDeleteTriggeredWebJob200Response + | WebAppsDeleteTriggeredWebJob204Response + | WebAppsDeleteTriggeredWebJobDefaultResponse + | WebAppsListTriggeredWebJobHistory200Response + | WebAppsListTriggeredWebJobHistory404Response + | WebAppsListTriggeredWebJobHistoryDefaultResponse + | WebAppsGetTriggeredWebJobHistory200Response + | WebAppsGetTriggeredWebJobHistory404Response + | WebAppsGetTriggeredWebJobHistoryDefaultResponse + | WebAppsRunTriggeredWebJob200Response + | WebAppsRunTriggeredWebJob404Response + | WebAppsRunTriggeredWebJobDefaultResponse + | WebAppsListUsages200Response + | WebAppsListUsagesDefaultResponse + | WebAppsListVnetConnections200Response + | WebAppsListVnetConnectionsDefaultResponse + | WebAppsGetVnetConnection200Response + | WebAppsGetVnetConnectionDefaultResponse + | WebAppsCreateOrUpdateVnetConnection200Response + | WebAppsCreateOrUpdateVnetConnectionDefaultResponse + | WebAppsDeleteVnetConnection200Response + | WebAppsDeleteVnetConnection404Response + | WebAppsDeleteVnetConnectionDefaultResponse + | WebAppsUpdateVnetConnection200Response + | WebAppsUpdateVnetConnectionDefaultResponse + | WebAppsGetVnetConnectionGateway200Response + | WebAppsGetVnetConnectionGateway404Response + | WebAppsGetVnetConnectionGatewayDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGateway200Response + | WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse + | WebAppsUpdateVnetConnectionGateway200Response + | WebAppsUpdateVnetConnectionGatewayDefaultResponse + | WebAppsListWebJobs200Response + | WebAppsListWebJobsDefaultResponse + | WebAppsGetWebJob200Response + | WebAppsGetWebJobDefaultResponse, +): response is + | AppServiceCertificateOrdersListDefaultResponse + | AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse + | AppServiceCertificateOrdersListByResourceGroupDefaultResponse + | AppServiceCertificateOrdersGetDefaultResponse + | AppServiceCertificateOrdersCreateOrUpdateDefaultResponse + | AppServiceCertificateOrdersDeleteDefaultResponse + | AppServiceCertificateOrdersUpdateDefaultResponse + | AppServiceCertificateOrdersListCertificatesDefaultResponse + | AppServiceCertificateOrdersGetCertificateDefaultResponse + | AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse + | AppServiceCertificateOrdersDeleteCertificateDefaultResponse + | AppServiceCertificateOrdersUpdateCertificateDefaultResponse + | AppServiceCertificateOrdersReissueDefaultResponse + | AppServiceCertificateOrdersRenewDefaultResponse + | AppServiceCertificateOrdersResendEmailDefaultResponse + | AppServiceCertificateOrdersResendRequestEmailsDefaultResponse + | AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse + | AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse + | AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse + | CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse + | CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse + | CertificateRegistrationProviderListOperationsDefaultResponse + | DomainsCheckAvailabilityDefaultResponse + | DomainsListDefaultResponse + | DomainsGetControlCenterSsoRequestDefaultResponse + | DomainsListRecommendationsDefaultResponse + | DomainsListByResourceGroupDefaultResponse + | DomainsGetDefaultResponse + | DomainsCreateOrUpdateDefaultResponse + | DomainsDeleteDefaultResponse + | DomainsUpdateDefaultResponse + | DomainsListOwnershipIdentifiersDefaultResponse + | DomainsGetOwnershipIdentifierDefaultResponse + | DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse + | DomainsDeleteOwnershipIdentifierDefaultResponse + | DomainsUpdateOwnershipIdentifierDefaultResponse + | DomainsRenewDefaultResponse + | DomainsTransferOut400Response + | DomainsTransferOutDefaultResponse + | TopLevelDomainsListDefaultResponse + | TopLevelDomainsGetDefaultResponse + | TopLevelDomainsListAgreementsDefaultResponse + | DomainRegistrationProviderListOperationsDefaultResponse + | AppServiceEnvironmentsListDefaultResponse + | AppServiceEnvironmentsListByResourceGroupDefaultResponse + | AppServiceEnvironmentsGetDefaultResponse + | AppServiceEnvironmentsCreateOrUpdateDefaultResponse + | AppServiceEnvironmentsDeleteDefaultResponse + | AppServiceEnvironmentsUpdateDefaultResponse + | AppServiceEnvironmentsListCapacitiesDefaultResponse + | AppServiceEnvironmentsGetVipInfoDefaultResponse + | AppServiceEnvironmentsChangeVnetDefaultResponse + | AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse + | AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse + | AppServiceEnvironmentsListDiagnosticsDefaultResponse + | AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse + | AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse + | AppServiceEnvironmentsListMultiRolePoolsDefaultResponse + | AppServiceEnvironmentsGetMultiRolePoolDefaultResponse + | AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse + | AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse + | AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse + | AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse + | AppServiceEnvironmentsListOperationsDefaultResponse + | AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse + | AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse + | AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse + | AppServiceEnvironmentsRebootDefaultResponse + | AppServiceEnvironmentsResumeDefaultResponse + | AppServiceEnvironmentsListAppServicePlansDefaultResponse + | AppServiceEnvironmentsListWebAppsDefaultResponse + | AppServiceEnvironmentsSuspendDefaultResponse + | AppServiceEnvironmentsListUsagesDefaultResponse + | AppServiceEnvironmentsListWorkerPoolsDefaultResponse + | AppServiceEnvironmentsGetWorkerPoolDefaultResponse + | AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse + | AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse + | AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse + | AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse + | AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse + | AppServicePlansListDefaultResponse + | AppServicePlansListByResourceGroupDefaultResponse + | AppServicePlansGet404Response + | AppServicePlansGetDefaultResponse + | AppServicePlansCreateOrUpdateDefaultResponse + | AppServicePlansDeleteDefaultResponse + | AppServicePlansUpdateDefaultResponse + | AppServicePlansListCapabilitiesDefaultResponse + | AppServicePlansGetHybridConnectionDefaultResponse + | AppServicePlansDeleteHybridConnectionDefaultResponse + | AppServicePlansListHybridConnectionKeysDefaultResponse + | AppServicePlansListWebAppsByHybridConnectionDefaultResponse + | AppServicePlansGetHybridConnectionPlanLimitDefaultResponse + | AppServicePlansListHybridConnectionsDefaultResponse + | AppServicePlansRestartWebAppsDefaultResponse + | AppServicePlansListWebAppsDefaultResponse + | AppServicePlansGetServerFarmSkusDefaultResponse + | AppServicePlansListUsagesDefaultResponse + | AppServicePlansListVnetsDefaultResponse + | AppServicePlansGetVnetFromServerFarm404Response + | AppServicePlansGetVnetFromServerFarmDefaultResponse + | AppServicePlansGetVnetGatewayDefaultResponse + | AppServicePlansUpdateVnetGatewayDefaultResponse + | AppServicePlansListRoutesForVnetDefaultResponse + | AppServicePlansGetRouteForVnet404Response + | AppServicePlansGetRouteForVnetDefaultResponse + | AppServicePlansCreateOrUpdateVnetRoute400Response + | AppServicePlansCreateOrUpdateVnetRoute404Response + | AppServicePlansCreateOrUpdateVnetRouteDefaultResponse + | AppServicePlansDeleteVnetRoute404Response + | AppServicePlansDeleteVnetRouteDefaultResponse + | AppServicePlansUpdateVnetRoute400Response + | AppServicePlansUpdateVnetRoute404Response + | AppServicePlansUpdateVnetRouteDefaultResponse + | AppServicePlansRebootWorkerDefaultResponse + | CertificatesListDefaultResponse + | CertificatesListByResourceGroupDefaultResponse + | CertificatesGetDefaultResponse + | CertificatesCreateOrUpdateDefaultResponse + | CertificatesDeleteDefaultResponse + | CertificatesUpdateDefaultResponse + | ContainerAppsListBySubscriptionDefaultResponse + | ContainerAppsListByResourceGroupDefaultResponse + | ContainerAppsGet404Response + | ContainerAppsGetDefaultResponse + | ContainerAppsCreateOrUpdateDefaultResponse + | ContainerAppsDeleteDefaultResponse + | ContainerAppsListSecretsDefaultResponse + | ContainerAppsRevisionsListRevisionsDefaultResponse + | ContainerAppsRevisionsGetRevisionDefaultResponse + | ContainerAppsRevisionsActivateRevisionDefaultResponse + | ContainerAppsRevisionsDeactivateRevisionDefaultResponse + | ContainerAppsRevisionsRestartRevisionDefaultResponse + | DeletedWebAppsListDefaultResponse + | DeletedWebAppsListByLocationDefaultResponse + | DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse + | DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse + | DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse + | DiagnosticsListSiteDetectorResponsesDefaultResponse + | DiagnosticsGetSiteDetectorResponseDefaultResponse + | DiagnosticsListSiteDiagnosticCategoriesDefaultResponse + | DiagnosticsGetSiteDiagnosticCategoryDefaultResponse + | DiagnosticsListSiteAnalysesDefaultResponse + | DiagnosticsGetSiteAnalysisDefaultResponse + | DiagnosticsExecuteSiteAnalysisDefaultResponse + | DiagnosticsListSiteDetectorsDefaultResponse + | DiagnosticsGetSiteDetectorDefaultResponse + | DiagnosticsExecuteSiteDetectorDefaultResponse + | DiagnosticsListSiteDetectorResponsesSlotDefaultResponse + | DiagnosticsGetSiteDetectorResponseSlotDefaultResponse + | DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse + | DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse + | DiagnosticsListSiteAnalysesSlotDefaultResponse + | DiagnosticsGetSiteAnalysisSlotDefaultResponse + | DiagnosticsExecuteSiteAnalysisSlotDefaultResponse + | DiagnosticsListSiteDetectorsSlotDefaultResponse + | DiagnosticsGetSiteDetectorSlotDefaultResponse + | DiagnosticsExecuteSiteDetectorSlotDefaultResponse + | GlobalGetDeletedWebAppDefaultResponse + | GlobalGetDeletedWebAppSnapshotsDefaultResponse + | GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse + | KubeEnvironmentsListBySubscriptionDefaultResponse + | KubeEnvironmentsListByResourceGroupDefaultResponse + | KubeEnvironmentsGetDefaultResponse + | KubeEnvironmentsCreateOrUpdateDefaultResponse + | KubeEnvironmentsDeleteDefaultResponse + | KubeEnvironmentsUpdateDefaultResponse + | ProviderGetAvailableStacksDefaultResponse + | ProviderGetFunctionAppStacksDefaultResponse + | ProviderGetFunctionAppStacksForLocationDefaultResponse + | ProviderGetWebAppStacksForLocationDefaultResponse + | ProviderListOperationsDefaultResponse + | ProviderGetWebAppStacksDefaultResponse + | ProviderGetAvailableStacksOnPremDefaultResponse + | RecommendationsListDefaultResponse + | RecommendationsResetAllFiltersDefaultResponse + | RecommendationsDisableRecommendationForSubscriptionDefaultResponse + | RecommendationsListHistoryForHostingEnvironmentDefaultResponse + | RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse + | RecommendationsDisableAllForHostingEnvironmentDefaultResponse + | RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse + | RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse + | RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse + | RecommendationsListHistoryForWebAppDefaultResponse + | RecommendationsListRecommendedRulesForWebAppDefaultResponse + | RecommendationsDisableAllForWebAppDefaultResponse + | RecommendationsResetAllFiltersForWebAppDefaultResponse + | RecommendationsGetRuleDetailsByWebAppDefaultResponse + | RecommendationsDisableRecommendationForSiteDefaultResponse + | ResourceHealthMetadataListDefaultResponse + | ResourceHealthMetadataListByResourceGroupDefaultResponse + | ResourceHealthMetadataListBySiteDefaultResponse + | ResourceHealthMetadataGetBySiteDefaultResponse + | ResourceHealthMetadataListBySiteSlotDefaultResponse + | ResourceHealthMetadataGetBySiteSlotDefaultResponse + | GetPublishingUserDefaultResponse + | UpdatePublishingUserDefaultResponse + | ListSourceControlsDefaultResponse + | GetSourceControlDefaultResponse + | UpdateSourceControlDefaultResponse + | ListBillingMetersDefaultResponse + | CheckNameAvailabilityDefaultResponse + | ListCustomHostNameSitesDefaultResponse + | GetSubscriptionDeploymentLocationsDefaultResponse + | ListGeoRegionsDefaultResponse + | ListSiteIdentifiersAssignedToHostNameDefaultResponse + | ListPremierAddOnOffersDefaultResponse + | ListSkusDefaultResponse + | VerifyHostingEnvironmentVnetDefaultResponse + | MoveDefaultResponse + | ValidateDefaultResponse + | ValidateMoveDefaultResponse + | StaticSitesPreviewWorkflowDefaultResponse + | StaticSitesListDefaultResponse + | StaticSitesGetStaticSitesByResourceGroupDefaultResponse + | StaticSitesGetStaticSiteDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteDefaultResponse + | StaticSitesDeleteStaticSiteDefaultResponse + | StaticSitesUpdateStaticSiteDefaultResponse + | StaticSitesListStaticSiteUsersDefaultResponse + | StaticSitesDeleteStaticSiteUserDefaultResponse + | StaticSitesUpdateStaticSiteUserDefaultResponse + | StaticSitesGetStaticSiteBuildsDefaultResponse + | StaticSitesGetStaticSiteBuildDefaultResponse + | StaticSitesDeleteStaticSiteBuildDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse + | StaticSitesListStaticSiteBuildFunctionsDefaultResponse + | StaticSitesListStaticSiteBuildAppSettingsDefaultResponse + | StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse + | StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse + | StaticSitesCreateUserRolesInvitationLinkDefaultResponse + | StaticSitesListStaticSiteCustomDomainsDefaultResponse + | StaticSitesGetStaticSiteCustomDomainDefaultResponse + | StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse + | StaticSitesDeleteStaticSiteCustomDomainDefaultResponse + | StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse + | StaticSitesDetachStaticSiteDefaultResponse + | StaticSitesListStaticSiteFunctionsDefaultResponse + | StaticSitesListStaticSiteAppSettingsDefaultResponse + | StaticSitesListStaticSiteConfiguredRolesDefaultResponse + | StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse + | StaticSitesListStaticSiteSecretsDefaultResponse + | StaticSitesGetPrivateEndpointConnectionListDefaultResponse + | StaticSitesGetPrivateEndpointConnectionDefaultResponse + | StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse + | StaticSitesDeletePrivateEndpointConnectionDefaultResponse + | StaticSitesGetPrivateLinkResourcesDefaultResponse + | StaticSitesResetStaticSiteApiKeyDefaultResponse + | StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse + | StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse + | StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse + | StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse + | StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse + | WebAppsListDefaultResponse + | WebAppsListByResourceGroupDefaultResponse + | WebAppsGet404Response + | WebAppsGetDefaultResponse + | WebAppsCreateOrUpdateDefaultResponse + | WebAppsDelete404Response + | WebAppsDeleteDefaultResponse + | WebAppsUpdateDefaultResponse + | WebAppsAnalyzeCustomHostnameDefaultResponse + | WebAppsApplySlotConfigToProductionDefaultResponse + | WebAppsBackupDefaultResponse + | WebAppsListBackupsDefaultResponse + | WebAppsGetBackupStatusDefaultResponse + | WebAppsDeleteBackup404Response + | WebAppsDeleteBackupDefaultResponse + | WebAppsListBackupStatusSecretsDefaultResponse + | WebAppsRestoreDefaultResponse + | WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse + | WebAppsGetFtpAllowedDefaultResponse + | WebAppsUpdateFtpAllowedDefaultResponse + | WebAppsGetScmAllowedDefaultResponse + | WebAppsUpdateScmAllowedDefaultResponse + | WebAppsListConfigurationsDefaultResponse + | WebAppsUpdateApplicationSettingsDefaultResponse + | WebAppsListApplicationSettingsDefaultResponse + | WebAppsUpdateAuthSettingsDefaultResponse + | WebAppsGetAuthSettingsDefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse + | WebAppsUpdateAuthSettingsV2DefaultResponse + | WebAppsGetAuthSettingsV2DefaultResponse + | WebAppsUpdateAzureStorageAccountsDefaultResponse + | WebAppsListAzureStorageAccountsDefaultResponse + | WebAppsUpdateBackupConfigurationDefaultResponse + | WebAppsDeleteBackupConfigurationDefaultResponse + | WebAppsGetBackupConfigurationDefaultResponse + | WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse + | WebAppsGetAppSettingKeyVaultReferenceDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse + | WebAppsUpdateConnectionStringsDefaultResponse + | WebAppsListConnectionStringsDefaultResponse + | WebAppsGetDiagnosticLogsConfigurationDefaultResponse + | WebAppsUpdateDiagnosticLogsConfigDefaultResponse + | WebAppsUpdateMetadataDefaultResponse + | WebAppsListMetadataDefaultResponse + | WebAppsListPublishingCredentialsDefaultResponse + | WebAppsUpdateSitePushSettingsDefaultResponse + | WebAppsListSitePushSettingsDefaultResponse + | WebAppsListSlotConfigurationNamesDefaultResponse + | WebAppsUpdateSlotConfigurationNamesDefaultResponse + | WebAppsGetConfigurationDefaultResponse + | WebAppsCreateOrUpdateConfigurationDefaultResponse + | WebAppsUpdateConfigurationDefaultResponse + | WebAppsListConfigurationSnapshotInfoDefaultResponse + | WebAppsGetConfigurationSnapshotDefaultResponse + | WebAppsRecoverSiteConfigurationSnapshotDefaultResponse + | WebAppsGetWebSiteContainerLogsDefaultResponse + | WebAppsGetContainerLogsZipDefaultResponse + | WebAppsListContinuousWebJobsDefaultResponse + | WebAppsGetContinuousWebJob404Response + | WebAppsGetContinuousWebJobDefaultResponse + | WebAppsDeleteContinuousWebJobDefaultResponse + | WebAppsStartContinuousWebJob404Response + | WebAppsStartContinuousWebJobDefaultResponse + | WebAppsStopContinuousWebJob404Response + | WebAppsStopContinuousWebJobDefaultResponse + | WebAppsListDeploymentsDefaultResponse + | WebAppsGetDeploymentDefaultResponse + | WebAppsCreateDeploymentDefaultResponse + | WebAppsDeleteDeploymentDefaultResponse + | WebAppsListDeploymentLogDefaultResponse + | WebAppsDiscoverBackupDefaultResponse + | WebAppsListDomainOwnershipIdentifiersDefaultResponse + | WebAppsGetDomainOwnershipIdentifierDefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse + | WebAppsDeleteDomainOwnershipIdentifierDefaultResponse + | WebAppsUpdateDomainOwnershipIdentifierDefaultResponse + | WebAppsGetMSDeployStatusDefaultResponse + | WebAppsCreateMSDeployOperation409Response + | WebAppsCreateMSDeployOperationDefaultResponse + | WebAppsGetMSDeployLog404Response + | WebAppsGetMSDeployLogDefaultResponse + | WebAppsGetOneDeployStatusDefaultResponse + | WebAppsCreateOneDeployOperationDefaultResponse + | WebAppsListFunctions404Response + | WebAppsListFunctionsDefaultResponse + | WebAppsGetFunctionsAdminTokenDefaultResponse + | WebAppsGetFunction404Response + | WebAppsGetFunctionDefaultResponse + | WebAppsCreateFunctionDefaultResponse + | WebAppsDeleteFunction404Response + | WebAppsDeleteFunctionDefaultResponse + | WebAppsCreateOrUpdateFunctionSecretDefaultResponse + | WebAppsDeleteFunctionSecret404Response + | WebAppsDeleteFunctionSecretDefaultResponse + | WebAppsListFunctionKeysDefaultResponse + | WebAppsListFunctionSecretsDefaultResponse + | WebAppsListHostKeysDefaultResponse + | WebAppsListSyncStatusDefaultResponse + | WebAppsSyncFunctionsDefaultResponse + | WebAppsCreateOrUpdateHostSecretDefaultResponse + | WebAppsDeleteHostSecret404Response + | WebAppsDeleteHostSecretDefaultResponse + | WebAppsListHostNameBindingsDefaultResponse + | WebAppsGetHostNameBindingDefaultResponse + | WebAppsCreateOrUpdateHostNameBindingDefaultResponse + | WebAppsDeleteHostNameBindingDefaultResponse + | WebAppsGetHybridConnectionDefaultResponse + | WebAppsCreateOrUpdateHybridConnectionDefaultResponse + | WebAppsDeleteHybridConnection404Response + | WebAppsDeleteHybridConnectionDefaultResponse + | WebAppsUpdateHybridConnectionDefaultResponse + | WebAppsListHybridConnectionsDefaultResponse + | WebAppsListRelayServiceConnectionsDefaultResponse + | WebAppsGetRelayServiceConnectionDefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse + | WebAppsDeleteRelayServiceConnection404Response + | WebAppsDeleteRelayServiceConnectionDefaultResponse + | WebAppsUpdateRelayServiceConnectionDefaultResponse + | WebAppsListInstanceIdentifiersDefaultResponse + | WebAppsGetInstanceInfoDefaultResponse + | WebAppsGetInstanceMsDeployStatusDefaultResponse + | WebAppsCreateInstanceMSDeployOperation409Response + | WebAppsCreateInstanceMSDeployOperationDefaultResponse + | WebAppsGetInstanceMSDeployLog404Response + | WebAppsGetInstanceMSDeployLogDefaultResponse + | WebAppsListInstanceProcesses404Response + | WebAppsListInstanceProcessesDefaultResponse + | WebAppsGetInstanceProcess404Response + | WebAppsGetInstanceProcessDefaultResponse + | WebAppsDeleteInstanceProcess404Response + | WebAppsDeleteInstanceProcessDefaultResponse + | WebAppsGetInstanceProcessDump404Response + | WebAppsGetInstanceProcessDumpDefaultResponse + | WebAppsListInstanceProcessModules404Response + | WebAppsListInstanceProcessModulesDefaultResponse + | WebAppsGetInstanceProcessModule404Response + | WebAppsGetInstanceProcessModuleDefaultResponse + | WebAppsListInstanceProcessThreads404Response + | WebAppsListInstanceProcessThreadsDefaultResponse + | WebAppsIsCloneableDefaultResponse + | WebAppsListSiteBackupsDefaultResponse + | WebAppsListSyncFunctionTriggersDefaultResponse + | WebAppsMigrateStorageDefaultResponse + | WebAppsMigrateMySqlDefaultResponse + | WebAppsGetMigrateMySqlStatusDefaultResponse + | WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse + | WebAppsDeleteSwiftVirtualNetwork404Response + | WebAppsDeleteSwiftVirtualNetworkDefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse + | WebAppsListNetworkFeatures404Response + | WebAppsListNetworkFeaturesDefaultResponse + | WebAppsGetNetworkTraceOperationDefaultResponse + | WebAppsStartWebSiteNetworkTraceDefaultResponse + | WebAppsStartWebSiteNetworkTraceOperationDefaultResponse + | WebAppsStopWebSiteNetworkTraceDefaultResponse + | WebAppsGetNetworkTracesDefaultResponse + | WebAppsGetNetworkTraceOperationV2DefaultResponse + | WebAppsGetNetworkTracesV2DefaultResponse + | WebAppsGenerateNewSitePublishingPasswordDefaultResponse + | WebAppsListPerfMonCountersDefaultResponse + | WebAppsGetSitePhpErrorLogFlagDefaultResponse + | WebAppsListPremierAddOnsDefaultResponse + | WebAppsGetPremierAddOnDefaultResponse + | WebAppsAddPremierAddOnDefaultResponse + | WebAppsDeletePremierAddOnDefaultResponse + | WebAppsUpdatePremierAddOnDefaultResponse + | WebAppsGetPrivateAccessDefaultResponse + | WebAppsPutPrivateAccessVnetDefaultResponse + | WebAppsGetPrivateEndpointConnectionListDefaultResponse + | WebAppsGetPrivateEndpointConnectionDefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse + | WebAppsDeletePrivateEndpointConnectionDefaultResponse + | WebAppsGetPrivateLinkResourcesDefaultResponse + | WebAppsListProcesses404Response + | WebAppsListProcessesDefaultResponse + | WebAppsGetProcess404Response + | WebAppsGetProcessDefaultResponse + | WebAppsDeleteProcess404Response + | WebAppsDeleteProcessDefaultResponse + | WebAppsGetProcessDump404Response + | WebAppsGetProcessDumpDefaultResponse + | WebAppsListProcessModules404Response + | WebAppsListProcessModulesDefaultResponse + | WebAppsGetProcessModule404Response + | WebAppsGetProcessModuleDefaultResponse + | WebAppsListProcessThreads404Response + | WebAppsListProcessThreadsDefaultResponse + | WebAppsListPublicCertificatesDefaultResponse + | WebAppsGetPublicCertificateDefaultResponse + | WebAppsCreateOrUpdatePublicCertificateDefaultResponse + | WebAppsDeletePublicCertificateDefaultResponse + | WebAppsListPublishingProfileXmlWithSecretsDefaultResponse + | WebAppsResetProductionSlotConfigDefaultResponse + | WebAppsRestartDefaultResponse + | WebAppsRestoreFromBackupBlobDefaultResponse + | WebAppsRestoreFromDeletedAppDefaultResponse + | WebAppsRestoreSnapshotDefaultResponse + | WebAppsListSiteExtensions404Response + | WebAppsListSiteExtensionsDefaultResponse + | WebAppsGetSiteExtension404Response + | WebAppsGetSiteExtensionDefaultResponse + | WebAppsInstallSiteExtension429Response + | WebAppsInstallSiteExtensionDefaultResponse + | WebAppsDeleteSiteExtension404Response + | WebAppsDeleteSiteExtensionDefaultResponse + | WebAppsListSlotsDefaultResponse + | WebAppsGetSlot404Response + | WebAppsGetSlotDefaultResponse + | WebAppsCreateOrUpdateSlotDefaultResponse + | WebAppsDeleteSlot404Response + | WebAppsDeleteSlotDefaultResponse + | WebAppsUpdateSlotDefaultResponse + | WebAppsAnalyzeCustomHostnameSlotDefaultResponse + | WebAppsApplySlotConfigurationSlotDefaultResponse + | WebAppsBackupSlotDefaultResponse + | WebAppsListBackupsSlotDefaultResponse + | WebAppsGetBackupStatusSlotDefaultResponse + | WebAppsDeleteBackupSlot404Response + | WebAppsDeleteBackupSlotDefaultResponse + | WebAppsListBackupStatusSecretsSlotDefaultResponse + | WebAppsRestoreSlotDefaultResponse + | WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse + | WebAppsGetFtpAllowedSlotDefaultResponse + | WebAppsUpdateFtpAllowedSlotDefaultResponse + | WebAppsGetScmAllowedSlotDefaultResponse + | WebAppsUpdateScmAllowedSlotDefaultResponse + | WebAppsListConfigurationsSlotDefaultResponse + | WebAppsUpdateApplicationSettingsSlotDefaultResponse + | WebAppsListApplicationSettingsSlotDefaultResponse + | WebAppsUpdateAuthSettingsSlotDefaultResponse + | WebAppsGetAuthSettingsSlotDefaultResponse + | WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse + | WebAppsUpdateAuthSettingsV2SlotDefaultResponse + | WebAppsGetAuthSettingsV2SlotDefaultResponse + | WebAppsUpdateAzureStorageAccountsSlotDefaultResponse + | WebAppsListAzureStorageAccountsSlotDefaultResponse + | WebAppsUpdateBackupConfigurationSlotDefaultResponse + | WebAppsDeleteBackupConfigurationSlotDefaultResponse + | WebAppsGetBackupConfigurationSlotDefaultResponse + | WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse + | WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse + | WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse + | WebAppsUpdateConnectionStringsSlotDefaultResponse + | WebAppsListConnectionStringsSlotDefaultResponse + | WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse + | WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse + | WebAppsUpdateMetadataSlotDefaultResponse + | WebAppsListMetadataSlotDefaultResponse + | WebAppsListPublishingCredentialsSlotDefaultResponse + | WebAppsUpdateSitePushSettingsSlotDefaultResponse + | WebAppsListSitePushSettingsSlotDefaultResponse + | WebAppsGetConfigurationSlotDefaultResponse + | WebAppsCreateOrUpdateConfigurationSlotDefaultResponse + | WebAppsUpdateConfigurationSlotDefaultResponse + | WebAppsListConfigurationSnapshotInfoSlotDefaultResponse + | WebAppsGetConfigurationSnapshotSlotDefaultResponse + | WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse + | WebAppsGetWebSiteContainerLogsSlotDefaultResponse + | WebAppsGetContainerLogsZipSlotDefaultResponse + | WebAppsListContinuousWebJobsSlotDefaultResponse + | WebAppsGetContinuousWebJobSlot404Response + | WebAppsGetContinuousWebJobSlotDefaultResponse + | WebAppsDeleteContinuousWebJobSlotDefaultResponse + | WebAppsStartContinuousWebJobSlot404Response + | WebAppsStartContinuousWebJobSlotDefaultResponse + | WebAppsStopContinuousWebJobSlot404Response + | WebAppsStopContinuousWebJobSlotDefaultResponse + | WebAppsListDeploymentsSlotDefaultResponse + | WebAppsGetDeploymentSlotDefaultResponse + | WebAppsCreateDeploymentSlotDefaultResponse + | WebAppsDeleteDeploymentSlotDefaultResponse + | WebAppsListDeploymentLogSlotDefaultResponse + | WebAppsDiscoverBackupSlotDefaultResponse + | WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse + | WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse + | WebAppsGetMSDeployStatusSlotDefaultResponse + | WebAppsCreateMSDeployOperationSlot409Response + | WebAppsCreateMSDeployOperationSlotDefaultResponse + | WebAppsGetMSDeployLogSlot404Response + | WebAppsGetMSDeployLogSlotDefaultResponse + | WebAppsListInstanceFunctionsSlot404Response + | WebAppsListInstanceFunctionsSlotDefaultResponse + | WebAppsGetFunctionsAdminTokenSlotDefaultResponse + | WebAppsGetInstanceFunctionSlot404Response + | WebAppsGetInstanceFunctionSlotDefaultResponse + | WebAppsCreateInstanceFunctionSlotDefaultResponse + | WebAppsDeleteInstanceFunctionSlot404Response + | WebAppsDeleteInstanceFunctionSlotDefaultResponse + | WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse + | WebAppsDeleteFunctionSecretSlot404Response + | WebAppsDeleteFunctionSecretSlotDefaultResponse + | WebAppsListFunctionKeysSlotDefaultResponse + | WebAppsListFunctionSecretsSlotDefaultResponse + | WebAppsListHostKeysSlotDefaultResponse + | WebAppsListSyncStatusSlotDefaultResponse + | WebAppsSyncFunctionsSlotDefaultResponse + | WebAppsCreateOrUpdateHostSecretSlotDefaultResponse + | WebAppsDeleteHostSecretSlot404Response + | WebAppsDeleteHostSecretSlotDefaultResponse + | WebAppsListHostNameBindingsSlotDefaultResponse + | WebAppsGetHostNameBindingSlotDefaultResponse + | WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse + | WebAppsDeleteHostNameBindingSlotDefaultResponse + | WebAppsGetHybridConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse + | WebAppsDeleteHybridConnectionSlot404Response + | WebAppsDeleteHybridConnectionSlotDefaultResponse + | WebAppsUpdateHybridConnectionSlotDefaultResponse + | WebAppsListHybridConnectionsSlotDefaultResponse + | WebAppsListRelayServiceConnectionsSlotDefaultResponse + | WebAppsGetRelayServiceConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse + | WebAppsDeleteRelayServiceConnectionSlot404Response + | WebAppsDeleteRelayServiceConnectionSlotDefaultResponse + | WebAppsUpdateRelayServiceConnectionSlotDefaultResponse + | WebAppsListInstanceIdentifiersSlotDefaultResponse + | WebAppsGetInstanceInfoSlotDefaultResponse + | WebAppsGetInstanceMsDeployStatusSlotDefaultResponse + | WebAppsCreateInstanceMSDeployOperationSlot409Response + | WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse + | WebAppsGetInstanceMSDeployLogSlot404Response + | WebAppsGetInstanceMSDeployLogSlotDefaultResponse + | WebAppsListInstanceProcessesSlot404Response + | WebAppsListInstanceProcessesSlotDefaultResponse + | WebAppsGetInstanceProcessSlot404Response + | WebAppsGetInstanceProcessSlotDefaultResponse + | WebAppsDeleteInstanceProcessSlot404Response + | WebAppsDeleteInstanceProcessSlotDefaultResponse + | WebAppsGetInstanceProcessDumpSlot404Response + | WebAppsGetInstanceProcessDumpSlotDefaultResponse + | WebAppsListInstanceProcessModulesSlot404Response + | WebAppsListInstanceProcessModulesSlotDefaultResponse + | WebAppsGetInstanceProcessModuleSlot404Response + | WebAppsGetInstanceProcessModuleSlotDefaultResponse + | WebAppsListInstanceProcessThreadsSlot404Response + | WebAppsListInstanceProcessThreadsSlotDefaultResponse + | WebAppsIsCloneableSlotDefaultResponse + | WebAppsListSiteBackupsSlotDefaultResponse + | WebAppsListSyncFunctionTriggersSlotDefaultResponse + | WebAppsGetMigrateMySqlStatusSlotDefaultResponse + | WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse + | WebAppsDeleteSwiftVirtualNetworkSlot404Response + | WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse + | WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse + | WebAppsListNetworkFeaturesSlot404Response + | WebAppsListNetworkFeaturesSlotDefaultResponse + | WebAppsGetNetworkTraceOperationSlotDefaultResponse + | WebAppsStartWebSiteNetworkTraceSlotDefaultResponse + | WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse + | WebAppsStopWebSiteNetworkTraceSlotDefaultResponse + | WebAppsGetNetworkTracesSlotDefaultResponse + | WebAppsGetNetworkTraceOperationSlotV2DefaultResponse + | WebAppsGetNetworkTracesSlotV2DefaultResponse + | WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse + | WebAppsListPerfMonCountersSlotDefaultResponse + | WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse + | WebAppsListPremierAddOnsSlotDefaultResponse + | WebAppsGetPremierAddOnSlotDefaultResponse + | WebAppsAddPremierAddOnSlotDefaultResponse + | WebAppsDeletePremierAddOnSlotDefaultResponse + | WebAppsUpdatePremierAddOnSlotDefaultResponse + | WebAppsGetPrivateAccessSlotDefaultResponse + | WebAppsPutPrivateAccessVnetSlotDefaultResponse + | WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse + | WebAppsGetPrivateEndpointConnectionSlotDefaultResponse + | WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse + | WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse + | WebAppsGetPrivateLinkResourcesSlotDefaultResponse + | WebAppsListProcessesSlot404Response + | WebAppsListProcessesSlotDefaultResponse + | WebAppsGetProcessSlot404Response + | WebAppsGetProcessSlotDefaultResponse + | WebAppsDeleteProcessSlot404Response + | WebAppsDeleteProcessSlotDefaultResponse + | WebAppsGetProcessDumpSlot404Response + | WebAppsGetProcessDumpSlotDefaultResponse + | WebAppsListProcessModulesSlot404Response + | WebAppsListProcessModulesSlotDefaultResponse + | WebAppsGetProcessModuleSlot404Response + | WebAppsGetProcessModuleSlotDefaultResponse + | WebAppsListProcessThreadsSlot404Response + | WebAppsListProcessThreadsSlotDefaultResponse + | WebAppsListPublicCertificatesSlotDefaultResponse + | WebAppsGetPublicCertificateSlotDefaultResponse + | WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse + | WebAppsDeletePublicCertificateSlotDefaultResponse + | WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse + | WebAppsResetSlotConfigurationSlotDefaultResponse + | WebAppsRestartSlotDefaultResponse + | WebAppsRestoreFromBackupBlobSlotDefaultResponse + | WebAppsRestoreFromDeletedAppSlotDefaultResponse + | WebAppsRestoreSnapshotSlotDefaultResponse + | WebAppsListSiteExtensionsSlot404Response + | WebAppsListSiteExtensionsSlotDefaultResponse + | WebAppsGetSiteExtensionSlot404Response + | WebAppsGetSiteExtensionSlotDefaultResponse + | WebAppsInstallSiteExtensionSlot429Response + | WebAppsInstallSiteExtensionSlotDefaultResponse + | WebAppsDeleteSiteExtensionSlot404Response + | WebAppsDeleteSiteExtensionSlotDefaultResponse + | WebAppsListSlotDifferencesSlotDefaultResponse + | WebAppsSwapSlotDefaultResponse + | WebAppsListSnapshotsSlotDefaultResponse + | WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse + | WebAppsGetSourceControlSlotDefaultResponse + | WebAppsCreateOrUpdateSourceControlSlotDefaultResponse + | WebAppsDeleteSourceControlSlot404Response + | WebAppsDeleteSourceControlSlotDefaultResponse + | WebAppsUpdateSourceControlSlotDefaultResponse + | WebAppsStartSlotDefaultResponse + | WebAppsStartNetworkTraceSlotDefaultResponse + | WebAppsStopSlotDefaultResponse + | WebAppsStopNetworkTraceSlotDefaultResponse + | WebAppsSyncRepositorySlotDefaultResponse + | WebAppsSyncFunctionTriggersSlotDefaultResponse + | WebAppsListTriggeredWebJobsSlotDefaultResponse + | WebAppsGetTriggeredWebJobSlot404Response + | WebAppsGetTriggeredWebJobSlotDefaultResponse + | WebAppsDeleteTriggeredWebJobSlotDefaultResponse + | WebAppsListTriggeredWebJobHistorySlot404Response + | WebAppsListTriggeredWebJobHistorySlotDefaultResponse + | WebAppsGetTriggeredWebJobHistorySlot404Response + | WebAppsGetTriggeredWebJobHistorySlotDefaultResponse + | WebAppsRunTriggeredWebJobSlot404Response + | WebAppsRunTriggeredWebJobSlotDefaultResponse + | WebAppsListUsagesSlotDefaultResponse + | WebAppsListVnetConnectionsSlotDefaultResponse + | WebAppsGetVnetConnectionSlotDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse + | WebAppsDeleteVnetConnectionSlot404Response + | WebAppsDeleteVnetConnectionSlotDefaultResponse + | WebAppsUpdateVnetConnectionSlotDefaultResponse + | WebAppsGetVnetConnectionGatewaySlot404Response + | WebAppsGetVnetConnectionGatewaySlotDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse + | WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse + | WebAppsListWebJobsSlotDefaultResponse + | WebAppsGetWebJobSlotDefaultResponse + | WebAppsListSlotDifferencesFromProductionDefaultResponse + | WebAppsSwapSlotWithProductionDefaultResponse + | WebAppsListSnapshotsDefaultResponse + | WebAppsListSnapshotsFromDRSecondaryDefaultResponse + | WebAppsGetSourceControlDefaultResponse + | WebAppsCreateOrUpdateSourceControlDefaultResponse + | WebAppsDeleteSourceControl404Response + | WebAppsDeleteSourceControlDefaultResponse + | WebAppsUpdateSourceControlDefaultResponse + | WebAppsStartDefaultResponse + | WebAppsStartNetworkTraceDefaultResponse + | WebAppsStopDefaultResponse + | WebAppsStopNetworkTraceDefaultResponse + | WebAppsSyncRepositoryDefaultResponse + | WebAppsSyncFunctionTriggersDefaultResponse + | WebAppsListTriggeredWebJobsDefaultResponse + | WebAppsGetTriggeredWebJob404Response + | WebAppsGetTriggeredWebJobDefaultResponse + | WebAppsDeleteTriggeredWebJobDefaultResponse + | WebAppsListTriggeredWebJobHistory404Response + | WebAppsListTriggeredWebJobHistoryDefaultResponse + | WebAppsGetTriggeredWebJobHistory404Response + | WebAppsGetTriggeredWebJobHistoryDefaultResponse + | WebAppsRunTriggeredWebJob404Response + | WebAppsRunTriggeredWebJobDefaultResponse + | WebAppsListUsagesDefaultResponse + | WebAppsListVnetConnectionsDefaultResponse + | WebAppsGetVnetConnectionDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionDefaultResponse + | WebAppsDeleteVnetConnection404Response + | WebAppsDeleteVnetConnectionDefaultResponse + | WebAppsUpdateVnetConnectionDefaultResponse + | WebAppsGetVnetConnectionGateway404Response + | WebAppsGetVnetConnectionGatewayDefaultResponse + | WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse + | WebAppsUpdateVnetConnectionGatewayDefaultResponse + | WebAppsListWebJobsDefaultResponse + | WebAppsGetWebJobDefaultResponse { + const lroOriginal = response.headers["x-ms-original-url"]; + const url = new URL(lroOriginal ?? response.request.url); + const method = response.request.method; + let pathDetails = responseMap[`${method} ${url.pathname}`]; + if (!pathDetails) { + pathDetails = getParametrizedPathSuccess(method, url.pathname); + } + return !pathDetails.includes(response.status); +} + +function getParametrizedPathSuccess(method: string, path: string): string[] { + const pathParts = path.split("/"); + + // Traverse list to match the longest candidate + // matchedLen: the length of candidate path + // matchedValue: the matched status code array + let matchedLen = -1, + matchedValue: string[] = []; + + // Iterate the responseMap to find a match + for (const [key, value] of Object.entries(responseMap)) { + // Extracting the path from the map key which is in format + // GET /path/foo + if (!key.startsWith(method)) { + continue; + } + const candidatePath = getPathFromMapKey(key); + // Get each part of the url path + const candidateParts = candidatePath.split("/"); + + // track if we have found a match to return the values found. + let found = true; + for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { + if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { + const start = candidateParts[i]!.indexOf("}") + 1, + end = candidateParts[i]?.length; + // If the current part of the candidate is a "template" part + // Try to use the suffix of pattern to match the path + // {guid} ==> $ + // {guid}:export ==> :export$ + const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( + pathParts[j] || "", + ); + + if (!isMatched) { + found = false; + break; + } + continue; + } + + // If the candidate part is not a template and + // the parts don't match mark the candidate as not found + // to move on with the next candidate path. + if (candidateParts[i] !== pathParts[j]) { + found = false; + break; + } + } + + // We finished evaluating the current candidate parts + // Update the matched value if and only if we found the longer pattern + if (found && candidatePath.length > matchedLen) { + matchedLen = candidatePath.length; + matchedValue = value; + } + } + + return matchedValue; +} + +function getPathFromMapKey(mapKey: string): string { + const pathStart = mapKey.indexOf("/"); + return mapKey.slice(pathStart); +} diff --git a/sdk/appservice/arm-appservice-rest/src/logger.ts b/sdk/appservice/arm-appservice-rest/src/logger.ts new file mode 100644 index 000000000000..84fe756c8829 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/src/logger.ts @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { createClientLogger } from "@azure/logger"; +export const logger = createClientLogger("arm-appservice"); diff --git a/sdk/appservice/arm-appservice-rest/src/models.ts b/sdk/appservice/arm-appservice-rest/src/models.ts index 642fe72adf05..bd2de8216fda 100644 --- a/sdk/appservice/arm-appservice-rest/src/models.ts +++ b/sdk/appservice/arm-appservice-rest/src/models.ts @@ -1,18 +1,18 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** SSL certificate purchase order. */ export interface AppServiceCertificateOrder extends Resource { /** AppServiceCertificateOrder resource specific properties */ properties?: AppServiceCertificateOrderProperties; } +/** AppServiceCertificateOrder resource specific properties */ export interface AppServiceCertificateOrderProperties { /** State of the Key Vault secret. */ certificates?: Record; /** Certificate distinguished name. */ distinguishedName?: string; - /** Domain verification token. */ - domainVerificationToken?: string; /** Duration in years (must be 1). */ validityInYears?: number; /** Certificate key size. */ @@ -21,89 +21,21 @@ export interface AppServiceCertificateOrderProperties { productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; /** true if the certificate should be automatically renewed when it expires; otherwise, false. */ autoRenew?: boolean; - /** Status of certificate order. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - /** Current order status. */ - status?: - | "Pendingissuance" - | "Issued" - | "Revoked" - | "Canceled" - | "Denied" - | "Pendingrevocation" - | "PendingRekey" - | "Unused" - | "Expired" - | "NotSubmitted"; - /** Signed certificate. */ - signedCertificate?: CertificateDetails; /** Last CSR that was created for this order. */ csr?: string; - /** Intermediate certificate. */ - intermediate?: CertificateDetails; - /** Root certificate. */ - root?: CertificateDetails; - /** Current serial number of the certificate. */ - serialNumber?: string; - /** Certificate last issuance time. */ - lastCertificateIssuanceTime?: Date | string; - /** Certificate expiration time. */ - expirationTime?: Date | string; - /** true if private key is external; otherwise, false. */ - isPrivateKeyExternal?: boolean; - /** Reasons why App Service Certificate is not renewable at the current moment. */ - appServiceCertificateNotRenewableReasons?: Array< - | "RegistrationStatusNotSupportedForRenewal" - | "ExpirationNotInRenewalTimeRange" - | "SubscriptionNotActive" - >; - /** Time stamp when the certificate would be auto renewed next */ - nextAutoRenewalTimeStamp?: Date | string; - /** Contact info */ - contact?: CertificateOrderContact; } +/** Key Vault container for a certificate that is purchased through Azure. */ export interface AppServiceCertificate { /** Key Vault resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; - /** Status of the Key Vault secret. */ - provisioningState?: - | "Initialized" - | "WaitingOnCertificateOrder" - | "Succeeded" - | "CertificateOrderFailed" - | "OperationNotPermittedOnKeyVault" - | "AzureServiceUnauthorizedToAccessKeyVault" - | "KeyVaultDoesNotExist" - | "KeyVaultSecretDoesNotExist" - | "UnknownError" - | "ExternalPrivateKey" - | "Unknown"; -} - -export interface CertificateDetails { - /** Certificate Version. */ - version?: number; - /** Certificate Serial Number. */ - serialNumber?: string; - /** Certificate Thumbprint. */ - thumbprint?: string; - /** Certificate Subject. */ - subject?: string; - /** Date Certificate is valid from. */ - notBefore?: Date | string; - /** Date Certificate is valid to. */ - notAfter?: Date | string; - /** Certificate Signature algorithm. */ - signatureAlgorithm?: string; - /** Certificate Issuer. */ - issuer?: string; - /** Raw certificate data. */ - rawData?: string; } +/** SSL certificate details. */ +export interface CertificateDetails {} + export interface CertificateOrderContact { email?: string; nameFirst?: string; @@ -111,33 +43,28 @@ export interface CertificateOrderContact { phone?: string; } +/** Azure resource. This resource is tracked in Azure Resource Manager */ export interface Resource { - /** Resource Id. */ - id?: string; - /** Resource Name. */ - name?: string; /** Kind of resource. */ kind?: string; /** Resource Location. */ location: string; - /** Resource type. */ - type?: string; /** Resource tags. */ tags?: Record; } +/** ARM resource for a certificate order that is purchased through Azure. */ export interface AppServiceCertificateOrderPatchResource extends ProxyOnlyResource { /** AppServiceCertificateOrderPatchResource resource specific properties */ properties?: AppServiceCertificateOrderPatchResourceProperties; } +/** AppServiceCertificateOrderPatchResource resource specific properties */ export interface AppServiceCertificateOrderPatchResourceProperties { /** State of the Key Vault secret. */ certificates?: Record; /** Certificate distinguished name. */ distinguishedName?: string; - /** Domain verification token. */ - domainVerificationToken?: string; /** Duration in years (must be 1). */ validityInYears?: number; /** Certificate key size. */ @@ -146,74 +73,35 @@ export interface AppServiceCertificateOrderPatchResourceProperties { productType: "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; /** true if the certificate should be automatically renewed when it expires; otherwise, false. */ autoRenew?: boolean; - /** Status of certificate order. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - /** Current order status. */ - status?: - | "Pendingissuance" - | "Issued" - | "Revoked" - | "Canceled" - | "Denied" - | "Pendingrevocation" - | "PendingRekey" - | "Unused" - | "Expired" - | "NotSubmitted"; - /** Signed certificate. */ - signedCertificate?: CertificateDetails; /** Last CSR that was created for this order. */ csr?: string; - /** Intermediate certificate. */ - intermediate?: CertificateDetails; - /** Root certificate. */ - root?: CertificateDetails; - /** Current serial number of the certificate. */ - serialNumber?: string; - /** Certificate last issuance time. */ - lastCertificateIssuanceTime?: Date | string; - /** Certificate expiration time. */ - expirationTime?: Date | string; - /** true if private key is external; otherwise, false. */ - isPrivateKeyExternal?: boolean; - /** Reasons why App Service Certificate is not renewable at the current moment. */ - appServiceCertificateNotRenewableReasons?: Array< - | "RegistrationStatusNotSupportedForRenewal" - | "ExpirationNotInRenewalTimeRange" - | "SubscriptionNotActive" - >; - /** Time stamp when the certificate would be auto renewed next */ - nextAutoRenewalTimeStamp?: Date | string; - /** Contact info */ - contact?: CertificateOrderContact; } +/** Azure proxy only resource. This resource is not tracked by Azure Resource Manager. */ export interface ProxyOnlyResource { - /** Resource Id. */ - id?: string; - /** Resource Name. */ - name?: string; /** Kind of resource. */ kind?: string; - /** Resource type. */ - type?: string; } +/** Key Vault container ARM resource for a certificate that is purchased through Azure. */ export interface AppServiceCertificateResource extends Resource { /** Core resource properties */ properties?: AppServiceCertificate; } +/** Key Vault container ARM resource for a certificate that is purchased through Azure. */ export interface AppServiceCertificatePatchResource extends ProxyOnlyResource { /** Core resource properties */ properties?: AppServiceCertificate; } +/** Class representing certificate reissue request. */ export interface ReissueCertificateOrderRequest extends ProxyOnlyResource { /** ReissueCertificateOrderRequest resource specific properties */ properties?: ReissueCertificateOrderRequestProperties; } +/** ReissueCertificateOrderRequest resource specific properties */ export interface ReissueCertificateOrderRequestProperties { /** Certificate Key Size. */ keySize?: number; @@ -225,11 +113,13 @@ export interface ReissueCertificateOrderRequestProperties { isPrivateKeyExternal?: boolean; } +/** Class representing certificate renew request. */ export interface RenewCertificateOrderRequest extends ProxyOnlyResource { /** RenewCertificateOrderRequest resource specific properties */ properties?: RenewCertificateOrderRequestProperties; } +/** RenewCertificateOrderRequest resource specific properties */ export interface RenewCertificateOrderRequestProperties { /** Certificate Key Size. */ keySize?: number; @@ -239,11 +129,13 @@ export interface RenewCertificateOrderRequestProperties { isPrivateKeyExternal?: boolean; } +/** Identifies an object. */ export interface NameIdentifier { /** Name of the object. */ name?: string; } +/** Site seal request. */ export interface SiteSealRequest { /** If true use the light color theme for site seal; otherwise, use the default color theme. */ lightTheme?: boolean; @@ -251,37 +143,22 @@ export interface SiteSealRequest { locale?: string; } +/** Certificate order action. */ export interface CertificateOrderAction extends ProxyOnlyResource { /** CertificateOrderAction resource specific properties */ properties?: CertificateOrderActionProperties; } -export interface CertificateOrderActionProperties { - /** Action type. */ - actionType?: - | "CertificateIssued" - | "CertificateOrderCanceled" - | "CertificateOrderCreated" - | "CertificateRevoked" - | "DomainValidationComplete" - | "FraudDetected" - | "OrgNameChange" - | "OrgValidationComplete" - | "SanDrop" - | "FraudCleared" - | "CertificateExpired" - | "CertificateExpirationWarning" - | "FraudDocumentationRequired" - | "Unknown"; - /** Time at which the certificate action was performed. */ - createdAt?: Date | string; -} +/** CertificateOrderAction resource specific properties */ +export interface CertificateOrderActionProperties {} +/** SSL certificate email. */ export interface CertificateEmail extends ProxyOnlyResource { /** CertificateEmail resource specific properties */ properties?: CertificateEmailProperties; } +/** CertificateEmail resource specific properties */ export interface CertificateEmailProperties { /** Email id. */ emailId?: string; @@ -289,11 +166,13 @@ export interface CertificateEmailProperties { timeStamp?: Date | string; } +/** Class representing Response from Detector */ export interface DetectorResponse extends ProxyOnlyResource { /** DetectorResponse resource specific properties */ properties?: DetectorResponseProperties; } +/** DetectorResponse resource specific properties */ export interface DetectorResponseProperties { /** metadata for the detector */ metadata?: DetectorInfo; @@ -307,34 +186,13 @@ export interface DetectorResponseProperties { suggestedUtterances?: QueryUtterancesResults; } -export interface DetectorInfo { - /** Id of detector */ - id?: string; - /** Name of detector */ - name?: string; - /** Short description of the detector and its purpose. */ - description?: string; - /** Author of the detector. */ - author?: string; - /** Problem category. This serves for organizing group for detectors. */ - category?: string; - /** List of Support Topics for which this detector is enabled. */ - supportTopicList?: Array; - /** Analysis Types for which this detector should apply to. */ - analysisType?: Array; - /** Whether this detector is an Analysis Detector or not. */ - type?: "Detector" | "Analysis" | "CategoryOverview"; - /** Defines score of a detector to power ML based matching. */ - score?: number; -} +/** Definition of Detector */ +export interface DetectorInfo {} -export interface SupportTopic { - /** Support Topic Id */ - id?: string; - /** Unique resource Id */ - pesId?: string; -} +/** Defines a unique Support Topic */ +export interface SupportTopic {} +/** Set of data with rendering instructions */ export interface DiagnosticData { /** Data in table form */ table?: DataTableResponseObject; @@ -342,6 +200,7 @@ export interface DiagnosticData { renderingProperties?: Rendering; } +/** Data Table which defines columns and raw row values */ export interface DataTableResponseObject { /** Name of the table */ tableName?: string; @@ -351,6 +210,7 @@ export interface DataTableResponseObject { rows?: Array>; } +/** Column definition */ export interface DataTableResponseColumn { /** Name of the column */ columnName?: string; @@ -360,6 +220,7 @@ export interface DataTableResponseColumn { columnType?: string; } +/** Instructions for rendering the data */ export interface Rendering { /** Rendering Type */ type?: @@ -394,6 +255,7 @@ export interface Rendering { description?: string; } +/** Identify the status of the most severe insight generated by the detector. */ export interface Status { /** Descriptive message. */ message?: string; @@ -401,18 +263,14 @@ export interface Status { statusId?: "Critical" | "Warning" | "Info" | "Success" | "None"; } +/** Additional configuration for a data providers */ export interface DataProviderMetadata { providerName?: string; - /** Settings for the data provider */ - propertyBag?: Array; } -export interface KeyValuePairStringObject { - key?: string; - /** Any object */ - value?: Record; -} +export interface KeyValuePairStringObject {} +/** Suggested utterances where the detector can be applicable */ export interface QueryUtterancesResults { /** Search Query. */ query?: string; @@ -420,6 +278,7 @@ export interface QueryUtterancesResults { results?: Array; } +/** Result for utterances query. */ export interface QueryUtterancesResult { /** A sample utterance. */ sampleUtterance?: SampleUtterance; @@ -427,6 +286,7 @@ export interface QueryUtterancesResult { score?: number; } +/** Sample utterance. */ export interface SampleUtterance { /** Text attribute of sample utterance. */ text?: string; @@ -436,11 +296,13 @@ export interface SampleUtterance { qid?: string; } +/** Information about a domain. */ export interface Domain extends Resource { /** Domain resource specific properties */ properties?: DomainProperties; } +/** Domain resource specific properties */ export interface DomainProperties { /** Administrative contact. */ contactAdmin: Contact; @@ -450,58 +312,12 @@ export interface DomainProperties { contactRegistrant: Contact; /** Technical contact. */ contactTech: Contact; - /** Domain registration status. */ - registrationStatus?: - | "Active" - | "Awaiting" - | "Cancelled" - | "Confiscated" - | "Disabled" - | "Excluded" - | "Expired" - | "Failed" - | "Held" - | "Locked" - | "Parked" - | "Pending" - | "Reserved" - | "Reverted" - | "Suspended" - | "Transferred" - | "Unknown" - | "Unlocked" - | "Unparked" - | "Updated" - | "JsonConverterFailed"; - /** Domain provisioning state. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - /** Name servers. */ - nameServers?: Array; /** true if domain privacy is enabled for this domain; otherwise, false. */ privacy?: boolean; - /** Domain creation timestamp. */ - createdTime?: Date | string; - /** Domain expiration timestamp. */ - expirationTime?: Date | string; - /** Timestamp when the domain was renewed last time. */ - lastRenewedTime?: Date | string; /** true if the domain should be automatically renewed; otherwise, false. */ autoRenew?: boolean; - /** - * true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and - * it is hosted on name servers Azure has programmatic access to. - */ - readyForDnsRecordManagement?: boolean; - /** All hostnames derived from the domain and assigned to Azure resources. */ - managedHostNames?: Array; /** Legal agreement consent. */ consent: DomainPurchaseConsent; - /** Reasons why domain is not renewable. */ - domainNotRenewableReasons?: Array< - | "RegistrationStatusNotSupportedForRenewal" - | "ExpirationNotInRenewalTimeRange" - | "SubscriptionNotActive" - >; /** Current DNS type */ dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; /** Azure DNS Zone to use */ @@ -511,6 +327,10 @@ export interface DomainProperties { authCode?: string; } +/** + * Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois + * directories as per ICANN requirements. + */ export interface Contact { /** Mailing address. */ addressMailing?: Address; @@ -532,6 +352,7 @@ export interface Contact { phone: string; } +/** Address information for domain registration. */ export interface Address { /** First line of an Address. */ address1: string; @@ -547,6 +368,7 @@ export interface Address { state: string; } +/** Details of a hostname derived from a domain. */ export interface HostName { /** Name of the hostname. */ name?: string; @@ -562,6 +384,7 @@ export interface HostName { hostNameType?: "Verified" | "Managed"; } +/** Domain purchase consent object, representing acceptance of applicable legal agreements. */ export interface DomainPurchaseConsent { /** List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource. */ agreementKeys?: Array; @@ -571,6 +394,7 @@ export interface DomainPurchaseConsent { agreedAt?: Date | string; } +/** Domain recommendation search parameters. */ export interface DomainRecommendationSearchParameters { /** Keywords to be used for generating domain recommendations. */ keywords?: string; @@ -578,11 +402,13 @@ export interface DomainRecommendationSearchParameters { maxDomainRecommendations?: number; } +/** ARM resource for a domain. */ export interface DomainPatchResource extends ProxyOnlyResource { /** DomainPatchResource resource specific properties */ properties?: DomainPatchResourceProperties; } +/** DomainPatchResource resource specific properties */ export interface DomainPatchResourceProperties { /** Administrative contact. */ contactAdmin: Contact; @@ -592,58 +418,12 @@ export interface DomainPatchResourceProperties { contactRegistrant: Contact; /** Technical contact. */ contactTech: Contact; - /** Domain registration status. */ - registrationStatus?: - | "Active" - | "Awaiting" - | "Cancelled" - | "Confiscated" - | "Disabled" - | "Excluded" - | "Expired" - | "Failed" - | "Held" - | "Locked" - | "Parked" - | "Pending" - | "Reserved" - | "Reverted" - | "Suspended" - | "Transferred" - | "Unknown" - | "Unlocked" - | "Unparked" - | "Updated" - | "JsonConverterFailed"; - /** Domain provisioning state. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - /** Name servers. */ - nameServers?: Array; /** true if domain privacy is enabled for this domain; otherwise, false. */ privacy?: boolean; - /** Domain creation timestamp. */ - createdTime?: Date | string; - /** Domain expiration timestamp. */ - expirationTime?: Date | string; - /** Timestamp when the domain was renewed last time. */ - lastRenewedTime?: Date | string; /** true if the domain should be automatically renewed; otherwise, false. */ autoRenew?: boolean; - /** - * true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and - * it is hosted on name servers Azure has programmatic access to. - */ - readyForDnsRecordManagement?: boolean; - /** All hostnames derived from the domain and assigned to Azure resources. */ - managedHostNames?: Array; /** Legal agreement consent. */ consent: DomainPurchaseConsent; - /** Reasons why domain is not renewable. */ - domainNotRenewableReasons?: Array< - | "RegistrationStatusNotSupportedForRenewal" - | "ExpirationNotInRenewalTimeRange" - | "SubscriptionNotActive" - >; /** Current DNS type */ dnsType?: "AzureDns" | "DefaultDomainRegistrarDns"; /** Azure DNS Zone to use */ @@ -653,26 +433,31 @@ export interface DomainPatchResourceProperties { authCode?: string; } +/** Domain ownership Identifier. */ export interface DomainOwnershipIdentifier extends ProxyOnlyResource { /** DomainOwnershipIdentifier resource specific properties */ properties?: DomainOwnershipIdentifierProperties; } +/** DomainOwnershipIdentifier resource specific properties */ export interface DomainOwnershipIdentifierProperties { /** Ownership Id. */ ownershipId?: string; } +/** A top level domain object. */ export interface TopLevelDomain extends ProxyOnlyResource { /** TopLevelDomain resource specific properties */ properties?: TopLevelDomainProperties; } +/** TopLevelDomain resource specific properties */ export interface TopLevelDomainProperties { /** If true, then the top level domain supports domain privacy; otherwise, false. */ privacy?: boolean; } +/** Options for retrieving the list of top level domain legal agreements. */ export interface TopLevelDomainAgreementOption { /** If true, then the list of agreements will include agreements for domain privacy as well; otherwise, false. */ includePrivacy?: boolean; @@ -680,60 +465,45 @@ export interface TopLevelDomainAgreementOption { forTransfer?: boolean; } +/** App Service Environment ARM resource. */ export interface AppServiceEnvironmentResource extends Resource { /** Core resource properties */ properties?: AppServiceEnvironment; } +/** Description of an App Service Environment. */ export interface AppServiceEnvironment { - /** Provisioning state of the App Service Environment. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; - /** Current status of the App Service Environment. */ - status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; /** Description of the Virtual Network. */ virtualNetwork: VirtualNetworkProfile; /** Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. */ internalLoadBalancingMode?: "None" | "Web" | "Publishing" | "Web, Publishing"; /** Front-end VM size, e.g. "Medium", "Large". */ multiSize?: string; - /** Number of front-end instances. */ - multiRoleCount?: number; /** Number of IP SSL addresses reserved for the App Service Environment. */ ipsslAddressCount?: number; /** DNS suffix of the App Service Environment. */ dnsSuffix?: string; - /** Maximum number of VMs in the App Service Environment. */ - maximumNumberOfMachines?: number; /** Scale factor for front-ends. */ frontEndScaleFactor?: number; - /** - * true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available - * (most likely because NSG blocked the incoming traffic). - */ - suspended?: boolean; /** Custom settings for changing the behavior of the App Service Environment. */ clusterSettings?: Array; /** User added ip ranges to whitelist on ASE db */ userWhitelistedIpRanges?: Array; - /** Flag that displays whether an ASE has linux workers or not */ - hasLinuxWorkers?: boolean; /** Dedicated Host Count */ dedicatedHostCount?: number; /** Whether or not this App Service Environment is zone-redundant. */ zoneRedundant?: boolean; } +/** Specification for using a Virtual Network. */ export interface VirtualNetworkProfile { /** Resource id of the Virtual Network. */ id: string; - /** Name of the Virtual Network (read-only). */ - name?: string; - /** Resource type of the Virtual Network (read-only). */ - type?: string; /** Subnet within the Virtual Network. */ subnet?: string; } +/** Name value pair. */ export interface NameValuePair { /** Pair name. */ name?: string; @@ -741,16 +511,19 @@ export interface NameValuePair { value?: string; } +/** ARM resource for a app service environment. */ export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource { /** Core resource properties */ properties?: AppServiceEnvironment; } +/** Describes main public IP address and any extra virtual IPs. */ export interface AddressResponse extends ProxyOnlyResource { /** AddressResponse resource specific properties */ properties?: AddressResponseProperties; } +/** AddressResponse resource specific properties */ export interface AddressResponseProperties { /** Main public virtual IP. */ serviceIpAddress?: string; @@ -762,6 +535,7 @@ export interface AddressResponseProperties { vipMappings?: Array; } +/** Virtual IP mapping. */ export interface VirtualIPMapping { /** Virtual IP address. */ virtualIP?: string; @@ -775,6 +549,7 @@ export interface VirtualIPMapping { serviceName?: string; } +/** A web app, a mobile app backend, or an API app. */ export interface Site extends Resource { /** Site resource specific properties */ properties?: SiteProperties; @@ -784,24 +559,10 @@ export interface Site extends Resource { extendedLocation?: ExtendedLocation; } +/** Site resource specific properties */ export interface SiteProperties { - /** Current state of the app. */ - state?: string; - /** Hostnames associated with the app. */ - hostNames?: Array; - /** Name of the repository site. */ - repositorySiteName?: string; - /** State indicating whether the app has exceeded its quota usage. Read-only. */ - usageState?: "Normal" | "Exceeded"; /** true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). */ enabled?: boolean; - /** - * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, - * the app is not served on those hostnames. - */ - enabledHostNames?: Array; - /** Management information availability state for the app. */ - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; /** Hostname SSL states are used to manage the SSL bindings for app's hostnames. */ hostNameSslStates?: Array; /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ @@ -812,16 +573,10 @@ export interface SiteProperties { isXenon?: boolean; /** Hyper-V sandbox. */ hyperV?: boolean; - /** Last time the app was modified, in UTC. Read-only. */ - lastModifiedTimeUtc?: Date | string; /** Configuration of the app. */ siteConfig?: SiteConfig; - /** Azure Traffic Manager hostnames associated with the app. Read-only. */ - trafficManagerHostNames?: Array; /** true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. */ scmSiteAlsoStopped?: boolean; - /** Specifies which deployment slot this app will swap into. Read-only. */ - targetSwapSlot?: string; /** App Service Environment to use for the app. */ hostingEnvironmentProfile?: HostingEnvironmentProfile; /** true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true. */ @@ -844,31 +599,12 @@ export interface SiteProperties { hostNamesDisabled?: boolean; /** Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. */ customDomainVerificationId?: string; - /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. */ - outboundIpAddresses?: string; - /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only. */ - possibleOutboundIpAddresses?: string; /** Size of the function container. */ containerSize?: number; /** Maximum allowed daily memory-time quota (applicable on dynamic apps only). */ dailyMemoryTimeQuota?: number; - /** App suspended till in case memory-time quota is exceeded. */ - suspendedTill?: Date | string; - /** - * Maximum number of workers. - * This only applies to Functions container. - */ - maxNumberOfWorkers?: number; /** If specified during app creation, the app is cloned from a source app. */ cloningInfo?: CloningInfo; - /** Name of the resource group the app belongs to. Read-only. */ - resourceGroup?: string; - /** true if the app is a default container; otherwise, false. */ - isDefaultContainer?: boolean; - /** Default hostname of the app. Read-only. */ - defaultHostName?: string; - /** Status of the last deployment slot swap operation. */ - slotSwapStatus?: SlotSwapStatus; /** * HttpsOnly: configures a web site to accept only https requests. Issues redirect for * http requests @@ -876,12 +612,6 @@ export interface SiteProperties { httpsOnly?: boolean; /** Site redundancy mode */ redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - /** - * Specifies an operation id if this site has a pending operation. - * - * Value may contain a UUID - */ - inProgressOperationId?: string; /** Checks if Customer provided storage account is required */ storageAccountRequired?: boolean; /** Identity to use for Key Vault Reference authentication. */ @@ -893,6 +623,7 @@ export interface SiteProperties { virtualNetworkSubnetId?: string; } +/** SSL-enabled hostname. */ export interface HostNameSslState { /** Hostname. */ name?: string; @@ -908,6 +639,7 @@ export interface HostNameSslState { hostType?: "Standard" | "Repository"; } +/** Configuration of an App Service app. */ export interface SiteConfig { /** Number of workers. */ numberOfWorkers?: number; @@ -951,8 +683,6 @@ export interface SiteConfig { appSettings?: Array; /** Connection strings. */ connectionStrings?: Array; - /** Site MachineKey. */ - machineKey?: SiteMachineKey; /** Handler mappings. */ handlerMappings?: Array; /** Document root. */ @@ -1078,6 +808,7 @@ export interface SiteConfig { publicNetworkAccess?: string; } +/** Database connection string information. */ export interface ConnStringInfo { /** Name of connection string. */ name?: string; @@ -1098,6 +829,7 @@ export interface ConnStringInfo { | "PostgreSQL"; } +/** MachineKey of an app. */ export interface SiteMachineKey { /** MachineKey validation. */ validation?: string; @@ -1109,6 +841,10 @@ export interface SiteMachineKey { decryptionKey?: string; } +/** + * The IIS handler mappings used to define which handler processes HTTP requests with certain extension. + * For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension. + */ export interface HandlerMapping { /** Requests with this extension will be handled using the specified FastCGI application. */ extension?: string; @@ -1118,6 +854,7 @@ export interface HandlerMapping { arguments?: string; } +/** Virtual application in an app. */ export interface VirtualApplication { /** Virtual path. */ virtualPath?: string; @@ -1129,6 +866,7 @@ export interface VirtualApplication { virtualDirectories?: Array; } +/** Directory for virtual application. */ export interface VirtualDirectory { /** Path to virtual application. */ virtualPath?: string; @@ -1136,11 +874,13 @@ export interface VirtualDirectory { physicalPath?: string; } +/** Routing rules in production experiments. */ export interface Experiments { /** List of ramp-up rules. */ rampUpRules?: Array; } +/** Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance. */ export interface RampUpRule { /** Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. */ actionHostName?: string; @@ -1167,6 +907,7 @@ export interface RampUpRule { name?: string; } +/** Metric limits set on an app. */ export interface SiteLimits { /** Maximum allowed CPU usage percentage. */ maxPercentageCpu?: number; @@ -1176,6 +917,7 @@ export interface SiteLimits { maxDiskSizeInMb?: number; } +/** Rules that can be defined for auto-heal. */ export interface AutoHealRules { /** Conditions that describe when to execute the auto-heal actions. */ triggers?: AutoHealTriggers; @@ -1183,6 +925,7 @@ export interface AutoHealRules { actions?: AutoHealActions; } +/** Triggers for auto-heal. */ export interface AutoHealTriggers { /** A rule based on total requests. */ requests?: RequestsBasedTrigger; @@ -1198,6 +941,7 @@ export interface AutoHealTriggers { statusCodesRange?: Array; } +/** Trigger based on total requests. */ export interface RequestsBasedTrigger { /** Request Count. */ count?: number; @@ -1205,6 +949,7 @@ export interface RequestsBasedTrigger { timeInterval?: string; } +/** Trigger based on status code. */ export interface StatusCodesBasedTrigger { /** HTTP status code. */ status?: number; @@ -1220,6 +965,7 @@ export interface StatusCodesBasedTrigger { path?: string; } +/** Trigger based on request execution time. */ export interface SlowRequestsBasedTrigger { /** Time taken. */ timeTaken?: string; @@ -1231,6 +977,7 @@ export interface SlowRequestsBasedTrigger { timeInterval?: string; } +/** Trigger based on range of status codes. */ export interface StatusCodesRangeBasedTrigger { /** HTTP status code. */ statusCodes?: string; @@ -1241,6 +988,7 @@ export interface StatusCodesRangeBasedTrigger { timeInterval?: string; } +/** Actions which to take by the auto-heal module when a rule is triggered. */ export interface AutoHealActions { /** Predefined action to be taken. */ actionType?: "Recycle" | "LogEvent" | "CustomAction"; @@ -1253,6 +1001,10 @@ export interface AutoHealActions { minProcessExecutionTime?: string; } +/** + * Custom action to be executed + * when an auto heal rule is triggered. + */ export interface AutoHealCustomAction { /** Executable to be run. */ exe?: string; @@ -1260,6 +1012,7 @@ export interface AutoHealCustomAction { parameters?: string; } +/** Cross-Origin Resource Sharing (CORS) settings for the app. */ export interface CorsSettings { /** * Gets or sets the list of origins that should be allowed to make cross-origin @@ -1274,11 +1027,13 @@ export interface CorsSettings { supportCredentials?: boolean; } +/** Push settings for the App. */ export interface PushSettings extends ProxyOnlyResource { /** PushSettings resource specific properties */ properties?: PushSettingsProperties; } +/** PushSettings resource specific properties */ export interface PushSettingsProperties { /** Gets or sets a flag indicating whether the Push endpoint is enabled. */ isPushEnabled: boolean; @@ -1295,16 +1050,19 @@ export interface PushSettingsProperties { dynamicTagsJson?: string; } +/** Information about the formal API definition for the app. */ export interface ApiDefinitionInfo { /** The URL of the API definition. */ url?: string; } +/** Azure API management (APIM) configuration linked to the app. */ export interface ApiManagementConfig { /** APIM-Api Identifier. */ id?: string; } +/** IP security restriction on an app. */ export interface IpSecurityRestriction { /** * IP address the security restriction is valid for. @@ -1352,6 +1110,7 @@ export interface IpSecurityRestriction { headers?: Record>; } +/** Azure Files or Blob Storage access information value for dictionary storage. */ export interface AzureStorageInfoValue { /** Type of storage. */ type?: "AzureFiles" | "AzureBlob"; @@ -1363,19 +1122,15 @@ export interface AzureStorageInfoValue { accessKey?: string; /** Path to mount the storage within the site's runtime environment. */ mountPath?: string; - /** State of the storage account. */ - state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; } +/** Specification for an App Service Environment to use for this resource. */ export interface HostingEnvironmentProfile { /** Resource ID of the App Service Environment. */ id?: string; - /** Name of the App Service Environment. */ - name?: string; - /** Resource type of the App Service Environment. */ - type?: string; } +/** Information needed for cloning operation. */ export interface CloningInfo { /** * Correlation ID of cloning operation. This ID ties multiple cloning operations @@ -1416,54 +1171,39 @@ export interface CloningInfo { trafficManagerProfileName?: string; } -export interface SlotSwapStatus { - /** The time the last successful slot swap completed. */ - timestampUtc?: Date | string; - /** The source slot of the last swap operation. */ - sourceSlotName?: string; - /** The destination slot of the last swap operation. */ - destinationSlotName?: string; -} +/** The status of the last successful slot swap operation. */ +export interface SlotSwapStatus {} +/** Managed service identity. */ export interface ManagedServiceIdentity { /** Type of managed service identity. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; - /** Tenant of managed service identity. */ - tenantId?: string; - /** Principal Id of managed service identity. */ - principalId?: string; /** The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} */ userAssignedIdentities?: Record; } -export interface UserAssignedIdentity { - /** Principal Id of user assigned identity */ - principalId?: string; - /** Client Id of user assigned identity */ - clientId?: string; -} +/** User Assigned identity. */ +export interface UserAssignedIdentity {} +/** Extended Location. */ export interface ExtendedLocation { /** Name of extended location. */ name?: string; - /** Type of extended location. */ - type?: string; } +/** Full view of networking configuration for an ASE. */ export interface AseV3NetworkingConfiguration extends ProxyOnlyResource { /** AseV3NetworkingConfiguration resource specific properties */ properties?: AseV3NetworkingConfigurationProperties; } +/** AseV3NetworkingConfiguration resource specific properties */ export interface AseV3NetworkingConfigurationProperties { - windowsOutboundIpAddresses?: Array; - linuxOutboundIpAddresses?: Array; - externalInboundIpAddresses?: Array; - internalInboundIpAddresses?: Array; /** Property to enable and disable new private endpoint connection creation on ASE */ allowNewPrivateEndpointConnections?: boolean; } +/** Worker pool of an App Service Environment ARM resource. */ export interface WorkerPoolResource extends ProxyOnlyResource { /** Core resource properties */ properties?: WorkerPool; @@ -1471,6 +1211,7 @@ export interface WorkerPoolResource extends ProxyOnlyResource { sku?: SkuDescription; } +/** Worker pool of an App Service Environment. */ export interface WorkerPool { /** Worker size ID for referencing this worker pool. */ workerSizeId?: number; @@ -1480,10 +1221,9 @@ export interface WorkerPool { workerSize?: string; /** Number of instances in the worker pool. */ workerCount?: number; - /** Names of all instances in the worker pool (read only). */ - instanceNames?: Array; } +/** Description of a SKU for a scalable resource. */ export interface SkuDescription { /** Name of the resource SKU. */ name?: string; @@ -1503,6 +1243,7 @@ export interface SkuDescription { capabilities?: Array; } +/** Description of the App Service plan scale options. */ export interface SkuCapacity { /** Minimum number of workers for this App Service plan SKU. */ minimum?: number; @@ -1516,6 +1257,7 @@ export interface SkuCapacity { scaleType?: string; } +/** Describes the capabilities/features allowed for a specific SKU. */ export interface Capability { /** Name of the SKU capability. */ name?: string; @@ -1525,55 +1267,28 @@ export interface Capability { reason?: string; } +/** Metadata for the metrics. */ export interface ResourceMetricDefinition extends ProxyOnlyResource { /** ResourceMetricDefinition resource specific properties */ properties?: ResourceMetricDefinitionProperties; } -export interface ResourceMetricDefinitionProperties { - /** Unit of the metric. */ - unit?: string; - /** Primary aggregation type. */ - primaryAggregationType?: string; - /** List of time grains supported for the metric together with retention period. */ - metricAvailabilities?: Array; - /** Resource URI. */ - resourceUri?: string; - /** Resource metric definition properties. */ - properties?: Record; -} +/** ResourceMetricDefinition resource specific properties */ +export interface ResourceMetricDefinitionProperties {} -export interface ResourceMetricAvailability { - /** Time grain . */ - timeGrain?: string; - /** Retention period for the current time grain. */ - retention?: string; -} +/** Metrics availability and retention. */ +export interface ResourceMetricAvailability {} +/** Usage of the quota resource. */ export interface Usage extends ProxyOnlyResource { /** Usage resource specific properties */ properties?: UsageProperties; } -export interface UsageProperties { - /** Friendly name shown in the UI. */ - displayName?: string; - /** Name of the quota resource. */ - resourceName?: string; - /** Units of measurement for the quota resource. */ - unit?: string; - /** The current value of the resource counter. */ - currentValue?: number; - /** The resource limit. */ - limit?: number; - /** Next reset time for the resource counter. */ - nextResetTime?: Date | string; - /** Compute mode used for this usage. */ - computeMode?: "Shared" | "Dedicated" | "Dynamic"; - /** Site mode used for this usage. */ - siteMode?: string; -} +/** Usage resource specific properties */ +export interface UsageProperties {} +/** Body of the error response returned from the API. */ export interface ErrorEntity { /** Type of error. */ extendedCode?: string; @@ -1593,13 +1308,14 @@ export interface ErrorEntity { message?: string; } +/** Remote Private Endpoint Connection ARM resource. */ export interface RemotePrivateEndpointConnectionARMResource extends ProxyOnlyResource { /** RemotePrivateEndpointConnectionARMResource resource specific properties */ properties?: RemotePrivateEndpointConnectionARMResourceProperties; } +/** RemotePrivateEndpointConnectionARMResource resource specific properties */ export interface RemotePrivateEndpointConnectionARMResourceProperties { - provisioningState?: string; /** PrivateEndpoint of a remote private endpoint connection */ privateEndpoint?: ArmIdWrapper; /** The state of a private link connection */ @@ -1608,10 +1324,10 @@ export interface RemotePrivateEndpointConnectionARMResourceProperties { ipAddresses?: Array; } -export interface ArmIdWrapper { - id?: string; -} +/** A wrapper for an ARM resource id */ +export interface ArmIdWrapper {} +/** The state of a private link connection */ export interface PrivateLinkConnectionState { /** Status of a private link connection */ status?: string; @@ -1621,16 +1337,19 @@ export interface PrivateLinkConnectionState { actionsRequired?: string; } +/** Private Endpoint Connection Approval ARM resource. */ export interface PrivateLinkConnectionApprovalRequestResource extends ProxyOnlyResource { /** Core resource properties */ properties?: PrivateLinkConnectionApprovalRequest; } +/** A request to approve or reject a private endpoint connection */ export interface PrivateLinkConnectionApprovalRequest { /** The state of a private link connection */ privateLinkServiceConnectionState?: PrivateLinkConnectionState; } +/** App Service plan. */ export interface AppServicePlan extends Resource { /** AppServicePlan resource specific properties */ properties?: AppServicePlanProperties; @@ -1640,19 +1359,12 @@ export interface AppServicePlan extends Resource { extendedLocation?: ExtendedLocation; } +/** AppServicePlan resource specific properties */ export interface AppServicePlanProperties { /** Target worker tier assigned to the App Service plan. */ workerTierName?: string; - /** App Service plan status. */ - status?: "Ready" | "Pending" | "Creating"; - /** App Service plan subscription. */ - subscription?: string; /** Specification for the App Service Environment to use for the App Service plan. */ hostingEnvironmentProfile?: HostingEnvironmentProfile; - /** Maximum number of instances that can be assigned to this App Service plan. */ - maximumNumberOfWorkers?: number; - /** Geographical location for the App Service plan. */ - geoRegion?: string; /** * If true, apps assigned to this App Service plan can be scaled independently. * If false, apps assigned to this App Service plan will scale to all instances of the plan. @@ -1662,16 +1374,12 @@ export interface AppServicePlanProperties { elasticScaleEnabled?: boolean; /** Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan */ maximumElasticWorkerCount?: number; - /** Number of apps assigned to this App Service plan. */ - numberOfSites?: number; /** If true, this App Service Plan owns spot instances. */ isSpot?: boolean; /** The time when the server farm expires. Valid only if it is a spot server farm. */ spotExpirationTime?: Date | string; /** The time when the server farm free offer expires. */ freeOfferExpirationTime?: Date | string; - /** Resource group of the App Service plan. */ - resourceGroup?: string; /** If Linux app service plan true, false otherwise. */ reserved?: boolean; /** Obsolete: If Hyper-V container app service plan true, false otherwise. */ @@ -1682,8 +1390,6 @@ export interface AppServicePlanProperties { targetWorkerCount?: number; /** Scaling worker size ID. */ targetWorkerSizeId?: number; - /** Provisioning state of the App Service Plan. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Specification for the Kubernetes Environment to use for the App Service plan. */ kubeEnvironmentProfile?: KubeEnvironmentProfile; /** @@ -1693,33 +1399,24 @@ export interface AppServicePlanProperties { zoneRedundant?: boolean; } +/** Specification for a Kubernetes Environment to use for this resource. */ export interface KubeEnvironmentProfile { /** Resource ID of the Kubernetes Environment. */ id?: string; - /** Name of the Kubernetes Environment. */ - name?: string; - /** Resource type of the Kubernetes Environment. */ - type?: string; } +/** ARM resource for a app service plan. */ export interface AppServicePlanPatchResource extends ProxyOnlyResource { /** AppServicePlanPatchResource resource specific properties */ properties?: AppServicePlanPatchResourceProperties; } +/** AppServicePlanPatchResource resource specific properties */ export interface AppServicePlanPatchResourceProperties { /** Target worker tier assigned to the App Service plan. */ workerTierName?: string; - /** App Service plan status. */ - status?: "Ready" | "Pending" | "Creating"; - /** App Service plan subscription. */ - subscription?: string; /** Specification for the App Service Environment to use for the App Service plan. */ hostingEnvironmentProfile?: HostingEnvironmentProfile; - /** Maximum number of instances that can be assigned to this App Service plan. */ - maximumNumberOfWorkers?: number; - /** Geographical location for the App Service plan. */ - geoRegion?: string; /** * If true, apps assigned to this App Service plan can be scaled independently. * If false, apps assigned to this App Service plan will scale to all instances of the plan. @@ -1729,16 +1426,12 @@ export interface AppServicePlanPatchResourceProperties { elasticScaleEnabled?: boolean; /** Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan */ maximumElasticWorkerCount?: number; - /** Number of apps assigned to this App Service plan. */ - numberOfSites?: number; /** If true, this App Service Plan owns spot instances. */ isSpot?: boolean; /** The time when the server farm expires. Valid only if it is a spot server farm. */ spotExpirationTime?: Date | string; /** The time when the server farm free offer expires. */ freeOfferExpirationTime?: Date | string; - /** Resource group of the App Service plan. */ - resourceGroup?: string; /** If Linux app service plan true, false otherwise. */ reserved?: boolean; /** Obsolete: If Hyper-V container app service plan true, false otherwise. */ @@ -1749,8 +1442,6 @@ export interface AppServicePlanPatchResourceProperties { targetWorkerCount?: number; /** Scaling worker size ID. */ targetWorkerSizeId?: number; - /** Provisioning state of the App Service Plan. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Specification for the Kubernetes Environment to use for the App Service plan. */ kubeEnvironmentProfile?: KubeEnvironmentProfile; /** @@ -1760,11 +1451,13 @@ export interface AppServicePlanPatchResourceProperties { zoneRedundant?: boolean; } +/** Hybrid Connection contract. This is used to configure a Hybrid Connection. */ export interface HybridConnection extends ProxyOnlyResource { /** HybridConnection resource specific properties */ properties?: HybridConnectionProperties; } +/** HybridConnection resource specific properties */ export interface HybridConnectionProperties { /** The name of the Service Bus namespace. */ serviceBusNamespace?: string; @@ -1787,60 +1480,52 @@ export interface HybridConnectionProperties { serviceBusSuffix?: string; } +/** Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection. */ export interface HybridConnectionKey extends ProxyOnlyResource { /** HybridConnectionKey resource specific properties */ properties?: HybridConnectionKeyProperties; } -export interface HybridConnectionKeyProperties { - /** The name of the send key. */ - sendKeyName?: string; - /** The value of the send key. */ - sendKeyValue?: string; -} +/** HybridConnectionKey resource specific properties */ +export interface HybridConnectionKeyProperties {} +/** Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections. */ export interface HybridConnectionLimits extends ProxyOnlyResource { /** HybridConnectionLimits resource specific properties */ properties?: HybridConnectionLimitsProperties; } -export interface HybridConnectionLimitsProperties { - /** The current number of Hybrid Connections. */ - current?: number; - /** The maximum number of Hybrid Connections allowed. */ - maximum?: number; -} +/** HybridConnectionLimits resource specific properties */ +export interface HybridConnectionLimitsProperties {} +/** Virtual Network information ARM resource. */ export interface VnetInfoResource extends ProxyOnlyResource { /** Core resource properties */ properties?: VnetInfo; } +/** Virtual Network information contract. */ export interface VnetInfo { /** The Virtual Network's resource ID. */ vnetResourceId?: string; - /** The client certificate thumbprint. */ - certThumbprint?: string; /** * A certificate file (.cer) blob containing the public key of the private key used to authenticate a * Point-To-Site VPN connection. */ certBlob?: string; - /** The routes that this Virtual Network connection uses. */ - routes?: Array; - /** true if a resync is required; otherwise, false. */ - resyncRequired?: boolean; /** DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. */ dnsServers?: string; /** Flag that is used to denote if this is VNET injection */ isSwift?: boolean; } +/** Virtual Network route contract used to pass routing information for a Virtual Network. */ export interface VnetRoute extends ProxyOnlyResource { /** VnetRoute resource specific properties */ properties?: VnetRouteProperties; } +/** VnetRoute resource specific properties */ export interface VnetRouteProperties { /** The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. */ startAddress?: string; @@ -1857,11 +1542,13 @@ export interface VnetRouteProperties { routeType?: "DEFAULT" | "INHERITED" | "STATIC"; } +/** The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package. */ export interface VnetGateway extends ProxyOnlyResource { /** VnetGateway resource specific properties */ properties?: VnetGatewayProperties; } +/** VnetGateway resource specific properties */ export interface VnetGatewayProperties { /** The Virtual Network name. */ vnetName?: string; @@ -1869,18 +1556,16 @@ export interface VnetGatewayProperties { vpnPackageUri: string; } +/** SSL certificate for an app. */ export interface Certificate extends Resource { /** Certificate resource specific properties */ properties?: CertificateProperties; } +/** Certificate resource specific properties */ export interface CertificateProperties { /** Certificate password. */ password?: string; - /** Friendly name of the certificate. */ - friendlyName?: string; - /** Subject name of the certificate. */ - subjectName?: string; /** Host names the certificate applies to. */ hostNames?: Array; /** @@ -1889,47 +1574,10 @@ export interface CertificateProperties { * Value may contain base64 encoded characters */ pfxBlob?: string; - /** App name. */ - siteName?: string; - /** Self link. */ - selfLink?: string; - /** Certificate issuer. */ - issuer?: string; - /** Certificate issue Date. */ - issueDate?: Date | string; - /** Certificate expiration date. */ - expirationDate?: Date | string; - /** Certificate thumbprint. */ - thumbprint?: string; - /** Is the certificate valid?. */ - valid?: boolean; - /** - * Raw bytes of .cer file - * - * Value may contain base64 encoded characters - */ - cerBlob?: string; - /** Public key hash. */ - publicKeyHash?: string; - /** Specification for the App Service Environment to use for the certificate. */ - hostingEnvironmentProfile?: HostingEnvironmentProfile; /** Key Vault Csm resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; - /** Status of the Key Vault secret. */ - keyVaultSecretStatus?: - | "Initialized" - | "WaitingOnCertificateOrder" - | "Succeeded" - | "CertificateOrderFailed" - | "OperationNotPermittedOnKeyVault" - | "AzureServiceUnauthorizedToAccessKeyVault" - | "KeyVaultDoesNotExist" - | "KeyVaultSecretDoesNotExist" - | "UnknownError" - | "ExternalPrivateKey" - | "Unknown"; /** 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 */ @@ -1938,18 +1586,16 @@ export interface CertificateProperties { domainValidationMethod?: string; } +/** ARM resource for a certificate. */ export interface CertificatePatchResource extends ProxyOnlyResource { /** CertificatePatchResource resource specific properties */ properties?: CertificatePatchResourceProperties; } +/** CertificatePatchResource resource specific properties */ export interface CertificatePatchResourceProperties { /** Certificate password. */ password?: string; - /** Friendly name of the certificate. */ - friendlyName?: string; - /** Subject name of the certificate. */ - subjectName?: string; /** Host names the certificate applies to. */ hostNames?: Array; /** @@ -1958,47 +1604,10 @@ export interface CertificatePatchResourceProperties { * Value may contain base64 encoded characters */ pfxBlob?: string; - /** App name. */ - siteName?: string; - /** Self link. */ - selfLink?: string; - /** Certificate issuer. */ - issuer?: string; - /** Certificate issue Date. */ - issueDate?: Date | string; - /** Certificate expiration date. */ - expirationDate?: Date | string; - /** Certificate thumbprint. */ - thumbprint?: string; - /** Is the certificate valid?. */ - valid?: boolean; - /** - * Raw bytes of .cer file - * - * Value may contain base64 encoded characters - */ - cerBlob?: string; - /** Public key hash. */ - publicKeyHash?: string; - /** Specification for the App Service Environment to use for the certificate. */ - hostingEnvironmentProfile?: HostingEnvironmentProfile; /** Key Vault Csm resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; - /** Status of the Key Vault secret. */ - keyVaultSecretStatus?: - | "Initialized" - | "WaitingOnCertificateOrder" - | "Succeeded" - | "CertificateOrderFailed" - | "OperationNotPermittedOnKeyVault" - | "AzureServiceUnauthorizedToAccessKeyVault" - | "KeyVaultDoesNotExist" - | "KeyVaultSecretDoesNotExist" - | "UnknownError" - | "ExternalPrivateKey" - | "Unknown"; /** 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 */ @@ -2007,26 +1616,23 @@ export interface CertificatePatchResourceProperties { domainValidationMethod?: string; } +/** Container App. */ export interface ContainerApp extends Resource { /** ContainerApp resource specific properties */ properties?: ContainerAppProperties; } +/** ContainerApp resource specific properties */ export interface ContainerAppProperties { - /** Provisioning state of the Container App. */ - provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; /** Resource ID of the Container App's KubeEnvironment. */ kubeEnvironmentId?: string; - /** Name of the latest revision of the Container App. */ - latestRevisionName?: string; - /** Fully Qualified Domain Name of the latest revision of the Container App. */ - latestRevisionFqdn?: string; /** Non versioned Container App configuration properties. */ configuration?: Configuration; /** Container App versioned application definition. */ template?: Template; } +/** 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?: Array; @@ -2041,6 +1647,7 @@ export interface Configuration { registries?: Array; } +/** Container App Secret. */ export interface Secret { /** Secret Name. */ name?: string; @@ -2048,9 +1655,8 @@ export interface Secret { value?: string; } +/** Container App Ingress configuration. */ export interface Ingress { - /** Hostname. */ - fqdn?: string; /** Bool indicating if app exposes an external http endpoint */ external?: boolean; /** Target Port in containers for traffic from ingress */ @@ -2062,6 +1668,7 @@ export interface Ingress { allowInsecure?: boolean; } +/** Traffic weight assigned to a revision */ export interface TrafficWeight { /** Name of a revision */ revisionName?: string; @@ -2071,6 +1678,7 @@ export interface TrafficWeight { latestRevision?: boolean; } +/** Container App Private Registry */ export interface RegistryCredentials { /** Container Registry Server */ server?: string; @@ -2080,6 +1688,11 @@ export interface RegistryCredentials { 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; @@ -2091,6 +1704,7 @@ export interface Template { dapr?: Dapr; } +/** Container App container definition. */ export interface Container { /** Container image tag. */ image?: string; @@ -2106,6 +1720,7 @@ export interface Container { resources?: ContainerResources; } +/** Container App container environment variable. */ export interface EnvironmentVar { /** Environment variable name. */ name?: string; @@ -2115,6 +1730,7 @@ export interface EnvironmentVar { secretRef?: string; } +/** Container App container resource requirements. */ export interface ContainerResources { /** Required CPU in cores, e.g. 0.5 */ cpu?: number; @@ -2122,6 +1738,7 @@ export interface ContainerResources { memory?: string; } +/** Container App scaling configurations. */ export interface Scale { /** Optional. Minimum number of container replicas. */ minReplicas?: number; @@ -2131,6 +1748,7 @@ export interface Scale { rules?: Array; } +/** Container App container scaling rule. */ export interface ScaleRule { /** Scale Rule Name */ name?: string; @@ -2142,6 +1760,7 @@ export interface ScaleRule { http?: HttpScaleRule; } +/** Container App container Azure Queue based scaling rule. */ export interface QueueScaleRule { /** Queue name. */ queueName?: string; @@ -2151,6 +1770,7 @@ export interface QueueScaleRule { auth?: Array; } +/** 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; @@ -2158,6 +1778,7 @@ export interface ScaleRuleAuth { triggerParameter?: string; } +/** Container App container Custom scaling rule. */ export interface CustomScaleRule { /** * Type of the custom scale rule @@ -2170,6 +1791,7 @@ export interface CustomScaleRule { auth?: Array; } +/** Container App container Custom scaling rule. */ export interface HttpScaleRule { /** Metadata properties to describe http scale rule. */ metadata?: Record; @@ -2177,6 +1799,7 @@ export interface HttpScaleRule { auth?: Array; } +/** Container App Dapr configuration. */ export interface Dapr { /** Boolean indicating if the Dapr side car is enabled */ enabled?: boolean; @@ -2188,6 +1811,7 @@ export interface Dapr { components?: Array; } +/** Dapr component configuration */ export interface DaprComponent { /** Component name */ name?: string; @@ -2199,6 +1823,7 @@ export interface DaprComponent { metadata?: Array; } +/** Container App Dapr component metadata. */ export interface DaprMetadata { /** Metadata property name. */ name?: string; @@ -2208,93 +1833,49 @@ export interface DaprMetadata { secretRef?: string; } +/** Container App Revision. */ export interface Revision extends Resource { /** Revision resource specific properties */ properties?: RevisionProperties; } -export interface RevisionProperties { - /** - * Timestamp describing when the revision was created - * by controller - */ - createdTime?: Date | string; - /** Fully qualified domain name of the revision */ - 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 - */ - template?: Template; - /** Boolean describing if the Revision is Active */ - active?: boolean; - /** Number of pods currently running for this revision */ - replicas?: number; - /** Traffic weight assigned to this revision */ - trafficWeight?: number; - /** Optional Field - Platform Error Message */ - provisioningError?: string; - /** Current health State of the revision */ - healthState?: "Healthy" | "Unhealthy" | "None"; - /** Current provisioning State of the revision */ - provisioningState?: - | "Provisioning" - | "Provisioned" - | "Failed" - | "Deprovisioning" - | "Deprovisioned"; -} +/** Revision resource specific properties */ +export interface RevisionProperties {} +/** A deleted app. */ export interface DeletedSite extends ProxyOnlyResource { /** DeletedSite resource specific properties */ properties?: DeletedSiteProperties; } -export interface DeletedSiteProperties { - /** Numeric id for the deleted site */ - deletedSiteId?: number; - /** Time in UTC when the app was deleted. */ - deletedTimestamp?: string; - /** Subscription containing the deleted site */ - subscription?: string; - /** ResourceGroup that contained the deleted site */ - resourceGroup?: string; - /** Name of the deleted site */ - deletedSiteName?: string; - /** Slot of the deleted site */ - slot?: string; - /** Kind of site that was deleted */ - kind?: string; - /** Geo Region of the deleted site */ - geoRegionName?: string; -} +/** DeletedSite resource specific properties */ +export interface DeletedSiteProperties {} +/** Class representing detector definition */ export interface DiagnosticCategory extends ProxyOnlyResource { /** DiagnosticCategory resource specific properties */ properties?: DiagnosticCategoryProperties; } -export interface DiagnosticCategoryProperties { - /** Description of the diagnostic category */ - description?: string; -} +/** DiagnosticCategory resource specific properties */ +export interface DiagnosticCategoryProperties {} +/** Definition of Analysis */ export interface AnalysisDefinition extends ProxyOnlyResource { /** AnalysisDefinition resource specific properties */ properties?: AnalysisDefinitionProperties; } -export interface AnalysisDefinitionProperties { - /** Description of the Analysis */ - description?: string; -} +/** AnalysisDefinition resource specific properties */ +export interface AnalysisDefinitionProperties {} +/** Class representing a diagnostic analysis done on an application */ export interface DiagnosticAnalysis extends ProxyOnlyResource { /** DiagnosticAnalysis resource specific properties */ properties?: DiagnosticAnalysisProperties; } +/** DiagnosticAnalysis resource specific properties */ export interface DiagnosticAnalysisProperties { /** Start time of the period */ startTime?: Date | string; @@ -2308,6 +1889,7 @@ export interface DiagnosticAnalysisProperties { nonCorrelatedDetectors?: Array; } +/** Class representing Abnormal Time Period identified in diagnosis */ export interface AbnormalTimePeriod { /** Start time of the downtime */ startTime?: Date | string; @@ -2319,6 +1901,7 @@ export interface AbnormalTimePeriod { solutions?: Array; } +/** Class representing Abnormal Time Period detected. */ export interface DetectorAbnormalTimePeriod { /** Start time of the correlated event */ startTime?: Date | string; @@ -2346,6 +1929,7 @@ export interface DetectorAbnormalTimePeriod { solutions?: Array; } +/** Class Representing Solution for problems detected. */ export interface Solution { /** Solution Id. */ id?: number; @@ -2363,6 +1947,7 @@ export interface Solution { metadata?: Array>; } +/** Class Representing Detector Evidence used for analysis */ export interface AnalysisData { /** Name of the Detector */ source?: string; @@ -2376,17 +1961,10 @@ export interface AnalysisData { detectorMetaData?: ResponseMetaData; } -export interface DetectorDefinition { - /** Display name of the detector */ - displayName?: string; - /** Description of the detector */ - description?: string; - /** Detector Rank */ - rank?: number; - /** Flag representing whether detector is enabled or not. */ - isEnabled?: boolean; -} +/** Class representing detector definition */ +export interface DetectorDefinition {} +/** Class representing Diagnostic Metric information */ export interface DiagnosticMetricSet { /** Name of the metric */ name?: string; @@ -2402,6 +1980,7 @@ export interface DiagnosticMetricSet { values?: Array; } +/** Class representing Diagnostic Metric */ export interface DiagnosticMetricSample { /** Time at which metric is measured */ timestamp?: Date | string; @@ -2427,6 +2006,7 @@ export interface ResponseMetaData { dataSource?: DataSource; } +/** Class representing data source used by the detectors */ export interface DataSource { /** Instructions if any for the data source */ instructions?: Array; @@ -2434,16 +2014,19 @@ export interface DataSource { dataSourceUri?: Array; } +/** ARM resource for a detector definition */ export interface DetectorDefinitionResource extends ProxyOnlyResource { /** Core resource properties */ properties?: DetectorDefinition; } +/** Class representing Response from Diagnostic Detectors */ export interface DiagnosticDetectorResponse extends ProxyOnlyResource { /** DiagnosticDetectorResponse resource specific properties */ properties?: DiagnosticDetectorResponseProperties; } +/** DiagnosticDetectorResponse resource specific properties */ export interface DiagnosticDetectorResponseProperties { /** Start time of the period */ startTime?: Date | string; @@ -2463,16 +2046,16 @@ export interface DiagnosticDetectorResponseProperties { responseMetaData?: ResponseMetaData; } +/** A snapshot of an app. */ export interface Snapshot extends ProxyOnlyResource { /** Snapshot resource specific properties */ properties?: SnapshotProperties; } -export interface SnapshotProperties { - /** The time the snapshot was taken. */ - time?: string; -} +/** Snapshot resource specific properties */ +export interface SnapshotProperties {} +/** A Kubernetes cluster specialized for web workloads by Azure App Service */ export interface KubeEnvironment extends Resource { /** KubeEnvironment resource specific properties */ properties?: KubeEnvironmentProperties; @@ -2480,25 +2063,10 @@ export interface KubeEnvironment extends Resource { extendedLocation?: ExtendedLocation; } +/** KubeEnvironment resource specific properties */ export interface KubeEnvironmentProperties { - /** Provisioning state of the Kubernetes Environment. */ - provisioningState?: - | "Succeeded" - | "Failed" - | "Canceled" - | "Waiting" - | "InitializationInProgress" - | "InfrastructureSetupInProgress" - | "InfrastructureSetupComplete" - | "ScheduledForDelete" - | "UpgradeRequested" - | "UpgradeFailed"; - /** Any errors that occurred during deployment or deployment validation */ - deploymentErrors?: string; /** Only visible within Vnet/Subnet */ internalLoadBalancerEnabled?: boolean; - /** Default Domain Name for the cluster */ - defaultDomain?: string; /** Static IP of the KubeEnvironment */ staticIp?: string; /** Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed */ @@ -2559,30 +2127,16 @@ export interface ContainerAppsConfiguration { dockerBridgeCidr?: string; } +/** ARM resource for a KubeEnvironment when patching */ export interface KubeEnvironmentPatchResource extends ProxyOnlyResource { /** KubeEnvironmentPatchResource resource specific properties */ properties?: KubeEnvironmentPatchResourceProperties; } +/** KubeEnvironmentPatchResource resource specific properties */ export interface KubeEnvironmentPatchResourceProperties { - /** Provisioning state of the Kubernetes Environment. */ - provisioningState?: - | "Succeeded" - | "Failed" - | "Canceled" - | "Waiting" - | "InitializationInProgress" - | "InfrastructureSetupInProgress" - | "InfrastructureSetupComplete" - | "ScheduledForDelete" - | "UpgradeRequested" - | "UpgradeFailed"; - /** Any errors that occurred during deployment or deployment validation */ - deploymentErrors?: string; /** Only visible within Vnet/Subnet */ internalLoadBalancerEnabled?: boolean; - /** Default Domain Name for the cluster */ - defaultDomain?: string; /** Static IP of the KubeEnvironment */ staticIp?: string; /** @@ -2602,11 +2156,13 @@ export interface KubeEnvironmentPatchResourceProperties { aksResourceID?: string; } +/** ARM resource for a ApplicationStack. */ export interface ApplicationStackResource extends ProxyOnlyResource { /** Core resource properties */ properties?: ApplicationStack; } +/** Application stack. */ export interface ApplicationStack { /** Application stack name. */ name?: string; @@ -2622,6 +2178,7 @@ export interface ApplicationStack { isDeprecated?: Array; } +/** Application stack major version. */ export interface StackMajorVersion { /** Application stack major version (display only). */ displayVersion?: string; @@ -2655,6 +2212,7 @@ export interface StackMajorVersion { siteConfigPropertiesDictionary?: Record>; } +/** Application stack minor version. */ export interface StackMinorVersion { /** Application stack minor version (display only). */ displayVersion?: string; @@ -2666,218 +2224,70 @@ export interface StackMinorVersion { isRemoteDebuggingEnabled?: boolean; } +/** Function App Stack. */ export interface FunctionAppStack extends ProxyOnlyResource { - /** Function App stack location. */ - location?: string; /** FunctionAppStack resource specific properties */ properties?: FunctionAppStackProperties; } -export interface FunctionAppStackProperties { - /** Function App stack (display only). */ - displayText?: string; - /** Function App stack name. */ - value?: string; - /** List of major versions available. */ - majorVersions?: Array; - /** Function App stack preferred OS. */ - preferredOs?: "Windows" | "Linux"; -} +/** FunctionAppStack resource specific properties */ +export interface FunctionAppStackProperties {} -export interface FunctionAppMajorVersion { - /** Function App stack major version (display only). */ - displayText?: string; - /** Function App stack major version name. */ - value?: string; - /** Minor versions associated with the major version. */ - minorVersions?: Array; -} +/** Function App stack major version. */ +export interface FunctionAppMajorVersion {} -export interface FunctionAppMinorVersion { - /** Function App stack (display only). */ - displayText?: string; - /** Function App stack name. */ - value?: string; - /** Settings associated with the minor version. */ - stackSettings?: FunctionAppRuntimes; -} +/** Function App stack minor version. */ +export interface FunctionAppMinorVersion {} -export interface FunctionAppRuntimes { - /** Linux-specific settings associated with the minor version. */ - linuxRuntimeSettings?: FunctionAppRuntimeSettings; - /** Windows-specific settings associated with the minor version. */ - windowsRuntimeSettings?: FunctionAppRuntimeSettings; -} +/** Function App stack runtimes. */ +export interface FunctionAppRuntimes {} -export interface FunctionAppRuntimeSettings { - /** Function App stack minor version (runtime only). */ - runtimeVersion?: string; - /** true if remote debugging is supported for the stack; otherwise, false. */ - remoteDebuggingSupported?: boolean; - /** Application Insights settings associated with the minor version. */ - appInsightsSettings?: AppInsightsWebAppStackSettings; - /** GitHub Actions settings associated with the minor version. */ - gitHubActionSettings?: GitHubActionWebAppStackSettings; - /** Application settings associated with the minor version. */ - appSettingsDictionary?: Record; - /** Configuration settings associated with the minor version. */ - siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionary; - /** List of supported Functions extension versions. */ - supportedFunctionsExtensionVersions?: Array; - /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; - /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; - /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; - /** End-of-life date for the minor version. */ - endOfLifeDate?: Date | string; - /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; - /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; - /** true if the minor version the default; otherwise, false. */ - isDefault?: boolean; -} +/** Function App runtime settings. */ +export interface FunctionAppRuntimeSettings {} -export interface AppInsightsWebAppStackSettings { - /** true if remote Application Insights is supported for the stack; otherwise, false. */ - isSupported?: boolean; - /** true if Application Insights is disabled by default for the stack; otherwise, false. */ - isDefaultOff?: boolean; -} +/** App Insights Web App stack settings. */ +export interface AppInsightsWebAppStackSettings {} -export interface GitHubActionWebAppStackSettings { - /** true if GitHub Actions is supported for the stack; otherwise, false. */ - isSupported?: boolean; - /** The minor version that is supported for GitHub Actions. */ - supportedVersion?: string; -} +/** GitHub Actions Web App stack settings. */ +export interface GitHubActionWebAppStackSettings {} -export interface SiteConfigPropertiesDictionary { - /** true if use32BitWorkerProcess should be set to true for the stack; otherwise, false. */ - use32BitWorkerProcess?: boolean; - /** LinuxFxVersion configuration setting. */ - linuxFxVersion?: string; - /** JavaVersion configuration setting. */ - javaVersion?: string; - /** PowerShellVersion configuration setting. */ - powerShellVersion?: string; -} +/** Site config properties dictionary. */ +export interface SiteConfigPropertiesDictionary {} +/** Web App stack. */ export interface WebAppStack extends ProxyOnlyResource { - /** Web App stack location. */ - location?: string; /** WebAppStack resource specific properties */ properties?: WebAppStackProperties; } -export interface WebAppStackProperties { - /** Web App stack (display only). */ - displayText?: string; - /** Web App stack name. */ - value?: string; - /** List of major versions available. */ - majorVersions?: Array; - /** Web App stack preferred OS. */ - preferredOs?: "Windows" | "Linux"; -} +/** WebAppStack resource specific properties */ +export interface WebAppStackProperties {} -export interface WebAppMajorVersion { - /** Web App stack major version (display only). */ - displayText?: string; - /** Web App stack major version name. */ - value?: string; - /** Minor versions associated with the major version. */ - minorVersions?: Array; -} +/** Web App stack major version. */ +export interface WebAppMajorVersion {} -export interface WebAppMinorVersion { - /** Web App stack minor version (display only). */ - displayText?: string; - /** Web App stack major version name. */ - value?: string; - /** Settings associated with the minor version. */ - stackSettings?: WebAppRuntimes; -} +/** Web App stack minor version. */ +export interface WebAppMinorVersion {} -export interface WebAppRuntimes { - /** Linux-specific settings associated with the minor version. */ - linuxRuntimeSettings?: WebAppRuntimeSettings; - /** Windows-specific settings associated with the minor version. */ - windowsRuntimeSettings?: WebAppRuntimeSettings; - /** Linux-specific settings associated with the Java container minor version. */ - linuxContainerSettings?: LinuxJavaContainerSettings; - /** Windows-specific settings associated with the Java container minor version. */ - windowsContainerSettings?: WindowsJavaContainerSettings; -} +/** Web App stack runtimes. */ +export interface WebAppRuntimes {} -export interface WebAppRuntimeSettings { - /** Web App stack minor version (runtime only). */ - runtimeVersion?: string; - /** true if remote debugging is supported for the stack; otherwise, false. */ - remoteDebuggingSupported?: boolean; - /** Application Insights settings associated with the minor version. */ - appInsightsSettings?: AppInsightsWebAppStackSettings; - /** GitHub Actions settings associated with the minor version. */ - gitHubActionSettings?: GitHubActionWebAppStackSettings; - /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; - /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; - /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; - /** End-of-life date for the minor version. */ - endOfLifeDate?: Date | string; - /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; - /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; -} - -export interface LinuxJavaContainerSettings { - /** Java 11 version (runtime only). */ - java11Runtime?: string; - /** Java 8 version (runtime only). */ - java8Runtime?: string; - /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; - /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; - /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; - /** End-of-life date for the minor version. */ - endOfLifeDate?: Date | string; - /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; - /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; -} +/** Web App runtime settings. */ +export interface WebAppRuntimeSettings {} -export interface WindowsJavaContainerSettings { - /** Java container (runtime only). */ - javaContainer?: string; - /** Java container version (runtime only). */ - javaContainerVersion?: string; - /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; - /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; - /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; - /** End-of-life date for the minor version. */ - endOfLifeDate?: Date | string; - /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; - /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; -} +/** Linux Java Container settings. */ +export interface LinuxJavaContainerSettings {} +/** Windows Java Container settings. */ +export interface WindowsJavaContainerSettings {} + +/** Represents a recommendation result generated by the recommendation engine. */ export interface Recommendation extends ProxyOnlyResource { /** Recommendation resource specific properties */ properties?: RecommendationProperties; } +/** Recommendation resource specific properties */ export interface RecommendationProperties { /** Timestamp when this instance was created. */ creationTime?: Date | string; @@ -2901,8 +2311,6 @@ export interface RecommendationProperties { level?: "Critical" | "Warning" | "Information" | "NonUrgentSuggestion"; /** List of channels that this recommendation can apply. */ channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; - /** The list of category tags that this recommendation belongs to. */ - categoryTags?: Array; /** Name of action recommended by this object. */ actionName?: string; /** True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. */ @@ -2931,11 +2339,13 @@ export interface RecommendationProperties { forwardLink?: string; } +/** Represents a recommendation rule that the recommendation engine can perform. */ export interface RecommendationRule extends ProxyOnlyResource { /** RecommendationRule resource specific properties */ properties?: RecommendationRuleProperties; } +/** RecommendationRule resource specific properties */ export interface RecommendationRuleProperties { /** Unique name of the rule. */ recommendationName?: string; @@ -2958,8 +2368,6 @@ export interface RecommendationRuleProperties { level?: "Critical" | "Warning" | "Information" | "NonUrgentSuggestion"; /** List of available channels that this rule applies. */ channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; - /** The list of category tags that this recommendation rule belongs to. */ - categoryTags?: Array; /** True if this is associated with a dynamically added rule */ isDynamic?: boolean; /** Extension name of the portal if exists. Applicable to dynamic rule only. */ @@ -2970,11 +2378,13 @@ export interface RecommendationRuleProperties { forwardLink?: string; } +/** Used for getting ResourceHealthCheck settings. */ export interface ResourceHealthMetadata extends ProxyOnlyResource { /** ResourceHealthMetadata resource specific properties */ properties?: ResourceHealthMetadataProperties; } +/** ResourceHealthMetadata resource specific properties */ export interface ResourceHealthMetadataProperties { /** The category that the resource matches in the RHC Policy File */ category?: string; @@ -2982,11 +2392,13 @@ export interface ResourceHealthMetadataProperties { signalAvailability?: boolean; } +/** User credentials used for publishing activity. */ export interface User extends ProxyOnlyResource { /** User resource specific properties */ properties?: UserProperties; } +/** User resource specific properties */ export interface UserProperties { /** Username used for publishing. */ publishingUserName: string; @@ -3012,11 +2424,13 @@ export interface UserProperties { scmUri?: string; } +/** The source control OAuth token. */ export interface SourceControl extends ProxyOnlyResource { /** SourceControl resource specific properties */ properties?: SourceControlProperties; } +/** SourceControl resource specific properties */ export interface SourceControlProperties { /** OAuth access token. */ token?: string; @@ -3028,11 +2442,13 @@ export interface SourceControlProperties { expirationTime?: Date | string; } +/** App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services. */ export interface BillingMeter extends ProxyOnlyResource { /** BillingMeter resource specific properties */ properties?: BillingMeterProperties; } +/** BillingMeter resource specific properties */ export interface BillingMeterProperties { /** Meter GUID onboarded in Commerce */ meterId?: string; @@ -3050,6 +2466,7 @@ export interface BillingMeterProperties { multiplier?: number; } +/** Resource name availability request content. */ export interface ResourceNameAvailabilityRequest { /** Resource name to verify. */ name: string; @@ -3067,46 +2484,47 @@ export interface ResourceNameAvailabilityRequest { isFqdn?: boolean; } +/** A hostname and its assigned sites */ export interface CustomHostnameSites extends ProxyOnlyResource { /** CustomHostnameSites resource specific properties */ properties?: CustomHostnameSitesProperties; } +/** CustomHostnameSites resource specific properties */ export interface CustomHostnameSitesProperties { customHostname?: string; region?: string; siteResourceIds?: Array; } +/** A domain specific resource identifier. */ export interface Identifier extends ProxyOnlyResource { /** Identifier resource specific properties */ properties?: IdentifierProperties; } +/** Identifier resource specific properties */ export interface IdentifierProperties { /** String representation of the identity. */ id?: string; } +/** Geographical region. */ export interface GeoRegion extends ProxyOnlyResource { /** GeoRegion resource specific properties */ properties?: GeoRegionProperties; } -export interface GeoRegionProperties { - /** Region description. */ - description?: string; - /** Display name for region. */ - displayName?: string; - /** Display name for region. */ - orgDomain?: string; -} +/** GeoRegion resource specific properties */ +export interface GeoRegionProperties {} +/** Premier add-on offer. */ export interface PremierAddOnOffer extends ProxyOnlyResource { /** PremierAddOnOffer resource specific properties */ properties?: PremierAddOnOfferProperties; } +/** PremierAddOnOffer resource specific properties */ export interface PremierAddOnOfferProperties { /** Premier add on SKU. */ sku?: string; @@ -3130,11 +2548,13 @@ export interface PremierAddOnOfferProperties { marketplaceOffer?: string; } +/** The required set of inputs to validate a VNET */ export interface VnetParameters extends ProxyOnlyResource { /** VnetParameters resource specific properties */ properties?: VnetParametersProperties; } +/** VnetParameters resource specific properties */ export interface VnetParametersProperties { /** The Resource Group of the VNET to be validated */ vnetResourceGroup?: string; @@ -3146,11 +2566,13 @@ export interface VnetParametersProperties { subnetResourceId?: string; } +/** A class that describes the reason for a validation failure. */ export interface VnetValidationFailureDetails extends ProxyOnlyResource { /** VnetValidationFailureDetails resource specific properties */ properties?: VnetValidationFailureDetailsProperties; } +/** VnetValidationFailureDetails resource specific properties */ export interface VnetValidationFailureDetailsProperties { /** Text describing the validation outcome. */ message?: string; @@ -3162,11 +2584,13 @@ export interface VnetValidationFailureDetailsProperties { warnings?: Array; } +/** A class that describes a test that failed during NSG and UDR validation. */ export interface VnetValidationTestFailure extends ProxyOnlyResource { /** VnetValidationTestFailure resource specific properties */ properties?: VnetValidationTestFailureProperties; } +/** VnetValidationTestFailure resource specific properties */ export interface VnetValidationTestFailureProperties { /** The name of the test that failed. */ testName?: string; @@ -3174,11 +2598,13 @@ export interface VnetValidationTestFailureProperties { details?: string; } +/** Object with a list of the resources that need to be moved and the resource group they should be moved to. */ export interface CsmMoveResourceEnvelope { targetResourceGroup?: string; resources?: Array; } +/** Resource validation request content. */ export interface ValidateRequest { /** Resource name to verify. */ name: string; @@ -3190,6 +2616,7 @@ export interface ValidateRequest { properties: ValidateProperties; } +/** App properties used for validation. */ export interface ValidateProperties { /** ARM resource ID of an App Service plan that would host the app. */ serverFarmId?: string; @@ -3221,11 +2648,13 @@ export interface ValidateProperties { appServiceEnvironment?: AppServiceEnvironment; } +/** Request entity for previewing the Static Site workflow */ export interface StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource { /** StaticSitesWorkflowPreviewRequest resource specific properties */ properties?: StaticSitesWorkflowPreviewRequestProperties; } +/** StaticSitesWorkflowPreviewRequest resource specific properties */ export interface StaticSitesWorkflowPreviewRequestProperties { /** URL for the repository of the static site. */ repositoryUrl?: string; @@ -3235,6 +2664,7 @@ export interface StaticSitesWorkflowPreviewRequestProperties { buildProperties?: StaticSiteBuildProperties; } +/** Build properties for the static site. */ export interface StaticSiteBuildProperties { /** The path to the app code within the repository. */ appLocation?: string; @@ -3254,18 +2684,16 @@ export interface StaticSiteBuildProperties { githubActionSecretNameOverride?: string; } +/** Preview for the Static Site Workflow to be generated */ export interface StaticSitesWorkflowPreview extends ProxyOnlyResource { /** StaticSitesWorkflowPreview resource specific properties */ properties?: StaticSitesWorkflowPreviewProperties; } -export interface StaticSitesWorkflowPreviewProperties { - /** The path for the workflow file to be generated */ - path?: string; - /** The contents for the workflow file to be generated */ - contents?: string; -} +/** StaticSitesWorkflowPreview resource specific properties */ +export interface StaticSitesWorkflowPreviewProperties {} +/** Static Site ARM resource. */ export interface StaticSiteARMResource extends Resource { /** Core resource properties */ properties?: StaticSite; @@ -3275,39 +2703,29 @@ export interface StaticSiteARMResource extends Resource { identity?: ManagedServiceIdentity; } +/** A static site. */ export interface StaticSite { - /** The default autogenerated hostname for the static site. */ - defaultHostname?: string; /** URL for the repository of the static site. */ repositoryUrl?: string; /** The target branch in the repository. */ branch?: string; - /** The custom domains associated with this static site. */ - customDomains?: Array; /** A user's github repository token. This is used to setup the Github Actions workflow file and API secrets. */ repositoryToken?: string; /** Build properties to configure on the repository. */ buildProperties?: StaticSiteBuildProperties; - /** Private endpoint connections */ - privateEndpointConnections?: Array; /** State indicating whether staging environments are allowed or not allowed for a static web app. */ stagingEnvironmentPolicy?: "Enabled" | "Disabled"; /** false if config file is locked for this static web app; otherwise, true. */ allowConfigFileUpdates?: boolean; /** Template options for generating a new repository. */ templateProperties?: StaticSiteTemplateOptions; - /** The content distribution endpoint for the static site. */ - contentDistributionEndpoint?: string; - /** Identity to use for Key Vault Reference authentication. */ - keyVaultReferenceIdentity?: string; - /** User provided function apps registered with the static site */ - userProvidedFunctionApps?: Array; /** The provider that submitted the last deployment to the primary environment of the static site. */ provider?: string; /** State indicating the status of the enterprise grade CDN serving traffic to the static web app. */ enterpriseGradeCdnStatus?: "Enabled" | "Enabling" | "Disabled" | "Disabling"; } +/** Message envelope that contains the common Azure resource manager properties and the resource provider specific content. */ export interface ResponseMessageEnvelopeRemotePrivateEndpointConnection { /** * Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this @@ -3339,6 +2757,7 @@ export interface ResponseMessageEnvelopeRemotePrivateEndpointConnection { zones?: Array; } +/** The plan object in Azure Resource Manager, represents a marketplace plan. */ export interface ArmPlan { /** The name. */ name?: string; @@ -3352,13 +2771,14 @@ export interface ArmPlan { version?: string; } +/** A remote private endpoint connection */ export interface RemotePrivateEndpointConnection extends ProxyOnlyResource { /** RemotePrivateEndpointConnection resource specific properties */ properties?: RemotePrivateEndpointConnectionProperties; } +/** RemotePrivateEndpointConnection resource specific properties */ export interface RemotePrivateEndpointConnectionProperties { - provisioningState?: string; /** PrivateEndpoint of a remote private endpoint connection */ privateEndpoint?: ArmIdWrapper; /** The state of a private link connection */ @@ -3367,6 +2787,7 @@ export interface RemotePrivateEndpointConnectionProperties { ipAddresses?: Array; } +/** Template Options for the static site. */ export interface StaticSiteTemplateOptions { /** URL of the template repository. The newly generated repository will be based on this one. */ templateRepositoryUrl?: string; @@ -3380,108 +2801,83 @@ export interface StaticSiteTemplateOptions { isPrivate?: boolean; } +/** A static site user provided function. */ export interface StaticSiteUserProvidedFunctionApp extends ProxyOnlyResource { /** StaticSiteUserProvidedFunctionApp resource specific properties */ properties?: StaticSiteUserProvidedFunctionAppProperties; } +/** StaticSiteUserProvidedFunctionApp resource specific properties */ export interface StaticSiteUserProvidedFunctionAppProperties { /** The resource id of the function app registered with the static site */ functionAppResourceId?: string; /** The region of the function app registered with the static site */ functionAppRegion?: string; - /** The date and time on which the function app was registered with the static site. */ - createdOn?: Date | string; } +/** ARM resource for a static site when patching */ export interface StaticSitePatchResource extends ProxyOnlyResource { /** Core resource properties */ properties?: StaticSite; } +/** Static Site User ARM resource. */ export interface StaticSiteUserARMResource extends ProxyOnlyResource { /** StaticSiteUserARMResource resource specific properties */ properties?: StaticSiteUserARMResourceProperties; } +/** StaticSiteUserARMResource resource specific properties */ export interface StaticSiteUserARMResourceProperties { - /** The identity provider for the static site user. */ - provider?: string; - /** The user id for the static site user. */ - userId?: string; - /** The display name for the static site user. */ - displayName?: string; /** The roles for the static site user, in free-form string format */ roles?: string; } +/** Static Site Build ARM resource. */ export interface StaticSiteBuildARMResource extends ProxyOnlyResource { /** StaticSiteBuildARMResource resource specific properties */ properties?: StaticSiteBuildARMResourceProperties; } -export interface StaticSiteBuildARMResourceProperties { - /** An identifier for the static site build. */ - buildId?: string; - /** The source branch. */ - sourceBranch?: string; - /** The title of a pull request that a static site build is related to. */ - pullRequestTitle?: string; - /** The hostname for a static site build. */ - hostname?: string; - /** When this build was created. */ - createdTimeUtc?: Date | string; - /** When this build was updated. */ - lastUpdatedOn?: Date | string; - /** The status of the static site build. */ - status?: - | "WaitingForDeployment" - | "Uploading" - | "Deploying" - | "Ready" - | "Failed" - | "Deleting" - | "Detached"; - /** User provided function apps registered with the static site build */ - userProvidedFunctionApps?: Array; -} +/** StaticSiteBuildARMResource resource specific properties */ +export interface StaticSiteBuildARMResourceProperties {} +/** String dictionary resource. */ export interface StringDictionary extends ProxyOnlyResource { /** Settings. */ properties?: Record; } +/** Static Site Function Overview ARM resource. */ export interface StaticSiteFunctionOverviewARMResource extends ProxyOnlyResource { /** StaticSiteFunctionOverviewARMResource resource specific properties */ properties?: StaticSiteFunctionOverviewARMResourceProperties; } -export interface StaticSiteFunctionOverviewARMResourceProperties { - /** The name for the function */ - functionName?: string; - /** The trigger type of the function */ - triggerType?: "HttpTrigger" | "Unknown"; -} +/** StaticSiteFunctionOverviewARMResource resource specific properties */ +export interface StaticSiteFunctionOverviewARMResourceProperties {} +/** Static Site User Provided Function App ARM resource. */ export interface StaticSiteUserProvidedFunctionAppARMResource extends ProxyOnlyResource { /** StaticSiteUserProvidedFunctionAppARMResource resource specific properties */ properties?: StaticSiteUserProvidedFunctionAppARMResourceProperties; } +/** StaticSiteUserProvidedFunctionAppARMResource resource specific properties */ export interface StaticSiteUserProvidedFunctionAppARMResourceProperties { /** The resource id of the function app registered with the static site */ functionAppResourceId?: string; /** The region of the function app registered with the static site */ functionAppRegion?: string; - /** The date and time on which the function app was registered with the static site. */ - createdOn?: Date | string; } +/** Static site zip deployment ARM resource. */ export interface StaticSiteZipDeploymentARMResource extends ProxyOnlyResource { /** Core resource properties */ properties?: StaticSiteZipDeployment; } +/** A static site zip deployment. */ export interface StaticSiteZipDeployment { /** URL for the zipped app content */ appZipUrl?: string; @@ -3495,11 +2891,13 @@ export interface StaticSiteZipDeployment { functionLanguage?: string; } +/** Static sites user roles invitation resource. */ export interface StaticSiteUserInvitationRequestResource extends ProxyOnlyResource { /** StaticSiteUserInvitationRequestResource resource specific properties */ properties?: StaticSiteUserInvitationRequestResourceProperties; } +/** StaticSiteUserInvitationRequestResource resource specific properties */ export interface StaticSiteUserInvitationRequestResourceProperties { /** The domain name for the static site custom domain. */ domain?: string; @@ -3513,55 +2911,49 @@ export interface StaticSiteUserInvitationRequestResourceProperties { numHoursToExpiration?: number; } +/** Static sites user roles invitation link resource. */ export interface StaticSiteUserInvitationResponseResource extends ProxyOnlyResource { /** StaticSiteUserInvitationResponseResource resource specific properties */ properties?: StaticSiteUserInvitationResponseResourceProperties; } -export interface StaticSiteUserInvitationResponseResourceProperties { - /** The expiration time of the invitation */ - expiresOn?: Date | string; - /** The url for the invitation link */ - invitationUrl?: string; -} +/** StaticSiteUserInvitationResponseResource resource specific properties */ +export interface StaticSiteUserInvitationResponseResourceProperties {} +/** Static Site Custom Domain Overview ARM resource. */ export interface StaticSiteCustomDomainOverviewARMResource extends ProxyOnlyResource { /** StaticSiteCustomDomainOverviewARMResource resource specific properties */ properties?: StaticSiteCustomDomainOverviewARMResourceProperties; } -export interface StaticSiteCustomDomainOverviewARMResourceProperties { - /** The domain name for the static site custom domain. */ - domainName?: string; - /** The date and time on which the custom domain was created for the static site. */ - createdOn?: Date | string; - /** The status of the custom domain */ - status?: "RetrievingValidationToken" | "Validating" | "Adding" | "Ready" | "Failed" | "Deleting"; - /** The TXT record validation token */ - validationToken?: string; - errorMessage?: string; -} +/** StaticSiteCustomDomainOverviewARMResource resource specific properties */ +export interface StaticSiteCustomDomainOverviewARMResourceProperties {} +/** Static Site Custom Domain Request Properties ARM resource. */ export interface StaticSiteCustomDomainRequestPropertiesARMResource extends ProxyOnlyResource { /** StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties */ properties?: StaticSiteCustomDomainRequestPropertiesARMResourceProperties; } +/** StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties */ export interface StaticSiteCustomDomainRequestPropertiesARMResourceProperties { /** Validation method for adding a custom domain */ validationMethod?: string; } +/** String list resource. */ export interface StringList extends ProxyOnlyResource { /** List of string resources. */ properties?: Array; } +/** Static Site Reset Properties ARM resource. */ export interface StaticSiteResetPropertiesARMResource extends ProxyOnlyResource { /** StaticSiteResetPropertiesARMResource resource specific properties */ properties?: StaticSiteResetPropertiesARMResourceProperties; } +/** StaticSiteResetPropertiesARMResource resource specific properties */ export interface StaticSiteResetPropertiesARMResourceProperties { /** The token which proves admin privileges to the repository. */ repositoryToken?: string; @@ -3569,6 +2961,7 @@ export interface StaticSiteResetPropertiesARMResourceProperties { shouldUpdateRepository?: boolean; } +/** ARM resource for a site. */ export interface SitePatchResource extends ProxyOnlyResource { /** SitePatchResource resource specific properties */ properties?: SitePatchResourceProperties; @@ -3576,24 +2969,10 @@ export interface SitePatchResource extends ProxyOnlyResource { identity?: ManagedServiceIdentity; } +/** SitePatchResource resource specific properties */ export interface SitePatchResourceProperties { - /** Current state of the app. */ - state?: string; - /** Hostnames associated with the app. */ - hostNames?: Array; - /** Name of the repository site. */ - repositorySiteName?: string; - /** State indicating whether the app has exceeded its quota usage. Read-only. */ - usageState?: "Normal" | "Exceeded"; /** true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). */ enabled?: boolean; - /** - * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, - * the app is not served on those hostnames. - */ - enabledHostNames?: Array; - /** Management information availability state for the app. */ - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; /** Hostname SSL states are used to manage the SSL bindings for app's hostnames. */ hostNameSslStates?: Array; /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ @@ -3604,16 +2983,10 @@ export interface SitePatchResourceProperties { isXenon?: boolean; /** Hyper-V sandbox. */ hyperV?: boolean; - /** Last time the app was modified, in UTC. Read-only. */ - lastModifiedTimeUtc?: Date | string; /** Configuration of the app. */ siteConfig?: SiteConfig; - /** Azure Traffic Manager hostnames associated with the app. Read-only. */ - trafficManagerHostNames?: Array; /** true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. */ scmSiteAlsoStopped?: boolean; - /** Specifies which deployment slot this app will swap into. Read-only. */ - targetSwapSlot?: string; /** App Service Environment to use for the app. */ hostingEnvironmentProfile?: HostingEnvironmentProfile; /** true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true. */ @@ -3636,31 +3009,12 @@ export interface SitePatchResourceProperties { hostNamesDisabled?: boolean; /** Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. */ customDomainVerificationId?: string; - /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. */ - outboundIpAddresses?: string; - /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only. */ - possibleOutboundIpAddresses?: string; /** Size of the function container. */ containerSize?: number; /** Maximum allowed daily memory-time quota (applicable on dynamic apps only). */ dailyMemoryTimeQuota?: number; - /** App suspended till in case memory-time quota is exceeded. */ - suspendedTill?: Date | string; - /** - * Maximum number of workers. - * This only applies to Functions container. - */ - maxNumberOfWorkers?: number; /** If specified during app creation, the app is cloned from a source app. */ cloningInfo?: CloningInfo; - /** Name of the resource group the app belongs to. Read-only. */ - resourceGroup?: string; - /** true if the app is a default container; otherwise, false. */ - isDefaultContainer?: boolean; - /** Default hostname of the app. Read-only. */ - defaultHostName?: string; - /** Status of the last deployment slot swap operation. */ - slotSwapStatus?: SlotSwapStatus; /** * HttpsOnly: configures a web site to accept only https requests. Issues redirect for * http requests @@ -3668,12 +3022,6 @@ export interface SitePatchResourceProperties { httpsOnly?: boolean; /** Site redundancy mode */ redundancyMode?: "None" | "Manual" | "Failover" | "ActiveActive" | "GeoRedundant"; - /** - * Specifies an operation id if this site has a pending operation. - * - * Value may contain a UUID - */ - inProgressOperationId?: string; /** Checks if Customer provided storage account is required */ storageAccountRequired?: boolean; /** Identity to use for Key Vault Reference authentication. */ @@ -3685,24 +3033,14 @@ export interface SitePatchResourceProperties { virtualNetworkSubnetId?: string; } +/** Custom domain analysis. */ export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { /** CustomHostnameAnalysisResult resource specific properties */ properties?: CustomHostnameAnalysisResultProperties; } +/** CustomHostnameAnalysisResult resource specific properties */ export interface CustomHostnameAnalysisResultProperties { - /** true if hostname is already verified; otherwise, false. */ - isHostnameAlreadyVerified?: boolean; - /** DNS verification test result. */ - customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; - /** Raw failure information if DNS verification fails. */ - customDomainVerificationFailureInfo?: ErrorEntity; - /** true if there is a conflict on a scale unit; otherwise, false. */ - hasConflictOnScaleUnit?: boolean; - /** true if there is a conflict across subscriptions; otherwise, false. */ - hasConflictAcrossSubscription?: boolean; - /** Name of the conflicting app on scale unit if it's within the same subscription. */ - conflictingAppResourceId?: string; /** CName records controller can see for this hostname. */ cNameRecords?: Array; /** TXT records controller can see for this hostname. */ @@ -3715,6 +3053,7 @@ export interface CustomHostnameAnalysisResultProperties { alternateTxtRecords?: Array; } +/** Deployment slot parameters. */ export interface CsmSlotEntity { /** Destination deployment slot during swap operation. */ targetSlot: string; @@ -3722,11 +3061,13 @@ export interface CsmSlotEntity { preserveVnet: boolean; } +/** Description of a backup which will be performed. */ export interface BackupRequest extends ProxyOnlyResource { /** BackupRequest resource specific properties */ properties?: BackupRequestProperties; } +/** BackupRequest resource specific properties */ export interface BackupRequestProperties { /** Name of the backup. */ backupName?: string; @@ -3740,6 +3081,7 @@ export interface BackupRequestProperties { databases?: Array; } +/** Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy. */ export interface BackupSchedule { /** How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) */ frequencyInterval: number; @@ -3751,10 +3093,9 @@ export interface BackupSchedule { retentionPeriodInDays: number; /** When the schedule should start working. */ startTime?: Date | string; - /** Last time when this schedule was triggered. */ - lastExecutionTime?: Date | string; } +/** Database backup settings. */ export interface DatabaseBackupSetting { /** Database type (e.g. SqlAzure / MySql). */ databaseType: "SqlAzure" | "MySql" | "LocalMySql" | "PostgreSql"; @@ -3768,57 +3109,22 @@ export interface DatabaseBackupSetting { connectionString?: string; } +/** Backup description. */ export interface BackupItem extends ProxyOnlyResource { /** BackupItem resource specific properties */ properties?: BackupItemProperties; } -export interface BackupItemProperties { - /** Id of the backup. */ - id?: number; - /** SAS URL for the storage account container which contains this backup. */ - storageAccountUrl?: string; - /** Name of the blob which contains data for this backup. */ - blobName?: string; - /** Name of this backup. */ - name?: string; - /** Backup status. */ - status?: - | "InProgress" - | "Failed" - | "Succeeded" - | "TimedOut" - | "Created" - | "Skipped" - | "PartiallySucceeded" - | "DeleteInProgress" - | "DeleteFailed" - | "Deleted"; - /** Size of the backup in bytes. */ - sizeInBytes?: number; - /** Timestamp of the backup creation. */ - created?: Date | string; - /** Details regarding this backup. Might contain an error message. */ - log?: string; - /** List of databases included in the backup. */ - databases?: Array; - /** True if this backup has been created due to a schedule being triggered. */ - scheduled?: boolean; - /** Timestamp of a last restore operation which used this backup. */ - lastRestoreTimeStamp?: Date | string; - /** Timestamp when this backup finished. */ - finishedTimeStamp?: Date | string; - /** Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. */ - correlationId?: string; - /** Size of the original web app which has been backed up. */ - websiteSizeInBytes?: number; -} +/** BackupItem resource specific properties */ +export interface BackupItemProperties {} +/** Description of a restore request. */ export interface RestoreRequest extends ProxyOnlyResource { /** RestoreRequest resource specific properties */ properties?: RestoreRequestProperties; } +/** RestoreRequest resource specific properties */ export interface RestoreRequestProperties { /** SAS URL to the container. */ storageAccountUrl: string; @@ -3847,26 +3153,31 @@ export interface RestoreRequestProperties { hostingEnvironment?: string; } +/** Publishing Credentials Policies parameters. */ export interface CsmPublishingCredentialsPoliciesEntity extends ProxyOnlyResource { /** CsmPublishingCredentialsPoliciesEntity resource specific properties */ properties?: CsmPublishingCredentialsPoliciesEntityProperties; } +/** CsmPublishingCredentialsPoliciesEntity resource specific properties */ export interface CsmPublishingCredentialsPoliciesEntityProperties { /** true to allow access to a publishing method; otherwise, false. */ allow: boolean; } +/** Web app configuration ARM resource. */ export interface SiteConfigResource extends ProxyOnlyResource { /** Core resource properties */ properties?: SiteConfig; } +/** Configuration settings for the Azure App Service Authentication / Authorization feature. */ export interface SiteAuthSettings extends ProxyOnlyResource { /** SiteAuthSettings resource specific properties */ properties?: SiteAuthSettingsProperties; } +/** SiteAuthSettings resource specific properties */ export interface SiteAuthSettingsProperties { /** true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. */ enabled?: boolean; @@ -4068,11 +3379,13 @@ export interface SiteAuthSettingsProperties { configVersion?: string; } +/** Configuration settings for the Azure App Service Authentication / Authorization V2 feature. */ export interface SiteAuthSettingsV2 extends ProxyOnlyResource { /** SiteAuthSettingsV2 resource specific properties */ properties?: SiteAuthSettingsV2Properties; } +/** SiteAuthSettingsV2 resource specific properties */ export interface SiteAuthSettingsV2Properties { /** The configuration settings of the platform of App Service Authentication/Authorization. */ platform?: AuthPlatform; @@ -4086,6 +3399,7 @@ export interface SiteAuthSettingsV2Properties { httpSettings?: HttpSettings; } +/** The configuration settings of the platform of App Service Authentication/Authorization. */ export interface AuthPlatform { /** true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. */ enabled?: boolean; @@ -4101,6 +3415,7 @@ export interface AuthPlatform { configFilePath?: string; } +/** The configuration settings that determines the validation flow of users using App Service Authentication/Authorization. */ export interface GlobalValidation { /** true if the authentication flow is required any request is made; otherwise, false. */ requireAuthentication?: boolean; @@ -4120,6 +3435,7 @@ export interface GlobalValidation { excludedPaths?: Array; } +/** The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization. */ export interface IdentityProviders { /** The configuration settings of the Azure Active directory provider. */ azureActiveDirectory?: AzureActiveDirectory; @@ -4144,6 +3460,7 @@ export interface IdentityProviders { customOpenIdConnectProviders?: Record; } +/** The configuration settings of the Azure Active directory provider. */ export interface AzureActiveDirectory { /** false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4161,6 +3478,7 @@ export interface AzureActiveDirectory { isAutoProvisioned?: boolean; } +/** The configuration settings of the Azure Active Directory app registration. */ export interface AzureActiveDirectoryRegistration { /** * The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. @@ -4195,6 +3513,7 @@ export interface AzureActiveDirectoryRegistration { clientSecretCertificateIssuer?: string; } +/** The configuration settings of the Azure Active Directory login flow. */ export interface AzureActiveDirectoryLogin { /** * Login parameters to send to the OpenID Connect authorization endpoint when @@ -4205,6 +3524,7 @@ export interface AzureActiveDirectoryLogin { disableWWWAuthenticate?: boolean; } +/** The configuration settings of the Azure Active Directory token validation flow. */ export interface AzureActiveDirectoryValidation { /** The configuration settings of the checks that should be made while validating the JWT Claims. */ jwtClaimChecks?: JwtClaimChecks; @@ -4214,6 +3534,7 @@ export interface AzureActiveDirectoryValidation { defaultAuthorizationPolicy?: DefaultAuthorizationPolicy; } +/** The configuration settings of the checks that should be made while validating the JWT Claims. */ export interface JwtClaimChecks { /** The list of the allowed groups. */ allowedGroups?: Array; @@ -4221,6 +3542,7 @@ export interface JwtClaimChecks { allowedClientApplications?: Array; } +/** The configuration settings of the Azure Active Directory default authorization policy. */ export interface DefaultAuthorizationPolicy { /** The configuration settings of the Azure Active Directory allowed principals. */ allowedPrincipals?: AllowedPrincipals; @@ -4228,6 +3550,7 @@ export interface DefaultAuthorizationPolicy { allowedApplications?: Array; } +/** The configuration settings of the Azure Active Directory allowed principals. */ export interface AllowedPrincipals { /** The list of the allowed groups. */ groups?: Array; @@ -4235,6 +3558,7 @@ export interface AllowedPrincipals { identities?: Array; } +/** The configuration settings of the Facebook provider. */ export interface Facebook { /** false if the Facebook provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4246,6 +3570,7 @@ export interface Facebook { login?: LoginScopes; } +/** The configuration settings of the app registration for providers that have app ids and app secrets */ export interface AppRegistration { /** The App ID of the app used for login. */ appId?: string; @@ -4253,11 +3578,13 @@ export interface AppRegistration { appSecretSettingName?: string; } +/** The configuration settings of the login flow, including the scopes that should be requested. */ export interface LoginScopes { /** A list of the scopes that should be requested while authenticating. */ scopes?: Array; } +/** The configuration settings of the GitHub provider. */ export interface GitHub { /** false if the GitHub provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4267,6 +3594,7 @@ export interface GitHub { login?: LoginScopes; } +/** The configuration settings of the app registration for providers that have client ids and client secrets */ export interface ClientRegistration { /** The Client ID of the app used for login. */ clientId?: string; @@ -4274,6 +3602,7 @@ export interface ClientRegistration { clientSecretSettingName?: string; } +/** The configuration settings of the Google provider. */ export interface Google { /** false if the Google provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4285,11 +3614,13 @@ export interface Google { validation?: AllowedAudiencesValidation; } +/** The configuration settings of the Allowed Audiences validation flow. */ export interface AllowedAudiencesValidation { /** The configuration settings of the allowed list of audiences from which to validate the JWT token. */ allowedAudiences?: Array; } +/** The configuration settings of the legacy Microsoft Account provider. */ export interface LegacyMicrosoftAccount { /** false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4301,6 +3632,7 @@ export interface LegacyMicrosoftAccount { validation?: AllowedAudiencesValidation; } +/** The configuration settings of the Twitter provider. */ export interface Twitter { /** false if the Twitter provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4308,6 +3640,7 @@ export interface Twitter { registration?: TwitterRegistration; } +/** The configuration settings of the app registration for the Twitter provider. */ export interface TwitterRegistration { /** * The OAuth 1.0a consumer key of the Twitter application used for sign-in. @@ -4322,6 +3655,7 @@ export interface TwitterRegistration { consumerSecretSettingName?: string; } +/** The configuration settings of the Apple provider. */ export interface Apple { /** false if the Apple provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4331,6 +3665,7 @@ export interface Apple { login?: LoginScopes; } +/** The configuration settings of the registration for the Apple provider */ export interface AppleRegistration { /** The Client ID of the app used for login. */ clientId?: string; @@ -4338,6 +3673,7 @@ export interface AppleRegistration { clientSecretSettingName?: string; } +/** The configuration settings of the Azure Static Web Apps provider. */ export interface AzureStaticWebApps { /** false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4345,11 +3681,13 @@ export interface AzureStaticWebApps { registration?: AzureStaticWebAppsRegistration; } +/** The configuration settings of the registration for the Azure Static Web Apps provider */ export interface AzureStaticWebAppsRegistration { /** The Client ID of the app used for login. */ clientId?: string; } +/** The configuration settings of the custom Open ID Connect provider. */ export interface CustomOpenIdConnectProvider { /** false if the custom Open ID provider provider should not be enabled; otherwise, true. */ enabled?: boolean; @@ -4359,6 +3697,7 @@ export interface CustomOpenIdConnectProvider { login?: OpenIdConnectLogin; } +/** The configuration settings of the app registration for the custom Open ID Connect provider. */ export interface OpenIdConnectRegistration { /** The client id of the custom Open ID Connect provider. */ clientId?: string; @@ -4368,6 +3707,7 @@ export interface OpenIdConnectRegistration { openIdConnectConfiguration?: OpenIdConnectConfig; } +/** The authentication client credentials of the custom Open ID Connect provider. */ export interface OpenIdConnectClientCredential { /** The method that should be used to authenticate the user. */ method?: "ClientSecretPost"; @@ -4375,6 +3715,7 @@ export interface OpenIdConnectClientCredential { clientSecretSettingName?: string; } +/** The configuration settings of the endpoints used for the custom Open ID Connect provider. */ export interface OpenIdConnectConfig { /** The endpoint to be used to make an authorization request. */ authorizationEndpoint?: string; @@ -4388,6 +3729,7 @@ export interface OpenIdConnectConfig { wellKnownOpenIdConfiguration?: string; } +/** The configuration settings of the login flow of the custom Open ID Connect provider. */ export interface OpenIdConnectLogin { /** The name of the claim that contains the users name. */ nameClaimType?: string; @@ -4395,6 +3737,7 @@ export interface OpenIdConnectLogin { scopes?: Array; } +/** The configuration settings of the login flow of users using App Service Authentication/Authorization. */ export interface Login { /** The routes that specify the endpoints used for login and logout requests. */ routes?: LoginRoutes; @@ -4414,11 +3757,13 @@ export interface Login { nonce?: Nonce; } +/** The routes that specify the endpoints used for login and logout requests. */ export interface LoginRoutes { /** The endpoint at which a logout request should be made. */ logoutEndpoint?: string; } +/** The configuration settings of the token store. */ export interface TokenStore { /** * true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. @@ -4436,16 +3781,19 @@ export interface TokenStore { azureBlobStorage?: BlobStorageTokenStore; } +/** The configuration settings of the storage of the tokens if a file system is used. */ export interface FileSystemTokenStore { /** The directory in which the tokens will be stored. */ directory?: string; } +/** The configuration settings of the storage of the tokens if blob storage is used. */ export interface BlobStorageTokenStore { /** The name of the app setting containing the SAS URL of the blob storage containing the tokens. */ sasUrlSettingName?: string; } +/** The configuration settings of the session cookie's expiration. */ export interface CookieExpiration { /** The convention used when determining the session cookie's expiration. */ convention?: "FixedTime" | "IdentityProviderDerived"; @@ -4453,6 +3801,7 @@ export interface CookieExpiration { timeToExpiration?: string; } +/** The configuration settings of the nonce used in the login flow. */ export interface Nonce { /** false if the nonce should not be validated while completing the login flow; otherwise, true. */ validateNonce?: boolean; @@ -4460,6 +3809,7 @@ export interface Nonce { nonceExpirationInterval?: string; } +/** The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization. */ export interface HttpSettings { /** false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true. */ requireHttps?: boolean; @@ -4469,11 +3819,13 @@ export interface HttpSettings { forwardProxy?: ForwardProxy; } +/** The configuration settings of the paths HTTP requests. */ export interface HttpSettingsRoutes { /** The prefix that should precede all the authentication/authorization paths. */ apiPrefix?: string; } +/** The configuration settings of a forward proxy used to make the requests. */ export interface ForwardProxy { /** The convention used to determine the url of the request made. */ convention?: "NoProxy" | "Standard" | "Custom"; @@ -4483,16 +3835,19 @@ export interface ForwardProxy { customProtoHeaderName?: string; } +/** AzureStorageInfo dictionary resource. */ export interface AzureStoragePropertyDictionaryResource extends ProxyOnlyResource { /** Azure storage accounts. */ properties?: Record; } +/** Description of site key vault references. */ export interface ApiKVReference extends ProxyOnlyResource { /** ApiKVReference resource specific properties */ properties?: ApiKVReferenceProperties; } +/** ApiKVReference resource specific properties */ export interface ApiKVReferenceProperties { reference?: string; status?: @@ -4517,11 +3872,13 @@ export interface ApiKVReferenceProperties { activeVersion?: string; } +/** String dictionary resource. */ export interface ConnectionStringDictionary extends ProxyOnlyResource { /** Connection strings. */ properties?: Record; } +/** Database connection string value to type pair. */ export interface ConnStringValueTypePair { /** Value of pair. */ value: string; @@ -4540,11 +3897,13 @@ export interface ConnStringValueTypePair { | "PostgreSQL"; } +/** Configuration of App Service site logs. */ export interface SiteLogsConfig extends ProxyOnlyResource { /** SiteLogsConfig resource specific properties */ properties?: SiteLogsConfigProperties; } +/** SiteLogsConfig resource specific properties */ export interface SiteLogsConfigProperties { /** Application logs configuration. */ applicationLogs?: ApplicationLogsConfig; @@ -4556,6 +3915,7 @@ export interface SiteLogsConfigProperties { detailedErrorMessages?: EnabledConfig; } +/** Application logs configuration. */ export interface ApplicationLogsConfig { /** Application logs to file system configuration. */ fileSystem?: FileSystemApplicationLogsConfig; @@ -4565,11 +3925,13 @@ export interface ApplicationLogsConfig { azureBlobStorage?: AzureBlobStorageApplicationLogsConfig; } +/** Application logs to file system configuration. */ export interface FileSystemApplicationLogsConfig { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; } +/** Application logs to Azure table storage configuration. */ export interface AzureTableStorageApplicationLogsConfig { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; @@ -4577,6 +3939,7 @@ export interface AzureTableStorageApplicationLogsConfig { sasUrl: string; } +/** Application logs azure blob storage configuration. */ export interface AzureBlobStorageApplicationLogsConfig { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; @@ -4590,6 +3953,7 @@ export interface AzureBlobStorageApplicationLogsConfig { retentionInDays?: number; } +/** Http logs configuration. */ export interface HttpLogsConfig { /** Http logs to file system configuration. */ fileSystem?: FileSystemHttpLogsConfig; @@ -4597,6 +3961,7 @@ export interface HttpLogsConfig { azureBlobStorage?: AzureBlobStorageHttpLogsConfig; } +/** Http logs to file system configuration. */ export interface FileSystemHttpLogsConfig { /** * Maximum size in megabytes that http log files can use. @@ -4614,6 +3979,7 @@ export interface FileSystemHttpLogsConfig { enabled?: boolean; } +/** Http logs to azure blob storage configuration. */ export interface AzureBlobStorageHttpLogsConfig { /** SAS url to a azure blob container with read/write/list/delete permissions. */ sasUrl?: string; @@ -4627,16 +3993,23 @@ export interface AzureBlobStorageHttpLogsConfig { enabled?: boolean; } +/** Enabled configuration. */ export interface EnabledConfig { /** True if configuration is enabled, false if it is disabled and null if configuration is not set. */ enabled?: boolean; } +/** Slot Config names azure resource. */ export interface SlotConfigNamesResource extends ProxyOnlyResource { /** Core resource properties */ properties?: SlotConfigNames; } +/** + * Names for connection strings, application settings, and external Azure storage account configuration + * identifiers to be marked as sticky to the deployment slot and not moved during a swap operation. + * This is valid for all deployment slots in an app. + */ export interface SlotConfigNames { /** List of connection string names. */ connectionStringNames?: Array; @@ -4646,23 +4019,22 @@ export interface SlotConfigNames { azureStorageConfigNames?: Array; } +/** A snapshot of a web app configuration. */ export interface SiteConfigurationSnapshotInfo extends ProxyOnlyResource { /** SiteConfigurationSnapshotInfo resource specific properties */ properties?: SiteConfigurationSnapshotInfoProperties; } -export interface SiteConfigurationSnapshotInfoProperties { - /** The time the snapshot was taken. */ - time?: Date | string; - /** The id of the snapshot */ - snapshotId?: number; -} +/** SiteConfigurationSnapshotInfo resource specific properties */ +export interface SiteConfigurationSnapshotInfoProperties {} +/** Continuous Web Job Information. */ export interface ContinuousWebJob extends ProxyOnlyResource { /** ContinuousWebJob resource specific properties */ properties?: ContinuousWebJobProperties; } +/** ContinuousWebJob resource specific properties */ export interface ContinuousWebJobProperties { /** Job status. */ status?: "Initializing" | "Starting" | "Running" | "PendingRestart" | "Stopped"; @@ -4686,11 +4058,13 @@ export interface ContinuousWebJobProperties { settings?: Record>; } +/** User credentials used for publishing activity. */ export interface Deployment extends ProxyOnlyResource { /** Deployment resource specific properties */ properties?: DeploymentProperties; } +/** Deployment resource specific properties */ export interface DeploymentProperties { /** Deployment status. */ status?: number; @@ -4712,29 +4086,22 @@ export interface DeploymentProperties { details?: string; } +/** MSDeploy ARM response */ export interface MSDeployStatus extends ProxyOnlyResource { /** MSDeployStatus resource specific properties */ properties?: MSDeployStatusProperties; } -export interface MSDeployStatusProperties { - /** Username of deployer */ - deployer?: string; - /** Provisioning state */ - provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; - /** Start time of deploy operation */ - startTime?: Date | string; - /** End time of deploy operation */ - endTime?: Date | string; - /** Whether the deployment operation has completed */ - complete?: boolean; -} +/** MSDeployStatus resource specific properties */ +export interface MSDeployStatusProperties {} +/** MSDeploy ARM PUT information */ export interface MSDeploy extends ProxyOnlyResource { /** Core resource properties */ properties?: MSDeployCore; } +/** MSDeploy ARM PUT core information */ export interface MSDeployCore { /** Package URI */ packageUri?: string; @@ -4760,30 +4127,25 @@ export interface MSDeployCore { appOffline?: boolean; } +/** MSDeploy log */ export interface MSDeployLog extends ProxyOnlyResource { /** MSDeployLog resource specific properties */ properties?: MSDeployLogProperties; } -export interface MSDeployLogProperties { - /** List of log entry messages */ - entries?: Array; -} +/** MSDeployLog resource specific properties */ +export interface MSDeployLogProperties {} -export interface MSDeployLogEntry { - /** Timestamp of log entry */ - time?: Date | string; - /** Log entry type */ - type?: "Message" | "Warning" | "Error"; - /** Log entry message */ - message?: string; -} +/** MSDeploy log entry */ +export interface MSDeployLogEntry {} +/** Function information. */ export interface FunctionEnvelope extends ProxyOnlyResource { /** FunctionEnvelope resource specific properties */ properties?: FunctionEnvelopeProperties; } +/** FunctionEnvelope resource specific properties */ export interface FunctionEnvelopeProperties { /** Function App ID. */ function_app_id?: string; @@ -4813,6 +4175,7 @@ export interface FunctionEnvelopeProperties { isDisabled?: boolean; } +/** Function key info. */ export interface KeyInfo { /** Key name */ name?: string; @@ -4820,11 +4183,13 @@ export interface KeyInfo { value?: string; } +/** A hostname binding object. */ export interface HostNameBinding extends ProxyOnlyResource { /** HostNameBinding resource specific properties */ properties?: HostNameBindingProperties; } +/** HostNameBinding resource specific properties */ export interface HostNameBindingProperties { /** App Service app name. */ siteName?: string; @@ -4842,15 +4207,15 @@ export interface HostNameBindingProperties { sslState?: "Disabled" | "SniEnabled" | "IpBasedEnabled"; /** SSL certificate thumbprint */ thumbprint?: string; - /** Virtual IP address assigned to the hostname if IP based SSL is enabled. */ - virtualIP?: string; } +/** Hybrid Connection for an App Service app. */ export interface RelayServiceConnectionEntity extends ProxyOnlyResource { /** RelayServiceConnectionEntity resource specific properties */ properties?: RelayServiceConnectionEntityProperties; } +/** RelayServiceConnectionEntity resource specific properties */ export interface RelayServiceConnectionEntityProperties { entityName?: string; entityConnectionString?: string; @@ -4866,6 +4231,7 @@ export interface WebSiteInstanceStatus extends ProxyOnlyResource { properties?: WebSiteInstanceStatusProperties; } +/** WebSiteInstanceStatus resource specific properties */ export interface WebSiteInstanceStatusProperties { state?: "READY" | "STOPPED" | "UNKNOWN"; /** Link to the GetStatusApi in Kudu */ @@ -4928,14 +4294,14 @@ export interface ContainerNetworkInterfaceStatistics { txDropped?: number; } +/** Process Information. */ export interface ProcessInfo extends ProxyOnlyResource { /** ProcessInfo resource specific properties */ properties?: ProcessInfoProperties; } +/** ProcessInfo resource specific properties */ export interface ProcessInfoProperties { - /** ARM Identifier for deployment. */ - identifier?: number; /** Deployment name. */ deployment_name?: string; /** HRef URI. */ @@ -5008,14 +4374,14 @@ export interface ProcessInfoProperties { description?: string; } +/** Process Thread Information. */ export interface ProcessThreadInfo extends ProxyOnlyResource { /** ProcessThreadInfo resource specific properties */ properties?: ProcessThreadInfoProperties; } +/** ProcessThreadInfo resource specific properties */ export interface ProcessThreadInfoProperties { - /** Site extension ID. */ - identifier?: number; /** HRef URI. */ href?: string; /** Process URI. */ @@ -5040,11 +4406,13 @@ export interface ProcessThreadInfoProperties { wait_reason?: string; } +/** Process Module Information. */ export interface ProcessModuleInfo extends ProxyOnlyResource { /** ProcessModuleInfo resource specific properties */ properties?: ProcessModuleInfoProperties; } +/** ProcessModuleInfo resource specific properties */ export interface ProcessModuleInfoProperties { /** Base address. Used as module identifier in ARM resource URI. */ base_address?: string; @@ -5070,11 +4438,13 @@ export interface ProcessModuleInfoProperties { language?: string; } +/** Options for app content migration. */ export interface StorageMigrationOptions extends ProxyOnlyResource { /** StorageMigrationOptions resource specific properties */ properties?: StorageMigrationOptionsProperties; } +/** StorageMigrationOptions resource specific properties */ export interface StorageMigrationOptionsProperties { /** AzureFiles connection string. */ azurefilesConnectionString: string; @@ -5086,21 +4456,22 @@ export interface StorageMigrationOptionsProperties { blockWriteAccessToSite?: boolean; } +/** Response for a migration of app content request. */ export interface StorageMigrationResponse extends ProxyOnlyResource { /** StorageMigrationResponse resource specific properties */ properties?: StorageMigrationResponseProperties; } -export interface StorageMigrationResponseProperties { - /** When server starts the migration process, it will return an operation ID identifying that particular migration operation. */ - operationId?: string; -} +/** StorageMigrationResponse resource specific properties */ +export interface StorageMigrationResponseProperties {} +/** MySQL migration request. */ export interface MigrateMySqlRequest extends ProxyOnlyResource { /** MigrateMySqlRequest resource specific properties */ properties?: MigrateMySqlRequestProperties; } +/** MigrateMySqlRequest resource specific properties */ export interface MigrateMySqlRequestProperties { /** Connection string to the remote MySQL database. */ connectionString: string; @@ -5108,25 +4479,22 @@ export interface MigrateMySqlRequestProperties { migrationType: "LocalToRemote" | "RemoteToLocal"; } +/** MySQL migration status. */ export interface MigrateMySqlStatus extends ProxyOnlyResource { /** MigrateMySqlStatus resource specific properties */ properties?: MigrateMySqlStatusProperties; } -export interface MigrateMySqlStatusProperties { - /** Status of the migration task. */ - migrationOperationStatus?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; - /** Operation ID for the migration task. */ - operationId?: string; - /** True if the web app has in app MySql enabled */ - localMySqlEnabled?: boolean; -} +/** MigrateMySqlStatus resource specific properties */ +export interface MigrateMySqlStatusProperties {} +/** Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration. */ export interface SwiftVirtualNetwork extends ProxyOnlyResource { /** SwiftVirtualNetwork resource specific properties */ properties?: SwiftVirtualNetworkProperties; } +/** SwiftVirtualNetwork resource specific properties */ export interface SwiftVirtualNetworkProperties { /** The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first. */ subnetResourceId?: string; @@ -5134,27 +4502,22 @@ export interface SwiftVirtualNetworkProperties { swiftSupported?: boolean; } +/** Full view of network features for an app (presently VNET integration and Hybrid Connections). */ export interface NetworkFeatures extends ProxyOnlyResource { /** NetworkFeatures resource specific properties */ properties?: NetworkFeaturesProperties; } -export interface NetworkFeaturesProperties { - /** The Virtual Network name. */ - virtualNetworkName?: string; - /** The Virtual Network summary view. */ - virtualNetworkConnection?: VnetInfo; - /** The Hybrid Connections summary view. */ - hybridConnections?: Array; - /** The Hybrid Connection V2 (Service Bus) view. */ - hybridConnectionsV2?: Array; -} +/** NetworkFeatures resource specific properties */ +export interface NetworkFeaturesProperties {} +/** Used for getting PHP error logging flag. */ export interface SitePhpErrorLogFlag extends ProxyOnlyResource { /** SitePhpErrorLogFlag resource specific properties */ properties?: SitePhpErrorLogFlagProperties; } +/** SitePhpErrorLogFlag resource specific properties */ export interface SitePhpErrorLogFlagProperties { /** Local log_errors setting. */ localLogErrors?: string; @@ -5166,11 +4529,13 @@ export interface SitePhpErrorLogFlagProperties { masterLogErrorsMaxLength?: string; } +/** Premier add-on. */ export interface PremierAddOn extends Resource { /** PremierAddOn resource specific properties */ properties?: PremierAddOnProperties; } +/** PremierAddOn resource specific properties */ export interface PremierAddOnProperties { /** Premier add on SKU. */ sku?: string; @@ -5184,11 +4549,13 @@ export interface PremierAddOnProperties { marketplaceOffer?: string; } +/** ARM resource for a PremierAddOn. */ export interface PremierAddOnPatchResource extends ProxyOnlyResource { /** PremierAddOnPatchResource resource specific properties */ properties?: PremierAddOnPatchResourceProperties; } +/** PremierAddOnPatchResource resource specific properties */ export interface PremierAddOnPatchResourceProperties { /** Premier add on SKU. */ sku?: string; @@ -5202,11 +4569,13 @@ export interface PremierAddOnPatchResourceProperties { marketplaceOffer?: string; } +/** Description of the parameters of Private Access for a Web Site. */ export interface PrivateAccess extends ProxyOnlyResource { /** PrivateAccess resource specific properties */ properties?: PrivateAccessProperties; } +/** PrivateAccess resource specific properties */ export interface PrivateAccessProperties { /** Whether private access is enabled or not. */ enabled?: boolean; @@ -5214,6 +4583,7 @@ export interface PrivateAccessProperties { virtualNetworks?: Array; } +/** Description of a Virtual Network that is useable for private site access. */ export interface PrivateAccessVirtualNetwork { /** The name of the Virtual Network. */ name?: string; @@ -5225,6 +4595,7 @@ export interface PrivateAccessVirtualNetwork { subnets?: Array; } +/** Description of a Virtual Network subnet that is useable for private site access. */ export interface PrivateAccessSubnet { /** The name of the subnet. */ name?: string; @@ -5232,11 +4603,13 @@ export interface PrivateAccessSubnet { key?: number; } +/** Public certificate object */ export interface PublicCertificate extends ProxyOnlyResource { /** PublicCertificate resource specific properties */ properties?: PublicCertificateProperties; } +/** PublicCertificate resource specific properties */ export interface PublicCertificateProperties { /** * Public Certificate byte array @@ -5246,10 +4619,9 @@ export interface PublicCertificateProperties { blob?: string; /** Public Certificate Location */ publicCertificateLocation?: "CurrentUserMy" | "LocalMachineMy" | "Unknown"; - /** Certificate Thumbprint */ - thumbprint?: string; } +/** Publishing options for requested profile. */ export interface CsmPublishingProfileOptions { /** * Name of the format. Valid values are: @@ -5262,11 +4634,13 @@ export interface CsmPublishingProfileOptions { includeDisasterRecoveryEndpoints?: boolean; } +/** Details about restoring a deleted app. */ export interface DeletedAppRestoreRequest extends ProxyOnlyResource { /** DeletedAppRestoreRequest resource specific properties */ properties?: DeletedAppRestoreRequestProperties; } +/** DeletedAppRestoreRequest resource specific properties */ export interface DeletedAppRestoreRequestProperties { /** * ARM resource ID of the deleted app. Example: @@ -5284,11 +4658,13 @@ export interface DeletedAppRestoreRequestProperties { useDRSecondary?: boolean; } +/** Details about app recovery operation. */ export interface SnapshotRestoreRequest extends ProxyOnlyResource { /** SnapshotRestoreRequest resource specific properties */ properties?: SnapshotRestoreRequestProperties; } +/** SnapshotRestoreRequest resource specific properties */ export interface SnapshotRestoreRequestProperties { /** Point in time in which the app restore should be done, formatted as a DateTime string. */ snapshotTime?: string; @@ -5310,6 +4686,7 @@ export interface SnapshotRestoreRequestProperties { useDRSecondary?: boolean; } +/** Specifies the web app that snapshot contents will be retrieved from. */ export interface SnapshotRecoverySource { /** Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS */ location?: string; @@ -5321,11 +4698,13 @@ export interface SnapshotRecoverySource { id?: string; } +/** Site Extension Information. */ export interface SiteExtensionInfo extends ProxyOnlyResource { /** SiteExtensionInfo resource specific properties */ properties?: SiteExtensionInfoProperties; } +/** SiteExtensionInfo resource specific properties */ export interface SiteExtensionInfoProperties { /** Site extension ID. */ extension_id?: string; @@ -5368,33 +4747,22 @@ export interface SiteExtensionInfoProperties { comment?: string; } +/** A setting difference between two deployment slots of an app. */ export interface SlotDifference extends ProxyOnlyResource { /** SlotDifference resource specific properties */ properties?: SlotDifferenceProperties; } -export interface SlotDifferenceProperties { - /** Level of the difference: Information, Warning or Error. */ - level?: string; - /** The type of the setting: General, AppSetting or ConnectionString. */ - settingType?: string; - /** Rule that describes how to process the setting difference during a slot swap. */ - diffRule?: string; - /** Name of the setting. */ - settingName?: string; - /** Value of the setting in the current slot. */ - valueInCurrentSlot?: string; - /** Value of the setting in the target slot. */ - valueInTargetSlot?: string; - /** Description of the setting difference. */ - description?: string; -} +/** SlotDifference resource specific properties */ +export interface SlotDifferenceProperties {} +/** Source control configuration for an app. */ export interface SiteSourceControl extends ProxyOnlyResource { /** SiteSourceControl resource specific properties */ properties?: SiteSourceControlProperties; } +/** SiteSourceControl resource specific properties */ export interface SiteSourceControlProperties { /** Repository or source control URL. */ repoUrl?: string; @@ -5412,6 +4780,7 @@ export interface SiteSourceControlProperties { gitHubActionConfiguration?: GitHubActionConfiguration; } +/** The GitHub action configuration. */ export interface GitHubActionConfiguration { /** GitHub Action code configuration. */ codeConfiguration?: GitHubActionCodeConfiguration; @@ -5423,6 +4792,7 @@ export interface GitHubActionConfiguration { generateWorkflowFile?: boolean; } +/** The GitHub action code configuration. */ export interface GitHubActionCodeConfiguration { /** Runtime stack is used to determine the workflow file content for code base apps. */ runtimeStack?: string; @@ -5430,6 +4800,7 @@ export interface GitHubActionCodeConfiguration { runtimeVersion?: string; } +/** The GitHub action container configuration. */ export interface GitHubActionContainerConfiguration { /** The server URL for the container registry where the build will be hosted. */ serverUrl?: string; @@ -5441,11 +4812,13 @@ export interface GitHubActionContainerConfiguration { password?: string; } +/** Triggered Web Job Information. */ export interface TriggeredWebJob extends ProxyOnlyResource { /** TriggeredWebJob resource specific properties */ properties?: TriggeredWebJobProperties; } +/** TriggeredWebJob resource specific properties */ export interface TriggeredWebJobProperties { /** Latest job run information. */ latest_run?: TriggeredJobRun; @@ -5469,6 +4842,7 @@ export interface TriggeredWebJobProperties { settings?: Record>; } +/** Triggered Web Job Run Information. */ export interface TriggeredJobRun { /** Job ID. */ web_job_id?: string; @@ -5494,21 +4868,25 @@ export interface TriggeredJobRun { trigger?: string; } +/** Triggered Web Job History. List of Triggered Web Job Run Information elements. */ export interface TriggeredJobHistory extends ProxyOnlyResource { /** TriggeredJobHistory resource specific properties */ properties?: TriggeredJobHistoryProperties; } +/** TriggeredJobHistory resource specific properties */ export interface TriggeredJobHistoryProperties { /** List of triggered web job runs. */ runs?: Array; } +/** Web Job Information. */ export interface WebJob extends ProxyOnlyResource { /** WebJob resource specific properties */ properties?: WebJobProperties; } +/** WebJob resource specific properties */ export interface WebJobProperties { /** Run command. */ run_command?: string; diff --git a/sdk/appservice/arm-appservice-rest/src/outputModels.ts b/sdk/appservice/arm-appservice-rest/src/outputModels.ts index 85976d07ba0e..7dd4ef827159 100644 --- a/sdk/appservice/arm-appservice-rest/src/outputModels.ts +++ b/sdk/appservice/arm-appservice-rest/src/outputModels.ts @@ -1,25 +1,28 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** Collection of certificate orders. */ export interface AppServiceCertificateOrderCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** SSL certificate purchase order. */ export interface AppServiceCertificateOrderOutput extends ResourceOutput { /** AppServiceCertificateOrder resource specific properties */ properties?: AppServiceCertificateOrderPropertiesOutput; } +/** AppServiceCertificateOrder resource specific properties */ export interface AppServiceCertificateOrderPropertiesOutput { /** State of the Key Vault secret. */ certificates?: Record; /** Certificate distinguished name. */ distinguishedName?: string; /** Domain verification token. */ - domainVerificationToken?: string; + readonly domainVerificationToken?: string; /** Duration in years (must be 1). */ validityInYears?: number; /** Certificate key size. */ @@ -29,9 +32,9 @@ export interface AppServiceCertificateOrderPropertiesOutput { /** true if the certificate should be automatically renewed when it expires; otherwise, false. */ autoRenew?: boolean; /** Status of certificate order. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Current order status. */ - status?: + readonly status?: | "Pendingissuance" | "Issued" | "Revoked" @@ -43,40 +46,41 @@ export interface AppServiceCertificateOrderPropertiesOutput { | "Expired" | "NotSubmitted"; /** Signed certificate. */ - signedCertificate?: CertificateDetailsOutput; + readonly signedCertificate?: CertificateDetailsOutput; /** Last CSR that was created for this order. */ csr?: string; /** Intermediate certificate. */ - intermediate?: CertificateDetailsOutput; + readonly intermediate?: CertificateDetailsOutput; /** Root certificate. */ - root?: CertificateDetailsOutput; + readonly root?: CertificateDetailsOutput; /** Current serial number of the certificate. */ - serialNumber?: string; + readonly serialNumber?: string; /** Certificate last issuance time. */ - lastCertificateIssuanceTime?: string; + readonly lastCertificateIssuanceTime?: string; /** Certificate expiration time. */ - expirationTime?: string; + readonly expirationTime?: string; /** true if private key is external; otherwise, false. */ - isPrivateKeyExternal?: boolean; + readonly isPrivateKeyExternal?: boolean; /** Reasons why App Service Certificate is not renewable at the current moment. */ - appServiceCertificateNotRenewableReasons?: Array< + readonly appServiceCertificateNotRenewableReasons?: Array< | "RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive" >; /** Time stamp when the certificate would be auto renewed next */ - nextAutoRenewalTimeStamp?: string; + readonly nextAutoRenewalTimeStamp?: string; /** Contact info */ - contact?: CertificateOrderContactOutput; + readonly contact?: CertificateOrderContactOutput; } +/** Key Vault container for a certificate that is purchased through Azure. */ export interface AppServiceCertificateOutput { /** Key Vault resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; /** Status of the Key Vault secret. */ - provisioningState?: + readonly provisioningState?: | "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" @@ -90,25 +94,26 @@ export interface AppServiceCertificateOutput { | "Unknown"; } +/** SSL certificate details. */ export interface CertificateDetailsOutput { /** Certificate Version. */ - version?: number; + readonly version?: number; /** Certificate Serial Number. */ - serialNumber?: string; + readonly serialNumber?: string; /** Certificate Thumbprint. */ - thumbprint?: string; + readonly thumbprint?: string; /** Certificate Subject. */ - subject?: string; + readonly subject?: string; /** Date Certificate is valid from. */ - notBefore?: string; + readonly notBefore?: string; /** Date Certificate is valid to. */ - notAfter?: string; + readonly notAfter?: string; /** Certificate Signature algorithm. */ - signatureAlgorithm?: string; + readonly signatureAlgorithm?: string; /** Certificate Issuer. */ - issuer?: string; + readonly issuer?: string; /** Raw certificate data. */ - rawData?: string; + readonly rawData?: string; } export interface CertificateOrderContactOutput { @@ -118,59 +123,65 @@ export interface CertificateOrderContactOutput { phone?: string; } +/** Azure resource. This resource is tracked in Azure Resource Manager */ export interface ResourceOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource Name. */ - name?: string; + readonly name?: string; /** Kind of resource. */ kind?: string; /** Resource Location. */ location: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource tags. */ tags?: Record; } +/** App Service error response. */ export interface DefaultErrorResponseOutput { /** Error model. */ - error?: DefaultErrorResponseErrorOutput; + readonly error?: DefaultErrorResponseErrorOutput; } +/** Error model. */ export interface DefaultErrorResponseErrorOutput { /** Standardized string to programmatically identify the error. */ - code?: string; + readonly code?: string; /** Detailed error description and debugging information. */ - message?: string; + readonly message?: string; /** Detailed error description and debugging information. */ - target?: string; + readonly target?: string; details?: Array; /** More information to debug error. */ - innererror?: string; + readonly innererror?: string; } +/** Detailed errors. */ export interface DefaultErrorResponseErrorDetailsItemOutput { /** Standardized string to programmatically identify the error. */ - code?: string; + readonly code?: string; /** Detailed error description and debugging information. */ - message?: string; + readonly message?: string; /** Detailed error description and debugging information. */ - target?: string; + readonly target?: string; } +/** ARM resource for a certificate order that is purchased through Azure. */ export interface AppServiceCertificateOrderPatchResourceOutput extends ProxyOnlyResourceOutput { /** AppServiceCertificateOrderPatchResource resource specific properties */ properties?: AppServiceCertificateOrderPatchResourcePropertiesOutput; } +/** AppServiceCertificateOrderPatchResource resource specific properties */ export interface AppServiceCertificateOrderPatchResourcePropertiesOutput { /** State of the Key Vault secret. */ certificates?: Record; /** Certificate distinguished name. */ distinguishedName?: string; /** Domain verification token. */ - domainVerificationToken?: string; + readonly domainVerificationToken?: string; /** Duration in years (must be 1). */ validityInYears?: number; /** Certificate key size. */ @@ -180,9 +191,9 @@ export interface AppServiceCertificateOrderPatchResourcePropertiesOutput { /** true if the certificate should be automatically renewed when it expires; otherwise, false. */ autoRenew?: boolean; /** Status of certificate order. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Current order status. */ - status?: + readonly status?: | "Pendingissuance" | "Issued" | "Revoked" @@ -194,66 +205,72 @@ export interface AppServiceCertificateOrderPatchResourcePropertiesOutput { | "Expired" | "NotSubmitted"; /** Signed certificate. */ - signedCertificate?: CertificateDetailsOutput; + readonly signedCertificate?: CertificateDetailsOutput; /** Last CSR that was created for this order. */ csr?: string; /** Intermediate certificate. */ - intermediate?: CertificateDetailsOutput; + readonly intermediate?: CertificateDetailsOutput; /** Root certificate. */ - root?: CertificateDetailsOutput; + readonly root?: CertificateDetailsOutput; /** Current serial number of the certificate. */ - serialNumber?: string; + readonly serialNumber?: string; /** Certificate last issuance time. */ - lastCertificateIssuanceTime?: string; + readonly lastCertificateIssuanceTime?: string; /** Certificate expiration time. */ - expirationTime?: string; + readonly expirationTime?: string; /** true if private key is external; otherwise, false. */ - isPrivateKeyExternal?: boolean; + readonly isPrivateKeyExternal?: boolean; /** Reasons why App Service Certificate is not renewable at the current moment. */ - appServiceCertificateNotRenewableReasons?: Array< + readonly appServiceCertificateNotRenewableReasons?: Array< | "RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive" >; /** Time stamp when the certificate would be auto renewed next */ - nextAutoRenewalTimeStamp?: string; + readonly nextAutoRenewalTimeStamp?: string; /** Contact info */ - contact?: CertificateOrderContactOutput; + readonly contact?: CertificateOrderContactOutput; } +/** Azure proxy only resource. This resource is not tracked by Azure Resource Manager. */ export interface ProxyOnlyResourceOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource Name. */ - name?: string; + readonly name?: string; /** Kind of resource. */ kind?: string; /** Resource type. */ - type?: string; + readonly type?: string; } +/** Collection of certificate order certificates. */ export interface AppServiceCertificateCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Key Vault container ARM resource for a certificate that is purchased through Azure. */ export interface AppServiceCertificateResourceOutput extends ResourceOutput { /** Core resource properties */ properties?: AppServiceCertificateOutput; } +/** Key Vault container ARM resource for a certificate that is purchased through Azure. */ export interface AppServiceCertificatePatchResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: AppServiceCertificateOutput; } +/** Class representing certificate reissue request. */ export interface ReissueCertificateOrderRequestOutput extends ProxyOnlyResourceOutput { /** ReissueCertificateOrderRequest resource specific properties */ properties?: ReissueCertificateOrderRequestPropertiesOutput; } +/** ReissueCertificateOrderRequest resource specific properties */ export interface ReissueCertificateOrderRequestPropertiesOutput { /** Certificate Key Size. */ keySize?: number; @@ -265,11 +282,13 @@ export interface ReissueCertificateOrderRequestPropertiesOutput { isPrivateKeyExternal?: boolean; } +/** Class representing certificate renew request. */ export interface RenewCertificateOrderRequestOutput extends ProxyOnlyResourceOutput { /** RenewCertificateOrderRequest resource specific properties */ properties?: RenewCertificateOrderRequestPropertiesOutput; } +/** RenewCertificateOrderRequest resource specific properties */ export interface RenewCertificateOrderRequestPropertiesOutput { /** Certificate Key Size. */ keySize?: number; @@ -279,24 +298,28 @@ export interface RenewCertificateOrderRequestPropertiesOutput { isPrivateKeyExternal?: boolean; } +/** Identifies an object. */ export interface NameIdentifierOutput { /** Name of the object. */ name?: string; } +/** Site seal */ export interface SiteSealOutput { /** HTML snippet */ html: string; } +/** Certificate order action. */ export interface CertificateOrderActionOutput extends ProxyOnlyResourceOutput { /** CertificateOrderAction resource specific properties */ properties?: CertificateOrderActionPropertiesOutput; } +/** CertificateOrderAction resource specific properties */ export interface CertificateOrderActionPropertiesOutput { /** Action type. */ - actionType?: + readonly actionType?: | "CertificateIssued" | "CertificateOrderCanceled" | "CertificateOrderCreated" @@ -312,14 +335,16 @@ export interface CertificateOrderActionPropertiesOutput { | "FraudDocumentationRequired" | "Unknown"; /** Time at which the certificate action was performed. */ - createdAt?: string; + readonly createdAt?: string; } +/** SSL certificate email. */ export interface CertificateEmailOutput extends ProxyOnlyResourceOutput { /** CertificateEmail resource specific properties */ properties?: CertificateEmailPropertiesOutput; } +/** CertificateEmail resource specific properties */ export interface CertificateEmailPropertiesOutput { /** Email id. */ emailId?: string; @@ -327,18 +352,21 @@ export interface CertificateEmailPropertiesOutput { timeStamp?: string; } +/** Collection of detector responses */ export interface DetectorResponseCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Class representing Response from Detector */ export interface DetectorResponseOutput extends ProxyOnlyResourceOutput { /** DetectorResponse resource specific properties */ properties?: DetectorResponsePropertiesOutput; } +/** DetectorResponse resource specific properties */ export interface DetectorResponsePropertiesOutput { /** metadata for the detector */ metadata?: DetectorInfoOutput; @@ -352,34 +380,37 @@ export interface DetectorResponsePropertiesOutput { suggestedUtterances?: QueryUtterancesResultsOutput; } +/** Definition of Detector */ export interface DetectorInfoOutput { /** Id of detector */ - id?: string; + readonly id?: string; /** Name of detector */ - name?: string; + readonly name?: string; /** Short description of the detector and its purpose. */ - description?: string; + readonly description?: string; /** Author of the detector. */ - author?: string; + readonly author?: string; /** Problem category. This serves for organizing group for detectors. */ - category?: string; + readonly category?: string; /** List of Support Topics for which this detector is enabled. */ - supportTopicList?: Array; + readonly supportTopicList?: Array; /** Analysis Types for which this detector should apply to. */ - analysisType?: Array; + readonly analysisType?: Array; /** Whether this detector is an Analysis Detector or not. */ - type?: "Detector" | "Analysis" | "CategoryOverview"; + readonly type?: "Detector" | "Analysis" | "CategoryOverview"; /** Defines score of a detector to power ML based matching. */ - score?: number; + readonly score?: number; } +/** Defines a unique Support Topic */ export interface SupportTopicOutput { /** Support Topic Id */ - id?: string; + readonly id?: string; /** Unique resource Id */ - pesId?: string; + readonly pesId?: string; } +/** Set of data with rendering instructions */ export interface DiagnosticDataOutput { /** Data in table form */ table?: DataTableResponseObjectOutput; @@ -387,6 +418,7 @@ export interface DiagnosticDataOutput { renderingProperties?: RenderingOutput; } +/** Data Table which defines columns and raw row values */ export interface DataTableResponseObjectOutput { /** Name of the table */ tableName?: string; @@ -396,6 +428,7 @@ export interface DataTableResponseObjectOutput { rows?: Array>; } +/** Column definition */ export interface DataTableResponseColumnOutput { /** Name of the column */ columnName?: string; @@ -405,6 +438,7 @@ export interface DataTableResponseColumnOutput { columnType?: string; } +/** Instructions for rendering the data */ export interface RenderingOutput { /** Rendering Type */ type?: @@ -439,6 +473,7 @@ export interface RenderingOutput { description?: string; } +/** Identify the status of the most severe insight generated by the detector. */ export interface StatusOutput { /** Descriptive message. */ message?: string; @@ -446,18 +481,20 @@ export interface StatusOutput { statusId?: "Critical" | "Warning" | "Info" | "Success" | "None"; } +/** Additional configuration for a data providers */ export interface DataProviderMetadataOutput { providerName?: string; /** Settings for the data provider */ - propertyBag?: Array; + readonly propertyBag?: Array; } export interface KeyValuePairStringObjectOutput { - key?: string; + readonly key?: string; /** Any object */ - value?: Record; + readonly value?: Record; } +/** Suggested utterances where the detector can be applicable */ export interface QueryUtterancesResultsOutput { /** Search Query. */ query?: string; @@ -465,6 +502,7 @@ export interface QueryUtterancesResultsOutput { results?: Array; } +/** Result for utterances query. */ export interface QueryUtterancesResultOutput { /** A sample utterance. */ sampleUtterance?: SampleUtteranceOutput; @@ -472,6 +510,7 @@ export interface QueryUtterancesResultOutput { score?: number; } +/** Sample utterance. */ export interface SampleUtteranceOutput { /** Text attribute of sample utterance. */ text?: string; @@ -481,13 +520,15 @@ export interface SampleUtteranceOutput { qid?: string; } +/** Collection of Azure resource manager operation metadata. */ export interface CsmOperationCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Description of an operation available for Microsoft.Web resource provider. */ export interface CsmOperationDescriptionOutput { name?: string; isDataAction?: boolean; @@ -498,6 +539,7 @@ export interface CsmOperationDescriptionOutput { properties?: CsmOperationDescriptionPropertiesOutput; } +/** Meta data about operation used for display in portal. */ export interface CsmOperationDisplayOutput { provider?: string; resource?: string; @@ -505,16 +547,19 @@ export interface CsmOperationDisplayOutput { description?: string; } +/** Properties available for a Microsoft.Web resource provider operation. */ export interface CsmOperationDescriptionPropertiesOutput { /** Resource metrics service provided by Microsoft.Insights resource provider. */ serviceSpecification?: ServiceSpecificationOutput; } +/** Resource metrics service provided by Microsoft.Insights resource provider. */ export interface ServiceSpecificationOutput { metricSpecifications?: Array; logSpecifications?: Array; } +/** Definition of a single resource metric. */ export interface MetricSpecificationOutput { name?: string; displayName?: string; @@ -535,6 +580,10 @@ export interface MetricSpecificationOutput { supportedAggregationTypes?: Array; } +/** + * Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, + * where instance name is dimension of the metric HTTP request + */ export interface DimensionOutput { name?: string; displayName?: string; @@ -542,11 +591,13 @@ export interface DimensionOutput { toBeExportedForShoebox?: boolean; } +/** Retention policy of a resource metric. */ export interface MetricAvailabilityOutput { timeGrain?: string; blobDuration?: string; } +/** Log Definition of a single resource metric. */ export interface LogSpecificationOutput { name?: string; displayName?: string; @@ -554,6 +605,7 @@ export interface LogSpecificationOutput { logFilterPattern?: string; } +/** Domain availability check result. */ export interface DomainAvailabilityCheckResultOutput { /** Name of the domain. */ name?: string; @@ -563,18 +615,21 @@ export interface DomainAvailabilityCheckResultOutput { domainType?: "Regular" | "SoftDeleted"; } +/** Collection of domains. */ export interface DomainCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Information about a domain. */ export interface DomainOutput extends ResourceOutput { /** Domain resource specific properties */ properties?: DomainPropertiesOutput; } +/** Domain resource specific properties */ export interface DomainPropertiesOutput { /** Administrative contact. */ contactAdmin: ContactOutput; @@ -585,7 +640,7 @@ export interface DomainPropertiesOutput { /** Technical contact. */ contactTech: ContactOutput; /** Domain registration status. */ - registrationStatus?: + readonly registrationStatus?: | "Active" | "Awaiting" | "Cancelled" @@ -608,30 +663,30 @@ export interface DomainPropertiesOutput { | "Updated" | "JsonConverterFailed"; /** Domain provisioning state. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Name servers. */ - nameServers?: Array; + readonly nameServers?: Array; /** true if domain privacy is enabled for this domain; otherwise, false. */ privacy?: boolean; /** Domain creation timestamp. */ - createdTime?: string; + readonly createdTime?: string; /** Domain expiration timestamp. */ - expirationTime?: string; + readonly expirationTime?: string; /** Timestamp when the domain was renewed last time. */ - lastRenewedTime?: string; + readonly lastRenewedTime?: string; /** true if the domain should be automatically renewed; otherwise, false. */ autoRenew?: boolean; /** * true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and * it is hosted on name servers Azure has programmatic access to. */ - readyForDnsRecordManagement?: boolean; + readonly readyForDnsRecordManagement?: boolean; /** All hostnames derived from the domain and assigned to Azure resources. */ - managedHostNames?: Array; + readonly managedHostNames?: Array; /** Legal agreement consent. */ consent: DomainPurchaseConsentOutput; /** Reasons why domain is not renewable. */ - domainNotRenewableReasons?: Array< + readonly domainNotRenewableReasons?: Array< | "RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive" @@ -645,6 +700,10 @@ export interface DomainPropertiesOutput { authCode?: string; } +/** + * Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois + * directories as per ICANN requirements. + */ export interface ContactOutput { /** Mailing address. */ addressMailing?: AddressOutput; @@ -666,6 +725,7 @@ export interface ContactOutput { phone: string; } +/** Address information for domain registration. */ export interface AddressOutput { /** First line of an Address. */ address1: string; @@ -681,6 +741,7 @@ export interface AddressOutput { state: string; } +/** Details of a hostname derived from a domain. */ export interface HostNameOutput { /** Name of the hostname. */ name?: string; @@ -696,6 +757,7 @@ export interface HostNameOutput { hostNameType?: "Verified" | "Managed"; } +/** Domain purchase consent object, representing acceptance of applicable legal agreements. */ export interface DomainPurchaseConsentOutput { /** List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource. */ agreementKeys?: Array; @@ -705,27 +767,31 @@ export interface DomainPurchaseConsentOutput { agreedAt?: string; } +/** Single sign-on request information for domain management. */ export interface DomainControlCenterSsoRequestOutput { /** URL where the single sign-on request is to be made. */ - url?: string; + readonly url?: string; /** Post parameter key. */ - postParameterKey?: string; + readonly postParameterKey?: string; /** Post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value. */ - postParameterValue?: string; + readonly postParameterValue?: string; } +/** Collection of domain name identifiers. */ export interface NameIdentifierCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** ARM resource for a domain. */ export interface DomainPatchResourceOutput extends ProxyOnlyResourceOutput { /** DomainPatchResource resource specific properties */ properties?: DomainPatchResourcePropertiesOutput; } +/** DomainPatchResource resource specific properties */ export interface DomainPatchResourcePropertiesOutput { /** Administrative contact. */ contactAdmin: ContactOutput; @@ -736,7 +802,7 @@ export interface DomainPatchResourcePropertiesOutput { /** Technical contact. */ contactTech: ContactOutput; /** Domain registration status. */ - registrationStatus?: + readonly registrationStatus?: | "Active" | "Awaiting" | "Cancelled" @@ -759,30 +825,30 @@ export interface DomainPatchResourcePropertiesOutput { | "Updated" | "JsonConverterFailed"; /** Domain provisioning state. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Name servers. */ - nameServers?: Array; + readonly nameServers?: Array; /** true if domain privacy is enabled for this domain; otherwise, false. */ privacy?: boolean; /** Domain creation timestamp. */ - createdTime?: string; + readonly createdTime?: string; /** Domain expiration timestamp. */ - expirationTime?: string; + readonly expirationTime?: string; /** Timestamp when the domain was renewed last time. */ - lastRenewedTime?: string; + readonly lastRenewedTime?: string; /** true if the domain should be automatically renewed; otherwise, false. */ autoRenew?: boolean; /** * true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and * it is hosted on name servers Azure has programmatic access to. */ - readyForDnsRecordManagement?: boolean; + readonly readyForDnsRecordManagement?: boolean; /** All hostnames derived from the domain and assigned to Azure resources. */ - managedHostNames?: Array; + readonly managedHostNames?: Array; /** Legal agreement consent. */ consent: DomainPurchaseConsentOutput; /** Reasons why domain is not renewable. */ - domainNotRenewableReasons?: Array< + readonly domainNotRenewableReasons?: Array< | "RegistrationStatusNotSupportedForRenewal" | "ExpirationNotInRenewalTimeRange" | "SubscriptionNotActive" @@ -796,47 +862,55 @@ export interface DomainPatchResourcePropertiesOutput { authCode?: string; } +/** Collection of domain ownership identifiers. */ export interface DomainOwnershipIdentifierCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Domain ownership Identifier. */ export interface DomainOwnershipIdentifierOutput extends ProxyOnlyResourceOutput { /** DomainOwnershipIdentifier resource specific properties */ properties?: DomainOwnershipIdentifierPropertiesOutput; } +/** DomainOwnershipIdentifier resource specific properties */ export interface DomainOwnershipIdentifierPropertiesOutput { /** Ownership Id. */ ownershipId?: string; } +/** Collection of Top-level domains. */ export interface TopLevelDomainCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A top level domain object. */ export interface TopLevelDomainOutput extends ProxyOnlyResourceOutput { /** TopLevelDomain resource specific properties */ properties?: TopLevelDomainPropertiesOutput; } +/** TopLevelDomain resource specific properties */ export interface TopLevelDomainPropertiesOutput { /** If true, then the top level domain supports domain privacy; otherwise, false. */ privacy?: boolean; } +/** Collection of top-level domain legal agreements. */ export interface TldLegalAgreementCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Legal agreement for a top level domain. */ export interface TldLegalAgreementOutput { /** Unique identifier for the agreement. */ agreementKey: string; @@ -848,23 +922,26 @@ export interface TldLegalAgreementOutput { url?: string; } +/** Collection of App Service Environments. */ export interface AppServiceEnvironmentCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** App Service Environment ARM resource. */ export interface AppServiceEnvironmentResourceOutput extends ResourceOutput { /** Core resource properties */ properties?: AppServiceEnvironmentOutput; } +/** Description of an App Service Environment. */ export interface AppServiceEnvironmentOutput { /** Provisioning state of the App Service Environment. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Current status of the App Service Environment. */ - status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; + readonly status?: "Preparing" | "Ready" | "Scaling" | "Deleting"; /** Description of the Virtual Network. */ virtualNetwork: VirtualNetworkProfileOutput; /** Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. */ @@ -872,43 +949,45 @@ export interface AppServiceEnvironmentOutput { /** Front-end VM size, e.g. "Medium", "Large". */ multiSize?: string; /** Number of front-end instances. */ - multiRoleCount?: number; + readonly multiRoleCount?: number; /** Number of IP SSL addresses reserved for the App Service Environment. */ ipsslAddressCount?: number; /** DNS suffix of the App Service Environment. */ dnsSuffix?: string; /** Maximum number of VMs in the App Service Environment. */ - maximumNumberOfMachines?: number; + readonly maximumNumberOfMachines?: number; /** Scale factor for front-ends. */ frontEndScaleFactor?: number; /** * true if the App Service Environment is suspended; otherwise, false. The environment can be suspended, e.g. when the management endpoint is no longer available * (most likely because NSG blocked the incoming traffic). */ - suspended?: boolean; + readonly suspended?: boolean; /** Custom settings for changing the behavior of the App Service Environment. */ clusterSettings?: Array; /** User added ip ranges to whitelist on ASE db */ userWhitelistedIpRanges?: Array; /** Flag that displays whether an ASE has linux workers or not */ - hasLinuxWorkers?: boolean; + readonly hasLinuxWorkers?: boolean; /** Dedicated Host Count */ dedicatedHostCount?: number; /** Whether or not this App Service Environment is zone-redundant. */ zoneRedundant?: boolean; } +/** Specification for using a Virtual Network. */ export interface VirtualNetworkProfileOutput { /** Resource id of the Virtual Network. */ id: string; /** Name of the Virtual Network (read-only). */ - name?: string; + readonly name?: string; /** Resource type of the Virtual Network (read-only). */ - type?: string; + readonly type?: string; /** Subnet within the Virtual Network. */ subnet?: string; } +/** Name value pair. */ export interface NameValuePairOutput { /** Pair name. */ name?: string; @@ -916,18 +995,21 @@ export interface NameValuePairOutput { value?: string; } +/** ARM resource for a app service environment. */ export interface AppServiceEnvironmentPatchResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: AppServiceEnvironmentOutput; } +/** Collection of stamp capacities. */ export interface StampCapacityCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Stamp capacity information. */ export interface StampCapacityOutput { /** Name of the stamp. */ name?: string; @@ -973,11 +1055,13 @@ export interface StampCapacityOutput { isLinux?: boolean; } +/** Describes main public IP address and any extra virtual IPs. */ export interface AddressResponseOutput extends ProxyOnlyResourceOutput { /** AddressResponse resource specific properties */ properties?: AddressResponsePropertiesOutput; } +/** AddressResponse resource specific properties */ export interface AddressResponsePropertiesOutput { /** Main public virtual IP. */ serviceIpAddress?: string; @@ -989,6 +1073,7 @@ export interface AddressResponsePropertiesOutput { vipMappings?: Array; } +/** Virtual IP mapping. */ export interface VirtualIPMappingOutput { /** Virtual IP address. */ virtualIP?: string; @@ -1002,13 +1087,15 @@ export interface VirtualIPMappingOutput { serviceName?: string; } +/** Collection of App Service apps. */ export interface WebAppCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A web app, a mobile app backend, or an API app. */ export interface SiteOutput extends ResourceOutput { /** Site resource specific properties */ properties?: SitePropertiesOutput; @@ -1018,24 +1105,25 @@ export interface SiteOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; } +/** Site resource specific properties */ export interface SitePropertiesOutput { /** Current state of the app. */ - state?: string; + readonly state?: string; /** Hostnames associated with the app. */ - hostNames?: Array; + readonly hostNames?: Array; /** Name of the repository site. */ - repositorySiteName?: string; + readonly repositorySiteName?: string; /** State indicating whether the app has exceeded its quota usage. Read-only. */ - usageState?: "Normal" | "Exceeded"; + readonly usageState?: "Normal" | "Exceeded"; /** true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). */ enabled?: boolean; /** * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, * the app is not served on those hostnames. */ - enabledHostNames?: Array; + readonly enabledHostNames?: Array; /** Management information availability state for the app. */ - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; + readonly availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; /** Hostname SSL states are used to manage the SSL bindings for app's hostnames. */ hostNameSslStates?: Array; /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ @@ -1047,15 +1135,15 @@ export interface SitePropertiesOutput { /** Hyper-V sandbox. */ hyperV?: boolean; /** Last time the app was modified, in UTC. Read-only. */ - lastModifiedTimeUtc?: string; + readonly lastModifiedTimeUtc?: string; /** Configuration of the app. */ siteConfig?: SiteConfigOutput; /** Azure Traffic Manager hostnames associated with the app. Read-only. */ - trafficManagerHostNames?: Array; + readonly trafficManagerHostNames?: Array; /** true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. */ scmSiteAlsoStopped?: boolean; /** Specifies which deployment slot this app will swap into. Read-only. */ - targetSwapSlot?: string; + readonly targetSwapSlot?: string; /** App Service Environment to use for the app. */ hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true. */ @@ -1079,30 +1167,30 @@ export interface SitePropertiesOutput { /** Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. */ customDomainVerificationId?: string; /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. */ - outboundIpAddresses?: string; + readonly outboundIpAddresses?: string; /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only. */ - possibleOutboundIpAddresses?: string; + readonly possibleOutboundIpAddresses?: string; /** Size of the function container. */ containerSize?: number; /** Maximum allowed daily memory-time quota (applicable on dynamic apps only). */ dailyMemoryTimeQuota?: number; /** App suspended till in case memory-time quota is exceeded. */ - suspendedTill?: string; + readonly suspendedTill?: string; /** * Maximum number of workers. * This only applies to Functions container. */ - maxNumberOfWorkers?: number; + readonly maxNumberOfWorkers?: number; /** If specified during app creation, the app is cloned from a source app. */ cloningInfo?: CloningInfoOutput; /** Name of the resource group the app belongs to. Read-only. */ - resourceGroup?: string; + readonly resourceGroup?: string; /** true if the app is a default container; otherwise, false. */ - isDefaultContainer?: boolean; + readonly isDefaultContainer?: boolean; /** Default hostname of the app. Read-only. */ - defaultHostName?: string; + readonly defaultHostName?: string; /** Status of the last deployment slot swap operation. */ - slotSwapStatus?: SlotSwapStatusOutput; + readonly slotSwapStatus?: SlotSwapStatusOutput; /** * HttpsOnly: configures a web site to accept only https requests. Issues redirect for * http requests @@ -1115,7 +1203,7 @@ export interface SitePropertiesOutput { * * Value may contain a UUID */ - inProgressOperationId?: string; + readonly inProgressOperationId?: string; /** Checks if Customer provided storage account is required */ storageAccountRequired?: boolean; /** Identity to use for Key Vault Reference authentication. */ @@ -1127,6 +1215,7 @@ export interface SitePropertiesOutput { virtualNetworkSubnetId?: string; } +/** SSL-enabled hostname. */ export interface HostNameSslStateOutput { /** Hostname. */ name?: string; @@ -1142,6 +1231,7 @@ export interface HostNameSslStateOutput { hostType?: "Standard" | "Repository"; } +/** Configuration of an App Service app. */ export interface SiteConfigOutput { /** Number of workers. */ numberOfWorkers?: number; @@ -1186,7 +1276,7 @@ export interface SiteConfigOutput { /** Connection strings. */ connectionStrings?: Array; /** Site MachineKey. */ - machineKey?: SiteMachineKeyOutput; + readonly machineKey?: SiteMachineKeyOutput; /** Handler mappings. */ handlerMappings?: Array; /** Document root. */ @@ -1312,6 +1402,7 @@ export interface SiteConfigOutput { publicNetworkAccess?: string; } +/** Database connection string information. */ export interface ConnStringInfoOutput { /** Name of connection string. */ name?: string; @@ -1332,6 +1423,7 @@ export interface ConnStringInfoOutput { | "PostgreSQL"; } +/** MachineKey of an app. */ export interface SiteMachineKeyOutput { /** MachineKey validation. */ validation?: string; @@ -1343,6 +1435,10 @@ export interface SiteMachineKeyOutput { decryptionKey?: string; } +/** + * The IIS handler mappings used to define which handler processes HTTP requests with certain extension. + * For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension. + */ export interface HandlerMappingOutput { /** Requests with this extension will be handled using the specified FastCGI application. */ extension?: string; @@ -1352,6 +1448,7 @@ export interface HandlerMappingOutput { arguments?: string; } +/** Virtual application in an app. */ export interface VirtualApplicationOutput { /** Virtual path. */ virtualPath?: string; @@ -1363,6 +1460,7 @@ export interface VirtualApplicationOutput { virtualDirectories?: Array; } +/** Directory for virtual application. */ export interface VirtualDirectoryOutput { /** Path to virtual application. */ virtualPath?: string; @@ -1370,11 +1468,13 @@ export interface VirtualDirectoryOutput { physicalPath?: string; } +/** Routing rules in production experiments. */ export interface ExperimentsOutput { /** List of ramp-up rules. */ rampUpRules?: Array; } +/** Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance. */ export interface RampUpRuleOutput { /** Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. */ actionHostName?: string; @@ -1401,6 +1501,7 @@ export interface RampUpRuleOutput { name?: string; } +/** Metric limits set on an app. */ export interface SiteLimitsOutput { /** Maximum allowed CPU usage percentage. */ maxPercentageCpu?: number; @@ -1410,6 +1511,7 @@ export interface SiteLimitsOutput { maxDiskSizeInMb?: number; } +/** Rules that can be defined for auto-heal. */ export interface AutoHealRulesOutput { /** Conditions that describe when to execute the auto-heal actions. */ triggers?: AutoHealTriggersOutput; @@ -1417,6 +1519,7 @@ export interface AutoHealRulesOutput { actions?: AutoHealActionsOutput; } +/** Triggers for auto-heal. */ export interface AutoHealTriggersOutput { /** A rule based on total requests. */ requests?: RequestsBasedTriggerOutput; @@ -1432,6 +1535,7 @@ export interface AutoHealTriggersOutput { statusCodesRange?: Array; } +/** Trigger based on total requests. */ export interface RequestsBasedTriggerOutput { /** Request Count. */ count?: number; @@ -1439,6 +1543,7 @@ export interface RequestsBasedTriggerOutput { timeInterval?: string; } +/** Trigger based on status code. */ export interface StatusCodesBasedTriggerOutput { /** HTTP status code. */ status?: number; @@ -1454,6 +1559,7 @@ export interface StatusCodesBasedTriggerOutput { path?: string; } +/** Trigger based on request execution time. */ export interface SlowRequestsBasedTriggerOutput { /** Time taken. */ timeTaken?: string; @@ -1465,6 +1571,7 @@ export interface SlowRequestsBasedTriggerOutput { timeInterval?: string; } +/** Trigger based on range of status codes. */ export interface StatusCodesRangeBasedTriggerOutput { /** HTTP status code. */ statusCodes?: string; @@ -1475,6 +1582,7 @@ export interface StatusCodesRangeBasedTriggerOutput { timeInterval?: string; } +/** Actions which to take by the auto-heal module when a rule is triggered. */ export interface AutoHealActionsOutput { /** Predefined action to be taken. */ actionType?: "Recycle" | "LogEvent" | "CustomAction"; @@ -1487,6 +1595,10 @@ export interface AutoHealActionsOutput { minProcessExecutionTime?: string; } +/** + * Custom action to be executed + * when an auto heal rule is triggered. + */ export interface AutoHealCustomActionOutput { /** Executable to be run. */ exe?: string; @@ -1494,6 +1606,7 @@ export interface AutoHealCustomActionOutput { parameters?: string; } +/** Cross-Origin Resource Sharing (CORS) settings for the app. */ export interface CorsSettingsOutput { /** * Gets or sets the list of origins that should be allowed to make cross-origin @@ -1508,11 +1621,13 @@ export interface CorsSettingsOutput { supportCredentials?: boolean; } +/** Push settings for the App. */ export interface PushSettingsOutput extends ProxyOnlyResourceOutput { /** PushSettings resource specific properties */ properties?: PushSettingsPropertiesOutput; } +/** PushSettings resource specific properties */ export interface PushSettingsPropertiesOutput { /** Gets or sets a flag indicating whether the Push endpoint is enabled. */ isPushEnabled: boolean; @@ -1529,16 +1644,19 @@ export interface PushSettingsPropertiesOutput { dynamicTagsJson?: string; } +/** Information about the formal API definition for the app. */ export interface ApiDefinitionInfoOutput { /** The URL of the API definition. */ url?: string; } +/** Azure API management (APIM) configuration linked to the app. */ export interface ApiManagementConfigOutput { /** APIM-Api Identifier. */ id?: string; } +/** IP security restriction on an app. */ export interface IpSecurityRestrictionOutput { /** * IP address the security restriction is valid for. @@ -1586,6 +1704,7 @@ export interface IpSecurityRestrictionOutput { headers?: Record>; } +/** Azure Files or Blob Storage access information value for dictionary storage. */ export interface AzureStorageInfoValueOutput { /** Type of storage. */ type?: "AzureFiles" | "AzureBlob"; @@ -1598,18 +1717,20 @@ export interface AzureStorageInfoValueOutput { /** Path to mount the storage within the site's runtime environment. */ mountPath?: string; /** State of the storage account. */ - state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; + readonly state?: "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; } +/** Specification for an App Service Environment to use for this resource. */ export interface HostingEnvironmentProfileOutput { /** Resource ID of the App Service Environment. */ id?: string; /** Name of the App Service Environment. */ - name?: string; + readonly name?: string; /** Resource type of the App Service Environment. */ - type?: string; + readonly type?: string; } +/** Information needed for cloning operation. */ export interface CloningInfoOutput { /** * Correlation ID of cloning operation. This ID ties multiple cloning operations @@ -1650,54 +1771,61 @@ export interface CloningInfoOutput { trafficManagerProfileName?: string; } +/** The status of the last successful slot swap operation. */ export interface SlotSwapStatusOutput { /** The time the last successful slot swap completed. */ - timestampUtc?: string; + readonly timestampUtc?: string; /** The source slot of the last swap operation. */ - sourceSlotName?: string; + readonly sourceSlotName?: string; /** The destination slot of the last swap operation. */ - destinationSlotName?: string; + readonly destinationSlotName?: string; } +/** Managed service identity. */ export interface ManagedServiceIdentityOutput { /** Type of managed service identity. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** Tenant of managed service identity. */ - tenantId?: string; + readonly tenantId?: string; /** Principal Id of managed service identity. */ - principalId?: string; + readonly principalId?: string; /** The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} */ userAssignedIdentities?: Record; } +/** User Assigned identity. */ export interface UserAssignedIdentityOutput { /** Principal Id of user assigned identity */ - principalId?: string; + readonly principalId?: string; /** Client Id of user assigned identity */ - clientId?: string; + readonly clientId?: string; } +/** Extended Location. */ export interface ExtendedLocationOutput { /** Name of extended location. */ name?: string; /** Type of extended location. */ - type?: string; + readonly type?: string; } +/** Full view of networking configuration for an ASE. */ export interface AseV3NetworkingConfigurationOutput extends ProxyOnlyResourceOutput { /** AseV3NetworkingConfiguration resource specific properties */ properties?: AseV3NetworkingConfigurationPropertiesOutput; } +/** AseV3NetworkingConfiguration resource specific properties */ export interface AseV3NetworkingConfigurationPropertiesOutput { - windowsOutboundIpAddresses?: Array; - linuxOutboundIpAddresses?: Array; - externalInboundIpAddresses?: Array; - internalInboundIpAddresses?: Array; + readonly windowsOutboundIpAddresses?: Array; + readonly linuxOutboundIpAddresses?: Array; + readonly externalInboundIpAddresses?: Array; + readonly internalInboundIpAddresses?: Array; /** Property to enable and disable new private endpoint connection creation on ASE */ allowNewPrivateEndpointConnections?: boolean; } +/** Diagnostics for an App Service Environment. */ export interface HostingEnvironmentDiagnosticsOutput { /** Name/identifier of the diagnostics. */ name?: string; @@ -1705,13 +1833,15 @@ export interface HostingEnvironmentDiagnosticsOutput { diagnosticsOutput?: string; } +/** Collection of Inbound Environment Endpoints */ export interface InboundEnvironmentEndpointCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment. */ export interface InboundEnvironmentEndpointOutput { /** Short text describing the purpose of the network traffic. */ description?: string; @@ -1721,13 +1851,15 @@ export interface InboundEnvironmentEndpointOutput { ports?: Array; } +/** Collection of worker pools. */ export interface WorkerPoolCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Worker pool of an App Service Environment ARM resource. */ export interface WorkerPoolResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: WorkerPoolOutput; @@ -1735,6 +1867,7 @@ export interface WorkerPoolResourceOutput extends ProxyOnlyResourceOutput { sku?: SkuDescriptionOutput; } +/** Worker pool of an App Service Environment. */ export interface WorkerPoolOutput { /** Worker size ID for referencing this worker pool. */ workerSizeId?: number; @@ -1745,9 +1878,10 @@ export interface WorkerPoolOutput { /** Number of instances in the worker pool. */ workerCount?: number; /** Names of all instances in the worker pool (read only). */ - instanceNames?: Array; + readonly instanceNames?: Array; } +/** Description of a SKU for a scalable resource. */ export interface SkuDescriptionOutput { /** Name of the resource SKU. */ name?: string; @@ -1767,6 +1901,7 @@ export interface SkuDescriptionOutput { capabilities?: Array; } +/** Description of the App Service plan scale options. */ export interface SkuCapacityOutput { /** Minimum number of workers for this App Service plan SKU. */ minimum?: number; @@ -1780,6 +1915,7 @@ export interface SkuCapacityOutput { scaleType?: string; } +/** Describes the capabilities/features allowed for a specific SKU. */ export interface CapabilityOutput { /** Name of the SKU capability. */ name?: string; @@ -1789,45 +1925,51 @@ export interface CapabilityOutput { reason?: string; } +/** Collection of metric definitions. */ export interface ResourceMetricDefinitionCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Metadata for the metrics. */ export interface ResourceMetricDefinitionOutput extends ProxyOnlyResourceOutput { /** ResourceMetricDefinition resource specific properties */ properties?: ResourceMetricDefinitionPropertiesOutput; } +/** ResourceMetricDefinition resource specific properties */ export interface ResourceMetricDefinitionPropertiesOutput { /** Unit of the metric. */ - unit?: string; + readonly unit?: string; /** Primary aggregation type. */ - primaryAggregationType?: string; + readonly primaryAggregationType?: string; /** List of time grains supported for the metric together with retention period. */ - metricAvailabilities?: Array; + readonly metricAvailabilities?: Array; /** Resource URI. */ - resourceUri?: string; + readonly resourceUri?: string; /** Resource metric definition properties. */ - properties?: Record; + readonly properties?: Record; } +/** Metrics availability and retention. */ export interface ResourceMetricAvailabilityOutput { /** Time grain . */ - timeGrain?: string; + readonly timeGrain?: string; /** Retention period for the current time grain. */ - retention?: string; + readonly retention?: string; } +/** Collection of SKU information. */ export interface SkuInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** SKU discovery information. */ export interface SkuInfoOutput { /** Resource type that this SKU applies to. */ resourceType?: string; @@ -1837,37 +1979,41 @@ export interface SkuInfoOutput { capacity?: SkuCapacityOutput; } +/** Collection of usages. */ export interface UsageCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Usage of the quota resource. */ export interface UsageOutput extends ProxyOnlyResourceOutput { /** Usage resource specific properties */ properties?: UsagePropertiesOutput; } +/** Usage resource specific properties */ export interface UsagePropertiesOutput { /** Friendly name shown in the UI. */ - displayName?: string; + readonly displayName?: string; /** Name of the quota resource. */ - resourceName?: string; + readonly resourceName?: string; /** Units of measurement for the quota resource. */ - unit?: string; + readonly unit?: string; /** The current value of the resource counter. */ - currentValue?: number; + readonly currentValue?: number; /** The resource limit. */ - limit?: number; + readonly limit?: number; /** Next reset time for the resource counter. */ - nextResetTime?: string; + readonly nextResetTime?: string; /** Compute mode used for this usage. */ - computeMode?: "Shared" | "Dedicated" | "Dynamic"; + readonly computeMode?: "Shared" | "Dedicated" | "Dynamic"; /** Site mode used for this usage. */ - siteMode?: string; + readonly siteMode?: string; } +/** An operation on a resource. */ export interface OperationOutput { /** Operation ID. */ id?: string; @@ -1891,6 +2037,7 @@ export interface OperationOutput { geoMasterOperationId?: string; } +/** Body of the error response returned from the API. */ export interface ErrorEntityOutput { /** Type of error. */ extendedCode?: string; @@ -1910,13 +2057,15 @@ export interface ErrorEntityOutput { message?: string; } +/** Collection of Outbound Environment Endpoints */ export interface OutboundEnvironmentEndpointCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. */ export interface OutboundEnvironmentEndpointOutput { /** The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory. */ category?: string; @@ -1924,6 +2073,7 @@ export interface OutboundEnvironmentEndpointOutput { endpoints?: Array; } +/** A domain name that a service is reached at, including details of the current connection status. */ export interface EndpointDependencyOutput { /** The domain name of the dependency. */ domainName?: string; @@ -1931,6 +2081,7 @@ export interface EndpointDependencyOutput { endpointDetails?: Array; } +/** Current TCP connectivity information from the App Service Environment to a single endpoint. */ export interface EndpointDetailOutput { /** An IP Address that Domain Name currently resolves to. */ ipAddress?: string; @@ -1946,16 +2097,18 @@ export interface PrivateEndpointConnectionCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Remote Private Endpoint Connection ARM resource. */ export interface RemotePrivateEndpointConnectionARMResourceOutput extends ProxyOnlyResourceOutput { /** RemotePrivateEndpointConnectionARMResource resource specific properties */ properties?: RemotePrivateEndpointConnectionARMResourcePropertiesOutput; } +/** RemotePrivateEndpointConnectionARMResource resource specific properties */ export interface RemotePrivateEndpointConnectionARMResourcePropertiesOutput { - provisioningState?: string; + readonly provisioningState?: string; /** PrivateEndpoint of a remote private endpoint connection */ privateEndpoint?: ArmIdWrapperOutput; /** The state of a private link connection */ @@ -1964,10 +2117,12 @@ export interface RemotePrivateEndpointConnectionARMResourcePropertiesOutput { ipAddresses?: Array; } +/** A wrapper for an ARM resource id */ export interface ArmIdWrapperOutput { - id?: string; + readonly id?: string; } +/** The state of a private link connection */ export interface PrivateLinkConnectionStateOutput { /** Status of a private link connection */ status?: string; @@ -1977,21 +2132,25 @@ export interface PrivateLinkConnectionStateOutput { actionsRequired?: string; } +/** Private Endpoint Connection Approval ARM resource. */ export interface PrivateLinkConnectionApprovalRequestResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: PrivateLinkConnectionApprovalRequestOutput; } +/** A request to approve or reject a private endpoint connection */ export interface PrivateLinkConnectionApprovalRequestOutput { /** The state of a private link connection */ privateLinkServiceConnectionState?: PrivateLinkConnectionStateOutput; } +/** Wrapper for a collection of private link resources */ export interface PrivateLinkResourcesWrapperOutput { value: Array; } +/** A private link resource */ export interface PrivateLinkResourceOutput { id: string; /** Name of a private link resource */ @@ -2001,22 +2160,25 @@ export interface PrivateLinkResourceOutput { properties: PrivateLinkResourcePropertiesOutput; } +/** Properties of a private link resource */ export interface PrivateLinkResourcePropertiesOutput { /** GroupId of a private link resource */ - groupId?: string; + readonly groupId?: string; /** RequiredMembers of a private link resource */ - requiredMembers?: Array; + readonly requiredMembers?: Array; /** RequiredZoneNames of a private link resource */ - requiredZoneNames?: Array; + readonly requiredZoneNames?: Array; } +/** Collection of App Service plans. */ export interface AppServicePlanCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** App Service plan. */ export interface AppServicePlanOutput extends ResourceOutput { /** AppServicePlan resource specific properties */ properties?: AppServicePlanPropertiesOutput; @@ -2026,19 +2188,20 @@ export interface AppServicePlanOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; } +/** AppServicePlan resource specific properties */ export interface AppServicePlanPropertiesOutput { /** Target worker tier assigned to the App Service plan. */ workerTierName?: string; /** App Service plan status. */ - status?: "Ready" | "Pending" | "Creating"; + readonly status?: "Ready" | "Pending" | "Creating"; /** App Service plan subscription. */ - subscription?: string; + readonly subscription?: string; /** Specification for the App Service Environment to use for the App Service plan. */ hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** Maximum number of instances that can be assigned to this App Service plan. */ - maximumNumberOfWorkers?: number; + readonly maximumNumberOfWorkers?: number; /** Geographical location for the App Service plan. */ - geoRegion?: string; + readonly geoRegion?: string; /** * If true, apps assigned to this App Service plan can be scaled independently. * If false, apps assigned to this App Service plan will scale to all instances of the plan. @@ -2049,7 +2212,7 @@ export interface AppServicePlanPropertiesOutput { /** Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan */ maximumElasticWorkerCount?: number; /** Number of apps assigned to this App Service plan. */ - numberOfSites?: number; + readonly numberOfSites?: number; /** If true, this App Service Plan owns spot instances. */ isSpot?: boolean; /** The time when the server farm expires. Valid only if it is a spot server farm. */ @@ -2057,7 +2220,7 @@ export interface AppServicePlanPropertiesOutput { /** The time when the server farm free offer expires. */ freeOfferExpirationTime?: string; /** Resource group of the App Service plan. */ - resourceGroup?: string; + readonly resourceGroup?: string; /** If Linux app service plan true, false otherwise. */ reserved?: boolean; /** Obsolete: If Hyper-V container app service plan true, false otherwise. */ @@ -2069,7 +2232,7 @@ export interface AppServicePlanPropertiesOutput { /** Scaling worker size ID. */ targetWorkerSizeId?: number; /** Provisioning state of the App Service Plan. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Specification for the Kubernetes Environment to use for the App Service plan. */ kubeEnvironmentProfile?: KubeEnvironmentProfileOutput; /** @@ -2079,22 +2242,25 @@ export interface AppServicePlanPropertiesOutput { zoneRedundant?: boolean; } +/** Specification for a Kubernetes Environment to use for this resource. */ export interface KubeEnvironmentProfileOutput { /** Resource ID of the Kubernetes Environment. */ id?: string; /** Name of the Kubernetes Environment. */ - name?: string; + readonly name?: string; /** Resource type of the Kubernetes Environment. */ - type?: string; + readonly type?: string; } +/** Collection of CSM usage quotas. */ export interface CsmUsageQuotaCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Usage of the quota resource. */ export interface CsmUsageQuotaOutput { /** Units of measurement for the quota resource. */ unit?: string; @@ -2108,6 +2274,7 @@ export interface CsmUsageQuotaOutput { name?: LocalizableStringOutput; } +/** Localizable string object containing the name and a localized value. */ export interface LocalizableStringOutput { /** Non-localized name. */ value?: string; @@ -2115,24 +2282,26 @@ export interface LocalizableStringOutput { localizedValue?: string; } +/** ARM resource for a app service plan. */ export interface AppServicePlanPatchResourceOutput extends ProxyOnlyResourceOutput { /** AppServicePlanPatchResource resource specific properties */ properties?: AppServicePlanPatchResourcePropertiesOutput; } +/** AppServicePlanPatchResource resource specific properties */ export interface AppServicePlanPatchResourcePropertiesOutput { /** Target worker tier assigned to the App Service plan. */ workerTierName?: string; /** App Service plan status. */ - status?: "Ready" | "Pending" | "Creating"; + readonly status?: "Ready" | "Pending" | "Creating"; /** App Service plan subscription. */ - subscription?: string; + readonly subscription?: string; /** Specification for the App Service Environment to use for the App Service plan. */ hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** Maximum number of instances that can be assigned to this App Service plan. */ - maximumNumberOfWorkers?: number; + readonly maximumNumberOfWorkers?: number; /** Geographical location for the App Service plan. */ - geoRegion?: string; + readonly geoRegion?: string; /** * If true, apps assigned to this App Service plan can be scaled independently. * If false, apps assigned to this App Service plan will scale to all instances of the plan. @@ -2143,7 +2312,7 @@ export interface AppServicePlanPatchResourcePropertiesOutput { /** Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan */ maximumElasticWorkerCount?: number; /** Number of apps assigned to this App Service plan. */ - numberOfSites?: number; + readonly numberOfSites?: number; /** If true, this App Service Plan owns spot instances. */ isSpot?: boolean; /** The time when the server farm expires. Valid only if it is a spot server farm. */ @@ -2151,7 +2320,7 @@ export interface AppServicePlanPatchResourcePropertiesOutput { /** The time when the server farm free offer expires. */ freeOfferExpirationTime?: string; /** Resource group of the App Service plan. */ - resourceGroup?: string; + readonly resourceGroup?: string; /** If Linux app service plan true, false otherwise. */ reserved?: boolean; /** Obsolete: If Hyper-V container app service plan true, false otherwise. */ @@ -2163,7 +2332,7 @@ export interface AppServicePlanPatchResourcePropertiesOutput { /** Scaling worker size ID. */ targetWorkerSizeId?: number; /** Provisioning state of the App Service Plan. */ - provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; /** Specification for the Kubernetes Environment to use for the App Service plan. */ kubeEnvironmentProfile?: KubeEnvironmentProfileOutput; /** @@ -2173,11 +2342,13 @@ export interface AppServicePlanPatchResourcePropertiesOutput { zoneRedundant?: boolean; } +/** Hybrid Connection contract. This is used to configure a Hybrid Connection. */ export interface HybridConnectionOutput extends ProxyOnlyResourceOutput { /** HybridConnection resource specific properties */ properties?: HybridConnectionPropertiesOutput; } +/** HybridConnection resource specific properties */ export interface HybridConnectionPropertiesOutput { /** The name of the Service Bus namespace. */ serviceBusNamespace?: string; @@ -2200,74 +2371,84 @@ export interface HybridConnectionPropertiesOutput { serviceBusSuffix?: string; } +/** Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection. */ export interface HybridConnectionKeyOutput extends ProxyOnlyResourceOutput { /** HybridConnectionKey resource specific properties */ properties?: HybridConnectionKeyPropertiesOutput; } +/** HybridConnectionKey resource specific properties */ export interface HybridConnectionKeyPropertiesOutput { /** The name of the send key. */ - sendKeyName?: string; + readonly sendKeyName?: string; /** The value of the send key. */ - sendKeyValue?: string; + readonly sendKeyValue?: string; } +/** Collection of resources. */ export interface ResourceCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections. */ export interface HybridConnectionLimitsOutput extends ProxyOnlyResourceOutput { /** HybridConnectionLimits resource specific properties */ properties?: HybridConnectionLimitsPropertiesOutput; } +/** HybridConnectionLimits resource specific properties */ export interface HybridConnectionLimitsPropertiesOutput { /** The current number of Hybrid Connections. */ - current?: number; + readonly current?: number; /** The maximum number of Hybrid Connections allowed. */ - maximum?: number; + readonly maximum?: number; } +/** Collection of hostname bindings. */ export interface HybridConnectionCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Virtual Network information ARM resource. */ export interface VnetInfoResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: VnetInfoOutput; } +/** Virtual Network information contract. */ export interface VnetInfoOutput { /** The Virtual Network's resource ID. */ vnetResourceId?: string; /** The client certificate thumbprint. */ - certThumbprint?: string; + readonly certThumbprint?: string; /** * A certificate file (.cer) blob containing the public key of the private key used to authenticate a * Point-To-Site VPN connection. */ certBlob?: string; /** The routes that this Virtual Network connection uses. */ - routes?: Array; + readonly routes?: Array; /** true if a resync is required; otherwise, false. */ - resyncRequired?: boolean; + readonly resyncRequired?: boolean; /** DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. */ dnsServers?: string; /** Flag that is used to denote if this is VNET injection */ isSwift?: boolean; } +/** Virtual Network route contract used to pass routing information for a Virtual Network. */ export interface VnetRouteOutput extends ProxyOnlyResourceOutput { /** VnetRoute resource specific properties */ properties?: VnetRoutePropertiesOutput; } +/** VnetRoute resource specific properties */ export interface VnetRoutePropertiesOutput { /** The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. */ startAddress?: string; @@ -2284,11 +2465,13 @@ export interface VnetRoutePropertiesOutput { routeType?: "DEFAULT" | "INHERITED" | "STATIC"; } +/** The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package. */ export interface VnetGatewayOutput extends ProxyOnlyResourceOutput { /** VnetGateway resource specific properties */ properties?: VnetGatewayPropertiesOutput; } +/** VnetGateway resource specific properties */ export interface VnetGatewayPropertiesOutput { /** The Virtual Network name. */ vnetName?: string; @@ -2296,25 +2479,28 @@ export interface VnetGatewayPropertiesOutput { vpnPackageUri: string; } +/** Collection of certificates. */ export interface CertificateCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** SSL certificate for an app. */ export interface CertificateOutput extends ResourceOutput { /** Certificate resource specific properties */ properties?: CertificatePropertiesOutput; } +/** Certificate resource specific properties */ export interface CertificatePropertiesOutput { /** Certificate password. */ password?: string; /** Friendly name of the certificate. */ - friendlyName?: string; + readonly friendlyName?: string; /** Subject name of the certificate. */ - subjectName?: string; + readonly subjectName?: string; /** Host names the certificate applies to. */ hostNames?: Array; /** @@ -2324,35 +2510,35 @@ export interface CertificatePropertiesOutput { */ pfxBlob?: string; /** App name. */ - siteName?: string; + readonly siteName?: string; /** Self link. */ - selfLink?: string; + readonly selfLink?: string; /** Certificate issuer. */ - issuer?: string; + readonly issuer?: string; /** Certificate issue Date. */ - issueDate?: string; + readonly issueDate?: string; /** Certificate expiration date. */ - expirationDate?: string; + readonly expirationDate?: string; /** Certificate thumbprint. */ - thumbprint?: string; + readonly thumbprint?: string; /** Is the certificate valid?. */ - valid?: boolean; + readonly valid?: boolean; /** * Raw bytes of .cer file * * Value may contain base64 encoded characters */ - cerBlob?: string; + readonly cerBlob?: string; /** Public key hash. */ - publicKeyHash?: string; + readonly publicKeyHash?: string; /** Specification for the App Service Environment to use for the certificate. */ - hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** Key Vault Csm resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; /** Status of the Key Vault secret. */ - keyVaultSecretStatus?: + readonly keyVaultSecretStatus?: | "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" @@ -2372,18 +2558,20 @@ export interface CertificatePropertiesOutput { domainValidationMethod?: string; } +/** ARM resource for a certificate. */ export interface CertificatePatchResourceOutput extends ProxyOnlyResourceOutput { /** CertificatePatchResource resource specific properties */ properties?: CertificatePatchResourcePropertiesOutput; } +/** CertificatePatchResource resource specific properties */ export interface CertificatePatchResourcePropertiesOutput { /** Certificate password. */ password?: string; /** Friendly name of the certificate. */ - friendlyName?: string; + readonly friendlyName?: string; /** Subject name of the certificate. */ - subjectName?: string; + readonly subjectName?: string; /** Host names the certificate applies to. */ hostNames?: Array; /** @@ -2393,35 +2581,35 @@ export interface CertificatePatchResourcePropertiesOutput { */ pfxBlob?: string; /** App name. */ - siteName?: string; + readonly siteName?: string; /** Self link. */ - selfLink?: string; + readonly selfLink?: string; /** Certificate issuer. */ - issuer?: string; + readonly issuer?: string; /** Certificate issue Date. */ - issueDate?: string; + readonly issueDate?: string; /** Certificate expiration date. */ - expirationDate?: string; + readonly expirationDate?: string; /** Certificate thumbprint. */ - thumbprint?: string; + readonly thumbprint?: string; /** Is the certificate valid?. */ - valid?: boolean; + readonly valid?: boolean; /** * Raw bytes of .cer file * * Value may contain base64 encoded characters */ - cerBlob?: string; + readonly cerBlob?: string; /** Public key hash. */ - publicKeyHash?: string; + readonly publicKeyHash?: string; /** Specification for the App Service Environment to use for the certificate. */ - hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** Key Vault Csm resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ keyVaultSecretName?: string; /** Status of the Key Vault secret. */ - keyVaultSecretStatus?: + readonly keyVaultSecretStatus?: | "Initialized" | "WaitingOnCertificateOrder" | "Succeeded" @@ -2441,33 +2629,37 @@ export interface CertificatePatchResourcePropertiesOutput { domainValidationMethod?: string; } +/** Container App collection ARM resource. */ export interface ContainerAppCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Container App. */ export interface ContainerAppOutput extends ResourceOutput { /** ContainerApp resource specific properties */ properties?: ContainerAppPropertiesOutput; } +/** ContainerApp resource specific properties */ export interface ContainerAppPropertiesOutput { /** Provisioning state of the Container App. */ - provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; + readonly provisioningState?: "InProgress" | "Succeeded" | "Failed" | "Canceled"; /** Resource ID of the Container App's KubeEnvironment. */ kubeEnvironmentId?: string; /** Name of the latest revision of the Container App. */ - latestRevisionName?: string; + readonly latestRevisionName?: string; /** Fully Qualified Domain Name of the latest revision of the Container App. */ - latestRevisionFqdn?: string; + readonly latestRevisionFqdn?: string; /** Non versioned Container App configuration properties. */ configuration?: ConfigurationOutput; /** Container App versioned application definition. */ template?: TemplateOutput; } +/** Non versioned Container App configuration properties that define the mutable settings of a Container app */ export interface ConfigurationOutput { /** Collection of secrets used by a Container app */ secrets?: Array; @@ -2482,6 +2674,7 @@ export interface ConfigurationOutput { registries?: Array; } +/** Container App Secret. */ export interface SecretOutput { /** Secret Name. */ name?: string; @@ -2489,9 +2682,10 @@ export interface SecretOutput { value?: string; } +/** Container App Ingress configuration. */ export interface IngressOutput { /** Hostname. */ - fqdn?: string; + readonly fqdn?: string; /** Bool indicating if app exposes an external http endpoint */ external?: boolean; /** Target Port in containers for traffic from ingress */ @@ -2503,6 +2697,7 @@ export interface IngressOutput { allowInsecure?: boolean; } +/** Traffic weight assigned to a revision */ export interface TrafficWeightOutput { /** Name of a revision */ revisionName?: string; @@ -2512,6 +2707,7 @@ export interface TrafficWeightOutput { latestRevision?: boolean; } +/** Container App Private Registry */ export interface RegistryCredentialsOutput { /** Container Registry Server */ server?: string; @@ -2521,6 +2717,11 @@ export interface RegistryCredentialsOutput { 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 TemplateOutput { /** User friendly suffix that is appended to the revision name */ revisionSuffix?: string; @@ -2532,6 +2733,7 @@ export interface TemplateOutput { dapr?: DaprOutput; } +/** Container App container definition. */ export interface ContainerOutput { /** Container image tag. */ image?: string; @@ -2547,6 +2749,7 @@ export interface ContainerOutput { resources?: ContainerResourcesOutput; } +/** Container App container environment variable. */ export interface EnvironmentVarOutput { /** Environment variable name. */ name?: string; @@ -2556,6 +2759,7 @@ export interface EnvironmentVarOutput { secretRef?: string; } +/** Container App container resource requirements. */ export interface ContainerResourcesOutput { /** Required CPU in cores, e.g. 0.5 */ cpu?: number; @@ -2563,6 +2767,7 @@ export interface ContainerResourcesOutput { memory?: string; } +/** Container App scaling configurations. */ export interface ScaleOutput { /** Optional. Minimum number of container replicas. */ minReplicas?: number; @@ -2572,6 +2777,7 @@ export interface ScaleOutput { rules?: Array; } +/** Container App container scaling rule. */ export interface ScaleRuleOutput { /** Scale Rule Name */ name?: string; @@ -2583,6 +2789,7 @@ export interface ScaleRuleOutput { http?: HttpScaleRuleOutput; } +/** Container App container Azure Queue based scaling rule. */ export interface QueueScaleRuleOutput { /** Queue name. */ queueName?: string; @@ -2592,6 +2799,7 @@ export interface QueueScaleRuleOutput { auth?: Array; } +/** Auth Secrets for Container App Scale Rule */ export interface ScaleRuleAuthOutput { /** Name of the Container App secret from which to pull the auth params. */ secretRef?: string; @@ -2599,6 +2807,7 @@ export interface ScaleRuleAuthOutput { triggerParameter?: string; } +/** Container App container Custom scaling rule. */ export interface CustomScaleRuleOutput { /** * Type of the custom scale rule @@ -2611,6 +2820,7 @@ export interface CustomScaleRuleOutput { auth?: Array; } +/** Container App container Custom scaling rule. */ export interface HttpScaleRuleOutput { /** Metadata properties to describe http scale rule. */ metadata?: Record; @@ -2618,6 +2828,7 @@ export interface HttpScaleRuleOutput { auth?: Array; } +/** Container App Dapr configuration. */ export interface DaprOutput { /** Boolean indicating if the Dapr side car is enabled */ enabled?: boolean; @@ -2629,6 +2840,7 @@ export interface DaprOutput { components?: Array; } +/** Dapr component configuration */ export interface DaprComponentOutput { /** Component name */ name?: string; @@ -2640,6 +2852,7 @@ export interface DaprComponentOutput { metadata?: Array; } +/** Container App Dapr component metadata. */ export interface DaprMetadataOutput { /** Metadata property name. */ name?: string; @@ -2649,56 +2862,61 @@ export interface DaprMetadataOutput { secretRef?: string; } +/** Container App Secrets Collection ARM resource. */ export interface SecretsCollectionOutput { /** Collection of resources. */ value: Array; } +/** Container App Secret. */ export interface ContainerAppSecretOutput { /** Secret Name. */ - name?: string; + readonly name?: string; /** Secret Value. */ - value?: string; + readonly value?: string; } +/** Container App Revisions collection ARM resource. */ export interface RevisionCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Container App Revision. */ export interface RevisionOutput extends ResourceOutput { /** Revision resource specific properties */ properties?: RevisionPropertiesOutput; } +/** Revision resource specific properties */ export interface RevisionPropertiesOutput { /** * Timestamp describing when the revision was created * by controller */ - createdTime?: string; + readonly createdTime?: string; /** Fully qualified domain name of the revision */ - fqdn?: string; + 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 */ - template?: TemplateOutput; + readonly template?: TemplateOutput; /** Boolean describing if the Revision is Active */ - active?: boolean; + readonly active?: boolean; /** Number of pods currently running for this revision */ - replicas?: number; + readonly replicas?: number; /** Traffic weight assigned to this revision */ - trafficWeight?: number; + readonly trafficWeight?: number; /** Optional Field - Platform Error Message */ - provisioningError?: string; + readonly provisioningError?: string; /** Current health State of the revision */ - healthState?: "Healthy" | "Unhealthy" | "None"; + readonly healthState?: "Healthy" | "Unhealthy" | "None"; /** Current provisioning State of the revision */ - provisioningState?: + readonly provisioningState?: | "Provisioning" | "Provisioned" | "Failed" @@ -2706,76 +2924,87 @@ export interface RevisionPropertiesOutput { | "Deprovisioned"; } +/** Collection of deleted apps. */ export interface DeletedWebAppCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A deleted app. */ export interface DeletedSiteOutput extends ProxyOnlyResourceOutput { /** DeletedSite resource specific properties */ properties?: DeletedSitePropertiesOutput; } +/** DeletedSite resource specific properties */ export interface DeletedSitePropertiesOutput { /** Numeric id for the deleted site */ - deletedSiteId?: number; + readonly deletedSiteId?: number; /** Time in UTC when the app was deleted. */ - deletedTimestamp?: string; + readonly deletedTimestamp?: string; /** Subscription containing the deleted site */ - subscription?: string; + readonly subscription?: string; /** ResourceGroup that contained the deleted site */ - resourceGroup?: string; + readonly resourceGroup?: string; /** Name of the deleted site */ - deletedSiteName?: string; + readonly deletedSiteName?: string; /** Slot of the deleted site */ - slot?: string; + readonly slot?: string; /** Kind of site that was deleted */ - kind?: string; + readonly kind?: string; /** Geo Region of the deleted site */ - geoRegionName?: string; + readonly geoRegionName?: string; } +/** Collection of Diagnostic Categories */ export interface DiagnosticCategoryCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Class representing detector definition */ export interface DiagnosticCategoryOutput extends ProxyOnlyResourceOutput { /** DiagnosticCategory resource specific properties */ properties?: DiagnosticCategoryPropertiesOutput; } +/** DiagnosticCategory resource specific properties */ export interface DiagnosticCategoryPropertiesOutput { /** Description of the diagnostic category */ - description?: string; + readonly description?: string; } +/** Collection of Diagnostic Analyses */ export interface DiagnosticAnalysisCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Definition of Analysis */ export interface AnalysisDefinitionOutput extends ProxyOnlyResourceOutput { /** AnalysisDefinition resource specific properties */ properties?: AnalysisDefinitionPropertiesOutput; } +/** AnalysisDefinition resource specific properties */ export interface AnalysisDefinitionPropertiesOutput { /** Description of the Analysis */ - description?: string; + readonly description?: string; } +/** Class representing a diagnostic analysis done on an application */ export interface DiagnosticAnalysisOutput extends ProxyOnlyResourceOutput { /** DiagnosticAnalysis resource specific properties */ properties?: DiagnosticAnalysisPropertiesOutput; } +/** DiagnosticAnalysis resource specific properties */ export interface DiagnosticAnalysisPropertiesOutput { /** Start time of the period */ startTime?: string; @@ -2789,6 +3018,7 @@ export interface DiagnosticAnalysisPropertiesOutput { nonCorrelatedDetectors?: Array; } +/** Class representing Abnormal Time Period identified in diagnosis */ export interface AbnormalTimePeriodOutput { /** Start time of the downtime */ startTime?: string; @@ -2800,6 +3030,7 @@ export interface AbnormalTimePeriodOutput { solutions?: Array; } +/** Class representing Abnormal Time Period detected. */ export interface DetectorAbnormalTimePeriodOutput { /** Start time of the correlated event */ startTime?: string; @@ -2827,6 +3058,7 @@ export interface DetectorAbnormalTimePeriodOutput { solutions?: Array; } +/** Class Representing Solution for problems detected. */ export interface SolutionOutput { /** Solution Id. */ id?: number; @@ -2844,6 +3076,7 @@ export interface SolutionOutput { metadata?: Array>; } +/** Class Representing Detector Evidence used for analysis */ export interface AnalysisDataOutput { /** Name of the Detector */ source?: string; @@ -2857,17 +3090,19 @@ export interface AnalysisDataOutput { detectorMetaData?: ResponseMetaDataOutput; } +/** Class representing detector definition */ export interface DetectorDefinitionOutput { /** Display name of the detector */ - displayName?: string; + readonly displayName?: string; /** Description of the detector */ - description?: string; + readonly description?: string; /** Detector Rank */ - rank?: number; + readonly rank?: number; /** Flag representing whether detector is enabled or not. */ - isEnabled?: boolean; + readonly isEnabled?: boolean; } +/** Class representing Diagnostic Metric information */ export interface DiagnosticMetricSetOutput { /** Name of the metric */ name?: string; @@ -2883,6 +3118,7 @@ export interface DiagnosticMetricSetOutput { values?: Array; } +/** Class representing Diagnostic Metric */ export interface DiagnosticMetricSampleOutput { /** Time at which metric is measured */ timestamp?: string; @@ -2908,6 +3144,7 @@ export interface ResponseMetaDataOutput { dataSource?: DataSourceOutput; } +/** Class representing data source used by the detectors */ export interface DataSourceOutput { /** Instructions if any for the data source */ instructions?: Array; @@ -2915,23 +3152,27 @@ export interface DataSourceOutput { dataSourceUri?: Array; } +/** Collection of Diagnostic Detectors */ export interface DiagnosticDetectorCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** ARM resource for a detector definition */ export interface DetectorDefinitionResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: DetectorDefinitionOutput; } +/** Class representing Response from Diagnostic Detectors */ export interface DiagnosticDetectorResponseOutput extends ProxyOnlyResourceOutput { /** DiagnosticDetectorResponse resource specific properties */ properties?: DiagnosticDetectorResponsePropertiesOutput; } +/** DiagnosticDetectorResponse resource specific properties */ export interface DiagnosticDetectorResponsePropertiesOutput { /** Start time of the period */ startTime?: string; @@ -2951,23 +3192,27 @@ export interface DiagnosticDetectorResponsePropertiesOutput { responseMetaData?: ResponseMetaDataOutput; } +/** A snapshot of an app. */ export interface SnapshotOutput extends ProxyOnlyResourceOutput { /** Snapshot resource specific properties */ properties?: SnapshotPropertiesOutput; } +/** Snapshot resource specific properties */ export interface SnapshotPropertiesOutput { /** The time the snapshot was taken. */ - time?: string; + readonly time?: string; } +/** Collection of Kubernetes Environments */ export interface KubeEnvironmentCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A Kubernetes cluster specialized for web workloads by Azure App Service */ export interface KubeEnvironmentOutput extends ResourceOutput { /** KubeEnvironment resource specific properties */ properties?: KubeEnvironmentPropertiesOutput; @@ -2975,9 +3220,10 @@ export interface KubeEnvironmentOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; } +/** KubeEnvironment resource specific properties */ export interface KubeEnvironmentPropertiesOutput { /** Provisioning state of the Kubernetes Environment. */ - provisioningState?: + readonly provisioningState?: | "Succeeded" | "Failed" | "Canceled" @@ -2989,11 +3235,11 @@ export interface KubeEnvironmentPropertiesOutput { | "UpgradeRequested" | "UpgradeFailed"; /** Any errors that occurred during deployment or deployment validation */ - deploymentErrors?: string; + readonly deploymentErrors?: string; /** Only visible within Vnet/Subnet */ internalLoadBalancerEnabled?: boolean; /** Default Domain Name for the cluster */ - defaultDomain?: string; + readonly defaultDomain?: string; /** Static IP of the KubeEnvironment */ staticIp?: string; /** Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed */ @@ -3054,14 +3300,16 @@ export interface ContainerAppsConfigurationOutput { dockerBridgeCidr?: string; } +/** ARM resource for a KubeEnvironment when patching */ export interface KubeEnvironmentPatchResourceOutput extends ProxyOnlyResourceOutput { /** KubeEnvironmentPatchResource resource specific properties */ properties?: KubeEnvironmentPatchResourcePropertiesOutput; } +/** KubeEnvironmentPatchResource resource specific properties */ export interface KubeEnvironmentPatchResourcePropertiesOutput { /** Provisioning state of the Kubernetes Environment. */ - provisioningState?: + readonly provisioningState?: | "Succeeded" | "Failed" | "Canceled" @@ -3073,11 +3321,11 @@ export interface KubeEnvironmentPatchResourcePropertiesOutput { | "UpgradeRequested" | "UpgradeFailed"; /** Any errors that occurred during deployment or deployment validation */ - deploymentErrors?: string; + readonly deploymentErrors?: string; /** Only visible within Vnet/Subnet */ internalLoadBalancerEnabled?: boolean; /** Default Domain Name for the cluster */ - defaultDomain?: string; + readonly defaultDomain?: string; /** Static IP of the KubeEnvironment */ staticIp?: string; /** @@ -3097,18 +3345,21 @@ export interface KubeEnvironmentPatchResourcePropertiesOutput { aksResourceID?: string; } +/** Collection of Application Stacks */ export interface ApplicationStackCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** ARM resource for a ApplicationStack. */ export interface ApplicationStackResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: ApplicationStackOutput; } +/** Application stack. */ export interface ApplicationStackOutput { /** Application stack name. */ name?: string; @@ -3124,6 +3375,7 @@ export interface ApplicationStackOutput { isDeprecated?: Array; } +/** Application stack major version. */ export interface StackMajorVersionOutput { /** Application stack major version (display only). */ displayVersion?: string; @@ -3157,6 +3409,7 @@ export interface StackMajorVersionOutput { siteConfigPropertiesDictionary?: Record>; } +/** Application stack minor version. */ export interface StackMinorVersionOutput { /** Application stack minor version (display only). */ displayVersion?: string; @@ -3168,239 +3421,261 @@ export interface StackMinorVersionOutput { isRemoteDebuggingEnabled?: boolean; } +/** Collection of Function app Stacks */ export interface FunctionAppStackCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Function App Stack. */ export interface FunctionAppStackOutput extends ProxyOnlyResourceOutput { /** Function App stack location. */ - location?: string; + readonly location?: string; /** FunctionAppStack resource specific properties */ properties?: FunctionAppStackPropertiesOutput; } +/** FunctionAppStack resource specific properties */ export interface FunctionAppStackPropertiesOutput { /** Function App stack (display only). */ - displayText?: string; + readonly displayText?: string; /** Function App stack name. */ - value?: string; + readonly value?: string; /** List of major versions available. */ - majorVersions?: Array; + readonly majorVersions?: Array; /** Function App stack preferred OS. */ - preferredOs?: "Windows" | "Linux"; + readonly preferredOs?: "Windows" | "Linux"; } +/** Function App stack major version. */ export interface FunctionAppMajorVersionOutput { /** Function App stack major version (display only). */ - displayText?: string; + readonly displayText?: string; /** Function App stack major version name. */ - value?: string; + readonly value?: string; /** Minor versions associated with the major version. */ - minorVersions?: Array; + readonly minorVersions?: Array; } +/** Function App stack minor version. */ export interface FunctionAppMinorVersionOutput { /** Function App stack (display only). */ - displayText?: string; + readonly displayText?: string; /** Function App stack name. */ - value?: string; + readonly value?: string; /** Settings associated with the minor version. */ - stackSettings?: FunctionAppRuntimesOutput; + readonly stackSettings?: FunctionAppRuntimesOutput; } +/** Function App stack runtimes. */ export interface FunctionAppRuntimesOutput { /** Linux-specific settings associated with the minor version. */ - linuxRuntimeSettings?: FunctionAppRuntimeSettingsOutput; + readonly linuxRuntimeSettings?: FunctionAppRuntimeSettingsOutput; /** Windows-specific settings associated with the minor version. */ - windowsRuntimeSettings?: FunctionAppRuntimeSettingsOutput; + readonly windowsRuntimeSettings?: FunctionAppRuntimeSettingsOutput; } +/** Function App runtime settings. */ export interface FunctionAppRuntimeSettingsOutput { /** Function App stack minor version (runtime only). */ - runtimeVersion?: string; + readonly runtimeVersion?: string; /** true if remote debugging is supported for the stack; otherwise, false. */ - remoteDebuggingSupported?: boolean; + readonly remoteDebuggingSupported?: boolean; /** Application Insights settings associated with the minor version. */ - appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; + readonly appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; /** GitHub Actions settings associated with the minor version. */ - gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; /** Application settings associated with the minor version. */ - appSettingsDictionary?: Record; + readonly appSettingsDictionary?: Record; /** Configuration settings associated with the minor version. */ - siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionaryOutput; + readonly siteConfigPropertiesDictionary?: SiteConfigPropertiesDictionaryOutput; /** List of supported Functions extension versions. */ - supportedFunctionsExtensionVersions?: Array; + readonly supportedFunctionsExtensionVersions?: Array; /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; + readonly isPreview?: boolean; /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; + readonly isDeprecated?: boolean; /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; + readonly isHidden?: boolean; /** End-of-life date for the minor version. */ - endOfLifeDate?: string; + readonly endOfLifeDate?: string; /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; + readonly isAutoUpdate?: boolean; /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; + readonly isEarlyAccess?: boolean; /** true if the minor version the default; otherwise, false. */ - isDefault?: boolean; + readonly isDefault?: boolean; } +/** App Insights Web App stack settings. */ export interface AppInsightsWebAppStackSettingsOutput { /** true if remote Application Insights is supported for the stack; otherwise, false. */ - isSupported?: boolean; + readonly isSupported?: boolean; /** true if Application Insights is disabled by default for the stack; otherwise, false. */ - isDefaultOff?: boolean; + readonly isDefaultOff?: boolean; } +/** GitHub Actions Web App stack settings. */ export interface GitHubActionWebAppStackSettingsOutput { /** true if GitHub Actions is supported for the stack; otherwise, false. */ - isSupported?: boolean; + readonly isSupported?: boolean; /** The minor version that is supported for GitHub Actions. */ - supportedVersion?: string; + readonly supportedVersion?: string; } +/** Site config properties dictionary. */ export interface SiteConfigPropertiesDictionaryOutput { /** true if use32BitWorkerProcess should be set to true for the stack; otherwise, false. */ - use32BitWorkerProcess?: boolean; + readonly use32BitWorkerProcess?: boolean; /** LinuxFxVersion configuration setting. */ - linuxFxVersion?: string; + readonly linuxFxVersion?: string; /** JavaVersion configuration setting. */ - javaVersion?: string; + readonly javaVersion?: string; /** PowerShellVersion configuration setting. */ - powerShellVersion?: string; + readonly powerShellVersion?: string; } +/** Collection of Web app Stacks */ export interface WebAppStackCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Web App stack. */ export interface WebAppStackOutput extends ProxyOnlyResourceOutput { /** Web App stack location. */ - location?: string; + readonly location?: string; /** WebAppStack resource specific properties */ properties?: WebAppStackPropertiesOutput; } +/** WebAppStack resource specific properties */ export interface WebAppStackPropertiesOutput { /** Web App stack (display only). */ - displayText?: string; + readonly displayText?: string; /** Web App stack name. */ - value?: string; + readonly value?: string; /** List of major versions available. */ - majorVersions?: Array; + readonly majorVersions?: Array; /** Web App stack preferred OS. */ - preferredOs?: "Windows" | "Linux"; + readonly preferredOs?: "Windows" | "Linux"; } +/** Web App stack major version. */ export interface WebAppMajorVersionOutput { /** Web App stack major version (display only). */ - displayText?: string; + readonly displayText?: string; /** Web App stack major version name. */ - value?: string; + readonly value?: string; /** Minor versions associated with the major version. */ - minorVersions?: Array; + readonly minorVersions?: Array; } +/** Web App stack minor version. */ export interface WebAppMinorVersionOutput { /** Web App stack minor version (display only). */ - displayText?: string; + readonly displayText?: string; /** Web App stack major version name. */ - value?: string; + readonly value?: string; /** Settings associated with the minor version. */ - stackSettings?: WebAppRuntimesOutput; + readonly stackSettings?: WebAppRuntimesOutput; } +/** Web App stack runtimes. */ export interface WebAppRuntimesOutput { /** Linux-specific settings associated with the minor version. */ - linuxRuntimeSettings?: WebAppRuntimeSettingsOutput; + readonly linuxRuntimeSettings?: WebAppRuntimeSettingsOutput; /** Windows-specific settings associated with the minor version. */ - windowsRuntimeSettings?: WebAppRuntimeSettingsOutput; + readonly windowsRuntimeSettings?: WebAppRuntimeSettingsOutput; /** Linux-specific settings associated with the Java container minor version. */ - linuxContainerSettings?: LinuxJavaContainerSettingsOutput; + readonly linuxContainerSettings?: LinuxJavaContainerSettingsOutput; /** Windows-specific settings associated with the Java container minor version. */ - windowsContainerSettings?: WindowsJavaContainerSettingsOutput; + readonly windowsContainerSettings?: WindowsJavaContainerSettingsOutput; } +/** Web App runtime settings. */ export interface WebAppRuntimeSettingsOutput { /** Web App stack minor version (runtime only). */ - runtimeVersion?: string; + readonly runtimeVersion?: string; /** true if remote debugging is supported for the stack; otherwise, false. */ - remoteDebuggingSupported?: boolean; + readonly remoteDebuggingSupported?: boolean; /** Application Insights settings associated with the minor version. */ - appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; + readonly appInsightsSettings?: AppInsightsWebAppStackSettingsOutput; /** GitHub Actions settings associated with the minor version. */ - gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; + readonly gitHubActionSettings?: GitHubActionWebAppStackSettingsOutput; /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; + readonly isPreview?: boolean; /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; + readonly isDeprecated?: boolean; /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; + readonly isHidden?: boolean; /** End-of-life date for the minor version. */ - endOfLifeDate?: string; + readonly endOfLifeDate?: string; /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; + readonly isAutoUpdate?: boolean; /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; + readonly isEarlyAccess?: boolean; } +/** Linux Java Container settings. */ export interface LinuxJavaContainerSettingsOutput { /** Java 11 version (runtime only). */ - java11Runtime?: string; + readonly java11Runtime?: string; /** Java 8 version (runtime only). */ - java8Runtime?: string; + readonly java8Runtime?: string; /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; + readonly isPreview?: boolean; /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; + readonly isDeprecated?: boolean; /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; + readonly isHidden?: boolean; /** End-of-life date for the minor version. */ - endOfLifeDate?: string; + readonly endOfLifeDate?: string; /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; + readonly isAutoUpdate?: boolean; /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; + readonly isEarlyAccess?: boolean; } +/** Windows Java Container settings. */ export interface WindowsJavaContainerSettingsOutput { /** Java container (runtime only). */ - javaContainer?: string; + readonly javaContainer?: string; /** Java container version (runtime only). */ - javaContainerVersion?: string; + readonly javaContainerVersion?: string; /** true if the stack is in preview; otherwise, false. */ - isPreview?: boolean; + readonly isPreview?: boolean; /** true if the stack is deprecated; otherwise, false. */ - isDeprecated?: boolean; + readonly isDeprecated?: boolean; /** true if the stack should be hidden; otherwise, false. */ - isHidden?: boolean; + readonly isHidden?: boolean; /** End-of-life date for the minor version. */ - endOfLifeDate?: string; + readonly endOfLifeDate?: string; /** true if the stack version is auto-updated; otherwise, false. */ - isAutoUpdate?: boolean; + readonly isAutoUpdate?: boolean; /** true if the minor version is early-access; otherwise, false. */ - isEarlyAccess?: boolean; + readonly isEarlyAccess?: boolean; } +/** Collection of recommendations. */ export interface RecommendationCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Represents a recommendation result generated by the recommendation engine. */ export interface RecommendationOutput extends ProxyOnlyResourceOutput { /** Recommendation resource specific properties */ properties?: RecommendationPropertiesOutput; } +/** Recommendation resource specific properties */ export interface RecommendationPropertiesOutput { /** Timestamp when this instance was created. */ creationTime?: string; @@ -3425,7 +3700,7 @@ export interface RecommendationPropertiesOutput { /** List of channels that this recommendation can apply. */ channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; /** The list of category tags that this recommendation belongs to. */ - categoryTags?: Array; + readonly categoryTags?: Array; /** Name of action recommended by this object. */ actionName?: string; /** True if this recommendation is still valid (i.e. "actionable"). False if it is invalid. */ @@ -3454,11 +3729,13 @@ export interface RecommendationPropertiesOutput { forwardLink?: string; } +/** Represents a recommendation rule that the recommendation engine can perform. */ export interface RecommendationRuleOutput extends ProxyOnlyResourceOutput { /** RecommendationRule resource specific properties */ properties?: RecommendationRulePropertiesOutput; } +/** RecommendationRule resource specific properties */ export interface RecommendationRulePropertiesOutput { /** Unique name of the rule. */ recommendationName?: string; @@ -3482,7 +3759,7 @@ export interface RecommendationRulePropertiesOutput { /** List of available channels that this rule applies. */ channels?: "Notification" | "Api" | "Email" | "Webhook" | "All"; /** The list of category tags that this recommendation rule belongs to. */ - categoryTags?: Array; + readonly categoryTags?: Array; /** True if this is associated with a dynamically added rule */ isDynamic?: boolean; /** Extension name of the portal if exists. Applicable to dynamic rule only. */ @@ -3493,18 +3770,21 @@ export interface RecommendationRulePropertiesOutput { forwardLink?: string; } +/** Collection of resource health metadata. */ export interface ResourceHealthMetadataCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Used for getting ResourceHealthCheck settings. */ export interface ResourceHealthMetadataOutput extends ProxyOnlyResourceOutput { /** ResourceHealthMetadata resource specific properties */ properties?: ResourceHealthMetadataPropertiesOutput; } +/** ResourceHealthMetadata resource specific properties */ export interface ResourceHealthMetadataPropertiesOutput { /** The category that the resource matches in the RHC Policy File */ category?: string; @@ -3512,11 +3792,13 @@ export interface ResourceHealthMetadataPropertiesOutput { signalAvailability?: boolean; } +/** User credentials used for publishing activity. */ export interface UserOutput extends ProxyOnlyResourceOutput { /** User resource specific properties */ properties?: UserPropertiesOutput; } +/** User resource specific properties */ export interface UserPropertiesOutput { /** Username used for publishing. */ publishingUserName: string; @@ -3542,18 +3824,21 @@ export interface UserPropertiesOutput { scmUri?: string; } +/** Collection of source controls. */ export interface SourceControlCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** The source control OAuth token. */ export interface SourceControlOutput extends ProxyOnlyResourceOutput { /** SourceControl resource specific properties */ properties?: SourceControlPropertiesOutput; } +/** SourceControl resource specific properties */ export interface SourceControlPropertiesOutput { /** OAuth access token. */ token?: string; @@ -3565,18 +3850,21 @@ export interface SourceControlPropertiesOutput { expirationTime?: string; } +/** Collection of Billing Meters */ export interface BillingMeterCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services. */ export interface BillingMeterOutput extends ProxyOnlyResourceOutput { /** BillingMeter resource specific properties */ properties?: BillingMeterPropertiesOutput; } +/** BillingMeter resource specific properties */ export interface BillingMeterPropertiesOutput { /** Meter GUID onboarded in Commerce */ meterId?: string; @@ -3594,6 +3882,7 @@ export interface BillingMeterPropertiesOutput { multiplier?: number; } +/** Information regarding availability of a resource name. */ export interface ResourceNameAvailabilityOutput { /** true indicates name is valid and available. false indicates the name is invalid, unavailable, or both. */ nameAvailable?: boolean; @@ -3603,34 +3892,43 @@ export interface ResourceNameAvailabilityOutput { message?: string; } +/** Collection of custom hostname sites */ export interface CustomHostnameSitesCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A hostname and its assigned sites */ export interface CustomHostnameSitesOutput extends ProxyOnlyResourceOutput { /** CustomHostnameSites resource specific properties */ properties?: CustomHostnameSitesPropertiesOutput; } +/** CustomHostnameSites resource specific properties */ export interface CustomHostnameSitesPropertiesOutput { customHostname?: string; region?: string; siteResourceIds?: Array; } +/** A domain specific resource identifier. */ export interface IdentifierOutput extends ProxyOnlyResourceOutput { /** Identifier resource specific properties */ properties?: IdentifierPropertiesOutput; } +/** Identifier resource specific properties */ export interface IdentifierPropertiesOutput { /** String representation of the identity. */ id?: string; } +/** + * List of available locations (regions or App Service Environments) for + * deployment of App Service resources. + */ export interface DeploymentLocationsOutput { /** Available regions. */ locations?: Array; @@ -3640,20 +3938,23 @@ export interface DeploymentLocationsOutput { hostingEnvironmentDeploymentInfos?: Array; } +/** Geographical region. */ export interface GeoRegionOutput extends ProxyOnlyResourceOutput { /** GeoRegion resource specific properties */ properties?: GeoRegionPropertiesOutput; } +/** GeoRegion resource specific properties */ export interface GeoRegionPropertiesOutput { /** Region description. */ - description?: string; + readonly description?: string; /** Display name for region. */ - displayName?: string; + readonly displayName?: string; /** Display name for region. */ - orgDomain?: string; + readonly orgDomain?: string; } +/** Information needed to create resources on an App Service Environment. */ export interface HostingEnvironmentDeploymentInfoOutput { /** Name of the App Service Environment. */ name?: string; @@ -3661,32 +3962,37 @@ export interface HostingEnvironmentDeploymentInfoOutput { location?: string; } +/** Collection of geographical regions. */ export interface GeoRegionCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Collection of identifiers. */ export interface IdentifierCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Collection of premier add-on offers. */ export interface PremierAddOnOfferCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Premier add-on offer. */ export interface PremierAddOnOfferOutput extends ProxyOnlyResourceOutput { /** PremierAddOnOffer resource specific properties */ properties?: PremierAddOnOfferPropertiesOutput; } +/** PremierAddOnOffer resource specific properties */ export interface PremierAddOnOfferPropertiesOutput { /** Premier add on SKU. */ sku?: string; @@ -3710,6 +4016,7 @@ export interface PremierAddOnOfferPropertiesOutput { marketplaceOffer?: string; } +/** Collection of SKU information. */ export interface SkuInfosOutput { /** Resource type that this SKU applies to. */ resourceType?: string; @@ -3717,6 +4024,7 @@ export interface SkuInfosOutput { skus?: Array; } +/** A Global SKU Description. */ export interface GlobalCsmSkuDescriptionOutput { /** Name of the resource SKU. */ name?: string; @@ -3734,11 +4042,13 @@ export interface GlobalCsmSkuDescriptionOutput { capabilities?: Array; } +/** The required set of inputs to validate a VNET */ export interface VnetParametersOutput extends ProxyOnlyResourceOutput { /** VnetParameters resource specific properties */ properties?: VnetParametersPropertiesOutput; } +/** VnetParameters resource specific properties */ export interface VnetParametersPropertiesOutput { /** The Resource Group of the VNET to be validated */ vnetResourceGroup?: string; @@ -3750,11 +4060,13 @@ export interface VnetParametersPropertiesOutput { subnetResourceId?: string; } +/** A class that describes the reason for a validation failure. */ export interface VnetValidationFailureDetailsOutput extends ProxyOnlyResourceOutput { /** VnetValidationFailureDetails resource specific properties */ properties?: VnetValidationFailureDetailsPropertiesOutput; } +/** VnetValidationFailureDetails resource specific properties */ export interface VnetValidationFailureDetailsPropertiesOutput { /** Text describing the validation outcome. */ message?: string; @@ -3766,11 +4078,13 @@ export interface VnetValidationFailureDetailsPropertiesOutput { warnings?: Array; } +/** A class that describes a test that failed during NSG and UDR validation. */ export interface VnetValidationTestFailureOutput extends ProxyOnlyResourceOutput { /** VnetValidationTestFailure resource specific properties */ properties?: VnetValidationTestFailurePropertiesOutput; } +/** VnetValidationTestFailure resource specific properties */ export interface VnetValidationTestFailurePropertiesOutput { /** The name of the test that failed. */ testName?: string; @@ -3778,6 +4092,7 @@ export interface VnetValidationTestFailurePropertiesOutput { details?: string; } +/** Describes the result of resource validation. */ export interface ValidateResponseOutput { /** Result of validation. */ status?: string; @@ -3785,6 +4100,7 @@ export interface ValidateResponseOutput { error?: ValidateResponseErrorOutput; } +/** Error details for when validation fails. */ export interface ValidateResponseErrorOutput { /** Validation error code. */ code?: string; @@ -3792,11 +4108,13 @@ export interface ValidateResponseErrorOutput { message?: string; } +/** Request entity for previewing the Static Site workflow */ export interface StaticSitesWorkflowPreviewRequestOutput extends ProxyOnlyResourceOutput { /** StaticSitesWorkflowPreviewRequest resource specific properties */ properties?: StaticSitesWorkflowPreviewRequestPropertiesOutput; } +/** StaticSitesWorkflowPreviewRequest resource specific properties */ export interface StaticSitesWorkflowPreviewRequestPropertiesOutput { /** URL for the repository of the static site. */ repositoryUrl?: string; @@ -3806,6 +4124,7 @@ export interface StaticSitesWorkflowPreviewRequestPropertiesOutput { buildProperties?: StaticSiteBuildPropertiesOutput; } +/** Build properties for the static site. */ export interface StaticSiteBuildPropertiesOutput { /** The path to the app code within the repository. */ appLocation?: string; @@ -3825,25 +4144,29 @@ export interface StaticSiteBuildPropertiesOutput { githubActionSecretNameOverride?: string; } +/** Preview for the Static Site Workflow to be generated */ export interface StaticSitesWorkflowPreviewOutput extends ProxyOnlyResourceOutput { /** StaticSitesWorkflowPreview resource specific properties */ properties?: StaticSitesWorkflowPreviewPropertiesOutput; } +/** StaticSitesWorkflowPreview resource specific properties */ export interface StaticSitesWorkflowPreviewPropertiesOutput { /** The path for the workflow file to be generated */ - path?: string; + readonly path?: string; /** The contents for the workflow file to be generated */ - contents?: string; + readonly contents?: string; } +/** Collection of static sites. */ export interface StaticSiteCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site ARM resource. */ export interface StaticSiteARMResourceOutput extends ResourceOutput { /** Core resource properties */ properties?: StaticSiteOutput; @@ -3853,21 +4176,22 @@ export interface StaticSiteARMResourceOutput extends ResourceOutput { identity?: ManagedServiceIdentityOutput; } +/** A static site. */ export interface StaticSiteOutput { /** The default autogenerated hostname for the static site. */ - defaultHostname?: string; + readonly defaultHostname?: string; /** URL for the repository of the static site. */ repositoryUrl?: string; /** The target branch in the repository. */ branch?: string; /** The custom domains associated with this static site. */ - customDomains?: Array; + readonly customDomains?: Array; /** A user's github repository token. This is used to setup the Github Actions workflow file and API secrets. */ repositoryToken?: string; /** Build properties to configure on the repository. */ buildProperties?: StaticSiteBuildPropertiesOutput; /** Private endpoint connections */ - privateEndpointConnections?: Array; + readonly privateEndpointConnections?: Array; /** State indicating whether staging environments are allowed or not allowed for a static web app. */ stagingEnvironmentPolicy?: "Enabled" | "Disabled"; /** false if config file is locked for this static web app; otherwise, true. */ @@ -3875,17 +4199,18 @@ export interface StaticSiteOutput { /** Template options for generating a new repository. */ templateProperties?: StaticSiteTemplateOptionsOutput; /** The content distribution endpoint for the static site. */ - contentDistributionEndpoint?: string; + readonly contentDistributionEndpoint?: string; /** Identity to use for Key Vault Reference authentication. */ - keyVaultReferenceIdentity?: string; + readonly keyVaultReferenceIdentity?: string; /** User provided function apps registered with the static site */ - userProvidedFunctionApps?: Array; + readonly userProvidedFunctionApps?: Array; /** The provider that submitted the last deployment to the primary environment of the static site. */ provider?: string; /** State indicating the status of the enterprise grade CDN serving traffic to the static web app. */ enterpriseGradeCdnStatus?: "Enabled" | "Enabling" | "Disabled" | "Disabling"; } +/** Message envelope that contains the common Azure resource manager properties and the resource provider specific content. */ export interface ResponseMessageEnvelopeRemotePrivateEndpointConnectionOutput { /** * Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this @@ -3917,6 +4242,7 @@ export interface ResponseMessageEnvelopeRemotePrivateEndpointConnectionOutput { zones?: Array; } +/** The plan object in Azure Resource Manager, represents a marketplace plan. */ export interface ArmPlanOutput { /** The name. */ name?: string; @@ -3930,13 +4256,15 @@ export interface ArmPlanOutput { version?: string; } +/** A remote private endpoint connection */ export interface RemotePrivateEndpointConnectionOutput extends ProxyOnlyResourceOutput { /** RemotePrivateEndpointConnection resource specific properties */ properties?: RemotePrivateEndpointConnectionPropertiesOutput; } +/** RemotePrivateEndpointConnection resource specific properties */ export interface RemotePrivateEndpointConnectionPropertiesOutput { - provisioningState?: string; + readonly provisioningState?: string; /** PrivateEndpoint of a remote private endpoint connection */ privateEndpoint?: ArmIdWrapperOutput; /** The state of a private link connection */ @@ -3945,6 +4273,7 @@ export interface RemotePrivateEndpointConnectionPropertiesOutput { ipAddresses?: Array; } +/** Template Options for the static site. */ export interface StaticSiteTemplateOptionsOutput { /** URL of the template repository. The newly generated repository will be based on this one. */ templateRepositoryUrl?: string; @@ -3958,75 +4287,84 @@ export interface StaticSiteTemplateOptionsOutput { isPrivate?: boolean; } +/** A static site user provided function. */ export interface StaticSiteUserProvidedFunctionAppOutput extends ProxyOnlyResourceOutput { /** StaticSiteUserProvidedFunctionApp resource specific properties */ properties?: StaticSiteUserProvidedFunctionAppPropertiesOutput; } +/** StaticSiteUserProvidedFunctionApp resource specific properties */ export interface StaticSiteUserProvidedFunctionAppPropertiesOutput { /** The resource id of the function app registered with the static site */ functionAppResourceId?: string; /** The region of the function app registered with the static site */ functionAppRegion?: string; /** The date and time on which the function app was registered with the static site. */ - createdOn?: string; + readonly createdOn?: string; } +/** ARM resource for a static site when patching */ export interface StaticSitePatchResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: StaticSiteOutput; } +/** Collection of static site custom users. */ export interface StaticSiteUserCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site User ARM resource. */ export interface StaticSiteUserARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteUserARMResource resource specific properties */ properties?: StaticSiteUserARMResourcePropertiesOutput; } +/** StaticSiteUserARMResource resource specific properties */ export interface StaticSiteUserARMResourcePropertiesOutput { /** The identity provider for the static site user. */ - provider?: string; + readonly provider?: string; /** The user id for the static site user. */ - userId?: string; + readonly userId?: string; /** The display name for the static site user. */ - displayName?: string; + readonly displayName?: string; /** The roles for the static site user, in free-form string format */ roles?: string; } +/** Collection of static site builds. */ export interface StaticSiteBuildCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site Build ARM resource. */ export interface StaticSiteBuildARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteBuildARMResource resource specific properties */ properties?: StaticSiteBuildARMResourcePropertiesOutput; } +/** StaticSiteBuildARMResource resource specific properties */ export interface StaticSiteBuildARMResourcePropertiesOutput { /** An identifier for the static site build. */ - buildId?: string; + readonly buildId?: string; /** The source branch. */ - sourceBranch?: string; + readonly sourceBranch?: string; /** The title of a pull request that a static site build is related to. */ - pullRequestTitle?: string; + readonly pullRequestTitle?: string; /** The hostname for a static site build. */ - hostname?: string; + readonly hostname?: string; /** When this build was created. */ - createdTimeUtc?: string; + readonly createdTimeUtc?: string; /** When this build was updated. */ - lastUpdatedOn?: string; + readonly lastUpdatedOn?: string; /** The status of the static site build. */ - status?: + readonly status?: | "WaitingForDeployment" | "Uploading" | "Deploying" @@ -4035,60 +4373,69 @@ export interface StaticSiteBuildARMResourcePropertiesOutput { | "Deleting" | "Detached"; /** User provided function apps registered with the static site build */ - userProvidedFunctionApps?: Array; + readonly userProvidedFunctionApps?: Array; } +/** String dictionary resource. */ export interface StringDictionaryOutput extends ProxyOnlyResourceOutput { /** Settings. */ properties?: Record; } +/** Collection of static site functions. */ export interface StaticSiteFunctionOverviewCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site Function Overview ARM resource. */ export interface StaticSiteFunctionOverviewARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteFunctionOverviewARMResource resource specific properties */ properties?: StaticSiteFunctionOverviewARMResourcePropertiesOutput; } +/** StaticSiteFunctionOverviewARMResource resource specific properties */ export interface StaticSiteFunctionOverviewARMResourcePropertiesOutput { /** The name for the function */ - functionName?: string; + readonly functionName?: string; /** The trigger type of the function */ - triggerType?: "HttpTrigger" | "Unknown"; + readonly triggerType?: "HttpTrigger" | "Unknown"; } +/** Collection of static site user provided function apps. */ export interface StaticSiteUserProvidedFunctionAppsCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site User Provided Function App ARM resource. */ export interface StaticSiteUserProvidedFunctionAppARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteUserProvidedFunctionAppARMResource resource specific properties */ properties?: StaticSiteUserProvidedFunctionAppARMResourcePropertiesOutput; } +/** StaticSiteUserProvidedFunctionAppARMResource resource specific properties */ export interface StaticSiteUserProvidedFunctionAppARMResourcePropertiesOutput { /** The resource id of the function app registered with the static site */ functionAppResourceId?: string; /** The region of the function app registered with the static site */ functionAppRegion?: string; /** The date and time on which the function app was registered with the static site. */ - createdOn?: string; + readonly createdOn?: string; } +/** Static site zip deployment ARM resource. */ export interface StaticSiteZipDeploymentARMResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: StaticSiteZipDeploymentOutput; } +/** A static site zip deployment. */ export interface StaticSiteZipDeploymentOutput { /** URL for the zipped app content */ appZipUrl?: string; @@ -4102,11 +4449,13 @@ export interface StaticSiteZipDeploymentOutput { functionLanguage?: string; } +/** Static sites user roles invitation resource. */ export interface StaticSiteUserInvitationRequestResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteUserInvitationRequestResource resource specific properties */ properties?: StaticSiteUserInvitationRequestResourcePropertiesOutput; } +/** StaticSiteUserInvitationRequestResource resource specific properties */ export interface StaticSiteUserInvitationRequestResourcePropertiesOutput { /** The domain name for the static site custom domain. */ domain?: string; @@ -4120,63 +4469,79 @@ export interface StaticSiteUserInvitationRequestResourcePropertiesOutput { numHoursToExpiration?: number; } +/** Static sites user roles invitation link resource. */ export interface StaticSiteUserInvitationResponseResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteUserInvitationResponseResource resource specific properties */ properties?: StaticSiteUserInvitationResponseResourcePropertiesOutput; } +/** StaticSiteUserInvitationResponseResource resource specific properties */ export interface StaticSiteUserInvitationResponseResourcePropertiesOutput { /** The expiration time of the invitation */ - expiresOn?: string; + readonly expiresOn?: string; /** The url for the invitation link */ - invitationUrl?: string; + readonly invitationUrl?: string; } +/** Collection of static site custom domains. */ export interface StaticSiteCustomDomainOverviewCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Static Site Custom Domain Overview ARM resource. */ export interface StaticSiteCustomDomainOverviewARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteCustomDomainOverviewARMResource resource specific properties */ properties?: StaticSiteCustomDomainOverviewARMResourcePropertiesOutput; } +/** StaticSiteCustomDomainOverviewARMResource resource specific properties */ export interface StaticSiteCustomDomainOverviewARMResourcePropertiesOutput { /** The domain name for the static site custom domain. */ - domainName?: string; + readonly domainName?: string; /** The date and time on which the custom domain was created for the static site. */ - createdOn?: string; + readonly createdOn?: string; /** The status of the custom domain */ - status?: "RetrievingValidationToken" | "Validating" | "Adding" | "Ready" | "Failed" | "Deleting"; + readonly status?: + | "RetrievingValidationToken" + | "Validating" + | "Adding" + | "Ready" + | "Failed" + | "Deleting"; /** The TXT record validation token */ - validationToken?: string; - errorMessage?: string; + readonly validationToken?: string; + readonly errorMessage?: string; } +/** Static Site Custom Domain Request Properties ARM resource. */ export interface StaticSiteCustomDomainRequestPropertiesARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties */ properties?: StaticSiteCustomDomainRequestPropertiesARMResourcePropertiesOutput; } +/** StaticSiteCustomDomainRequestPropertiesARMResource resource specific properties */ export interface StaticSiteCustomDomainRequestPropertiesARMResourcePropertiesOutput { /** Validation method for adding a custom domain */ validationMethod?: string; } +/** String list resource. */ export interface StringListOutput extends ProxyOnlyResourceOutput { /** List of string resources. */ properties?: Array; } +/** Static Site Reset Properties ARM resource. */ export interface StaticSiteResetPropertiesARMResourceOutput extends ProxyOnlyResourceOutput { /** StaticSiteResetPropertiesARMResource resource specific properties */ properties?: StaticSiteResetPropertiesARMResourcePropertiesOutput; } +/** StaticSiteResetPropertiesARMResource resource specific properties */ export interface StaticSiteResetPropertiesARMResourcePropertiesOutput { /** The token which proves admin privileges to the repository. */ repositoryToken?: string; @@ -4184,6 +4549,7 @@ export interface StaticSiteResetPropertiesARMResourcePropertiesOutput { shouldUpdateRepository?: boolean; } +/** ARM resource for a site. */ export interface SitePatchResourceOutput extends ProxyOnlyResourceOutput { /** SitePatchResource resource specific properties */ properties?: SitePatchResourcePropertiesOutput; @@ -4191,24 +4557,25 @@ export interface SitePatchResourceOutput extends ProxyOnlyResourceOutput { identity?: ManagedServiceIdentityOutput; } +/** SitePatchResource resource specific properties */ export interface SitePatchResourcePropertiesOutput { /** Current state of the app. */ - state?: string; + readonly state?: string; /** Hostnames associated with the app. */ - hostNames?: Array; + readonly hostNames?: Array; /** Name of the repository site. */ - repositorySiteName?: string; + readonly repositorySiteName?: string; /** State indicating whether the app has exceeded its quota usage. Read-only. */ - usageState?: "Normal" | "Exceeded"; + readonly usageState?: "Normal" | "Exceeded"; /** true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline). */ enabled?: boolean; /** * Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, * the app is not served on those hostnames. */ - enabledHostNames?: Array; + readonly enabledHostNames?: Array; /** Management information availability state for the app. */ - availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; + readonly availabilityState?: "Normal" | "Limited" | "DisasterRecoveryMode"; /** Hostname SSL states are used to manage the SSL bindings for app's hostnames. */ hostNameSslStates?: Array; /** Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ @@ -4220,15 +4587,15 @@ export interface SitePatchResourcePropertiesOutput { /** Hyper-V sandbox. */ hyperV?: boolean; /** Last time the app was modified, in UTC. Read-only. */ - lastModifiedTimeUtc?: string; + readonly lastModifiedTimeUtc?: string; /** Configuration of the app. */ siteConfig?: SiteConfigOutput; /** Azure Traffic Manager hostnames associated with the app. Read-only. */ - trafficManagerHostNames?: Array; + readonly trafficManagerHostNames?: Array; /** true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. */ scmSiteAlsoStopped?: boolean; /** Specifies which deployment slot this app will swap into. Read-only. */ - targetSwapSlot?: string; + readonly targetSwapSlot?: string; /** App Service Environment to use for the app. */ hostingEnvironmentProfile?: HostingEnvironmentProfileOutput; /** true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true. */ @@ -4252,30 +4619,30 @@ export interface SitePatchResourcePropertiesOutput { /** Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. */ customDomainVerificationId?: string; /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. */ - outboundIpAddresses?: string; + readonly outboundIpAddresses?: string; /** List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only. */ - possibleOutboundIpAddresses?: string; + readonly possibleOutboundIpAddresses?: string; /** Size of the function container. */ containerSize?: number; /** Maximum allowed daily memory-time quota (applicable on dynamic apps only). */ dailyMemoryTimeQuota?: number; /** App suspended till in case memory-time quota is exceeded. */ - suspendedTill?: string; + readonly suspendedTill?: string; /** * Maximum number of workers. * This only applies to Functions container. */ - maxNumberOfWorkers?: number; + readonly maxNumberOfWorkers?: number; /** If specified during app creation, the app is cloned from a source app. */ cloningInfo?: CloningInfoOutput; /** Name of the resource group the app belongs to. Read-only. */ - resourceGroup?: string; + readonly resourceGroup?: string; /** true if the app is a default container; otherwise, false. */ - isDefaultContainer?: boolean; + readonly isDefaultContainer?: boolean; /** Default hostname of the app. Read-only. */ - defaultHostName?: string; + readonly defaultHostName?: string; /** Status of the last deployment slot swap operation. */ - slotSwapStatus?: SlotSwapStatusOutput; + readonly slotSwapStatus?: SlotSwapStatusOutput; /** * HttpsOnly: configures a web site to accept only https requests. Issues redirect for * http requests @@ -4288,7 +4655,7 @@ export interface SitePatchResourcePropertiesOutput { * * Value may contain a UUID */ - inProgressOperationId?: string; + readonly inProgressOperationId?: string; /** Checks if Customer provided storage account is required */ storageAccountRequired?: boolean; /** Identity to use for Key Vault Reference authentication. */ @@ -4300,24 +4667,26 @@ export interface SitePatchResourcePropertiesOutput { virtualNetworkSubnetId?: string; } +/** Custom domain analysis. */ export interface CustomHostnameAnalysisResultOutput extends ProxyOnlyResourceOutput { /** CustomHostnameAnalysisResult resource specific properties */ properties?: CustomHostnameAnalysisResultPropertiesOutput; } +/** CustomHostnameAnalysisResult resource specific properties */ export interface CustomHostnameAnalysisResultPropertiesOutput { /** true if hostname is already verified; otherwise, false. */ - isHostnameAlreadyVerified?: boolean; + readonly isHostnameAlreadyVerified?: boolean; /** DNS verification test result. */ - customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; + readonly customDomainVerificationTest?: "Passed" | "Failed" | "Skipped"; /** Raw failure information if DNS verification fails. */ - customDomainVerificationFailureInfo?: ErrorEntityOutput; + readonly customDomainVerificationFailureInfo?: ErrorEntityOutput; /** true if there is a conflict on a scale unit; otherwise, false. */ - hasConflictOnScaleUnit?: boolean; + readonly hasConflictOnScaleUnit?: boolean; /** true if there is a conflict across subscriptions; otherwise, false. */ - hasConflictAcrossSubscription?: boolean; + readonly hasConflictAcrossSubscription?: boolean; /** Name of the conflicting app on scale unit if it's within the same subscription. */ - conflictingAppResourceId?: string; + readonly conflictingAppResourceId?: string; /** CName records controller can see for this hostname. */ cNameRecords?: Array; /** TXT records controller can see for this hostname. */ @@ -4330,11 +4699,13 @@ export interface CustomHostnameAnalysisResultPropertiesOutput { alternateTxtRecords?: Array; } +/** Description of a backup which will be performed. */ export interface BackupRequestOutput extends ProxyOnlyResourceOutput { /** BackupRequest resource specific properties */ properties?: BackupRequestPropertiesOutput; } +/** BackupRequest resource specific properties */ export interface BackupRequestPropertiesOutput { /** Name of the backup. */ backupName?: string; @@ -4348,6 +4719,7 @@ export interface BackupRequestPropertiesOutput { databases?: Array; } +/** Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy. */ export interface BackupScheduleOutput { /** How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) */ frequencyInterval: number; @@ -4360,9 +4732,10 @@ export interface BackupScheduleOutput { /** When the schedule should start working. */ startTime?: string; /** Last time when this schedule was triggered. */ - lastExecutionTime?: string; + readonly lastExecutionTime?: string; } +/** Database backup settings. */ export interface DatabaseBackupSettingOutput { /** Database type (e.g. SqlAzure / MySql). */ databaseType: "SqlAzure" | "MySql" | "LocalMySql" | "PostgreSql"; @@ -4376,22 +4749,24 @@ export interface DatabaseBackupSettingOutput { connectionString?: string; } +/** Backup description. */ export interface BackupItemOutput extends ProxyOnlyResourceOutput { /** BackupItem resource specific properties */ properties?: BackupItemPropertiesOutput; } +/** BackupItem resource specific properties */ export interface BackupItemPropertiesOutput { /** Id of the backup. */ - id?: number; + readonly id?: number; /** SAS URL for the storage account container which contains this backup. */ - storageAccountUrl?: string; + readonly storageAccountUrl?: string; /** Name of the blob which contains data for this backup. */ - blobName?: string; + readonly blobName?: string; /** Name of this backup. */ - name?: string; + readonly name?: string; /** Backup status. */ - status?: + readonly status?: | "InProgress" | "Failed" | "Succeeded" @@ -4403,37 +4778,40 @@ export interface BackupItemPropertiesOutput { | "DeleteFailed" | "Deleted"; /** Size of the backup in bytes. */ - sizeInBytes?: number; + readonly sizeInBytes?: number; /** Timestamp of the backup creation. */ - created?: string; + readonly created?: string; /** Details regarding this backup. Might contain an error message. */ - log?: string; + readonly log?: string; /** List of databases included in the backup. */ - databases?: Array; + readonly databases?: Array; /** True if this backup has been created due to a schedule being triggered. */ - scheduled?: boolean; + readonly scheduled?: boolean; /** Timestamp of a last restore operation which used this backup. */ - lastRestoreTimeStamp?: string; + readonly lastRestoreTimeStamp?: string; /** Timestamp when this backup finished. */ - finishedTimeStamp?: string; + readonly finishedTimeStamp?: string; /** Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. */ - correlationId?: string; + readonly correlationId?: string; /** Size of the original web app which has been backed up. */ - websiteSizeInBytes?: number; + readonly websiteSizeInBytes?: number; } +/** Collection of backup items. */ export interface BackupItemCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Description of a restore request. */ export interface RestoreRequestOutput extends ProxyOnlyResourceOutput { /** RestoreRequest resource specific properties */ properties?: RestoreRequestPropertiesOutput; } +/** RestoreRequest resource specific properties */ export interface RestoreRequestPropertiesOutput { /** SAS URL to the container. */ storageAccountUrl: string; @@ -4462,40 +4840,47 @@ export interface RestoreRequestPropertiesOutput { hostingEnvironment?: string; } +/** Publishing Credentials Policies entity collection ARM resource. */ export interface PublishingCredentialsPoliciesCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Publishing Credentials Policies parameters. */ export interface CsmPublishingCredentialsPoliciesEntityOutput extends ProxyOnlyResourceOutput { /** CsmPublishingCredentialsPoliciesEntity resource specific properties */ properties?: CsmPublishingCredentialsPoliciesEntityPropertiesOutput; } +/** CsmPublishingCredentialsPoliciesEntity resource specific properties */ export interface CsmPublishingCredentialsPoliciesEntityPropertiesOutput { /** true to allow access to a publishing method; otherwise, false. */ allow: boolean; } +/** Collection of site configurations. */ export interface SiteConfigResourceCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Web app configuration ARM resource. */ export interface SiteConfigResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: SiteConfigOutput; } +/** Configuration settings for the Azure App Service Authentication / Authorization feature. */ export interface SiteAuthSettingsOutput extends ProxyOnlyResourceOutput { /** SiteAuthSettings resource specific properties */ properties?: SiteAuthSettingsPropertiesOutput; } +/** SiteAuthSettings resource specific properties */ export interface SiteAuthSettingsPropertiesOutput { /** true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. */ enabled?: boolean; @@ -4697,11 +5082,13 @@ export interface SiteAuthSettingsPropertiesOutput { configVersion?: string; } +/** Configuration settings for the Azure App Service Authentication / Authorization V2 feature. */ export interface SiteAuthSettingsV2Output extends ProxyOnlyResourceOutput { /** SiteAuthSettingsV2 resource specific properties */ properties?: SiteAuthSettingsV2PropertiesOutput; } +/** SiteAuthSettingsV2 resource specific properties */ export interface SiteAuthSettingsV2PropertiesOutput { /** The configuration settings of the platform of App Service Authentication/Authorization. */ platform?: AuthPlatformOutput; @@ -4715,6 +5102,7 @@ export interface SiteAuthSettingsV2PropertiesOutput { httpSettings?: HttpSettingsOutput; } +/** The configuration settings of the platform of App Service Authentication/Authorization. */ export interface AuthPlatformOutput { /** true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. */ enabled?: boolean; @@ -4730,6 +5118,7 @@ export interface AuthPlatformOutput { configFilePath?: string; } +/** The configuration settings that determines the validation flow of users using App Service Authentication/Authorization. */ export interface GlobalValidationOutput { /** true if the authentication flow is required any request is made; otherwise, false. */ requireAuthentication?: boolean; @@ -4749,6 +5138,7 @@ export interface GlobalValidationOutput { excludedPaths?: Array; } +/** The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization. */ export interface IdentityProvidersOutput { /** The configuration settings of the Azure Active directory provider. */ azureActiveDirectory?: AzureActiveDirectoryOutput; @@ -4773,6 +5163,7 @@ export interface IdentityProvidersOutput { customOpenIdConnectProviders?: Record; } +/** The configuration settings of the Azure Active directory provider. */ export interface AzureActiveDirectoryOutput { /** false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4790,6 +5181,7 @@ export interface AzureActiveDirectoryOutput { isAutoProvisioned?: boolean; } +/** The configuration settings of the Azure Active Directory app registration. */ export interface AzureActiveDirectoryRegistrationOutput { /** * The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. @@ -4824,6 +5216,7 @@ export interface AzureActiveDirectoryRegistrationOutput { clientSecretCertificateIssuer?: string; } +/** The configuration settings of the Azure Active Directory login flow. */ export interface AzureActiveDirectoryLoginOutput { /** * Login parameters to send to the OpenID Connect authorization endpoint when @@ -4834,6 +5227,7 @@ export interface AzureActiveDirectoryLoginOutput { disableWWWAuthenticate?: boolean; } +/** The configuration settings of the Azure Active Directory token validation flow. */ export interface AzureActiveDirectoryValidationOutput { /** The configuration settings of the checks that should be made while validating the JWT Claims. */ jwtClaimChecks?: JwtClaimChecksOutput; @@ -4843,6 +5237,7 @@ export interface AzureActiveDirectoryValidationOutput { defaultAuthorizationPolicy?: DefaultAuthorizationPolicyOutput; } +/** The configuration settings of the checks that should be made while validating the JWT Claims. */ export interface JwtClaimChecksOutput { /** The list of the allowed groups. */ allowedGroups?: Array; @@ -4850,6 +5245,7 @@ export interface JwtClaimChecksOutput { allowedClientApplications?: Array; } +/** The configuration settings of the Azure Active Directory default authorization policy. */ export interface DefaultAuthorizationPolicyOutput { /** The configuration settings of the Azure Active Directory allowed principals. */ allowedPrincipals?: AllowedPrincipalsOutput; @@ -4857,6 +5253,7 @@ export interface DefaultAuthorizationPolicyOutput { allowedApplications?: Array; } +/** The configuration settings of the Azure Active Directory allowed principals. */ export interface AllowedPrincipalsOutput { /** The list of the allowed groups. */ groups?: Array; @@ -4864,6 +5261,7 @@ export interface AllowedPrincipalsOutput { identities?: Array; } +/** The configuration settings of the Facebook provider. */ export interface FacebookOutput { /** false if the Facebook provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4875,6 +5273,7 @@ export interface FacebookOutput { login?: LoginScopesOutput; } +/** The configuration settings of the app registration for providers that have app ids and app secrets */ export interface AppRegistrationOutput { /** The App ID of the app used for login. */ appId?: string; @@ -4882,11 +5281,13 @@ export interface AppRegistrationOutput { appSecretSettingName?: string; } +/** The configuration settings of the login flow, including the scopes that should be requested. */ export interface LoginScopesOutput { /** A list of the scopes that should be requested while authenticating. */ scopes?: Array; } +/** The configuration settings of the GitHub provider. */ export interface GitHubOutput { /** false if the GitHub provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4896,6 +5297,7 @@ export interface GitHubOutput { login?: LoginScopesOutput; } +/** The configuration settings of the app registration for providers that have client ids and client secrets */ export interface ClientRegistrationOutput { /** The Client ID of the app used for login. */ clientId?: string; @@ -4903,6 +5305,7 @@ export interface ClientRegistrationOutput { clientSecretSettingName?: string; } +/** The configuration settings of the Google provider. */ export interface GoogleOutput { /** false if the Google provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4914,11 +5317,13 @@ export interface GoogleOutput { validation?: AllowedAudiencesValidationOutput; } +/** The configuration settings of the Allowed Audiences validation flow. */ export interface AllowedAudiencesValidationOutput { /** The configuration settings of the allowed list of audiences from which to validate the JWT token. */ allowedAudiences?: Array; } +/** The configuration settings of the legacy Microsoft Account provider. */ export interface LegacyMicrosoftAccountOutput { /** false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4930,6 +5335,7 @@ export interface LegacyMicrosoftAccountOutput { validation?: AllowedAudiencesValidationOutput; } +/** The configuration settings of the Twitter provider. */ export interface TwitterOutput { /** false if the Twitter provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4937,6 +5343,7 @@ export interface TwitterOutput { registration?: TwitterRegistrationOutput; } +/** The configuration settings of the app registration for the Twitter provider. */ export interface TwitterRegistrationOutput { /** * The OAuth 1.0a consumer key of the Twitter application used for sign-in. @@ -4951,6 +5358,7 @@ export interface TwitterRegistrationOutput { consumerSecretSettingName?: string; } +/** The configuration settings of the Apple provider. */ export interface AppleOutput { /** false if the Apple provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4960,6 +5368,7 @@ export interface AppleOutput { login?: LoginScopesOutput; } +/** The configuration settings of the registration for the Apple provider */ export interface AppleRegistrationOutput { /** The Client ID of the app used for login. */ clientId?: string; @@ -4967,6 +5376,7 @@ export interface AppleRegistrationOutput { clientSecretSettingName?: string; } +/** The configuration settings of the Azure Static Web Apps provider. */ export interface AzureStaticWebAppsOutput { /** false if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true. */ enabled?: boolean; @@ -4974,11 +5384,13 @@ export interface AzureStaticWebAppsOutput { registration?: AzureStaticWebAppsRegistrationOutput; } +/** The configuration settings of the registration for the Azure Static Web Apps provider */ export interface AzureStaticWebAppsRegistrationOutput { /** The Client ID of the app used for login. */ clientId?: string; } +/** The configuration settings of the custom Open ID Connect provider. */ export interface CustomOpenIdConnectProviderOutput { /** false if the custom Open ID provider provider should not be enabled; otherwise, true. */ enabled?: boolean; @@ -4988,6 +5400,7 @@ export interface CustomOpenIdConnectProviderOutput { login?: OpenIdConnectLoginOutput; } +/** The configuration settings of the app registration for the custom Open ID Connect provider. */ export interface OpenIdConnectRegistrationOutput { /** The client id of the custom Open ID Connect provider. */ clientId?: string; @@ -4997,6 +5410,7 @@ export interface OpenIdConnectRegistrationOutput { openIdConnectConfiguration?: OpenIdConnectConfigOutput; } +/** The authentication client credentials of the custom Open ID Connect provider. */ export interface OpenIdConnectClientCredentialOutput { /** The method that should be used to authenticate the user. */ method?: "ClientSecretPost"; @@ -5004,6 +5418,7 @@ export interface OpenIdConnectClientCredentialOutput { clientSecretSettingName?: string; } +/** The configuration settings of the endpoints used for the custom Open ID Connect provider. */ export interface OpenIdConnectConfigOutput { /** The endpoint to be used to make an authorization request. */ authorizationEndpoint?: string; @@ -5017,6 +5432,7 @@ export interface OpenIdConnectConfigOutput { wellKnownOpenIdConfiguration?: string; } +/** The configuration settings of the login flow of the custom Open ID Connect provider. */ export interface OpenIdConnectLoginOutput { /** The name of the claim that contains the users name. */ nameClaimType?: string; @@ -5024,6 +5440,7 @@ export interface OpenIdConnectLoginOutput { scopes?: Array; } +/** The configuration settings of the login flow of users using App Service Authentication/Authorization. */ export interface LoginOutput { /** The routes that specify the endpoints used for login and logout requests. */ routes?: LoginRoutesOutput; @@ -5043,11 +5460,13 @@ export interface LoginOutput { nonce?: NonceOutput; } +/** The routes that specify the endpoints used for login and logout requests. */ export interface LoginRoutesOutput { /** The endpoint at which a logout request should be made. */ logoutEndpoint?: string; } +/** The configuration settings of the token store. */ export interface TokenStoreOutput { /** * true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. @@ -5065,16 +5484,19 @@ export interface TokenStoreOutput { azureBlobStorage?: BlobStorageTokenStoreOutput; } +/** The configuration settings of the storage of the tokens if a file system is used. */ export interface FileSystemTokenStoreOutput { /** The directory in which the tokens will be stored. */ directory?: string; } +/** The configuration settings of the storage of the tokens if blob storage is used. */ export interface BlobStorageTokenStoreOutput { /** The name of the app setting containing the SAS URL of the blob storage containing the tokens. */ sasUrlSettingName?: string; } +/** The configuration settings of the session cookie's expiration. */ export interface CookieExpirationOutput { /** The convention used when determining the session cookie's expiration. */ convention?: "FixedTime" | "IdentityProviderDerived"; @@ -5082,6 +5504,7 @@ export interface CookieExpirationOutput { timeToExpiration?: string; } +/** The configuration settings of the nonce used in the login flow. */ export interface NonceOutput { /** false if the nonce should not be validated while completing the login flow; otherwise, true. */ validateNonce?: boolean; @@ -5089,6 +5512,7 @@ export interface NonceOutput { nonceExpirationInterval?: string; } +/** The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization. */ export interface HttpSettingsOutput { /** false if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true. */ requireHttps?: boolean; @@ -5098,11 +5522,13 @@ export interface HttpSettingsOutput { forwardProxy?: ForwardProxyOutput; } +/** The configuration settings of the paths HTTP requests. */ export interface HttpSettingsRoutesOutput { /** The prefix that should precede all the authentication/authorization paths. */ apiPrefix?: string; } +/** The configuration settings of a forward proxy used to make the requests. */ export interface ForwardProxyOutput { /** The convention used to determine the url of the request made. */ convention?: "NoProxy" | "Standard" | "Custom"; @@ -5112,6 +5538,7 @@ export interface ForwardProxyOutput { customProtoHeaderName?: string; } +/** AzureStorageInfo dictionary resource. */ export interface AzureStoragePropertyDictionaryResourceOutput extends ProxyOnlyResourceOutput { /** Azure storage accounts. */ properties?: Record; @@ -5121,14 +5548,16 @@ export interface ApiKVReferenceCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Description of site key vault references. */ export interface ApiKVReferenceOutput extends ProxyOnlyResourceOutput { /** ApiKVReference resource specific properties */ properties?: ApiKVReferencePropertiesOutput; } +/** ApiKVReference resource specific properties */ export interface ApiKVReferencePropertiesOutput { reference?: string; status?: @@ -5153,11 +5582,13 @@ export interface ApiKVReferencePropertiesOutput { activeVersion?: string; } +/** String dictionary resource. */ export interface ConnectionStringDictionaryOutput extends ProxyOnlyResourceOutput { /** Connection strings. */ properties?: Record; } +/** Database connection string value to type pair. */ export interface ConnStringValueTypePairOutput { /** Value of pair. */ value: string; @@ -5176,11 +5607,13 @@ export interface ConnStringValueTypePairOutput { | "PostgreSQL"; } +/** Configuration of App Service site logs. */ export interface SiteLogsConfigOutput extends ProxyOnlyResourceOutput { /** SiteLogsConfig resource specific properties */ properties?: SiteLogsConfigPropertiesOutput; } +/** SiteLogsConfig resource specific properties */ export interface SiteLogsConfigPropertiesOutput { /** Application logs configuration. */ applicationLogs?: ApplicationLogsConfigOutput; @@ -5192,6 +5625,7 @@ export interface SiteLogsConfigPropertiesOutput { detailedErrorMessages?: EnabledConfigOutput; } +/** Application logs configuration. */ export interface ApplicationLogsConfigOutput { /** Application logs to file system configuration. */ fileSystem?: FileSystemApplicationLogsConfigOutput; @@ -5201,11 +5635,13 @@ export interface ApplicationLogsConfigOutput { azureBlobStorage?: AzureBlobStorageApplicationLogsConfigOutput; } +/** Application logs to file system configuration. */ export interface FileSystemApplicationLogsConfigOutput { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; } +/** Application logs to Azure table storage configuration. */ export interface AzureTableStorageApplicationLogsConfigOutput { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; @@ -5213,6 +5649,7 @@ export interface AzureTableStorageApplicationLogsConfigOutput { sasUrl: string; } +/** Application logs azure blob storage configuration. */ export interface AzureBlobStorageApplicationLogsConfigOutput { /** Log level. */ level?: "Off" | "Verbose" | "Information" | "Warning" | "Error"; @@ -5226,6 +5663,7 @@ export interface AzureBlobStorageApplicationLogsConfigOutput { retentionInDays?: number; } +/** Http logs configuration. */ export interface HttpLogsConfigOutput { /** Http logs to file system configuration. */ fileSystem?: FileSystemHttpLogsConfigOutput; @@ -5233,6 +5671,7 @@ export interface HttpLogsConfigOutput { azureBlobStorage?: AzureBlobStorageHttpLogsConfigOutput; } +/** Http logs to file system configuration. */ export interface FileSystemHttpLogsConfigOutput { /** * Maximum size in megabytes that http log files can use. @@ -5250,6 +5689,7 @@ export interface FileSystemHttpLogsConfigOutput { enabled?: boolean; } +/** Http logs to azure blob storage configuration. */ export interface AzureBlobStorageHttpLogsConfigOutput { /** SAS url to a azure blob container with read/write/list/delete permissions. */ sasUrl?: string; @@ -5263,16 +5703,23 @@ export interface AzureBlobStorageHttpLogsConfigOutput { enabled?: boolean; } +/** Enabled configuration. */ export interface EnabledConfigOutput { /** True if configuration is enabled, false if it is disabled and null if configuration is not set. */ enabled?: boolean; } +/** Slot Config names azure resource. */ export interface SlotConfigNamesResourceOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: SlotConfigNamesOutput; } +/** + * Names for connection strings, application settings, and external Azure storage account configuration + * identifiers to be marked as sticky to the deployment slot and not moved during a swap operation. + * This is valid for all deployment slots in an app. + */ export interface SlotConfigNamesOutput { /** List of connection string names. */ connectionStringNames?: Array; @@ -5282,37 +5729,43 @@ export interface SlotConfigNamesOutput { azureStorageConfigNames?: Array; } +/** Collection of metadata for the app configuration snapshots that can be restored. */ export interface SiteConfigurationSnapshotInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A snapshot of a web app configuration. */ export interface SiteConfigurationSnapshotInfoOutput extends ProxyOnlyResourceOutput { /** SiteConfigurationSnapshotInfo resource specific properties */ properties?: SiteConfigurationSnapshotInfoPropertiesOutput; } +/** SiteConfigurationSnapshotInfo resource specific properties */ export interface SiteConfigurationSnapshotInfoPropertiesOutput { /** The time the snapshot was taken. */ - time?: string; + readonly time?: string; /** The id of the snapshot */ - snapshotId?: number; + readonly snapshotId?: number; } +/** Collection of Kudu continuous web job information elements. */ export interface ContinuousWebJobCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Continuous Web Job Information. */ export interface ContinuousWebJobOutput extends ProxyOnlyResourceOutput { /** ContinuousWebJob resource specific properties */ properties?: ContinuousWebJobPropertiesOutput; } +/** ContinuousWebJob resource specific properties */ export interface ContinuousWebJobPropertiesOutput { /** Job status. */ status?: "Initializing" | "Starting" | "Running" | "PendingRestart" | "Stopped"; @@ -5336,18 +5789,21 @@ export interface ContinuousWebJobPropertiesOutput { settings?: Record>; } +/** Collection of app deployments. */ export interface DeploymentCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** User credentials used for publishing activity. */ export interface DeploymentOutput extends ProxyOnlyResourceOutput { /** Deployment resource specific properties */ properties?: DeploymentPropertiesOutput; } +/** Deployment resource specific properties */ export interface DeploymentPropertiesOutput { /** Deployment status. */ status?: number; @@ -5369,29 +5825,33 @@ export interface DeploymentPropertiesOutput { details?: string; } +/** MSDeploy ARM response */ export interface MSDeployStatusOutput extends ProxyOnlyResourceOutput { /** MSDeployStatus resource specific properties */ properties?: MSDeployStatusPropertiesOutput; } +/** MSDeployStatus resource specific properties */ export interface MSDeployStatusPropertiesOutput { /** Username of deployer */ - deployer?: string; + readonly deployer?: string; /** Provisioning state */ - provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; + readonly provisioningState?: "accepted" | "running" | "succeeded" | "failed" | "canceled"; /** Start time of deploy operation */ - startTime?: string; + readonly startTime?: string; /** End time of deploy operation */ - endTime?: string; + readonly endTime?: string; /** Whether the deployment operation has completed */ - complete?: boolean; + readonly complete?: boolean; } +/** MSDeploy ARM PUT information */ export interface MSDeployOutput extends ProxyOnlyResourceOutput { /** Core resource properties */ properties?: MSDeployCoreOutput; } +/** MSDeploy ARM PUT core information */ export interface MSDeployCoreOutput { /** Package URI */ packageUri?: string; @@ -5417,37 +5877,43 @@ export interface MSDeployCoreOutput { appOffline?: boolean; } +/** MSDeploy log */ export interface MSDeployLogOutput extends ProxyOnlyResourceOutput { /** MSDeployLog resource specific properties */ properties?: MSDeployLogPropertiesOutput; } +/** MSDeployLog resource specific properties */ export interface MSDeployLogPropertiesOutput { /** List of log entry messages */ - entries?: Array; + readonly entries?: Array; } +/** MSDeploy log entry */ export interface MSDeployLogEntryOutput { /** Timestamp of log entry */ - time?: string; + readonly time?: string; /** Log entry type */ - type?: "Message" | "Warning" | "Error"; + readonly type?: "Message" | "Warning" | "Error"; /** Log entry message */ - message?: string; + readonly message?: string; } +/** Collection of Kudu function information elements. */ export interface FunctionEnvelopeCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Function information. */ export interface FunctionEnvelopeOutput extends ProxyOnlyResourceOutput { /** FunctionEnvelope resource specific properties */ properties?: FunctionEnvelopePropertiesOutput; } +/** FunctionEnvelope resource specific properties */ export interface FunctionEnvelopePropertiesOutput { /** Function App ID. */ function_app_id?: string; @@ -5477,6 +5943,7 @@ export interface FunctionEnvelopePropertiesOutput { isDisabled?: boolean; } +/** Function key info. */ export interface KeyInfoOutput { /** Key name */ name?: string; @@ -5484,6 +5951,7 @@ export interface KeyInfoOutput { value?: string; } +/** Function secrets. */ export interface FunctionSecretsOutput { /** Secret key. */ key?: string; @@ -5491,6 +5959,7 @@ export interface FunctionSecretsOutput { trigger_url?: string; } +/** Functions host level keys. */ export interface HostKeysOutput { /** Secret key. */ masterKey?: string; @@ -5500,18 +5969,21 @@ export interface HostKeysOutput { systemKeys?: Record; } +/** Collection of hostname bindings. */ export interface HostNameBindingCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A hostname binding object. */ export interface HostNameBindingOutput extends ProxyOnlyResourceOutput { /** HostNameBinding resource specific properties */ properties?: HostNameBindingPropertiesOutput; } +/** HostNameBinding resource specific properties */ export interface HostNameBindingPropertiesOutput { /** App Service app name. */ siteName?: string; @@ -5530,14 +6002,16 @@ export interface HostNameBindingPropertiesOutput { /** SSL certificate thumbprint */ thumbprint?: string; /** Virtual IP address assigned to the hostname if IP based SSL is enabled. */ - virtualIP?: string; + readonly virtualIP?: string; } +/** Hybrid Connection for an App Service app. */ export interface RelayServiceConnectionEntityOutput extends ProxyOnlyResourceOutput { /** RelayServiceConnectionEntity resource specific properties */ properties?: RelayServiceConnectionEntityPropertiesOutput; } +/** RelayServiceConnectionEntity resource specific properties */ export interface RelayServiceConnectionEntityPropertiesOutput { entityName?: string; entityConnectionString?: string; @@ -5548,11 +6022,12 @@ export interface RelayServiceConnectionEntityPropertiesOutput { biztalkUri?: string; } +/** Collection of app instances. */ export interface WebAppInstanceStatusCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } export interface WebSiteInstanceStatusOutput extends ProxyOnlyResourceOutput { @@ -5560,6 +6035,7 @@ export interface WebSiteInstanceStatusOutput extends ProxyOnlyResourceOutput { properties?: WebSiteInstanceStatusPropertiesOutput; } +/** WebSiteInstanceStatus resource specific properties */ export interface WebSiteInstanceStatusPropertiesOutput { state?: "READY" | "STOPPED" | "UNKNOWN"; /** Link to the GetStatusApi in Kudu */ @@ -5622,21 +6098,24 @@ export interface ContainerNetworkInterfaceStatisticsOutput { txDropped?: number; } +/** Collection of Kudu process information elements. */ export interface ProcessInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Process Information. */ export interface ProcessInfoOutput extends ProxyOnlyResourceOutput { /** ProcessInfo resource specific properties */ properties?: ProcessInfoPropertiesOutput; } +/** ProcessInfo resource specific properties */ export interface ProcessInfoPropertiesOutput { /** ARM Identifier for deployment. */ - identifier?: number; + readonly identifier?: number; /** Deployment name. */ deployment_name?: string; /** HRef URI. */ @@ -5709,14 +6188,16 @@ export interface ProcessInfoPropertiesOutput { description?: string; } +/** Process Thread Information. */ export interface ProcessThreadInfoOutput extends ProxyOnlyResourceOutput { /** ProcessThreadInfo resource specific properties */ properties?: ProcessThreadInfoPropertiesOutput; } +/** ProcessThreadInfo resource specific properties */ export interface ProcessThreadInfoPropertiesOutput { /** Site extension ID. */ - identifier?: number; + readonly identifier?: number; /** HRef URI. */ href?: string; /** Process URI. */ @@ -5741,11 +6222,13 @@ export interface ProcessThreadInfoPropertiesOutput { wait_reason?: string; } +/** Process Module Information. */ export interface ProcessModuleInfoOutput extends ProxyOnlyResourceOutput { /** ProcessModuleInfo resource specific properties */ properties?: ProcessModuleInfoPropertiesOutput; } +/** ProcessModuleInfo resource specific properties */ export interface ProcessModuleInfoPropertiesOutput { /** Base address. Used as module identifier in ARM resource URI. */ base_address?: string; @@ -5771,20 +6254,23 @@ export interface ProcessModuleInfoPropertiesOutput { language?: string; } +/** Collection of Kudu thread information elements. */ export interface ProcessModuleInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Collection of Kudu thread information elements. */ export interface ProcessThreadInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Represents whether or not an app is cloneable. */ export interface SiteCloneabilityOutput { /** Name of app. */ result?: "Cloneable" | "PartiallyCloneable" | "NotCloneable"; @@ -5799,6 +6285,7 @@ export interface SiteCloneabilityOutput { blockingCharacteristics?: Array; } +/** An app cloneability criterion. */ export interface SiteCloneabilityCriterionOutput { /** Name of criterion. */ name?: string; @@ -5806,11 +6293,13 @@ export interface SiteCloneabilityCriterionOutput { description?: string; } +/** Options for app content migration. */ export interface StorageMigrationOptionsOutput extends ProxyOnlyResourceOutput { /** StorageMigrationOptions resource specific properties */ properties?: StorageMigrationOptionsPropertiesOutput; } +/** StorageMigrationOptions resource specific properties */ export interface StorageMigrationOptionsPropertiesOutput { /** AzureFiles connection string. */ azurefilesConnectionString: string; @@ -5822,21 +6311,25 @@ export interface StorageMigrationOptionsPropertiesOutput { blockWriteAccessToSite?: boolean; } +/** Response for a migration of app content request. */ export interface StorageMigrationResponseOutput extends ProxyOnlyResourceOutput { /** StorageMigrationResponse resource specific properties */ properties?: StorageMigrationResponsePropertiesOutput; } +/** StorageMigrationResponse resource specific properties */ export interface StorageMigrationResponsePropertiesOutput { /** When server starts the migration process, it will return an operation ID identifying that particular migration operation. */ - operationId?: string; + readonly operationId?: string; } +/** MySQL migration request. */ export interface MigrateMySqlRequestOutput extends ProxyOnlyResourceOutput { /** MigrateMySqlRequest resource specific properties */ properties?: MigrateMySqlRequestPropertiesOutput; } +/** MigrateMySqlRequest resource specific properties */ export interface MigrateMySqlRequestPropertiesOutput { /** Connection string to the remote MySQL database. */ connectionString: string; @@ -5844,25 +6337,34 @@ export interface MigrateMySqlRequestPropertiesOutput { migrationType: "LocalToRemote" | "RemoteToLocal"; } +/** MySQL migration status. */ export interface MigrateMySqlStatusOutput extends ProxyOnlyResourceOutput { /** MigrateMySqlStatus resource specific properties */ properties?: MigrateMySqlStatusPropertiesOutput; } +/** MigrateMySqlStatus resource specific properties */ export interface MigrateMySqlStatusPropertiesOutput { /** Status of the migration task. */ - migrationOperationStatus?: "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created"; + readonly migrationOperationStatus?: + | "InProgress" + | "Failed" + | "Succeeded" + | "TimedOut" + | "Created"; /** Operation ID for the migration task. */ - operationId?: string; + readonly operationId?: string; /** True if the web app has in app MySql enabled */ - localMySqlEnabled?: boolean; + readonly localMySqlEnabled?: boolean; } +/** Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration. */ export interface SwiftVirtualNetworkOutput extends ProxyOnlyResourceOutput { /** SwiftVirtualNetwork resource specific properties */ properties?: SwiftVirtualNetworkPropertiesOutput; } +/** SwiftVirtualNetwork resource specific properties */ export interface SwiftVirtualNetworkPropertiesOutput { /** The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first. */ subnetResourceId?: string; @@ -5870,22 +6372,25 @@ export interface SwiftVirtualNetworkPropertiesOutput { swiftSupported?: boolean; } +/** Full view of network features for an app (presently VNET integration and Hybrid Connections). */ export interface NetworkFeaturesOutput extends ProxyOnlyResourceOutput { /** NetworkFeatures resource specific properties */ properties?: NetworkFeaturesPropertiesOutput; } +/** NetworkFeatures resource specific properties */ export interface NetworkFeaturesPropertiesOutput { /** The Virtual Network name. */ - virtualNetworkName?: string; + readonly virtualNetworkName?: string; /** The Virtual Network summary view. */ - virtualNetworkConnection?: VnetInfoOutput; + readonly virtualNetworkConnection?: VnetInfoOutput; /** The Hybrid Connections summary view. */ - hybridConnections?: Array; + readonly hybridConnections?: Array; /** The Hybrid Connection V2 (Service Bus) view. */ - hybridConnectionsV2?: Array; + readonly hybridConnectionsV2?: Array; } +/** Network trace */ export interface NetworkTraceOutput { /** Local file path for the captured network trace file. */ path?: string; @@ -5895,13 +6400,15 @@ export interface NetworkTraceOutput { message?: string; } +/** Collection of performance monitor counters. */ export interface PerfMonCounterCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Performance monitor API response. */ export interface PerfMonResponseOutput { /** The response code. */ code?: string; @@ -5911,6 +6418,7 @@ export interface PerfMonResponseOutput { data?: PerfMonSetOutput; } +/** Metric information. */ export interface PerfMonSetOutput { /** Unique key name of the counter. */ name?: string; @@ -5924,6 +6432,7 @@ export interface PerfMonSetOutput { values?: Array; } +/** Performance monitor sample in a set. */ export interface PerfMonSampleOutput { /** Point in time for which counter was measured. */ time?: string; @@ -5933,11 +6442,13 @@ export interface PerfMonSampleOutput { value?: number; } +/** Used for getting PHP error logging flag. */ export interface SitePhpErrorLogFlagOutput extends ProxyOnlyResourceOutput { /** SitePhpErrorLogFlag resource specific properties */ properties?: SitePhpErrorLogFlagPropertiesOutput; } +/** SitePhpErrorLogFlag resource specific properties */ export interface SitePhpErrorLogFlagPropertiesOutput { /** Local log_errors setting. */ localLogErrors?: string; @@ -5949,11 +6460,13 @@ export interface SitePhpErrorLogFlagPropertiesOutput { masterLogErrorsMaxLength?: string; } +/** Premier add-on. */ export interface PremierAddOnOutput extends ResourceOutput { /** PremierAddOn resource specific properties */ properties?: PremierAddOnPropertiesOutput; } +/** PremierAddOn resource specific properties */ export interface PremierAddOnPropertiesOutput { /** Premier add on SKU. */ sku?: string; @@ -5967,11 +6480,13 @@ export interface PremierAddOnPropertiesOutput { marketplaceOffer?: string; } +/** ARM resource for a PremierAddOn. */ export interface PremierAddOnPatchResourceOutput extends ProxyOnlyResourceOutput { /** PremierAddOnPatchResource resource specific properties */ properties?: PremierAddOnPatchResourcePropertiesOutput; } +/** PremierAddOnPatchResource resource specific properties */ export interface PremierAddOnPatchResourcePropertiesOutput { /** Premier add on SKU. */ sku?: string; @@ -5985,11 +6500,13 @@ export interface PremierAddOnPatchResourcePropertiesOutput { marketplaceOffer?: string; } +/** Description of the parameters of Private Access for a Web Site. */ export interface PrivateAccessOutput extends ProxyOnlyResourceOutput { /** PrivateAccess resource specific properties */ properties?: PrivateAccessPropertiesOutput; } +/** PrivateAccess resource specific properties */ export interface PrivateAccessPropertiesOutput { /** Whether private access is enabled or not. */ enabled?: boolean; @@ -5997,6 +6514,7 @@ export interface PrivateAccessPropertiesOutput { virtualNetworks?: Array; } +/** Description of a Virtual Network that is useable for private site access. */ export interface PrivateAccessVirtualNetworkOutput { /** The name of the Virtual Network. */ name?: string; @@ -6008,6 +6526,7 @@ export interface PrivateAccessVirtualNetworkOutput { subnets?: Array; } +/** Description of a Virtual Network subnet that is useable for private site access. */ export interface PrivateAccessSubnetOutput { /** The name of the subnet. */ name?: string; @@ -6015,18 +6534,21 @@ export interface PrivateAccessSubnetOutput { key?: number; } +/** Collection of public certificates */ export interface PublicCertificateCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Public certificate object */ export interface PublicCertificateOutput extends ProxyOnlyResourceOutput { /** PublicCertificate resource specific properties */ properties?: PublicCertificatePropertiesOutput; } +/** PublicCertificate resource specific properties */ export interface PublicCertificatePropertiesOutput { /** * Public Certificate byte array @@ -6037,14 +6559,16 @@ export interface PublicCertificatePropertiesOutput { /** Public Certificate Location */ publicCertificateLocation?: "CurrentUserMy" | "LocalMachineMy" | "Unknown"; /** Certificate Thumbprint */ - thumbprint?: string; + readonly thumbprint?: string; } +/** Details about restoring a deleted app. */ export interface DeletedAppRestoreRequestOutput extends ProxyOnlyResourceOutput { /** DeletedAppRestoreRequest resource specific properties */ properties?: DeletedAppRestoreRequestPropertiesOutput; } +/** DeletedAppRestoreRequest resource specific properties */ export interface DeletedAppRestoreRequestPropertiesOutput { /** * ARM resource ID of the deleted app. Example: @@ -6062,11 +6586,13 @@ export interface DeletedAppRestoreRequestPropertiesOutput { useDRSecondary?: boolean; } +/** Details about app recovery operation. */ export interface SnapshotRestoreRequestOutput extends ProxyOnlyResourceOutput { /** SnapshotRestoreRequest resource specific properties */ properties?: SnapshotRestoreRequestPropertiesOutput; } +/** SnapshotRestoreRequest resource specific properties */ export interface SnapshotRestoreRequestPropertiesOutput { /** Point in time in which the app restore should be done, formatted as a DateTime string. */ snapshotTime?: string; @@ -6088,6 +6614,7 @@ export interface SnapshotRestoreRequestPropertiesOutput { useDRSecondary?: boolean; } +/** Specifies the web app that snapshot contents will be retrieved from. */ export interface SnapshotRecoverySourceOutput { /** Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS */ location?: string; @@ -6099,18 +6626,21 @@ export interface SnapshotRecoverySourceOutput { id?: string; } +/** Collection of Kudu site extension information elements. */ export interface SiteExtensionInfoCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Site Extension Information. */ export interface SiteExtensionInfoOutput extends ProxyOnlyResourceOutput { /** SiteExtensionInfo resource specific properties */ properties?: SiteExtensionInfoPropertiesOutput; } +/** SiteExtensionInfo resource specific properties */ export interface SiteExtensionInfoPropertiesOutput { /** Site extension ID. */ extension_id?: string; @@ -6153,47 +6683,53 @@ export interface SiteExtensionInfoPropertiesOutput { comment?: string; } +/** Collection of slot differences. */ export interface SlotDifferenceCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** A setting difference between two deployment slots of an app. */ export interface SlotDifferenceOutput extends ProxyOnlyResourceOutput { /** SlotDifference resource specific properties */ properties?: SlotDifferencePropertiesOutput; } +/** SlotDifference resource specific properties */ export interface SlotDifferencePropertiesOutput { /** Level of the difference: Information, Warning or Error. */ - level?: string; + readonly level?: string; /** The type of the setting: General, AppSetting or ConnectionString. */ - settingType?: string; + readonly settingType?: string; /** Rule that describes how to process the setting difference during a slot swap. */ - diffRule?: string; + readonly diffRule?: string; /** Name of the setting. */ - settingName?: string; + readonly settingName?: string; /** Value of the setting in the current slot. */ - valueInCurrentSlot?: string; + readonly valueInCurrentSlot?: string; /** Value of the setting in the target slot. */ - valueInTargetSlot?: string; + readonly valueInTargetSlot?: string; /** Description of the setting difference. */ - description?: string; + readonly description?: string; } +/** Collection of snapshots which can be used to revert an app to a previous time. */ export interface SnapshotCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Source control configuration for an app. */ export interface SiteSourceControlOutput extends ProxyOnlyResourceOutput { /** SiteSourceControl resource specific properties */ properties?: SiteSourceControlPropertiesOutput; } +/** SiteSourceControl resource specific properties */ export interface SiteSourceControlPropertiesOutput { /** Repository or source control URL. */ repoUrl?: string; @@ -6211,6 +6747,7 @@ export interface SiteSourceControlPropertiesOutput { gitHubActionConfiguration?: GitHubActionConfigurationOutput; } +/** The GitHub action configuration. */ export interface GitHubActionConfigurationOutput { /** GitHub Action code configuration. */ codeConfiguration?: GitHubActionCodeConfigurationOutput; @@ -6222,6 +6759,7 @@ export interface GitHubActionConfigurationOutput { generateWorkflowFile?: boolean; } +/** The GitHub action code configuration. */ export interface GitHubActionCodeConfigurationOutput { /** Runtime stack is used to determine the workflow file content for code base apps. */ runtimeStack?: string; @@ -6229,6 +6767,7 @@ export interface GitHubActionCodeConfigurationOutput { runtimeVersion?: string; } +/** The GitHub action container configuration. */ export interface GitHubActionContainerConfigurationOutput { /** The server URL for the container registry where the build will be hosted. */ serverUrl?: string; @@ -6240,18 +6779,21 @@ export interface GitHubActionContainerConfigurationOutput { password?: string; } +/** Collection of Kudu continuous web job information elements. */ export interface TriggeredWebJobCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Triggered Web Job Information. */ export interface TriggeredWebJobOutput extends ProxyOnlyResourceOutput { /** TriggeredWebJob resource specific properties */ properties?: TriggeredWebJobPropertiesOutput; } +/** TriggeredWebJob resource specific properties */ export interface TriggeredWebJobPropertiesOutput { /** Latest job run information. */ latest_run?: TriggeredJobRunOutput; @@ -6275,6 +6817,7 @@ export interface TriggeredWebJobPropertiesOutput { settings?: Record>; } +/** Triggered Web Job Run Information. */ export interface TriggeredJobRunOutput { /** Job ID. */ web_job_id?: string; @@ -6300,35 +6843,41 @@ export interface TriggeredJobRunOutput { trigger?: string; } +/** Collection of Kudu continuous web job information elements. */ export interface TriggeredJobHistoryCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Triggered Web Job History. List of Triggered Web Job Run Information elements. */ export interface TriggeredJobHistoryOutput extends ProxyOnlyResourceOutput { /** TriggeredJobHistory resource specific properties */ properties?: TriggeredJobHistoryPropertiesOutput; } +/** TriggeredJobHistory resource specific properties */ export interface TriggeredJobHistoryPropertiesOutput { /** List of triggered web job runs. */ runs?: Array; } +/** Collection of Kudu web job information elements. */ export interface WebJobCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Web Job Information. */ export interface WebJobOutput extends ProxyOnlyResourceOutput { /** WebJob resource specific properties */ properties?: WebJobPropertiesOutput; } +/** WebJob resource specific properties */ export interface WebJobPropertiesOutput { /** Run command. */ run_command?: string; diff --git a/sdk/appservice/arm-appservice-rest/src/paginateHelper.ts b/sdk/appservice/arm-appservice-rest/src/paginateHelper.ts index 5d541b4e406d..9ea946d9d6c5 100644 --- a/sdk/appservice/arm-appservice-rest/src/paginateHelper.ts +++ b/sdk/appservice/arm-appservice-rest/src/paginateHelper.ts @@ -1,11 +1,148 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { PagedAsyncIterableIterator, PagedResult } from "@azure/core-paging"; -import { getPagedAsyncIterator } from "@azure/core-paging"; import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; import { createRestError } from "@azure-rest/core-client"; +/** + * returns an async iterator that iterates over results. It also has a `byPage` + * method that returns pages of items at once. + * + * @param pagedResult - an object that specifies how to get pages. + * @returns a paged async iterator that iterates over results. + */ +function getPagedAsyncIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, + TLink = string, +>( + pagedResult: PagedResult, +): PagedAsyncIterableIterator { + const iter = getItemAsyncIterator(pagedResult); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: + pagedResult?.byPage ?? + (((settings?: PageSettings) => { + const { continuationToken } = settings ?? {}; + return getPageAsyncIterator(pagedResult, { + pageLink: continuationToken as unknown as TLink | undefined, + }); + }) as unknown as (settings?: TPageSettings) => AsyncIterableIterator), + }; +} + +async function* getItemAsyncIterator( + pagedResult: PagedResult, +): AsyncIterableIterator { + const pages = getPageAsyncIterator(pagedResult); + const firstVal = await pages.next(); + // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is + if (!Array.isArray(firstVal.value)) { + // can extract elements from this page + const { toElements } = pagedResult; + if (toElements) { + yield* toElements(firstVal.value) as TElement[]; + for await (const page of pages) { + yield* toElements(page) as TElement[]; + } + } else { + yield firstVal.value; + // `pages` is of type `AsyncIterableIterator` but TPage = TElement in this case + yield* pages as unknown as AsyncIterableIterator; + } + } else { + yield* firstVal.value; + for await (const page of pages) { + // pages is of type `AsyncIterableIterator` so `page` is of type `TPage`. In this branch, + // it must be the case that `TPage = TElement[]` + yield* page as unknown as TElement[]; + } + } +} + +async function* getPageAsyncIterator( + pagedResult: PagedResult, + options: { + pageLink?: TLink; + } = {}, +): AsyncIterableIterator { + const { pageLink } = options; + let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink); + if (!response) { + return; + } + yield response.page; + while (response.nextPageLink) { + response = await pagedResult.getPage(response.nextPageLink); + if (!response) { + return; + } + yield response.page; + } +} + +/** + * An interface that tracks the settings for paged iteration + */ +export interface PageSettings { + /** + * The token that keeps track of where to continue the iterator + */ + continuationToken?: string; +} + +/** + * An interface that allows async iterable iteration both to completion and by page. + */ +export interface PagedAsyncIterableIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, +> { + /** + * The next method, part of the iteration protocol + */ + next(): Promise>; + /** + * The connection to the async iterator, part of the iteration protocol + */ + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + /** + * Return an AsyncIterableIterator that works a page at a time + */ + byPage: (settings?: TPageSettings) => AsyncIterableIterator; +} + +/** + * An interface that describes how to communicate with the service. + */ +interface PagedResult { + /** + * Link to the first page of results. + */ + firstPageLink: TLink; + /** + * A method that returns a page of results. + */ + getPage: (pageLink: TLink) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + /** + * a function to implement the `byPage` method on the paged async iterator. + */ + byPage?: (settings?: TPageSettings) => AsyncIterableIterator; + + /** + * A function to extract elements from a page. + */ + toElements?: (page: TPage) => unknown[]; +} + /** * Helper type to extract the type of an array */ @@ -14,10 +151,7 @@ export type GetArrayType = T extends Array ? TData : never; /** * The type of a custom function that defines how to get a page and a link to the next one if any. */ -export type GetPage = ( - pageLink: string, - maxPageSize?: number, -) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; diff --git a/sdk/appservice/arm-appservice-rest/src/parameters.ts b/sdk/appservice/arm-appservice-rest/src/parameters.ts index 800039881fb3..f039b0f8f0cc 100644 --- a/sdk/appservice/arm-appservice-rest/src/parameters.ts +++ b/sdk/appservice/arm-appservice-rest/src/parameters.ts @@ -81,7 +81,7 @@ import type { SnapshotRestoreRequest, SiteSourceControl, VnetInfoResource, -} from "./models"; +} from "./models.js"; export type AppServiceCertificateOrdersListParameters = RequestParameters; diff --git a/sdk/appservice/arm-appservice-rest/src/pollingHelper.ts b/sdk/appservice/arm-appservice-rest/src/pollingHelper.ts index 914ab5dd8d01..a2668fc5d9c7 100644 --- a/sdk/appservice/arm-appservice-rest/src/pollingHelper.ts +++ b/sdk/appservice/arm-appservice-rest/src/pollingHelper.ts @@ -2,14 +2,81 @@ // Licensed under the MIT License. import type { Client, HttpResponse } from "@azure-rest/core-client"; +import type { AbortSignalLike } from "@azure/abort-controller"; import type { - LongRunningOperation, - LroEngineOptions, - LroResponse, - PollerLike, - PollOperationState, + CancelOnProgress, + CreateHttpPollerOptions, + RunningOperation, + OperationResponse, + OperationState, } from "@azure/core-lro"; -import { LroEngine } from "@azure/core-lro"; +import { createHttpPoller } from "@azure/core-lro"; + +/** + * A simple poller that can be used to poll a long running operation. + */ +export interface SimplePollerLike, TResult> { + /** + * Returns true if the poller has finished polling. + */ + isDone(): boolean; + /** + * Returns the state of the operation. + */ + getOperationState(): TState; + /** + * Returns the result value of the operation, + * regardless of the state of the poller. + * It can return undefined or an incomplete form of the final TResult value + * depending on the implementation. + */ + getResult(): TResult | undefined; + /** + * Returns a promise that will resolve once a single polling request finishes. + * It does this by calling the update method of the Poller's operation. + */ + poll(options?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Returns a promise that will resolve once the underlying operation is completed. + */ + pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Invokes the provided callback after each polling is completed, + * sending the current state of the poller's operation. + * + * It returns a method that can be used to stop receiving updates on the given callback function. + */ + onProgress(callback: (state: TState) => void): CancelOnProgress; + + /** + * Returns a promise that could be used for serialized version of the poller's operation + * by invoking the operation's serialize method. + */ + serialize(): Promise; + + /** + * Wait the poller to be submitted. + */ + submitted(): Promise; + + /** + * Returns a string representation of the poller's operation. Similar to serialize but returns a string. + * @deprecated Use serialize() instead. + */ + toString(): string; + + /** + * Stops the poller from continuing to poll. Please note this will only stop the client-side polling + * @deprecated Use abortSignal to stop polling instead. + */ + stopPolling(): void; + + /** + * Returns true if the poller is stopped. + * @deprecated Use abortSignal status to track this instead. + */ + isStopped(): boolean; +} /** * Helper function that builds a Poller object to help polling a long running operation. @@ -18,39 +85,100 @@ import { LroEngine } from "@azure/core-lro"; * @param options - Options to set a resume state or custom polling interval. * @returns - A poller object to poll for operation state updates and eventually get the final response. */ -export function getLongRunningPoller( +export async function getLongRunningPoller( client: Client, initialResponse: TResult, - options: LroEngineOptions> = {}, -): PollerLike, TResult> { - const poller: LongRunningOperation = { - requestMethod: initialResponse.request.method, - requestPath: initialResponse.request.url, + options: CreateHttpPollerOptions> = {}, +): Promise, TResult>> { + const abortController = new AbortController(); + const poller: RunningOperation = { sendInitialRequest: async () => { // In the case of Rest Clients we are building the LRO poller object from a response that's the reason // we are not triggering the initial request here, just extracting the information from the // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async (path) => { + sendPollRequest: async (path: string, pollOptions?: { abortSignal?: AbortSignalLike }) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location // depending on the lro pattern that the service implements. If non is provided we default to the initial path. - const response = await client.pathUnchecked(path ?? initialResponse.request.url).get(); - return getLroResponse(response as TResult); + function abortListener(): void { + abortController.abort(); + } + const inputAbortSignal = pollOptions?.abortSignal; + const abortSignal = abortController.signal; + if (inputAbortSignal?.aborted) { + abortController.abort(); + } else if (!abortSignal.aborted) { + inputAbortSignal?.addEventListener("abort", abortListener, { + once: true, + }); + } + let response; + try { + response = await client + .pathUnchecked(path ?? initialResponse.request.url) + .get({ abortSignal }); + } finally { + inputAbortSignal?.removeEventListener("abort", abortListener); + } + const lroResponse = getLroResponse(response as TResult); + lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; + return lroResponse; }, }; - return new LroEngine(poller, options); + options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true; + const httpPoller = createHttpPoller(poller, options); + const simplePoller: SimplePollerLike, TResult> = { + isDone() { + return httpPoller.isDone; + }, + isStopped() { + return abortController.signal.aborted; + }, + getOperationState() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return httpPoller.operationState; + }, + getResult() { + return httpPoller.result; + }, + toString() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return JSON.stringify({ + state: httpPoller.operationState, + }); + }, + stopPolling() { + abortController.abort(); + }, + onProgress: httpPoller.onProgress, + poll: httpPoller.poll, + pollUntilDone: httpPoller.pollUntilDone, + serialize: httpPoller.serialize, + submitted: httpPoller.submitted, + }; + return simplePoller; } /** - * Converts a Rest Client response to a response that the LRO engine knows about + * Converts a Rest Client response to a response that the LRO implementation understands * @param response - a rest client http response - * @returns - An LRO response that the LRO engine can work with + * @returns - An LRO response that the LRO implementation understands */ -function getLroResponse(response: TResult): LroResponse { +function getLroResponse( + response: TResult, +): OperationResponse { if (Number.isNaN(response.status)) { throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); } diff --git a/sdk/appservice/arm-appservice-rest/src/responses.ts b/sdk/appservice/arm-appservice-rest/src/responses.ts index 2ac6620f200c..00c79390bf9c 100644 --- a/sdk/appservice/arm-appservice-rest/src/responses.ts +++ b/sdk/appservice/arm-appservice-rest/src/responses.ts @@ -174,7 +174,7 @@ import type { TriggeredJobHistoryOutput, WebJobCollectionOutput, WebJobOutput, -} from "./outputModels"; +} from "./outputModels.js"; /** List all certificate orders in a subscription. */ export interface AppServiceCertificateOrdersList200Response extends HttpResponse { @@ -183,8 +183,8 @@ export interface AppServiceCertificateOrdersList200Response extends HttpResponse } /** List all certificate orders in a subscription. */ -export interface AppServiceCertificateOrdersListdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -192,13 +192,12 @@ export interface AppServiceCertificateOrdersListdefaultResponse extends HttpResp export interface AppServiceCertificateOrdersValidatePurchaseInformation204Response extends HttpResponse { status: "204"; - body: Record; } /** Validate information for a certificate order. */ -export interface AppServiceCertificateOrdersValidatePurchaseInformationdefaultResponse +export interface AppServiceCertificateOrdersValidatePurchaseInformationDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -209,9 +208,9 @@ export interface AppServiceCertificateOrdersListByResourceGroup200Response exten } /** Get certificate orders in a resource group. */ -export interface AppServiceCertificateOrdersListByResourceGroupdefaultResponse +export interface AppServiceCertificateOrdersListByResourceGroupDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -222,8 +221,8 @@ export interface AppServiceCertificateOrdersGet200Response extends HttpResponse } /** Get a certificate order. */ -export interface AppServiceCertificateOrdersGetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -240,26 +239,24 @@ export interface AppServiceCertificateOrdersCreateOrUpdate201Response extends Ht } /** Create or update a certificate purchase order. */ -export interface AppServiceCertificateOrdersCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete an existing certificate order. */ export interface AppServiceCertificateOrdersDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete an existing certificate order. */ export interface AppServiceCertificateOrdersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete an existing certificate order. */ -export interface AppServiceCertificateOrdersDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -270,8 +267,8 @@ export interface AppServiceCertificateOrdersUpdate200Response extends HttpRespon } /** Create or update a certificate purchase order. */ -export interface AppServiceCertificateOrdersUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -282,8 +279,8 @@ export interface AppServiceCertificateOrdersListCertificates200Response extends } /** List all certificates associated with a certificate order. */ -export interface AppServiceCertificateOrdersListCertificatesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersListCertificatesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -294,8 +291,8 @@ export interface AppServiceCertificateOrdersGetCertificate200Response extends Ht } /** Get the certificate associated with a certificate order. */ -export interface AppServiceCertificateOrdersGetCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersGetCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -314,27 +311,25 @@ export interface AppServiceCertificateOrdersCreateOrUpdateCertificate201Response } /** Creates or updates a certificate and associates with key vault secret. */ -export interface AppServiceCertificateOrdersCreateOrUpdateCertificatedefaultResponse +export interface AppServiceCertificateOrdersCreateOrUpdateCertificateDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Delete the certificate associated with a certificate order. */ export interface AppServiceCertificateOrdersDeleteCertificate200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete the certificate associated with a certificate order. */ export interface AppServiceCertificateOrdersDeleteCertificate204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete the certificate associated with a certificate order. */ -export interface AppServiceCertificateOrdersDeleteCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersDeleteCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -345,57 +340,53 @@ export interface AppServiceCertificateOrdersUpdateCertificate200Response extends } /** Creates or updates a certificate and associates with key vault secret. */ -export interface AppServiceCertificateOrdersUpdateCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersUpdateCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reissue an existing certificate order. */ export interface AppServiceCertificateOrdersReissue204Response extends HttpResponse { status: "204"; - body: Record; } /** Reissue an existing certificate order. */ -export interface AppServiceCertificateOrdersReissuedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersReissueDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Renew an existing certificate order. */ export interface AppServiceCertificateOrdersRenew204Response extends HttpResponse { status: "204"; - body: Record; } /** Renew an existing certificate order. */ -export interface AppServiceCertificateOrdersRenewdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersRenewDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Resend certificate email. */ export interface AppServiceCertificateOrdersResendEmail204Response extends HttpResponse { status: "204"; - body: Record; } /** Resend certificate email. */ -export interface AppServiceCertificateOrdersResendEmaildefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersResendEmailDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order */ export interface AppServiceCertificateOrdersResendRequestEmails204Response extends HttpResponse { status: "204"; - body: Record; } /** Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order */ -export interface AppServiceCertificateOrdersResendRequestEmailsdefaultResponse +export interface AppServiceCertificateOrdersResendRequestEmailsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -406,21 +397,20 @@ export interface AppServiceCertificateOrdersRetrieveSiteSeal200Response extends } /** 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. */ -export interface AppServiceCertificateOrdersRetrieveSiteSealdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceCertificateOrdersRetrieveSiteSealDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Verify domain ownership for this certificate order. */ export interface AppServiceCertificateOrdersVerifyDomainOwnership204Response extends HttpResponse { status: "204"; - body: Record; } /** Verify domain ownership for this certificate order. */ -export interface AppServiceCertificateOrdersVerifyDomainOwnershipdefaultResponse +export interface AppServiceCertificateOrdersVerifyDomainOwnershipDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -432,9 +422,9 @@ export interface AppServiceCertificateOrdersRetrieveCertificateActions200Respons } /** Retrieve the list of certificate actions. */ -export interface AppServiceCertificateOrdersRetrieveCertificateActionsdefaultResponse +export interface AppServiceCertificateOrdersRetrieveCertificateActionsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -446,9 +436,9 @@ export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistory200Re } /** Retrieve email history. */ -export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistorydefaultResponse +export interface AppServiceCertificateOrdersRetrieveCertificateEmailHistoryDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -460,9 +450,9 @@ export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetec } /** Microsoft.CertificateRegistration to get the list of detectors for this RP. */ -export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponsedefaultResponse +export interface CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -474,9 +464,9 @@ export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetect } /** Microsoft.CertificateRegistration call to get a detector response from App Lens. */ -export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponsedefaultResponse +export interface CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -487,8 +477,8 @@ export interface CertificateRegistrationProviderListOperations200Response extend } /** Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider */ -export interface CertificateRegistrationProviderListOperationsdefaultResponse extends HttpResponse { - status: "500"; +export interface CertificateRegistrationProviderListOperationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -499,8 +489,8 @@ export interface DomainsCheckAvailability200Response extends HttpResponse { } /** Check if a domain is available for registration. */ -export interface DomainsCheckAvailabilitydefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsCheckAvailabilityDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -511,8 +501,8 @@ export interface DomainsList200Response extends HttpResponse { } /** Get all domains in a subscription. */ -export interface DomainsListdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -523,8 +513,8 @@ export interface DomainsGetControlCenterSsoRequest200Response extends HttpRespon } /** Generate a single sign-on request for the domain management portal. */ -export interface DomainsGetControlCenterSsoRequestdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsGetControlCenterSsoRequestDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -535,8 +525,8 @@ export interface DomainsListRecommendations200Response extends HttpResponse { } /** Get domain name recommendations based on keywords. */ -export interface DomainsListRecommendationsdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsListRecommendationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -547,8 +537,8 @@ export interface DomainsListByResourceGroup200Response extends HttpResponse { } /** Get all domains in a resource group. */ -export interface DomainsListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -559,8 +549,8 @@ export interface DomainsGet200Response extends HttpResponse { } /** Get a domain. */ -export interface DomainsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -577,26 +567,24 @@ export interface DomainsCreateOrUpdate202Response extends HttpResponse { } /** Creates or updates a domain. */ -export interface DomainsCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a domain. */ export interface DomainsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a domain. */ export interface DomainsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a domain. */ -export interface DomainsDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -613,8 +601,8 @@ export interface DomainsUpdate202Response extends HttpResponse { } /** Creates or updates a domain. */ -export interface DomainsUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -625,8 +613,8 @@ export interface DomainsListOwnershipIdentifiers200Response extends HttpResponse } /** Lists domain ownership identifiers. */ -export interface DomainsListOwnershipIdentifiersdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsListOwnershipIdentifiersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -637,8 +625,8 @@ export interface DomainsGetOwnershipIdentifier200Response extends HttpResponse { } /** Get ownership identifier for domain */ -export interface DomainsGetOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsGetOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -649,26 +637,24 @@ export interface DomainsCreateOrUpdateOwnershipIdentifier200Response extends Htt } /** Creates an ownership identifier for a domain or updates identifier details for an existing identifier */ -export interface DomainsCreateOrUpdateOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsCreateOrUpdateOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete ownership identifier for domain */ export interface DomainsDeleteOwnershipIdentifier200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete ownership identifier for domain */ export interface DomainsDeleteOwnershipIdentifier204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete ownership identifier for domain */ -export interface DomainsDeleteOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsDeleteOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -679,32 +665,29 @@ export interface DomainsUpdateOwnershipIdentifier200Response extends HttpRespons } /** Creates an ownership identifier for a domain or updates identifier details for an existing identifier */ -export interface DomainsUpdateOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsUpdateOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Renew a domain. */ export interface DomainsRenew200Response extends HttpResponse { status: "200"; - body: Record; } /** Renew a domain. */ export interface DomainsRenew202Response extends HttpResponse { status: "202"; - body: Record; } /** Renew a domain. */ export interface DomainsRenew204Response extends HttpResponse { status: "204"; - body: Record; } /** Renew a domain. */ -export interface DomainsRenewdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsRenewDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -717,12 +700,11 @@ export interface DomainsTransferOut200Response extends HttpResponse { /** Transfer out domain to another registrar */ export interface DomainsTransferOut400Response extends HttpResponse { status: "400"; - body: Record; } /** Transfer out domain to another registrar */ -export interface DomainsTransferOutdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainsTransferOutDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -733,8 +715,8 @@ export interface TopLevelDomainsList200Response extends HttpResponse { } /** Get all top-level domains supported for registration. */ -export interface TopLevelDomainsListdefaultResponse extends HttpResponse { - status: "500"; +export interface TopLevelDomainsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -745,8 +727,8 @@ export interface TopLevelDomainsGet200Response extends HttpResponse { } /** Get details of a top-level domain. */ -export interface TopLevelDomainsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface TopLevelDomainsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -757,8 +739,8 @@ export interface TopLevelDomainsListAgreements200Response extends HttpResponse { } /** Gets all legal agreements that user needs to accept before purchasing a domain. */ -export interface TopLevelDomainsListAgreementsdefaultResponse extends HttpResponse { - status: "500"; +export interface TopLevelDomainsListAgreementsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -769,8 +751,8 @@ export interface DomainRegistrationProviderListOperations200Response extends Htt } /** Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider */ -export interface DomainRegistrationProviderListOperationsdefaultResponse extends HttpResponse { - status: "500"; +export interface DomainRegistrationProviderListOperationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -781,8 +763,8 @@ export interface AppServiceEnvironmentsList200Response extends HttpResponse { } /** Get all App Service Environments for a subscription. */ -export interface AppServiceEnvironmentsListdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -793,8 +775,8 @@ export interface AppServiceEnvironmentsListByResourceGroup200Response extends Ht } /** Get all App Service Environments in a resource group. */ -export interface AppServiceEnvironmentsListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -805,8 +787,8 @@ export interface AppServiceEnvironmentsGet200Response extends HttpResponse { } /** Get the properties of an App Service Environment. */ -export interface AppServiceEnvironmentsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -829,26 +811,24 @@ export interface AppServiceEnvironmentsCreateOrUpdate202Response extends HttpRes } /** Create or update an App Service Environment. */ -export interface AppServiceEnvironmentsCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete an App Service Environment. */ export interface AppServiceEnvironmentsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete an App Service Environment. */ export interface AppServiceEnvironmentsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete an App Service Environment. */ -export interface AppServiceEnvironmentsDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -871,8 +851,8 @@ export interface AppServiceEnvironmentsUpdate202Response extends HttpResponse { } /** Create or update an App Service Environment. */ -export interface AppServiceEnvironmentsUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -883,8 +863,8 @@ export interface AppServiceEnvironmentsListCapacities200Response extends HttpRes } /** Get the used, available, and total worker capacity an App Service Environment. */ -export interface AppServiceEnvironmentsListCapacitiesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListCapacitiesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -895,8 +875,8 @@ export interface AppServiceEnvironmentsGetVipInfo200Response extends HttpRespons } /** Get IP addresses assigned to an App Service Environment. */ -export interface AppServiceEnvironmentsGetVipInfodefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetVipInfoDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -913,8 +893,8 @@ export interface AppServiceEnvironmentsChangeVnet202Response extends HttpRespons } /** Move an App Service Environment to a different VNET. */ -export interface AppServiceEnvironmentsChangeVnetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsChangeVnetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -926,9 +906,9 @@ export interface AppServiceEnvironmentsGetAseV3NetworkingConfiguration200Respons } /** Get networking configuration of an App Service Environment */ -export interface AppServiceEnvironmentsGetAseV3NetworkingConfigurationdefaultResponse +export interface AppServiceEnvironmentsGetAseV3NetworkingConfigurationDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -940,9 +920,9 @@ export interface AppServiceEnvironmentsUpdateAseNetworkingConfiguration200Respon } /** Update networking configuration of an App Service Environment */ -export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationdefaultResponse +export interface AppServiceEnvironmentsUpdateAseNetworkingConfigurationDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -953,8 +933,8 @@ export interface AppServiceEnvironmentsListDiagnostics200Response extends HttpRe } /** Get diagnostic information for an App Service Environment. */ -export interface AppServiceEnvironmentsListDiagnosticsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListDiagnosticsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -965,8 +945,8 @@ export interface AppServiceEnvironmentsGetDiagnosticsItem200Response extends Htt } /** Get a diagnostics item for an App Service Environment. */ -export interface AppServiceEnvironmentsGetDiagnosticsItemdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetDiagnosticsItemDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -978,9 +958,9 @@ export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpoints200 } /** Get the network endpoints of all inbound dependencies of an App Service Environment. */ -export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsdefaultResponse +export interface AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -991,8 +971,8 @@ export interface AppServiceEnvironmentsListMultiRolePools200Response extends Htt } /** Get all multi-role pools. */ -export interface AppServiceEnvironmentsListMultiRolePoolsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListMultiRolePoolsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1003,8 +983,8 @@ export interface AppServiceEnvironmentsGetMultiRolePool200Response extends HttpR } /** Get properties of a multi-role pool. */ -export interface AppServiceEnvironmentsGetMultiRolePooldefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetMultiRolePoolDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1021,9 +1001,9 @@ export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePool202Response ex } /** Create or update a multi-role pool. */ -export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePooldefaultResponse +export interface AppServiceEnvironmentsCreateOrUpdateMultiRolePoolDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1040,8 +1020,8 @@ export interface AppServiceEnvironmentsUpdateMultiRolePool202Response extends Ht } /** Create or update a multi-role pool. */ -export interface AppServiceEnvironmentsUpdateMultiRolePooldefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsUpdateMultiRolePoolDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1053,9 +1033,9 @@ export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinition } /** Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsdefaultResponse +export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1067,9 +1047,9 @@ export interface AppServiceEnvironmentsListMultiRoleMetricDefinitions200Response } /** Get metric definitions for a multi-role pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListMultiRoleMetricDefinitionsdefaultResponse +export interface AppServiceEnvironmentsListMultiRoleMetricDefinitionsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1080,8 +1060,8 @@ export interface AppServiceEnvironmentsListMultiRolePoolSkus200Response extends } /** Get available SKUs for scaling a multi-role pool. */ -export interface AppServiceEnvironmentsListMultiRolePoolSkusdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListMultiRolePoolSkusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1092,8 +1072,8 @@ export interface AppServiceEnvironmentsListMultiRoleUsages200Response extends Ht } /** Get usage metrics for a multi-role pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListMultiRoleUsagesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListMultiRoleUsagesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1104,8 +1084,8 @@ export interface AppServiceEnvironmentsListOperations200Response extends HttpRes } /** List all currently running operations on the App Service Environment. */ -export interface AppServiceEnvironmentsListOperationsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListOperationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1117,9 +1097,9 @@ export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpoints20 } /** Get the network endpoints of all outbound dependencies of an App Service Environment. */ -export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsdefaultResponse +export interface AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1131,9 +1111,9 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnectionList200Respon } /** Gets the list of private endpoints associated with a hosting environment */ -export interface AppServiceEnvironmentsGetPrivateEndpointConnectionListdefaultResponse +export interface AppServiceEnvironmentsGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1145,9 +1125,9 @@ export interface AppServiceEnvironmentsGetPrivateEndpointConnection200Response } /** Gets a private endpoint connection */ -export interface AppServiceEnvironmentsGetPrivateEndpointConnectiondefaultResponse +export interface AppServiceEnvironmentsGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1166,9 +1146,9 @@ export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnection2 } /** Approves or rejects a private endpoint connection */ -export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectiondefaultResponse +export interface AppServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1194,9 +1174,9 @@ export interface AppServiceEnvironmentsDeletePrivateEndpointConnection204Respons } /** Deletes a private endpoint connection */ -export interface AppServiceEnvironmentsDeletePrivateEndpointConnectiondefaultResponse +export interface AppServiceEnvironmentsDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1207,20 +1187,19 @@ export interface AppServiceEnvironmentsGetPrivateLinkResources200Response extend } /** Gets the private link resources */ -export interface AppServiceEnvironmentsGetPrivateLinkResourcesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetPrivateLinkResourcesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reboot all machines in an App Service Environment. */ export interface AppServiceEnvironmentsReboot202Response extends HttpResponse { status: "202"; - body: Record; } /** Reboot all machines in an App Service Environment. */ -export interface AppServiceEnvironmentsRebootdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsRebootDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1237,8 +1216,8 @@ export interface AppServiceEnvironmentsResume202Response extends HttpResponse { } /** Resume an App Service Environment. */ -export interface AppServiceEnvironmentsResumedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsResumeDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1249,8 +1228,8 @@ export interface AppServiceEnvironmentsListAppServicePlans200Response extends Ht } /** Get all App Service plans in an App Service Environment. */ -export interface AppServiceEnvironmentsListAppServicePlansdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListAppServicePlansDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1261,8 +1240,8 @@ export interface AppServiceEnvironmentsListWebApps200Response extends HttpRespon } /** Get all apps in an App Service Environment. */ -export interface AppServiceEnvironmentsListWebAppsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListWebAppsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1279,8 +1258,8 @@ export interface AppServiceEnvironmentsSuspend202Response extends HttpResponse { } /** Suspend an App Service Environment. */ -export interface AppServiceEnvironmentsSuspenddefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsSuspendDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1291,8 +1270,8 @@ export interface AppServiceEnvironmentsListUsages200Response extends HttpRespons } /** Get global usage metrics of an App Service Environment. */ -export interface AppServiceEnvironmentsListUsagesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListUsagesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1303,8 +1282,8 @@ export interface AppServiceEnvironmentsListWorkerPools200Response extends HttpRe } /** Get all worker pools of an App Service Environment. */ -export interface AppServiceEnvironmentsListWorkerPoolsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListWorkerPoolsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1315,8 +1294,8 @@ export interface AppServiceEnvironmentsGetWorkerPool200Response extends HttpResp } /** Get properties of a worker pool. */ -export interface AppServiceEnvironmentsGetWorkerPooldefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsGetWorkerPoolDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1333,9 +1312,9 @@ export interface AppServiceEnvironmentsCreateOrUpdateWorkerPool202Response exten } /** Create or update a worker pool. */ -export interface AppServiceEnvironmentsCreateOrUpdateWorkerPooldefaultResponse +export interface AppServiceEnvironmentsCreateOrUpdateWorkerPoolDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1352,8 +1331,8 @@ export interface AppServiceEnvironmentsUpdateWorkerPool202Response extends HttpR } /** Create or update a worker pool. */ -export interface AppServiceEnvironmentsUpdateWorkerPooldefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsUpdateWorkerPoolDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1365,9 +1344,9 @@ export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitions20 } /** Get metric definitions for a specific instance of a worker pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsdefaultResponse +export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1379,9 +1358,9 @@ export interface AppServiceEnvironmentsListWebWorkerMetricDefinitions200Response } /** Get metric definitions for a worker pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListWebWorkerMetricDefinitionsdefaultResponse +export interface AppServiceEnvironmentsListWebWorkerMetricDefinitionsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -1392,8 +1371,8 @@ export interface AppServiceEnvironmentsListWorkerPoolSkus200Response extends Htt } /** Get available SKUs for scaling a worker pool. */ -export interface AppServiceEnvironmentsListWorkerPoolSkusdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListWorkerPoolSkusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1404,8 +1383,8 @@ export interface AppServiceEnvironmentsListWebWorkerUsages200Response extends Ht } /** Get usage metrics for a worker pool of an App Service Environment. */ -export interface AppServiceEnvironmentsListWebWorkerUsagesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServiceEnvironmentsListWebWorkerUsagesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1416,8 +1395,8 @@ export interface AppServicePlansList200Response extends HttpResponse { } /** Get all App Service plans for a subscription. */ -export interface AppServicePlansListdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1428,8 +1407,8 @@ export interface AppServicePlansListByResourceGroup200Response extends HttpRespo } /** Get all App Service plans in a resource group. */ -export interface AppServicePlansListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1442,12 +1421,11 @@ export interface AppServicePlansGet200Response extends HttpResponse { /** Get an App Service plan. */ export interface AppServicePlansGet404Response extends HttpResponse { status: "404"; - body: Record; } /** Get an App Service plan. */ -export interface AppServicePlansGetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1464,26 +1442,24 @@ export interface AppServicePlansCreateOrUpdate202Response extends HttpResponse { } /** Creates or updates an App Service Plan. */ -export interface AppServicePlansCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete an App Service plan. */ export interface AppServicePlansDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete an App Service plan. */ export interface AppServicePlansDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete an App Service plan. */ -export interface AppServicePlansDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1500,8 +1476,8 @@ export interface AppServicePlansUpdate202Response extends HttpResponse { } /** Creates or updates an App Service Plan. */ -export interface AppServicePlansUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1512,8 +1488,8 @@ export interface AppServicePlansListCapabilities200Response extends HttpResponse } /** List all capabilities of an App Service plan. */ -export interface AppServicePlansListCapabilitiesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListCapabilitiesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1524,26 +1500,24 @@ export interface AppServicePlansGetHybridConnection200Response extends HttpRespo } /** Retrieve a Hybrid Connection in use in an App Service plan. */ -export interface AppServicePlansGetHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a Hybrid Connection in use in an App Service plan. */ export interface AppServicePlansDeleteHybridConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Hybrid Connection in use in an App Service plan. */ export interface AppServicePlansDeleteHybridConnection204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Hybrid Connection in use in an App Service plan. */ -export interface AppServicePlansDeleteHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansDeleteHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1554,8 +1528,8 @@ export interface AppServicePlansListHybridConnectionKeys200Response extends Http } /** Get the send key name and value of a Hybrid Connection. */ -export interface AppServicePlansListHybridConnectionKeysdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListHybridConnectionKeysDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1566,8 +1540,8 @@ export interface AppServicePlansListWebAppsByHybridConnection200Response extends } /** Get all apps that use a Hybrid Connection in an App Service Plan. */ -export interface AppServicePlansListWebAppsByHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListWebAppsByHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1578,8 +1552,8 @@ export interface AppServicePlansGetHybridConnectionPlanLimit200Response extends } /** Get the maximum number of Hybrid Connections allowed in an App Service plan. */ -export interface AppServicePlansGetHybridConnectionPlanLimitdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetHybridConnectionPlanLimitDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1590,20 +1564,19 @@ export interface AppServicePlansListHybridConnections200Response extends HttpRes } /** Retrieve all Hybrid Connections in use in an App Service plan. */ -export interface AppServicePlansListHybridConnectionsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListHybridConnectionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restart all apps in an App Service plan. */ export interface AppServicePlansRestartWebApps204Response extends HttpResponse { status: "204"; - body: Record; } /** Restart all apps in an App Service plan. */ -export interface AppServicePlansRestartWebAppsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansRestartWebAppsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1614,8 +1587,8 @@ export interface AppServicePlansListWebApps200Response extends HttpResponse { } /** Get all apps associated with an App Service plan. */ -export interface AppServicePlansListWebAppsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListWebAppsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1626,8 +1599,8 @@ export interface AppServicePlansGetServerFarmSkus200Response extends HttpRespons } /** Gets all selectable SKUs for a given App Service Plan */ -export interface AppServicePlansGetServerFarmSkusdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetServerFarmSkusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1638,8 +1611,8 @@ export interface AppServicePlansListUsages200Response extends HttpResponse { } /** Gets server farm usage information */ -export interface AppServicePlansListUsagesdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListUsagesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1650,8 +1623,8 @@ export interface AppServicePlansListVnets200Response extends HttpResponse { } /** Get all Virtual Networks associated with an App Service plan. */ -export interface AppServicePlansListVnetsdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListVnetsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1664,12 +1637,11 @@ export interface AppServicePlansGetVnetFromServerFarm200Response extends HttpRes /** Get a Virtual Network associated with an App Service plan. */ export interface AppServicePlansGetVnetFromServerFarm404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a Virtual Network associated with an App Service plan. */ -export interface AppServicePlansGetVnetFromServerFarmdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetVnetFromServerFarmDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1680,8 +1652,8 @@ export interface AppServicePlansGetVnetGateway200Response extends HttpResponse { } /** Get a Virtual Network gateway. */ -export interface AppServicePlansGetVnetGatewaydefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetVnetGatewayDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1692,8 +1664,8 @@ export interface AppServicePlansUpdateVnetGateway200Response extends HttpRespons } /** Update a Virtual Network gateway. */ -export interface AppServicePlansUpdateVnetGatewaydefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansUpdateVnetGatewayDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1704,8 +1676,8 @@ export interface AppServicePlansListRoutesForVnet200Response extends HttpRespons } /** Get all routes that are associated with a Virtual Network in an App Service plan. */ -export interface AppServicePlansListRoutesForVnetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansListRoutesForVnetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1718,12 +1690,11 @@ export interface AppServicePlansGetRouteForVnet200Response extends HttpResponse /** Get a Virtual Network route in an App Service plan. */ export interface AppServicePlansGetRouteForVnet404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a Virtual Network route in an App Service plan. */ -export interface AppServicePlansGetRouteForVnetdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansGetRouteForVnetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1736,36 +1707,32 @@ export interface AppServicePlansCreateOrUpdateVnetRoute200Response extends HttpR /** Create or update a Virtual Network route in an App Service plan. */ export interface AppServicePlansCreateOrUpdateVnetRoute400Response extends HttpResponse { status: "400"; - body: Record; } /** Create or update a Virtual Network route in an App Service plan. */ export interface AppServicePlansCreateOrUpdateVnetRoute404Response extends HttpResponse { status: "404"; - body: Record; } /** Create or update a Virtual Network route in an App Service plan. */ -export interface AppServicePlansCreateOrUpdateVnetRoutedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansCreateOrUpdateVnetRouteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a Virtual Network route in an App Service plan. */ export interface AppServicePlansDeleteVnetRoute200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Virtual Network route in an App Service plan. */ export interface AppServicePlansDeleteVnetRoute404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a Virtual Network route in an App Service plan. */ -export interface AppServicePlansDeleteVnetRoutedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansDeleteVnetRouteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1778,30 +1745,27 @@ export interface AppServicePlansUpdateVnetRoute200Response extends HttpResponse /** Create or update a Virtual Network route in an App Service plan. */ export interface AppServicePlansUpdateVnetRoute400Response extends HttpResponse { status: "400"; - body: Record; } /** Create or update a Virtual Network route in an App Service plan. */ export interface AppServicePlansUpdateVnetRoute404Response extends HttpResponse { status: "404"; - body: Record; } /** Create or update a Virtual Network route in an App Service plan. */ -export interface AppServicePlansUpdateVnetRoutedefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansUpdateVnetRouteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reboot a worker machine in an App Service plan. */ export interface AppServicePlansRebootWorker204Response extends HttpResponse { status: "204"; - body: Record; } /** Reboot a worker machine in an App Service plan. */ -export interface AppServicePlansRebootWorkerdefaultResponse extends HttpResponse { - status: "500"; +export interface AppServicePlansRebootWorkerDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1812,8 +1776,8 @@ export interface CertificatesList200Response extends HttpResponse { } /** Get all certificates for a subscription. */ -export interface CertificatesListdefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1824,8 +1788,8 @@ export interface CertificatesListByResourceGroup200Response extends HttpResponse } /** Get all certificates in a resource group. */ -export interface CertificatesListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1836,8 +1800,8 @@ export interface CertificatesGet200Response extends HttpResponse { } /** Get a certificate. */ -export interface CertificatesGetdefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1848,26 +1812,24 @@ export interface CertificatesCreateOrUpdate200Response extends HttpResponse { } /** Create or update a certificate. */ -export interface CertificatesCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a certificate. */ export interface CertificatesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a certificate. */ export interface CertificatesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a certificate. */ -export interface CertificatesDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1878,8 +1840,8 @@ export interface CertificatesUpdate200Response extends HttpResponse { } /** Create or update a certificate. */ -export interface CertificatesUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface CertificatesUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1890,8 +1852,8 @@ export interface ContainerAppsListBySubscription200Response extends HttpResponse } /** Get the Container Apps in a given subscription. */ -export interface ContainerAppsListBySubscriptiondefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsListBySubscriptionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1902,8 +1864,8 @@ export interface ContainerAppsListByResourceGroup200Response extends HttpRespons } /** Get the Container Apps in a given resource group. */ -export interface ContainerAppsListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1916,12 +1878,11 @@ export interface ContainerAppsGet200Response extends HttpResponse { /** Get the properties of a Container App. */ export interface ContainerAppsGet404Response extends HttpResponse { status: "404"; - body: Record; } /** Get the properties of a Container App. */ -export interface ContainerAppsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1938,32 +1899,29 @@ export interface ContainerAppsCreateOrUpdate201Response extends HttpResponse { } /** Create or update a Container App. */ -export interface ContainerAppsCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a Container App. */ export interface ContainerAppsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Container App. */ export interface ContainerAppsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a Container App. */ export interface ContainerAppsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Container App. */ -export interface ContainerAppsDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1974,8 +1932,8 @@ export interface ContainerAppsListSecrets200Response extends HttpResponse { } /** List secrets for a container app */ -export interface ContainerAppsListSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsListSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1986,8 +1944,8 @@ export interface ContainerAppsRevisionsListRevisions200Response extends HttpResp } /** Get the Revisions for a given Container App. */ -export interface ContainerAppsRevisionsListRevisionsdefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsRevisionsListRevisionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -1998,44 +1956,41 @@ export interface ContainerAppsRevisionsGetRevision200Response extends HttpRespon } /** Get a revision of a Container App. */ -export interface ContainerAppsRevisionsGetRevisiondefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsRevisionsGetRevisionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Activates a revision for a Container App */ export interface ContainerAppsRevisionsActivateRevision200Response extends HttpResponse { status: "200"; - body: Record; } /** Activates a revision for a Container App */ -export interface ContainerAppsRevisionsActivateRevisiondefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsRevisionsActivateRevisionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deactivates a revision for a Container App */ export interface ContainerAppsRevisionsDeactivateRevision200Response extends HttpResponse { status: "200"; - body: Record; } /** Deactivates a revision for a Container App */ -export interface ContainerAppsRevisionsDeactivateRevisiondefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsRevisionsDeactivateRevisionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restarts a revision for a Container App */ export interface ContainerAppsRevisionsRestartRevision200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts a revision for a Container App */ -export interface ContainerAppsRevisionsRestartRevisiondefaultResponse extends HttpResponse { - status: "500"; +export interface ContainerAppsRevisionsRestartRevisionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2046,8 +2001,8 @@ export interface DeletedWebAppsList200Response extends HttpResponse { } /** Get all deleted apps for a subscription. */ -export interface DeletedWebAppsListdefaultResponse extends HttpResponse { - status: "500"; +export interface DeletedWebAppsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2058,8 +2013,8 @@ export interface DeletedWebAppsListByLocation200Response extends HttpResponse { } /** Get all deleted apps for a subscription at location */ -export interface DeletedWebAppsListByLocationdefaultResponse extends HttpResponse { - status: "500"; +export interface DeletedWebAppsListByLocationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2070,8 +2025,8 @@ export interface DeletedWebAppsGetDeletedWebAppByLocation200Response extends Htt } /** Get deleted app for a subscription at location. */ -export interface DeletedWebAppsGetDeletedWebAppByLocationdefaultResponse extends HttpResponse { - status: "500"; +export interface DeletedWebAppsGetDeletedWebAppByLocationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2083,9 +2038,9 @@ export interface DiagnosticsListHostingEnvironmentDetectorResponses200Response } /** List Hosting Environment Detector Responses */ -export interface DiagnosticsListHostingEnvironmentDetectorResponsesdefaultResponse +export interface DiagnosticsListHostingEnvironmentDetectorResponsesDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2096,9 +2051,9 @@ export interface DiagnosticsGetHostingEnvironmentDetectorResponse200Response ext } /** Get Hosting Environment Detector Response */ -export interface DiagnosticsGetHostingEnvironmentDetectorResponsedefaultResponse +export interface DiagnosticsGetHostingEnvironmentDetectorResponseDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2109,8 +2064,8 @@ export interface DiagnosticsListSiteDetectorResponses200Response extends HttpRes } /** List Site Detector Responses */ -export interface DiagnosticsListSiteDetectorResponsesdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDetectorResponsesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2121,8 +2076,8 @@ export interface DiagnosticsGetSiteDetectorResponse200Response extends HttpRespo } /** Get site detector response */ -export interface DiagnosticsGetSiteDetectorResponsedefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDetectorResponseDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2133,8 +2088,8 @@ export interface DiagnosticsListSiteDiagnosticCategories200Response extends Http } /** Get Diagnostics Categories */ -export interface DiagnosticsListSiteDiagnosticCategoriesdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDiagnosticCategoriesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2145,8 +2100,8 @@ export interface DiagnosticsGetSiteDiagnosticCategory200Response extends HttpRes } /** Get Diagnostics Category */ -export interface DiagnosticsGetSiteDiagnosticCategorydefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDiagnosticCategoryDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2157,8 +2112,8 @@ export interface DiagnosticsListSiteAnalyses200Response extends HttpResponse { } /** Get Site Analyses */ -export interface DiagnosticsListSiteAnalysesdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteAnalysesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2169,8 +2124,8 @@ export interface DiagnosticsGetSiteAnalysis200Response extends HttpResponse { } /** Get Site Analysis */ -export interface DiagnosticsGetSiteAnalysisdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteAnalysisDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2181,8 +2136,8 @@ export interface DiagnosticsExecuteSiteAnalysis200Response extends HttpResponse } /** Execute Analysis */ -export interface DiagnosticsExecuteSiteAnalysisdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsExecuteSiteAnalysisDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2193,8 +2148,8 @@ export interface DiagnosticsListSiteDetectors200Response extends HttpResponse { } /** Get Detectors */ -export interface DiagnosticsListSiteDetectorsdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDetectorsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2205,8 +2160,8 @@ export interface DiagnosticsGetSiteDetector200Response extends HttpResponse { } /** Get Detector */ -export interface DiagnosticsGetSiteDetectordefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDetectorDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2217,8 +2172,8 @@ export interface DiagnosticsExecuteSiteDetector200Response extends HttpResponse } /** Execute Detector */ -export interface DiagnosticsExecuteSiteDetectordefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsExecuteSiteDetectorDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2229,8 +2184,8 @@ export interface DiagnosticsListSiteDetectorResponsesSlot200Response extends Htt } /** List Site Detector Responses */ -export interface DiagnosticsListSiteDetectorResponsesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDetectorResponsesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2241,8 +2196,8 @@ export interface DiagnosticsGetSiteDetectorResponseSlot200Response extends HttpR } /** Get site detector response */ -export interface DiagnosticsGetSiteDetectorResponseSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDetectorResponseSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2253,8 +2208,8 @@ export interface DiagnosticsListSiteDiagnosticCategoriesSlot200Response extends } /** Get Diagnostics Categories */ -export interface DiagnosticsListSiteDiagnosticCategoriesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDiagnosticCategoriesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2265,8 +2220,8 @@ export interface DiagnosticsGetSiteDiagnosticCategorySlot200Response extends Htt } /** Get Diagnostics Category */ -export interface DiagnosticsGetSiteDiagnosticCategorySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDiagnosticCategorySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2277,8 +2232,8 @@ export interface DiagnosticsListSiteAnalysesSlot200Response extends HttpResponse } /** Get Site Analyses */ -export interface DiagnosticsListSiteAnalysesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteAnalysesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2289,8 +2244,8 @@ export interface DiagnosticsGetSiteAnalysisSlot200Response extends HttpResponse } /** Get Site Analysis */ -export interface DiagnosticsGetSiteAnalysisSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteAnalysisSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2301,8 +2256,8 @@ export interface DiagnosticsExecuteSiteAnalysisSlot200Response extends HttpRespo } /** Execute Analysis */ -export interface DiagnosticsExecuteSiteAnalysisSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsExecuteSiteAnalysisSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2313,8 +2268,8 @@ export interface DiagnosticsListSiteDetectorsSlot200Response extends HttpRespons } /** Get Detectors */ -export interface DiagnosticsListSiteDetectorsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsListSiteDetectorsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2325,8 +2280,8 @@ export interface DiagnosticsGetSiteDetectorSlot200Response extends HttpResponse } /** Get Detector */ -export interface DiagnosticsGetSiteDetectorSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsGetSiteDetectorSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2337,8 +2292,8 @@ export interface DiagnosticsExecuteSiteDetectorSlot200Response extends HttpRespo } /** Execute Detector */ -export interface DiagnosticsExecuteSiteDetectorSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface DiagnosticsExecuteSiteDetectorSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2349,8 +2304,8 @@ export interface GlobalGetDeletedWebApp200Response extends HttpResponse { } /** Get deleted app for a subscription. */ -export interface GlobalGetDeletedWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface GlobalGetDeletedWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2361,21 +2316,20 @@ export interface GlobalGetDeletedWebAppSnapshots200Response extends HttpResponse } /** Get all deleted apps for a subscription. */ -export interface GlobalGetDeletedWebAppSnapshotsdefaultResponse extends HttpResponse { - status: "500"; +export interface GlobalGetDeletedWebAppSnapshotsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Gets an operation in a subscription and given region */ export interface GlobalGetSubscriptionOperationWithAsyncResponse204Response extends HttpResponse { status: "204"; - body: Record; } /** Gets an operation in a subscription and given region */ -export interface GlobalGetSubscriptionOperationWithAsyncResponsedefaultResponse +export interface GlobalGetSubscriptionOperationWithAsyncResponseDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2386,8 +2340,8 @@ export interface KubeEnvironmentsListBySubscription200Response extends HttpRespo } /** Get all Kubernetes Environments for a subscription. */ -export interface KubeEnvironmentsListBySubscriptiondefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsListBySubscriptionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2398,8 +2352,8 @@ export interface KubeEnvironmentsListByResourceGroup200Response extends HttpResp } /** Get all the Kubernetes Environments in a resource group. */ -export interface KubeEnvironmentsListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2410,8 +2364,8 @@ export interface KubeEnvironmentsGet200Response extends HttpResponse { } /** Get the properties of a Kubernetes Environment. */ -export interface KubeEnvironmentsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2428,32 +2382,29 @@ export interface KubeEnvironmentsCreateOrUpdate201Response extends HttpResponse } /** Creates or updates a Kubernetes Environment. */ -export interface KubeEnvironmentsCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a Kubernetes Environment. */ export interface KubeEnvironmentsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Kubernetes Environment. */ export interface KubeEnvironmentsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a Kubernetes Environment. */ export interface KubeEnvironmentsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Kubernetes Environment. */ -export interface KubeEnvironmentsDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2470,8 +2421,8 @@ export interface KubeEnvironmentsUpdate201Response extends HttpResponse { } /** Creates or updates a Kubernetes Environment. */ -export interface KubeEnvironmentsUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface KubeEnvironmentsUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2482,8 +2433,8 @@ export interface ProviderGetAvailableStacks200Response extends HttpResponse { } /** Get available application frameworks and their versions */ -export interface ProviderGetAvailableStacksdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetAvailableStacksDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2494,8 +2445,8 @@ export interface ProviderGetFunctionAppStacks200Response extends HttpResponse { } /** Get available Function app frameworks and their versions */ -export interface ProviderGetFunctionAppStacksdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetFunctionAppStacksDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2506,8 +2457,8 @@ export interface ProviderGetFunctionAppStacksForLocation200Response extends Http } /** Get available Function app frameworks and their versions for location */ -export interface ProviderGetFunctionAppStacksForLocationdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetFunctionAppStacksForLocationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2518,8 +2469,8 @@ export interface ProviderGetWebAppStacksForLocation200Response extends HttpRespo } /** Get available Web app frameworks and their versions for location */ -export interface ProviderGetWebAppStacksForLocationdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetWebAppStacksForLocationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2530,8 +2481,8 @@ export interface ProviderListOperations200Response extends HttpResponse { } /** Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions */ -export interface ProviderListOperationsdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderListOperationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2542,8 +2493,8 @@ export interface ProviderGetWebAppStacks200Response extends HttpResponse { } /** Get available Web app frameworks and their versions */ -export interface ProviderGetWebAppStacksdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetWebAppStacksDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2554,8 +2505,8 @@ export interface ProviderGetAvailableStacksOnPrem200Response extends HttpRespons } /** Get available application frameworks and their versions */ -export interface ProviderGetAvailableStacksOnPremdefaultResponse extends HttpResponse { - status: "500"; +export interface ProviderGetAvailableStacksOnPremDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2566,20 +2517,19 @@ export interface RecommendationsList200Response extends HttpResponse { } /** List all recommendations for a subscription. */ -export interface RecommendationsListdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reset all recommendation opt-out settings for a subscription. */ export interface RecommendationsResetAllFilters204Response extends HttpResponse { status: "204"; - body: Record; } /** Reset all recommendation opt-out settings for a subscription. */ -export interface RecommendationsResetAllFiltersdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsResetAllFiltersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2587,13 +2537,12 @@ export interface RecommendationsResetAllFiltersdefaultResponse extends HttpRespo export interface RecommendationsDisableRecommendationForSubscription200Response extends HttpResponse { status: "200"; - body: Record; } /** Disables the specified rule so it will not apply to a subscription in the future. */ -export interface RecommendationsDisableRecommendationForSubscriptiondefaultResponse +export interface RecommendationsDisableRecommendationForSubscriptionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2604,9 +2553,9 @@ export interface RecommendationsListHistoryForHostingEnvironment200Response exte } /** Get past recommendations for an app, optionally specified by the time range. */ -export interface RecommendationsListHistoryForHostingEnvironmentdefaultResponse +export interface RecommendationsListHistoryForHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2618,22 +2567,21 @@ export interface RecommendationsListRecommendedRulesForHostingEnvironment200Resp } /** Get all recommendations for a hosting environment. */ -export interface RecommendationsListRecommendedRulesForHostingEnvironmentdefaultResponse +export interface RecommendationsListRecommendedRulesForHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Disable all recommendations for an app. */ export interface RecommendationsDisableAllForHostingEnvironment204Response extends HttpResponse { status: "204"; - body: Record; } /** Disable all recommendations for an app. */ -export interface RecommendationsDisableAllForHostingEnvironmentdefaultResponse +export interface RecommendationsDisableAllForHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2641,13 +2589,12 @@ export interface RecommendationsDisableAllForHostingEnvironmentdefaultResponse export interface RecommendationsResetAllFiltersForHostingEnvironment204Response extends HttpResponse { status: "204"; - body: Record; } /** Reset all recommendation opt-out settings for an app. */ -export interface RecommendationsResetAllFiltersForHostingEnvironmentdefaultResponse +export interface RecommendationsResetAllFiltersForHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2658,9 +2605,9 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironment200Response ex } /** Get a recommendation rule for an app. */ -export interface RecommendationsGetRuleDetailsByHostingEnvironmentdefaultResponse +export interface RecommendationsGetRuleDetailsByHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2668,13 +2615,12 @@ export interface RecommendationsGetRuleDetailsByHostingEnvironmentdefaultRespons export interface RecommendationsDisableRecommendationForHostingEnvironment200Response extends HttpResponse { status: "200"; - body: Record; } /** Disables the specific rule for a web site permanently. */ -export interface RecommendationsDisableRecommendationForHostingEnvironmentdefaultResponse +export interface RecommendationsDisableRecommendationForHostingEnvironmentDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -2685,8 +2631,8 @@ export interface RecommendationsListHistoryForWebApp200Response extends HttpResp } /** Get past recommendations for an app, optionally specified by the time range. */ -export interface RecommendationsListHistoryForWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsListHistoryForWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2697,32 +2643,30 @@ export interface RecommendationsListRecommendedRulesForWebApp200Response extends } /** Get all recommendations for an app. */ -export interface RecommendationsListRecommendedRulesForWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsListRecommendedRulesForWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Disable all recommendations for an app. */ export interface RecommendationsDisableAllForWebApp204Response extends HttpResponse { status: "204"; - body: Record; } /** Disable all recommendations for an app. */ -export interface RecommendationsDisableAllForWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsDisableAllForWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reset all recommendation opt-out settings for an app. */ export interface RecommendationsResetAllFiltersForWebApp204Response extends HttpResponse { status: "204"; - body: Record; } /** Reset all recommendation opt-out settings for an app. */ -export interface RecommendationsResetAllFiltersForWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsResetAllFiltersForWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2733,20 +2677,19 @@ export interface RecommendationsGetRuleDetailsByWebApp200Response extends HttpRe } /** Get a recommendation rule for an app. */ -export interface RecommendationsGetRuleDetailsByWebAppdefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsGetRuleDetailsByWebAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Disables the specific rule for a web site permanently. */ export interface RecommendationsDisableRecommendationForSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Disables the specific rule for a web site permanently. */ -export interface RecommendationsDisableRecommendationForSitedefaultResponse extends HttpResponse { - status: "500"; +export interface RecommendationsDisableRecommendationForSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2757,8 +2700,8 @@ export interface ResourceHealthMetadataList200Response extends HttpResponse { } /** List all ResourceHealthMetadata for all sites in the subscription. */ -export interface ResourceHealthMetadataListdefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2769,8 +2712,8 @@ export interface ResourceHealthMetadataListByResourceGroup200Response extends Ht } /** List all ResourceHealthMetadata for all sites in the resource group in the subscription. */ -export interface ResourceHealthMetadataListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2781,8 +2724,8 @@ export interface ResourceHealthMetadataListBySite200Response extends HttpRespons } /** Gets the category of ResourceHealthMetadata to use for the given site as a collection */ -export interface ResourceHealthMetadataListBySitedefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataListBySiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2793,8 +2736,8 @@ export interface ResourceHealthMetadataGetBySite200Response extends HttpResponse } /** Gets the category of ResourceHealthMetadata to use for the given site */ -export interface ResourceHealthMetadataGetBySitedefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataGetBySiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2805,8 +2748,8 @@ export interface ResourceHealthMetadataListBySiteSlot200Response extends HttpRes } /** Gets the category of ResourceHealthMetadata to use for the given site as a collection */ -export interface ResourceHealthMetadataListBySiteSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataListBySiteSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2817,8 +2760,8 @@ export interface ResourceHealthMetadataGetBySiteSlot200Response extends HttpResp } /** Gets the category of ResourceHealthMetadata to use for the given site */ -export interface ResourceHealthMetadataGetBySiteSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface ResourceHealthMetadataGetBySiteSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2829,8 +2772,8 @@ export interface GetPublishingUser200Response extends HttpResponse { } /** Gets publishing user */ -export interface GetPublishingUserdefaultResponse extends HttpResponse { - status: "500"; +export interface GetPublishingUserDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2841,8 +2784,8 @@ export interface UpdatePublishingUser200Response extends HttpResponse { } /** Updates publishing user */ -export interface UpdatePublishingUserdefaultResponse extends HttpResponse { - status: "500"; +export interface UpdatePublishingUserDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2853,8 +2796,8 @@ export interface ListSourceControls200Response extends HttpResponse { } /** Gets the source controls available for Azure websites. */ -export interface ListSourceControlsdefaultResponse extends HttpResponse { - status: "500"; +export interface ListSourceControlsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2865,8 +2808,8 @@ export interface GetSourceControl200Response extends HttpResponse { } /** Gets source control token */ -export interface GetSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface GetSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2877,8 +2820,8 @@ export interface UpdateSourceControl200Response extends HttpResponse { } /** Updates source control token */ -export interface UpdateSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface UpdateSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2889,8 +2832,8 @@ export interface ListBillingMeters200Response extends HttpResponse { } /** Gets a list of meters for a given location. */ -export interface ListBillingMetersdefaultResponse extends HttpResponse { - status: "500"; +export interface ListBillingMetersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2901,8 +2844,8 @@ export interface CheckNameAvailability200Response extends HttpResponse { } /** Check if a resource name is available. */ -export interface CheckNameAvailabilitydefaultResponse extends HttpResponse { - status: "500"; +export interface CheckNameAvailabilityDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2913,8 +2856,8 @@ export interface ListCustomHostNameSites200Response extends HttpResponse { } /** Get custom hostnames under this subscription */ -export interface ListCustomHostNameSitesdefaultResponse extends HttpResponse { - status: "500"; +export interface ListCustomHostNameSitesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2925,8 +2868,8 @@ export interface GetSubscriptionDeploymentLocations200Response extends HttpRespo } /** Gets list of available geo regions plus ministamps */ -export interface GetSubscriptionDeploymentLocationsdefaultResponse extends HttpResponse { - status: "500"; +export interface GetSubscriptionDeploymentLocationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2937,8 +2880,8 @@ export interface ListGeoRegions200Response extends HttpResponse { } /** Get a list of available geographical regions. */ -export interface ListGeoRegionsdefaultResponse extends HttpResponse { - status: "500"; +export interface ListGeoRegionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2949,8 +2892,8 @@ export interface ListSiteIdentifiersAssignedToHostName200Response extends HttpRe } /** List all apps that are assigned to a hostname. */ -export interface ListSiteIdentifiersAssignedToHostNamedefaultResponse extends HttpResponse { - status: "500"; +export interface ListSiteIdentifiersAssignedToHostNameDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2961,8 +2904,8 @@ export interface ListPremierAddOnOffers200Response extends HttpResponse { } /** List all premier add-on offers. */ -export interface ListPremierAddOnOffersdefaultResponse extends HttpResponse { - status: "500"; +export interface ListPremierAddOnOffersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2973,8 +2916,8 @@ export interface ListSkus200Response extends HttpResponse { } /** List all SKUs. */ -export interface ListSkusdefaultResponse extends HttpResponse { - status: "500"; +export interface ListSkusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -2985,20 +2928,19 @@ export interface VerifyHostingEnvironmentVnet200Response extends HttpResponse { } /** Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules. */ -export interface VerifyHostingEnvironmentVnetdefaultResponse extends HttpResponse { - status: "500"; +export interface VerifyHostingEnvironmentVnetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Move resources between resource groups. */ export interface Move204Response extends HttpResponse { status: "204"; - body: Record; } /** Move resources between resource groups. */ -export interface MovedefaultResponse extends HttpResponse { - status: "500"; +export interface MoveDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3009,20 +2951,19 @@ export interface Validate200Response extends HttpResponse { } /** Validate if a resource can be created. */ -export interface ValidatedefaultResponse extends HttpResponse { - status: "500"; +export interface ValidateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Validate whether a resource can be moved. */ export interface ValidateMove204Response extends HttpResponse { status: "204"; - body: Record; } /** Validate whether a resource can be moved. */ -export interface ValidateMovedefaultResponse extends HttpResponse { - status: "500"; +export interface ValidateMoveDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3033,8 +2974,8 @@ export interface StaticSitesPreviewWorkflow200Response extends HttpResponse { } /** Generates a preview workflow file for the static site */ -export interface StaticSitesPreviewWorkflowdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesPreviewWorkflowDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3045,8 +2986,8 @@ export interface StaticSitesList200Response extends HttpResponse { } /** Get all Static Sites for a subscription. */ -export interface StaticSitesListdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3057,8 +2998,8 @@ export interface StaticSitesGetStaticSitesByResourceGroup200Response extends Htt } /** Gets all static sites in the specified resource group. */ -export interface StaticSitesGetStaticSitesByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetStaticSitesByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3069,8 +3010,8 @@ export interface StaticSitesGetStaticSite200Response extends HttpResponse { } /** Gets the details of a static site. */ -export interface StaticSitesGetStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3087,26 +3028,24 @@ export interface StaticSitesCreateOrUpdateStaticSite202Response extends HttpResp } /** Creates a new static site in an existing resource group, or updates an existing static site. */ -export interface StaticSitesCreateOrUpdateStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesCreateOrUpdateStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a static site. */ export interface StaticSitesDeleteStaticSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a static site. */ export interface StaticSitesDeleteStaticSite202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a static site. */ -export interface StaticSitesDeleteStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDeleteStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3123,8 +3062,8 @@ export interface StaticSitesUpdateStaticSite202Response extends HttpResponse { } /** Creates a new static site in an existing resource group, or updates an existing static site. */ -export interface StaticSitesUpdateStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesUpdateStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3135,20 +3074,19 @@ export interface StaticSitesListStaticSiteUsers200Response extends HttpResponse } /** Gets the list of users of a static site. */ -export interface StaticSitesListStaticSiteUsersdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteUsersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes the user entry from the static site. */ export interface StaticSitesDeleteStaticSiteUser200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the user entry from the static site. */ -export interface StaticSitesDeleteStaticSiteUserdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDeleteStaticSiteUserDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3159,8 +3097,8 @@ export interface StaticSitesUpdateStaticSiteUser200Response extends HttpResponse } /** Updates a user entry with the listed roles */ -export interface StaticSitesUpdateStaticSiteUserdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesUpdateStaticSiteUserDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3171,8 +3109,8 @@ export interface StaticSitesGetStaticSiteBuilds200Response extends HttpResponse } /** Gets all static site builds for a particular static site. */ -export interface StaticSitesGetStaticSiteBuildsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetStaticSiteBuildsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3183,32 +3121,29 @@ export interface StaticSitesGetStaticSiteBuild200Response extends HttpResponse { } /** Gets the details of a static site build. */ -export interface StaticSitesGetStaticSiteBuilddefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetStaticSiteBuildDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a static site build. */ export interface StaticSitesDeleteStaticSiteBuild200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a static site build. */ export interface StaticSitesDeleteStaticSiteBuild202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a static site build. */ export interface StaticSitesDeleteStaticSiteBuild204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a static site build. */ -export interface StaticSitesDeleteStaticSiteBuilddefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDeleteStaticSiteBuildDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3220,9 +3155,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettings200Response } /** Creates or updates the app settings of a static site build. */ -export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsdefaultResponse +export interface StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3234,9 +3169,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettings200R } /** Creates or updates the function app settings of a static site build. */ -export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsdefaultResponse +export interface StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3247,8 +3182,8 @@ export interface StaticSitesListStaticSiteBuildFunctions200Response extends Http } /** Gets the functions of a particular static site build. */ -export interface StaticSitesListStaticSiteBuildFunctionsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteBuildFunctionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3259,8 +3194,8 @@ export interface StaticSitesListStaticSiteBuildAppSettings200Response extends Ht } /** Gets the application settings of a static site build. */ -export interface StaticSitesListStaticSiteBuildAppSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteBuildAppSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3271,9 +3206,9 @@ export interface StaticSitesListStaticSiteBuildFunctionAppSettings200Response ex } /** Gets the application settings of a static site build. */ -export interface StaticSitesListStaticSiteBuildFunctionAppSettingsdefaultResponse +export interface StaticSitesListStaticSiteBuildFunctionAppSettingsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3285,9 +3220,9 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuild200Resp } /** Gets the details of the user provided function apps registered with a static site build */ -export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuilddefaultResponse +export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3299,9 +3234,9 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuild200Respo } /** Gets the details of the user provided function app registered with a static site build */ -export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuilddefaultResponse +export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3320,9 +3255,9 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuild20 } /** Register a user provided function app with a static site build */ -export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuilddefaultResponse +export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3330,39 +3265,35 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildde export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild200Response extends HttpResponse { status: "200"; - body: Record; } /** Detach the user provided function app from the static site build */ export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuild204Response extends HttpResponse { status: "204"; - body: Record; } /** Detach the user provided function app from the static site build */ -export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuilddefaultResponse +export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deploys zipped content to a specific environment of a static site. */ export interface StaticSitesCreateZipDeploymentForStaticSiteBuild200Response extends HttpResponse { status: "200"; - body: Record; } /** Deploys zipped content to a specific environment of a static site. */ export interface StaticSitesCreateZipDeploymentForStaticSiteBuild202Response extends HttpResponse { status: "202"; - body: Record; } /** Deploys zipped content to a specific environment of a static site. */ -export interface StaticSitesCreateZipDeploymentForStaticSiteBuilddefaultResponse +export interface StaticSitesCreateZipDeploymentForStaticSiteBuildDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3373,9 +3304,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteAppSettings200Response exten } /** Creates or updates the app settings of a static site. */ -export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsdefaultResponse +export interface StaticSitesCreateOrUpdateStaticSiteAppSettingsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3387,9 +3318,9 @@ export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettings200Respon } /** Creates or updates the function app settings of a static site. */ -export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsdefaultResponse +export interface StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3400,8 +3331,8 @@ export interface StaticSitesCreateUserRolesInvitationLink200Response extends Htt } /** Creates an invitation link for a user with the role */ -export interface StaticSitesCreateUserRolesInvitationLinkdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesCreateUserRolesInvitationLinkDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3412,8 +3343,8 @@ export interface StaticSitesListStaticSiteCustomDomains200Response extends HttpR } /** Gets all static site custom domains for a particular static site. */ -export interface StaticSitesListStaticSiteCustomDomainsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteCustomDomainsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3424,8 +3355,8 @@ export interface StaticSitesGetStaticSiteCustomDomain200Response extends HttpRes } /** Gets an existing custom domain for a particular static site. */ -export interface StaticSitesGetStaticSiteCustomDomaindefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetStaticSiteCustomDomainDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3442,27 +3373,25 @@ export interface StaticSitesCreateOrUpdateStaticSiteCustomDomain202Response exte } /** Creates a new static site custom domain in an existing resource group and static site. */ -export interface StaticSitesCreateOrUpdateStaticSiteCustomDomaindefaultResponse +export interface StaticSitesCreateOrUpdateStaticSiteCustomDomainDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a custom domain. */ export interface StaticSitesDeleteStaticSiteCustomDomain200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a custom domain. */ export interface StaticSitesDeleteStaticSiteCustomDomain202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a custom domain. */ -export interface StaticSitesDeleteStaticSiteCustomDomaindefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDeleteStaticSiteCustomDomainDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3470,38 +3399,34 @@ export interface StaticSitesDeleteStaticSiteCustomDomaindefaultResponse extends export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Validates a particular custom domain can be added to a static site. */ export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSite202Response extends HttpResponse { status: "202"; - body: Record; } /** Validates a particular custom domain can be added to a static site. */ -export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSitedefaultResponse +export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Detaches a static site. */ export interface StaticSitesDetachStaticSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Detaches a static site. */ export interface StaticSitesDetachStaticSite202Response extends HttpResponse { status: "202"; - body: Record; } /** Detaches a static site. */ -export interface StaticSitesDetachStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDetachStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3512,8 +3437,8 @@ export interface StaticSitesListStaticSiteFunctions200Response extends HttpRespo } /** Gets the functions of a static site. */ -export interface StaticSitesListStaticSiteFunctionsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteFunctionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3524,8 +3449,8 @@ export interface StaticSitesListStaticSiteAppSettings200Response extends HttpRes } /** Gets the application settings of a static site. */ -export interface StaticSitesListStaticSiteAppSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteAppSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3536,8 +3461,8 @@ export interface StaticSitesListStaticSiteConfiguredRoles200Response extends Htt } /** Lists the roles configured for the static site. */ -export interface StaticSitesListStaticSiteConfiguredRolesdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteConfiguredRolesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3548,8 +3473,8 @@ export interface StaticSitesListStaticSiteFunctionAppSettings200Response extends } /** Gets the application settings of a static site. */ -export interface StaticSitesListStaticSiteFunctionAppSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteFunctionAppSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3560,8 +3485,8 @@ export interface StaticSitesListStaticSiteSecrets200Response extends HttpRespons } /** Lists the secrets for an existing static site. */ -export interface StaticSitesListStaticSiteSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesListStaticSiteSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3572,8 +3497,8 @@ export interface StaticSitesGetPrivateEndpointConnectionList200Response extends } /** Gets the list of private endpoint connections associated with a static site */ -export interface StaticSitesGetPrivateEndpointConnectionListdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3584,8 +3509,8 @@ export interface StaticSitesGetPrivateEndpointConnection200Response extends Http } /** Gets a private endpoint connection */ -export interface StaticSitesGetPrivateEndpointConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3604,9 +3529,9 @@ export interface StaticSitesApproveOrRejectPrivateEndpointConnection202Response } /** Approves or rejects a private endpoint connection */ -export interface StaticSitesApproveOrRejectPrivateEndpointConnectiondefaultResponse +export interface StaticSitesApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3629,8 +3554,8 @@ export interface StaticSitesDeletePrivateEndpointConnection204Response extends H } /** Deletes a private endpoint connection */ -export interface StaticSitesDeletePrivateEndpointConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3641,20 +3566,19 @@ export interface StaticSitesGetPrivateLinkResources200Response extends HttpRespo } /** Gets the private link resources */ -export interface StaticSitesGetPrivateLinkResourcesdefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesGetPrivateLinkResourcesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Resets the api key for an existing static site. */ export interface StaticSitesResetStaticSiteApiKey200Response extends HttpResponse { status: "200"; - body: Record; } /** Resets the api key for an existing static site. */ -export interface StaticSitesResetStaticSiteApiKeydefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesResetStaticSiteApiKeyDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3666,9 +3590,9 @@ export interface StaticSitesGetUserProvidedFunctionAppsForStaticSite200Response } /** Gets the details of the user provided function apps registered with a static site */ -export interface StaticSitesGetUserProvidedFunctionAppsForStaticSitedefaultResponse +export interface StaticSitesGetUserProvidedFunctionAppsForStaticSiteDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3680,9 +3604,9 @@ export interface StaticSitesGetUserProvidedFunctionAppForStaticSite200Response } /** Gets the details of the user provided function app registered with a static site */ -export interface StaticSitesGetUserProvidedFunctionAppForStaticSitedefaultResponse +export interface StaticSitesGetUserProvidedFunctionAppForStaticSiteDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3701,9 +3625,9 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSite202Resp } /** Register a user provided function app with a static site */ -export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSitedefaultResponse +export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -3711,38 +3635,34 @@ export interface StaticSitesRegisterUserProvidedFunctionAppWithStaticSitedefault export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Detach the user provided function app from the static site */ export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSite204Response extends HttpResponse { status: "204"; - body: Record; } /** Detach the user provided function app from the static site */ -export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSitedefaultResponse +export interface StaticSitesDetachUserProvidedFunctionAppFromStaticSiteDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deploys zipped content to a static site. */ export interface StaticSitesCreateZipDeploymentForStaticSite200Response extends HttpResponse { status: "200"; - body: Record; } /** Deploys zipped content to a static site. */ export interface StaticSitesCreateZipDeploymentForStaticSite202Response extends HttpResponse { status: "202"; - body: Record; } /** Deploys zipped content to a static site. */ -export interface StaticSitesCreateZipDeploymentForStaticSitedefaultResponse extends HttpResponse { - status: "500"; +export interface StaticSitesCreateZipDeploymentForStaticSiteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3753,8 +3673,8 @@ export interface WebAppsList200Response extends HttpResponse { } /** Get all apps for a subscription. */ -export interface WebAppsListdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3765,8 +3685,8 @@ export interface WebAppsListByResourceGroup200Response extends HttpResponse { } /** Gets all web, mobile, and API apps in the specified resource group. */ -export interface WebAppsListByResourceGroupdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListByResourceGroupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3779,12 +3699,11 @@ export interface WebAppsGet200Response extends HttpResponse { /** Gets the details of a web, mobile, or API app. */ export interface WebAppsGet404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets the details of a web, mobile, or API app. */ -export interface WebAppsGetdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3801,32 +3720,29 @@ export interface WebAppsCreateOrUpdate202Response extends HttpResponse { } /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ -export interface WebAppsCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDelete404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ -export interface WebAppsDeletedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3843,8 +3759,8 @@ export interface WebAppsUpdate202Response extends HttpResponse { } /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ -export interface WebAppsUpdatedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3855,20 +3771,19 @@ export interface WebAppsAnalyzeCustomHostname200Response extends HttpResponse { } /** Analyze a custom hostname. */ -export interface WebAppsAnalyzeCustomHostnamedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsAnalyzeCustomHostnameDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Applies the configuration settings from the target slot onto the current slot. */ export interface WebAppsApplySlotConfigToProduction200Response extends HttpResponse { status: "200"; - body: Record; } /** Applies the configuration settings from the target slot onto the current slot. */ -export interface WebAppsApplySlotConfigToProductiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsApplySlotConfigToProductionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3879,8 +3794,8 @@ export interface WebAppsBackup200Response extends HttpResponse { } /** Creates a backup of an app. */ -export interface WebAppsBackupdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsBackupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3891,8 +3806,8 @@ export interface WebAppsListBackups200Response extends HttpResponse { } /** Gets existing backups of an app. */ -export interface WebAppsListBackupsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListBackupsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3903,26 +3818,24 @@ export interface WebAppsGetBackupStatus200Response extends HttpResponse { } /** Gets a backup of an app by its ID. */ -export interface WebAppsGetBackupStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetBackupStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a backup of an app by its ID. */ export interface WebAppsDeleteBackup200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a backup of an app by its ID. */ export interface WebAppsDeleteBackup404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a backup of an app by its ID. */ -export interface WebAppsDeleteBackupdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteBackupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3933,26 +3846,24 @@ export interface WebAppsListBackupStatusSecrets200Response extends HttpResponse } /** 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. */ -export interface WebAppsListBackupStatusSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListBackupStatusSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a specific backup to another app (or deployment slot, if specified). */ export interface WebAppsRestore200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a specific backup to another app (or deployment slot, if specified). */ export interface WebAppsRestore202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a specific backup to another app (or deployment slot, if specified). */ -export interface WebAppsRestoredefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3963,8 +3874,8 @@ export interface WebAppsListBasicPublishingCredentialsPolicies200Response extend } /** Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. */ -export interface WebAppsListBasicPublishingCredentialsPoliciesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListBasicPublishingCredentialsPoliciesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3975,8 +3886,8 @@ export interface WebAppsGetFtpAllowed200Response extends HttpResponse { } /** Returns whether FTP is allowed on the site or not. */ -export interface WebAppsGetFtpAlloweddefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetFtpAllowedDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3987,8 +3898,8 @@ export interface WebAppsUpdateFtpAllowed200Response extends HttpResponse { } /** Updates whether FTP is allowed on the site or not. */ -export interface WebAppsUpdateFtpAlloweddefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateFtpAllowedDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -3999,8 +3910,8 @@ export interface WebAppsGetScmAllowed200Response extends HttpResponse { } /** Returns whether Scm basic auth is allowed on the site or not. */ -export interface WebAppsGetScmAlloweddefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetScmAllowedDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4011,8 +3922,8 @@ export interface WebAppsUpdateScmAllowed200Response extends HttpResponse { } /** Updates whether user publishing credentials are allowed on the site or not. */ -export interface WebAppsUpdateScmAlloweddefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateScmAllowedDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4023,8 +3934,8 @@ export interface WebAppsListConfigurations200Response extends HttpResponse { } /** List the configurations of an app */ -export interface WebAppsListConfigurationsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConfigurationsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4035,8 +3946,8 @@ export interface WebAppsUpdateApplicationSettings200Response extends HttpRespons } /** Replaces the application settings of an app. */ -export interface WebAppsUpdateApplicationSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateApplicationSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4047,8 +3958,8 @@ export interface WebAppsListApplicationSettings200Response extends HttpResponse } /** Gets the application settings of an app. */ -export interface WebAppsListApplicationSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListApplicationSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4059,8 +3970,8 @@ export interface WebAppsUpdateAuthSettings200Response extends HttpResponse { } /** Updates the Authentication / Authorization settings associated with web app. */ -export interface WebAppsUpdateAuthSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAuthSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4071,8 +3982,8 @@ export interface WebAppsGetAuthSettings200Response extends HttpResponse { } /** Gets the Authentication/Authorization settings of an app. */ -export interface WebAppsGetAuthSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4083,8 +3994,8 @@ export interface WebAppsGetAuthSettingsV2WithoutSecrets200Response extends HttpR } /** Gets site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsGetAuthSettingsV2WithoutSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsV2WithoutSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4095,8 +4006,8 @@ export interface WebAppsUpdateAuthSettingsV2200Response extends HttpResponse { } /** Updates site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsUpdateAuthSettingsV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAuthSettingsV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4107,8 +4018,8 @@ export interface WebAppsGetAuthSettingsV2200Response extends HttpResponse { } /** Gets site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsGetAuthSettingsV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4119,8 +4030,8 @@ export interface WebAppsUpdateAzureStorageAccounts200Response extends HttpRespon } /** Updates the Azure storage account configurations of an app. */ -export interface WebAppsUpdateAzureStorageAccountsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAzureStorageAccountsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4131,8 +4042,8 @@ export interface WebAppsListAzureStorageAccounts200Response extends HttpResponse } /** Gets the Azure storage account configurations of an app. */ -export interface WebAppsListAzureStorageAccountsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListAzureStorageAccountsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4143,20 +4054,19 @@ export interface WebAppsUpdateBackupConfiguration200Response extends HttpRespons } /** Updates the backup configuration of an app. */ -export interface WebAppsUpdateBackupConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateBackupConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes the backup configuration of an app. */ export interface WebAppsDeleteBackupConfiguration200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the backup configuration of an app. */ -export interface WebAppsDeleteBackupConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteBackupConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4167,8 +4077,8 @@ export interface WebAppsGetBackupConfiguration200Response extends HttpResponse { } /** Gets the backup configuration of an app. */ -export interface WebAppsGetBackupConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetBackupConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4179,8 +4089,8 @@ export interface WebAppsGetAppSettingsKeyVaultReferences200Response extends Http } /** Gets the config reference app settings and status of an app */ -export interface WebAppsGetAppSettingsKeyVaultReferencesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAppSettingsKeyVaultReferencesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4191,8 +4101,8 @@ export interface WebAppsGetAppSettingKeyVaultReference200Response extends HttpRe } /** Gets the config reference and status of an app */ -export interface WebAppsGetAppSettingKeyVaultReferencedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAppSettingKeyVaultReferenceDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4203,9 +4113,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferences200Response ext } /** Gets the config reference app settings and status of an app */ -export interface WebAppsGetSiteConnectionStringKeyVaultReferencesdefaultResponse +export interface WebAppsGetSiteConnectionStringKeyVaultReferencesDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -4216,9 +4126,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReference200Response exte } /** Gets the config reference and status of an app */ -export interface WebAppsGetSiteConnectionStringKeyVaultReferencedefaultResponse +export interface WebAppsGetSiteConnectionStringKeyVaultReferenceDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -4229,8 +4139,8 @@ export interface WebAppsUpdateConnectionStrings200Response extends HttpResponse } /** Replaces the connection strings of an app. */ -export interface WebAppsUpdateConnectionStringsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateConnectionStringsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4241,8 +4151,8 @@ export interface WebAppsListConnectionStrings200Response extends HttpResponse { } /** Gets the connection strings of an app. */ -export interface WebAppsListConnectionStringsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConnectionStringsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4253,8 +4163,8 @@ export interface WebAppsGetDiagnosticLogsConfiguration200Response extends HttpRe } /** Gets the logging configuration of an app. */ -export interface WebAppsGetDiagnosticLogsConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDiagnosticLogsConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4265,8 +4175,8 @@ export interface WebAppsUpdateDiagnosticLogsConfig200Response extends HttpRespon } /** Updates the logging configuration of an app. */ -export interface WebAppsUpdateDiagnosticLogsConfigdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateDiagnosticLogsConfigDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4277,8 +4187,8 @@ export interface WebAppsUpdateMetadata200Response extends HttpResponse { } /** Replaces the metadata of an app. */ -export interface WebAppsUpdateMetadatadefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateMetadataDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4289,8 +4199,8 @@ export interface WebAppsListMetadata200Response extends HttpResponse { } /** Gets the metadata of an app. */ -export interface WebAppsListMetadatadefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListMetadataDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4301,8 +4211,8 @@ export interface WebAppsListPublishingCredentials200Response extends HttpRespons } /** Gets the Git/FTP publishing credentials of an app. */ -export interface WebAppsListPublishingCredentialsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPublishingCredentialsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4313,8 +4223,8 @@ export interface WebAppsUpdateSitePushSettings200Response extends HttpResponse { } /** Updates the Push settings associated with web app. */ -export interface WebAppsUpdateSitePushSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSitePushSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4325,8 +4235,8 @@ export interface WebAppsListSitePushSettings200Response extends HttpResponse { } /** Gets the Push settings associated with web app. */ -export interface WebAppsListSitePushSettingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSitePushSettingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4337,8 +4247,8 @@ export interface WebAppsListSlotConfigurationNames200Response extends HttpRespon } /** Gets the names of app settings and connection strings that stick to the slot (not swapped). */ -export interface WebAppsListSlotConfigurationNamesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSlotConfigurationNamesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4349,8 +4259,8 @@ export interface WebAppsUpdateSlotConfigurationNames200Response extends HttpResp } /** Updates the names of application settings and connection string that remain with the slot during swap operation. */ -export interface WebAppsUpdateSlotConfigurationNamesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSlotConfigurationNamesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4361,8 +4271,8 @@ export interface WebAppsGetConfiguration200Response extends HttpResponse { } /** Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. */ -export interface WebAppsGetConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4373,8 +4283,8 @@ export interface WebAppsCreateOrUpdateConfiguration200Response extends HttpRespo } /** Updates the configuration of an app. */ -export interface WebAppsCreateOrUpdateConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4385,8 +4295,8 @@ export interface WebAppsUpdateConfiguration200Response extends HttpResponse { } /** Updates the configuration of an app. */ -export interface WebAppsUpdateConfigurationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateConfigurationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4397,8 +4307,8 @@ export interface WebAppsListConfigurationSnapshotInfo200Response extends HttpRes } /** Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. */ -export interface WebAppsListConfigurationSnapshotInfodefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConfigurationSnapshotInfoDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4409,20 +4319,19 @@ export interface WebAppsGetConfigurationSnapshot200Response extends HttpResponse } /** Gets a snapshot of the configuration of an app at a previous point in time. */ -export interface WebAppsGetConfigurationSnapshotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetConfigurationSnapshotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reverts the configuration of an app to a previous snapshot. */ export interface WebAppsRecoverSiteConfigurationSnapshot204Response extends HttpResponse { status: "204"; - body: Record; } /** Reverts the configuration of an app to a previous snapshot. */ -export interface WebAppsRecoverSiteConfigurationSnapshotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRecoverSiteConfigurationSnapshotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4436,13 +4345,11 @@ export interface WebAppsGetWebSiteContainerLogs200Response extends HttpResponse /** Gets the last lines of docker logs for the given site */ export interface WebAppsGetWebSiteContainerLogs204Response extends HttpResponse { status: "204"; - body: Record; } /** Gets the last lines of docker logs for the given site */ -export interface WebAppsGetWebSiteContainerLogsdefaultResponse extends HttpResponse { - status: "500"; - body: Record; +export interface WebAppsGetWebSiteContainerLogsDefaultResponse extends HttpResponse { + status: string; } /** Gets the ZIP archived docker log files for the given site */ @@ -4455,13 +4362,11 @@ export interface WebAppsGetContainerLogsZip200Response extends HttpResponse { /** Gets the ZIP archived docker log files for the given site */ export interface WebAppsGetContainerLogsZip204Response extends HttpResponse { status: "204"; - body: Record; } /** Gets the ZIP archived docker log files for the given site */ -export interface WebAppsGetContainerLogsZipdefaultResponse extends HttpResponse { - status: "500"; - body: Record; +export interface WebAppsGetContainerLogsZipDefaultResponse extends HttpResponse { + status: string; } /** List continuous web jobs for an app, or a deployment slot. */ @@ -4471,8 +4376,8 @@ export interface WebAppsListContinuousWebJobs200Response extends HttpResponse { } /** List continuous web jobs for an app, or a deployment slot. */ -export interface WebAppsListContinuousWebJobsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListContinuousWebJobsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4485,66 +4390,59 @@ export interface WebAppsGetContinuousWebJob200Response extends HttpResponse { /** Gets a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsGetContinuousWebJob404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a continuous web job by its ID for an app, or a deployment slot. */ -export interface WebAppsGetContinuousWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetContinuousWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteContinuousWebJob200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteContinuousWebJob204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteContinuousWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteContinuousWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Start a continuous web job for an app, or a deployment slot. */ export interface WebAppsStartContinuousWebJob200Response extends HttpResponse { status: "200"; - body: Record; } /** Start a continuous web job for an app, or a deployment slot. */ export interface WebAppsStartContinuousWebJob404Response extends HttpResponse { status: "404"; - body: Record; } /** Start a continuous web job for an app, or a deployment slot. */ -export interface WebAppsStartContinuousWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartContinuousWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop a continuous web job for an app, or a deployment slot. */ export interface WebAppsStopContinuousWebJob200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop a continuous web job for an app, or a deployment slot. */ export interface WebAppsStopContinuousWebJob404Response extends HttpResponse { status: "404"; - body: Record; } /** Stop a continuous web job for an app, or a deployment slot. */ -export interface WebAppsStopContinuousWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopContinuousWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4555,8 +4453,8 @@ export interface WebAppsListDeployments200Response extends HttpResponse { } /** List deployments for an app, or a deployment slot. */ -export interface WebAppsListDeploymentsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDeploymentsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4567,8 +4465,8 @@ export interface WebAppsGetDeployment200Response extends HttpResponse { } /** Get a deployment by its ID for an app, or a deployment slot. */ -export interface WebAppsGetDeploymentdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDeploymentDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4579,26 +4477,24 @@ export interface WebAppsCreateDeployment200Response extends HttpResponse { } /** Create a deployment for an app, or a deployment slot. */ -export interface WebAppsCreateDeploymentdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateDeploymentDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a deployment by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteDeployment200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a deployment by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteDeployment204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a deployment by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteDeploymentdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteDeploymentDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4609,8 +4505,8 @@ export interface WebAppsListDeploymentLog200Response extends HttpResponse { } /** List deployment log for specific deployment for an app, or a deployment slot. */ -export interface WebAppsListDeploymentLogdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDeploymentLogDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4621,8 +4517,8 @@ export interface WebAppsDiscoverBackup200Response extends HttpResponse { } /** Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. */ -export interface WebAppsDiscoverBackupdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDiscoverBackupDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4633,8 +4529,8 @@ export interface WebAppsListDomainOwnershipIdentifiers200Response extends HttpRe } /** Lists ownership identifiers for domain associated with web app. */ -export interface WebAppsListDomainOwnershipIdentifiersdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDomainOwnershipIdentifiersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4645,8 +4541,8 @@ export interface WebAppsGetDomainOwnershipIdentifier200Response extends HttpResp } /** Get domain ownership identifier for web app. */ -export interface WebAppsGetDomainOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDomainOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4657,27 +4553,25 @@ export interface WebAppsCreateOrUpdateDomainOwnershipIdentifier200Response exten } /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ -export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierdefaultResponse +export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a domain ownership identifier for a web app. */ export interface WebAppsDeleteDomainOwnershipIdentifier200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a domain ownership identifier for a web app. */ export interface WebAppsDeleteDomainOwnershipIdentifier204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a domain ownership identifier for a web app. */ -export interface WebAppsDeleteDomainOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteDomainOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4688,8 +4582,8 @@ export interface WebAppsUpdateDomainOwnershipIdentifier200Response extends HttpR } /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ -export interface WebAppsUpdateDomainOwnershipIdentifierdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateDomainOwnershipIdentifierDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4700,8 +4594,8 @@ export interface WebAppsGetMSDeployStatus200Response extends HttpResponse { } /** Get the status of the last MSDeploy operation. */ -export interface WebAppsGetMSDeployStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMSDeployStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4714,12 +4608,11 @@ export interface WebAppsCreateMSDeployOperation201Response extends HttpResponse /** Invoke the MSDeploy web app extension. */ export interface WebAppsCreateMSDeployOperation409Response extends HttpResponse { status: "409"; - body: Record; } /** Invoke the MSDeploy web app extension. */ -export interface WebAppsCreateMSDeployOperationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateMSDeployOperationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4732,12 +4625,11 @@ export interface WebAppsGetMSDeployLog200Response extends HttpResponse { /** Get the MSDeploy Log for the last MSDeploy operation. */ export interface WebAppsGetMSDeployLog404Response extends HttpResponse { status: "404"; - body: Record; } /** Get the MSDeploy Log for the last MSDeploy operation. */ -export interface WebAppsGetMSDeployLogdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMSDeployLogDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4748,8 +4640,8 @@ export interface WebAppsGetOneDeployStatus200Response extends HttpResponse { } /** Invoke onedeploy status API /api/deployments and gets the deployment status for the site */ -export interface WebAppsGetOneDeployStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetOneDeployStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4760,8 +4652,8 @@ export interface WebAppsCreateOneDeployOperation200Response extends HttpResponse } /** Invoke the OneDeploy publish web app extension. */ -export interface WebAppsCreateOneDeployOperationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOneDeployOperationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4774,12 +4666,11 @@ export interface WebAppsListFunctions200Response extends HttpResponse { /** List the functions for a web site, or a deployment slot. */ export interface WebAppsListFunctions404Response extends HttpResponse { status: "404"; - body: Record; } /** List the functions for a web site, or a deployment slot. */ -export interface WebAppsListFunctionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListFunctionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4790,8 +4681,8 @@ export interface WebAppsGetFunctionsAdminToken200Response extends HttpResponse { } /** Fetch a short lived token that can be exchanged for a master key. */ -export interface WebAppsGetFunctionsAdminTokendefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetFunctionsAdminTokenDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4804,12 +4695,11 @@ export interface WebAppsGetFunction200Response extends HttpResponse { /** Get function information by its ID for web site, or a deployment slot. */ export interface WebAppsGetFunction404Response extends HttpResponse { status: "404"; - body: Record; } /** Get function information by its ID for web site, or a deployment slot. */ -export interface WebAppsGetFunctiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetFunctionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4820,26 +4710,24 @@ export interface WebAppsCreateFunction201Response extends HttpResponse { } /** Create function for web site, or a deployment slot. */ -export interface WebAppsCreateFunctiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateFunctionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a function for web site, or a deployment slot. */ export interface WebAppsDeleteFunction204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a function for web site, or a deployment slot. */ export interface WebAppsDeleteFunction404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a function for web site, or a deployment slot. */ -export interface WebAppsDeleteFunctiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteFunctionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4856,26 +4744,24 @@ export interface WebAppsCreateOrUpdateFunctionSecret201Response extends HttpResp } /** Add or update a function secret. */ -export interface WebAppsCreateOrUpdateFunctionSecretdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateFunctionSecretDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a function secret. */ export interface WebAppsDeleteFunctionSecret204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a function secret. */ export interface WebAppsDeleteFunctionSecret404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a function secret. */ -export interface WebAppsDeleteFunctionSecretdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteFunctionSecretDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4886,8 +4772,8 @@ export interface WebAppsListFunctionKeys200Response extends HttpResponse { } /** Get function keys for a function in a web site, or a deployment slot. */ -export interface WebAppsListFunctionKeysdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListFunctionKeysDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4898,8 +4784,8 @@ export interface WebAppsListFunctionSecrets200Response extends HttpResponse { } /** Get function secrets for a function in a web site, or a deployment slot. */ -export interface WebAppsListFunctionSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListFunctionSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4910,32 +4796,30 @@ export interface WebAppsListHostKeys200Response extends HttpResponse { } /** Get host secrets for a function app. */ -export interface WebAppsListHostKeysdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHostKeysDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** This is to allow calling via powershell and ARM template. */ export interface WebAppsListSyncStatus204Response extends HttpResponse { status: "204"; - body: Record; } /** This is to allow calling via powershell and ARM template. */ -export interface WebAppsListSyncStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSyncStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Syncs function trigger metadata to the management database */ export interface WebAppsSyncFunctions204Response extends HttpResponse { status: "204"; - body: Record; } /** Syncs function trigger metadata to the management database */ -export interface WebAppsSyncFunctionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncFunctionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4952,26 +4836,24 @@ export interface WebAppsCreateOrUpdateHostSecret201Response extends HttpResponse } /** Add or update a host level secret. */ -export interface WebAppsCreateOrUpdateHostSecretdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHostSecretDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a host level secret. */ export interface WebAppsDeleteHostSecret204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a host level secret. */ export interface WebAppsDeleteHostSecret404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a host level secret. */ -export interface WebAppsDeleteHostSecretdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHostSecretDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4982,8 +4864,8 @@ export interface WebAppsListHostNameBindings200Response extends HttpResponse { } /** Get hostname bindings for an app or a deployment slot. */ -export interface WebAppsListHostNameBindingsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHostNameBindingsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -4994,8 +4876,8 @@ export interface WebAppsGetHostNameBinding200Response extends HttpResponse { } /** Get the named hostname binding for an app (or deployment slot, if specified). */ -export interface WebAppsGetHostNameBindingdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetHostNameBindingDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5006,26 +4888,24 @@ export interface WebAppsCreateOrUpdateHostNameBinding200Response extends HttpRes } /** Creates a hostname binding for an app. */ -export interface WebAppsCreateOrUpdateHostNameBindingdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHostNameBindingDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeleteHostNameBinding200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeleteHostNameBinding204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a hostname binding for an app. */ -export interface WebAppsDeleteHostNameBindingdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHostNameBindingDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5036,8 +4916,8 @@ export interface WebAppsGetHybridConnection200Response extends HttpResponse { } /** Retrieves a specific Service Bus Hybrid Connection used by this Web App. */ -export interface WebAppsGetHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5048,26 +4928,24 @@ export interface WebAppsCreateOrUpdateHybridConnection200Response extends HttpRe } /** Creates a new Hybrid Connection using a Service Bus relay. */ -export interface WebAppsCreateOrUpdateHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Removes a Hybrid Connection from this site. */ export interface WebAppsDeleteHybridConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Removes a Hybrid Connection from this site. */ export interface WebAppsDeleteHybridConnection404Response extends HttpResponse { status: "404"; - body: Record; } /** Removes a Hybrid Connection from this site. */ -export interface WebAppsDeleteHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5078,8 +4956,8 @@ export interface WebAppsUpdateHybridConnection200Response extends HttpResponse { } /** Creates a new Hybrid Connection using a Service Bus relay. */ -export interface WebAppsUpdateHybridConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateHybridConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5090,8 +4968,8 @@ export interface WebAppsListHybridConnections200Response extends HttpResponse { } /** Retrieves all Service Bus Hybrid Connections used by this Web App. */ -export interface WebAppsListHybridConnectionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHybridConnectionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5102,8 +4980,8 @@ export interface WebAppsListRelayServiceConnections200Response extends HttpRespo } /** Gets hybrid connections configured for an app (or deployment slot, if specified). */ -export interface WebAppsListRelayServiceConnectionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListRelayServiceConnectionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5114,8 +4992,8 @@ export interface WebAppsGetRelayServiceConnection200Response extends HttpRespons } /** Gets a hybrid connection configuration by its name. */ -export interface WebAppsGetRelayServiceConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetRelayServiceConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5126,26 +5004,24 @@ export interface WebAppsCreateOrUpdateRelayServiceConnection200Response extends } /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ -export interface WebAppsCreateOrUpdateRelayServiceConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateRelayServiceConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a relay service connection by its name. */ export interface WebAppsDeleteRelayServiceConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a relay service connection by its name. */ export interface WebAppsDeleteRelayServiceConnection404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a relay service connection by its name. */ -export interface WebAppsDeleteRelayServiceConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteRelayServiceConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5156,8 +5032,8 @@ export interface WebAppsUpdateRelayServiceConnection200Response extends HttpResp } /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ -export interface WebAppsUpdateRelayServiceConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateRelayServiceConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5168,8 +5044,8 @@ export interface WebAppsListInstanceIdentifiers200Response extends HttpResponse } /** Gets all scale-out instances of an app. */ -export interface WebAppsListInstanceIdentifiersdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceIdentifiersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5180,8 +5056,8 @@ export interface WebAppsGetInstanceInfo200Response extends HttpResponse { } /** Gets all scale-out instances of an app. */ -export interface WebAppsGetInstanceInfodefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceInfoDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5192,8 +5068,8 @@ export interface WebAppsGetInstanceMsDeployStatus200Response extends HttpRespons } /** Get the status of the last MSDeploy operation. */ -export interface WebAppsGetInstanceMsDeployStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceMsDeployStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5206,12 +5082,11 @@ export interface WebAppsCreateInstanceMSDeployOperation201Response extends HttpR /** Invoke the MSDeploy web app extension. */ export interface WebAppsCreateInstanceMSDeployOperation409Response extends HttpResponse { status: "409"; - body: Record; } /** Invoke the MSDeploy web app extension. */ -export interface WebAppsCreateInstanceMSDeployOperationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateInstanceMSDeployOperationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5224,12 +5099,11 @@ export interface WebAppsGetInstanceMSDeployLog200Response extends HttpResponse { /** Get the MSDeploy Log for the last MSDeploy operation. */ export interface WebAppsGetInstanceMSDeployLog404Response extends HttpResponse { status: "404"; - body: Record; } /** Get the MSDeploy Log for the last MSDeploy operation. */ -export interface WebAppsGetInstanceMSDeployLogdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceMSDeployLogDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5242,12 +5116,11 @@ export interface WebAppsListInstanceProcesses200Response extends HttpResponse { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcesses404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5260,30 +5133,27 @@ export interface WebAppsGetInstanceProcess200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcess404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteInstanceProcess204Response extends HttpResponse { status: "204"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteInstanceProcess404Response extends HttpResponse { status: "404"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ -export interface WebAppsDeleteInstanceProcessdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteInstanceProcessDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5297,12 +5167,11 @@ export interface WebAppsGetInstanceProcessDump200Response extends HttpResponse { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcessDump404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessDumpdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessDumpDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5315,12 +5184,11 @@ export interface WebAppsListInstanceProcessModules200Response extends HttpRespon /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcessModules404Response extends HttpResponse { status: "404"; - body: Record; } /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessModulesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessModulesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5333,12 +5201,11 @@ export interface WebAppsGetInstanceProcessModule200Response extends HttpResponse /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcessModule404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessModuledefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessModuleDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5351,12 +5218,11 @@ export interface WebAppsListInstanceProcessThreads200Response extends HttpRespon /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcessThreads404Response extends HttpResponse { status: "404"; - body: Record; } /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessThreadsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessThreadsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5367,8 +5233,8 @@ export interface WebAppsIsCloneable200Response extends HttpResponse { } /** Shows whether an app can be cloned to another resource group or subscription. */ -export interface WebAppsIsCloneabledefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsIsCloneableDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5379,8 +5245,8 @@ export interface WebAppsListSiteBackups200Response extends HttpResponse { } /** Gets existing backups of an app. */ -export interface WebAppsListSiteBackupsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSiteBackupsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5391,8 +5257,8 @@ export interface WebAppsListSyncFunctionTriggers200Response extends HttpResponse } /** This is to allow calling via powershell and ARM template. */ -export interface WebAppsListSyncFunctionTriggersdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSyncFunctionTriggersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5403,8 +5269,8 @@ export interface WebAppsMigrateStorage200Response extends HttpResponse { } /** Restores a web app. */ -export interface WebAppsMigrateStoragedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsMigrateStorageDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5415,8 +5281,8 @@ export interface WebAppsMigrateMySql200Response extends HttpResponse { } /** Migrates a local (in-app) MySql database to a remote MySql database. */ -export interface WebAppsMigrateMySqldefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsMigrateMySqlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5427,8 +5293,8 @@ export interface WebAppsGetMigrateMySqlStatus200Response extends HttpResponse { } /** Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled */ -export interface WebAppsGetMigrateMySqlStatusdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMigrateMySqlStatusDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5439,8 +5305,8 @@ export interface WebAppsGetSwiftVirtualNetworkConnection200Response extends Http } /** Gets a Swift Virtual Network connection. */ -export interface WebAppsGetSwiftVirtualNetworkConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSwiftVirtualNetworkConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5458,27 +5324,25 @@ export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheck200R * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. */ -export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse +export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ export interface WebAppsDeleteSwiftVirtualNetwork200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ export interface WebAppsDeleteSwiftVirtualNetwork404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ -export interface WebAppsDeleteSwiftVirtualNetworkdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSwiftVirtualNetworkDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5496,9 +5360,9 @@ export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheck200Response * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. */ -export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckdefaultResponse +export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -5511,12 +5375,11 @@ export interface WebAppsListNetworkFeatures200Response extends HttpResponse { /** Gets all network features used by the app (or deployment slot, if specified). */ export interface WebAppsListNetworkFeatures404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets all network features used by the app (or deployment slot, if specified). */ -export interface WebAppsListNetworkFeaturesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListNetworkFeaturesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5533,8 +5396,8 @@ export interface WebAppsGetNetworkTraceOperation202Response extends HttpResponse } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTraceOperationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTraceOperationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5545,8 +5408,8 @@ export interface WebAppsStartWebSiteNetworkTrace200Response extends HttpResponse } /** Start capturing network packets for the site (To be deprecated). */ -export interface WebAppsStartWebSiteNetworkTracedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartWebSiteNetworkTraceDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5563,26 +5426,24 @@ export interface WebAppsStartWebSiteNetworkTraceOperation202Response extends Htt } /** Start capturing network packets for the site. */ -export interface WebAppsStartWebSiteNetworkTraceOperationdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartWebSiteNetworkTraceOperationDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopWebSiteNetworkTrace200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopWebSiteNetworkTrace204Response extends HttpResponse { status: "204"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ -export interface WebAppsStopWebSiteNetworkTracedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopWebSiteNetworkTraceDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5593,8 +5454,8 @@ export interface WebAppsGetNetworkTraces200Response extends HttpResponse { } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTracesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTracesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5611,8 +5472,8 @@ export interface WebAppsGetNetworkTraceOperationV2202Response extends HttpRespon } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTraceOperationV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTraceOperationV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5623,26 +5484,24 @@ export interface WebAppsGetNetworkTracesV2200Response extends HttpResponse { } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTracesV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTracesV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ export interface WebAppsGenerateNewSitePublishingPassword200Response extends HttpResponse { status: "200"; - body: Record; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ export interface WebAppsGenerateNewSitePublishingPassword204Response extends HttpResponse { status: "204"; - body: Record; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ -export interface WebAppsGenerateNewSitePublishingPassworddefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGenerateNewSitePublishingPasswordDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5653,8 +5512,8 @@ export interface WebAppsListPerfMonCounters200Response extends HttpResponse { } /** Gets perfmon counters for web app. */ -export interface WebAppsListPerfMonCountersdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPerfMonCountersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5665,8 +5524,8 @@ export interface WebAppsGetSitePhpErrorLogFlag200Response extends HttpResponse { } /** Gets web app's event logs. */ -export interface WebAppsGetSitePhpErrorLogFlagdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSitePhpErrorLogFlagDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5677,8 +5536,8 @@ export interface WebAppsListPremierAddOns200Response extends HttpResponse { } /** Gets the premier add-ons of an app. */ -export interface WebAppsListPremierAddOnsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPremierAddOnsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5689,8 +5548,8 @@ export interface WebAppsGetPremierAddOn200Response extends HttpResponse { } /** Gets a named add-on of an app. */ -export interface WebAppsGetPremierAddOndefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPremierAddOnDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5701,20 +5560,19 @@ export interface WebAppsAddPremierAddOn200Response extends HttpResponse { } /** Updates a named add-on of an app. */ -export interface WebAppsAddPremierAddOndefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsAddPremierAddOnDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a premier add-on from an app. */ export interface WebAppsDeletePremierAddOn200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a premier add-on from an app. */ -export interface WebAppsDeletePremierAddOndefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePremierAddOnDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5725,8 +5583,8 @@ export interface WebAppsUpdatePremierAddOn200Response extends HttpResponse { } /** Updates a named add-on of an app. */ -export interface WebAppsUpdatePremierAddOndefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdatePremierAddOnDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5737,8 +5595,8 @@ export interface WebAppsGetPrivateAccess200Response extends HttpResponse { } /** Gets data around private site access enablement and authorized Virtual Networks that can access the site. */ -export interface WebAppsGetPrivateAccessdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateAccessDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5749,8 +5607,8 @@ export interface WebAppsPutPrivateAccessVnet200Response extends HttpResponse { } /** Sets data around private site access enablement and authorized Virtual Networks that can access the site. */ -export interface WebAppsPutPrivateAccessVnetdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsPutPrivateAccessVnetDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5761,8 +5619,8 @@ export interface WebAppsGetPrivateEndpointConnectionList200Response extends Http } /** Gets the list of private endpoint connections associated with a site */ -export interface WebAppsGetPrivateEndpointConnectionListdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateEndpointConnectionListDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5773,8 +5631,8 @@ export interface WebAppsGetPrivateEndpointConnection200Response extends HttpResp } /** Gets a private endpoint connection */ -export interface WebAppsGetPrivateEndpointConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateEndpointConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5791,9 +5649,9 @@ export interface WebAppsApproveOrRejectPrivateEndpointConnection202Response exte } /** Approves or rejects a private endpoint connection */ -export interface WebAppsApproveOrRejectPrivateEndpointConnectiondefaultResponse +export interface WebAppsApproveOrRejectPrivateEndpointConnectionDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -5816,8 +5674,8 @@ export interface WebAppsDeletePrivateEndpointConnection204Response extends HttpR } /** Deletes a private endpoint connection */ -export interface WebAppsDeletePrivateEndpointConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePrivateEndpointConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5828,8 +5686,8 @@ export interface WebAppsGetPrivateLinkResources200Response extends HttpResponse } /** Gets the private link resources */ -export interface WebAppsGetPrivateLinkResourcesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateLinkResourcesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5842,12 +5700,11 @@ export interface WebAppsListProcesses200Response extends HttpResponse { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ export interface WebAppsListProcesses404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5860,30 +5717,27 @@ export interface WebAppsGetProcess200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcess404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteProcess204Response extends HttpResponse { status: "204"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteProcess404Response extends HttpResponse { status: "404"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ -export interface WebAppsDeleteProcessdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteProcessDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5897,12 +5751,11 @@ export interface WebAppsGetProcessDump200Response extends HttpResponse { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcessDump404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessDumpdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessDumpDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5915,12 +5768,11 @@ export interface WebAppsListProcessModules200Response extends HttpResponse { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListProcessModules404Response extends HttpResponse { status: "404"; - body: Record; } /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessModulesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessModulesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5933,12 +5785,11 @@ export interface WebAppsGetProcessModule200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcessModule404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessModuledefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessModuleDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5951,12 +5802,11 @@ export interface WebAppsListProcessThreads200Response extends HttpResponse { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListProcessThreads404Response extends HttpResponse { status: "404"; - body: Record; } /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessThreadsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessThreadsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5967,8 +5817,8 @@ export interface WebAppsListPublicCertificates200Response extends HttpResponse { } /** Get public certificates for an app or a deployment slot. */ -export interface WebAppsListPublicCertificatesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPublicCertificatesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5979,8 +5829,8 @@ export interface WebAppsGetPublicCertificate200Response extends HttpResponse { } /** Get the named public certificate for an app (or deployment slot, if specified). */ -export interface WebAppsGetPublicCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPublicCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -5991,26 +5841,24 @@ export interface WebAppsCreateOrUpdatePublicCertificate200Response extends HttpR } /** Creates a hostname binding for an app. */ -export interface WebAppsCreateOrUpdatePublicCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdatePublicCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeletePublicCertificate200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeletePublicCertificate204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a hostname binding for an app. */ -export interface WebAppsDeletePublicCertificatedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePublicCertificateDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6022,86 +5870,78 @@ export interface WebAppsListPublishingProfileXmlWithSecrets200Response extends H } /** Gets the publishing profile for an app (or deployment slot, if specified). */ -export interface WebAppsListPublishingProfileXmlWithSecretsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPublishingProfileXmlWithSecretsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ export interface WebAppsResetProductionSlotConfig200Response extends HttpResponse { status: "200"; - body: Record; } /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ -export interface WebAppsResetProductionSlotConfigdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsResetProductionSlotConfigDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restarts an app (or deployment slot, if specified). */ export interface WebAppsRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts an app (or deployment slot, if specified). */ -export interface WebAppsRestartdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestartDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores an app from a backup blob in Azure Storage. */ export interface WebAppsRestoreFromBackupBlob200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores an app from a backup blob in Azure Storage. */ export interface WebAppsRestoreFromBackupBlob202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores an app from a backup blob in Azure Storage. */ -export interface WebAppsRestoreFromBackupBlobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreFromBackupBlobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a deleted web app to this web app. */ export interface WebAppsRestoreFromDeletedApp200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a deleted web app to this web app. */ export interface WebAppsRestoreFromDeletedApp202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a deleted web app to this web app. */ -export interface WebAppsRestoreFromDeletedAppdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreFromDeletedAppDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a web app from a snapshot. */ export interface WebAppsRestoreSnapshot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a web app from a snapshot. */ export interface WebAppsRestoreSnapshot202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a web app from a snapshot. */ -export interface WebAppsRestoreSnapshotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreSnapshotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6114,12 +5954,11 @@ export interface WebAppsListSiteExtensions200Response extends HttpResponse { /** Get list of siteextensions for a web site, or a deployment slot. */ export interface WebAppsListSiteExtensions404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of siteextensions for a web site, or a deployment slot. */ -export interface WebAppsListSiteExtensionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSiteExtensionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6132,12 +5971,11 @@ export interface WebAppsGetSiteExtension200Response extends HttpResponse { /** Get site extension information by its ID for a web site, or a deployment slot. */ export interface WebAppsGetSiteExtension404Response extends HttpResponse { status: "404"; - body: Record; } /** Get site extension information by its ID for a web site, or a deployment slot. */ -export interface WebAppsGetSiteExtensiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSiteExtensionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6156,30 +5994,27 @@ export interface WebAppsInstallSiteExtension201Response extends HttpResponse { /** Install site extension on a web site, or a deployment slot. */ export interface WebAppsInstallSiteExtension429Response extends HttpResponse { status: "429"; - body: Record; } /** Install site extension on a web site, or a deployment slot. */ -export interface WebAppsInstallSiteExtensiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsInstallSiteExtensionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Remove a site extension from a web site, or a deployment slot. */ export interface WebAppsDeleteSiteExtension204Response extends HttpResponse { status: "204"; - body: Record; } /** Remove a site extension from a web site, or a deployment slot. */ export interface WebAppsDeleteSiteExtension404Response extends HttpResponse { status: "404"; - body: Record; } /** Remove a site extension from a web site, or a deployment slot. */ -export interface WebAppsDeleteSiteExtensiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSiteExtensionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6190,8 +6025,8 @@ export interface WebAppsListSlots200Response extends HttpResponse { } /** Gets an app's deployment slots. */ -export interface WebAppsListSlotsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSlotsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6204,12 +6039,11 @@ export interface WebAppsGetSlot200Response extends HttpResponse { /** Gets the details of a web, mobile, or API app. */ export interface WebAppsGetSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets the details of a web, mobile, or API app. */ -export interface WebAppsGetSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6226,32 +6060,29 @@ export interface WebAppsCreateOrUpdateSlot202Response extends HttpResponse { } /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ -export interface WebAppsCreateOrUpdateSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDeleteSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDeleteSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ export interface WebAppsDeleteSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a web, mobile, or API app, or one of the deployment slots. */ -export interface WebAppsDeleteSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6268,8 +6099,8 @@ export interface WebAppsUpdateSlot202Response extends HttpResponse { } /** Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. */ -export interface WebAppsUpdateSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6280,20 +6111,19 @@ export interface WebAppsAnalyzeCustomHostnameSlot200Response extends HttpRespons } /** Analyze a custom hostname. */ -export interface WebAppsAnalyzeCustomHostnameSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsAnalyzeCustomHostnameSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Applies the configuration settings from the target slot onto the current slot. */ export interface WebAppsApplySlotConfigurationSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Applies the configuration settings from the target slot onto the current slot. */ -export interface WebAppsApplySlotConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsApplySlotConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6304,8 +6134,8 @@ export interface WebAppsBackupSlot200Response extends HttpResponse { } /** Creates a backup of an app. */ -export interface WebAppsBackupSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsBackupSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6316,8 +6146,8 @@ export interface WebAppsListBackupsSlot200Response extends HttpResponse { } /** Gets existing backups of an app. */ -export interface WebAppsListBackupsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListBackupsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6328,26 +6158,24 @@ export interface WebAppsGetBackupStatusSlot200Response extends HttpResponse { } /** Gets a backup of an app by its ID. */ -export interface WebAppsGetBackupStatusSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetBackupStatusSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a backup of an app by its ID. */ export interface WebAppsDeleteBackupSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a backup of an app by its ID. */ export interface WebAppsDeleteBackupSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a backup of an app by its ID. */ -export interface WebAppsDeleteBackupSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteBackupSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6358,26 +6186,24 @@ export interface WebAppsListBackupStatusSecretsSlot200Response extends HttpRespo } /** 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. */ -export interface WebAppsListBackupStatusSecretsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListBackupStatusSecretsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a specific backup to another app (or deployment slot, if specified). */ export interface WebAppsRestoreSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a specific backup to another app (or deployment slot, if specified). */ export interface WebAppsRestoreSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a specific backup to another app (or deployment slot, if specified). */ -export interface WebAppsRestoreSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6388,9 +6214,9 @@ export interface WebAppsListBasicPublishingCredentialsPoliciesSlot200Response ex } /** Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. */ -export interface WebAppsListBasicPublishingCredentialsPoliciesSlotdefaultResponse +export interface WebAppsListBasicPublishingCredentialsPoliciesSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -6401,8 +6227,8 @@ export interface WebAppsGetFtpAllowedSlot200Response extends HttpResponse { } /** Returns whether FTP is allowed on the site or not. */ -export interface WebAppsGetFtpAllowedSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetFtpAllowedSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6413,8 +6239,8 @@ export interface WebAppsUpdateFtpAllowedSlot200Response extends HttpResponse { } /** Updates whether FTP is allowed on the site or not. */ -export interface WebAppsUpdateFtpAllowedSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateFtpAllowedSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6425,8 +6251,8 @@ export interface WebAppsGetScmAllowedSlot200Response extends HttpResponse { } /** Returns whether Scm basic auth is allowed on the site or not. */ -export interface WebAppsGetScmAllowedSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetScmAllowedSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6437,8 +6263,8 @@ export interface WebAppsUpdateScmAllowedSlot200Response extends HttpResponse { } /** Updates whether user publishing credentials are allowed on the site or not. */ -export interface WebAppsUpdateScmAllowedSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateScmAllowedSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6449,8 +6275,8 @@ export interface WebAppsListConfigurationsSlot200Response extends HttpResponse { } /** List the configurations of an app */ -export interface WebAppsListConfigurationsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConfigurationsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6461,8 +6287,8 @@ export interface WebAppsUpdateApplicationSettingsSlot200Response extends HttpRes } /** Replaces the application settings of an app. */ -export interface WebAppsUpdateApplicationSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateApplicationSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6473,8 +6299,8 @@ export interface WebAppsListApplicationSettingsSlot200Response extends HttpRespo } /** Gets the application settings of an app. */ -export interface WebAppsListApplicationSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListApplicationSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6485,8 +6311,8 @@ export interface WebAppsUpdateAuthSettingsSlot200Response extends HttpResponse { } /** Updates the Authentication / Authorization settings associated with web app. */ -export interface WebAppsUpdateAuthSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAuthSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6497,8 +6323,8 @@ export interface WebAppsGetAuthSettingsSlot200Response extends HttpResponse { } /** Gets the Authentication/Authorization settings of an app. */ -export interface WebAppsGetAuthSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6509,8 +6335,8 @@ export interface WebAppsGetAuthSettingsV2WithoutSecretsSlot200Response extends H } /** Gets site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsGetAuthSettingsV2WithoutSecretsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsV2WithoutSecretsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6521,8 +6347,8 @@ export interface WebAppsUpdateAuthSettingsV2Slot200Response extends HttpResponse } /** Updates site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsUpdateAuthSettingsV2SlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAuthSettingsV2SlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6533,8 +6359,8 @@ export interface WebAppsGetAuthSettingsV2Slot200Response extends HttpResponse { } /** Gets site's Authentication / Authorization settings for apps via the V2 format */ -export interface WebAppsGetAuthSettingsV2SlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAuthSettingsV2SlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6545,8 +6371,8 @@ export interface WebAppsUpdateAzureStorageAccountsSlot200Response extends HttpRe } /** Updates the Azure storage account configurations of an app. */ -export interface WebAppsUpdateAzureStorageAccountsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateAzureStorageAccountsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6557,8 +6383,8 @@ export interface WebAppsListAzureStorageAccountsSlot200Response extends HttpResp } /** Gets the Azure storage account configurations of an app. */ -export interface WebAppsListAzureStorageAccountsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListAzureStorageAccountsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6569,20 +6395,19 @@ export interface WebAppsUpdateBackupConfigurationSlot200Response extends HttpRes } /** Updates the backup configuration of an app. */ -export interface WebAppsUpdateBackupConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateBackupConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes the backup configuration of an app. */ export interface WebAppsDeleteBackupConfigurationSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the backup configuration of an app. */ -export interface WebAppsDeleteBackupConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteBackupConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6593,8 +6418,8 @@ export interface WebAppsGetBackupConfigurationSlot200Response extends HttpRespon } /** Gets the backup configuration of an app. */ -export interface WebAppsGetBackupConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetBackupConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6605,8 +6430,8 @@ export interface WebAppsGetAppSettingsKeyVaultReferencesSlot200Response extends } /** Gets the config reference app settings and status of an app */ -export interface WebAppsGetAppSettingsKeyVaultReferencesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAppSettingsKeyVaultReferencesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6617,8 +6442,8 @@ export interface WebAppsGetAppSettingKeyVaultReferenceSlot200Response extends Ht } /** Gets the config reference and status of an app */ -export interface WebAppsGetAppSettingKeyVaultReferenceSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetAppSettingKeyVaultReferenceSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6630,9 +6455,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlot200Response } /** Gets the config reference app settings and status of an app */ -export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotdefaultResponse +export interface WebAppsGetSiteConnectionStringKeyVaultReferencesSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -6644,9 +6469,9 @@ export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlot200Response } /** Gets the config reference and status of an app */ -export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlotdefaultResponse +export interface WebAppsGetSiteConnectionStringKeyVaultReferenceSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -6657,8 +6482,8 @@ export interface WebAppsUpdateConnectionStringsSlot200Response extends HttpRespo } /** Replaces the connection strings of an app. */ -export interface WebAppsUpdateConnectionStringsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateConnectionStringsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6669,8 +6494,8 @@ export interface WebAppsListConnectionStringsSlot200Response extends HttpRespons } /** Gets the connection strings of an app. */ -export interface WebAppsListConnectionStringsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConnectionStringsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6681,8 +6506,8 @@ export interface WebAppsGetDiagnosticLogsConfigurationSlot200Response extends Ht } /** Gets the logging configuration of an app. */ -export interface WebAppsGetDiagnosticLogsConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDiagnosticLogsConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6693,8 +6518,8 @@ export interface WebAppsUpdateDiagnosticLogsConfigSlot200Response extends HttpRe } /** Updates the logging configuration of an app. */ -export interface WebAppsUpdateDiagnosticLogsConfigSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateDiagnosticLogsConfigSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6705,8 +6530,8 @@ export interface WebAppsUpdateMetadataSlot200Response extends HttpResponse { } /** Replaces the metadata of an app. */ -export interface WebAppsUpdateMetadataSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateMetadataSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6717,8 +6542,8 @@ export interface WebAppsListMetadataSlot200Response extends HttpResponse { } /** Gets the metadata of an app. */ -export interface WebAppsListMetadataSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListMetadataSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6729,8 +6554,8 @@ export interface WebAppsListPublishingCredentialsSlot200Response extends HttpRes } /** Gets the Git/FTP publishing credentials of an app. */ -export interface WebAppsListPublishingCredentialsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPublishingCredentialsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6741,8 +6566,8 @@ export interface WebAppsUpdateSitePushSettingsSlot200Response extends HttpRespon } /** Updates the Push settings associated with web app. */ -export interface WebAppsUpdateSitePushSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSitePushSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6753,8 +6578,8 @@ export interface WebAppsListSitePushSettingsSlot200Response extends HttpResponse } /** Gets the Push settings associated with web app. */ -export interface WebAppsListSitePushSettingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSitePushSettingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6765,8 +6590,8 @@ export interface WebAppsGetConfigurationSlot200Response extends HttpResponse { } /** Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. */ -export interface WebAppsGetConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6777,8 +6602,8 @@ export interface WebAppsCreateOrUpdateConfigurationSlot200Response extends HttpR } /** Updates the configuration of an app. */ -export interface WebAppsCreateOrUpdateConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6789,8 +6614,8 @@ export interface WebAppsUpdateConfigurationSlot200Response extends HttpResponse } /** Updates the configuration of an app. */ -export interface WebAppsUpdateConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6801,8 +6626,8 @@ export interface WebAppsListConfigurationSnapshotInfoSlot200Response extends Htt } /** Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. */ -export interface WebAppsListConfigurationSnapshotInfoSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListConfigurationSnapshotInfoSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6813,20 +6638,19 @@ export interface WebAppsGetConfigurationSnapshotSlot200Response extends HttpResp } /** Gets a snapshot of the configuration of an app at a previous point in time. */ -export interface WebAppsGetConfigurationSnapshotSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetConfigurationSnapshotSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Reverts the configuration of an app to a previous snapshot. */ export interface WebAppsRecoverSiteConfigurationSnapshotSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Reverts the configuration of an app to a previous snapshot. */ -export interface WebAppsRecoverSiteConfigurationSnapshotSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRecoverSiteConfigurationSnapshotSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6840,13 +6664,11 @@ export interface WebAppsGetWebSiteContainerLogsSlot200Response extends HttpRespo /** Gets the last lines of docker logs for the given site */ export interface WebAppsGetWebSiteContainerLogsSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Gets the last lines of docker logs for the given site */ -export interface WebAppsGetWebSiteContainerLogsSlotdefaultResponse extends HttpResponse { - status: "500"; - body: Record; +export interface WebAppsGetWebSiteContainerLogsSlotDefaultResponse extends HttpResponse { + status: string; } /** Gets the ZIP archived docker log files for the given site */ @@ -6859,13 +6681,11 @@ export interface WebAppsGetContainerLogsZipSlot200Response extends HttpResponse /** Gets the ZIP archived docker log files for the given site */ export interface WebAppsGetContainerLogsZipSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Gets the ZIP archived docker log files for the given site */ -export interface WebAppsGetContainerLogsZipSlotdefaultResponse extends HttpResponse { - status: "500"; - body: Record; +export interface WebAppsGetContainerLogsZipSlotDefaultResponse extends HttpResponse { + status: string; } /** List continuous web jobs for an app, or a deployment slot. */ @@ -6875,8 +6695,8 @@ export interface WebAppsListContinuousWebJobsSlot200Response extends HttpRespons } /** List continuous web jobs for an app, or a deployment slot. */ -export interface WebAppsListContinuousWebJobsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListContinuousWebJobsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6889,66 +6709,59 @@ export interface WebAppsGetContinuousWebJobSlot200Response extends HttpResponse /** Gets a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsGetContinuousWebJobSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a continuous web job by its ID for an app, or a deployment slot. */ -export interface WebAppsGetContinuousWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetContinuousWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteContinuousWebJobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteContinuousWebJobSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a continuous web job by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteContinuousWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteContinuousWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Start a continuous web job for an app, or a deployment slot. */ export interface WebAppsStartContinuousWebJobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Start a continuous web job for an app, or a deployment slot. */ export interface WebAppsStartContinuousWebJobSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Start a continuous web job for an app, or a deployment slot. */ -export interface WebAppsStartContinuousWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartContinuousWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop a continuous web job for an app, or a deployment slot. */ export interface WebAppsStopContinuousWebJobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop a continuous web job for an app, or a deployment slot. */ export interface WebAppsStopContinuousWebJobSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Stop a continuous web job for an app, or a deployment slot. */ -export interface WebAppsStopContinuousWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopContinuousWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6959,8 +6772,8 @@ export interface WebAppsListDeploymentsSlot200Response extends HttpResponse { } /** List deployments for an app, or a deployment slot. */ -export interface WebAppsListDeploymentsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDeploymentsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6971,8 +6784,8 @@ export interface WebAppsGetDeploymentSlot200Response extends HttpResponse { } /** Get a deployment by its ID for an app, or a deployment slot. */ -export interface WebAppsGetDeploymentSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDeploymentSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -6983,26 +6796,24 @@ export interface WebAppsCreateDeploymentSlot200Response extends HttpResponse { } /** Create a deployment for an app, or a deployment slot. */ -export interface WebAppsCreateDeploymentSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateDeploymentSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a deployment by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteDeploymentSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a deployment by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteDeploymentSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a deployment by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteDeploymentSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteDeploymentSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7013,8 +6824,8 @@ export interface WebAppsListDeploymentLogSlot200Response extends HttpResponse { } /** List deployment log for specific deployment for an app, or a deployment slot. */ -export interface WebAppsListDeploymentLogSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDeploymentLogSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7025,8 +6836,8 @@ export interface WebAppsDiscoverBackupSlot200Response extends HttpResponse { } /** Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. */ -export interface WebAppsDiscoverBackupSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDiscoverBackupSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7037,8 +6848,8 @@ export interface WebAppsListDomainOwnershipIdentifiersSlot200Response extends Ht } /** Lists ownership identifiers for domain associated with web app. */ -export interface WebAppsListDomainOwnershipIdentifiersSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListDomainOwnershipIdentifiersSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7049,8 +6860,8 @@ export interface WebAppsGetDomainOwnershipIdentifierSlot200Response extends Http } /** Get domain ownership identifier for web app. */ -export interface WebAppsGetDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7062,27 +6873,25 @@ export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlot200Response } /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ -export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotdefaultResponse +export interface WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a domain ownership identifier for a web app. */ export interface WebAppsDeleteDomainOwnershipIdentifierSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a domain ownership identifier for a web app. */ export interface WebAppsDeleteDomainOwnershipIdentifierSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a domain ownership identifier for a web app. */ -export interface WebAppsDeleteDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7093,8 +6902,8 @@ export interface WebAppsUpdateDomainOwnershipIdentifierSlot200Response extends H } /** Creates a domain ownership identifier for web app, or updates an existing ownership identifier. */ -export interface WebAppsUpdateDomainOwnershipIdentifierSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateDomainOwnershipIdentifierSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7105,8 +6914,8 @@ export interface WebAppsGetMSDeployStatusSlot200Response extends HttpResponse { } /** Get the status of the last MSDeploy operation. */ -export interface WebAppsGetMSDeployStatusSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMSDeployStatusSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7119,12 +6928,11 @@ export interface WebAppsCreateMSDeployOperationSlot201Response extends HttpRespo /** Invoke the MSDeploy web app extension. */ export interface WebAppsCreateMSDeployOperationSlot409Response extends HttpResponse { status: "409"; - body: Record; } /** Invoke the MSDeploy web app extension. */ -export interface WebAppsCreateMSDeployOperationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateMSDeployOperationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7137,12 +6945,11 @@ export interface WebAppsGetMSDeployLogSlot200Response extends HttpResponse { /** Get the MSDeploy Log for the last MSDeploy operation. */ export interface WebAppsGetMSDeployLogSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get the MSDeploy Log for the last MSDeploy operation. */ -export interface WebAppsGetMSDeployLogSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMSDeployLogSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7155,12 +6962,11 @@ export interface WebAppsListInstanceFunctionsSlot200Response extends HttpRespons /** List the functions for a web site, or a deployment slot. */ export interface WebAppsListInstanceFunctionsSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List the functions for a web site, or a deployment slot. */ -export interface WebAppsListInstanceFunctionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceFunctionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7171,8 +6977,8 @@ export interface WebAppsGetFunctionsAdminTokenSlot200Response extends HttpRespon } /** Fetch a short lived token that can be exchanged for a master key. */ -export interface WebAppsGetFunctionsAdminTokenSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetFunctionsAdminTokenSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7185,12 +6991,11 @@ export interface WebAppsGetInstanceFunctionSlot200Response extends HttpResponse /** Get function information by its ID for web site, or a deployment slot. */ export interface WebAppsGetInstanceFunctionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get function information by its ID for web site, or a deployment slot. */ -export interface WebAppsGetInstanceFunctionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceFunctionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7201,26 +7006,24 @@ export interface WebAppsCreateInstanceFunctionSlot201Response extends HttpRespon } /** Create function for web site, or a deployment slot. */ -export interface WebAppsCreateInstanceFunctionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateInstanceFunctionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a function for web site, or a deployment slot. */ export interface WebAppsDeleteInstanceFunctionSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a function for web site, or a deployment slot. */ export interface WebAppsDeleteInstanceFunctionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a function for web site, or a deployment slot. */ -export interface WebAppsDeleteInstanceFunctionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteInstanceFunctionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7237,26 +7040,24 @@ export interface WebAppsCreateOrUpdateFunctionSecretSlot201Response extends Http } /** Add or update a function secret. */ -export interface WebAppsCreateOrUpdateFunctionSecretSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateFunctionSecretSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a function secret. */ export interface WebAppsDeleteFunctionSecretSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a function secret. */ export interface WebAppsDeleteFunctionSecretSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a function secret. */ -export interface WebAppsDeleteFunctionSecretSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteFunctionSecretSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7267,8 +7068,8 @@ export interface WebAppsListFunctionKeysSlot200Response extends HttpResponse { } /** Get function keys for a function in a web site, or a deployment slot. */ -export interface WebAppsListFunctionKeysSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListFunctionKeysSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7279,8 +7080,8 @@ export interface WebAppsListFunctionSecretsSlot200Response extends HttpResponse } /** Get function secrets for a function in a web site, or a deployment slot. */ -export interface WebAppsListFunctionSecretsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListFunctionSecretsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7291,32 +7092,30 @@ export interface WebAppsListHostKeysSlot200Response extends HttpResponse { } /** Get host secrets for a function app. */ -export interface WebAppsListHostKeysSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHostKeysSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** This is to allow calling via powershell and ARM template. */ export interface WebAppsListSyncStatusSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** This is to allow calling via powershell and ARM template. */ -export interface WebAppsListSyncStatusSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSyncStatusSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Syncs function trigger metadata to the management database */ export interface WebAppsSyncFunctionsSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Syncs function trigger metadata to the management database */ -export interface WebAppsSyncFunctionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncFunctionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7333,26 +7132,24 @@ export interface WebAppsCreateOrUpdateHostSecretSlot201Response extends HttpResp } /** Add or update a host level secret. */ -export interface WebAppsCreateOrUpdateHostSecretSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHostSecretSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a host level secret. */ export interface WebAppsDeleteHostSecretSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a host level secret. */ export interface WebAppsDeleteHostSecretSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Delete a host level secret. */ -export interface WebAppsDeleteHostSecretSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHostSecretSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7363,8 +7160,8 @@ export interface WebAppsListHostNameBindingsSlot200Response extends HttpResponse } /** Get hostname bindings for an app or a deployment slot. */ -export interface WebAppsListHostNameBindingsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHostNameBindingsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7375,8 +7172,8 @@ export interface WebAppsGetHostNameBindingSlot200Response extends HttpResponse { } /** Get the named hostname binding for an app (or deployment slot, if specified). */ -export interface WebAppsGetHostNameBindingSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetHostNameBindingSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7387,26 +7184,24 @@ export interface WebAppsCreateOrUpdateHostNameBindingSlot200Response extends Htt } /** Creates a hostname binding for an app. */ -export interface WebAppsCreateOrUpdateHostNameBindingSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHostNameBindingSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeleteHostNameBindingSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeleteHostNameBindingSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a hostname binding for an app. */ -export interface WebAppsDeleteHostNameBindingSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHostNameBindingSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7417,8 +7212,8 @@ export interface WebAppsGetHybridConnectionSlot200Response extends HttpResponse } /** Retrieves a specific Service Bus Hybrid Connection used by this Web App. */ -export interface WebAppsGetHybridConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetHybridConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7429,26 +7224,24 @@ export interface WebAppsCreateOrUpdateHybridConnectionSlot200Response extends Ht } /** Creates a new Hybrid Connection using a Service Bus relay. */ -export interface WebAppsCreateOrUpdateHybridConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateHybridConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Removes a Hybrid Connection from this site. */ export interface WebAppsDeleteHybridConnectionSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Removes a Hybrid Connection from this site. */ export interface WebAppsDeleteHybridConnectionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Removes a Hybrid Connection from this site. */ -export interface WebAppsDeleteHybridConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteHybridConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7459,8 +7252,8 @@ export interface WebAppsUpdateHybridConnectionSlot200Response extends HttpRespon } /** Creates a new Hybrid Connection using a Service Bus relay. */ -export interface WebAppsUpdateHybridConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateHybridConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7471,8 +7264,8 @@ export interface WebAppsListHybridConnectionsSlot200Response extends HttpRespons } /** Retrieves all Service Bus Hybrid Connections used by this Web App. */ -export interface WebAppsListHybridConnectionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListHybridConnectionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7483,8 +7276,8 @@ export interface WebAppsListRelayServiceConnectionsSlot200Response extends HttpR } /** Gets hybrid connections configured for an app (or deployment slot, if specified). */ -export interface WebAppsListRelayServiceConnectionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListRelayServiceConnectionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7495,8 +7288,8 @@ export interface WebAppsGetRelayServiceConnectionSlot200Response extends HttpRes } /** Gets a hybrid connection configuration by its name. */ -export interface WebAppsGetRelayServiceConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetRelayServiceConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7507,27 +7300,25 @@ export interface WebAppsCreateOrUpdateRelayServiceConnectionSlot200Response exte } /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ -export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotdefaultResponse +export interface WebAppsCreateOrUpdateRelayServiceConnectionSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a relay service connection by its name. */ export interface WebAppsDeleteRelayServiceConnectionSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a relay service connection by its name. */ export interface WebAppsDeleteRelayServiceConnectionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a relay service connection by its name. */ -export interface WebAppsDeleteRelayServiceConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteRelayServiceConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7538,8 +7329,8 @@ export interface WebAppsUpdateRelayServiceConnectionSlot200Response extends Http } /** Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). */ -export interface WebAppsUpdateRelayServiceConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateRelayServiceConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7550,8 +7341,8 @@ export interface WebAppsListInstanceIdentifiersSlot200Response extends HttpRespo } /** Gets all scale-out instances of an app. */ -export interface WebAppsListInstanceIdentifiersSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceIdentifiersSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7562,8 +7353,8 @@ export interface WebAppsGetInstanceInfoSlot200Response extends HttpResponse { } /** Gets all scale-out instances of an app. */ -export interface WebAppsGetInstanceInfoSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceInfoSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7574,8 +7365,8 @@ export interface WebAppsGetInstanceMsDeployStatusSlot200Response extends HttpRes } /** Get the status of the last MSDeploy operation. */ -export interface WebAppsGetInstanceMsDeployStatusSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceMsDeployStatusSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7588,12 +7379,11 @@ export interface WebAppsCreateInstanceMSDeployOperationSlot201Response extends H /** Invoke the MSDeploy web app extension. */ export interface WebAppsCreateInstanceMSDeployOperationSlot409Response extends HttpResponse { status: "409"; - body: Record; } /** Invoke the MSDeploy web app extension. */ -export interface WebAppsCreateInstanceMSDeployOperationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateInstanceMSDeployOperationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7606,12 +7396,11 @@ export interface WebAppsGetInstanceMSDeployLogSlot200Response extends HttpRespon /** Get the MSDeploy Log for the last MSDeploy operation. */ export interface WebAppsGetInstanceMSDeployLogSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get the MSDeploy Log for the last MSDeploy operation. */ -export interface WebAppsGetInstanceMSDeployLogSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceMSDeployLogSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7624,12 +7413,11 @@ export interface WebAppsListInstanceProcessesSlot200Response extends HttpRespons /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcessesSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7642,30 +7430,27 @@ export interface WebAppsGetInstanceProcessSlot200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcessSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteInstanceProcessSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteInstanceProcessSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ -export interface WebAppsDeleteInstanceProcessSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteInstanceProcessSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7679,12 +7464,11 @@ export interface WebAppsGetInstanceProcessDumpSlot200Response extends HttpRespon /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcessDumpSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessDumpSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessDumpSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7697,12 +7481,11 @@ export interface WebAppsListInstanceProcessModulesSlot200Response extends HttpRe /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcessModulesSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessModulesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessModulesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7715,12 +7498,11 @@ export interface WebAppsGetInstanceProcessModuleSlot200Response extends HttpResp /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetInstanceProcessModuleSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetInstanceProcessModuleSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetInstanceProcessModuleSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7733,12 +7515,11 @@ export interface WebAppsListInstanceProcessThreadsSlot200Response extends HttpRe /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListInstanceProcessThreadsSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListInstanceProcessThreadsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListInstanceProcessThreadsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7749,8 +7530,8 @@ export interface WebAppsIsCloneableSlot200Response extends HttpResponse { } /** Shows whether an app can be cloned to another resource group or subscription. */ -export interface WebAppsIsCloneableSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsIsCloneableSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7761,8 +7542,8 @@ export interface WebAppsListSiteBackupsSlot200Response extends HttpResponse { } /** Gets existing backups of an app. */ -export interface WebAppsListSiteBackupsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSiteBackupsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7773,8 +7554,8 @@ export interface WebAppsListSyncFunctionTriggersSlot200Response extends HttpResp } /** This is to allow calling via powershell and ARM template. */ -export interface WebAppsListSyncFunctionTriggersSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSyncFunctionTriggersSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7785,8 +7566,8 @@ export interface WebAppsGetMigrateMySqlStatusSlot200Response extends HttpRespons } /** Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled */ -export interface WebAppsGetMigrateMySqlStatusSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetMigrateMySqlStatusSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7797,8 +7578,8 @@ export interface WebAppsGetSwiftVirtualNetworkConnectionSlot200Response extends } /** Gets a Swift Virtual Network connection. */ -export interface WebAppsGetSwiftVirtualNetworkConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSwiftVirtualNetworkConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7816,27 +7597,25 @@ export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. */ -export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse +export interface WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ export interface WebAppsDeleteSwiftVirtualNetworkSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ export interface WebAppsDeleteSwiftVirtualNetworkSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a Swift Virtual Network connection from an app (or deployment slot). */ -export interface WebAppsDeleteSwiftVirtualNetworkSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSwiftVirtualNetworkSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7854,9 +7633,9 @@ export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlot200Respo * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. */ -export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotdefaultResponse +export interface WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -7869,12 +7648,11 @@ export interface WebAppsListNetworkFeaturesSlot200Response extends HttpResponse /** Gets all network features used by the app (or deployment slot, if specified). */ export interface WebAppsListNetworkFeaturesSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets all network features used by the app (or deployment slot, if specified). */ -export interface WebAppsListNetworkFeaturesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListNetworkFeaturesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7891,8 +7669,8 @@ export interface WebAppsGetNetworkTraceOperationSlot202Response extends HttpResp } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTraceOperationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTraceOperationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7903,8 +7681,8 @@ export interface WebAppsStartWebSiteNetworkTraceSlot200Response extends HttpResp } /** Start capturing network packets for the site (To be deprecated). */ -export interface WebAppsStartWebSiteNetworkTraceSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartWebSiteNetworkTraceSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7921,26 +7699,24 @@ export interface WebAppsStartWebSiteNetworkTraceOperationSlot202Response extends } /** Start capturing network packets for the site. */ -export interface WebAppsStartWebSiteNetworkTraceOperationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartWebSiteNetworkTraceOperationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopWebSiteNetworkTraceSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopWebSiteNetworkTraceSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ -export interface WebAppsStopWebSiteNetworkTraceSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopWebSiteNetworkTraceSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7951,8 +7727,8 @@ export interface WebAppsGetNetworkTracesSlot200Response extends HttpResponse { } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTracesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTracesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7969,8 +7745,8 @@ export interface WebAppsGetNetworkTraceOperationSlotV2202Response extends HttpRe } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTraceOperationSlotV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTraceOperationSlotV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -7981,26 +7757,24 @@ export interface WebAppsGetNetworkTracesSlotV2200Response extends HttpResponse { } /** Gets a named operation for a network trace capturing (or deployment slot, if specified). */ -export interface WebAppsGetNetworkTracesSlotV2defaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetNetworkTracesSlotV2DefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ export interface WebAppsGenerateNewSitePublishingPasswordSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ export interface WebAppsGenerateNewSitePublishingPasswordSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Generates a new publishing password for an app (or deployment slot, if specified). */ -export interface WebAppsGenerateNewSitePublishingPasswordSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGenerateNewSitePublishingPasswordSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8011,8 +7785,8 @@ export interface WebAppsListPerfMonCountersSlot200Response extends HttpResponse } /** Gets perfmon counters for web app. */ -export interface WebAppsListPerfMonCountersSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPerfMonCountersSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8023,8 +7797,8 @@ export interface WebAppsGetSitePhpErrorLogFlagSlot200Response extends HttpRespon } /** Gets web app's event logs. */ -export interface WebAppsGetSitePhpErrorLogFlagSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSitePhpErrorLogFlagSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8035,8 +7809,8 @@ export interface WebAppsListPremierAddOnsSlot200Response extends HttpResponse { } /** Gets the premier add-ons of an app. */ -export interface WebAppsListPremierAddOnsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPremierAddOnsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8047,8 +7821,8 @@ export interface WebAppsGetPremierAddOnSlot200Response extends HttpResponse { } /** Gets a named add-on of an app. */ -export interface WebAppsGetPremierAddOnSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPremierAddOnSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8059,20 +7833,19 @@ export interface WebAppsAddPremierAddOnSlot200Response extends HttpResponse { } /** Updates a named add-on of an app. */ -export interface WebAppsAddPremierAddOnSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsAddPremierAddOnSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a premier add-on from an app. */ export interface WebAppsDeletePremierAddOnSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a premier add-on from an app. */ -export interface WebAppsDeletePremierAddOnSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePremierAddOnSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8083,8 +7856,8 @@ export interface WebAppsUpdatePremierAddOnSlot200Response extends HttpResponse { } /** Updates a named add-on of an app. */ -export interface WebAppsUpdatePremierAddOnSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdatePremierAddOnSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8095,8 +7868,8 @@ export interface WebAppsGetPrivateAccessSlot200Response extends HttpResponse { } /** Gets data around private site access enablement and authorized Virtual Networks that can access the site. */ -export interface WebAppsGetPrivateAccessSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateAccessSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8107,8 +7880,8 @@ export interface WebAppsPutPrivateAccessVnetSlot200Response extends HttpResponse } /** Sets data around private site access enablement and authorized Virtual Networks that can access the site. */ -export interface WebAppsPutPrivateAccessVnetSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsPutPrivateAccessVnetSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8119,8 +7892,8 @@ export interface WebAppsGetPrivateEndpointConnectionListSlot200Response extends } /** Gets the list of private endpoint connections associated with a site */ -export interface WebAppsGetPrivateEndpointConnectionListSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateEndpointConnectionListSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8131,8 +7904,8 @@ export interface WebAppsGetPrivateEndpointConnectionSlot200Response extends Http } /** Gets a private endpoint connection */ -export interface WebAppsGetPrivateEndpointConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8151,9 +7924,9 @@ export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlot202Response } /** Approves or rejects a private endpoint connection */ -export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotdefaultResponse +export interface WebAppsApproveOrRejectPrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -8176,8 +7949,8 @@ export interface WebAppsDeletePrivateEndpointConnectionSlot204Response extends H } /** Deletes a private endpoint connection */ -export interface WebAppsDeletePrivateEndpointConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePrivateEndpointConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8188,8 +7961,8 @@ export interface WebAppsGetPrivateLinkResourcesSlot200Response extends HttpRespo } /** Gets the private link resources */ -export interface WebAppsGetPrivateLinkResourcesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPrivateLinkResourcesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8202,12 +7975,11 @@ export interface WebAppsListProcessesSlot200Response extends HttpResponse { /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ export interface WebAppsListProcessesSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8220,30 +7992,27 @@ export interface WebAppsGetProcessSlot200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcessSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteProcessSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ export interface WebAppsDeleteProcessSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. */ -export interface WebAppsDeleteProcessSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteProcessSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8257,12 +8026,11 @@ export interface WebAppsGetProcessDumpSlot200Response extends HttpResponse { /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcessDumpSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessDumpSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessDumpSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8275,12 +8043,11 @@ export interface WebAppsListProcessModulesSlot200Response extends HttpResponse { /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListProcessModulesSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List module information for a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessModulesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessModulesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8293,12 +8060,11 @@ export interface WebAppsGetProcessModuleSlot200Response extends HttpResponse { /** Get process information by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsGetProcessModuleSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get process information by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsGetProcessModuleSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetProcessModuleSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8311,12 +8077,11 @@ export interface WebAppsListProcessThreadsSlot200Response extends HttpResponse { /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ export interface WebAppsListProcessThreadsSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List the threads in a process by its ID for a specific scaled-out instance in a web site. */ -export interface WebAppsListProcessThreadsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListProcessThreadsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8327,8 +8092,8 @@ export interface WebAppsListPublicCertificatesSlot200Response extends HttpRespon } /** Get public certificates for an app or a deployment slot. */ -export interface WebAppsListPublicCertificatesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListPublicCertificatesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8339,8 +8104,8 @@ export interface WebAppsGetPublicCertificateSlot200Response extends HttpResponse } /** Get the named public certificate for an app (or deployment slot, if specified). */ -export interface WebAppsGetPublicCertificateSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetPublicCertificateSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8351,26 +8116,24 @@ export interface WebAppsCreateOrUpdatePublicCertificateSlot200Response extends H } /** Creates a hostname binding for an app. */ -export interface WebAppsCreateOrUpdatePublicCertificateSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdatePublicCertificateSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeletePublicCertificateSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a hostname binding for an app. */ export interface WebAppsDeletePublicCertificateSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a hostname binding for an app. */ -export interface WebAppsDeletePublicCertificateSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeletePublicCertificateSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8382,87 +8145,79 @@ export interface WebAppsListPublishingProfileXmlWithSecretsSlot200Response exten } /** Gets the publishing profile for an app (or deployment slot, if specified). */ -export interface WebAppsListPublishingProfileXmlWithSecretsSlotdefaultResponse +export interface WebAppsListPublishingProfileXmlWithSecretsSlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ export interface WebAppsResetSlotConfigurationSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. */ -export interface WebAppsResetSlotConfigurationSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsResetSlotConfigurationSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restarts an app (or deployment slot, if specified). */ export interface WebAppsRestartSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts an app (or deployment slot, if specified). */ -export interface WebAppsRestartSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestartSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores an app from a backup blob in Azure Storage. */ export interface WebAppsRestoreFromBackupBlobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores an app from a backup blob in Azure Storage. */ export interface WebAppsRestoreFromBackupBlobSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores an app from a backup blob in Azure Storage. */ -export interface WebAppsRestoreFromBackupBlobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreFromBackupBlobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a deleted web app to this web app. */ export interface WebAppsRestoreFromDeletedAppSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a deleted web app to this web app. */ export interface WebAppsRestoreFromDeletedAppSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a deleted web app to this web app. */ -export interface WebAppsRestoreFromDeletedAppSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreFromDeletedAppSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Restores a web app from a snapshot. */ export interface WebAppsRestoreSnapshotSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Restores a web app from a snapshot. */ export interface WebAppsRestoreSnapshotSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Restores a web app from a snapshot. */ -export interface WebAppsRestoreSnapshotSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRestoreSnapshotSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8475,12 +8230,11 @@ export interface WebAppsListSiteExtensionsSlot200Response extends HttpResponse { /** Get list of siteextensions for a web site, or a deployment slot. */ export interface WebAppsListSiteExtensionsSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get list of siteextensions for a web site, or a deployment slot. */ -export interface WebAppsListSiteExtensionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSiteExtensionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8493,12 +8247,11 @@ export interface WebAppsGetSiteExtensionSlot200Response extends HttpResponse { /** Get site extension information by its ID for a web site, or a deployment slot. */ export interface WebAppsGetSiteExtensionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Get site extension information by its ID for a web site, or a deployment slot. */ -export interface WebAppsGetSiteExtensionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSiteExtensionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8517,30 +8270,27 @@ export interface WebAppsInstallSiteExtensionSlot201Response extends HttpResponse /** Install site extension on a web site, or a deployment slot. */ export interface WebAppsInstallSiteExtensionSlot429Response extends HttpResponse { status: "429"; - body: Record; } /** Install site extension on a web site, or a deployment slot. */ -export interface WebAppsInstallSiteExtensionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsInstallSiteExtensionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Remove a site extension from a web site, or a deployment slot. */ export interface WebAppsDeleteSiteExtensionSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Remove a site extension from a web site, or a deployment slot. */ export interface WebAppsDeleteSiteExtensionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Remove a site extension from a web site, or a deployment slot. */ -export interface WebAppsDeleteSiteExtensionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSiteExtensionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8551,26 +8301,24 @@ export interface WebAppsListSlotDifferencesSlot200Response extends HttpResponse } /** Get the difference in configuration settings between two web app slots. */ -export interface WebAppsListSlotDifferencesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSlotDifferencesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Swaps two deployment slots of an app. */ export interface WebAppsSwapSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Swaps two deployment slots of an app. */ export interface WebAppsSwapSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Swaps two deployment slots of an app. */ -export interface WebAppsSwapSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSwapSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8581,8 +8329,8 @@ export interface WebAppsListSnapshotsSlot200Response extends HttpResponse { } /** Returns all Snapshots to the user. */ -export interface WebAppsListSnapshotsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSnapshotsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8593,8 +8341,8 @@ export interface WebAppsListSnapshotsFromDRSecondarySlot200Response extends Http } /** Returns all Snapshots to the user from DRSecondary endpoint. */ -export interface WebAppsListSnapshotsFromDRSecondarySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSnapshotsFromDRSecondarySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8617,8 +8365,8 @@ export interface WebAppsGetSourceControlSlot202Response extends HttpResponse { } /** Gets the source control configuration of an app. */ -export interface WebAppsGetSourceControlSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSourceControlSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8641,32 +8389,29 @@ export interface WebAppsCreateOrUpdateSourceControlSlot202Response extends HttpR } /** Updates the source control configuration of an app. */ -export interface WebAppsCreateOrUpdateSourceControlSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateSourceControlSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControlSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControlSlot202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControlSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes the source control configuration of an app. */ -export interface WebAppsDeleteSourceControlSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSourceControlSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8689,20 +8434,19 @@ export interface WebAppsUpdateSourceControlSlot202Response extends HttpResponse } /** Updates the source control configuration of an app. */ -export interface WebAppsUpdateSourceControlSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSourceControlSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Starts an app (or deployment slot, if specified). */ export interface WebAppsStartSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts an app (or deployment slot, if specified). */ -export interface WebAppsStartSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8719,62 +8463,57 @@ export interface WebAppsStartNetworkTraceSlot202Response extends HttpResponse { } /** Start capturing network packets for the site. */ -export interface WebAppsStartNetworkTraceSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartNetworkTraceSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stops an app (or deployment slot, if specified). */ export interface WebAppsStopSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Stops an app (or deployment slot, if specified). */ -export interface WebAppsStopSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopNetworkTraceSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopNetworkTraceSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ -export interface WebAppsStopNetworkTraceSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopNetworkTraceSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Sync web app repository. */ export interface WebAppsSyncRepositorySlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Sync web app repository. */ -export interface WebAppsSyncRepositorySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncRepositorySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Syncs function trigger metadata to the management database */ export interface WebAppsSyncFunctionTriggersSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Syncs function trigger metadata to the management database */ -export interface WebAppsSyncFunctionTriggersSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncFunctionTriggersSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8785,8 +8524,8 @@ export interface WebAppsListTriggeredWebJobsSlot200Response extends HttpResponse } /** List triggered web jobs for an app, or a deployment slot. */ -export interface WebAppsListTriggeredWebJobsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListTriggeredWebJobsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8799,30 +8538,27 @@ export interface WebAppsGetTriggeredWebJobSlot200Response extends HttpResponse { /** Gets a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsGetTriggeredWebJobSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a triggered web job by its ID for an app, or a deployment slot. */ -export interface WebAppsGetTriggeredWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetTriggeredWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteTriggeredWebJobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteTriggeredWebJobSlot204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteTriggeredWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteTriggeredWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8835,12 +8571,11 @@ export interface WebAppsListTriggeredWebJobHistorySlot200Response extends HttpRe /** List a triggered web job's history for an app, or a deployment slot. */ export interface WebAppsListTriggeredWebJobHistorySlot404Response extends HttpResponse { status: "404"; - body: Record; } /** List a triggered web job's history for an app, or a deployment slot. */ -export interface WebAppsListTriggeredWebJobHistorySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListTriggeredWebJobHistorySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8853,30 +8588,27 @@ export interface WebAppsGetTriggeredWebJobHistorySlot200Response extends HttpRes /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ export interface WebAppsGetTriggeredWebJobHistorySlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ -export interface WebAppsGetTriggeredWebJobHistorySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetTriggeredWebJobHistorySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Run a triggered web job for an app, or a deployment slot. */ export interface WebAppsRunTriggeredWebJobSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Run a triggered web job for an app, or a deployment slot. */ export interface WebAppsRunTriggeredWebJobSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Run a triggered web job for an app, or a deployment slot. */ -export interface WebAppsRunTriggeredWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRunTriggeredWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8887,8 +8619,8 @@ export interface WebAppsListUsagesSlot200Response extends HttpResponse { } /** Gets the quota usage information of an app (or deployment slot, if specified). */ -export interface WebAppsListUsagesSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListUsagesSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8899,8 +8631,8 @@ export interface WebAppsListVnetConnectionsSlot200Response extends HttpResponse } /** Gets the virtual networks the app (or deployment slot) is connected to. */ -export interface WebAppsListVnetConnectionsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListVnetConnectionsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8911,8 +8643,8 @@ export interface WebAppsGetVnetConnectionSlot200Response extends HttpResponse { } /** Gets a virtual network the app (or deployment slot) is connected to by name. */ -export interface WebAppsGetVnetConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetVnetConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8923,26 +8655,24 @@ export interface WebAppsCreateOrUpdateVnetConnectionSlot200Response extends Http } /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ -export interface WebAppsCreateOrUpdateVnetConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateVnetConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ export interface WebAppsDeleteVnetConnectionSlot200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ export interface WebAppsDeleteVnetConnectionSlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ -export interface WebAppsDeleteVnetConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteVnetConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8953,8 +8683,8 @@ export interface WebAppsUpdateVnetConnectionSlot200Response extends HttpResponse } /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ -export interface WebAppsUpdateVnetConnectionSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateVnetConnectionSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8967,12 +8697,11 @@ export interface WebAppsGetVnetConnectionGatewaySlot200Response extends HttpResp /** Gets an app's Virtual Network gateway. */ export interface WebAppsGetVnetConnectionGatewaySlot404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets an app's Virtual Network gateway. */ -export interface WebAppsGetVnetConnectionGatewaySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -8983,9 +8712,9 @@ export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlot200Response exten } /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ -export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotdefaultResponse +export interface WebAppsCreateOrUpdateVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { - status: "500"; + status: string; body: DefaultErrorResponseOutput; } @@ -8996,8 +8725,8 @@ export interface WebAppsUpdateVnetConnectionGatewaySlot200Response extends HttpR } /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ -export interface WebAppsUpdateVnetConnectionGatewaySlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateVnetConnectionGatewaySlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9008,8 +8737,8 @@ export interface WebAppsListWebJobsSlot200Response extends HttpResponse { } /** List webjobs for an app, or a deployment slot. */ -export interface WebAppsListWebJobsSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListWebJobsSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9020,8 +8749,8 @@ export interface WebAppsGetWebJobSlot200Response extends HttpResponse { } /** Get webjob information for an app, or a deployment slot. */ -export interface WebAppsGetWebJobSlotdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetWebJobSlotDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9032,26 +8761,24 @@ export interface WebAppsListSlotDifferencesFromProduction200Response extends Htt } /** Get the difference in configuration settings between two web app slots. */ -export interface WebAppsListSlotDifferencesFromProductiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSlotDifferencesFromProductionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Swaps two deployment slots of an app. */ export interface WebAppsSwapSlotWithProduction200Response extends HttpResponse { status: "200"; - body: Record; } /** Swaps two deployment slots of an app. */ export interface WebAppsSwapSlotWithProduction202Response extends HttpResponse { status: "202"; - body: Record; } /** Swaps two deployment slots of an app. */ -export interface WebAppsSwapSlotWithProductiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSwapSlotWithProductionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9062,8 +8789,8 @@ export interface WebAppsListSnapshots200Response extends HttpResponse { } /** Returns all Snapshots to the user. */ -export interface WebAppsListSnapshotsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSnapshotsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9074,8 +8801,8 @@ export interface WebAppsListSnapshotsFromDRSecondary200Response extends HttpResp } /** Returns all Snapshots to the user from DRSecondary endpoint. */ -export interface WebAppsListSnapshotsFromDRSecondarydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListSnapshotsFromDRSecondaryDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9098,8 +8825,8 @@ export interface WebAppsGetSourceControl202Response extends HttpResponse { } /** Gets the source control configuration of an app. */ -export interface WebAppsGetSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9122,32 +8849,29 @@ export interface WebAppsCreateOrUpdateSourceControl202Response extends HttpRespo } /** Updates the source control configuration of an app. */ -export interface WebAppsCreateOrUpdateSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControl200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControl202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes the source control configuration of an app. */ export interface WebAppsDeleteSourceControl404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes the source control configuration of an app. */ -export interface WebAppsDeleteSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9170,20 +8894,19 @@ export interface WebAppsUpdateSourceControl202Response extends HttpResponse { } /** Updates the source control configuration of an app. */ -export interface WebAppsUpdateSourceControldefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateSourceControlDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Starts an app (or deployment slot, if specified). */ export interface WebAppsStart200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts an app (or deployment slot, if specified). */ -export interface WebAppsStartdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9200,62 +8923,57 @@ export interface WebAppsStartNetworkTrace202Response extends HttpResponse { } /** Start capturing network packets for the site. */ -export interface WebAppsStartNetworkTracedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStartNetworkTraceDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stops an app (or deployment slot, if specified). */ export interface WebAppsStop200Response extends HttpResponse { status: "200"; - body: Record; } /** Stops an app (or deployment slot, if specified). */ -export interface WebAppsStopdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopNetworkTrace200Response extends HttpResponse { status: "200"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ export interface WebAppsStopNetworkTrace204Response extends HttpResponse { status: "204"; - body: Record; } /** Stop ongoing capturing network packets for the site. */ -export interface WebAppsStopNetworkTracedefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsStopNetworkTraceDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Sync web app repository. */ export interface WebAppsSyncRepository200Response extends HttpResponse { status: "200"; - body: Record; } /** Sync web app repository. */ -export interface WebAppsSyncRepositorydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncRepositoryDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Syncs function trigger metadata to the management database */ export interface WebAppsSyncFunctionTriggers204Response extends HttpResponse { status: "204"; - body: Record; } /** Syncs function trigger metadata to the management database */ -export interface WebAppsSyncFunctionTriggersdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsSyncFunctionTriggersDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9266,8 +8984,8 @@ export interface WebAppsListTriggeredWebJobs200Response extends HttpResponse { } /** List triggered web jobs for an app, or a deployment slot. */ -export interface WebAppsListTriggeredWebJobsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListTriggeredWebJobsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9280,30 +8998,27 @@ export interface WebAppsGetTriggeredWebJob200Response extends HttpResponse { /** Gets a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsGetTriggeredWebJob404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a triggered web job by its ID for an app, or a deployment slot. */ -export interface WebAppsGetTriggeredWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetTriggeredWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteTriggeredWebJob200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ export interface WebAppsDeleteTriggeredWebJob204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a triggered web job by its ID for an app, or a deployment slot. */ -export interface WebAppsDeleteTriggeredWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteTriggeredWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9316,12 +9031,11 @@ export interface WebAppsListTriggeredWebJobHistory200Response extends HttpRespon /** List a triggered web job's history for an app, or a deployment slot. */ export interface WebAppsListTriggeredWebJobHistory404Response extends HttpResponse { status: "404"; - body: Record; } /** List a triggered web job's history for an app, or a deployment slot. */ -export interface WebAppsListTriggeredWebJobHistorydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListTriggeredWebJobHistoryDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9334,30 +9048,27 @@ export interface WebAppsGetTriggeredWebJobHistory200Response extends HttpRespons /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ export interface WebAppsGetTriggeredWebJobHistory404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets a triggered web job's history by its ID for an app, , or a deployment slot. */ -export interface WebAppsGetTriggeredWebJobHistorydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetTriggeredWebJobHistoryDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Run a triggered web job for an app, or a deployment slot. */ export interface WebAppsRunTriggeredWebJob200Response extends HttpResponse { status: "200"; - body: Record; } /** Run a triggered web job for an app, or a deployment slot. */ export interface WebAppsRunTriggeredWebJob404Response extends HttpResponse { status: "404"; - body: Record; } /** Run a triggered web job for an app, or a deployment slot. */ -export interface WebAppsRunTriggeredWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsRunTriggeredWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9368,8 +9079,8 @@ export interface WebAppsListUsages200Response extends HttpResponse { } /** Gets the quota usage information of an app (or deployment slot, if specified). */ -export interface WebAppsListUsagesdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListUsagesDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9380,8 +9091,8 @@ export interface WebAppsListVnetConnections200Response extends HttpResponse { } /** Gets the virtual networks the app (or deployment slot) is connected to. */ -export interface WebAppsListVnetConnectionsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListVnetConnectionsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9392,8 +9103,8 @@ export interface WebAppsGetVnetConnection200Response extends HttpResponse { } /** Gets a virtual network the app (or deployment slot) is connected to by name. */ -export interface WebAppsGetVnetConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetVnetConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9404,26 +9115,24 @@ export interface WebAppsCreateOrUpdateVnetConnection200Response extends HttpResp } /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ -export interface WebAppsCreateOrUpdateVnetConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateVnetConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ export interface WebAppsDeleteVnetConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ export interface WebAppsDeleteVnetConnection404Response extends HttpResponse { status: "404"; - body: Record; } /** Deletes a connection from an app (or deployment slot to a named virtual network. */ -export interface WebAppsDeleteVnetConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsDeleteVnetConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9434,8 +9143,8 @@ export interface WebAppsUpdateVnetConnection200Response extends HttpResponse { } /** Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). */ -export interface WebAppsUpdateVnetConnectiondefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateVnetConnectionDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9448,12 +9157,11 @@ export interface WebAppsGetVnetConnectionGateway200Response extends HttpResponse /** Gets an app's Virtual Network gateway. */ export interface WebAppsGetVnetConnectionGateway404Response extends HttpResponse { status: "404"; - body: Record; } /** Gets an app's Virtual Network gateway. */ -export interface WebAppsGetVnetConnectionGatewaydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetVnetConnectionGatewayDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9464,8 +9172,8 @@ export interface WebAppsCreateOrUpdateVnetConnectionGateway200Response extends H } /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ -export interface WebAppsCreateOrUpdateVnetConnectionGatewaydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsCreateOrUpdateVnetConnectionGatewayDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9476,8 +9184,8 @@ export interface WebAppsUpdateVnetConnectionGateway200Response extends HttpRespo } /** Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). */ -export interface WebAppsUpdateVnetConnectionGatewaydefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsUpdateVnetConnectionGatewayDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9488,8 +9196,8 @@ export interface WebAppsListWebJobs200Response extends HttpResponse { } /** List webjobs for an app, or a deployment slot. */ -export interface WebAppsListWebJobsdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsListWebJobsDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } @@ -9500,7 +9208,7 @@ export interface WebAppsGetWebJob200Response extends HttpResponse { } /** Get webjob information for an app, or a deployment slot. */ -export interface WebAppsGetWebJobdefaultResponse extends HttpResponse { - status: "500"; +export interface WebAppsGetWebJobDefaultResponse extends HttpResponse { + status: string; body: DefaultErrorResponseOutput; } diff --git a/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts index 96a148405690..597517ff44b8 100644 --- a/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice-rest/src/webSiteManagementClient.ts @@ -3,23 +3,27 @@ import type { ClientOptions } from "@azure-rest/core-client"; import { getClient } from "@azure-rest/core-client"; +import { logger } from "./logger.js"; import type { TokenCredential } from "@azure/core-auth"; -import type { WebSiteManagementClient } from "./clientDefinitions"; +import type { WebSiteManagementClient } from "./clientDefinitions.js"; +/** The optional parameters for the client */ +export interface WebSiteManagementClientOptions extends ClientOptions { + /** The api version option of the client */ + apiVersion?: string; +} + +/** + * Initialize a new instance of `WebSiteManagementClient` + * @param credentials - uniquely identify client credential + * @param options - the parameter for all optional parameters + */ export default function createClient( credentials: TokenCredential, - options: ClientOptions = {}, + { apiVersion = "2021-03-01", ...options }: WebSiteManagementClientOptions = {}, ): WebSiteManagementClient { - const baseUrl = options.baseUrl ?? "https://management.azure.com"; - options.apiVersion = options.apiVersion ?? "2021-03-01"; - options = { - ...options, - credentials: { - scopes: ["https://management.azure.com/.default"], - }, - }; - - const userAgentInfo = `azsdk-js-arm-appservice-rest/1.0.0-beta.1`; + const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const userAgentInfo = `azsdk-js-arm-appservice-rest/1.0.0-beta.3`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` @@ -29,9 +33,31 @@ export default function createClient( userAgentOptions: { userAgentPrefix, }, + loggingOptions: { + logger: options.loggingOptions?.logger ?? logger.info, + }, + credentials: { + scopes: options.credentials?.scopes ?? ["user_impersonation"], + }, }; + const client = getClient(endpointUrl, credentials, options) as WebSiteManagementClient; + + client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); + client.pipeline.addPolicy({ + name: "ClientApiVersionPolicy", + sendRequest: (req, next) => { + // Use the apiVersion defined in request url directly + // Append one if there is no apiVersion and we have one at client options + const url = new URL(req.url); + if (!url.searchParams.get("api-version") && apiVersion) { + req.url = `${req.url}${ + Array.from(url.searchParams.keys()).length > 0 ? "&" : "?" + }api-version=${apiVersion}`; + } - const client = getClient(baseUrl, credentials, options) as WebSiteManagementClient; + return next(req); + }, + }); return client; } diff --git a/sdk/appservice/arm-appservice-rest/swagger/README.md b/sdk/appservice/arm-appservice-rest/swagger/README.md index c660a4d0ee49..3c917d1bd5da 100644 --- a/sdk/appservice/arm-appservice-rest/swagger/README.md +++ b/sdk/appservice/arm-appservice-rest/swagger/README.md @@ -5,6 +5,8 @@ ## Configuration ```yaml +flavor: azure +openapi-type: arm package-name: "@azure-rest/arm-appservice" title: WebSiteManagementClient description: App Service Client @@ -20,5 +22,5 @@ rest-level-client: true add-credentials: true credential-scopes: "https://management.azure.com/.default" use-extension: - "@autorest/typescript": "6.0.0-beta.20" + "@autorest/typescript": "latest" ``` diff --git a/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts b/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts index 5ad733e7ffae..33d3af2ce9c9 100644 --- a/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts +++ b/sdk/appservice/arm-appservice-rest/test/public/appservice-rest.spec.ts @@ -3,11 +3,10 @@ import type { Recorder } from "@azure-tools/test-recorder"; import { isPlaybackMode, env } from "@azure-tools/test-recorder"; -import { assert } from "chai"; -import { createRecorder, createClient } from "./utils/recordedClient"; -import type { Context } from "mocha"; -import type { WebSiteManagementClient } from "../../src/index"; -import { paginate, getLongRunningPoller } from "../../src/index"; +import { createRecorder, createClient } from "./utils/recordedClient.js"; +import type { WebSiteManagementClient } from "../../src/index.js"; +import { paginate, getLongRunningPoller } from "../../src/index.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; export const testPollingOptions = { intervalInMs: isPlaybackMode() ? 0 : undefined, @@ -21,8 +20,8 @@ describe("Web test", () => { let appservicePlanName: string; let name: string; - beforeEach(async function (this: Context) { - recorder = await createRecorder(this); + beforeEach(async function (ctx) { + recorder = await createRecorder(ctx); client = await createClient(recorder); subscriptionId = env.SUBSCRIPTION_ID ?? ""; resourceGroup = env.RESOURCE_GROUP ?? ""; @@ -56,7 +55,7 @@ describe("Web test", () => { }, }, }); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const res = await poller.pollUntilDone(); assert.strictEqual(res.status, "200"); assert.isTrue(res.body !== undefined); @@ -97,7 +96,7 @@ describe("Web test", () => { }, }, }); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const res = await poller.pollUntilDone(); assert.strictEqual(res.status, "200"); assert.isTrue(res.body !== undefined); diff --git a/sdk/appservice/arm-appservice-rest/test/public/sampleTest.spec.ts b/sdk/appservice/arm-appservice-rest/test/public/sampleTest.spec.ts deleted file mode 100644 index 707dd944309e..000000000000 --- a/sdk/appservice/arm-appservice-rest/test/public/sampleTest.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import type { Recorder } from "@azure-tools/test-recorder"; -import { assert } from "chai"; -import { createRecorder } from "./utils/recordedClient"; -import type { Context } from "mocha"; - -describe("My test", () => { - let recorder: Recorder; - - beforeEach(async function (this: Context) { - recorder = await createRecorder(this); - }); - - afterEach(async function () { - await recorder.stop(); - }); - - it("sample test", async function () { - assert.equal(1, 1); - }); -}); diff --git a/sdk/appservice/arm-appservice-rest/test/public/utils/env.browser.ts b/sdk/appservice/arm-appservice-rest/test/public/utils/env.browser.ts deleted file mode 100644 index fc36ab244fad..000000000000 --- a/sdk/appservice/arm-appservice-rest/test/public/utils/env.browser.ts +++ /dev/null @@ -1,2 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. diff --git a/sdk/appservice/arm-appservice-rest/test/public/utils/env.ts b/sdk/appservice/arm-appservice-rest/test/public/utils/env.ts deleted file mode 100644 index 866412f4082d..000000000000 --- a/sdk/appservice/arm-appservice-rest/test/public/utils/env.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import * as dotenv from "dotenv"; - -dotenv.config(); diff --git a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts index 31a90eb757e5..364347b24a5c 100644 --- a/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/appservice/arm-appservice-rest/test/public/utils/recordedClient.ts @@ -1,15 +1,13 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - -import type { Context } from "mocha"; -import type { RecorderStartOptions } from "@azure-tools/test-recorder"; +import type { RecorderStartOptions, TestInfo } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { ClientOptions } from "@azure-rest/core-client"; import { createTestCredential } from "@azure-tools/test-credential"; -import type { WebSiteManagementClient } from "../../../src/index"; -import WebSiteClient from "../../../src/index"; +import type { WebSiteManagementClient } from "../../../src/index.js"; +import WebSiteClient from "../../../src/index.js"; -const envSetupForPlayback: { [k: string]: string } = { +const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", AZURE_CLIENT_ID: "azure_client_id", AZURE_CLIENT_SECRET: "azure_client_secret", @@ -20,6 +18,10 @@ const envSetupForPlayback: { [k: string]: string } = { const recorderEnvSetup: RecorderStartOptions = { envSetupForPlayback, + removeCentralSanitizers: [ + "AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section + "AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section + ], }; /** @@ -27,8 +29,9 @@ const recorderEnvSetup: RecorderStartOptions = { * Should be called first in the test suite to make sure environment variables are * read before they are being used. */ -export async function createRecorder(context: Context): Promise { - const recorder = new Recorder(context.currentTest); + +export async function createRecorder(context: TestInfo): Promise { + const recorder = new Recorder(context); await recorder.start(recorderEnvSetup); return recorder; } diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json b/sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json new file mode 100644 index 000000000000..f772e6eb3b76 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/tsconfig.browser.config.json @@ -0,0 +1,10 @@ +{ + "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 + } +} diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.json b/sdk/appservice/arm-appservice-rest/tsconfig.json index 50df5d003143..19ceb382b521 100644 --- a/sdk/appservice/arm-appservice-rest/tsconfig.json +++ b/sdk/appservice/arm-appservice-rest/tsconfig.json @@ -1,11 +1,13 @@ { - "extends": "../../../tsconfig", - "compilerOptions": { - "outDir": "./dist-esm", - "declarationDir": "./types", - "paths": { - "@azure-rest/arm-appservice": ["./src/index"] + "references": [ + { + "path": "./tsconfig.src.json" + }, + { + "path": "./tsconfig.samples.json" + }, + { + "path": "./tsconfig.test.json" } - }, - "include": ["src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] + ] } diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.samples.json b/sdk/appservice/arm-appservice-rest/tsconfig.samples.json new file mode 100644 index 000000000000..f20b1dc948c6 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/tsconfig.samples.json @@ -0,0 +1,8 @@ +{ + "extends": "../../../tsconfig.samples.base.json", + "compilerOptions": { + "paths": { + "@azure-rest/arm-appservice": ["./dist/esm"] + } + } +} diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.src.json b/sdk/appservice/arm-appservice-rest/tsconfig.src.json new file mode 100644 index 000000000000..bae70752dd38 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/tsconfig.src.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.lib.json" +} diff --git a/sdk/appservice/arm-appservice-rest/tsconfig.test.json b/sdk/appservice/arm-appservice-rest/tsconfig.test.json new file mode 100644 index 000000000000..290ca214aebc --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/tsconfig.test.json @@ -0,0 +1,3 @@ +{ + "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] +} diff --git a/sdk/appservice/arm-appservice-rest/vitest.browser.config.ts b/sdk/appservice/arm-appservice-rest/vitest.browser.config.ts new file mode 100644 index 000000000000..b48c61b2ef46 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/vitest.browser.config.ts @@ -0,0 +1,17 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.browser.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + include: [ + "dist-test/browser/test/**/*.spec.js", + ], + }, + }), +); diff --git a/sdk/appservice/arm-appservice-rest/vitest.config.ts b/sdk/appservice/arm-appservice-rest/vitest.config.ts new file mode 100644 index 000000000000..2a4750c84292 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/vitest.config.ts @@ -0,0 +1,15 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + hookTimeout: 1200000, + testTimeout: 1200000, + }, + }), +); diff --git a/sdk/appservice/arm-appservice-rest/vitest.esm.config.ts b/sdk/appservice/arm-appservice-rest/vitest.esm.config.ts new file mode 100644 index 000000000000..a70127279fc9 --- /dev/null +++ b/sdk/appservice/arm-appservice-rest/vitest.esm.config.ts @@ -0,0 +1,12 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { mergeConfig } from "vitest/config"; +import vitestConfig from "./vitest.config.ts"; +import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; + +export default mergeConfig( + vitestConfig, + vitestEsmConfig +); diff --git a/sdk/appservice/arm-appservice/assets.json b/sdk/appservice/arm-appservice/assets.json index c4d645385cd4..34117a35e904 100644 --- a/sdk/appservice/arm-appservice/assets.json +++ b/sdk/appservice/arm-appservice/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "js", "TagPrefix": "js/appservice/arm-appservice", - "Tag": "js/appservice/arm-appservice_cad9890906" + "Tag": "js/appservice/arm-appservice_efd7865a52" } diff --git a/sdk/appservice/arm-appservice/package.json b/sdk/appservice/arm-appservice/package.json index 2686d02a1764..84d3a5ba07b4 100644 --- a/sdk/appservice/arm-appservice/package.json +++ b/sdk/appservice/arm-appservice/package.json @@ -78,7 +78,7 @@ "test:browser": "echo skipped", "test:node": "echo skipped", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "unit-test:browser": "echo skipped", "unit-test:node": "dev-tool run test:vitest", "update-snippets": "echo skipped" }, diff --git a/sdk/appservice/arm-appservice/test/web_examples.spec.ts b/sdk/appservice/arm-appservice/test/web_examples.spec.ts index a60d976b1837..56d5544aa912 100644 --- a/sdk/appservice/arm-appservice/test/web_examples.spec.ts +++ b/sdk/appservice/arm-appservice/test/web_examples.spec.ts @@ -58,9 +58,17 @@ describe("Web test", () => { await recorder.stop(); }); - it("appServicePlans create test", async function () { + it("operation list test", async function () { + const resArray = new Array(); + for await (let item of client.provider.listOperations()) { + resArray.push(item); + } + assert.notEqual(resArray.length, 0); + }); + + it.skip("appServicePlans create test", async function () { const res = await client.appServicePlans.beginCreateOrUpdateAndWait(resourceGroup, appservicePlanName, { - location: "eastus", + location, sku: { name: "S1", tier: "STANDARD", @@ -72,9 +80,9 @@ describe("Web test", () => { assert.equal(res.name, appservicePlanName); }); - it("webApps create test", async function () { + it.skip("webApps create test", async function () { const res = await client.webApps.beginCreateOrUpdateAndWait(resourceGroup, name, { - location: "eastus", + location, serverFarmId: "/subscriptions/" + subscriptionId + @@ -99,17 +107,17 @@ describe("Web test", () => { assert.equal(res.name, name); }); - it("appServicePlans get test", async function () { + it.skip("appServicePlans get test", async function () { const res = await client.appServicePlans.get(resourceGroup, appservicePlanName); assert.equal(res.name, appservicePlanName); }); - it("webApps get test", async function () { + it.skip("webApps get test", async function () { const res = await client.webApps.get(resourceGroup, name); assert.equal(res.name, name); }); - it("appServicePlans list test", async function () { + it.skip("appServicePlans list test", async function () { const resArray = new Array(); for await (let item of client.appServicePlans.listByResourceGroup(resourceGroup)) { resArray.push(item); @@ -117,7 +125,7 @@ describe("Web test", () => { assert.equal(resArray.length, 1); }); - it("webApps list test", async function () { + it.skip("webApps list test", async function () { const resArray = new Array(); for await (let item of client.webApps.listByResourceGroup(resourceGroup)) { resArray.push(item); @@ -125,7 +133,7 @@ describe("Web test", () => { assert.equal(resArray.length, 1); }); - it("webApps update test", async function () { + it.skip("webApps update test", async function () { const res = await client.webApps.update(resourceGroup, name, { serverFarmId: "/subscriptions/" + subscriptionId + "/resourceGroups/myjstest/providers/Microsoft.Web/serverfarms/myappserviceplanxxx", reserved: false, @@ -141,7 +149,8 @@ describe("Web test", () => { assert.equal(res.name, name); }); - it("webApps delete test", async function () { + it.skip("webApps delete test", async function () { + await client.webApps.delete(resourceGroup, name); const resArray = new Array(); for await (let item of client.webApps.listByResourceGroup(resourceGroup)) { resArray.push(item); @@ -149,7 +158,8 @@ describe("Web test", () => { assert.equal(resArray.length, 0); }); - it("appServicePlans delete test", async function () { + it.skip("appServicePlans delete test", async function () { + await client.appServicePlans.delete(resourceGroup, appservicePlanName); const resArray = new Array(); for await (let item of client.appServicePlans.listByResourceGroup(resourceGroup)) { resArray.push(item); diff --git a/sdk/compute/arm-compute-rest/CHANGELOG.md b/sdk/compute/arm-compute-rest/CHANGELOG.md index eeefaaa5f799..a0435b29eea1 100644 --- a/sdk/compute/arm-compute-rest/CHANGELOG.md +++ b/sdk/compute/arm-compute-rest/CHANGELOG.md @@ -1,15 +1,11 @@ -## Release History +# Release History -### 1.0.0-beta.2 (Unreleased) +## 1.0.0-beta.2 (2024-12-23) -#### Features Added +### Features Added -#### Breaking Changes +- Refresh sdk with latest codegen -#### Bugs Fixed - -#### Other Changes - -### 1.0.0-beta.1 (2021-09-22) +## 1.0.0-beta.1 (2021-09-22) - First release of package, see README.md for details. diff --git a/sdk/compute/arm-compute-rest/api-extractor.json b/sdk/compute/arm-compute-rest/api-extractor.json index 1ede62cdb133..4b2f21ee926a 100644 --- a/sdk/compute/arm-compute-rest/api-extractor.json +++ b/sdk/compute/arm-compute-rest/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./types/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "mainEntryPointFilePath": "dist/esm/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/arm-compute.d.ts" + "publicTrimmedFilePath": "dist/arm-compute.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } } diff --git a/sdk/compute/arm-compute-rest/karma.conf.js b/sdk/compute/arm-compute-rest/karma.conf.js deleted file mode 100644 index 782c9d1621b0..000000000000 --- a/sdk/compute/arm-compute-rest/karma.conf.js +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -// https://github.com/karma-runner/karma-chrome-launcher -process.env.CHROME_BIN = require("puppeteer").executablePath(); -require("dotenv").config(); -const { relativeRecordingsPath } = require("@azure-tools/test-recorder"); -process.env.RECORDINGS_RELATIVE_PATH = relativeRecordingsPath(); - -module.exports = function (config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: "./", - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ["source-map-support", "mocha"], - - plugins: [ - "karma-mocha", - "karma-mocha-reporter", - "karma-chrome-launcher", - "karma-firefox-launcher", - "karma-env-preprocessor", - "karma-coverage", - "karma-sourcemap-loader", - "karma-junit-reporter", - "karma-source-map-support", - ], - - // list of files / patterns to load in the browser - files: [ - "dist-test/index.browser.js", - { - pattern: "dist-test/index.browser.js.map", - type: "html", - included: false, - served: true, - }, - ], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - "**/*.js": ["sourcemap", "env"], - // IMPORTANT: COMMENT following line if you want to debug in your browsers!! - // Preprocess source file to calculate code coverage, however this will make source file unreadable - // "dist-test/index.js": ["coverage"] - }, - - envPreprocessor: [ - "RECORDINGS_RELATIVE_PATH", - "TEST_MODE", - "ENDPOINT", - "AZURE_CLIENT_SECRET", - "AZURE_CLIENT_ID", - "AZURE_TENANT_ID", - "SUBSCRIPTION_ID", - ], - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ["mocha", "coverage", "junit"], - - coverageReporter: { - // specify a common output directory - dir: "coverage-browser/", - reporters: [ - { type: "json", subdir: ".", file: "coverage.json" }, - { type: "lcovonly", subdir: ".", file: "lcov.info" }, - { type: "html", subdir: "html" }, - { type: "cobertura", subdir: ".", file: "cobertura-coverage.xml" }, - ], - }, - - junitReporter: { - outputDir: "", // results will be saved as $outputDir/$browserName.xml - outputFile: "test-results.browser.xml", // if included, results will be saved as $outputDir/$browserName/$outputFile - suite: "", // suite will become the package name attribute in xml testsuite element - useBrowserName: false, // add browser name to report and classes names - nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element - classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element - properties: {}, // key value pair of properties to add to the section of the report - }, - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // --no-sandbox allows our tests to run in Linux without having to change the system. - // --disable-web-security allows us to authenticate from the browser without having to write tests using interactive auth, which would be far more complex. - browsers: ["ChromeHeadlessNoSandbox"], - customLaunchers: { - ChromeHeadlessNoSandbox: { - base: "ChromeHeadless", - flags: ["--no-sandbox", "--disable-web-security"], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: 1, - - browserNoActivityTimeout: 60000000, - browserDisconnectTimeout: 10000, - browserDisconnectTolerance: 3, - - client: { - mocha: { - // change Karma's debug.html to the mocha web reporter - reporter: "html", - timeout: "600000", - }, - }, - }); -}; diff --git a/sdk/compute/arm-compute-rest/package.json b/sdk/compute/arm-compute-rest/package.json index 1f7875e23044..33ca99e63de6 100644 --- a/sdk/compute/arm-compute-rest/package.json +++ b/sdk/compute/arm-compute-rest/package.json @@ -13,31 +13,30 @@ "isomorphic" ], "license": "MIT", - "main": "dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-compute.d.ts", + "main": "./dist/commonjs/index.js", + "module": "./dist/esm/index.js", + "types": "./dist/commonjs/index.d.ts", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/", - "dist-esm/src/", - "types/arm-compute.d.ts", "README.md", "LICENSE", - "review/*" + "review/*", + "CHANGELOG.md" ], "engines": { "node": ">=18.0.0" }, "scripts": { - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", - "build:browser": "tsc -p . && dev-tool run bundle", - "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:node": "tsc -p . && dev-tool run bundle --browser-test false", + "build": "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build:browser": "dev-tool run build-package && dev-tool run bundle", + "build:debug": "dev-tool run build-package && dev-tool run bundle && dev-tool run extract-api", + "build:node": "dev-tool run build-package && dev-tool run bundle --browser-test false", "build:samples": "echo skipped.", - "build:test": "tsc -p . && dev-tool run bundle", + "build:test": "dev-tool run build-package && dev-tool run bundle", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "dev-tool samples run samples-dev", @@ -54,50 +53,38 @@ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "unit-test": "dev-tool run vendored cross-env TEST_MODE=playback && npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "dev-tool run test:browser", - "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'", + "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "unit-test:node": "dev-tool run test:vitest", "update-snippets": "echo skipped" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure-rest/core-client": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^2.2.0", - "@azure/core-paging": "^1.2.0", + "@azure/core-lro": "^3.1.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { - "@azure-tools/test-credential": "^1.0.0", - "@azure-tools/test-recorder": "^3.0.0", + "@azure-tools/test-credential": "^2.0.0", + "@azure-tools/test-recorder": "^4.1.0", + "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/arm-network": "^32.2.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", - "@types/chai": "^4.2.8", - "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-istanbul": "^2.1.8", "autorest": "latest", - "chai": "^4.2.0", "dotenv": "^16.0.0", "eslint": "^9.9.0", - "karma": "^6.2.0", - "karma-chrome-launcher": "^3.0.0", - "karma-coverage": "^2.0.0", - "karma-env-preprocessor": "^0.1.1", - "karma-firefox-launcher": "^2.1.3", - "karma-junit-reporter": "^2.0.1", - "karma-mocha": "^2.0.1", - "karma-mocha-reporter": "^2.2.5", - "karma-source-map-support": "~1.4.0", - "karma-sourcemap-loader": "^0.3.8", - "mocha": "^11.0.2", - "nyc": "^17.0.0", - "source-map-support": "^0.5.9", - "ts-node": "^10.0.0", - "typescript": "~5.7.2" + "playwright": "^1.49.1", + "typescript": "~5.7.2", + "vitest": "^2.1.8" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute-rest/README.md", "//metadata": { @@ -115,5 +102,45 @@ ], "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure-rest/arm-compute?view=azure-node-preview" + }, + "type": "module", + "tshy": { + "project": "./tsconfig.src.json", + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false + }, + "browser": "./dist/browser/index.js", + "react-native": "./dist/react-native/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } } } diff --git a/sdk/compute/arm-compute-rest/review/arm-compute.api.md b/sdk/compute/arm-compute-rest/review/arm-compute.api.md index fbcf6d59ac8d..4cb526f443b3 100644 --- a/sdk/compute/arm-compute-rest/review/arm-compute.api.md +++ b/sdk/compute/arm-compute-rest/review/arm-compute.api.md @@ -4,22 +4,22 @@ ```ts +import type { AbortSignalLike } from '@azure/abort-controller'; +import type { CancelOnProgress } from '@azure/core-lro'; import type { Client } from '@azure-rest/core-client'; import type { ClientOptions } from '@azure-rest/core-client'; +import type { CreateHttpPollerOptions } from '@azure/core-lro'; import type { HttpResponse } from '@azure-rest/core-client'; -import type { LroEngineOptions } from '@azure/core-lro'; -import type { PagedAsyncIterableIterator } from '@azure/core-paging'; +import type { OperationState } from '@azure/core-lro'; import type { PathUncheckedResponse } from '@azure-rest/core-client'; -import type { PollerLike } from '@azure/core-lro'; -import type { PollOperationState } from '@azure/core-lro'; import type { RequestParameters } from '@azure-rest/core-client'; import type { StreamableMethod } from '@azure-rest/core-client'; import type { TokenCredential } from '@azure/core-auth'; // @public export interface AccessUriOutput { - accessSAS?: string; - securityDataAccessSAS?: string; + readonly accessSAS?: string; + readonly securityDataAccessSAS?: string; } // @public @@ -163,7 +163,6 @@ export interface AvailabilitySetProperties { platformFaultDomainCount?: number; platformUpdateDomainCount?: number; proximityPlacementGroup?: SubResource; - statuses?: Array; virtualMachines?: Array; } @@ -172,7 +171,7 @@ export interface AvailabilitySetPropertiesOutput { platformFaultDomainCount?: number; platformUpdateDomainCount?: number; proximityPlacementGroup?: SubResourceOutput; - statuses?: Array; + readonly statuses?: Array; virtualMachines?: Array; } @@ -226,16 +225,12 @@ export interface AvailabilitySetsCreateOrUpdateQueryParamProperties { // @public export interface AvailabilitySetsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface AvailabilitySetsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -446,26 +441,18 @@ export interface AvailabilitySetUpdate extends UpdateResource { // @public export interface AvailablePatchSummary { - assessmentActivityId?: string; - criticalAndSecurityPatchCount?: number; - error?: ApiError; - lastModifiedTime?: Date | string; - otherPatchCount?: number; - rebootPending?: boolean; - startTime?: Date | string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public export interface AvailablePatchSummaryOutput { - assessmentActivityId?: string; - criticalAndSecurityPatchCount?: number; - error?: ApiErrorOutput; - lastModifiedTime?: string; - otherPatchCount?: number; - rebootPending?: boolean; - startTime?: string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly assessmentActivityId?: string; + readonly criticalAndSecurityPatchCount?: number; + readonly error?: ApiErrorOutput; + readonly lastModifiedTime?: string; + readonly otherPatchCount?: number; + readonly rebootPending?: boolean; + readonly startTime?: string; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public @@ -486,16 +473,13 @@ export interface BootDiagnostics { // @public export interface BootDiagnosticsInstanceView { - consoleScreenshotBlobUri?: string; - serialConsoleLogBlobUri?: string; - status?: InstanceViewStatus; } // @public export interface BootDiagnosticsInstanceViewOutput { - consoleScreenshotBlobUri?: string; - serialConsoleLogBlobUri?: string; - status?: InstanceViewStatusOutput; + readonly consoleScreenshotBlobUri?: string; + readonly serialConsoleLogBlobUri?: string; + readonly status?: InstanceViewStatusOutput; } // @public @@ -519,12 +503,11 @@ export interface CapacityReservationGroup extends Resource { // @public (undocumented) export interface CapacityReservationGroupInstanceView { - capacityReservations?: Array; } // @public (undocumented) export interface CapacityReservationGroupInstanceViewOutput { - capacityReservations?: Array; + readonly capacityReservations?: Array; } // @public @@ -541,16 +524,13 @@ export interface CapacityReservationGroupOutput extends ResourceOutput { // @public export interface CapacityReservationGroupProperties { - capacityReservations?: Array; - instanceView?: CapacityReservationGroupInstanceView; - virtualMachinesAssociated?: Array; } // @public export interface CapacityReservationGroupPropertiesOutput { - capacityReservations?: Array; - instanceView?: CapacityReservationGroupInstanceViewOutput; - virtualMachinesAssociated?: Array; + readonly capacityReservations?: Array; + readonly instanceView?: CapacityReservationGroupInstanceViewOutput; + readonly virtualMachinesAssociated?: Array; } // @public (undocumented) @@ -611,16 +591,12 @@ export interface CapacityReservationGroupsCreateOrUpdateQueryParamProperties { // @public export interface CapacityReservationGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CapacityReservationGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -809,12 +785,11 @@ export interface CapacityReservationInstanceViewOutput { // @public export interface CapacityReservationInstanceViewWithName extends CapacityReservationInstanceView { - name?: string; } // @public export interface CapacityReservationInstanceViewWithNameOutput extends CapacityReservationInstanceViewOutput { - name?: string; + readonly name?: string; } // @public @@ -842,24 +817,17 @@ export interface CapacityReservationProfileOutput { // @public export interface CapacityReservationProperties { - instanceView?: CapacityReservationInstanceView; - platformFaultDomainCount?: number; - provisioningState?: string; - provisioningTime?: Date | string; - reservationId?: string; - timeCreated?: Date | string; - virtualMachinesAssociated?: Array; } // @public export interface CapacityReservationPropertiesOutput { - instanceView?: CapacityReservationInstanceViewOutput; - platformFaultDomainCount?: number; - provisioningState?: string; - provisioningTime?: string; - reservationId?: string; - timeCreated?: string; - virtualMachinesAssociated?: Array; + readonly instanceView?: CapacityReservationInstanceViewOutput; + readonly platformFaultDomainCount?: number; + readonly provisioningState?: string; + readonly provisioningTime?: string; + readonly reservationId?: string; + readonly timeCreated?: string; + readonly virtualMachinesAssociated?: Array; } // @public (undocumented) @@ -920,24 +888,18 @@ export interface CapacityReservationsCreateOrUpdateQueryParamProperties { // @public export interface CapacityReservationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CapacityReservationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface CapacityReservationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -1040,8 +1002,6 @@ export interface CapacityReservationsUpdate200Response extends HttpResponse { // @public export interface CapacityReservationsUpdate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -1086,14 +1046,12 @@ export interface CapacityReservationUpdate extends UpdateResource { // @public export interface CapacityReservationUtilization { - currentCapacity?: number; - virtualMachinesAllocated?: Array; } // @public export interface CapacityReservationUtilizationOutput { - currentCapacity?: number; - virtualMachinesAllocated?: Array; + readonly currentCapacity?: number; + readonly virtualMachinesAllocated?: Array; } // @public @@ -1103,13 +1061,10 @@ export interface CloudErrorOutput { // @public export interface CloudService { - id?: string; location: string; - name?: string; properties?: CloudServiceProperties; systemData?: SystemData; tags?: Record; - type?: string; } // @public @@ -1128,7 +1083,6 @@ export interface CloudServiceExtensionProperties { forceUpdateTag?: string; protectedSettings?: any; protectedSettingsFromKeyVault?: CloudServiceVaultAndSecretReference; - provisioningState?: string; publisher?: string; rolesAppliedTo?: Array; settings?: any; @@ -1142,7 +1096,7 @@ export interface CloudServiceExtensionPropertiesOutput { forceUpdateTag?: string; protectedSettings?: any; protectedSettingsFromKeyVault?: CloudServiceVaultAndSecretReferenceOutput; - provisioningState?: string; + readonly provisioningState?: string; publisher?: string; rolesAppliedTo?: Array; settings?: any; @@ -1152,11 +1106,11 @@ export interface CloudServiceExtensionPropertiesOutput { // @public export interface CloudServiceInstanceViewOutput { - privateIds?: Array; + readonly privateIds?: Array; roleInstance?: InstanceViewStatusesSummaryOutput; - sdkVersion?: string; + readonly sdkVersion?: string; // (undocumented) - statuses?: Array; + readonly statuses?: Array; } // @public @@ -1331,13 +1285,13 @@ export interface CloudServiceOsProfileOutput { // @public export interface CloudServiceOutput { - id?: string; + readonly id?: string; location: string; - name?: string; + readonly name?: string; properties?: CloudServicePropertiesOutput; systemData?: SystemDataOutput; tags?: Record; - type?: string; + readonly type?: string; } // @public @@ -1349,10 +1303,8 @@ export interface CloudServiceProperties { networkProfile?: CloudServiceNetworkProfile; osProfile?: CloudServiceOsProfile; packageUrl?: string; - provisioningState?: string; roleProfile?: CloudServiceRoleProfile; startCloudService?: boolean; - uniqueId?: string; upgradeMode?: "Auto" | "Manual" | "Simultaneous"; } @@ -1365,10 +1317,10 @@ export interface CloudServicePropertiesOutput { networkProfile?: CloudServiceNetworkProfileOutput; osProfile?: CloudServiceOsProfileOutput; packageUrl?: string; - provisioningState?: string; + readonly provisioningState?: string; roleProfile?: CloudServiceRoleProfileOutput; startCloudService?: boolean; - uniqueId?: string; + readonly uniqueId?: string; upgradeMode?: "Auto" | "Manual" | "Simultaneous"; } @@ -1380,24 +1332,18 @@ export interface CloudServiceRoleInstancesDelete { // @public export interface CloudServiceRoleInstancesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServiceRoleInstancesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface CloudServiceRoleInstancesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -1504,8 +1450,6 @@ export interface CloudServiceRoleInstancesGetRemoteDesktopFile200Response extend // @public export interface CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: string; } @@ -1567,16 +1511,12 @@ export interface CloudServiceRoleInstancesRebuild { // @public export interface CloudServiceRoleInstancesRebuild200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServiceRoleInstancesRebuild202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -1610,16 +1550,12 @@ export interface CloudServiceRoleInstancesReimage { // @public export interface CloudServiceRoleInstancesReimage200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServiceRoleInstancesReimage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -1653,16 +1589,12 @@ export interface CloudServiceRoleInstancesRestart { // @public export interface CloudServiceRoleInstancesRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServiceRoleInstancesRestart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -1697,12 +1629,12 @@ export interface CloudServiceRoleListResultOutput { // @public export interface CloudServiceRoleOutput { - id?: string; - location?: string; - name?: string; + readonly id?: string; + readonly location?: string; + readonly name?: string; properties?: CloudServiceRolePropertiesOutput; sku?: CloudServiceRoleSkuOutput; - type?: string; + readonly type?: string; } // @public @@ -1729,7 +1661,7 @@ export interface CloudServiceRoleProfilePropertiesOutput { // @public export interface CloudServiceRolePropertiesOutput { - uniqueId?: string; + readonly uniqueId?: string; } // @public (undocumented) @@ -1874,24 +1806,18 @@ export interface CloudServicesCreateOrUpdateQueryParamProperties { // @public export interface CloudServicesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface CloudServicesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -1911,16 +1837,12 @@ export interface CloudServicesDeleteInstances { // @public export interface CloudServicesDeleteInstances200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesDeleteInstances202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2113,16 +2035,12 @@ export interface CloudServicesPowerOff { // @public export interface CloudServicesPowerOff200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesPowerOff202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2156,16 +2074,12 @@ export interface CloudServicesRebuild { // @public export interface CloudServicesRebuild200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesRebuild202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2209,16 +2123,12 @@ export interface CloudServicesReimage { // @public export interface CloudServicesReimage200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesReimage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2262,16 +2172,12 @@ export interface CloudServicesRestart { // @public export interface CloudServicesRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesRestart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2315,16 +2221,12 @@ export interface CloudServicesStart { // @public export interface CloudServicesStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2445,16 +2347,12 @@ export interface CloudServicesUpdateDomainWalkUpdateDomain { // @public export interface CloudServicesUpdateDomainWalkUpdateDomain200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface CloudServicesUpdateDomainWalkUpdateDomain202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2777,20 +2675,18 @@ export interface CommunityGalleryImageVersionsListQueryParamProperties { // @public export interface CommunityGalleryInfo { - communityGalleryEnabled?: boolean; eula?: string; publicNamePrefix?: string; - publicNames?: Array; publisherContact?: string; publisherUri?: string; } // @public export interface CommunityGalleryInfoOutput { - communityGalleryEnabled?: boolean; + readonly communityGalleryEnabled?: boolean; eula?: string; publicNamePrefix?: string; - publicNames?: Array; + readonly publicNames?: Array; publisherContact?: string; publisherUri?: string; } @@ -2804,24 +2700,28 @@ export type ComputeManagementClient = Client & { path: Routes; }; +// @public +export interface ComputeManagementClientOptions extends ClientOptions { +} + // @public export interface ComputeOperationListResultOutput { - value?: Array; + readonly value?: Array; } // @public export interface ComputeOperationValueDisplayOutput { - description?: string; - operation?: string; - provider?: string; - resource?: string; + readonly description?: string; + readonly operation?: string; + readonly provider?: string; + readonly resource?: string; } // @public export interface ComputeOperationValueOutput { display?: ComputeOperationValueDisplayOutput; - name?: string; - origin?: string; + readonly name?: string; + readonly origin?: string; } // @public @@ -2837,7 +2737,7 @@ export interface CopyCompletionErrorOutput { } // @public -function createClient(credentials: TokenCredential, options?: ClientOptions): ComputeManagementClient; +function createClient(credentials: TokenCredential, options?: ComputeManagementClientOptions): ComputeManagementClient; export default createClient; // @public @@ -2849,7 +2749,6 @@ export interface CreationData { performancePlus?: boolean; securityDataUri?: string; sourceResourceId?: string; - sourceUniqueId?: string; sourceUri?: string; storageAccountId?: string; uploadSizeBytes?: number; @@ -2864,7 +2763,7 @@ export interface CreationDataOutput { performancePlus?: boolean; securityDataUri?: string; sourceResourceId?: string; - sourceUniqueId?: string; + readonly sourceUniqueId?: string; sourceUri?: string; storageAccountId?: string; uploadSizeBytes?: number; @@ -2876,8 +2775,6 @@ export interface DataDisk { createOption: "FromImage" | "Empty" | "Attach"; deleteOption?: "Delete" | "Detach"; detachOption?: "ForceDetach"; - diskIOPSReadWrite?: number; - diskMBpsReadWrite?: number; diskSizeGB?: number; image?: VirtualHardDisk; lun: number; @@ -2890,7 +2787,6 @@ export interface DataDisk { // @public export interface DataDiskImage { - lun?: number; } // @public @@ -2905,7 +2801,7 @@ export interface DataDiskImageEncryptionOutput extends DiskImageEncryptionOutput // @public export interface DataDiskImageOutput { - lun?: number; + readonly lun?: number; } // @public @@ -2914,8 +2810,8 @@ export interface DataDiskOutput { createOption: "FromImage" | "Empty" | "Attach"; deleteOption?: "Delete" | "Detach"; detachOption?: "ForceDetach"; - diskIOPSReadWrite?: number; - diskMBpsReadWrite?: number; + readonly diskIOPSReadWrite?: number; + readonly diskMBpsReadWrite?: number; diskSizeGB?: number; image?: VirtualHardDiskOutput; lun: number; @@ -2985,8 +2881,6 @@ export interface DedicatedHostGroupOutput extends ResourceOutput { // @public export interface DedicatedHostGroupProperties { additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; - hosts?: Array; - instanceView?: DedicatedHostGroupInstanceView; platformFaultDomainCount: number; supportAutomaticPlacement?: boolean; } @@ -3004,8 +2898,8 @@ export interface DedicatedHostGroupPropertiesAdditionalCapabilitiesOutput { // @public export interface DedicatedHostGroupPropertiesOutput { additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilitiesOutput; - hosts?: Array; - instanceView?: DedicatedHostGroupInstanceViewOutput; + readonly hosts?: Array; + readonly instanceView?: DedicatedHostGroupInstanceViewOutput; platformFaultDomainCount: number; supportAutomaticPlacement?: boolean; } @@ -3068,16 +2962,12 @@ export interface DedicatedHostGroupsCreateOrUpdateQueryParamProperties { // @public export interface DedicatedHostGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DedicatedHostGroupsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -3253,26 +3143,24 @@ export interface DedicatedHostGroupUpdate extends UpdateResource { // @public export interface DedicatedHostInstanceView { - assetId?: string; availableCapacity?: DedicatedHostAvailableCapacity; statuses?: Array; } // @public export interface DedicatedHostInstanceViewOutput { - assetId?: string; + readonly assetId?: string; availableCapacity?: DedicatedHostAvailableCapacityOutput; statuses?: Array; } // @public export interface DedicatedHostInstanceViewWithName extends DedicatedHostInstanceView { - name?: string; } // @public export interface DedicatedHostInstanceViewWithNameOutput extends DedicatedHostInstanceViewOutput { - name?: string; + readonly name?: string; } // @public @@ -3290,27 +3178,21 @@ export interface DedicatedHostOutput extends ResourceOutput { // @public export interface DedicatedHostProperties { autoReplaceOnFailure?: boolean; - hostId?: string; - instanceView?: DedicatedHostInstanceView; licenseType?: "None" | "Windows_Server_Hybrid" | "Windows_Server_Perpetual"; platformFaultDomain?: number; - provisioningState?: string; - provisioningTime?: Date | string; - timeCreated?: Date | string; - virtualMachines?: Array; } // @public export interface DedicatedHostPropertiesOutput { autoReplaceOnFailure?: boolean; - hostId?: string; - instanceView?: DedicatedHostInstanceViewOutput; + readonly hostId?: string; + readonly instanceView?: DedicatedHostInstanceViewOutput; licenseType?: "None" | "Windows_Server_Hybrid" | "Windows_Server_Perpetual"; platformFaultDomain?: number; - provisioningState?: string; - provisioningTime?: string; - timeCreated?: string; - virtualMachines?: Array; + readonly provisioningState?: string; + readonly provisioningTime?: string; + readonly timeCreated?: string; + readonly virtualMachines?: Array; } // @public (undocumented) @@ -3371,24 +3253,18 @@ export interface DedicatedHostsCreateOrUpdateQueryParamProperties { // @public export interface DedicatedHostsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DedicatedHostsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DedicatedHostsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -3488,8 +3364,6 @@ export interface DedicatedHostsRestart { // @public export interface DedicatedHostsRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -3606,8 +3480,6 @@ export interface DisallowedOutput { // @public export interface Disk extends Resource { extendedLocation?: ExtendedLocation; - managedBy?: string; - managedByExtended?: Array; properties?: DiskProperties; sku?: DiskSku; zones?: Array; @@ -3678,48 +3550,36 @@ export interface DiskAccessesCreateOrUpdateQueryParamProperties { // @public export interface DiskAccessesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DiskAccessesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DiskAccessesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public export interface DiskAccessesDeleteAPrivateEndpointConnection200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DiskAccessesDeleteAPrivateEndpointConnection202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DiskAccessesDeleteAPrivateEndpointConnection204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -4078,16 +3938,13 @@ export interface DiskAccessOutput extends ResourceOutput { // @public (undocumented) export interface DiskAccessProperties { - privateEndpointConnections?: Array; - provisioningState?: string; - timeCreated?: Date | string; } // @public (undocumented) export interface DiskAccessPropertiesOutput { - privateEndpointConnections?: Array; - provisioningState?: string; - timeCreated?: string; + readonly privateEndpointConnections?: Array; + readonly provisioningState?: string; + readonly timeCreated?: string; } // @public @@ -4181,24 +4038,18 @@ export interface DiskEncryptionSetsCreateOrUpdateQueryParamProperties { // @public export interface DiskEncryptionSetsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DiskEncryptionSetsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DiskEncryptionSetsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -4470,8 +4321,8 @@ export interface DiskListOutput { // @public export interface DiskOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; - managedBy?: string; - managedByExtended?: Array; + readonly managedBy?: string; + readonly managedByExtended?: Array; properties?: DiskPropertiesOutput; sku?: DiskSkuOutput; zones?: Array; @@ -4480,7 +4331,6 @@ export interface DiskOutput extends ResourceOutput { // @public export interface DiskProperties { burstingEnabled?: boolean; - burstingEnabledTime?: Date | string; completionPercent?: number; creationData: CreationData; dataAccessAuthMode?: "AzureActiveDirectory" | "None"; @@ -4489,9 +4339,7 @@ export interface DiskProperties { diskIOPSReadWrite?: number; diskMBpsReadOnly?: number; diskMBpsReadWrite?: number; - diskSizeBytes?: number; diskSizeGB?: number; - diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; encryption?: Encryption; encryptionSettingsCollection?: EncryptionSettingsCollection; hyperVGeneration?: "V1" | "V2"; @@ -4499,23 +4347,18 @@ export interface DiskProperties { networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; optimizedForFrequentAttach?: boolean; osType?: "Windows" | "Linux"; - propertyUpdatesInProgress?: PropertyUpdatesInProgress; - provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGenerated; securityProfile?: DiskSecurityProfile; - shareInfo?: Array; supportedCapabilities?: SupportedCapabilities; supportsHibernation?: boolean; tier?: string; - timeCreated?: Date | string; - uniqueId?: string; } // @public export interface DiskPropertiesOutput { burstingEnabled?: boolean; - burstingEnabledTime?: string; + readonly burstingEnabledTime?: string; completionPercent?: number; creationData: CreationDataOutput; dataAccessAuthMode?: "AzureActiveDirectory" | "None"; @@ -4524,9 +4367,9 @@ export interface DiskPropertiesOutput { diskIOPSReadWrite?: number; diskMBpsReadOnly?: number; diskMBpsReadWrite?: number; - diskSizeBytes?: number; + readonly diskSizeBytes?: number; diskSizeGB?: number; - diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; + readonly diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; encryption?: EncryptionOutput; encryptionSettingsCollection?: EncryptionSettingsCollectionOutput; hyperVGeneration?: "V1" | "V2"; @@ -4534,17 +4377,17 @@ export interface DiskPropertiesOutput { networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; optimizedForFrequentAttach?: boolean; osType?: "Windows" | "Linux"; - propertyUpdatesInProgress?: PropertyUpdatesInProgressOutput; - provisioningState?: string; + readonly propertyUpdatesInProgress?: PropertyUpdatesInProgressOutput; + readonly provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGeneratedOutput; securityProfile?: DiskSecurityProfileOutput; - shareInfo?: Array; + readonly shareInfo?: Array; supportedCapabilities?: SupportedCapabilitiesOutput; supportsHibernation?: boolean; tier?: string; - timeCreated?: string; - uniqueId?: string; + readonly timeCreated?: string; + readonly uniqueId?: string; } // @public (undocumented) @@ -4597,8 +4440,6 @@ export interface DiskRestorePointGrantAccess200Response extends HttpResponse { // @public export interface DiskRestorePointGrantAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -4697,21 +4538,21 @@ export interface DiskRestorePointOutput extends ProxyOnlyResourceOutput { export interface DiskRestorePointPropertiesOutput { completionPercent?: number; diskAccessId?: string; - encryption?: EncryptionOutput; - familyId?: string; + readonly encryption?: EncryptionOutput; + readonly familyId?: string; hyperVGeneration?: "V1" | "V2"; networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; - osType?: "Windows" | "Linux"; + readonly osType?: "Windows" | "Linux"; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGeneratedOutput; - replicationState?: string; + readonly replicationState?: string; securityProfile?: DiskSecurityProfileOutput; - sourceResourceId?: string; - sourceResourceLocation?: string; - sourceUniqueId?: string; + readonly sourceResourceId?: string; + readonly sourceResourceLocation?: string; + readonly sourceUniqueId?: string; supportedCapabilities?: SupportedCapabilitiesOutput; supportsHibernation?: boolean; - timeCreated?: string; + readonly timeCreated?: string; } // @public @@ -4733,16 +4574,12 @@ export interface DiskRestorePointRevokeAccess { // @public export interface DiskRestorePointRevokeAccess200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DiskRestorePointRevokeAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -4819,24 +4656,18 @@ export interface DisksCreateOrUpdateQueryParamProperties { // @public export interface DisksDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DisksDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface DisksDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -4904,8 +4735,6 @@ export interface DisksGrantAccess200Response extends HttpResponse { // @public export interface DisksGrantAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -4937,13 +4766,12 @@ export interface DisksGrantAccessQueryParamProperties { // @public export interface DiskSku { name?: "Standard_LRS" | "Premium_LRS" | "StandardSSD_LRS" | "UltraSSD_LRS" | "Premium_ZRS" | "StandardSSD_ZRS" | "PremiumV2_LRS"; - tier?: string; } // @public export interface DiskSkuOutput { name?: "Standard_LRS" | "Premium_LRS" | "StandardSSD_LRS" | "UltraSSD_LRS" | "Premium_ZRS" | "StandardSSD_ZRS" | "PremiumV2_LRS"; - tier?: string; + readonly tier?: string; } // @public (undocumented) @@ -5007,16 +4835,12 @@ export interface DisksRevokeAccess { // @public export interface DisksRevokeAccess200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface DisksRevokeAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -5098,7 +4922,6 @@ export interface DiskUpdateProperties { networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; optimizedForFrequentAttach?: boolean; osType?: "Windows" | "Linux"; - propertyUpdatesInProgress?: PropertyUpdatesInProgress; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGenerated; supportedCapabilities?: SupportedCapabilities; @@ -5132,16 +4955,14 @@ export interface EncryptionOutput { // @public export interface EncryptionSetIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } // @public export interface EncryptionSetIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } @@ -5149,24 +4970,20 @@ export interface EncryptionSetIdentityOutput { // @public (undocumented) export interface EncryptionSetProperties { activeKey?: KeyForDiskEncryptionSet; - autoKeyRotationError?: ApiError; encryptionType?: "EncryptionAtRestWithCustomerKey" | "EncryptionAtRestWithPlatformAndCustomerKeys" | "ConfidentialVmEncryptedWithCustomerKey"; federatedClientId?: string; - lastKeyRotationTimestamp?: Date | string; - previousKeys?: Array; - provisioningState?: string; rotationToLatestKeyVersionEnabled?: boolean; } // @public (undocumented) export interface EncryptionSetPropertiesOutput { activeKey?: KeyForDiskEncryptionSetOutput; - autoKeyRotationError?: ApiErrorOutput; + readonly autoKeyRotationError?: ApiErrorOutput; encryptionType?: "EncryptionAtRestWithCustomerKey" | "EncryptionAtRestWithPlatformAndCustomerKeys" | "ConfidentialVmEncryptedWithCustomerKey"; federatedClientId?: string; - lastKeyRotationTimestamp?: string; - previousKeys?: Array; - provisioningState?: string; + readonly lastKeyRotationTimestamp?: string; + readonly previousKeys?: Array; + readonly provisioningState?: string; rotationToLatestKeyVersionEnabled?: boolean; } @@ -5286,24 +5103,18 @@ export interface GalleriesCreateOrUpdateQueryParamProperties { // @public export interface GalleriesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface GalleriesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface GalleriesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -5579,24 +5390,18 @@ export interface GalleryApplicationsCreateOrUpdateQueryParamProperties { // @public export interface GalleryApplicationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface GalleryApplicationsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface GalleryApplicationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -5751,16 +5556,14 @@ export interface GalleryApplicationVersionOutput extends ResourceOutput { // @public export interface GalleryApplicationVersionProperties { - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; publishingProfile: GalleryApplicationVersionPublishingProfile; - replicationStatus?: ReplicationStatus; } // @public export interface GalleryApplicationVersionPropertiesOutput { - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; publishingProfile: GalleryApplicationVersionPublishingProfileOutput; - replicationStatus?: ReplicationStatusOutput; + readonly replicationStatus?: ReplicationStatusOutput; } // @public @@ -5849,24 +5652,18 @@ export interface GalleryApplicationVersionsCreateOrUpdateQueryParamProperties { // @public export interface GalleryApplicationVersionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface GalleryApplicationVersionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface GalleryApplicationVersionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -6008,7 +5805,6 @@ export interface GalleryApplicationVersionUpdate extends UpdateResourceDefinitio export interface GalleryArtifactPublishingProfileBase { endOfLifeDate?: Date | string; excludeFromLatest?: boolean; - publishedDate?: Date | string; replicaCount?: number; replicationMode?: "Full" | "Shallow"; storageAccountType?: "Standard_LRS" | "Standard_ZRS" | "Premium_LRS"; @@ -6020,7 +5816,7 @@ export interface GalleryArtifactPublishingProfileBase { export interface GalleryArtifactPublishingProfileBaseOutput { endOfLifeDate?: string; excludeFromLatest?: boolean; - publishedDate?: string; + readonly publishedDate?: string; replicaCount?: number; replicationMode?: "Full" | "Shallow"; storageAccountType?: "Standard_LRS" | "Standard_ZRS" | "Premium_LRS"; @@ -6053,14 +5849,13 @@ export interface GalleryDataDiskImageOutput extends GalleryDiskImageOutput { // @public export interface GalleryDiskImage { hostCaching?: "None" | "ReadOnly" | "ReadWrite"; - sizeInGB?: number; source?: GalleryArtifactVersionSource; } // @public export interface GalleryDiskImageOutput { hostCaching?: "None" | "ReadOnly" | "ReadWrite"; - sizeInGB?: number; + readonly sizeInGB?: number; source?: GalleryArtifactVersionSourceOutput; } @@ -6080,12 +5875,11 @@ export interface GalleryExtendedLocationOutput { // @public export interface GalleryIdentifier { - uniqueName?: string; } // @public export interface GalleryIdentifierOutput { - uniqueName?: string; + readonly uniqueName?: string; } // @public @@ -6143,7 +5937,6 @@ export interface GalleryImageProperties { osState: "Generalized" | "Specialized"; osType: "Windows" | "Linux"; privacyStatementUri?: string; - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; purchasePlan?: ImagePurchasePlan; recommended?: RecommendedMachineConfiguration; releaseNoteUri?: string; @@ -6162,7 +5955,7 @@ export interface GalleryImagePropertiesOutput { osState: "Generalized" | "Specialized"; osType: "Windows" | "Linux"; privacyStatementUri?: string; - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; purchasePlan?: ImagePurchasePlanOutput; recommended?: RecommendedMachineConfigurationOutput; releaseNoteUri?: string; @@ -6234,24 +6027,18 @@ export interface GalleryImagesCreateOrUpdateQueryParamProperties { // @public export interface GalleryImagesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface GalleryImagesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface GalleryImagesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -6406,17 +6193,15 @@ export interface GalleryImageVersionOutput extends ResourceOutput { // @public export interface GalleryImageVersionProperties { - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; publishingProfile?: GalleryImageVersionPublishingProfile; - replicationStatus?: ReplicationStatus; storageProfile: GalleryImageVersionStorageProfile; } // @public export interface GalleryImageVersionPropertiesOutput { - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; publishingProfile?: GalleryImageVersionPublishingProfileOutput; - replicationStatus?: ReplicationStatusOutput; + readonly replicationStatus?: ReplicationStatusOutput; storageProfile: GalleryImageVersionStorageProfileOutput; } @@ -6494,24 +6279,18 @@ export interface GalleryImageVersionsCreateOrUpdateQueryParamProperties { // @public export interface GalleryImageVersionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface GalleryImageVersionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface GalleryImageVersionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -6686,9 +6465,7 @@ export interface GalleryOutput extends ResourceOutput { export interface GalleryProperties { description?: string; identifier?: GalleryIdentifier; - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; sharingProfile?: SharingProfile; - sharingStatus?: SharingStatus; softDeletePolicy?: SoftDeletePolicy; } @@ -6696,9 +6473,9 @@ export interface GalleryProperties { export interface GalleryPropertiesOutput { description?: string; identifier?: GalleryIdentifierOutput; - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; sharingProfile?: SharingProfileOutput; - sharingStatus?: SharingStatusOutput; + readonly sharingStatus?: SharingStatusOutput; softDeletePolicy?: SoftDeletePolicyOutput; } @@ -6782,10 +6559,10 @@ export interface GalleryUpdate extends UpdateResourceDefinition { export type GetArrayType = T extends Array ? TData : never; // @public -export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: LroEngineOptions>): PollerLike, TResult>; +export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions>): Promise, TResult>>; // @public -export type GetPage = (pageLink: string, maxPageSize?: number) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; @@ -6811,10 +6588,11 @@ export interface HardwareProfileOutput { } // @public -export interface Image extends Resource { +interface Image_2 extends Resource { extendedLocation?: ExtendedLocation; properties?: ImageProperties; } +export { Image_2 as Image } // @public export interface ImageDataDisk extends ImageDisk { @@ -6891,7 +6669,6 @@ export interface ImageOutput extends ResourceOutput { // @public export interface ImageProperties { hyperVGeneration?: "V1" | "V2"; - provisioningState?: string; sourceVirtualMachine?: SubResource; storageProfile?: ImageStorageProfile; } @@ -6899,7 +6676,7 @@ export interface ImageProperties { // @public export interface ImagePropertiesOutput { hyperVGeneration?: "V1" | "V2"; - provisioningState?: string; + readonly provisioningState?: string; sourceVirtualMachine?: SubResourceOutput; storageProfile?: ImageStorageProfileOutput; } @@ -6921,7 +6698,6 @@ export interface ImagePurchasePlanOutput { // @public export interface ImageReference extends SubResource { communityGalleryImageId?: string; - exactVersion?: string; offer?: string; publisher?: string; sharedGalleryImageId?: string; @@ -6932,7 +6708,7 @@ export interface ImageReference extends SubResource { // @public export interface ImageReferenceOutput extends SubResourceOutput { communityGalleryImageId?: string; - exactVersion?: string; + readonly exactVersion?: string; offer?: string; publisher?: string; sharedGalleryImageId?: string; @@ -6966,7 +6742,7 @@ export interface ImagesCreateOrUpdate201Response extends HttpResponse { // @public (undocumented) export interface ImagesCreateOrUpdateBodyParam { - body: Image; + body: Image_2; } // @public @@ -6998,24 +6774,18 @@ export interface ImagesCreateOrUpdateQueryParamProperties { // @public export interface ImagesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ImagesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ImagesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -7224,8 +6994,8 @@ export interface InnerErrorOutput { // @public export interface InstanceSkuOutput { - name?: string; - tier?: string; + readonly name?: string; + readonly tier?: string; } // @public @@ -7239,7 +7009,7 @@ export interface InstanceViewStatus { // @public export interface InstanceViewStatusesSummaryOutput { - statusesSummary?: Array; + readonly statusesSummary?: Array; } // @public @@ -8084,32 +7854,21 @@ export interface KeyVaultSecretReferenceOutput { // @public export interface LastPatchInstallationSummary { - error?: ApiError; - excludedPatchCount?: number; - failedPatchCount?: number; - installationActivityId?: string; - installedPatchCount?: number; - lastModifiedTime?: Date | string; - maintenanceWindowExceeded?: boolean; - notSelectedPatchCount?: number; - pendingPatchCount?: number; - startTime?: Date | string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public export interface LastPatchInstallationSummaryOutput { - error?: ApiErrorOutput; - excludedPatchCount?: number; - failedPatchCount?: number; - installationActivityId?: string; - installedPatchCount?: number; - lastModifiedTime?: string; - maintenanceWindowExceeded?: boolean; - notSelectedPatchCount?: number; - pendingPatchCount?: number; - startTime?: string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly error?: ApiErrorOutput; + readonly excludedPatchCount?: number; + readonly failedPatchCount?: number; + readonly installationActivityId?: string; + readonly installedPatchCount?: number; + readonly lastModifiedTime?: string; + readonly maintenanceWindowExceeded?: boolean; + readonly notSelectedPatchCount?: number; + readonly pendingPatchCount?: number; + readonly startTime?: string; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public @@ -8233,8 +7992,6 @@ export interface LogAnalyticsExportRequestRateByInterval200Response extends Http // @public export interface LogAnalyticsExportRequestRateByInterval202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -8286,8 +8043,6 @@ export interface LogAnalyticsExportThrottledRequests200Response extends HttpResp // @public export interface LogAnalyticsExportThrottledRequests202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -8338,12 +8093,12 @@ export interface LogAnalyticsInputBase { // @public export interface LogAnalyticsOperationResultOutput { - properties?: LogAnalyticsOutputOutput; + readonly properties?: LogAnalyticsOutputOutput; } // @public export interface LogAnalyticsOutputOutput { - output?: string; + readonly output?: string; } // @public @@ -8461,8 +8216,8 @@ export interface OrchestrationServiceStateInput { // @public export interface OrchestrationServiceSummaryOutput { - serviceName?: "AutomaticRepairs"; - serviceState?: "NotRunning" | "Running" | "Suspended"; + readonly serviceName?: "AutomaticRepairs"; + readonly serviceState?: "NotRunning" | "Running" | "Suspended"; } // @public @@ -8537,18 +8292,18 @@ export interface OSFamilyListResultOutput { // @public export interface OSFamilyOutput { - id?: string; - location?: string; - name?: string; + readonly id?: string; + readonly location?: string; + readonly name?: string; properties?: OSFamilyPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface OSFamilyPropertiesOutput { - label?: string; - name?: string; - versions?: Array; + readonly label?: string; + readonly name?: string; + readonly versions?: Array; } // @public @@ -8585,29 +8340,41 @@ export interface OSVersionListResultOutput { // @public export interface OSVersionOutput { - id?: string; - location?: string; - name?: string; + readonly id?: string; + readonly location?: string; + readonly name?: string; properties?: OSVersionPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface OSVersionPropertiesBaseOutput { - isActive?: boolean; - isDefault?: boolean; - label?: string; - version?: string; + readonly isActive?: boolean; + readonly isDefault?: boolean; + readonly label?: string; + readonly version?: string; } // @public export interface OSVersionPropertiesOutput { - family?: string; - familyLabel?: string; - isActive?: boolean; - isDefault?: boolean; - label?: string; - version?: string; + readonly family?: string; + readonly familyLabel?: string; + readonly isActive?: boolean; + readonly isDefault?: boolean; + readonly label?: string; + readonly version?: string; +} + +// @public +export interface PagedAsyncIterableIterator { + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + byPage: (settings?: TPageSettings) => AsyncIterableIterator; + next(): Promise>; +} + +// @public +export interface PageSettings { + continuationToken?: string; } // @public @@ -8627,12 +8394,12 @@ export interface PagingOptions { // @public export interface PatchInstallationDetailOutput { - classifications?: Array; - installationState?: "Unknown" | "Installed" | "Failed" | "Excluded" | "NotSelected" | "Pending"; - kbId?: string; - name?: string; - patchId?: string; - version?: string; + readonly classifications?: Array; + readonly installationState?: "Unknown" | "Installed" | "Failed" | "Excluded" | "NotSelected" | "Pending"; + readonly kbId?: string; + readonly name?: string; + readonly patchId?: string; + readonly version?: string; } // @public @@ -8654,15 +8421,15 @@ export interface PatchSettingsOutput { // @public export interface PirCommunityGalleryResourceOutput { identifier?: CommunityGalleryIdentifierOutput; - location?: string; - name?: string; - type?: string; + readonly location?: string; + readonly name?: string; + readonly type?: string; } // @public export interface PirResourceOutput { - location?: string; - name?: string; + readonly location?: string; + readonly name?: string; } // @public @@ -8700,15 +8467,11 @@ export interface PriorityMixPolicyOutput { // @public export interface PrivateEndpoint { - id?: string; } // @public export interface PrivateEndpointConnection { - id?: string; - name?: string; properties?: PrivateEndpointConnectionProperties; - type?: string; } // @public @@ -8719,29 +8482,27 @@ export interface PrivateEndpointConnectionListResultOutput { // @public export interface PrivateEndpointConnectionOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties?: PrivateEndpointConnectionPropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface PrivateEndpointConnectionProperties { - privateEndpoint?: PrivateEndpoint; privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } // @public export interface PrivateEndpointConnectionPropertiesOutput { - privateEndpoint?: PrivateEndpointOutput; + readonly privateEndpoint?: PrivateEndpointOutput; privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput; - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } // @public export interface PrivateEndpointOutput { - id?: string; + readonly id?: string; } // @public @@ -8751,16 +8512,16 @@ export interface PrivateLinkResourceListResultOutput { // @public export interface PrivateLinkResourceOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties?: PrivateLinkResourcePropertiesOutput; - type?: string; + readonly type?: string; } // @public export interface PrivateLinkResourcePropertiesOutput { - groupId?: string; - requiredMembers?: Array; + readonly groupId?: string; + readonly requiredMembers?: Array; requiredZoneNames?: Array; } @@ -8808,12 +8569,9 @@ export interface ProximityPlacementGroupOutput extends ResourceOutput { // @public export interface ProximityPlacementGroupProperties { - availabilitySets?: Array; colocationStatus?: InstanceViewStatus; intent?: ProximityPlacementGroupPropertiesIntent; proximityPlacementGroupType?: "Standard" | "Ultra"; - virtualMachines?: Array; - virtualMachineScaleSets?: Array; } // @public @@ -8828,12 +8586,12 @@ export interface ProximityPlacementGroupPropertiesIntentOutput { // @public export interface ProximityPlacementGroupPropertiesOutput { - availabilitySets?: Array; + readonly availabilitySets?: Array; colocationStatus?: InstanceViewStatusOutput; intent?: ProximityPlacementGroupPropertiesIntentOutput; proximityPlacementGroupType?: "Standard" | "Ultra"; - virtualMachines?: Array; - virtualMachineScaleSets?: Array; + readonly virtualMachines?: Array; + readonly virtualMachineScaleSets?: Array; } // @public (undocumented) @@ -8894,8 +8652,6 @@ export interface ProximityPlacementGroupsCreateOrUpdateQueryParamProperties { // @public export interface ProximityPlacementGroupsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -9069,23 +8825,20 @@ export interface ProximityPlacementGroupUpdate extends UpdateResource { // @public export interface ProxyOnlyResourceOutput { - id?: string; - name?: string; - type?: string; + readonly id?: string; + readonly name?: string; + readonly type?: string; } // @public export interface ProxyResource { - id?: string; - name?: string; - type?: string; } // @public export interface ProxyResourceOutput { - id?: string; - name?: string; - type?: string; + readonly id?: string; + readonly name?: string; + readonly type?: string; } // @public @@ -9144,50 +8897,43 @@ export interface RecommendedMachineConfigurationOutput { // @public export interface RecoveryWalkResponseOutput { - nextPlatformUpdateDomain?: number; - walkPerformed?: boolean; + readonly nextPlatformUpdateDomain?: number; + readonly walkPerformed?: boolean; } // @public export interface RegionalReplicationStatus { - details?: string; - progress?: number; - region?: string; - state?: "Unknown" | "Replicating" | "Completed" | "Failed"; } // @public export interface RegionalReplicationStatusOutput { - details?: string; - progress?: number; - region?: string; - state?: "Unknown" | "Replicating" | "Completed" | "Failed"; + readonly details?: string; + readonly progress?: number; + readonly region?: string; + readonly state?: "Unknown" | "Replicating" | "Completed" | "Failed"; } // @public export interface RegionalSharingStatus { details?: string; region?: string; - state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; } // @public export interface RegionalSharingStatusOutput { details?: string; region?: string; - state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; + readonly state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; } // @public export interface ReplicationStatus { - aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; - summary?: Array; } // @public export interface ReplicationStatusOutput { - aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; - summary?: Array; + readonly aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; + readonly summary?: Array; } // @public @@ -9197,29 +8943,26 @@ export interface RequestRateByIntervalInput extends LogAnalyticsInputBase { // @public export interface Resource { - id?: string; location: string; - name?: string; tags?: Record; - type?: string; } // @public export interface ResourceInstanceViewStatusOutput { - code?: string; - displayStatus?: string; + readonly code?: string; + readonly displayStatus?: string; level?: "Info" | "Warning" | "Error"; - message?: string; - time?: string; + readonly message?: string; + readonly time?: string; } // @public export interface ResourceOutput { - id?: string; + readonly id?: string; location: string; - name?: string; + readonly name?: string; tags?: Record; - type?: string; + readonly type?: string; } // @public @@ -9236,63 +8979,63 @@ export interface ResourceRangeOutput { // @public export interface ResourceSkuCapabilitiesOutput { - name?: string; - value?: string; + readonly name?: string; + readonly value?: string; } // @public export interface ResourceSkuCapacityOutput { - default?: number; - maximum?: number; - minimum?: number; - scaleType?: "Automatic" | "Manual" | "None"; + readonly default?: number; + readonly maximum?: number; + readonly minimum?: number; + readonly scaleType?: "Automatic" | "Manual" | "None"; } // @public export interface ResourceSkuCostsOutput { - extendedUnit?: string; - meterID?: string; - quantity?: number; + readonly extendedUnit?: string; + readonly meterID?: string; + readonly quantity?: number; } // @public export interface ResourceSkuLocationInfoOutput { - extendedLocations?: Array; - location?: string; - type?: "EdgeZone"; - zoneDetails?: Array; - zones?: Array; + readonly extendedLocations?: Array; + readonly location?: string; + readonly type?: "EdgeZone"; + readonly zoneDetails?: Array; + readonly zones?: Array; } // @public export interface ResourceSkuOutput { - apiVersions?: Array; - capabilities?: Array; - capacity?: ResourceSkuCapacityOutput; - costs?: Array; - family?: string; - kind?: string; - locationInfo?: Array; - locations?: Array; - name?: string; - resourceType?: string; - restrictions?: Array; - size?: string; - tier?: string; + readonly apiVersions?: Array; + readonly capabilities?: Array; + readonly capacity?: ResourceSkuCapacityOutput; + readonly costs?: Array; + readonly family?: string; + readonly kind?: string; + readonly locationInfo?: Array; + readonly locations?: Array; + readonly name?: string; + readonly resourceType?: string; + readonly restrictions?: Array; + readonly size?: string; + readonly tier?: string; } // @public export interface ResourceSkuRestrictionInfoOutput { - locations?: Array; - zones?: Array; + readonly locations?: Array; + readonly zones?: Array; } // @public export interface ResourceSkuRestrictionsOutput { - reasonCode?: "QuotaId" | "NotAvailableForSubscription"; - restrictionInfo?: ResourceSkuRestrictionInfoOutput; - type?: "Location" | "Zone"; - values?: Array; + readonly reasonCode?: "QuotaId" | "NotAvailableForSubscription"; + readonly restrictionInfo?: ResourceSkuRestrictionInfoOutput; + readonly type?: "Location" | "Zone"; + readonly values?: Array; } // @public (undocumented) @@ -9332,8 +9075,8 @@ export interface ResourceSkusResultOutput { // @public export interface ResourceSkuZoneDetailsOutput { - capabilities?: Array; - name?: Array; + readonly capabilities?: Array; + readonly name?: Array; } // @public @@ -9344,20 +9087,17 @@ export interface ResourceUriListOutput { // @public export interface ResourceWithOptionalLocation { - id?: string; location?: string; - name?: string; tags?: Record; - type?: string; } // @public export interface ResourceWithOptionalLocationOutput { - id?: string; + readonly id?: string; location?: string; - name?: string; + readonly name?: string; tags?: Record; - type?: string; + readonly type?: string; } // @public @@ -9383,17 +9123,14 @@ export interface RestorePointCollectionOutput extends ResourceOutput { // @public export interface RestorePointCollectionProperties { - provisioningState?: string; - restorePointCollectionId?: string; - restorePoints?: Array; source?: RestorePointCollectionSourceProperties; } // @public export interface RestorePointCollectionPropertiesOutput { - provisioningState?: string; - restorePointCollectionId?: string; - restorePoints?: Array; + readonly provisioningState?: string; + readonly restorePointCollectionId?: string; + readonly restorePoints?: Array; source?: RestorePointCollectionSourcePropertiesOutput; } @@ -9455,24 +9192,18 @@ export interface RestorePointCollectionsCreateOrUpdateQueryParamProperties { // @public export interface RestorePointCollectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface RestorePointCollectionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface RestorePointCollectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -9603,13 +9334,12 @@ export interface RestorePointCollectionsListQueryParamProperties { // @public export interface RestorePointCollectionSourceProperties { id?: string; - location?: string; } // @public export interface RestorePointCollectionSourcePropertiesOutput { id?: string; - location?: string; + readonly location?: string; } // @public @@ -9678,9 +9408,6 @@ export interface RestorePointOutput extends ProxyResourceOutput { export interface RestorePointProperties { consistencyMode?: "CrashConsistent" | "FileSystemConsistent" | "ApplicationConsistent"; excludeDisks?: Array; - instanceView?: RestorePointInstanceView; - provisioningState?: string; - sourceMetadata?: RestorePointSourceMetadata; sourceRestorePoint?: ApiEntityReference; timeCreated?: Date | string; } @@ -9689,9 +9416,9 @@ export interface RestorePointProperties { export interface RestorePointPropertiesOutput { consistencyMode?: "CrashConsistent" | "FileSystemConsistent" | "ApplicationConsistent"; excludeDisks?: Array; - instanceView?: RestorePointInstanceViewOutput; - provisioningState?: string; - sourceMetadata?: RestorePointSourceMetadataOutput; + readonly instanceView?: RestorePointInstanceViewOutput; + readonly provisioningState?: string; + readonly sourceMetadata?: RestorePointSourceMetadataOutput; sourceRestorePoint?: ApiEntityReferenceOutput; timeCreated?: string; } @@ -9745,24 +9472,18 @@ export interface RestorePointsCreateQueryParamProperties { // @public export interface RestorePointsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface RestorePointsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface RestorePointsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -9900,8 +9621,8 @@ export interface RestorePointSourceVMStorageProfileOutput { // @public export interface RetrieveBootDiagnosticsDataResultOutput { - consoleScreenshotBlobUri?: string; - serialConsoleLogBlobUri?: string; + readonly consoleScreenshotBlobUri?: string; + readonly serialConsoleLogBlobUri?: string; } // @public @@ -9912,18 +9633,18 @@ export interface RoleInstanceListResultOutput { // @public export interface RoleInstanceNetworkProfileOutput { - networkInterfaces?: Array; + readonly networkInterfaces?: Array; } // @public export interface RoleInstanceOutput { - id?: string; - location?: string; - name?: string; + readonly id?: string; + readonly location?: string; + readonly name?: string; properties?: RoleInstancePropertiesOutput; sku?: InstanceSkuOutput; - tags?: Record; - type?: string; + readonly tags?: Record; + readonly type?: string; } // @public @@ -9939,18 +9660,18 @@ export interface RoleInstances { // @public export interface RoleInstanceViewOutput { - platformFaultDomain?: number; - platformUpdateDomain?: number; - privateId?: string; + readonly platformFaultDomain?: number; + readonly platformUpdateDomain?: number; + readonly privateId?: string; // (undocumented) - statuses?: Array; + readonly statuses?: Array; } // @public export interface RollbackStatusInfoOutput { - failedRolledbackInstanceCount?: number; - rollbackError?: ApiErrorOutput; - successfullyRolledbackInstanceCount?: number; + readonly failedRolledbackInstanceCount?: number; + readonly rollbackError?: ApiErrorOutput; + readonly successfullyRolledbackInstanceCount?: number; } // @public @@ -9975,34 +9696,26 @@ export interface RollingUpgradePolicyOutput { // @public export interface RollingUpgradeProgressInfo { - failedInstanceCount?: number; - inProgressInstanceCount?: number; - pendingInstanceCount?: number; - successfulInstanceCount?: number; } // @public export interface RollingUpgradeProgressInfoOutput { - failedInstanceCount?: number; - inProgressInstanceCount?: number; - pendingInstanceCount?: number; - successfulInstanceCount?: number; + readonly failedInstanceCount?: number; + readonly inProgressInstanceCount?: number; + readonly pendingInstanceCount?: number; + readonly successfulInstanceCount?: number; } // @public export interface RollingUpgradeRunningStatus { - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; - lastAction?: "Start" | "Cancel"; - lastActionTime?: Date | string; - startTime?: Date | string; } // @public export interface RollingUpgradeRunningStatusOutput { - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; - lastAction?: "Start" | "Cancel"; - lastActionTime?: string; - startTime?: string; + readonly code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; + readonly lastAction?: "Start" | "Cancel"; + readonly lastActionTime?: string; + readonly startTime?: string; } // @public @@ -10017,18 +9730,14 @@ export interface RollingUpgradeStatusInfoOutput extends ResourceOutput { // @public export interface RollingUpgradeStatusInfoProperties { - error?: ApiError; - policy?: RollingUpgradePolicy; - progress?: RollingUpgradeProgressInfo; - runningStatus?: RollingUpgradeRunningStatus; } // @public export interface RollingUpgradeStatusInfoPropertiesOutput { - error?: ApiErrorOutput; - policy?: RollingUpgradePolicyOutput; - progress?: RollingUpgradeProgressInfoOutput; - runningStatus?: RollingUpgradeRunningStatusOutput; + readonly error?: ApiErrorOutput; + readonly policy?: RollingUpgradePolicyOutput; + readonly progress?: RollingUpgradeProgressInfoOutput; + readonly runningStatus?: RollingUpgradeRunningStatusOutput; } // @public (undocumented) @@ -10395,7 +10104,7 @@ export interface SharedGalleryDataDiskImageOutput extends SharedGalleryDiskImage // @public export interface SharedGalleryDiskImageOutput { - diskSizeGB?: number; + readonly diskSizeGB?: number; hostCaching?: "None" | "ReadOnly" | "ReadWrite"; } @@ -10612,18 +10321,16 @@ export interface SharedGalleryOutput extends PirSharedGalleryResourceOutput { // @public (undocumented) export interface ShareInfoElement { - vmUri?: string; } // @public (undocumented) export interface ShareInfoElementOutput { - vmUri?: string; + readonly vmUri?: string; } // @public export interface SharingProfile { communityGalleryInfo?: CommunityGalleryInfo; - groups?: Array; permissions?: "Private" | "Groups" | "Community"; } @@ -10642,19 +10349,18 @@ export interface SharingProfileGroupOutput { // @public export interface SharingProfileOutput { communityGalleryInfo?: CommunityGalleryInfoOutput; - groups?: Array; + readonly groups?: Array; permissions?: "Private" | "Groups" | "Community"; } // @public export interface SharingStatus { - aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; summary?: Array; } // @public export interface SharingStatusOutput { - aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; + readonly aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; summary?: Array; } @@ -10670,6 +10376,28 @@ export interface SharingUpdateOutput { operationType: "Add" | "Remove" | "Reset" | "EnableCommunity"; } +// @public +export interface SimplePollerLike, TResult> { + getOperationState(): TState; + getResult(): TResult | undefined; + isDone(): boolean; + // @deprecated + isStopped(): boolean; + onProgress(callback: (state: TState) => void): CancelOnProgress; + poll(options?: { + abortSignal?: AbortSignalLike; + }): Promise; + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + serialize(): Promise; + // @deprecated + stopPolling(): void; + submitted(): Promise; + // @deprecated + toString(): string; +} + // @public export interface Sku { capacity?: number; @@ -10687,7 +10415,6 @@ export interface SkuOutput { // @public export interface Snapshot extends Resource { extendedLocation?: ExtendedLocation; - managedBy?: string; properties?: SnapshotProperties; sku?: SnapshotSku; } @@ -10701,7 +10428,7 @@ export interface SnapshotListOutput { // @public export interface SnapshotOutput extends ResourceOutput { extendedLocation?: ExtendedLocationOutput; - managedBy?: string; + readonly managedBy?: string; properties?: SnapshotPropertiesOutput; sku?: SnapshotSkuOutput; } @@ -10713,24 +10440,18 @@ export interface SnapshotProperties { creationData: CreationData; dataAccessAuthMode?: "AzureActiveDirectory" | "None"; diskAccessId?: string; - diskSizeBytes?: number; diskSizeGB?: number; - diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; encryption?: Encryption; encryptionSettingsCollection?: EncryptionSettingsCollection; hyperVGeneration?: "V1" | "V2"; incremental?: boolean; - incrementalSnapshotFamilyId?: string; networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; osType?: "Windows" | "Linux"; - provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGenerated; securityProfile?: DiskSecurityProfile; supportedCapabilities?: SupportedCapabilities; supportsHibernation?: boolean; - timeCreated?: Date | string; - uniqueId?: string; } // @public @@ -10740,24 +10461,24 @@ export interface SnapshotPropertiesOutput { creationData: CreationDataOutput; dataAccessAuthMode?: "AzureActiveDirectory" | "None"; diskAccessId?: string; - diskSizeBytes?: number; + readonly diskSizeBytes?: number; diskSizeGB?: number; - diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; + readonly diskState?: "Unattached" | "Attached" | "Reserved" | "Frozen" | "ActiveSAS" | "ActiveSASFrozen" | "ReadyToUpload" | "ActiveUpload"; encryption?: EncryptionOutput; encryptionSettingsCollection?: EncryptionSettingsCollectionOutput; hyperVGeneration?: "V1" | "V2"; incremental?: boolean; - incrementalSnapshotFamilyId?: string; + readonly incrementalSnapshotFamilyId?: string; networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; osType?: "Windows" | "Linux"; - provisioningState?: string; + readonly provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; purchasePlan?: PurchasePlanAutoGeneratedOutput; securityProfile?: DiskSecurityProfileOutput; supportedCapabilities?: SupportedCapabilitiesOutput; supportsHibernation?: boolean; - timeCreated?: string; - uniqueId?: string; + readonly timeCreated?: string; + readonly uniqueId?: string; } // @public (undocumented) @@ -10810,24 +10531,18 @@ export interface SnapshotsCreateOrUpdateQueryParamProperties { // @public export interface SnapshotsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SnapshotsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface SnapshotsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -10883,8 +10598,6 @@ export interface SnapshotsGrantAccess200Response extends HttpResponse { // @public export interface SnapshotsGrantAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -10916,13 +10629,12 @@ export interface SnapshotsGrantAccessQueryParamProperties { // @public export interface SnapshotSku { name?: "Standard_LRS" | "Premium_LRS" | "Standard_ZRS"; - tier?: string; } // @public export interface SnapshotSkuOutput { name?: "Standard_LRS" | "Premium_LRS" | "Standard_ZRS"; - tier?: string; + readonly tier?: string; } // @public (undocumented) @@ -10986,16 +10698,12 @@ export interface SnapshotsRevokeAccess { // @public export interface SnapshotsRevokeAccess200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SnapshotsRevokeAccess202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -11214,16 +10922,12 @@ export interface SshPublicKeysCreateQueryParamProperties { // @public export interface SshPublicKeysDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SshPublicKeysDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -11438,8 +11142,8 @@ export interface SshPublicKeyUpdateResource extends UpdateResource { // @public export interface StatusCodeCountOutput { - code?: string; - count?: number; + readonly code?: string; + readonly count?: number; } // @public @@ -11470,12 +11174,11 @@ export interface SubResourceOutput { // @public (undocumented) export interface SubResourceReadOnly { - id?: string; } // @public (undocumented) export interface SubResourceReadOnlyOutput { - id?: string; + readonly id?: string; } // @public (undocumented) @@ -11504,14 +11207,12 @@ export interface SupportedCapabilitiesOutput { // @public export interface SystemData { - createdAt?: Date | string; - lastModifiedAt?: Date | string; } // @public export interface SystemDataOutput { - createdAt?: string; - lastModifiedAt?: string; + readonly createdAt?: string; + readonly lastModifiedAt?: string; } // @public @@ -11560,8 +11261,6 @@ export interface UefiSettingsOutput { // @public export interface UpdateDomain { - id?: string; - name?: string; } // @public @@ -11572,8 +11271,8 @@ export interface UpdateDomainListResultOutput { // @public export interface UpdateDomainOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; } // @public @@ -11583,34 +11282,31 @@ export interface UpdateResource { // @public export interface UpdateResourceDefinition { - id?: string; - name?: string; tags?: Record; - type?: string; } // @public export interface UpgradeOperationHistoricalStatusInfoOutput { - location?: string; - properties?: UpgradeOperationHistoricalStatusInfoPropertiesOutput; - type?: string; + readonly location?: string; + readonly properties?: UpgradeOperationHistoricalStatusInfoPropertiesOutput; + readonly type?: string; } // @public export interface UpgradeOperationHistoricalStatusInfoPropertiesOutput { - error?: ApiErrorOutput; - progress?: RollingUpgradeProgressInfoOutput; - rollbackInfo?: RollbackStatusInfoOutput; - runningStatus?: UpgradeOperationHistoryStatusOutput; - startedBy?: "Unknown" | "User" | "Platform"; - targetImageReference?: ImageReferenceOutput; + readonly error?: ApiErrorOutput; + readonly progress?: RollingUpgradeProgressInfoOutput; + readonly rollbackInfo?: RollbackStatusInfoOutput; + readonly runningStatus?: UpgradeOperationHistoryStatusOutput; + readonly startedBy?: "Unknown" | "User" | "Platform"; + readonly targetImageReference?: ImageReferenceOutput; } // @public export interface UpgradeOperationHistoryStatusOutput { - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; - endTime?: string; - startTime?: string; + readonly code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; + readonly endTime?: string; + readonly startTime?: string; } // @public @@ -11716,14 +11412,12 @@ export interface UserArtifactSourceOutput { // @public (undocumented) export interface UserAssignedIdentitiesValue { - clientId?: string; - principalId?: string; } // @public (undocumented) export interface UserAssignedIdentitiesValueOutput { - clientId?: string; - principalId?: string; + readonly clientId?: string; + readonly principalId?: string; } // @public @@ -11766,7 +11460,6 @@ export interface VirtualMachine extends Resource { identity?: VirtualMachineIdentity; plan?: Plan; properties?: VirtualMachineProperties; - resources?: Array; zones?: Array; } @@ -11786,14 +11479,14 @@ export interface VirtualMachineAgentInstanceViewOutput { // @public export interface VirtualMachineAssessPatchesResultOutput { - assessmentActivityId?: string; - availablePatches?: Array; - criticalAndSecurityPatchCount?: number; - error?: ApiErrorOutput; - otherPatchCount?: number; - rebootPending?: boolean; - startDateTime?: string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly assessmentActivityId?: string; + readonly availablePatches?: Array; + readonly criticalAndSecurityPatchCount?: number; + readonly error?: ApiErrorOutput; + readonly otherPatchCount?: number; + readonly rebootPending?: boolean; + readonly startDateTime?: string; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public @@ -11805,18 +11498,14 @@ export interface VirtualMachineCaptureParameters { // @public export interface VirtualMachineCaptureResult extends SubResource { - $schema?: string; - contentVersion?: string; - parameters?: any; - resources?: Array; } // @public export interface VirtualMachineCaptureResultOutput extends SubResourceOutput { - $schema?: string; - contentVersion?: string; - parameters?: any; - resources?: Array; + readonly $schema?: string; + readonly contentVersion?: string; + readonly parameters?: any; + readonly resources?: Array; } // @public @@ -12007,7 +11696,6 @@ export interface VirtualMachineExtensionProperties { instanceView?: VirtualMachineExtensionInstanceView; protectedSettings?: any; protectedSettingsFromKeyVault?: KeyVaultSecretReference; - provisioningState?: string; publisher?: string; settings?: any; suppressFailures?: boolean; @@ -12023,7 +11711,7 @@ export interface VirtualMachineExtensionPropertiesOutput { instanceView?: VirtualMachineExtensionInstanceViewOutput; protectedSettings?: any; protectedSettingsFromKeyVault?: KeyVaultSecretReferenceOutput; - provisioningState?: string; + readonly provisioningState?: string; publisher?: string; settings?: any; suppressFailures?: boolean; @@ -12089,24 +11777,18 @@ export interface VirtualMachineExtensionsCreateOrUpdateQueryParamProperties { // @public export interface VirtualMachineExtensionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineExtensionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineExtensionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -12280,26 +11962,23 @@ export interface VirtualMachineExtensionUpdatePropertiesOutput { // @public export interface VirtualMachineHealthStatus { - status?: InstanceViewStatus; } // @public export interface VirtualMachineHealthStatusOutput { - status?: InstanceViewStatusOutput; + readonly status?: InstanceViewStatusOutput; } // @public export interface VirtualMachineIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } // @public export interface VirtualMachineIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } @@ -12773,23 +12452,22 @@ export interface VirtualMachineInstallPatchesParameters { // @public export interface VirtualMachineInstallPatchesResultOutput { - error?: ApiErrorOutput; - excludedPatchCount?: number; - failedPatchCount?: number; - installationActivityId?: string; - installedPatchCount?: number; - maintenanceWindowExceeded?: boolean; - notSelectedPatchCount?: number; - patches?: Array; - pendingPatchCount?: number; - rebootStatus?: "Unknown" | "NotNeeded" | "Required" | "Started" | "Failed" | "Completed"; - startDateTime?: string; - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly error?: ApiErrorOutput; + readonly excludedPatchCount?: number; + readonly failedPatchCount?: number; + readonly installationActivityId?: string; + readonly installedPatchCount?: number; + readonly maintenanceWindowExceeded?: boolean; + readonly notSelectedPatchCount?: number; + readonly patches?: Array; + readonly pendingPatchCount?: number; + readonly rebootStatus?: "Unknown" | "NotNeeded" | "Required" | "Started" | "Failed" | "Completed"; + readonly startDateTime?: string; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; } // @public export interface VirtualMachineInstanceView { - assignedHost?: string; bootDiagnostics?: BootDiagnosticsInstanceView; computerName?: string; disks?: Array; @@ -12804,12 +12482,11 @@ export interface VirtualMachineInstanceView { rdpThumbPrint?: string; statuses?: Array; vmAgent?: VirtualMachineAgentInstanceView; - vmHealth?: VirtualMachineHealthStatus; } // @public export interface VirtualMachineInstanceViewOutput { - assignedHost?: string; + readonly assignedHost?: string; bootDiagnostics?: BootDiagnosticsInstanceViewOutput; computerName?: string; disks?: Array; @@ -12824,7 +12501,7 @@ export interface VirtualMachineInstanceViewOutput { rdpThumbPrint?: string; statuses?: Array; vmAgent?: VirtualMachineAgentInstanceViewOutput; - vmHealth?: VirtualMachineHealthStatusOutput; + readonly vmHealth?: VirtualMachineHealthStatusOutput; } // @public @@ -12937,21 +12614,20 @@ export interface VirtualMachineOutput extends ResourceOutput { identity?: VirtualMachineIdentityOutput; plan?: PlanOutput; properties?: VirtualMachinePropertiesOutput; - resources?: Array; + readonly resources?: Array; zones?: Array; } // @public export interface VirtualMachinePatchStatus { availablePatchSummary?: AvailablePatchSummary; - configurationStatuses?: Array; lastPatchInstallationSummary?: LastPatchInstallationSummary; } // @public export interface VirtualMachinePatchStatusOutput { availablePatchSummary?: AvailablePatchSummaryOutput; - configurationStatuses?: Array; + readonly configurationStatuses?: Array; lastPatchInstallationSummary?: LastPatchInstallationSummaryOutput; } @@ -12968,21 +12644,17 @@ export interface VirtualMachineProperties { hardwareProfile?: HardwareProfile; host?: SubResource; hostGroup?: SubResource; - instanceView?: VirtualMachineInstanceView; licenseType?: string; networkProfile?: NetworkProfile; osProfile?: OSProfile; platformFaultDomain?: number; priority?: "Regular" | "Low" | "Spot"; - provisioningState?: string; proximityPlacementGroup?: SubResource; scheduledEventsProfile?: ScheduledEventsProfile; securityProfile?: SecurityProfile; storageProfile?: StorageProfile; - timeCreated?: Date | string; userData?: string; virtualMachineScaleSet?: SubResource; - vmId?: string; } // @public @@ -12998,21 +12670,21 @@ export interface VirtualMachinePropertiesOutput { hardwareProfile?: HardwareProfileOutput; host?: SubResourceOutput; hostGroup?: SubResourceOutput; - instanceView?: VirtualMachineInstanceViewOutput; + readonly instanceView?: VirtualMachineInstanceViewOutput; licenseType?: string; networkProfile?: NetworkProfileOutput; osProfile?: OSProfileOutput; platformFaultDomain?: number; priority?: "Regular" | "Low" | "Spot"; - provisioningState?: string; + readonly provisioningState?: string; proximityPlacementGroup?: SubResourceOutput; scheduledEventsProfile?: ScheduledEventsProfileOutput; securityProfile?: SecurityProfileOutput; storageProfile?: StorageProfileOutput; - timeCreated?: string; + readonly timeCreated?: string; userData?: string; virtualMachineScaleSet?: SubResourceOutput; - vmId?: string; + readonly vmId?: string; } // @public @@ -13104,11 +12776,9 @@ export interface VirtualMachineRunCommandOutput extends ResourceOutput { export interface VirtualMachineRunCommandProperties { asyncExecution?: boolean; errorBlobUri?: string; - instanceView?: VirtualMachineRunCommandInstanceView; outputBlobUri?: string; parameters?: Array; protectedParameters?: Array; - provisioningState?: string; runAsPassword?: string; runAsUser?: string; source?: VirtualMachineRunCommandScriptSource; @@ -13119,11 +12789,11 @@ export interface VirtualMachineRunCommandProperties { export interface VirtualMachineRunCommandPropertiesOutput { asyncExecution?: boolean; errorBlobUri?: string; - instanceView?: VirtualMachineRunCommandInstanceViewOutput; + readonly instanceView?: VirtualMachineRunCommandInstanceViewOutput; outputBlobUri?: string; parameters?: Array; protectedParameters?: Array; - provisioningState?: string; + readonly provisioningState?: string; runAsPassword?: string; runAsUser?: string; source?: VirtualMachineRunCommandScriptSourceOutput; @@ -13202,24 +12872,18 @@ export interface VirtualMachineRunCommandScriptSourceOutput { // @public export interface VirtualMachineRunCommandsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineRunCommandsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineRunCommandsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -13433,8 +13097,6 @@ export interface VirtualMachinesAssessPatches200Response extends HttpResponse { // @public export interface VirtualMachinesAssessPatches202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -13503,7 +13165,6 @@ export interface VirtualMachineScaleSetDataDiskOutput { export interface VirtualMachineScaleSetExtension extends SubResourceReadOnly { name?: string; properties?: VirtualMachineScaleSetExtensionProperties; - type?: string; } // @public @@ -13516,7 +13177,7 @@ export interface VirtualMachineScaleSetExtensionListResultOutput { export interface VirtualMachineScaleSetExtensionOutput extends SubResourceReadOnlyOutput { name?: string; properties?: VirtualMachineScaleSetExtensionPropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -13539,7 +13200,6 @@ export interface VirtualMachineScaleSetExtensionProperties { protectedSettings?: any; protectedSettingsFromKeyVault?: KeyVaultSecretReference; provisionAfterExtensions?: Array; - provisioningState?: string; publisher?: string; settings?: any; suppressFailures?: boolean; @@ -13555,7 +13215,7 @@ export interface VirtualMachineScaleSetExtensionPropertiesOutput { protectedSettings?: any; protectedSettingsFromKeyVault?: KeyVaultSecretReferenceOutput; provisionAfterExtensions?: Array; - provisioningState?: string; + readonly provisioningState?: string; publisher?: string; settings?: any; suppressFailures?: boolean; @@ -13621,24 +13281,18 @@ export interface VirtualMachineScaleSetExtensionsCreateOrUpdateQueryParamPropert // @public export interface VirtualMachineScaleSetExtensionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetExtensionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineScaleSetExtensionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -13781,16 +13435,14 @@ export interface VirtualMachineScaleSetExtensionsUpdateQueryParamProperties { // @public export interface VirtualMachineScaleSetExtensionUpdate extends SubResourceReadOnly { - name?: string; properties?: VirtualMachineScaleSetExtensionProperties; - type?: string; } // @public export interface VirtualMachineScaleSetExtensionUpdateOutput extends SubResourceReadOnlyOutput { - name?: string; + readonly name?: string; properties?: VirtualMachineScaleSetExtensionPropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -13805,31 +13457,29 @@ export interface VirtualMachineScaleSetHardwareProfileOutput { // @public export interface VirtualMachineScaleSetIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } // @public export interface VirtualMachineScaleSetIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; userAssignedIdentities?: Record; } // @public export interface VirtualMachineScaleSetInstanceViewOutput { - extensions?: Array; - orchestrationServices?: Array; + readonly extensions?: Array; + readonly orchestrationServices?: Array; statuses?: Array; - virtualMachine?: VirtualMachineScaleSetInstanceViewStatusesSummaryOutput; + readonly virtualMachine?: VirtualMachineScaleSetInstanceViewStatusesSummaryOutput; } // @public export interface VirtualMachineScaleSetInstanceViewStatusesSummaryOutput { - statusesSummary?: Array; + readonly statusesSummary?: Array; } // @public @@ -14054,13 +13704,10 @@ export interface VirtualMachineScaleSetProperties { overprovision?: boolean; platformFaultDomainCount?: number; priorityMixPolicy?: PriorityMixPolicy; - provisioningState?: string; proximityPlacementGroup?: SubResource; scaleInPolicy?: ScaleInPolicy; singlePlacementGroup?: boolean; spotRestorePolicy?: SpotRestorePolicy; - timeCreated?: Date | string; - uniqueId?: string; upgradePolicy?: UpgradePolicy; virtualMachineProfile?: VirtualMachineScaleSetVMProfile; zoneBalance?: boolean; @@ -14076,13 +13723,13 @@ export interface VirtualMachineScaleSetPropertiesOutput { overprovision?: boolean; platformFaultDomainCount?: number; priorityMixPolicy?: PriorityMixPolicyOutput; - provisioningState?: string; + readonly provisioningState?: string; proximityPlacementGroup?: SubResourceOutput; scaleInPolicy?: ScaleInPolicyOutput; singlePlacementGroup?: boolean; spotRestorePolicy?: SpotRestorePolicyOutput; - timeCreated?: string; - uniqueId?: string; + readonly timeCreated?: string; + readonly uniqueId?: string; upgradePolicy?: UpgradePolicyOutput; virtualMachineProfile?: VirtualMachineScaleSetVMProfileOutput; zoneBalance?: boolean; @@ -14144,16 +13791,12 @@ export interface VirtualMachineScaleSetRollingUpgradesCancel { // @public export interface VirtualMachineScaleSetRollingUpgradesCancel200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetRollingUpgradesCancel202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14222,16 +13865,12 @@ export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade { // @public export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14265,16 +13904,12 @@ export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade { // @public export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14308,8 +13943,6 @@ export interface VirtualMachineScaleSetsConvertToSinglePlacementGroup { // @public export interface VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -14409,16 +14042,12 @@ export interface VirtualMachineScaleSetsDeallocate { // @public export interface VirtualMachineScaleSetsDeallocate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsDeallocate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14457,24 +14086,18 @@ export interface VirtualMachineScaleSetsDeallocateQueryParamProperties { // @public export interface VirtualMachineScaleSetsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineScaleSetsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -14494,16 +14117,12 @@ export interface VirtualMachineScaleSetsDeleteInstances { // @public export interface VirtualMachineScaleSetsDeleteInstances200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsDeleteInstances202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14697,17 +14316,17 @@ export interface VirtualMachineScaleSetsGetQueryParamProperties { // @public export interface VirtualMachineScaleSetSkuCapacityOutput { - defaultCapacity?: number; - maximum?: number; - minimum?: number; - scaleType?: "Automatic" | "None"; + readonly defaultCapacity?: number; + readonly maximum?: number; + readonly minimum?: number; + readonly scaleType?: "Automatic" | "None"; } // @public export interface VirtualMachineScaleSetSkuOutput { - capacity?: VirtualMachineScaleSetSkuCapacityOutput; - resourceType?: string; - sku?: SkuOutput; + readonly capacity?: VirtualMachineScaleSetSkuCapacityOutput; + readonly resourceType?: string; + readonly sku?: SkuOutput; } // @public (undocumented) @@ -14857,16 +14476,12 @@ export interface VirtualMachineScaleSetsPerformMaintenance { // @public export interface VirtualMachineScaleSetsPerformMaintenance200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsPerformMaintenance202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14910,16 +14525,12 @@ export interface VirtualMachineScaleSetsPowerOff { // @public export interface VirtualMachineScaleSetsPowerOff200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsPowerOff202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -14964,16 +14575,12 @@ export interface VirtualMachineScaleSetsRedeploy { // @public export interface VirtualMachineScaleSetsRedeploy200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsRedeploy202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15017,16 +14624,12 @@ export interface VirtualMachineScaleSetsReimage { // @public export interface VirtualMachineScaleSetsReimage200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsReimage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15038,16 +14641,12 @@ export interface VirtualMachineScaleSetsReimageAll { // @public export interface VirtualMachineScaleSetsReimageAll200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsReimageAll202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15123,16 +14722,12 @@ export interface VirtualMachineScaleSetsRestart { // @public export interface VirtualMachineScaleSetsRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsRestart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15176,16 +14771,12 @@ export interface VirtualMachineScaleSetsSetOrchestrationServiceState { // @public export interface VirtualMachineScaleSetsSetOrchestrationServiceState200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsSetOrchestrationServiceState202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15229,16 +14820,12 @@ export interface VirtualMachineScaleSetsStart { // @public export interface VirtualMachineScaleSetsStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15321,16 +14908,12 @@ export interface VirtualMachineScaleSetsUpdateInstances { // @public export interface VirtualMachineScaleSetsUpdateInstances200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetsUpdateInstances202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -15562,26 +15145,20 @@ export interface VirtualMachineScaleSetUpdateVMProfile { // @public export interface VirtualMachineScaleSetVM extends Resource { identity?: VirtualMachineIdentity; - instanceId?: string; plan?: Plan; properties?: VirtualMachineScaleSetVMProperties; - resources?: Array; - sku?: Sku; - zones?: Array; } // @public export interface VirtualMachineScaleSetVMExtension extends SubResourceReadOnly { - name?: string; properties?: VirtualMachineExtensionProperties; - type?: string; } // @public export interface VirtualMachineScaleSetVMExtensionOutput extends SubResourceReadOnlyOutput { - name?: string; + readonly name?: string; properties?: VirtualMachineExtensionPropertiesOutput; - type?: string; + readonly type?: string; } // @public (undocumented) @@ -15642,24 +15219,18 @@ export interface VirtualMachineScaleSetVMExtensionsCreateOrUpdateQueryParamPrope // @public export interface VirtualMachineScaleSetVMExtensionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMExtensionsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineScaleSetVMExtensionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -15760,8 +15331,8 @@ export interface VirtualMachineScaleSetVMExtensionsListResultOutput { // @public export interface VirtualMachineScaleSetVMExtensionsSummaryOutput { - name?: string; - statusesSummary?: Array; + readonly name?: string; + readonly statusesSummary?: Array; } // @public @@ -15806,16 +15377,14 @@ export interface VirtualMachineScaleSetVMExtensionsUpdateQueryParamProperties { // @public export interface VirtualMachineScaleSetVMExtensionUpdate extends SubResourceReadOnly { - name?: string; properties?: VirtualMachineExtensionUpdateProperties; - type?: string; } // @public export interface VirtualMachineScaleSetVMExtensionUpdateOutput extends SubResourceReadOnlyOutput { - name?: string; + readonly name?: string; properties?: VirtualMachineExtensionUpdatePropertiesOutput; - type?: string; + readonly type?: string; } // @public @@ -15830,7 +15399,6 @@ export interface VirtualMachineScaleSetVMInstanceRequiredIDs { // @public export interface VirtualMachineScaleSetVMInstanceView { - assignedHost?: string; bootDiagnostics?: BootDiagnosticsInstanceView; disks?: Array; extensions?: Array; @@ -15841,12 +15409,11 @@ export interface VirtualMachineScaleSetVMInstanceView { rdpThumbPrint?: string; statuses?: Array; vmAgent?: VirtualMachineAgentInstanceView; - vmHealth?: VirtualMachineHealthStatus; } // @public export interface VirtualMachineScaleSetVMInstanceViewOutput { - assignedHost?: string; + readonly assignedHost?: string; bootDiagnostics?: BootDiagnosticsInstanceViewOutput; disks?: Array; extensions?: Array; @@ -15857,7 +15424,7 @@ export interface VirtualMachineScaleSetVMInstanceViewOutput { rdpThumbPrint?: string; statuses?: Array; vmAgent?: VirtualMachineAgentInstanceViewOutput; - vmHealth?: VirtualMachineHealthStatusOutput; + readonly vmHealth?: VirtualMachineHealthStatusOutput; } // @public @@ -15879,12 +15446,12 @@ export interface VirtualMachineScaleSetVMNetworkProfileConfigurationOutput { // @public export interface VirtualMachineScaleSetVMOutput extends ResourceOutput { identity?: VirtualMachineIdentityOutput; - instanceId?: string; + readonly instanceId?: string; plan?: PlanOutput; properties?: VirtualMachineScaleSetVMPropertiesOutput; - resources?: Array; - sku?: SkuOutput; - zones?: Array; + readonly resources?: Array; + readonly sku?: SkuOutput; + readonly zones?: Array; } // @public @@ -15931,19 +15498,14 @@ export interface VirtualMachineScaleSetVMProperties { availabilitySet?: SubResource; diagnosticsProfile?: DiagnosticsProfile; hardwareProfile?: HardwareProfile; - instanceView?: VirtualMachineScaleSetVMInstanceView; - latestModelApplied?: boolean; licenseType?: string; - modelDefinitionApplied?: string; networkProfile?: NetworkProfile; networkProfileConfiguration?: VirtualMachineScaleSetVMNetworkProfileConfiguration; osProfile?: OSProfile; protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicy; - provisioningState?: string; securityProfile?: SecurityProfile; storageProfile?: StorageProfile; userData?: string; - vmId?: string; } // @public @@ -15952,19 +15514,19 @@ export interface VirtualMachineScaleSetVMPropertiesOutput { availabilitySet?: SubResourceOutput; diagnosticsProfile?: DiagnosticsProfileOutput; hardwareProfile?: HardwareProfileOutput; - instanceView?: VirtualMachineScaleSetVMInstanceViewOutput; - latestModelApplied?: boolean; + readonly instanceView?: VirtualMachineScaleSetVMInstanceViewOutput; + readonly latestModelApplied?: boolean; licenseType?: string; - modelDefinitionApplied?: string; + readonly modelDefinitionApplied?: string; networkProfile?: NetworkProfileOutput; networkProfileConfiguration?: VirtualMachineScaleSetVMNetworkProfileConfigurationOutput; osProfile?: OSProfileOutput; protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicyOutput; - provisioningState?: string; + readonly provisioningState?: string; securityProfile?: SecurityProfileOutput; storageProfile?: StorageProfileOutput; userData?: string; - vmId?: string; + readonly vmId?: string; } // @public @@ -16041,24 +15603,18 @@ export interface VirtualMachineScaleSetVMRunCommandsCreateOrUpdateQueryParamProp // @public export interface VirtualMachineScaleSetVMRunCommandsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMRunCommandsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineScaleSetVMRunCommandsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -16199,16 +15755,12 @@ export interface VirtualMachineScaleSetVMsDeallocate { // @public export interface VirtualMachineScaleSetVMsDeallocate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsDeallocate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16237,24 +15789,18 @@ export interface VirtualMachineScaleSetVMsDeallocateQueryParamProperties { // @public export interface VirtualMachineScaleSetVMsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachineScaleSetVMsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -16393,16 +15939,12 @@ export interface VirtualMachineScaleSetVMsPerformMaintenance { // @public export interface VirtualMachineScaleSetVMsPerformMaintenance200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsPerformMaintenance202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16436,16 +15978,12 @@ export interface VirtualMachineScaleSetVMsPowerOff { // @public export interface VirtualMachineScaleSetVMsPowerOff200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsPowerOff202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16480,16 +16018,12 @@ export interface VirtualMachineScaleSetVMsRedeploy { // @public export interface VirtualMachineScaleSetVMsRedeploy200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsRedeploy202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16523,16 +16057,12 @@ export interface VirtualMachineScaleSetVMsReimage { // @public export interface VirtualMachineScaleSetVMsReimage200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsReimage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16544,16 +16074,12 @@ export interface VirtualMachineScaleSetVMsReimageAll { // @public export interface VirtualMachineScaleSetVMsReimageAll200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsReimageAll202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16619,16 +16145,12 @@ export interface VirtualMachineScaleSetVMsRestart { // @public export interface VirtualMachineScaleSetVMsRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsRestart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16706,8 +16228,6 @@ export interface VirtualMachineScaleSetVMsRunCommand200Response extends HttpResp // @public export interface VirtualMachineScaleSetVMsRunCommand202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16743,8 +16263,6 @@ export interface VirtualMachineScaleSetVMsSimulateEviction { // @public export interface VirtualMachineScaleSetVMsSimulateEviction204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -16778,16 +16296,12 @@ export interface VirtualMachineScaleSetVMsStart { // @public export interface VirtualMachineScaleSetVMsStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachineScaleSetVMsStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16884,8 +16398,6 @@ export interface VirtualMachinesCapture200Response extends HttpResponse { // @public export interface VirtualMachinesCapture202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -16929,16 +16441,12 @@ export interface VirtualMachinesConvertToManagedDisks { // @public export interface VirtualMachinesConvertToManagedDisks200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesConvertToManagedDisks202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17028,16 +16536,12 @@ export interface VirtualMachinesDeallocate { // @public export interface VirtualMachinesDeallocate200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesDeallocate202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17067,24 +16571,18 @@ export interface VirtualMachinesDeallocateQueryParamProperties { // @public export interface VirtualMachinesDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface VirtualMachinesDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -17119,8 +16617,6 @@ export interface VirtualMachinesGeneralize { // @public export interface VirtualMachinesGeneralize200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -17193,8 +16689,6 @@ export interface VirtualMachinesInstallPatches200Response extends HttpResponse { // @public export interface VirtualMachinesInstallPatches202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17461,16 +16955,16 @@ export interface VirtualMachinesListQueryParamProperties { // @public export interface VirtualMachineSoftwarePatchPropertiesOutput { - activityId?: string; - assessmentState?: "Unknown" | "Available"; - classifications?: Array; - kbId?: string; - lastModifiedDateTime?: string; - name?: string; - patchId?: string; - publishedDate?: string; - rebootBehavior?: "Unknown" | "NeverReboots" | "AlwaysRequiresReboot" | "CanRequestReboot"; - version?: string; + readonly activityId?: string; + readonly assessmentState?: "Unknown" | "Available"; + readonly classifications?: Array; + readonly kbId?: string; + readonly lastModifiedDateTime?: string; + readonly name?: string; + readonly patchId?: string; + readonly publishedDate?: string; + readonly rebootBehavior?: "Unknown" | "NeverReboots" | "AlwaysRequiresReboot" | "CanRequestReboot"; + readonly version?: string; } // @public (undocumented) @@ -17480,16 +16974,12 @@ export interface VirtualMachinesPerformMaintenance { // @public export interface VirtualMachinesPerformMaintenance200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesPerformMaintenance202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17523,16 +17013,12 @@ export interface VirtualMachinesPowerOff { // @public export interface VirtualMachinesPowerOff200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesPowerOff202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17567,16 +17053,12 @@ export interface VirtualMachinesReapply { // @public export interface VirtualMachinesReapply200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesReapply202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17610,16 +17092,12 @@ export interface VirtualMachinesRedeploy { // @public export interface VirtualMachinesRedeploy200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesRedeploy202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17653,16 +17131,12 @@ export interface VirtualMachinesReimage { // @public export interface VirtualMachinesReimage200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesReimage202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17706,16 +17180,12 @@ export interface VirtualMachinesRestart { // @public export interface VirtualMachinesRestart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesRestart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17793,8 +17263,6 @@ export interface VirtualMachinesRunCommand200Response extends HttpResponse { // @public export interface VirtualMachinesRunCommand202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17830,8 +17298,6 @@ export interface VirtualMachinesSimulateEviction { // @public export interface VirtualMachinesSimulateEviction204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } @@ -17865,16 +17331,12 @@ export interface VirtualMachinesStart { // @public export interface VirtualMachinesStart200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface VirtualMachinesStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -17903,8 +17365,8 @@ export interface VirtualMachinesStartQueryParamProperties { // @public export interface VirtualMachineStatusCodeCountOutput { - code?: string; - count?: number; + readonly code?: string; + readonly count?: number; } // @public diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsCreateOrUpdateSample.ts index 0e20f897e7a9..6bdb1186ef99 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update an availability set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsDeleteSample.ts index 45a5838d46aa..b4d705c917fd 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete an availability set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsGetSample.ts index bb172c59a7e4..4a588e6b8344 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about an availability set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListAvailableSizesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListAvailableSizesSample.ts index 168987927e18..dd973f99cbed 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListAvailableSizesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListAvailableSizesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListBySubscriptionSample.ts index ed41ed49d0d4..e645036afed1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all availability sets in a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListSample.ts index 6cd594b4ee8d..4a5334c3e6a5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all availability sets in a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsUpdateSample.ts index 3c94caafeafd..f4e6dae88b55 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/availabilitySetsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { AvailabilitySetsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an availability set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsCreateOrUpdateSample.ts index df6922d1be1f..84214680c100 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. Please refer to https://aka.ms/CapacityReservation for more details. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsDeleteSample.ts index 16f30a807e0c..7c07d53064e0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsGetSample.ts index 7e17cdfb0db5..9e7272b918ec 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation that retrieves information about a capacity reservation group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListByResourceGroupSample.ts index 3cca5efe770d..e5e6d6485ea1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservation groups in the specified resource group. Use the nextLink property in the response to get the next page of capacity reservation groups. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListBySubscriptionSample.ts index 7d9fa23a9d4e..2477d0770db5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsUpdateSample.ts index b56f5041808a..8b5f8e4feddb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationGroupsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts index 3c6e1fb266f9..1970ec32074c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a capacity reservation. Please note some properties can be set only during capacity reservation creation. Please refer to https://aka.ms/CapacityReservation for more details. @@ -43,7 +41,7 @@ async function createOrUpdateACapacityReservation() { capacityReservationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts index 796b3dbd254b..4a83ec86169a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. @@ -37,7 +35,7 @@ async function capacityReservationsDeleteMaximumSetGen() { capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function capacityReservationsDeleteMinimumSetGen() { capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsGetSample.ts index 0091b636faad..714d71dc3d5f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CapacityReservationsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation that retrieves information about the capacity reservation. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsListByCapacityReservationGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsListByCapacityReservationGroupSample.ts index aab6b58afa56..dbf86e3c690a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsListByCapacityReservationGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsListByCapacityReservationGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations. diff --git a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts index 22bbf9b33a98..7bdf7754bd6c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/capacityReservationsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a capacity reservation. @@ -55,7 +53,7 @@ async function capacityReservationsUpdateMaximumSetGen() { capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -87,7 +85,7 @@ async function capacityReservationsUpdateMinimumSetGen() { capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts index 5a7ce1b231ed..e30510927d71 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceOperatingSystemsGetOSFamilyParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts index 342fa8af5048..6bd5428b7826 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceOperatingSystemsGetOSVersionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts index a863c17a9cbc..4afd1396b0b6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts index f1946864f10b..5ac5b8cdfa37 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts index fe35b3ec07cf..1befc1ef6e74 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a role instance from a cloud service. @@ -37,7 +35,7 @@ async function deleteCloudServiceRoleInstance() { roleInstanceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts index e3a2fcd42ff1..bfb7f0c5a3cf 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRoleInstancesGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the run-time state of a role instance in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts index 716fe501ce31..1a9b9fa7540f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRoleInstancesGetRemoteDesktopFileParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a remote desktop file for a role instance in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetSample.ts index 29bac85f73bd..e5538ed69765 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRoleInstancesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a role instance from a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesListSample.ts index 1e337750aca4..56aca123a80c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts index 636b8d81b160..bd3eb95bf701 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRebuildSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. @@ -37,7 +35,7 @@ async function rebuildCloudServiceRoleInstance() { roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts index 033c69dda6d0..6ffe94b39fe6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. @@ -37,7 +35,7 @@ async function reimageCloudServiceRoleInstance() { roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts index 73bb4372e526..b8940df2e13c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRoleInstancesRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. @@ -37,7 +35,7 @@ async function restartCloudServiceRoleInstance() { roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesGetSample.ts index 0e1aea3fa5e7..c92027fdb3b6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServiceRolesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a role from a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesListSample.ts index ed953c2c83a2..a9af51efc5e8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServiceRolesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts index 2f0d93e2800a..28266376568f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. @@ -74,7 +72,7 @@ async function createNewCloudServiceWithMultipleRoles() { cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -138,7 +136,7 @@ async function createNewCloudServiceWithSingleRole() { cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -217,7 +215,7 @@ async function createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -297,7 +295,7 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts index 47a0d5a95952..a3b63cb2795b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteInstancesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes role instances in a cloud service. @@ -36,7 +34,7 @@ async function deleteCloudServiceRoleInstancesInACloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts index 032b4c9bc06e..7ca1a541c6c0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a cloud service. @@ -35,7 +33,7 @@ async function deleteCloudService() { cloudServiceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetInstanceViewSample.ts index 2716f904b084..9f28d56ccebd 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServicesGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetSample.ts index 1411a538acc1..fe3aea796b1c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Display information about a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListAllSample.ts index 9881104f9dd8..70fd21c2dd51 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListSample.ts index 6286d80ecdab..a19616803a60 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts index 36009860838e..6f874684a723 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. @@ -35,7 +33,7 @@ async function stopOrPowerOffCloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts index 953c1587f60f..42c63f32db66 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRebuildSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. @@ -36,7 +34,7 @@ async function rebuildCloudServiceRoleInstancesInACloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts index 78928b321e2a..f13e3e2f0f49 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. @@ -36,7 +34,7 @@ async function reimageCloudServiceRoleInstancesInACloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts index f35ccc889611..24f7daf331cf 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts one or more role instances in a cloud service. @@ -36,7 +34,7 @@ async function restartCloudServiceRoleInstancesInACloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts index 6ad2dfc56ca2..4e0185a3c37e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts the cloud service. @@ -35,7 +33,7 @@ async function startCloudService() { cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts index 95e1efb8c46f..a3828ac4e2d7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CloudServicesUpdateDomainGetUpdateDomainParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts index f4c8e0aa24f8..fb8890d94d79 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all update domains in a cloud service. diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts index 3745c446c991..454fecd6ccb3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates the role instances in the specified update domain. @@ -37,7 +35,7 @@ async function updateCloudServiceToSpecifiedDomain() { updateDomain, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts index a2e956486532..9c33fded3eb9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/cloudServicesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a cloud service. @@ -36,7 +34,7 @@ async function updateExistingCloudServiceToAddTags() { cloudServiceName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/communityGalleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/communityGalleriesGetSample.ts index db1b042e8eb0..c777a207d099 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/communityGalleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/communityGalleriesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CommunityGalleriesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery by gallery public name. diff --git a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsGetSample.ts index 569abf43d071..344e558094b9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CommunityGalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsListSample.ts index 926fcc5d49e0..0b30a4fc7565 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImageVersionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List community gallery image versions inside an image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesGetSample.ts index 0cab53121839..5c188f52594c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { CommunityGalleryImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesListSample.ts index e909d5527fee..7d1b0a69b2c4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/communityGalleryImagesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List community gallery images inside a gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.ts index c13b7b7185ef..db6965aaa2e3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsDeleteSample.ts index 037cacfa9748..4ac22ed28902 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a dedicated host group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsGetSample.ts index 671c788fe16c..e91b8cd4d0f6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a dedicated host group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListByResourceGroupSample.ts index 096d0edb9c63..8bc463024358 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated host groups in the specified resource group. Use the nextLink property in the response to get the next page of dedicated host groups. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListBySubscriptionSample.ts index 7781bf867447..c866a4246638 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts index 8975a5a95344..3dbecffdbfa1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostGroupsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an dedicated host group. @@ -26,24 +24,6 @@ async function dedicatedHostGroupsUpdateMaximumSetGen() { const options: DedicatedHostGroupsUpdateParameters = { body: { properties: { - instanceView: { - hosts: [ - { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, - ], - }, platformFaultDomainCount: 3, supportAutomaticPlacement: true, }, diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts index a1108bc6b09d..5ab0908875bb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a dedicated host . @@ -43,7 +41,7 @@ async function createOrUpdateADedicatedHost() { hostName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts index 00095973b88a..91b73ebed5a9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a dedicated host. @@ -37,7 +35,7 @@ async function dedicatedHostsDeleteMaximumSetGen() { hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function dedicatedHostsDeleteMinimumSetGen() { hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsGetSample.ts index 3a81ac33fed6..82998cea0527 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DedicatedHostsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a dedicated host. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsListByHostGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsListByHostGroupSample.ts index 667953be0f99..c9e85b607e27 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsListByHostGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsListByHostGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts. diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts index 40112baab2c9..bf42a613df74 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details. @@ -37,7 +35,7 @@ async function restartDedicatedHost() { hostName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts index 721fb4871b51..144f8b0b5b73 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/dedicatedHostsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an dedicated host . @@ -29,20 +27,6 @@ async function dedicatedHostsUpdateMaximumSetGen() { body: { properties: { autoReplaceOnFailure: true, - instanceView: { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, licenseType: "Windows_Server_Hybrid", platformFaultDomain: 1, }, @@ -59,7 +43,7 @@ async function dedicatedHostsUpdateMaximumSetGen() { hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -91,7 +75,7 @@ async function dedicatedHostsUpdateMinimumSetGen() { hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts index 6857a8a76880..ab1bc989508a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk access resource @@ -36,7 +34,7 @@ async function createADiskAccessResource() { diskAccessName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts index 3e1369a6d87a..90f8ef30fe51 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteAPrivateEndpointConnectionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a private endpoint connection under a disk access resource. @@ -37,7 +35,7 @@ async function deleteAPrivateEndpointConnectionUnderADiskAccessResource() { privateEndpointConnectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts index 036f8923e3bc..902bc110a757 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk access resource. @@ -35,7 +33,7 @@ async function deleteADiskAccessResource() { diskAccessName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetAPrivateEndpointConnectionSample.ts index f7daa326e4f9..81d1bbdd9865 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetAPrivateEndpointConnectionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskAccessesGetAPrivateEndpointConnectionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a private endpoint connection under a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetPrivateLinkResourcesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetPrivateLinkResourcesSample.ts index 1152091cdea7..e29fbd4a299c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetPrivateLinkResourcesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetPrivateLinkResourcesSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskAccessesGetPrivateLinkResourcesParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the private link resources possible under disk access resource diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetSample.ts index 26623bcb5b1e..7f2edb0442df 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk access resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListByResourceGroupSample.ts index 54e08a92d0ce..76250ce6990d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk access resources under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.ts index 0e8880fd2985..f57ba9bd584b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List information about private endpoint connections under a disk access resource diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListSample.ts index 869d0ea31878..1ea3a4ff3c42 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk access resources under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts index 2f02ac246ef0..ea648ef854c9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateAPrivateEndpointConnectionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection. @@ -45,7 +43,7 @@ async function approveAPrivateEndpointConnectionUnderADiskAccessResource() { privateEndpointConnectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts index 6a3695532036..297ed949d4d7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskAccessesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk access resource. @@ -36,7 +34,7 @@ async function updateADiskAccessResource() { diskAccessName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts index 4b2c3395672f..7280048acef1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk encryption set @@ -45,7 +43,7 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentSubscription() diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -91,7 +89,7 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentTenant() { diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -133,7 +131,7 @@ async function createADiskEncryptionSet() { diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts index b87690896b83..033a742d9316 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk encryption set. @@ -35,7 +33,7 @@ async function deleteADiskEncryptionSet() { diskEncryptionSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsGetSample.ts index 0063f7b08aaf..ad153f097fed 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskEncryptionSetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk encryption set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.ts index 454e740c2e4e..1a59aa878f62 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all resources that are encrypted with this disk encryption set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListByResourceGroupSample.ts index 702606bd5043..f571a5de04c0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk encryption sets under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListSample.ts index 354c66075119..8d12d0fb4cf9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk encryption sets under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts index c5068739f93b..240e9ff6febc 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskEncryptionSetsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk encryption set. @@ -45,7 +43,7 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -86,7 +84,7 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -129,7 +127,7 @@ async function updateADiskEncryptionSet() { diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGetSample.ts index 4793f972a961..17062c1308af 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { DiskRestorePointGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get disk restorePoint resource diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts index 6469498b8282..54067fdef9c4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointGrantAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a diskRestorePoint. @@ -40,7 +38,7 @@ async function grantsAccessToADiskRestorePoint() { diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointListByRestorePointSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointListByRestorePointSample.ts index 90607c373848..87ed5b836f0a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointListByRestorePointSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointListByRestorePointSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists diskRestorePoints under a vmRestorePoint. diff --git a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts index b32b12c342cd..b4fe379922d8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/diskRestorePointRevokeAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a diskRestorePoint. @@ -39,7 +37,7 @@ async function revokesAccessToADiskRestorePoint() { diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts index ba53a5f7c7d8..07cf2a90d411 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk. @@ -52,7 +50,7 @@ async function createAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -91,7 +89,7 @@ async function createAManagedDiskAndAssociateWithDiskAccessResource() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -131,7 +129,7 @@ async function createAManagedDiskAndAssociateWithDiskEncryptionSet() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -170,7 +168,7 @@ async function createAManagedDiskByCopyingASnapshot() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -210,7 +208,7 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscri diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -248,7 +246,7 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscripti diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -293,7 +291,7 @@ async function createAManagedDiskFromImportSecureCreateOption() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -333,7 +331,7 @@ async function createAManagedDiskFromUploadPreparedSecureCreateOption() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -374,7 +372,7 @@ async function createAManagedDiskFromAPlatformImage() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -416,7 +414,7 @@ async function createAManagedDiskFromAnAzureComputeGalleryCommunityImage() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -458,7 +456,7 @@ async function createAManagedDiskFromAnAzureComputeGalleryDirectSharedImage() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -499,7 +497,7 @@ async function createAManagedDiskFromAnAzureComputeGalleryImage() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -538,7 +536,7 @@ async function createAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSu diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -575,7 +573,7 @@ async function createAManagedDiskWithDataAccessAuthMode() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -612,7 +610,7 @@ async function createAManagedDiskWithOptimizedForFrequentAttach() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -647,7 +645,7 @@ async function createAManagedDiskWithPerformancePlus() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -686,7 +684,7 @@ async function createAManagedDiskWithPremiumV2AccountType() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -728,7 +726,7 @@ async function createAManagedDiskWithSecurityProfile() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -762,7 +760,7 @@ async function createAManagedDiskWithSsdZrsAccountType() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -802,7 +800,7 @@ async function createAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -837,7 +835,7 @@ async function createAManagedUploadDisk() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -871,7 +869,7 @@ async function createAnEmptyManagedDiskInExtendedLocation() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -904,7 +902,7 @@ async function createAnEmptyManagedDisk() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -941,7 +939,7 @@ async function createAnUltraManagedDiskWithLogicalSectorSize512E() { diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts index 4f8eddd8a1f4..da9c38af8453 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk. @@ -35,7 +33,7 @@ async function deleteAManagedDisk() { diskName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksGetSample.ts index 22ffd0e3b8b3..48f674c4713d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts index c84c9ebf3a7e..6cdb66d89ffb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksGrantAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a disk. @@ -36,7 +34,7 @@ async function getASasOnAManagedDisk() { diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -70,7 +68,7 @@ async function getSasOnManagedDiskAndVMGuestState() { diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksListByResourceGroupSample.ts index fc77b39eade5..95144abaa612 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disks under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksListSample.ts index ebb4db122125..729ad6d40e03 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disks under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts index 15f1794cf4ff..50af80b361c0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksRevokeAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a disk. @@ -35,7 +33,7 @@ async function revokeAccessToAManagedDisk() { diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts index 715c361167cd..57667aad8ad0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/disksUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk. @@ -36,7 +34,7 @@ async function createOrUpdateABurstingEnabledManagedDisk() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function updateAManagedDiskToAddAcceleratedNetworking() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -98,7 +96,7 @@ async function updateAManagedDiskToAddArchitecture() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -137,7 +135,7 @@ async function updateAManagedDiskToAddPurchasePlan() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -167,7 +165,7 @@ async function updateAManagedDiskToAddSupportsHibernation() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -197,7 +195,7 @@ async function updateAManagedDiskToChangeTier() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -227,7 +225,7 @@ async function updateAManagedDiskToDisableBursting() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -257,7 +255,7 @@ async function updateAManagedDiskToDisableOptimizedForFrequentAttach() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -289,7 +287,7 @@ async function updateAManagedDiskWithDiskControllerTypes() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -319,7 +317,7 @@ async function updateManagedDiskToRemoveDiskAccessResourceAssociation() { diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts index 78dcb00abaee..d9a5e65aebfb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a Shared Image Gallery. @@ -50,7 +48,7 @@ async function createACommunityGallery() { galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -86,7 +84,7 @@ async function createOrUpdateASimpleGalleryWithSharingProfile() { galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -122,7 +120,7 @@ async function createOrUpdateASimpleGalleryWithSoftDeletionEnabled() { galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -155,7 +153,7 @@ async function createOrUpdateASimpleGallery() { galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts index 76a7725beb8d..020f37372475 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a Shared Image Gallery. @@ -35,7 +33,7 @@ async function deleteAGallery() { galleryName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesGetSample.ts index 6820dfcfffb0..a25cc8e2e3e6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a Shared Image Gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesListByResourceGroupSample.ts index 5afb1998c198..df7005260d7b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List galleries under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesListSample.ts index fd2bbfe95cf7..7a5f03fdc0e6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List galleries under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts index 8d492f208523..a706915d87bb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleriesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a Shared Image Gallery. @@ -36,7 +34,7 @@ async function updateASimpleGallery() { galleryName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts index 9acdbc04fc77..150d25881945 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery Application Version. @@ -65,7 +63,7 @@ async function createOrUpdateASimpleGalleryApplicationVersion() { galleryApplicationVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts index 136655ee932d..9609d1989ca9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery Application Version. @@ -39,7 +37,7 @@ async function deleteAGalleryApplicationVersion() { galleryApplicationVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsGetSample.ts index f618e7883dee..febd415c9158 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { GalleryApplicationVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery Application Version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.ts index c01fbd0ef575..d8d1f7c3d4e4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery Application Versions in a gallery Application Definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts index 30a395a92898..bcd1853e2635 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationVersionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery Application Version. @@ -64,7 +62,7 @@ async function updateASimpleGalleryApplicationVersion() { galleryApplicationVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts index ab58f8d482bb..293b20afab11 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery Application Definition. @@ -47,7 +45,7 @@ async function createOrUpdateASimpleGalleryApplication() { galleryApplicationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts index 577cdd8714d1..6c90fb417580 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery Application. @@ -37,7 +35,7 @@ async function deleteAGalleryApplication() { galleryApplicationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsGetSample.ts index f8baa5e9dc01..5816fea7832c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { GalleryApplicationsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery Application Definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsListByGallerySample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsListByGallerySample.ts index 75d1174452d2..d3210afe13cc 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsListByGallerySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsListByGallerySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery Application Definitions in a gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts index 1afc010e6672..6785d4235f0f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryApplicationsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery Application Definition. @@ -46,7 +44,7 @@ async function updateASimpleGalleryApplication() { galleryApplicationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts index a9f3c1e75ea5..c3feefef6681 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery image version. @@ -98,7 +96,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -190,7 +188,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -284,7 +282,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -331,7 +329,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMo galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -423,7 +421,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource( galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -517,7 +515,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -600,7 +598,7 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -692,7 +690,7 @@ async function createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocatio galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts index 3ee35478f53c..eab1810dca53 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery image version. @@ -39,7 +37,7 @@ async function deleteAGalleryImageVersion() { galleryImageVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsGetSample.ts index c0dd98b652ef..babb8570413c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { GalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery image version. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsListByGalleryImageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsListByGalleryImageSample.ts index 03e6c665d070..777c26e635c8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsListByGalleryImageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsListByGalleryImageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery image versions in a gallery image definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts index b18aa05291bc..941509640be3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImageVersionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery image version. @@ -58,7 +56,7 @@ async function updateASimpleGalleryImageVersionManagedImageAsSource() { galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -106,7 +104,7 @@ async function updateASimpleGalleryImageVersionWithoutSourceId() { galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts index eb88cbc2c356..d3a3d8dd4b74 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery image definition. @@ -50,7 +48,7 @@ async function createOrUpdateASimpleGalleryImage() { galleryImageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts index 382315306f94..2bd92e766712 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery image. @@ -37,7 +35,7 @@ async function deleteAGalleryImage() { galleryImageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesGetSample.ts index 739e64a8e952..a167d5e69a56 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery image definition. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesListByGallerySample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesListByGallerySample.ts index 2da771ad04b2..3ef74387c388 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesListByGallerySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesListByGallerySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery image definitions in a gallery. diff --git a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts index ce367b20b0b2..028bdb95ae41 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/galleryImagesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery image definition. @@ -49,7 +47,7 @@ async function updateASimpleGalleryImage() { galleryImageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts index e9189d131044..d23306ddbef9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/gallerySharingProfileUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update sharing profile of a gallery. @@ -45,7 +43,7 @@ async function addSharingIdToTheSharingProfileOfAGallery() { galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -75,7 +73,7 @@ async function resetSharingProfileOfAGallery() { galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -105,7 +103,7 @@ async function shareAGalleryToCommunity() { galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts index 06d5ea8a187e..9c10f9ecb4db 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update an image. @@ -50,7 +48,7 @@ async function createAVirtualMachineImageFromABlobWithDiskEncryptionSetResource( imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -92,7 +90,7 @@ async function createAVirtualMachineImageFromABlob() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -138,7 +136,7 @@ async function createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetRe imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -182,7 +180,7 @@ async function createAVirtualMachineImageFromAManagedDisk() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -228,7 +226,7 @@ async function createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResou imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -272,7 +270,7 @@ async function createAVirtualMachineImageFromASnapshot() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -309,7 +307,7 @@ async function createAVirtualMachineImageFromAnExistingVirtualMachine() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -357,7 +355,7 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromABlob() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -409,7 +407,7 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk() imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -461,7 +459,7 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromASnapshot() { imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts index 23af6e691c6a..eff1c7d165e6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes an Image. @@ -35,7 +33,7 @@ async function imagesDeleteMaximumSetGen() { imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function imagesDeleteMinimumSetGen() { imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesGetSample.ts index 3f3b16c6e9c5..e52193905045 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets an image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesListByResourceGroupSample.ts index 5055cc811370..566fd497c245 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of images under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesListSample.ts index b2d9df169af6..b26645a43806 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images. diff --git a/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts index d003b36f0f10..0e86221bcbb7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/imagesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an image. @@ -44,7 +42,7 @@ async function updatesTagsOfAnImage() { imageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts index 525a1eb87ac1..706753381b87 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportRequestRateByIntervalSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Export logs that show Api requests made by this subscription in the given time window to show throttling activities. @@ -40,7 +38,7 @@ async function exportLogsWhichContainAllApiRequestsMadeToComputeResourceProvider location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts index 397a0aee3c01..8b283d3f601c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/logAnalyticsExportThrottledRequestsSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Export logs that show total throttled Api requests for this subscription in the given time window. @@ -42,7 +40,7 @@ async function exportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourc location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/operationsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/operationsListSample.ts index 5f12e45ac6f4..b16b1adb7e1b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/operationsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/operationsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of compute operations. diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.ts index 975b51487505..908e49204631 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a proximity placement group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsDeleteSample.ts index 658f54035aa2..e3c1602a3cfc 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a proximity placement group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsGetSample.ts index ede122640e35..7ee60c56dd9f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a proximity placement group . diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListByResourceGroupSample.ts index 2ac6f9c6d21f..1df2696d0210 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all proximity placement groups in a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListBySubscriptionSample.ts index 978d5fd91c1f..c33cb70dafaa 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all proximity placement groups in a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsUpdateSample.ts index 884fcb99e724..e9296bb1c05b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/proximityPlacementGroupsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { ProximityPlacementGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a proximity placement group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/resourceSkusListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/resourceSkusListSample.ts index b5f036ebecd3..9a49241907ae 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/resourceSkusListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/resourceSkusListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of Microsoft.Compute SKUs available for your Subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsCreateOrUpdateSample.ts index 5d72ff7f9f07..748428aba44b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsCreateOrUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { RestorePointCollectionsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts index f41c44839b30..b99d24284567 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the restore point collection. This operation will also delete all the contained restore points. @@ -35,7 +33,7 @@ async function restorePointCollectionsDeleteMaximumSetGen() { restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function restorePointCollectionsDeleteMinimumSetGen() { restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsGetSample.ts index 5012c2a93641..fa8f2de0b24e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { RestorePointCollectionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the restore point collection. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListAllSample.ts index ceefafbe59a5..77f63442cecb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListSample.ts index 6c7b3788a546..4ed96d1d63ce 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of restore point collections in a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsUpdateSample.ts index ea666164481e..c0c07f905c85 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointCollectionsUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { RestorePointCollectionsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the restore point collection. diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts index 7d4f1c2a6fc7..d3710371c0ed 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointsCreateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create the restore point. Updating properties of an existing restore point is not allowed @@ -44,7 +42,7 @@ async function copyARestorePointToADifferentRegion() { restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,7 +82,7 @@ async function createARestorePoint() { restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts index 5facddf6bb54..ea68976c843a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the restore point. @@ -37,7 +35,7 @@ async function restorePointsDeleteMaximumSetGen() { restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function restorePointsDeleteMinimumSetGen() { restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/restorePointsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/restorePointsGetSample.ts index 5b419b5d265d..3cd5ef39988d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/restorePointsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/restorePointsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointsGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the restore point. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesGetSample.ts index ab40ababb9ca..cb7f687ca2bc 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SharedGalleriesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesListSample.ts index fb21f60b0995..778bac3905a0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleriesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared galleries by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsGetSample.ts index 83f149946b6d..b7b40369a217 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SharedGalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery image version by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsListSample.ts index ffd860eaad8f..1d545e3eafc4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImageVersionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared gallery image versions by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesGetSample.ts index ce191cd07a5f..1b44a5af43e5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SharedGalleryImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery image by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesListSample.ts index 550d47bcf487..49817528bdf3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sharedGalleryImagesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared gallery images by subscription id or tenant id. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts index 23a6443bcf23..016c8d83f9e6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a snapshot. @@ -46,7 +44,7 @@ async function createASnapshotByImportingAnUnmanagedBlobFromADifferentSubscripti snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,7 +82,7 @@ async function createASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription( snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -123,7 +121,7 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -164,7 +162,7 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts index a6d776bfcf3e..7a8bbff5a351 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a snapshot. @@ -35,7 +33,7 @@ async function deleteASnapshot() { snapshotName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsGetSample.ts index 1a1f15cb15f6..a0d6c1e9cfe8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a snapshot. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts index e243cb06516f..6b5c2aae67e5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsGrantAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a snapshot. @@ -36,7 +34,7 @@ async function getASasOnASnapshot() { snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsListByResourceGroupSample.ts index 3362638df750..ed12a0ec652c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists snapshots under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsListSample.ts index c8ab6fcbaac1..48436b8e347f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists snapshots under a subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts index 7501a1e45015..12fff1a6d60f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsRevokeAccessSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a snapshot. @@ -35,7 +33,7 @@ async function revokeAccessToASnapshot() { snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts index 6c3f46b6528e..497c75cf3ae3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/snapshotsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a snapshot. @@ -42,7 +40,7 @@ async function updateASnapshotWithAcceleratedNetworking() { snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -75,7 +73,7 @@ async function updateASnapshot() { snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysCreateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysCreateSample.ts index 4154b5cbff40..2113ae3abe59 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysCreateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysCreateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a new SSH public key resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysDeleteSample.ts index e2902cf7671a..54451dfd9012 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysDeleteSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete an SSH public key. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGenerateKeyPairSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGenerateKeyPairSample.ts index 403501ea4305..64d2c2467548 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGenerateKeyPairSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGenerateKeyPairSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysGenerateKeyPairParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGetSample.ts index bfad167b4b1e..89c3b0d13e72 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysGetSample.ts @@ -5,9 +5,7 @@ // Licensed under the MIT License. import createComputeManagementClient, { SshPublicKeysGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about an SSH public key. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListByResourceGroupSample.ts index 1b3b1ad388fd..a6b4563da01f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListByResourceGroupSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListBySubscriptionSample.ts index be2ffa53eeb6..2417932fe71a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysListBySubscriptionSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys. diff --git a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysUpdateSample.ts index ffa597095874..0c33c398a723 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/sshPublicKeysUpdateSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { SshPublicKeysUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a new SSH public key resource. diff --git a/sdk/compute/arm-compute-rest/samples-dev/usageListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/usageListSample.ts index ebae19a56925..5d74bdfc450e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/usageListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/usageListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesGetSample.ts index 3f6951c90c0f..8817492dfde1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine extension image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListTypesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListTypesSample.ts index 9697cdec4121..a067e5f21721 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListTypesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListTypesSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionImagesListTypesParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine extension image types. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListVersionsSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListVersionsSample.ts index 6c89cca40c00..b3ab5ece8d8b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListVersionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionImagesListVersionsSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionImagesListVersionsParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine extension image versions. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts index 35b17594caa9..fde21590f66c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the extension. @@ -75,7 +73,7 @@ async function virtualMachineExtensionsCreateOrUpdateMaximumSetGen() { vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -107,7 +105,7 @@ async function virtualMachineExtensionsCreateOrUpdateMinimumSetGen() { vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts index 4a4229ded957..e48e7271b2fd 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the extension. @@ -37,7 +35,7 @@ async function virtualMachineExtensionsDeleteMaximumSetGen() { vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function virtualMachineExtensionsDeleteMinimumSetGen() { vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsGetSample.ts index b753aca29f74..7bdc067bc255 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsListSample.ts index 574cb08f7240..68dfaf35b498 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineExtensionsListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all extensions of a Virtual Machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts index 8b1395a17ef0..87ecbc9ea4a4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineExtensionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the extension. @@ -54,7 +52,7 @@ async function updateVMExtension() { vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneGetSample.ts index 45597194aada..870d9e39dcd2 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine image in an edge zone. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.ts index 9152b629595f..7d3823c50b82 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListOffersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image offers for the specified location, edge zone and publisher. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.ts index 14e7ec840ac7..3c8ac11189c4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListPublishersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image publishers for the specified Azure location and edge zone. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSample.ts index 730ce983840c..5de313eccfb7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.ts index 95ba0b01be39..3e6e5852361f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesEdgeZoneListSkusParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesGetSample.ts index 5478231a176d..915219e7d2bf 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine image. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListByEdgeZoneSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListByEdgeZoneSample.ts index 03d5e7a0375e..cca57509cd4a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListByEdgeZoneSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListByEdgeZoneSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListByEdgeZoneParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified edge zone diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListOffersSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListOffersSample.ts index 6372cc6f6f16..ea39fbaca26b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListOffersSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListOffersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListOffersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image offers for the specified location and publisher. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListPublishersSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListPublishersSample.ts index 8462a86ade57..b4ee4b8b3817 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListPublishersSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListPublishersSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListPublishersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image publishers for the specified Azure location. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSample.ts index 1411adab5f06..7684d458d1ad 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSkusSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSkusSample.ts index 70e74c708cbd..8f22efc6874b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineImagesListSkusSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineImagesListSkusParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image SKUs for the specified location, publisher, and offer. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts index 89a29e34a398..efbba92a1316 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the run command. @@ -51,7 +49,7 @@ async function createOrUpdateARunCommand() { runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts index 869bd225d4ad..2757587ec809 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the run command. @@ -37,7 +35,7 @@ async function deleteARunCommand() { runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.ts index a4a30135ce1e..e23f131ad024 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineRunCommandsGetByVirtualMachineParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the run command. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetSample.ts index 293557d63351..a052513fd615 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineRunCommandsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets specific run command for a subscription in a location. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.ts index a3b30b73ef1e..2f203d00b288 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all run commands of a Virtual Machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListSample.ts index 465383be0997..b0be90a09b94 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available run commands for a subscription in a location. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts index b19e8dae3e7b..4af790c5a1a6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineRunCommandsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the run command. @@ -40,7 +38,7 @@ async function updateARunCommand() { runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts index 949618c633db..ff00465683ca 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update an extension. @@ -52,7 +50,7 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen() { vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,7 +82,7 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen() { vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts index e13e804f67d5..d21296bf2311 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the extension. @@ -37,7 +35,7 @@ async function virtualMachineScaleSetExtensionsDeleteMaximumSetGen() { vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function virtualMachineScaleSetExtensionsDeleteMinimumSetGen() { vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsGetSample.ts index 58cd3123342c..79a32578d338 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsListSample.ts index e33d15ddffac..580b77e0fb10 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all extensions in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts index b28d947898e3..faf6949272ae 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update an extension. @@ -51,7 +49,7 @@ async function virtualMachineScaleSetExtensionsUpdateMaximumSetGen() { vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -83,7 +81,7 @@ async function virtualMachineScaleSetExtensionsUpdateMinimumSetGen() { vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts index 1a825bafc4d3..02ac2ce96050 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Cancels the current virtual machine scale set rolling upgrade. @@ -35,7 +33,7 @@ async function virtualMachineScaleSetRollingUpgradesCancelMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function virtualMachineScaleSetRollingUpgradesCancelMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts index 9235ffa70513..df412fef5e7f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetRollingUpgradesGetLatestParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of the latest virtual machine scale set rolling upgrade. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts index 3e6ebf7bdcf5..44d825d7a428 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. @@ -35,7 +33,7 @@ async function startAnExtensionRollingUpgrade() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts index 12d37558b9f9..d1b90e9a2b31 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. @@ -35,7 +33,7 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMaximumSetGen( vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMinimumSetGen( vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts index 34daca6849a0..74806bd5e065 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the VMSS VM extension. @@ -48,7 +46,7 @@ async function createVirtualMachineScaleSetVMExtension() { vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts index 03b7bdaee954..d56bb952be63 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the VMSS VM extension. @@ -39,7 +37,7 @@ async function deleteVirtualMachineScaleSetVMExtension() { vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.ts index b3cf3c708b36..35ae7194a15f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the VMSS VM extension. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsListSample.ts index 7058b0c53b01..ca6924857783 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsListSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all extensions of an instance in Virtual Machine Scaleset. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts index d70685d96f5d..453aaa4978f1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the VMSS VM extension. @@ -48,7 +46,7 @@ async function updateVirtualMachineScaleSetVMExtension() { vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts index fa653bd27c5d..01fd752a6d4d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the VMSS VM run command. @@ -53,7 +51,7 @@ async function createVirtualMachineScaleSetVMRunCommand() { runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts index a0996eabff5d..c1a9e6e6c5cb 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the VMSS VM run command. @@ -39,7 +37,7 @@ async function deleteVirtualMachineScaleSetVMRunCommand() { runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.ts index 4f32e519fd6f..752fdea0d69d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the VMSS VM run command. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.ts index 7f9454ec79e1..88e3ba56c5af 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all run commands of an instance in Virtual Machine Scaleset. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts index 9b5a05a882c7..8a1a13b3cda6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the VMSS VM run command. @@ -42,7 +40,7 @@ async function updateVirtualMachineScaleSetVMRunCommand() { runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts index 3bada09939ed..74b1c584b808 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeallocateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. @@ -37,7 +35,7 @@ async function virtualMachineScaleSetVMSDeallocateMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function virtualMachineScaleSetVMSDeallocateMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts index f5afe541a302..28522c4a6cf5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a virtual machine from a VM scale set. @@ -37,7 +35,7 @@ async function forceDeleteAVirtualMachineFromAVMScaleSet() { instanceId, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.ts index 087a558996ca..0dfc27ca652f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a virtual machine from a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetSample.ts index bd69684f05d0..ba4d0583dcc2 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine from a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSListSample.ts index f3e221d4a0f6..8661f3f78eb1 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machines in a VM scale sets. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts index 429f7dc5926d..cc61e726af6c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Performs maintenance on a virtual machine in a VM scale set. @@ -37,7 +35,7 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts index f4bf6c0abccc..6f7107e719ce 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. @@ -37,7 +35,7 @@ async function virtualMachineScaleSetVMSPowerOffMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function virtualMachineScaleSetVMSPowerOffMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts index 1d83fbb06ded..616bda0c6cbe 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRedeploySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. @@ -37,7 +35,7 @@ async function virtualMachineScaleSetVMSRedeployMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function virtualMachineScaleSetVMSRedeployMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts index ffef68b8d60d..dc6af162e0ae 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. @@ -37,7 +35,7 @@ async function virtualMachineScaleSetVMSReimageAllMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function virtualMachineScaleSetVMSReimageAllMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts index 031c78b7a0d1..4a0cf766fde5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. @@ -38,7 +36,7 @@ async function virtualMachineScaleSetVMSReimageMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -69,7 +67,7 @@ async function virtualMachineScaleSetVMSReimageMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts index a8cc5909841b..c58538e6bc65 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts a virtual machine in a VM scale set. @@ -37,7 +35,7 @@ async function virtualMachineScaleSetVMSRestartMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function virtualMachineScaleSetVMSRestartMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts index 33671ced99f3..4977609115c7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts index effe3cb4c5d9..5f5218da63e9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSRunCommandSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Run command on a virtual machine in a VM scale set. @@ -41,7 +39,7 @@ async function virtualMachineScaleSetVMSRunCommand() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.ts index 0965721f3ea2..e7d5fd471283 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetVMsSimulateEvictionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to simulate the eviction of spot virtual machine in a VM scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts index 2493d3d2f85a..369bf196d052 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a virtual machine in a VM scale set. @@ -37,7 +35,7 @@ async function virtualMachineScaleSetVMSStartMaximumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,7 +66,7 @@ async function virtualMachineScaleSetVMSStartMinimumSetGen() { instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts index 68813fdb4fe1..88f144cb4745 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetVMSUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a virtual machine of a VM scale set. @@ -49,129 +47,6 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { vmSize: "Basic_A0", vmSizeProperties: { vCPUsAvailable: 9, vCPUsPerCore: 12 }, }, - instanceView: { - bootDiagnostics: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - }, - disks: [ - { - name: "aaaaaaaaaaa", - encryptionSettings: [ - { - diskEncryptionKey: { - secretUrl: "aaaaaaaa", - sourceVault: { - id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", - }, - }, - enabled: true, - keyEncryptionKey: { - keyUrl: "aaaaaaaaaaaaaa", - sourceVault: { - id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", - }, - }, - }, - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, - ], - maintenanceRedeployStatus: { - isCustomerInitiatedMaintenanceAllowed: true, - lastOperationMessage: "aaaaaa", - lastOperationResultCode: "None", - maintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - maintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - }, - placementGroupId: "aaa", - platformFaultDomain: 14, - platformUpdateDomain: 23, - rdpThumbPrint: "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - vmAgent: { - extensionHandlers: [ - { - type: "aaaaaaaaaaaaa", - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - typeHandlerVersion: "aaaaa", - }, - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - vmAgentVersion: "aaaaaaaaaaaaaaaaaaaaaaa", - }, - vmHealth: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - }, - extensions: [ - { - name: "aaaaaaaaaaaaaaaaa", - type: "aaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - substatuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa", - }, - ], - }, licenseType: "aaaaaaaaaa", networkProfile: { networkApiVersion: "2020-11-01", @@ -443,7 +318,6 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { }, userData: "RXhhbXBsZSBVc2VyRGF0YQ==", }, - sku: { name: "Classic", capacity: 29, tier: "aaaaaaaaaaaaaa" }, tags: {}, }, queryParameters: { "api-version": "2022-08-01" }, @@ -457,7 +331,7 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -489,7 +363,7 @@ async function virtualMachineScaleSetVMSUpdateMinimumSetGen() { instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts index 5d4ea28895bd..a8b5f5a349c5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Converts SinglePlacementGroup property to false for a existing virtual machine scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts index 3204a530d085..15b02d634437 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a VM scale set. @@ -105,7 +103,7 @@ async function createAVmssWithAnExtensionThatHasSuppressFailuresEnabled() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -210,7 +208,7 @@ async function createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -285,7 +283,7 @@ async function createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -370,7 +368,7 @@ async function createAPlatformImageScaleSetWithUnmanagedOSDisks() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -445,7 +443,7 @@ async function createAScaleSetFromACustomImage() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -520,7 +518,7 @@ async function createAScaleSetFromAGeneralizedSharedImage() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -590,7 +588,7 @@ async function createAScaleSetFromASpecializedSharedImage() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -688,7 +686,7 @@ async function createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty() vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -784,7 +782,7 @@ async function createAScaleSetWithApplicationProfile() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -867,7 +865,7 @@ async function createAScaleSetWithDiskControllerType() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -961,7 +959,7 @@ async function createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk() vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1057,7 +1055,7 @@ async function createAScaleSetWithFpgaNetworkInterfaces() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1141,7 +1139,7 @@ async function createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1226,7 +1224,7 @@ async function createAScaleSetWithSecurityTypeAsConfidentialVM() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1308,7 +1306,7 @@ async function createAScaleSetWithUefiSettingsOfSecureBootAndVTpm() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1391,7 +1389,7 @@ async function createAScaleSetWithAMarketplaceImagePlan() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1474,7 +1472,7 @@ async function createAScaleSetWithAnAzureApplicationGateway() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1566,7 +1564,7 @@ async function createAScaleSetWithAnAzureLoadBalancer() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1645,7 +1643,7 @@ async function createAScaleSetWithAutomaticRepairsEnabled() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1729,7 +1727,7 @@ async function createAScaleSetWithBootDiagnostics() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1812,7 +1810,7 @@ async function createAScaleSetWithEmptyDataDisksOnEachVM() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1896,7 +1894,7 @@ async function createAScaleSetWithEphemeralOSDisksUsingPlacementProperty() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1980,7 +1978,7 @@ async function createAScaleSetWithEphemeralOSDisks() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2079,7 +2077,7 @@ async function createAScaleSetWithExtensionTimeBudget() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2158,7 +2156,7 @@ async function createAScaleSetWithManagedBootDiagnostics() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2236,7 +2234,7 @@ async function createAScaleSetWithPasswordAuthentication() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2314,7 +2312,7 @@ async function createAScaleSetWithPremiumStorage() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2399,7 +2397,7 @@ async function createAScaleSetWithPriorityMixPolicy() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2478,7 +2476,7 @@ async function createAScaleSetWithScaleInPolicy() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2560,7 +2558,7 @@ async function createAScaleSetWithSpotRestorePolicy() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2649,7 +2647,7 @@ async function createAScaleSetWithSshAuthentication() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2733,7 +2731,7 @@ async function createAScaleSetWithTerminateScheduledEventsEnabled() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2812,7 +2810,7 @@ async function createAScaleSetWithUserData() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2896,7 +2894,7 @@ async function createAScaleSetWithVirtualMachinesInDifferentZones() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2978,7 +2976,7 @@ async function createAScaleSetWithVMSizeProperties() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -3061,7 +3059,7 @@ async function createOrUpdateAScaleSetWithCapacityReservation() { vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts index e9247638d7a0..abb5200a9f2d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeallocateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsDeallocateMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +63,7 @@ async function virtualMachineScaleSetsDeallocateMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts index ad4e8f9925ad..fb151e17e958 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes virtual machines in a VM scale set. @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsDeleteInstancesMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -66,7 +64,7 @@ async function virtualMachineScaleSetsDeleteInstancesMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts index d4a234c33da0..b127586b247c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VM scale set. @@ -35,7 +33,7 @@ async function forceDeleteAVMScaleSet() { vmScaleSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts index 8b3b55865eab..2d16967fdd12 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.ts index d72faa9284cf..a735d3cdb075 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a VM scale set instance. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts index 293e7352f193..8e9bd5d97bb7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets list of OS upgrades on a VM scale set instance. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetSample.ts index 8e95948a64cd..750e83ac6f03 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachineScaleSetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Display information about a virtual machine scale set. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListAllSample.ts index 5a8347c36e80..e6129bf68ce4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListByLocationSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListByLocationSample.ts index 12d73064bec1..5b016aeba1a0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListByLocationSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListByLocationSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the VM scale sets under the specified subscription for the specified location. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSample.ts index 642f21f76129..c1b61f74e8e7 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all VM scale sets under a resource group. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSkusSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSkusSample.ts index 94bd801a62b7..884ee6ebe8fd 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsListSkusSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts index f3b54d4efe38..a9083bf9a775 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsPerformMaintenanceMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +63,7 @@ async function virtualMachineScaleSetsPerformMaintenanceMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts index cfff35f9beba..8e7285dfca21 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsPowerOffMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +63,7 @@ async function virtualMachineScaleSetsPowerOffMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts index 5afcd0345a00..6ce0572ebd65 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRedeploySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsRedeployMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +63,7 @@ async function virtualMachineScaleSetsRedeployMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts index 348f5bfc13af..a7bd9147e058 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsReimageAllMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +63,7 @@ async function virtualMachineScaleSetsReimageAllMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts index 75dcdf2bc4ff..79d41937e3d5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsReimageMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +63,7 @@ async function virtualMachineScaleSetsReimageMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts index 134514ef40af..603a41e619b8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts one or more virtual machines in a VM scale set. @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsRestartMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +63,7 @@ async function virtualMachineScaleSetsRestartMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts index d11b11709770..8d5e24dba78d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Changes ServiceState property for a given service @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMaximumSetGen( vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -66,7 +64,7 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMinimumSetGen( vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts index abd30b755f7f..f41dc087cdcf 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts one or more virtual machines in a VM scale set. @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsStartMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -65,7 +63,7 @@ async function virtualMachineScaleSetsStartMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts index 2f069b38f154..9b6902bfdde9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. @@ -36,7 +34,7 @@ async function virtualMachineScaleSetsUpdateInstancesMaximumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -66,7 +64,7 @@ async function virtualMachineScaleSetsUpdateInstancesMinimumSetGen() { vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts index 90068a1e59a7..b15c1bca7e68 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineScaleSetsUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a VM scale set. @@ -280,7 +278,7 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -310,7 +308,7 @@ async function virtualMachineScaleSetsUpdateMinimumSetGen() { vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineSizesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineSizesListSample.ts index bc1b7939a930..66f8b439a04f 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachineSizesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachineSizesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list) diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts index 002a9a35b3bd..5f82ab66bd0b 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesAssessPatchesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Assess patches on the VM. @@ -35,7 +33,7 @@ async function assessPatchStateOfAVirtualMachine() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts index 47f836eea7d5..d4330f99031c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCaptureSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. @@ -40,7 +38,7 @@ async function virtualMachinesCaptureMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -74,7 +72,7 @@ async function virtualMachinesCaptureMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts index fb4fba122fe2..2a6c0d00ba62 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesConvertToManagedDisksSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. @@ -35,7 +33,7 @@ async function virtualMachinesConvertToManagedDisksMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function virtualMachinesConvertToManagedDisksMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts index 08cf3697cb63..a26b50aa625e 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesCreateOrUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -72,7 +70,7 @@ async function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -142,7 +140,7 @@ async function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndA vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -210,7 +208,7 @@ async function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -279,7 +277,7 @@ async function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAu vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -341,7 +339,7 @@ async function createAVMFromACommunityGalleryImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -401,7 +399,7 @@ async function createAVMFromASharedGalleryImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -471,7 +469,7 @@ async function createAVMWithDiskControllerType() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -540,7 +538,7 @@ async function createAVMWithHibernationEnabled() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -606,7 +604,7 @@ async function createAVMWithUefiSettingsOfSecureBootAndVTpm() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -675,7 +673,7 @@ async function createAVMWithUserData() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -747,7 +745,7 @@ async function createAVMWithVMSizeProperties() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -829,7 +827,7 @@ async function createAVMWithNetworkInterfaceConfiguration() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -903,7 +901,7 @@ async function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -974,7 +972,7 @@ async function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1041,7 +1039,7 @@ async function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1108,7 +1106,7 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1179,7 +1177,7 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1251,7 +1249,7 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1320,7 +1318,7 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfManual() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1390,7 +1388,7 @@ async function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToA vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1454,7 +1452,7 @@ async function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1536,7 +1534,7 @@ async function createAPlatformImageVMWithUnmanagedOSAndDataDisks() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1595,7 +1593,7 @@ async function createAVMFromACustomImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1654,7 +1652,7 @@ async function createAVMFromAGeneralizedSharedImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1708,7 +1706,7 @@ async function createAVMFromASpecializedSharedImage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1774,7 +1772,7 @@ async function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFau vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1839,7 +1837,7 @@ async function createAVMInAnAvailabilitySet() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1919,7 +1917,7 @@ async function createAVMWithApplicationProfile() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2010,7 +2008,7 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2078,7 +2076,7 @@ async function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2152,7 +2150,7 @@ async function createAVMWithScheduledEventsProfile() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2219,7 +2217,7 @@ async function createAVMWithAMarketplaceImagePlan() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2288,7 +2286,7 @@ async function createAVMWithAnExtensionsTimeBudget() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2356,7 +2354,7 @@ async function createAVMWithBootDiagnostics() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2422,7 +2420,7 @@ async function createAVMWithEmptyDataDisks() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2490,7 +2488,7 @@ async function createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacement vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2558,7 +2556,7 @@ async function createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacem vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2626,7 +2624,7 @@ async function createAVMWithEphemeralOSDisk() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2689,7 +2687,7 @@ async function createAVMWithManagedBootDiagnostics() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2751,7 +2749,7 @@ async function createAVMWithPasswordAuthentication() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2813,7 +2811,7 @@ async function createAVMWithPremiumStorage() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2886,7 +2884,7 @@ async function createAVMWithSshAuthentication() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2958,7 +2956,7 @@ async function createOrUpdateAVMWithCapacityReservation() { vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts index 7666a53f4bd8..c60d310dc79a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeallocateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. @@ -35,7 +33,7 @@ async function virtualMachinesDeallocateMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function virtualMachinesDeallocateMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts index 13abbbb8a1c3..bfda4894b7e4 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesDeleteSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a virtual machine. @@ -35,7 +33,7 @@ async function forceDeleteAVM() { vmName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGeneralizeSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGeneralizeSample.ts index cd480471e076..c0292aaea65a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGeneralizeSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGeneralizeSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesGeneralizeParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGetSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGetSample.ts index e66933c41af7..195fb299fbb9 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesGetSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the model view or the instance view of a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts index a898781abe30..da930e06d4b8 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstallPatchesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Installs patches on the VM. @@ -43,7 +41,7 @@ async function installPatchStateOfAVirtualMachine() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstanceViewSample.ts index 2620815bf3cd..22fc364fe9ed 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesInstanceViewSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the run-time state of a virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAllSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAllSample.ts index 03d1c9e8d57c..496f2f86a0b6 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAllSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAvailableSizesSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAvailableSizesSample.ts index ad2d55c095a3..f032eae46015 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAvailableSizesSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListAvailableSizesSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available virtual machine sizes to which the specified virtual machine can be resized. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListByLocationSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListByLocationSample.ts index 0770414d893e..bb5b5097f404 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListByLocationSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListByLocationSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the virtual machines under the specified subscription for the specified location. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListSample.ts index 78013a1094d0..6213aa0e02b0 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesListSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts index 334e145a457c..bab559a37d3d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPerformMaintenanceSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to perform maintenance on a virtual machine. @@ -35,7 +33,7 @@ async function virtualMachinesPerformMaintenanceMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function virtualMachinesPerformMaintenanceMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts index 9e3ae2b00857..47d370fe629a 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesPowerOffSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. @@ -35,7 +33,7 @@ async function virtualMachinesPowerOffMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function virtualMachinesPowerOffMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts index 1972ee8d0014..c7b88cab6683 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReapplySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to reapply a virtual machine's state. @@ -35,7 +33,7 @@ async function reapplyTheStateOfAVirtualMachine() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts index c35687233293..c98a6cab1c77 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRedeploySample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine, moves it to a new node, and powers it back on. @@ -35,7 +33,7 @@ async function virtualMachinesRedeployMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function virtualMachinesRedeployMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts index 33e82a19c431..8aa5d707d90d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesReimageSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages the virtual machine which has an ephemeral OS disk back to its initial state. @@ -36,7 +34,7 @@ async function reimageAVirtualMachine() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts index 1bb7267dd157..1f623de697b5 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRestartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to restart a virtual machine. @@ -35,7 +33,7 @@ async function virtualMachinesRestartMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function virtualMachinesRestartMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.ts index 2872a5ac3b4f..c167f6c1399d 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesRetrieveBootDiagnosticsDataParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts index 7709ad0d9a07..863ff7bd7e31 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesRunCommandSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Run command on the VM. @@ -36,7 +34,7 @@ async function virtualMachineRunCommand() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesSimulateEvictionSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesSimulateEvictionSample.ts index 22fabee00fa0..19a0044264a3 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesSimulateEvictionSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesSimulateEvictionSample.ts @@ -7,9 +7,7 @@ import createComputeManagementClient, { VirtualMachinesSimulateEvictionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to simulate the eviction of spot virtual machine. diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts index 5ad1c4f05ed7..967aa2b5fd0c 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesStartSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to start a virtual machine. @@ -35,7 +33,7 @@ async function virtualMachinesStartMaximumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -64,7 +62,7 @@ async function virtualMachinesStartMinimumSetGen() { vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts index f443f3a702bb..d225508ee1bf 100644 --- a/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples-dev/virtualMachinesUpdateSample.ts @@ -8,9 +8,7 @@ import createComputeManagementClient, { getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a virtual machine. @@ -81,7 +79,7 @@ async function updateAVMByDetachingDataDisk() { vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -157,7 +155,7 @@ async function updateAVMByForceDetachingDataDisk() { vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/README.md b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/README.md index 34ae9924df74..75e8c66fba86 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/README.md +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/README.md @@ -601,6 +601,6 @@ Take a look at our [API Documentation][apiref] for more information about the AP [virtualmachinessimulateevictionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesSimulateEvictionSample.js [virtualmachinesstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesStartSample.js [virtualmachinesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesUpdateSample.js -[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-compute?view=azure-node-preview +[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-compute?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute-rest/README.md diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsCreateOrUpdateSample.js index 87ff041261e2..fc1f65b83102 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsCreateOrUpdateSample.js @@ -31,7 +31,7 @@ async function createAnAvailabilitySet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsDeleteSample.js index 1fad36fd1d12..9529778f6eec 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsDeleteSample.js @@ -27,7 +27,7 @@ async function availabilitySetsDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .delete(options); console.log(result); @@ -54,7 +54,7 @@ async function availabilitySetsDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsGetSample.js index d81a4e2d4a51..d40b88d80ecf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsGetSample.js @@ -27,7 +27,7 @@ async function availabilitySetsGetMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function availabilitySetsGetMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListAvailableSizesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListAvailableSizesSample.js index d64857906847..dea3dd7c9516 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListAvailableSizesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListAvailableSizesSample.js @@ -28,7 +28,7 @@ async function availabilitySetsListAvailableSizesMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function availabilitySetsListAvailableSizesMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListBySubscriptionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListBySubscriptionSample.js index 52dae0cffa31..5a28277d274a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListBySubscriptionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListBySubscriptionSample.js @@ -27,7 +27,7 @@ async function listAvailabilitySetsInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListSample.js index 104a4c743b2d..57798a443983 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsListSample.js @@ -26,7 +26,7 @@ async function availabilitySetsListMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function availabilitySetsListMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsUpdateSample.js index e6851ef0d23c..9130a0ee6fdd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/availabilitySetsUpdateSample.js @@ -43,7 +43,7 @@ async function availabilitySetsUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .patch(options); console.log(result); @@ -71,7 +71,7 @@ async function availabilitySetsUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsCreateOrUpdateSample.js index 3fece8f5ff1b..25d17b9e12b1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsCreateOrUpdateSample.js @@ -32,7 +32,7 @@ async function createOrUpdateACapacityReservationGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsDeleteSample.js index e0db598880fb..621c7fa40743 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsDeleteSample.js @@ -27,7 +27,7 @@ async function capacityReservationGroupsDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .delete(options); console.log(result); @@ -54,7 +54,7 @@ async function capacityReservationGroupsDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsGetSample.js index 2cf47dbc6b48..2e23d0235cd1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsGetSample.js @@ -27,7 +27,7 @@ async function getACapacityReservationGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListByResourceGroupSample.js index 371e46ed20e0..8c80e7072d78 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListByResourceGroupSample.js @@ -29,7 +29,7 @@ async function listCapacityReservationGroupsInResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListBySubscriptionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListBySubscriptionSample.js index c9c5c95193cc..0598a289bf71 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListBySubscriptionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsListBySubscriptionSample.js @@ -27,7 +27,7 @@ async function listCapacityReservationGroupsInSubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsUpdateSample.js index 192639e93b01..d4b8ef1be254 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationGroupsUpdateSample.js @@ -28,7 +28,7 @@ async function capacityReservationGroupsUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .patch(options); console.log(result); @@ -56,7 +56,7 @@ async function capacityReservationGroupsUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsCreateOrUpdateSample.js index ece295784e16..9a711c20fc51 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsCreateOrUpdateSample.js @@ -36,10 +36,10 @@ async function createOrUpdateACapacityReservation() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsDeleteSample.js index 071ead34eaa3..2ea657ba1fce 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsDeleteSample.js @@ -30,10 +30,10 @@ async function capacityReservationsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function capacityReservationsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsGetSample.js index 54306bb67d2e..728aba9f7be0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsGetSample.js @@ -29,7 +29,7 @@ async function getACapacityReservation() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsListByCapacityReservationGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsListByCapacityReservationGroupSample.js index 7c9f1dbed125..45d06996fc1d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsListByCapacityReservationGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsListByCapacityReservationGroupSample.js @@ -28,7 +28,7 @@ async function listCapacityReservationsInReservationGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsUpdateSample.js index 6e754bb7557e..066af26aa6fa 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/capacityReservationsUpdateSample.js @@ -48,10 +48,10 @@ async function capacityReservationsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -80,10 +80,10 @@ async function capacityReservationsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js index caaf03db9861..0c7632b9ccfb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js @@ -27,7 +27,7 @@ async function getCloudServiceOSFamily() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}", subscriptionId, location, - osFamilyName + osFamilyName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js index 37e88c499ad0..13949b0fc2a7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js @@ -27,7 +27,7 @@ async function getCloudServiceOSVersion() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}", subscriptionId, location, - osVersionName + osVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js index 692ac313e418..2b7580b81ab9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js @@ -26,7 +26,7 @@ async function listCloudServiceOSFamiliesInASubscription() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js index aa0aa2fa0573..5ed31e79c8df 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js @@ -26,7 +26,7 @@ async function listCloudServiceOSVersionsInASubscription() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesDeleteSample.js index 34ec265bbb6c..b72c8e952945 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesDeleteSample.js @@ -30,10 +30,10 @@ async function deleteCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js index 49318cee3b55..a676922cbfef 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js @@ -29,7 +29,7 @@ async function getInstanceViewOfCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js index 0cd4d20dff40..0f3a8e1a2714 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js @@ -29,7 +29,7 @@ async function getCloudServiceRole() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetSample.js index 7bb34f8b2f08..014fe5c64bc4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesGetSample.js @@ -29,7 +29,7 @@ async function getCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesListSample.js index 47d1326eeb04..8d07f1729830 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesListSample.js @@ -28,7 +28,7 @@ async function listRoleInstancesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRebuildSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRebuildSample.js index 78c09d38782b..9e82666e7607 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRebuildSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRebuildSample.js @@ -30,10 +30,10 @@ async function rebuildCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesReimageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesReimageSample.js index 87e6e2d26097..bb7be00d9e5d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesReimageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesReimageSample.js @@ -30,10 +30,10 @@ async function reimageCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRestartSample.js index dd088878c3b7..74f6b2084bcf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRoleInstancesRestartSample.js @@ -30,10 +30,10 @@ async function restartCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesGetSample.js index 0e4ab8b9b880..b8bc2256c789 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesGetSample.js @@ -29,7 +29,7 @@ async function getCloudServiceRole() { subscriptionId, resourceGroupName, cloudServiceName, - roleName + roleName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesListSample.js index 563f5517795e..3228aa28a569 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServiceRolesListSample.js @@ -28,7 +28,7 @@ async function listRolesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesCreateOrUpdateSample.js index 30461d4b53f5..f2b4aebb3742 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesCreateOrUpdateSample.js @@ -67,10 +67,10 @@ async function createNewCloudServiceWithMultipleRoles() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -131,10 +131,10 @@ async function createNewCloudServiceWithSingleRole() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -210,10 +210,10 @@ async function createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -290,10 +290,10 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteInstancesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteInstancesSample.js index af429a69d325..5bf7ff99f015 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteInstancesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteInstancesSample.js @@ -29,10 +29,10 @@ async function deleteCloudServiceRoleInstancesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteSample.js index 61b22c545104..37dc719134fa 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesDeleteSample.js @@ -28,10 +28,10 @@ async function deleteCloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetInstanceViewSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetInstanceViewSample.js index 58bce1b7939b..8a9d1c082a8f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetInstanceViewSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetInstanceViewSample.js @@ -27,7 +27,7 @@ async function getCloudServiceInstanceViewWithMultipleRoles() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/instanceView", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetSample.js index cb0744a17a77..99c1cfb17737 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesGetSample.js @@ -27,7 +27,7 @@ async function getCloudServiceWithMultipleRolesAndRdpExtension() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListAllSample.js index c3069a535982..221d09d6d96b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListAllSample.js @@ -24,7 +24,7 @@ async function listCloudServicesInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListSample.js index 10a253683abf..9f10e78d03a1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesListSample.js @@ -26,7 +26,7 @@ async function listCloudServicesInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesPowerOffSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesPowerOffSample.js index aaf8a516b373..46d91b791f83 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesPowerOffSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesPowerOffSample.js @@ -28,10 +28,10 @@ async function stopOrPowerOffCloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRebuildSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRebuildSample.js index 48c4557ee40a..3138b288ef04 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRebuildSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRebuildSample.js @@ -29,10 +29,10 @@ async function rebuildCloudServiceRoleInstancesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesReimageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesReimageSample.js index 6a061b6fa2ad..369867d6c810 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesReimageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesReimageSample.js @@ -29,10 +29,10 @@ async function reimageCloudServiceRoleInstancesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRestartSample.js index 1726cb0665b0..bb18a671cb6f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesRestartSample.js @@ -29,10 +29,10 @@ async function restartCloudServiceRoleInstancesInACloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesStartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesStartSample.js index 3122b2e91e4c..05ee6ed03395 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesStartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesStartSample.js @@ -28,10 +28,10 @@ async function startCloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js index cc66a27871ce..679be52d919c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js @@ -29,7 +29,7 @@ async function getCloudServiceUpdateDomain() { subscriptionId, resourceGroupName, cloudServiceName, - updateDomain + updateDomain, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js index be010c4619cc..aa07eb168cbd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js @@ -28,7 +28,7 @@ async function listUpdateDomainsInCloudService() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js index 7975bf22c7cb..bf89642ff79b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js @@ -30,10 +30,10 @@ async function updateCloudServiceToSpecifiedDomain() { subscriptionId, resourceGroupName, cloudServiceName, - updateDomain + updateDomain, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateSample.js index afbde700de9a..5cf899f356fe 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/cloudServicesUpdateSample.js @@ -29,10 +29,10 @@ async function updateExistingCloudServiceToAddTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleriesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleriesGetSample.js index 8f77279a3d42..cc31c7f9c2ba 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleriesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleriesGetSample.js @@ -27,7 +27,7 @@ async function getACommunityGallery() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}", subscriptionId, location, - publicGalleryName + publicGalleryName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsGetSample.js index 03827d69897a..ab394f54257f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsGetSample.js @@ -31,7 +31,7 @@ async function getACommunityGalleryImageVersion() { location, publicGalleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsListSample.js index 36764b4f6988..040ed11122e2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImageVersionsListSample.js @@ -30,7 +30,7 @@ async function listCommunityGalleryImageVersions() { subscriptionId, location, publicGalleryName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesGetSample.js index 7ce30aa99018..124aa7f515e9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesGetSample.js @@ -29,7 +29,7 @@ async function getACommunityGalleryImage() { subscriptionId, location, publicGalleryName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesListSample.js index 1d347238e22c..f59bc1ddcd51 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/communityGalleryImagesListSample.js @@ -28,7 +28,7 @@ async function listCommunityGalleryImages() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images", subscriptionId, location, - publicGalleryName + publicGalleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsCreateOrUpdateSample.js index 55b7c2fd2c41..e9cd32f58613 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsCreateOrUpdateSample.js @@ -37,7 +37,7 @@ async function createOrUpdateADedicatedHostGroupWithUltraSsdSupport() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .put(options); console.log(result); @@ -73,7 +73,7 @@ async function createOrUpdateADedicatedHostGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsDeleteSample.js index c67b58d51ef4..400878d76166 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsDeleteSample.js @@ -27,7 +27,7 @@ async function dedicatedHostGroupsDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .delete(options); console.log(result); @@ -54,7 +54,7 @@ async function dedicatedHostGroupsDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsGetSample.js index 2a1063e2e513..3e028171e830 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsGetSample.js @@ -27,7 +27,7 @@ async function createADedicatedHostGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function createAnUltraSsdEnabledDedicatedHostGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsListByResourceGroupSample.js index 289b92f4e840..625ab52ad225 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function dedicatedHostGroupsListByResourceGroupMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function dedicatedHostGroupsListByResourceGroupMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js index 27d444c8fcde..dc3bb4d520d3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostGroupsUpdateSample.js @@ -22,24 +22,6 @@ async function dedicatedHostGroupsUpdateMaximumSetGen() { const options = { body: { properties: { - instanceView: { - hosts: [ - { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, - ], - }, platformFaultDomainCount: 3, supportAutomaticPlacement: true, }, @@ -53,7 +35,7 @@ async function dedicatedHostGroupsUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .patch(options); console.log(result); @@ -81,7 +63,7 @@ async function dedicatedHostGroupsUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsCreateOrUpdateSample.js index 863b42d8577f..e0a93a7da795 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsCreateOrUpdateSample.js @@ -36,10 +36,10 @@ async function createOrUpdateADedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsDeleteSample.js index 3df05482d97d..4f05a37a5846 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsDeleteSample.js @@ -30,10 +30,10 @@ async function dedicatedHostsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function dedicatedHostsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsGetSample.js index 59f8de948df1..571efef65fa3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsGetSample.js @@ -29,7 +29,7 @@ async function getADedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsListByHostGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsListByHostGroupSample.js index 04fa73141fb1..49640ca12211 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsListByHostGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsListByHostGroupSample.js @@ -28,7 +28,7 @@ async function dedicatedHostsListByHostGroupMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function dedicatedHostsListByHostGroupMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsRestartSample.js index db041846d46e..70c06919d5ab 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsRestartSample.js @@ -30,10 +30,10 @@ async function restartDedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js index c16b24f514c2..b80be43e7d8e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/dedicatedHostsUpdateSample.js @@ -25,20 +25,6 @@ async function dedicatedHostsUpdateMaximumSetGen() { body: { properties: { autoReplaceOnFailure: true, - instanceView: { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }], - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, licenseType: "Windows_Server_Hybrid", platformFaultDomain: 1, }, @@ -52,10 +38,10 @@ async function dedicatedHostsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,10 +70,10 @@ async function dedicatedHostsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesCreateOrUpdateSample.js index 96a25ba67d27..d99f4aab843c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesCreateOrUpdateSample.js @@ -29,10 +29,10 @@ async function createADiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteAPrivateEndpointConnectionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteAPrivateEndpointConnectionSample.js index a398ed19435f..fc45426d2334 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteAPrivateEndpointConnectionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteAPrivateEndpointConnectionSample.js @@ -30,10 +30,10 @@ async function deleteAPrivateEndpointConnectionUnderADiskAccessResource() { subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteSample.js index bc4e584c40d3..8095aeee751e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesDeleteSample.js @@ -28,10 +28,10 @@ async function deleteADiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetAPrivateEndpointConnectionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetAPrivateEndpointConnectionSample.js index 20e02b1f90f8..3271d62adfe4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetAPrivateEndpointConnectionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetAPrivateEndpointConnectionSample.js @@ -29,7 +29,7 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetPrivateLinkResourcesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetPrivateLinkResourcesSample.js index 9bb0d1c2051a..3209fb27b0b4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetPrivateLinkResourcesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetPrivateLinkResourcesSample.js @@ -27,7 +27,7 @@ async function listAllPossiblePrivateLinkResourcesUnderDiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetSample.js index 6f3d7349d0df..f9f898a7a4ca 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesGetSample.js @@ -27,7 +27,7 @@ async function getInformationAboutADiskAccessResourceWithPrivateEndpoints() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getInformationAboutADiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListByResourceGroupSample.js index 1b790b9873b1..e543c05c30a6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listAllDiskAccessResourcesInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListPrivateEndpointConnectionsSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListPrivateEndpointConnectionsSample.js index 9296a425d0da..9f9dbb3a020f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListPrivateEndpointConnectionsSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListPrivateEndpointConnectionsSample.js @@ -28,7 +28,7 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListSample.js index a8bf1cf3f036..f5fa0458b80b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesListSample.js @@ -24,7 +24,7 @@ async function listAllDiskAccessResourcesInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateAPrivateEndpointConnectionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateAPrivateEndpointConnectionSample.js index 12f6d4c6b592..2fc6ee9c91a0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateAPrivateEndpointConnectionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateAPrivateEndpointConnectionSample.js @@ -38,10 +38,10 @@ async function approveAPrivateEndpointConnectionUnderADiskAccessResource() { subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateSample.js index 5f09f0d60493..411fc3166043 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskAccessesUpdateSample.js @@ -29,10 +29,10 @@ async function updateADiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsCreateOrUpdateSample.js index 125fc79bdcba..990eb14e6d02 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsCreateOrUpdateSample.js @@ -38,10 +38,10 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentSubscription() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,10 +84,10 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentTenant() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -126,10 +126,10 @@ async function createADiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsDeleteSample.js index effc3d83f4b1..02fda2f57fee 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsDeleteSample.js @@ -28,10 +28,10 @@ async function deleteADiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsGetSample.js index 87f4f293f89d..6844bc2d3f25 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsGetSample.js @@ -27,7 +27,7 @@ async function getInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getInformationAboutADiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListAssociatedResourcesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListAssociatedResourcesSample.js index 0f537e4f7bcb..73a732ce49f1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListAssociatedResourcesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListAssociatedResourcesSample.js @@ -28,7 +28,7 @@ async function listAllResourcesThatAreEncryptedWithThisDiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}/associatedResources", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListByResourceGroupSample.js index d6bf9afc5de3..0319cabd614f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listAllDiskEncryptionSetsInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListSample.js index 995b3834674e..f17d10ef0f7a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsListSample.js @@ -24,7 +24,7 @@ async function listAllDiskEncryptionSetsInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsUpdateSample.js index 7c56e22a7389..7c24eb6e65e5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskEncryptionSetsUpdateSample.js @@ -38,16 +38,16 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueSucceeded().catch( - console.error + console.error, ); /** * This sample demonstrates how to Updates (patches) a disk encryption set. @@ -79,16 +79,16 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueUpdating().catch( - console.error + console.error, ); /** * This sample demonstrates how to Updates (patches) a disk encryption set. @@ -122,10 +122,10 @@ async function updateADiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGetSample.js index 9a65f85ad5c3..5986eec29549 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGetSample.js @@ -31,7 +31,7 @@ async function getAnIncrementalDiskRestorePointResource() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .get(options); console.log(result); @@ -62,7 +62,7 @@ async function getAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferen resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGrantAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGrantAccessSample.js index 9bb1843c2659..a2701815585a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGrantAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointGrantAccessSample.js @@ -33,10 +33,10 @@ async function grantsAccessToADiskRestorePoint() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointListByRestorePointSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointListByRestorePointSample.js index 849b4499c8eb..c730fc1cef9c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointListByRestorePointSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointListByRestorePointSample.js @@ -30,7 +30,7 @@ async function getAnIncrementalDiskRestorePointResource() { subscriptionId, resourceGroupName, restorePointCollectionName, - vmRestorePointName + vmRestorePointName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointRevokeAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointRevokeAccessSample.js index bce84061ecb5..add1f123496d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointRevokeAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/diskRestorePointRevokeAccessSample.js @@ -32,10 +32,10 @@ async function revokesAccessToADiskRestorePoint() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksCreateOrUpdateSample.js index 8c1245934f24..e01860e5f9cb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksCreateOrUpdateSample.js @@ -45,10 +45,10 @@ async function createAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -84,10 +84,10 @@ async function createAManagedDiskAndAssociateWithDiskAccessResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -124,10 +124,10 @@ async function createAManagedDiskAndAssociateWithDiskEncryptionSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -163,10 +163,10 @@ async function createAManagedDiskByCopyingASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -203,10 +203,10 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscri "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -241,10 +241,10 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscripti "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -286,10 +286,10 @@ async function createAManagedDiskFromImportSecureCreateOption() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -326,10 +326,10 @@ async function createAManagedDiskFromUploadPreparedSecureCreateOption() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -367,10 +367,10 @@ async function createAManagedDiskFromAPlatformImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -409,10 +409,10 @@ async function createAManagedDiskFromAnAzureComputeGalleryCommunityImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -451,10 +451,10 @@ async function createAManagedDiskFromAnAzureComputeGalleryDirectSharedImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -492,10 +492,10 @@ async function createAManagedDiskFromAnAzureComputeGalleryImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -531,10 +531,10 @@ async function createAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSu "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -568,10 +568,10 @@ async function createAManagedDiskWithDataAccessAuthMode() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -605,10 +605,10 @@ async function createAManagedDiskWithOptimizedForFrequentAttach() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -640,10 +640,10 @@ async function createAManagedDiskWithPerformancePlus() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -679,10 +679,10 @@ async function createAManagedDiskWithPremiumV2AccountType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -721,10 +721,10 @@ async function createAManagedDiskWithSecurityProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -755,10 +755,10 @@ async function createAManagedDiskWithSsdZrsAccountType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -795,10 +795,10 @@ async function createAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -830,10 +830,10 @@ async function createAManagedUploadDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -864,10 +864,10 @@ async function createAnEmptyManagedDiskInExtendedLocation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -897,10 +897,10 @@ async function createAnEmptyManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -934,10 +934,10 @@ async function createAnUltraManagedDiskWithLogicalSectorSize512E() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksDeleteSample.js index 286a9a02ea2b..a8b155d0195d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksDeleteSample.js @@ -28,10 +28,10 @@ async function deleteAManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGetSample.js index b653c9773e83..ee5b7bd721be 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGetSample.js @@ -27,7 +27,7 @@ async function getInformationAboutAManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGrantAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGrantAccessSample.js index 1b291d19e19e..b9a9c3396dfd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGrantAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksGrantAccessSample.js @@ -29,10 +29,10 @@ async function getASasOnAManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -63,10 +63,10 @@ async function getSasOnManagedDiskAndVMGuestState() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksListByResourceGroupSample.js index f07a420f4a78..340ac3a281e7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listAllManagedDisksInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksRevokeAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksRevokeAccessSample.js index f31191721266..26bee2f7a151 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksRevokeAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksRevokeAccessSample.js @@ -28,10 +28,10 @@ async function revokeAccessToAManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksUpdateSample.js index 7d050ec0a51b..6ea99d5e6f13 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/disksUpdateSample.js @@ -29,10 +29,10 @@ async function createOrUpdateABurstingEnabledManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function updateAManagedDiskToAddAcceleratedNetworking() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -91,10 +91,10 @@ async function updateAManagedDiskToAddArchitecture() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -130,10 +130,10 @@ async function updateAManagedDiskToAddPurchasePlan() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -160,10 +160,10 @@ async function updateAManagedDiskToAddSupportsHibernation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -190,10 +190,10 @@ async function updateAManagedDiskToChangeTier() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -220,10 +220,10 @@ async function updateAManagedDiskToDisableBursting() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -250,10 +250,10 @@ async function updateAManagedDiskToDisableOptimizedForFrequentAttach() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -282,10 +282,10 @@ async function updateAManagedDiskWithDiskControllerTypes() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -312,10 +312,10 @@ async function updateManagedDiskToRemoveDiskAccessResourceAssociation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesCreateOrUpdateSample.js index 9453b54e3580..1030e6c8aa93 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesCreateOrUpdateSample.js @@ -43,10 +43,10 @@ async function createACommunityGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -79,10 +79,10 @@ async function createOrUpdateASimpleGalleryWithSharingProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -115,10 +115,10 @@ async function createOrUpdateASimpleGalleryWithSoftDeletionEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -148,10 +148,10 @@ async function createOrUpdateASimpleGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesDeleteSample.js index 87c3df074cf7..0ad624627d9d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesDeleteSample.js @@ -28,10 +28,10 @@ async function deleteAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesGetSample.js index 1cac805992ca..3d4b24c455eb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesGetSample.js @@ -27,7 +27,7 @@ async function getACommunityGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -57,7 +57,7 @@ async function getAGalleryWithExpandSharingProfileGroups() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -84,7 +84,7 @@ async function getAGalleryWithSelectPermissions() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -111,7 +111,7 @@ async function getAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesListByResourceGroupSample.js index dd264a822f82..f459513b0863 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listGalleriesInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesUpdateSample.js index b4ad91c8c55c..2b4762f1a2f6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleriesUpdateSample.js @@ -29,10 +29,10 @@ async function updateASimpleGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsCreateOrUpdateSample.js index 41a775b6fc34..e3362f33f638 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsCreateOrUpdateSample.js @@ -58,10 +58,10 @@ async function createOrUpdateASimpleGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsDeleteSample.js index 07b310bff604..b8c2483891cc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsDeleteSample.js @@ -32,10 +32,10 @@ async function deleteAGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsGetSample.js index 8d12d250f92e..bf0ed747768c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsGetSample.js @@ -34,7 +34,7 @@ async function getAGalleryApplicationVersionWithReplicationStatus() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .get(options); console.log(result); @@ -65,7 +65,7 @@ async function getAGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsListByGalleryApplicationSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsListByGalleryApplicationSample.js index 2be1c741b225..e876a096b728 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsListByGalleryApplicationSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsListByGalleryApplicationSample.js @@ -30,7 +30,7 @@ async function listGalleryApplicationVersionsInAGalleryApplicationDefinition() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsUpdateSample.js index 14be2f904a3a..75a4451bc946 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationVersionsUpdateSample.js @@ -57,10 +57,10 @@ async function updateASimpleGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsCreateOrUpdateSample.js index efcbb05ce681..e2254246b48c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsCreateOrUpdateSample.js @@ -40,10 +40,10 @@ async function createOrUpdateASimpleGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsDeleteSample.js index dbba524797c6..d66de0f6775b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsDeleteSample.js @@ -30,10 +30,10 @@ async function deleteAGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsGetSample.js index 7905523e6fa2..193908372dde 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsGetSample.js @@ -29,7 +29,7 @@ async function getAGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsListByGallerySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsListByGallerySample.js index 4ee11a29fada..c27ee7235f20 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsListByGallerySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsListByGallerySample.js @@ -28,7 +28,7 @@ async function listGalleryApplicationsInAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsUpdateSample.js index 894d060b69ce..8355814c87c3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryApplicationsUpdateSample.js @@ -39,10 +39,10 @@ async function updateASimpleGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsCreateOrUpdateSample.js index 03872737bac4..ffdb8029f231 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsCreateOrUpdateSample.js @@ -91,10 +91,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -183,10 +183,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -277,10 +277,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -324,10 +324,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMo resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -416,10 +416,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource( resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -510,10 +510,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -593,10 +593,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -685,10 +685,10 @@ async function createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocatio resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsDeleteSample.js index c19b1fc233d9..277f5b26fc7f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsDeleteSample.js @@ -32,10 +32,10 @@ async function deleteAGalleryImageVersion() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsGetSample.js index 09b49c6cbee6..d3726ee52ee6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsGetSample.js @@ -34,7 +34,7 @@ async function getAGalleryImageVersionWithReplicationStatus() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -65,7 +65,7 @@ async function getAGalleryImageVersionWithSnapshotsAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -96,7 +96,7 @@ async function getAGalleryImageVersionWithVhdAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -127,7 +127,7 @@ async function getAGalleryImageVersion() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsListByGalleryImageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsListByGalleryImageSample.js index 4a2271967f84..5b09ba6bb970 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsListByGalleryImageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsListByGalleryImageSample.js @@ -30,7 +30,7 @@ async function listGalleryImageVersionsInAGalleryImageDefinition() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsUpdateSample.js index 65127dc8ef28..855ff66282a6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImageVersionsUpdateSample.js @@ -51,10 +51,10 @@ async function updateASimpleGalleryImageVersionManagedImageAsSource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -99,10 +99,10 @@ async function updateASimpleGalleryImageVersionWithoutSourceId() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesCreateOrUpdateSample.js index 3bb9d59c6abe..8fa1380671e7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesCreateOrUpdateSample.js @@ -43,10 +43,10 @@ async function createOrUpdateASimpleGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesDeleteSample.js index 71e81e1f25ac..3b338e212f43 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesDeleteSample.js @@ -30,10 +30,10 @@ async function deleteAGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesGetSample.js index b97e02facae8..4844af540fd5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesGetSample.js @@ -29,7 +29,7 @@ async function getAGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesListByGallerySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesListByGallerySample.js index 410fff96e684..48720c67852b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesListByGallerySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesListByGallerySample.js @@ -28,7 +28,7 @@ async function listGalleryImagesInAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesUpdateSample.js index 323c407bc45a..260db36ae645 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/galleryImagesUpdateSample.js @@ -42,10 +42,10 @@ async function updateASimpleGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/gallerySharingProfileUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/gallerySharingProfileUpdateSample.js index 73945930d2b7..483f19c17d75 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/gallerySharingProfileUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/gallerySharingProfileUpdateSample.js @@ -38,10 +38,10 @@ async function addSharingIdToTheSharingProfileOfAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,10 +68,10 @@ async function resetSharingProfileOfAGallery() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -98,10 +98,10 @@ async function shareAGalleryToCommunity() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesCreateOrUpdateSample.js index 44ee2026a6f7..fb7c11954f9b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesCreateOrUpdateSample.js @@ -43,10 +43,10 @@ async function createAVirtualMachineImageFromABlobWithDiskEncryptionSetResource( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -85,10 +85,10 @@ async function createAVirtualMachineImageFromABlob() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -131,10 +131,10 @@ async function createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetRe "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -175,10 +175,10 @@ async function createAVirtualMachineImageFromAManagedDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -221,10 +221,10 @@ async function createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResou "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -265,10 +265,10 @@ async function createAVirtualMachineImageFromASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -302,10 +302,10 @@ async function createAVirtualMachineImageFromAnExistingVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -350,10 +350,10 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromABlob() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -402,10 +402,10 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -454,10 +454,10 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesDeleteSample.js index dfaf5aaa3e2a..f230f0f11f88 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesDeleteSample.js @@ -28,10 +28,10 @@ async function imagesDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function imagesDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesGetSample.js index 029537913560..22979547f707 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesGetSample.js @@ -27,7 +27,7 @@ async function getInformationAboutAVirtualMachineImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesListByResourceGroupSample.js index 0440a03456df..9e0ff40a79c0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listAllVirtualMachineImagesInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesUpdateSample.js index a2a36ba90f24..618c10e8ae97 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/imagesUpdateSample.js @@ -37,10 +37,10 @@ async function updatesTagsOfAnImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportRequestRateByIntervalSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportRequestRateByIntervalSample.js index 5186ac6a0197..2bb7c487d527 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportRequestRateByIntervalSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportRequestRateByIntervalSample.js @@ -33,14 +33,14 @@ async function exportLogsWhichContainAllApiRequestsMadeToComputeResourceProvider .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval", subscriptionId, - location + location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } exportLogsWhichContainAllApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriodBrokenDownByIntervals().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportThrottledRequestsSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportThrottledRequestsSample.js index f22ed7725b8a..7b4b572d41d2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportThrottledRequestsSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/logAnalyticsExportThrottledRequestsSample.js @@ -35,14 +35,14 @@ async function exportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourc .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests", subscriptionId, - location + location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } exportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriod().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/package.json b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/package.json index 75c61a400fe7..4f52da4014b7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/package.json +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/package.json @@ -28,6 +28,6 @@ "dependencies": { "@azure-rest/arm-compute": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" } } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsCreateOrUpdateSample.js index c7c7cb735ad3..58341e9d0e94 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsCreateOrUpdateSample.js @@ -35,7 +35,7 @@ async function createOrUpdateAProximityPlacementGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsDeleteSample.js index 885f12276542..ae50e2887b3d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsDeleteSample.js @@ -27,7 +27,7 @@ async function createAProximityPlacementGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsGetSample.js index 085c9421b5bc..d56c3e778864 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsGetSample.js @@ -27,7 +27,7 @@ async function createAProximityPlacementGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListByResourceGroupSample.js index 3e36d95803de..49449a0cba7d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function createAProximityPlacementGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListBySubscriptionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListBySubscriptionSample.js index 73a2fa05106f..e4375fe2190e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListBySubscriptionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsListBySubscriptionSample.js @@ -24,7 +24,7 @@ async function createAProximityPlacementGroup() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsUpdateSample.js index bc10ce221ac6..5505a455de4a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/proximityPlacementGroupsUpdateSample.js @@ -28,7 +28,7 @@ async function createAProximityPlacementGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsCreateOrUpdateSample.js index 4c2f4d43bb4b..e013fa80aab3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsCreateOrUpdateSample.js @@ -36,7 +36,7 @@ async function createOrUpdateARestorePointCollectionForCrossRegionCopy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .put(options); console.log(result); @@ -72,7 +72,7 @@ async function createOrUpdateARestorePointCollection() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsDeleteSample.js index b18c1d107c73..be7286eed5cb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsDeleteSample.js @@ -28,10 +28,10 @@ async function restorePointCollectionsDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function restorePointCollectionsDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsGetSample.js index 8451055aa2bc..9946bc167f96 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsGetSample.js @@ -27,14 +27,14 @@ async function getARestorePointCollectionButNotTheRestorePointsContainedInTheRes "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .get(options); console.log(result); } getARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to get the restore point collection. @@ -56,12 +56,12 @@ async function getARestorePointCollectionIncludingTheRestorePointsContainedInThe "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .get(options); console.log(result); } getARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListAllSample.js index dce67fbdb04e..6967cf9b7398 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListAllSample.js @@ -24,7 +24,7 @@ async function getsTheListOfRestorePointCollectionsInASubscription() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListSample.js index 14b114e8884f..8c484cef57d7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsListSample.js @@ -26,7 +26,7 @@ async function getsTheListOfRestorePointCollectionsInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsUpdateSample.js index 2ffa24387d04..d6051bffac05 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointCollectionsUpdateSample.js @@ -35,7 +35,7 @@ async function restorePointCollectionsUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .patch(options); console.log(result); @@ -63,7 +63,7 @@ async function restorePointCollectionsUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsCreateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsCreateSample.js index c278c7abb841..5ced66db6cde 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsCreateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsCreateSample.js @@ -37,10 +37,10 @@ async function copyARestorePointToADifferentRegion() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -77,10 +77,10 @@ async function createARestorePoint() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsDeleteSample.js index 78f7c97fdd48..5bf9cd3d2461 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsDeleteSample.js @@ -30,10 +30,10 @@ async function restorePointsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function restorePointsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsGetSample.js index 24799693a663..b07c8a6e68af 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/restorePointsGetSample.js @@ -29,7 +29,7 @@ async function getARestorePoint() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function getRestorePointWithInstanceView() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesGetSample.js index 189da0a7f9ac..28013c15caa5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesGetSample.js @@ -27,7 +27,7 @@ async function getASharedGallery() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}", subscriptionId, location, - galleryUniqueName + galleryUniqueName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesListSample.js index fa13a9fe0dd6..ac87e28a5277 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleriesListSample.js @@ -26,7 +26,7 @@ async function listSharedGalleries() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsGetSample.js index 8141b584f99c..667a403f479b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsGetSample.js @@ -31,7 +31,7 @@ async function getASharedGalleryImageVersion() { location, galleryUniqueName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsListSample.js index 9a8feb4ae4e2..cd3f617b5e01 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImageVersionsListSample.js @@ -30,7 +30,7 @@ async function listSharedGalleryImageVersions() { subscriptionId, location, galleryUniqueName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesGetSample.js index 5b9815816aa6..017e95a7c62d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesGetSample.js @@ -29,7 +29,7 @@ async function getASharedGalleryImage() { subscriptionId, location, galleryUniqueName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesListSample.js index 03ff38eb2297..c978eea00d60 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sharedGalleryImagesListSample.js @@ -28,7 +28,7 @@ async function listSharedGalleryImages() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images", subscriptionId, location, - galleryUniqueName + galleryUniqueName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsCreateOrUpdateSample.js index 013ac2ed09b5..26388d72f9d5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsCreateOrUpdateSample.js @@ -39,10 +39,10 @@ async function createASnapshotByImportingAnUnmanagedBlobFromADifferentSubscripti "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -77,10 +77,10 @@ async function createASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -116,16 +116,16 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscriptionInADifferentRegion().catch( - console.error + console.error, ); /** * This sample demonstrates how to Creates or updates a snapshot. @@ -157,10 +157,10 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsDeleteSample.js index 316fbea9782f..ddd5d5c198ad 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsDeleteSample.js @@ -28,10 +28,10 @@ async function deleteASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGetSample.js index 853105f5a5d4..bb5c6b08ce3e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGetSample.js @@ -27,7 +27,7 @@ async function getInformationAboutASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getInformationAboutAnIncrementalSnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGrantAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGrantAccessSample.js index d35d9fed2dbf..a7640850a307 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGrantAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsGrantAccessSample.js @@ -29,10 +29,10 @@ async function getASasOnASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsListByResourceGroupSample.js index 9370e7ab85a9..d97ead78e004 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function listAllSnapshotsInAResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsRevokeAccessSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsRevokeAccessSample.js index 0342c39e0f4f..6ef05c850590 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsRevokeAccessSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsRevokeAccessSample.js @@ -28,10 +28,10 @@ async function revokeAccessToASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsUpdateSample.js index 3e215f02f8d1..d2c4ad4cfa1f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/snapshotsUpdateSample.js @@ -35,10 +35,10 @@ async function updateASnapshotWithAcceleratedNetworking() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,10 +68,10 @@ async function updateASnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysCreateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysCreateSample.js index a2647a163724..7bbdbc8bec82 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysCreateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysCreateSample.js @@ -31,7 +31,7 @@ async function createANewSshPublicKeyResource() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysDeleteSample.js index 81e6f00d773c..98e978211956 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysDeleteSample.js @@ -27,7 +27,7 @@ async function sshPublicKeysDeleteMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .delete(options); console.log(result); @@ -54,7 +54,7 @@ async function sshPublicKeysDeleteMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGenerateKeyPairSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGenerateKeyPairSample.js index b667f7eca488..a92350aee979 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGenerateKeyPairSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGenerateKeyPairSample.js @@ -27,7 +27,7 @@ async function generateAnSshKeyPair() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}/generateKeyPair", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGetSample.js index 28d93e1177e5..8b4df30616ec 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysGetSample.js @@ -27,7 +27,7 @@ async function getAnSshPublicKey() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListByResourceGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListByResourceGroupSample.js index 278a02e9234e..d3e86588721a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListByResourceGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListByResourceGroupSample.js @@ -26,7 +26,7 @@ async function sshPublicKeysListByResourceGroupMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function sshPublicKeysListByResourceGroupMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListBySubscriptionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListBySubscriptionSample.js index a3d3234111ab..990d313d846c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListBySubscriptionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysListBySubscriptionSample.js @@ -24,7 +24,7 @@ async function sshPublicKeysListBySubscriptionMaximumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -52,7 +52,7 @@ async function sshPublicKeysListBySubscriptionMinimumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysUpdateSample.js index b19b7ed9b5b8..91018032f4e5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/sshPublicKeysUpdateSample.js @@ -31,7 +31,7 @@ async function sshPublicKeysUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .patch(options); console.log(result); @@ -59,7 +59,7 @@ async function sshPublicKeysUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/usageListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/usageListSample.js index f8351190c7c7..4ae0895a21a6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/usageListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/usageListSample.js @@ -26,7 +26,7 @@ async function usageListMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function usageListMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesGetSample.js index 4324c30f0563..54d46550226e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesGetSample.js @@ -31,7 +31,7 @@ async function virtualMachineExtensionImagesGetMaximumSetGen() { location, publisherName, type, - version + version, ) .get(options); console.log(result); @@ -62,7 +62,7 @@ async function virtualMachineExtensionImagesGetMinimumSetGen() { location, publisherName, type, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListTypesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListTypesSample.js index 82308a36e5c5..632784c2fa12 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListTypesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListTypesSample.js @@ -27,7 +27,7 @@ async function virtualMachineExtensionImagesListTypesMaximumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineExtensionImagesListTypesMinimumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListVersionsSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListVersionsSample.js index 6080729dcfb7..a6c87def2d9f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListVersionsSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionImagesListVersionsSample.js @@ -34,7 +34,7 @@ async function virtualMachineExtensionImagesListVersionsMaximumSetGen() { subscriptionId, location, publisherName, - type + type, ) .get(options); console.log(result); @@ -63,7 +63,7 @@ async function virtualMachineExtensionImagesListVersionsMinimumSetGen() { subscriptionId, location, publisherName, - type + type, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsCreateOrUpdateSample.js index 7b23be25c894..a2aa839283c9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsCreateOrUpdateSample.js @@ -68,10 +68,10 @@ async function virtualMachineExtensionsCreateOrUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -100,10 +100,10 @@ async function virtualMachineExtensionsCreateOrUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsDeleteSample.js index 02e5a65778e6..8f0df5b8f720 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsDeleteSample.js @@ -30,10 +30,10 @@ async function virtualMachineExtensionsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineExtensionsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsGetSample.js index 1c855d02e87d..30156f8bd213 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsGetSample.js @@ -29,7 +29,7 @@ async function virtualMachineExtensionsGetMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function virtualMachineExtensionsGetMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsListSample.js index d1873f6b0673..770b5e40bac7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsListSample.js @@ -30,7 +30,7 @@ async function virtualMachineExtensionsListMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -57,7 +57,7 @@ async function virtualMachineExtensionsListMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsUpdateSample.js index 11c6e8e2c8d0..156c21c656d1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineExtensionsUpdateSample.js @@ -47,10 +47,10 @@ async function updateVMExtension() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneGetSample.js index 09770429efb4..281ab147cb76 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneGetSample.js @@ -35,7 +35,7 @@ async function virtualMachineImagesEdgeZoneGetMaximumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); @@ -70,7 +70,7 @@ async function virtualMachineImagesEdgeZoneGetMinimumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListOffersSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListOffersSample.js index d48d9ccced13..da1099d358b3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListOffersSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListOffersSample.js @@ -29,7 +29,7 @@ async function virtualMachineImagesEdgeZoneListOffersMaximumSetGen() { subscriptionId, location, edgeZone, - publisherName + publisherName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function virtualMachineImagesEdgeZoneListOffersMinimumSetGen() { subscriptionId, location, edgeZone, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListPublishersSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListPublishersSample.js index 206daf3721a1..c56876d56690 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListPublishersSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListPublishersSample.js @@ -27,7 +27,7 @@ async function virtualMachineImagesEdgeZoneListPublishersMaximumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineImagesEdgeZoneListPublishersMinimumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSample.js index 288f955f7508..cd047251adb5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSample.js @@ -38,7 +38,7 @@ async function virtualMachineImagesEdgeZoneListMaximumSetGen() { edgeZone, publisherName, offer, - skus + skus, ) .get(options); console.log(result); @@ -71,7 +71,7 @@ async function virtualMachineImagesEdgeZoneListMinimumSetGen() { edgeZone, publisherName, offer, - skus + skus, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSkusSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSkusSample.js index f5fbb228c9ef..2da159c3836b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSkusSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesEdgeZoneListSkusSample.js @@ -31,7 +31,7 @@ async function virtualMachineImagesEdgeZoneListSkusMaximumSetGen() { location, edgeZone, publisherName, - offer + offer, ) .get(options); console.log(result); @@ -62,7 +62,7 @@ async function virtualMachineImagesEdgeZoneListSkusMinimumSetGen() { location, edgeZone, publisherName, - offer + offer, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesGetSample.js index 382152f405da..195a4341eed5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesGetSample.js @@ -33,7 +33,7 @@ async function virtualMachineImagesGetMaximumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); @@ -66,7 +66,7 @@ async function virtualMachineImagesGetMinimumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListByEdgeZoneSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListByEdgeZoneSample.js index e9840b89e667..cd988fc5e0df 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListByEdgeZoneSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListByEdgeZoneSample.js @@ -27,7 +27,7 @@ async function virtualMachineImagesEdgeZoneListByEdgeZoneMaximumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineImagesEdgeZoneListByEdgeZoneMinimumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListOffersSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListOffersSample.js index 0202ee17ef16..91b8516f9776 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListOffersSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListOffersSample.js @@ -27,7 +27,7 @@ async function virtualMachineImagesListOffersMaximumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineImagesListOffersMinimumSetGen() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListPublishersSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListPublishersSample.js index ab2a595ab3c3..32fc89da0710 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListPublishersSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListPublishersSample.js @@ -25,7 +25,7 @@ async function virtualMachineImagesListPublishersMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers", subscriptionId, - location + location, ) .get(options); console.log(result); @@ -50,7 +50,7 @@ async function virtualMachineImagesListPublishersMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers", subscriptionId, - location + location, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSample.js index ef762abeea56..3d779b9a592a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSample.js @@ -36,7 +36,7 @@ async function virtualMachineImagesListMaximumSetGen() { location, publisherName, offer, - skus + skus, ) .get(options); console.log(result); @@ -67,7 +67,7 @@ async function virtualMachineImagesListMinimumSetGen() { location, publisherName, offer, - skus + skus, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSkusSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSkusSample.js index cca70edbe4b3..e00bfb8c5250 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSkusSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineImagesListSkusSample.js @@ -29,7 +29,7 @@ async function virtualMachineImagesListSkusMaximumSetGen() { subscriptionId, location, publisherName, - offer + offer, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function virtualMachineImagesListSkusMinimumSetGen() { subscriptionId, location, publisherName, - offer + offer, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsCreateOrUpdateSample.js index 3a046b26f086..29d1b09bbf5a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsCreateOrUpdateSample.js @@ -44,10 +44,10 @@ async function createOrUpdateARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsDeleteSample.js index 5d1874d9ba44..984e4673dc27 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsDeleteSample.js @@ -30,10 +30,10 @@ async function deleteARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetByVirtualMachineSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetByVirtualMachineSample.js index 9b5657b57d3f..ce48be9a25c8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetByVirtualMachineSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetByVirtualMachineSample.js @@ -29,7 +29,7 @@ async function getARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetSample.js index 5f1643db4232..a7d6d7b32a73 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsGetSample.js @@ -27,7 +27,7 @@ async function virtualMachineRunCommandGet() { "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}", subscriptionId, location, - commandId + commandId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListByVirtualMachineSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListByVirtualMachineSample.js index 8cbe2300616d..1f9f2d10787f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListByVirtualMachineSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListByVirtualMachineSample.js @@ -28,7 +28,7 @@ async function listRunCommandsInAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListSample.js index d44264c6acf7..3ce0218760e8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsListSample.js @@ -26,7 +26,7 @@ async function virtualMachineRunCommandList() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsUpdateSample.js index 7db3f68c2f2a..6b81c312d788 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineRunCommandsUpdateSample.js @@ -33,10 +33,10 @@ async function updateARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js index 4bf77927db32..3de1bd4b4bfb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js @@ -45,10 +45,10 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -77,10 +77,10 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsDeleteSample.js index 248dad752bc8..c740ad01b158 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsDeleteSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetExtensionsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetExtensionsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsGetSample.js index 5b2c79d826b8..3fb66ff7cc13 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsGetSample.js @@ -29,7 +29,7 @@ async function virtualMachineScaleSetExtensionsGetMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function virtualMachineScaleSetExtensionsGetMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsListSample.js index 41a68616e0d4..ea80a1e31d1c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsListSample.js @@ -28,7 +28,7 @@ async function virtualMachineScaleSetExtensionsListMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function virtualMachineScaleSetExtensionsListMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsUpdateSample.js index df02ee902f39..aa8020682399 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetExtensionsUpdateSample.js @@ -44,10 +44,10 @@ async function virtualMachineScaleSetExtensionsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -76,10 +76,10 @@ async function virtualMachineScaleSetExtensionsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesCancelSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesCancelSample.js index 7546d1f1e6ad..5a9fa9e77a87 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesCancelSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesCancelSample.js @@ -28,10 +28,10 @@ async function virtualMachineScaleSetRollingUpgradesCancelMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachineScaleSetRollingUpgradesCancelMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesGetLatestSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesGetLatestSample.js index b5d8a41c8bc4..b266fc0ec38e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesGetLatestSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesGetLatestSample.js @@ -27,7 +27,7 @@ async function virtualMachineScaleSetRollingUpgradesGetLatestMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineScaleSetRollingUpgradesGetLatestMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js index f4ee79ce4eb3..2815c2deced6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js @@ -28,10 +28,10 @@ async function startAnExtensionRollingUpgrade() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js index f8c6e3fbdd18..3dae3b486e7a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js @@ -28,10 +28,10 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMaximumSetGen( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMinimumSetGen( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js index c6aa32bd67cb..b9d59c97ff40 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js @@ -41,10 +41,10 @@ async function createVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsDeleteSample.js index 3eb81ab622e2..958c9d89e8a0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsDeleteSample.js @@ -32,10 +32,10 @@ async function deleteVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsGetSample.js index 753842a1294d..08537da526c4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsGetSample.js @@ -31,7 +31,7 @@ async function getVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsListSample.js index 151f6cab5c04..ccaee26badaf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsListSample.js @@ -29,7 +29,7 @@ async function listExtensionsInVmssInstance() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsUpdateSample.js index 67079d97e85a..3ff32ddae923 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMExtensionsUpdateSample.js @@ -41,10 +41,10 @@ async function updateVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js index a67007c14e77..fa3b07c95252 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js @@ -46,10 +46,10 @@ async function createVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsDeleteSample.js index 1c800a561c2c..0a81c5a3375e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsDeleteSample.js @@ -32,10 +32,10 @@ async function deleteVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsGetSample.js index 59a7b492f228..030a6b1def65 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsGetSample.js @@ -31,7 +31,7 @@ async function getVirtualMachineScaleSetVMRunCommands() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsListSample.js index 146b5af6a21f..2b0ac767f587 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsListSample.js @@ -30,7 +30,7 @@ async function listRunCommandsInVmssInstance() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsUpdateSample.js index ff1926eb288c..cffb14b56a39 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMRunCommandsUpdateSample.js @@ -35,10 +35,10 @@ async function updateVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeallocateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeallocateSample.js index fd521f25963e..83a71b7cc891 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeallocateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeallocateSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSDeallocateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSDeallocateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeleteSample.js index eb75fc67847c..c820b3325cb7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSDeleteSample.js @@ -30,10 +30,10 @@ async function forceDeleteAVirtualMachineFromAVMScaleSet() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetInstanceViewSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetInstanceViewSample.js index d61c2cf7f4d0..2b316cbe9503 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetInstanceViewSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetInstanceViewSample.js @@ -29,12 +29,12 @@ async function getInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicated subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); } getInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetSample.js index 8646b9fb12bc..3ad9adf3f235 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSGetSample.js @@ -29,7 +29,7 @@ async function getVMScaleSetVMWithUserData() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); @@ -58,7 +58,7 @@ async function getVMScaleSetVMWithVMSizeProperties() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSListSample.js index ab4193748ecc..80a6b2f81227 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSListSample.js @@ -33,7 +33,7 @@ async function virtualMachineScaleSetVMSListMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -65,7 +65,7 @@ async function virtualMachineScaleSetVMSListMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPerformMaintenanceSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPerformMaintenanceSample.js index f062075e8ce0..fce52fa8e3bc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPerformMaintenanceSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPerformMaintenanceSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPowerOffSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPowerOffSample.js index 115cd295c641..0fb3d1d91e54 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPowerOffSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSPowerOffSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSPowerOffMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSPowerOffMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRedeploySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRedeploySample.js index 627f33a10907..efe8219507a1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRedeploySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRedeploySample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSRedeployMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSRedeployMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageAllSample.js index 74cf65725aa7..9203c960f0ed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageAllSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSReimageAllMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSReimageAllMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageSample.js index d2e61b582954..2a2f81bff444 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSReimageSample.js @@ -31,10 +31,10 @@ async function virtualMachineScaleSetVMSReimageMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -62,10 +62,10 @@ async function virtualMachineScaleSetVMSReimageMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRestartSample.js index 3e9a578f880e..3eecb7258e6c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRestartSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSRestartMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSRestartMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js index ffe640e37274..db25bb92fbc7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js @@ -32,7 +32,7 @@ async function retrieveBootDiagnosticsDataOfAVirtualMachine() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRunCommandSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRunCommandSample.js index ba691818a9e7..b9ec99ba025d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRunCommandSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSRunCommandSample.js @@ -34,10 +34,10 @@ async function virtualMachineScaleSetVMSRunCommand() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSSimulateEvictionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSSimulateEvictionSample.js index f8c1f5d1b71d..6fac83626222 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSSimulateEvictionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSSimulateEvictionSample.js @@ -29,7 +29,7 @@ async function simulateEvictionAVirtualMachine() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSStartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSStartSample.js index 58837713d2bf..8881556d4a2e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSStartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSStartSample.js @@ -30,10 +30,10 @@ async function virtualMachineScaleSetVMSStartMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -61,10 +61,10 @@ async function virtualMachineScaleSetVMSStartMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js index 08d7c4213b6d..64ae2a0d63fe 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetVMSUpdateSample.js @@ -45,129 +45,6 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { vmSize: "Basic_A0", vmSizeProperties: { vCPUsAvailable: 9, vCPUsPerCore: 12 }, }, - instanceView: { - bootDiagnostics: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - }, - disks: [ - { - name: "aaaaaaaaaaa", - encryptionSettings: [ - { - diskEncryptionKey: { - secretUrl: "aaaaaaaa", - sourceVault: { - id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", - }, - }, - enabled: true, - keyEncryptionKey: { - keyUrl: "aaaaaaaaaaaaaa", - sourceVault: { - id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", - }, - }, - }, - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - }, - ], - maintenanceRedeployStatus: { - isCustomerInitiatedMaintenanceAllowed: true, - lastOperationMessage: "aaaaaa", - lastOperationResultCode: "None", - maintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - maintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - }, - placementGroupId: "aaa", - platformFaultDomain: 14, - platformUpdateDomain: 23, - rdpThumbPrint: "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - vmAgent: { - extensionHandlers: [ - { - type: "aaaaaaaaaaaaa", - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - typeHandlerVersion: "aaaaa", - }, - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - vmAgentVersion: "aaaaaaaaaaaaaaaaaaaaaaa", - }, - vmHealth: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - }, - extensions: [ - { - name: "aaaaaaaaaaaaaaaaa", - type: "aaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - substatuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z"), - }, - ], - typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa", - }, - ], - }, licenseType: "aaaaaaaaaa", networkProfile: { networkApiVersion: "2020-11-01", @@ -439,7 +316,6 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { }, userData: "RXhhbXBsZSBVc2VyRGF0YQ==", }, - sku: { name: "Classic", capacity: 29, tier: "aaaaaaaaaaaaaa" }, tags: {}, }, queryParameters: { "api-version": "2022-08-01" }, @@ -450,10 +326,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -482,10 +358,10 @@ async function virtualMachineScaleSetVMSUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js index 520880ca613a..9b047549e3c6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js @@ -28,7 +28,7 @@ async function virtualMachineScaleSetsConvertToSinglePlacementGroupMaximumSetGen "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); @@ -56,7 +56,7 @@ async function virtualMachineScaleSetsConvertToSinglePlacementGroupMinimumSetGen "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsCreateOrUpdateSample.js index 8f1ead6b69a7..5fc8a868b213 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsCreateOrUpdateSample.js @@ -98,10 +98,10 @@ async function createAVmssWithAnExtensionThatHasSuppressFailuresEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -203,10 +203,10 @@ async function createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -278,10 +278,10 @@ async function createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -363,10 +363,10 @@ async function createAPlatformImageScaleSetWithUnmanagedOSDisks() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -438,10 +438,10 @@ async function createAScaleSetFromACustomImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -513,10 +513,10 @@ async function createAScaleSetFromAGeneralizedSharedImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -583,10 +583,10 @@ async function createAScaleSetFromASpecializedSharedImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -681,10 +681,10 @@ async function createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -777,10 +777,10 @@ async function createAScaleSetWithApplicationProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -860,10 +860,10 @@ async function createAScaleSetWithDiskControllerType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -954,10 +954,10 @@ async function createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1050,10 +1050,10 @@ async function createAScaleSetWithFpgaNetworkInterfaces() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1134,10 +1134,10 @@ async function createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1219,10 +1219,10 @@ async function createAScaleSetWithSecurityTypeAsConfidentialVM() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1301,10 +1301,10 @@ async function createAScaleSetWithUefiSettingsOfSecureBootAndVTpm() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1384,10 +1384,10 @@ async function createAScaleSetWithAMarketplaceImagePlan() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1467,10 +1467,10 @@ async function createAScaleSetWithAnAzureApplicationGateway() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1559,10 +1559,10 @@ async function createAScaleSetWithAnAzureLoadBalancer() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1638,10 +1638,10 @@ async function createAScaleSetWithAutomaticRepairsEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1722,10 +1722,10 @@ async function createAScaleSetWithBootDiagnostics() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1805,10 +1805,10 @@ async function createAScaleSetWithEmptyDataDisksOnEachVM() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1889,10 +1889,10 @@ async function createAScaleSetWithEphemeralOSDisksUsingPlacementProperty() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1973,10 +1973,10 @@ async function createAScaleSetWithEphemeralOSDisks() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2072,10 +2072,10 @@ async function createAScaleSetWithExtensionTimeBudget() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2151,10 +2151,10 @@ async function createAScaleSetWithManagedBootDiagnostics() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2229,10 +2229,10 @@ async function createAScaleSetWithPasswordAuthentication() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2307,10 +2307,10 @@ async function createAScaleSetWithPremiumStorage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2392,10 +2392,10 @@ async function createAScaleSetWithPriorityMixPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2471,10 +2471,10 @@ async function createAScaleSetWithScaleInPolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2553,10 +2553,10 @@ async function createAScaleSetWithSpotRestorePolicy() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2642,10 +2642,10 @@ async function createAScaleSetWithSshAuthentication() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2726,10 +2726,10 @@ async function createAScaleSetWithTerminateScheduledEventsEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2805,10 +2805,10 @@ async function createAScaleSetWithUserData() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2889,10 +2889,10 @@ async function createAScaleSetWithVirtualMachinesInDifferentZones() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2971,10 +2971,10 @@ async function createAScaleSetWithVMSizeProperties() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -3054,10 +3054,10 @@ async function createOrUpdateAScaleSetWithCapacityReservation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeallocateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeallocateSample.js index 4459aa25c9d5..139ba208d7a8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeallocateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeallocateSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsDeallocateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsDeallocateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteInstancesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteInstancesSample.js index 716a459b9911..8ca1072ade60 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteInstancesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteInstancesSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsDeleteInstancesMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -59,10 +59,10 @@ async function virtualMachineScaleSetsDeleteInstancesMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteSample.js index 0f6023986c69..132393991643 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsDeleteSample.js @@ -28,10 +28,10 @@ async function forceDeleteAVMScaleSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js index b105a3341bee..c2b3b7fc6366 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js @@ -27,14 +27,14 @@ async function virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDo "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkMaximumSetGen().catch( - console.error + console.error, ); /** * This sample demonstrates how to Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. @@ -56,12 +56,12 @@ async function virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDo "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkMinimumSetGen().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetInstanceViewSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetInstanceViewSample.js index 276957e413af..0109544d25c5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetInstanceViewSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetInstanceViewSample.js @@ -27,7 +27,7 @@ async function virtualMachineScaleSetsGetInstanceViewMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function virtualMachineScaleSetsGetInstanceViewMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetOSUpgradeHistorySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetOSUpgradeHistorySample.js index 6117595d3a19..b48d42f5cfc1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetOSUpgradeHistorySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetOSUpgradeHistorySample.js @@ -28,7 +28,7 @@ async function virtualMachineScaleSetsGetOSUpgradeHistoryMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function virtualMachineScaleSetsGetOSUpgradeHistoryMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetSample.js index aa65e8a05652..13c61b8e7338 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsGetSample.js @@ -27,7 +27,7 @@ async function getVMScaleSetVMWithDiskControllerType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getAVirtualMachineScaleSet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -81,14 +81,14 @@ async function getAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutom "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); } getAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); /** * This sample demonstrates how to Display information about a virtual machine scale set. @@ -110,7 +110,7 @@ async function getAVirtualMachineScaleSetWithUserData() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListAllSample.js index 86c4dae20bdb..572b3f6283c6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListAllSample.js @@ -24,7 +24,7 @@ async function virtualMachineScaleSetsListAllMaximumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -52,7 +52,7 @@ async function virtualMachineScaleSetsListAllMinimumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListByLocationSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListByLocationSample.js index c0169ae85894..9cb83b3eb6b8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListByLocationSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListByLocationSample.js @@ -26,7 +26,7 @@ async function listsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifie .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSample.js index 4177ff99cb58..0a9f35df767b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSample.js @@ -26,7 +26,7 @@ async function virtualMachineScaleSetsListMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function virtualMachineScaleSetsListMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSkusSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSkusSample.js index 7eb658b8cfc2..4dbbe72c1928 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSkusSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsListSkusSample.js @@ -28,7 +28,7 @@ async function virtualMachineScaleSetsListSkusMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -60,7 +60,7 @@ async function virtualMachineScaleSetsListSkusMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPerformMaintenanceSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPerformMaintenanceSample.js index 530bfb8e6107..673bd532b6a2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPerformMaintenanceSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPerformMaintenanceSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsPerformMaintenanceMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsPerformMaintenanceMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPowerOffSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPowerOffSample.js index 4c8521072031..9e53e294ab8a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPowerOffSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsPowerOffSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsPowerOffMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsPowerOffMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRedeploySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRedeploySample.js index edf7a27849d6..d6d3c3f85f1e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRedeploySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRedeploySample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsRedeployMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsRedeployMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageAllSample.js index 89dd09d2cd8e..6e9b10b38540 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageAllSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsReimageAllMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsReimageAllMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageSample.js index 2b48848af73e..aec70bc11485 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsReimageSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsReimageMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsReimageMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRestartSample.js index a4b09dfac01d..89f1a38d83eb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsRestartSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsRestartMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsRestartMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js index f3adb95f30e3..4ef127d5f6fd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMaximumSetGen( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -59,10 +59,10 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMinimumSetGen( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsStartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsStartSample.js index 8a814931c82e..eb8bb6697545 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsStartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsStartSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsStartMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,10 +58,10 @@ async function virtualMachineScaleSetsStartMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateInstancesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateInstancesSample.js index 778bbc49e41c..2f62f328899a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateInstancesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateInstancesSample.js @@ -29,10 +29,10 @@ async function virtualMachineScaleSetsUpdateInstancesMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -59,10 +59,10 @@ async function virtualMachineScaleSetsUpdateInstancesMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateSample.js index e553799f5da1..8400b865b804 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineScaleSetsUpdateSample.js @@ -273,10 +273,10 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -303,10 +303,10 @@ async function virtualMachineScaleSetsUpdateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineSizesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineSizesListSample.js index 6154a6f0033e..15b57333d07d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineSizesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachineSizesListSample.js @@ -26,7 +26,7 @@ async function virtualMachineSizesListMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function virtualMachineSizesListMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesAssessPatchesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesAssessPatchesSample.js index 4afeceb4aad5..02435c626acc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesAssessPatchesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesAssessPatchesSample.js @@ -28,10 +28,10 @@ async function assessPatchStateOfAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCaptureSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCaptureSample.js index b58dfca4a02c..a23996e329e4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCaptureSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCaptureSample.js @@ -33,10 +33,10 @@ async function virtualMachinesCaptureMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -67,10 +67,10 @@ async function virtualMachinesCaptureMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesConvertToManagedDisksSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesConvertToManagedDisksSample.js index ff8a116a712e..3580489c0116 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesConvertToManagedDisksSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesConvertToManagedDisksSample.js @@ -28,10 +28,10 @@ async function virtualMachinesConvertToManagedDisksMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesConvertToManagedDisksMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCreateOrUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCreateOrUpdateSample.js index d09ad7ee6a59..17cdd831430a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesCreateOrUpdateSample.js @@ -65,10 +65,10 @@ async function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -135,16 +135,16 @@ async function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndA "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -203,10 +203,10 @@ async function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -272,16 +272,16 @@ async function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAu "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -334,10 +334,10 @@ async function createAVMFromACommunityGalleryImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -394,10 +394,10 @@ async function createAVMFromASharedGalleryImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -464,10 +464,10 @@ async function createAVMWithDiskControllerType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -533,10 +533,10 @@ async function createAVMWithHibernationEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -599,10 +599,10 @@ async function createAVMWithUefiSettingsOfSecureBootAndVTpm() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -668,10 +668,10 @@ async function createAVMWithUserData() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -740,10 +740,10 @@ async function createAVMWithVMSizeProperties() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -822,10 +822,10 @@ async function createAVMWithNetworkInterfaceConfiguration() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -896,10 +896,10 @@ async function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -967,10 +967,10 @@ async function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1034,10 +1034,10 @@ async function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1101,10 +1101,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1172,16 +1172,16 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1244,16 +1244,16 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnableHotpatchingSetToTrue().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1313,10 +1313,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfManual() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1383,16 +1383,16 @@ async function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToA "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1447,10 +1447,10 @@ async function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1529,10 +1529,10 @@ async function createAPlatformImageVMWithUnmanagedOSAndDataDisks() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1588,10 +1588,10 @@ async function createAVMFromACustomImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1647,10 +1647,10 @@ async function createAVMFromAGeneralizedSharedImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1701,10 +1701,10 @@ async function createAVMFromASpecializedSharedImage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1767,10 +1767,10 @@ async function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFau "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1832,10 +1832,10 @@ async function createAVMInAnAvailabilitySet() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1912,10 +1912,10 @@ async function createAVMWithApplicationProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2003,10 +2003,10 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2071,10 +2071,10 @@ async function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2145,10 +2145,10 @@ async function createAVMWithScheduledEventsProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2212,10 +2212,10 @@ async function createAVMWithAMarketplaceImagePlan() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2281,10 +2281,10 @@ async function createAVMWithAnExtensionsTimeBudget() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2349,10 +2349,10 @@ async function createAVMWithBootDiagnostics() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2415,10 +2415,10 @@ async function createAVMWithEmptyDataDisks() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2483,10 +2483,10 @@ async function createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacement "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2551,10 +2551,10 @@ async function createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacem "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2619,10 +2619,10 @@ async function createAVMWithEphemeralOSDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2682,10 +2682,10 @@ async function createAVMWithManagedBootDiagnostics() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2744,10 +2744,10 @@ async function createAVMWithPasswordAuthentication() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2806,10 +2806,10 @@ async function createAVMWithPremiumStorage() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2879,10 +2879,10 @@ async function createAVMWithSshAuthentication() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2951,10 +2951,10 @@ async function createOrUpdateAVMWithCapacityReservation() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeallocateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeallocateSample.js index 3b093b0309af..22b9bd7f0842 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeallocateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeallocateSample.js @@ -28,10 +28,10 @@ async function virtualMachinesDeallocateMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesDeallocateMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeleteSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeleteSample.js index 545768f02efc..6a9852551b5b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeleteSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesDeleteSample.js @@ -28,10 +28,10 @@ async function forceDeleteAVM() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGeneralizeSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGeneralizeSample.js index a1abfafc308c..010909bbeb5a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGeneralizeSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGeneralizeSample.js @@ -27,7 +27,7 @@ async function generalizeAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGetSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGetSample.js index e451707eb7c1..86ec70d7ebdd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGetSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesGetSample.js @@ -27,7 +27,7 @@ async function getAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -54,7 +54,7 @@ async function getAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlac "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -81,7 +81,7 @@ async function getAVirtualMachineWithDiskControllerTypeProperties() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -108,7 +108,7 @@ async function getAVirtualMachineWithVMSizeProperties() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstallPatchesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstallPatchesSample.js index 9fc4b36edf0a..379f99f88eb8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstallPatchesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstallPatchesSample.js @@ -36,10 +36,10 @@ async function installPatchStateOfAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstanceViewSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstanceViewSample.js index 675435735ec0..a3389e26ec24 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstanceViewSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesInstanceViewSample.js @@ -27,7 +27,7 @@ async function getVirtualMachineInstanceView() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -54,12 +54,12 @@ async function getInstanceViewOfAVirtualMachinePlacedOnADedicatedHostGroupThroug "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); } getInstanceViewOfAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAllSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAllSample.js index 0b70137905ed..2e111af5d0b3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAllSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAllSample.js @@ -28,7 +28,7 @@ async function virtualMachinesListAllMaximumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -56,7 +56,7 @@ async function virtualMachinesListAllMinimumSetGen() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAvailableSizesSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAvailableSizesSample.js index 0486672bf54a..926213d617b8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAvailableSizesSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListAvailableSizesSample.js @@ -28,7 +28,7 @@ async function listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMac "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/vmSizes", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -40,5 +40,5 @@ async function listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMac } listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMachineCanBeResized().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListByLocationSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListByLocationSample.js index 70e60ff6aff5..d61ba88abf0f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListByLocationSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListByLocationSample.js @@ -26,7 +26,7 @@ async function listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpec .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -38,5 +38,5 @@ async function listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpec } listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpecifiedLocation().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListSample.js index b20deb8e8e01..a6ddf25a8a2c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesListSample.js @@ -29,7 +29,7 @@ async function virtualMachinesListMaximumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -59,7 +59,7 @@ async function virtualMachinesListMinimumSetGen() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPerformMaintenanceSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPerformMaintenanceSample.js index 08c7239f8274..a20ca5108555 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPerformMaintenanceSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPerformMaintenanceSample.js @@ -28,10 +28,10 @@ async function virtualMachinesPerformMaintenanceMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesPerformMaintenanceMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPowerOffSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPowerOffSample.js index 9c9a62dd2c47..72acaafc5c39 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPowerOffSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesPowerOffSample.js @@ -28,10 +28,10 @@ async function virtualMachinesPowerOffMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesPowerOffMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReapplySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReapplySample.js index e6e580c8e680..c2af74144fb6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReapplySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReapplySample.js @@ -28,10 +28,10 @@ async function reapplyTheStateOfAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRedeploySample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRedeploySample.js index 41e6c90d6d37..44b33cc49070 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRedeploySample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRedeploySample.js @@ -28,10 +28,10 @@ async function virtualMachinesRedeployMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesRedeployMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReimageSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReimageSample.js index 9af755007519..77e4ccffde12 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReimageSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesReimageSample.js @@ -29,10 +29,10 @@ async function reimageAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRestartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRestartSample.js index 2bbb600116b1..8eaa8877e3ec 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRestartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRestartSample.js @@ -28,10 +28,10 @@ async function virtualMachinesRestartMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesRestartMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRetrieveBootDiagnosticsDataSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRetrieveBootDiagnosticsDataSample.js index 104f5654868e..e2d6f7ea7dd3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRetrieveBootDiagnosticsDataSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRetrieveBootDiagnosticsDataSample.js @@ -30,7 +30,7 @@ async function retrieveBootDiagnosticsDataOfAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/retrieveBootDiagnosticsData", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRunCommandSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRunCommandSample.js index 91f0f1029985..51813875344d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRunCommandSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesRunCommandSample.js @@ -29,10 +29,10 @@ async function virtualMachineRunCommand() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesSimulateEvictionSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesSimulateEvictionSample.js index 844d11db03f0..2939bff23b80 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesSimulateEvictionSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesSimulateEvictionSample.js @@ -27,7 +27,7 @@ async function simulateEvictionAVirtualMachine() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesStartSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesStartSample.js index 0f7a569554ad..0f65281e4148 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesStartSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesStartSample.js @@ -28,10 +28,10 @@ async function virtualMachinesStartMaximumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,10 +57,10 @@ async function virtualMachinesStartMinimumSetGen() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesUpdateSample.js b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesUpdateSample.js index 24654963a7f3..403db06db38a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesUpdateSample.js +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/javascript/virtualMachinesUpdateSample.js @@ -74,10 +74,10 @@ async function updateAVMByDetachingDataDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -150,10 +150,10 @@ async function updateAVMByForceDetachingDataDisk() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/README.md b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/README.md index ea6bfb903528..b174a96330d2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/README.md +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/README.md @@ -613,7 +613,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [virtualmachinessimulateevictionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts [virtualmachinesstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts [virtualmachinesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts -[apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/arm-compute?view=azure-node-preview +[apiref]: https://learn.microsoft.com/javascript/api/@azure-rest/arm-compute?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/package.json b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/package.json index a98ba7651e9c..4512c0d7015a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/package.json +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/package.json @@ -32,11 +32,11 @@ "dependencies": { "@azure-rest/arm-compute": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" }, "devDependencies": { "@types/node": "^18.0.0", - "typescript": "~5.7.2", + "typescript": "~5.6.2", "rimraf": "latest" } } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts index 6d762f831a91..6bdb1186ef99 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsCreateOrUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - AvailabilitySetsCreateOrUpdateParameters + AvailabilitySetsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update an availability set. @@ -26,16 +24,16 @@ async function createAnAvailabilitySet() { const options: AvailabilitySetsCreateOrUpdateParameters = { body: { location: "westus", - properties: { platformFaultDomainCount: 2, platformUpdateDomainCount: 20 } + properties: { platformFaultDomainCount: 2, platformUpdateDomainCount: 20 }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts index a216770c5080..b4d705c917fd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsDeleteSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - AvailabilitySetsDeleteParameters + AvailabilitySetsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete an availability set. @@ -24,14 +22,14 @@ async function availabilitySetsDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aaaaaaaaaaaaaaaaaaaa"; const options: AvailabilitySetsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .delete(options); console.log(result); @@ -51,14 +49,14 @@ async function availabilitySetsDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aaaaaaaaaaa"; const options: AvailabilitySetsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts index a68fba91a08c..4a588e6b8344 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - AvailabilitySetsGetParameters + AvailabilitySetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about an availability set. @@ -24,14 +22,14 @@ async function availabilitySetsGetMaximumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aaaaaaaaaaaa"; const options: AvailabilitySetsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); console.log(result); @@ -51,14 +49,14 @@ async function availabilitySetsGetMinimumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aaaaaaaaaaaaaaaaaaaa"; const options: AvailabilitySetsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts index 021906db4cb3..dd973f99cbed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListAvailableSizesSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { AvailabilitySetsListAvailableSizesParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set. @@ -25,14 +23,14 @@ async function availabilitySetsListAvailableSizesMaximumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aaaaaaaaaaaaaaaaaaaa"; const options: AvailabilitySetsListAvailableSizesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,14 +55,14 @@ async function availabilitySetsListAvailableSizesMinimumSetGen() { const resourceGroupName = "rgcompute"; const availabilitySetName = "aa"; const options: AvailabilitySetsListAvailableSizesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts index 93e58c24a95b..e645036afed1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListBySubscriptionSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { AvailabilitySetsListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all availability sets in a subscription. @@ -25,13 +23,13 @@ async function listAvailabilitySetsInASubscription() { const options: AvailabilitySetsListBySubscriptionParameters = { queryParameters: { "api-version": "2022-08-01", - $expand: "virtualMachines$ref" - } + $expand: "virtualMachines$ref", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts index c771478b2b05..4a5334c3e6a5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { AvailabilitySetsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all availability sets in a resource group. @@ -24,13 +22,13 @@ async function availabilitySetsListMaximumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: AvailabilitySetsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +52,13 @@ async function availabilitySetsListMinimumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: AvailabilitySetsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts index 97ca29bcc3dd..f4e6dae88b55 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/availabilitySetsUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - AvailabilitySetsUpdateParameters + AvailabilitySetsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an availability set. @@ -29,27 +27,25 @@ async function availabilitySetsUpdateMaximumSetGen() { platformFaultDomainCount: 2, platformUpdateDomainCount: 20, proximityPlacementGroup: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, virtualMachines: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } - ] + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, + ], }, sku: { name: "DSv3-Type1", capacity: 7, tier: "aaa" }, - tags: { key2574: "aaaaaaaa" } + tags: { key2574: "aaaaaaaa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .patch(options); console.log(result); @@ -70,14 +66,14 @@ async function availabilitySetsUpdateMinimumSetGen() { const availabilitySetName = "aaaaaaaaaaaaaaaaaaaa"; const options: AvailabilitySetsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", subscriptionId, resourceGroupName, - availabilitySetName + availabilitySetName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts index 1f998ac6d179..84214680c100 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsCreateOrUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CapacityReservationGroupsCreateOrUpdateParameters + CapacityReservationGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. Please refer to https://aka.ms/CapacityReservation for more details. @@ -27,16 +25,16 @@ async function createOrUpdateACapacityReservationGroup() { body: { location: "westus", tags: { department: "finance" }, - zones: ["1", "2"] + zones: ["1", "2"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts index cc3b19a0fc9c..7c07d53064e0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsDeleteSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CapacityReservationGroupsDeleteParameters + CapacityReservationGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. @@ -24,14 +22,14 @@ async function capacityReservationGroupsDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const capacityReservationGroupName = "a"; const options: CapacityReservationGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .delete(options); console.log(result); @@ -51,14 +49,14 @@ async function capacityReservationGroupsDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const capacityReservationGroupName = "aaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: CapacityReservationGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts index b0c727dbaaa6..9e7272b918ec 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CapacityReservationGroupsGetParameters + CapacityReservationGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation that retrieves information about a capacity reservation group. @@ -24,14 +22,14 @@ async function getACapacityReservationGroup() { const resourceGroupName = "myResourceGroup"; const capacityReservationGroupName = "myCapacityReservationGroup"; const options: CapacityReservationGroupsGetParameters = { - queryParameters: { $expand: "instanceView", "api-version": "2022-08-01" } + queryParameters: { $expand: "instanceView", "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts index 845181ec886d..e5e6d6485ea1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListByResourceGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationGroupsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservation groups in the specified resource group. Use the nextLink property in the response to get the next page of capacity reservation groups. @@ -26,14 +24,14 @@ async function listCapacityReservationGroupsInResourceGroup() { const options: CapacityReservationGroupsListByResourceGroupParameters = { queryParameters: { "api-version": "2022-08-01", - $expand: "virtualMachines/$ref" - } + $expand: "virtualMachines/$ref", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts index f2cbcb239b66..2477d0770db5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsListBySubscriptionSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationGroupsListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups. @@ -25,13 +23,13 @@ async function listCapacityReservationGroupsInSubscription() { const options: CapacityReservationGroupsListBySubscriptionParameters = { queryParameters: { "api-version": "2022-08-01", - $expand: "virtualMachines/$ref" - } + $expand: "virtualMachines/$ref", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts index 709d3abd2e47..8b5f8e4feddb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationGroupsUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CapacityReservationGroupsUpdateParameters + CapacityReservationGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. @@ -25,14 +23,14 @@ async function capacityReservationGroupsUpdateMaximumSetGen() { const capacityReservationGroupName = "aaaaaaaaaaaaaaaaaaaaaa"; const options: CapacityReservationGroupsUpdateParameters = { body: { properties: { instanceView: {} }, tags: { key5355: "aaa" } }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .patch(options); console.log(result); @@ -53,14 +51,14 @@ async function capacityReservationGroupsUpdateMinimumSetGen() { const capacityReservationGroupName = "aaaaaaaaaaaaaaaaaaaaaa"; const options: CapacityReservationGroupsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts index 5df91ea966e5..1970ec32074c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a capacity reservation. Please note some properties can be set only during capacity reservation creation. Please refer to https://aka.ms/CapacityReservation for more details. @@ -30,9 +28,9 @@ async function createOrUpdateACapacityReservation() { location: "westus", sku: { name: "Standard_DS1_v2", capacity: 4 }, tags: { department: "HR" }, - zones: ["1"] + zones: ["1"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -40,10 +38,10 @@ async function createOrUpdateACapacityReservation() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts index cfe4d06d050a..4a83ec86169a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. @@ -26,7 +24,7 @@ async function capacityReservationsDeleteMaximumSetGen() { const capacityReservationGroupName = "aaaaaaaaaaa"; const capacityReservationName = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: CapacityReservationsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function capacityReservationsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function capacityReservationsDeleteMinimumSetGen() { const capacityReservationGroupName = "aaa"; const capacityReservationName = "aaaaaa"; const options: CapacityReservationsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function capacityReservationsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts index 30972afed916..714d71dc3d5f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CapacityReservationsGetParameters + CapacityReservationsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation that retrieves information about the capacity reservation. @@ -25,7 +23,7 @@ async function getACapacityReservation() { const capacityReservationGroupName = "myCapacityReservationGroup"; const capacityReservationName = "myCapacityReservation"; const options: CapacityReservationsGetParameters = { - queryParameters: { $expand: "instanceView", "api-version": "2022-08-01" } + queryParameters: { $expand: "instanceView", "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getACapacityReservation() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts index 577fc32ec573..dbf86e3c690a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsListByCapacityReservationGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationsListByCapacityReservationGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations. @@ -25,14 +23,14 @@ async function listCapacityReservationsInReservationGroup() { const resourceGroupName = "myResourceGroup"; const capacityReservationGroupName = "myCapacityReservationGroup"; const options: CapacityReservationsListByCapacityReservationGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations", subscriptionId, resourceGroupName, - capacityReservationGroupName + capacityReservationGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts index cf0ffea271d3..7bdf7754bd6c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/capacityReservationsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CapacityReservationsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a capacity reservation. @@ -35,16 +33,16 @@ async function capacityReservationsUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, ], - utilizationInfo: {} - } + utilizationInfo: {}, + }, }, sku: { name: "Standard_DS1_v2", capacity: 7, tier: "aaa" }, - tags: { key4974: "aaaaaaaaaaaaaaaa" } + tags: { key4974: "aaaaaaaaaaaaaaaa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -52,10 +50,10 @@ async function capacityReservationsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -76,7 +74,7 @@ async function capacityReservationsUpdateMinimumSetGen() { const capacityReservationName = "aaa"; const options: CapacityReservationsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -84,10 +82,10 @@ async function capacityReservationsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, capacityReservationGroupName, - capacityReservationName + capacityReservationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts index de0b6f618775..e30510927d71 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceOperatingSystemsGetOSFamilyParameters + CloudServiceOperatingSystemsGetOSFamilyParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. @@ -24,14 +22,14 @@ async function getCloudServiceOSFamily() { const location = "westus2"; const osFamilyName = "3"; const options: CloudServiceOperatingSystemsGetOSFamilyParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}", subscriptionId, location, - osFamilyName + osFamilyName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts index 4e2df0536604..6bd5428b7826 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceOperatingSystemsGetOSVersionParameters + CloudServiceOperatingSystemsGetOSVersionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. @@ -24,14 +22,14 @@ async function getCloudServiceOSVersion() { const location = "westus2"; const osVersionName = "WA-GUEST-OS-3.90_202010-02"; const options: CloudServiceOperatingSystemsGetOSVersionParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}", subscriptionId, location, - osVersionName + osVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts index 150476d06995..4afd1396b0b6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceOperatingSystemsListOSFamiliesParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. @@ -24,13 +22,13 @@ async function listCloudServiceOSFamiliesInASubscription() { const subscriptionId = ""; const location = "westus2"; const options: CloudServiceOperatingSystemsListOSFamiliesParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts index 02a71eaf3c4e..5ac5b8cdfa37 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceOperatingSystemsListOSVersionsParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. @@ -24,13 +22,13 @@ async function listCloudServiceOSVersionsInASubscription() { const subscriptionId = ""; const location = "westus2"; const options: CloudServiceOperatingSystemsListOSVersionsParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts index e00388f85d7d..1befc1ef6e74 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRoleInstancesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a role instance from a cloud service. @@ -26,7 +24,7 @@ async function deleteCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesDeleteParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function deleteCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts index 21f5418a5359..bfb7f0c5a3cf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceRoleInstancesGetInstanceViewParameters + CloudServiceRoleInstancesGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the run-time state of a role instance in a cloud service. @@ -25,7 +23,7 @@ async function getInstanceViewOfCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesGetInstanceViewParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getInstanceViewOfCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts index 90999feb91f8..1a9b9fa7540f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceRoleInstancesGetRemoteDesktopFileParameters + CloudServiceRoleInstancesGetRemoteDesktopFileParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a remote desktop file for a role instance in a cloud service. @@ -25,7 +23,7 @@ async function getCloudServiceRole() { const cloudServiceName = "aaaa"; const roleInstanceName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: CloudServiceRoleInstancesGetRemoteDesktopFileParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getCloudServiceRole() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts index ea58ae38980a..e5538ed69765 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceRoleInstancesGetParameters + CloudServiceRoleInstancesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a role instance from a cloud service. @@ -25,7 +23,7 @@ async function getCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesGetParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts index 43551711c856..56aca123a80c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRoleInstancesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. @@ -25,14 +23,14 @@ async function listRoleInstancesInACloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServiceRoleInstancesListParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts index e899b0db0fa1..bd3eb95bf701 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRebuildSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRoleInstancesRebuildParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. @@ -26,7 +24,7 @@ async function rebuildCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesRebuildParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function rebuildCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts index 827bbf498006..6ffe94b39fe6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesReimageSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRoleInstancesReimageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. @@ -26,7 +24,7 @@ async function reimageCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesReimageParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function reimageCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts index 0bfe8c6156bd..b8940df2e13c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRoleInstancesRestartSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRoleInstancesRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. @@ -26,7 +24,7 @@ async function restartCloudServiceRoleInstance() { const cloudServiceName = "{cs-name}"; const roleInstanceName = "{roleInstance-name}"; const options: CloudServiceRoleInstancesRestartParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function restartCloudServiceRoleInstance() { subscriptionId, resourceGroupName, cloudServiceName, - roleInstanceName + roleInstanceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts index fd7722b48d99..c92027fdb3b6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServiceRolesGetParameters + CloudServiceRolesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a role from a cloud service. @@ -25,7 +23,7 @@ async function getCloudServiceRole() { const cloudServiceName = "{cs-name}"; const roleName = "{role-name}"; const options: CloudServiceRolesGetParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getCloudServiceRole() { subscriptionId, resourceGroupName, cloudServiceName, - roleName + roleName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts index 9bbb8951e707..a9af51efc5e8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServiceRolesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServiceRolesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. @@ -25,14 +23,14 @@ async function listRolesInACloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServiceRolesListParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts index 6f37f2b81cde..28266376568f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. @@ -39,43 +37,42 @@ async function createNewCloudServiceWithMultipleRoles() { name: "contosofe", properties: { publicIPAddress: { - id: - "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" - } - } - } - ] - } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip", + }, + }, + }, + ], + }, + }, + ], }, packageUrl: "{PackageUrl}", roleProfile: { roles: [ { name: "ContosoFrontend", - sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" }, }, { name: "ContosoBackend", - sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" } - } - ] + sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" }, + }, + ], }, - upgradeMode: "Auto" - } + upgradeMode: "Auto", + }, }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -108,39 +105,38 @@ async function createNewCloudServiceWithSingleRole() { name: "myfe", properties: { publicIPAddress: { - id: - "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP" - } - } - } - ] - } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP", + }, + }, + }, + ], + }, + }, + ], }, packageUrl: "{PackageUrl}", roleProfile: { roles: [ { name: "ContosoFrontend", - sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" } - } - ] + sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" }, + }, + ], }, - upgradeMode: "Auto" - } + upgradeMode: "Auto", + }, }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -173,62 +169,58 @@ async function createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { name: "contosofe", properties: { publicIPAddress: { - id: - "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" - } - } - } - ] - } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip", + }, + }, + }, + ], + }, + }, + ], }, osProfile: { secrets: [ { sourceVault: { - id: - "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}", }, vaultCertificates: [ { certificateUrl: - "https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}" - } - ] - } - ] + "https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}", + }, + ], + }, + ], }, packageUrl: "{PackageUrl}", roleProfile: { roles: [ { name: "ContosoFrontend", - sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" } - } - ] + sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" }, + }, + ], }, - upgradeMode: "Auto" - } + upgradeMode: "Auto", + }, }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault().catch( - console.error -); +createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault().catch(console.error); /** * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * @@ -253,15 +245,14 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { properties: { type: "RDP", autoUpgradeMinorVersion: false, - protectedSettings: - "{password}", + protectedSettings: "{password}", publisher: "Microsoft.Windows.Azure.Extensions", settings: "UserAzure10/22/2021 15:05:45", - typeHandlerVersion: "1.2" - } - } - ] + typeHandlerVersion: "1.2", + }, + }, + ], }, networkProfile: { loadBalancerConfigurations: [ @@ -273,39 +264,38 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { name: "contosofe", properties: { publicIPAddress: { - id: - "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" - } - } - } - ] - } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip", + }, + }, + }, + ], + }, + }, + ], }, packageUrl: "{PackageUrl}", roleProfile: { roles: [ { name: "ContosoFrontend", - sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" } - } - ] + sku: { name: "Standard_D1_v2", capacity: 1, tier: "Standard" }, + }, + ], }, - upgradeMode: "Auto" - } + upgradeMode: "Auto", + }, }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts index 7c7c6959c916..a3b63cb2795b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteInstancesSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesDeleteInstancesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes role instances in a cloud service. @@ -26,17 +24,17 @@ async function deleteCloudServiceRoleInstancesInACloudService() { const cloudServiceName = "{cs-name}"; const options: CloudServicesDeleteInstancesParameters = { body: { roleInstances: ["ContosoFrontend_IN_0", "ContosoBackend_IN_1"] }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts index 6c561ea8662a..7ca1a541c6c0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a cloud service. @@ -25,17 +23,17 @@ async function deleteCloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesDeleteParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts index 0f8c2f2764f1..9f28d56ccebd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetInstanceViewSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServicesGetInstanceViewParameters + CloudServicesGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a cloud service. @@ -24,14 +22,14 @@ async function getCloudServiceInstanceViewWithMultipleRoles() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesGetInstanceViewParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/instanceView", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts index e448f53b7cd1..fe3aea796b1c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesGetSample.ts @@ -3,13 +3,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - CloudServicesGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { CloudServicesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Display information about a cloud service. @@ -24,14 +20,14 @@ async function getCloudServiceWithMultipleRolesAndRdpExtension() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesGetParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts index eaf659a48395..70fd21c2dd51 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListAllSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. @@ -23,12 +21,12 @@ async function listCloudServicesInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: CloudServicesListAllParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts index e672ae1c337c..a19616803a60 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. @@ -24,13 +22,13 @@ async function listCloudServicesInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "ConstosoRG"; const options: CloudServicesListParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts index 07cda56c9dc0..6f874684a723 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesPowerOffSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesPowerOffParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. @@ -25,17 +23,17 @@ async function stopOrPowerOffCloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesPowerOffParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts index facd5c119f80..42c63f32db66 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRebuildSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesRebuildParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. @@ -26,17 +24,17 @@ async function rebuildCloudServiceRoleInstancesInACloudService() { const cloudServiceName = "{cs-name}"; const options: CloudServicesRebuildParameters = { body: { roleInstances: ["ContosoFrontend_IN_0", "ContosoBackend_IN_1"] }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts index d5fcca1ae3b5..f13e3e2f0f49 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesReimageSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesReimageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. @@ -26,17 +24,17 @@ async function reimageCloudServiceRoleInstancesInACloudService() { const cloudServiceName = "{cs-name}"; const options: CloudServicesReimageParameters = { body: { roleInstances: ["ContosoFrontend_IN_0", "ContosoBackend_IN_1"] }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts index 9320ca38316f..24f7daf331cf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesRestartSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts one or more role instances in a cloud service. @@ -26,17 +24,17 @@ async function restartCloudServiceRoleInstancesInACloudService() { const cloudServiceName = "{cs-name}"; const options: CloudServicesRestartParameters = { body: { roleInstances: ["ContosoFrontend_IN_0", "ContosoBackend_IN_1"] }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts index e27a7babfe94..4e0185a3c37e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesStartSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesStartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts the cloud service. @@ -25,17 +23,17 @@ async function startCloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesStartParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts index 1fa4fad240fc..a3828ac4e2d7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CloudServicesUpdateDomainGetUpdateDomainParameters + CloudServicesUpdateDomainGetUpdateDomainParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. @@ -25,7 +23,7 @@ async function getCloudServiceUpdateDomain() { const cloudServiceName = "{cs-name}"; const updateDomain = 1; const options: CloudServicesUpdateDomainGetUpdateDomainParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getCloudServiceUpdateDomain() { subscriptionId, resourceGroupName, cloudServiceName, - updateDomain + updateDomain, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts index 6183634e7919..fb8890d94d79 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesUpdateDomainListUpdateDomainsParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all update domains in a cloud service. @@ -25,14 +23,14 @@ async function listUpdateDomainsInCloudService() { const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; const options: CloudServicesUpdateDomainListUpdateDomainsParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts index ee1f9c5625e9..454fecd6ccb3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesUpdateDomainWalkUpdateDomainParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates the role instances in the specified update domain. @@ -26,7 +24,7 @@ async function updateCloudServiceToSpecifiedDomain() { const cloudServiceName = "{cs-name}"; const updateDomain = 1; const options: CloudServicesUpdateDomainWalkUpdateDomainParameters = { - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function updateCloudServiceToSpecifiedDomain() { subscriptionId, resourceGroupName, cloudServiceName, - updateDomain + updateDomain, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts index d3f0ba918afe..9c33fded3eb9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/cloudServicesUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CloudServicesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a cloud service. @@ -26,17 +24,17 @@ async function updateExistingCloudServiceToAddTags() { const cloudServiceName = "{cs-name}"; const options: CloudServicesUpdateParameters = { body: { tags: { Documentation: "RestAPI" } }, - queryParameters: { "api-version": "2022-04-04" } + queryParameters: { "api-version": "2022-04-04" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}", subscriptionId, resourceGroupName, - cloudServiceName + cloudServiceName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts index 35fc48e4b3e1..c777a207d099 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleriesGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CommunityGalleriesGetParameters + CommunityGalleriesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery by gallery public name. @@ -24,14 +22,14 @@ async function getACommunityGallery() { const location = "myLocation"; const publicGalleryName = "publicGalleryName"; const options: CommunityGalleriesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}", subscriptionId, location, - publicGalleryName + publicGalleryName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts index fc56b89d4f64..344e558094b9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CommunityGalleryImageVersionsGetParameters + CommunityGalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery image version. @@ -26,7 +24,7 @@ async function getACommunityGalleryImageVersion() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "myGalleryImageVersionName"; const options: CommunityGalleryImageVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -35,7 +33,7 @@ async function getACommunityGalleryImageVersion() { location, publicGalleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts index 6da21c58ff8c..0b30a4fc7565 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImageVersionsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CommunityGalleryImageVersionsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List community gallery image versions inside an image. @@ -26,7 +24,7 @@ async function listCommunityGalleryImageVersions() { const publicGalleryName = "publicGalleryName"; const galleryImageName = "myGalleryImageName"; const options: CommunityGalleryImageVersionsListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,7 +32,7 @@ async function listCommunityGalleryImageVersions() { subscriptionId, location, publicGalleryName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts index 3a9afccdd63d..5c188f52594c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - CommunityGalleryImagesGetParameters + CommunityGalleryImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a community gallery image. @@ -25,7 +23,7 @@ async function getACommunityGalleryImage() { const publicGalleryName = "publicGalleryName"; const galleryImageName = "myGalleryImageName"; const options: CommunityGalleryImagesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getACommunityGalleryImage() { subscriptionId, location, publicGalleryName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts index 0006a4e970e2..7d1b0a69b2c4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/communityGalleryImagesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { CommunityGalleryImagesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List community gallery images inside a gallery. @@ -25,14 +23,14 @@ async function listCommunityGalleryImages() { const location = "myLocation"; const publicGalleryName = "publicGalleryName"; const options: CommunityGalleryImagesListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images", subscriptionId, location, - publicGalleryName + publicGalleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts index 8954845b3a9a..db6965aaa2e3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsCreateOrUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DedicatedHostGroupsCreateOrUpdateParameters + DedicatedHostGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) @@ -29,19 +27,19 @@ async function createOrUpdateADedicatedHostGroupWithUltraSsdSupport() { properties: { additionalCapabilities: { ultraSSDEnabled: true }, platformFaultDomainCount: 3, - supportAutomaticPlacement: true + supportAutomaticPlacement: true, }, tags: { department: "finance" }, - zones: ["1"] + zones: ["1"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .put(options); console.log(result); @@ -65,19 +63,19 @@ async function createOrUpdateADedicatedHostGroup() { location: "westus", properties: { platformFaultDomainCount: 3, - supportAutomaticPlacement: true + supportAutomaticPlacement: true, }, tags: { department: "finance" }, - zones: ["1"] + zones: ["1"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts index 82f8c8fd61ee..4ac22ed28902 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsDeleteSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DedicatedHostGroupsDeleteParameters + DedicatedHostGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a dedicated host group. @@ -24,14 +22,14 @@ async function dedicatedHostGroupsDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const hostGroupName = "a"; const options: DedicatedHostGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .delete(options); console.log(result); @@ -51,14 +49,14 @@ async function dedicatedHostGroupsDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const hostGroupName = "aaaa"; const options: DedicatedHostGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts index e65d23771775..e91b8cd4d0f6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DedicatedHostGroupsGetParameters + DedicatedHostGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a dedicated host group. @@ -24,14 +22,14 @@ async function createADedicatedHostGroup() { const resourceGroupName = "myResourceGroup"; const hostGroupName = "myDedicatedHostGroup"; const options: DedicatedHostGroupsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); console.log(result); @@ -51,14 +49,14 @@ async function createAnUltraSsdEnabledDedicatedHostGroup() { const resourceGroupName = "myResourceGroup"; const hostGroupName = "myDedicatedHostGroup"; const options: DedicatedHostGroupsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts index a8df7d8acc6c..8bc463024358 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListByResourceGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostGroupsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated host groups in the specified resource group. Use the nextLink property in the response to get the next page of dedicated host groups. @@ -24,13 +22,13 @@ async function dedicatedHostGroupsListByResourceGroupMaximumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: DedicatedHostGroupsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +52,13 @@ async function dedicatedHostGroupsListByResourceGroupMinimumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: DedicatedHostGroupsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts index d1d58e194a6d..c866a4246638 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsListBySubscriptionSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostGroupsListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups. @@ -23,13 +21,10 @@ async function dedicatedHostGroupsListBySubscriptionMaximumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: DedicatedHostGroupsListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; @@ -51,13 +46,10 @@ async function dedicatedHostGroupsListBySubscriptionMinimumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: DedicatedHostGroupsListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts index a1847ddfaef1..3dbecffdbfa1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostGroupsUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DedicatedHostGroupsUpdateParameters + DedicatedHostGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an dedicated host group. @@ -26,38 +24,20 @@ async function dedicatedHostGroupsUpdateMaximumSetGen() { const options: DedicatedHostGroupsUpdateParameters = { body: { properties: { - instanceView: { - hosts: [ - { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }] - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - ] - } - ] - }, platformFaultDomainCount: 3, - supportAutomaticPlacement: true + supportAutomaticPlacement: true, }, tags: { key9921: "aaaaaaaaaa" }, - zones: ["aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"] + zones: ["aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .patch(options); console.log(result); @@ -78,14 +58,14 @@ async function dedicatedHostGroupsUpdateMinimumSetGen() { const hostGroupName = "aaaaaaaaaaa"; const options: DedicatedHostGroupsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts index ffa7ca21a90c..5ab0908875bb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a dedicated host . @@ -30,9 +28,9 @@ async function createOrUpdateADedicatedHost() { location: "westus", properties: { platformFaultDomain: 1 }, sku: { name: "DSv3-Type1" }, - tags: { department: "HR" } + tags: { department: "HR" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -40,10 +38,10 @@ async function createOrUpdateADedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts index 3ba1ef6f9c53..91b73ebed5a9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a dedicated host. @@ -26,7 +24,7 @@ async function dedicatedHostsDeleteMaximumSetGen() { const hostGroupName = "aaaaaa"; const hostName = "aaaaaaaaaaaaaaa"; const options: DedicatedHostsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function dedicatedHostsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function dedicatedHostsDeleteMinimumSetGen() { const hostGroupName = "aaaaaaaaaaaaaaa"; const hostName = "aaaaa"; const options: DedicatedHostsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function dedicatedHostsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts index 2f061a707210..82998cea0527 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DedicatedHostsGetParameters + DedicatedHostsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a dedicated host. @@ -25,7 +23,7 @@ async function getADedicatedHost() { const hostGroupName = "myDedicatedHostGroup"; const hostName = "myHost"; const options: DedicatedHostsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getADedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts index 63e2e748b4d0..c9e85b607e27 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsListByHostGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostsListByHostGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts. @@ -25,14 +23,14 @@ async function dedicatedHostsListByHostGroupMaximumSetGen() { const resourceGroupName = "rgcompute"; const hostGroupName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: DedicatedHostsListByHostGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,14 +55,14 @@ async function dedicatedHostsListByHostGroupMinimumSetGen() { const resourceGroupName = "rgcompute"; const hostGroupName = "aaaa"; const options: DedicatedHostsListByHostGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", subscriptionId, resourceGroupName, - hostGroupName + hostGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts index 08346181fff1..bf42a613df74 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsRestartSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostsRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details. @@ -26,7 +24,7 @@ async function restartDedicatedHost() { const hostGroupName = "myDedicatedHostGroup"; const hostName = "myHost"; const options: DedicatedHostsRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function restartDedicatedHost() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts index c22c89fffe15..144f8b0b5b73 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/dedicatedHostsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DedicatedHostsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an dedicated host . @@ -29,26 +27,12 @@ async function dedicatedHostsUpdateMaximumSetGen() { body: { properties: { autoReplaceOnFailure: true, - instanceView: { - availableCapacity: { - allocatableVMs: [{ count: 26, vmSize: "aaaaaaaaaaaaaaaaaaaa" }] - }, - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - ] - }, licenseType: "Windows_Server_Hybrid", - platformFaultDomain: 1 + platformFaultDomain: 1, }, - tags: { key8813: "aaaaaaaaaaaaaaaaaaaaaaaaaaa" } + tags: { key8813: "aaaaaaaaaaaaaaaaaaaaaaaaaaa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -56,10 +40,10 @@ async function dedicatedHostsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -80,7 +64,7 @@ async function dedicatedHostsUpdateMinimumSetGen() { const hostName = "aaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: DedicatedHostsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -88,10 +72,10 @@ async function dedicatedHostsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, hostGroupName, - hostName + hostName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts index 5015104f09f4..ab1bc989508a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk access resource @@ -26,17 +24,17 @@ async function createADiskAccessResource() { const diskAccessName = "myDiskAccess"; const options: DiskAccessesCreateOrUpdateParameters = { body: { location: "West US" }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts index acadf839c591..90f8ef30fe51 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteAPrivateEndpointConnectionSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesDeleteAPrivateEndpointConnectionParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a private endpoint connection under a disk access resource. @@ -26,7 +24,7 @@ async function deleteAPrivateEndpointConnectionUnderADiskAccessResource() { const diskAccessName = "myDiskAccess"; const privateEndpointConnectionName = "myPrivateEndpointConnection"; const options: DiskAccessesDeleteAPrivateEndpointConnectionParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function deleteAPrivateEndpointConnectionUnderADiskAccessResource() { subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts index 97f0ae297733..902bc110a757 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk access resource. @@ -25,17 +23,17 @@ async function deleteADiskAccessResource() { const resourceGroupName = "myResourceGroup"; const diskAccessName = "myDiskAccess"; const options: DiskAccessesDeleteParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts index 2b17541e4c08..81d1bbdd9865 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetAPrivateEndpointConnectionSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DiskAccessesGetAPrivateEndpointConnectionParameters + DiskAccessesGetAPrivateEndpointConnectionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a private endpoint connection under a disk access resource. @@ -25,7 +23,7 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso const diskAccessName = "myDiskAccess"; const privateEndpointConnectionName = "myPrivateEndpointConnection"; const options: DiskAccessesGetAPrivateEndpointConnectionParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( @@ -33,12 +31,10 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .get(options); console.log(result); } -getInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource().catch( - console.error -); +getInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts index caca014e4a45..e29fbd4a299c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetPrivateLinkResourcesSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DiskAccessesGetPrivateLinkResourcesParameters + DiskAccessesGetPrivateLinkResourcesParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the private link resources possible under disk access resource @@ -24,19 +22,17 @@ async function listAllPossiblePrivateLinkResourcesUnderDiskAccessResource() { const resourceGroupName = "myResourceGroup"; const diskAccessName = "myDiskAccess"; const options: DiskAccessesGetPrivateLinkResourcesParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); } -listAllPossiblePrivateLinkResourcesUnderDiskAccessResource().catch( - console.error -); +listAllPossiblePrivateLinkResourcesUnderDiskAccessResource().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts index e2a51dd41016..7f2edb0442df 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesGetSample.ts @@ -3,13 +3,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - DiskAccessesGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { DiskAccessesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk access resource. @@ -24,22 +20,20 @@ async function getInformationAboutADiskAccessResourceWithPrivateEndpoints() { const resourceGroupName = "myResourceGroup"; const diskAccessName = "myDiskAccess"; const options: DiskAccessesGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); } -getInformationAboutADiskAccessResourceWithPrivateEndpoints().catch( - console.error -); +getInformationAboutADiskAccessResourceWithPrivateEndpoints().catch(console.error); /** * This sample demonstrates how to Gets information about a disk access resource. * @@ -53,14 +47,14 @@ async function getInformationAboutADiskAccessResource() { const resourceGroupName = "myResourceGroup"; const diskAccessName = "myDiskAccess"; const options: DiskAccessesGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts index db69241b1857..76250ce6990d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListByResourceGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk access resources under a resource group. @@ -24,13 +22,13 @@ async function listAllDiskAccessResourcesInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: DiskAccessesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts index 5c9dde381f1a..f57ba9bd584b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListPrivateEndpointConnectionsSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesListPrivateEndpointConnectionsParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List information about private endpoint connections under a disk access resource @@ -25,14 +23,14 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso const resourceGroupName = "myResourceGroup"; const diskAccessName = "myDiskAccess"; const options: DiskAccessesListPrivateEndpointConnectionsParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -43,6 +41,4 @@ async function getInformationAboutAPrivateEndpointConnectionUnderADiskAccessReso console.log(result); } -getInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource().catch( - console.error -); +getInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts index 6b6406dc00a6..1ea3a4ff3c42 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk access resources under a subscription. @@ -23,12 +21,12 @@ async function listAllDiskAccessResourcesInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: DiskAccessesListParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts index 1f3ca64136b7..ea648ef854c9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateAPrivateEndpointConnectionSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesUpdateAPrivateEndpointConnectionParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection. @@ -30,11 +28,11 @@ async function approveAPrivateEndpointConnectionUnderADiskAccessResource() { properties: { privateLinkServiceConnectionState: { description: "Approving myPrivateEndpointConnection", - status: "Approved" - } - } + status: "Approved", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( @@ -42,14 +40,12 @@ async function approveAPrivateEndpointConnectionUnderADiskAccessResource() { subscriptionId, resourceGroupName, diskAccessName, - privateEndpointConnectionName + privateEndpointConnectionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -approveAPrivateEndpointConnectionUnderADiskAccessResource().catch( - console.error -); +approveAPrivateEndpointConnectionUnderADiskAccessResource().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts index 287d187312d4..297ed949d4d7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskAccessesUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskAccessesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk access resource. @@ -26,17 +24,17 @@ async function updateADiskAccessResource() { const diskAccessName = "myDiskAccess"; const options: DiskAccessesUpdateParameters = { body: { tags: { department: "Development", project: "PrivateEndpoints" } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", subscriptionId, resourceGroupName, - diskAccessName + diskAccessName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts index 3af2370c0651..7280048acef1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk encryption set @@ -30,30 +28,27 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentSubscription() location: "West US", properties: { activeKey: { - keyUrl: - "https://myvaultdifferentsub.vault-int.azure-int.net/keys/{key}" + keyUrl: "https://myvaultdifferentsub.vault-int.azure-int.net/keys/{key}", }, - encryptionType: "EncryptionAtRestWithCustomerKey" - } + encryptionType: "EncryptionAtRestWithCustomerKey", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createADiskEncryptionSetWithKeyVaultFromADifferentSubscription().catch( - console.error -); +createADiskEncryptionSetWithKeyVaultFromADifferentSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk encryption set * @@ -71,30 +66,30 @@ async function createADiskEncryptionSetWithKeyVaultFromADifferentTenant() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}": {} - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}": + {}, + }, }, location: "West US", properties: { activeKey: { - keyUrl: - "https://myvaultdifferenttenant.vault-int.azure-int.net/keys/{key}" + keyUrl: "https://myvaultdifferenttenant.vault-int.azure-int.net/keys/{key}", }, encryptionType: "EncryptionAtRestWithCustomerKey", - federatedClientId: "00000000-0000-0000-0000-000000000000" - } + federatedClientId: "00000000-0000-0000-0000-000000000000", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -120,24 +115,23 @@ async function createADiskEncryptionSet() { activeKey: { keyUrl: "https://myvmvault.vault-int.azure-int.net/keys/{key}", sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault", + }, }, - encryptionType: "EncryptionAtRestWithCustomerKey" - } + encryptionType: "EncryptionAtRestWithCustomerKey", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts index 0909c3687811..033a742d9316 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk encryption set. @@ -25,17 +23,17 @@ async function deleteADiskEncryptionSet() { const resourceGroupName = "myResourceGroup"; const diskEncryptionSetName = "myDiskEncryptionSet"; const options: DiskEncryptionSetsDeleteParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts index b5b9f96a377f..ad153f097fed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DiskEncryptionSetsGetParameters + DiskEncryptionSetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk encryption set. @@ -24,22 +22,20 @@ async function getInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed() const resourceGroupName = "myResourceGroup"; const diskEncryptionSetName = "myDiskEncryptionSet"; const options: DiskEncryptionSetsGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); console.log(result); } -getInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed().catch( - console.error -); +getInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed().catch(console.error); /** * This sample demonstrates how to Gets information about a disk encryption set. * @@ -53,14 +49,14 @@ async function getInformationAboutADiskEncryptionSet() { const resourceGroupName = "myResourceGroup"; const diskEncryptionSetName = "myDiskEncryptionSet"; const options: DiskEncryptionSetsGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts index 160da2b724ed..1a59aa878f62 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListAssociatedResourcesSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsListAssociatedResourcesParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all resources that are encrypted with this disk encryption set. @@ -25,14 +23,14 @@ async function listAllResourcesThatAreEncryptedWithThisDiskEncryptionSet() { const resourceGroupName = "myResourceGroup"; const diskEncryptionSetName = "myDiskEncryptionSet"; const options: DiskEncryptionSetsListAssociatedResourcesParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}/associatedResources", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -43,6 +41,4 @@ async function listAllResourcesThatAreEncryptedWithThisDiskEncryptionSet() { console.log(result); } -listAllResourcesThatAreEncryptedWithThisDiskEncryptionSet().catch( - console.error -); +listAllResourcesThatAreEncryptedWithThisDiskEncryptionSet().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts index 10325ec16a84..f571a5de04c0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListByResourceGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk encryption sets under a resource group. @@ -24,13 +22,13 @@ async function listAllDiskEncryptionSetsInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: DiskEncryptionSetsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts index dd9295658b5b..8d12d0fb4cf9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disk encryption sets under a subscription. @@ -23,12 +21,12 @@ async function listAllDiskEncryptionSetsInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: DiskEncryptionSetsListParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts index a218d50cd17c..240e9ff6febc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskEncryptionSetsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskEncryptionSetsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk encryption set. @@ -29,30 +27,29 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT identity: { type: "SystemAssigned" }, properties: { activeKey: { - keyUrl: - "https://myvaultdifferentsub.vault-int.azure-int.net/keys/keyName/keyVersion1" + keyUrl: "https://myvaultdifferentsub.vault-int.azure-int.net/keys/keyName/keyVersion1", }, encryptionType: "EncryptionAtRestWithCustomerKey", - rotationToLatestKeyVersionEnabled: true - } + rotationToLatestKeyVersionEnabled: true, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueSucceeded().catch( - console.error + console.error, ); /** * This sample demonstrates how to Updates (patches) a disk encryption set. @@ -71,30 +68,29 @@ async function updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetT identity: { type: "SystemAssigned" }, properties: { activeKey: { - keyUrl: - "https://myvaultdifferentsub.vault-int.azure-int.net/keys/keyName/keyVersion1" + keyUrl: "https://myvaultdifferentsub.vault-int.azure-int.net/keys/keyName/keyVersion1", }, encryptionType: "EncryptionAtRestWithCustomerKey", - rotationToLatestKeyVersionEnabled: true - } + rotationToLatestKeyVersionEnabled: true, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } updateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueUpdating().catch( - console.error + console.error, ); /** * This sample demonstrates how to Updates (patches) a disk encryption set. @@ -112,28 +108,26 @@ async function updateADiskEncryptionSet() { body: { properties: { activeKey: { - keyUrl: - "https://myvmvault.vault-int.azure-int.net/keys/keyName/keyVersion", + keyUrl: "https://myvmvault.vault-int.azure-int.net/keys/keyName/keyVersion", sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault", + }, }, - encryptionType: "EncryptionAtRestWithCustomerKey" + encryptionType: "EncryptionAtRestWithCustomerKey", }, - tags: { department: "Development", project: "Encryption" } + tags: { department: "Development", project: "Encryption" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", subscriptionId, resourceGroupName, - diskEncryptionSetName + diskEncryptionSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts index 1729966b01ba..17062c1308af 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - DiskRestorePointGetParameters + DiskRestorePointGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get disk restorePoint resource @@ -24,10 +22,9 @@ async function getAnIncrementalDiskRestorePointResource() { const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "rpc"; const vmRestorePointName = "vmrp"; - const diskRestorePointName = - "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; + const diskRestorePointName = "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; const options: DiskRestorePointGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( @@ -36,7 +33,7 @@ async function getAnIncrementalDiskRestorePointResource() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .get(options); console.log(result); @@ -56,10 +53,9 @@ async function getAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferen const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "rpc"; const vmRestorePointName = "vmrp"; - const diskRestorePointName = - "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; + const diskRestorePointName = "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; const options: DiskRestorePointGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( @@ -68,12 +64,10 @@ async function getAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferen resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .get(options); console.log(result); } -getAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion().catch( - console.error -); +getAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts index 69a844e7a02f..54067fdef9c4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointGrantAccessSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskRestorePointGrantAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a diskRestorePoint. @@ -25,11 +23,10 @@ async function grantsAccessToADiskRestorePoint() { const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "rpc"; const vmRestorePointName = "vmrp"; - const diskRestorePointName = - "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; + const diskRestorePointName = "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; const options: DiskRestorePointGrantAccessParameters = { body: { access: "Read", durationInSeconds: 300 }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( @@ -38,10 +35,10 @@ async function grantsAccessToADiskRestorePoint() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts index 9fb17c1802dd..87ed5b836f0a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointListByRestorePointSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskRestorePointListByRestorePointParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists diskRestorePoints under a vmRestorePoint. @@ -26,7 +24,7 @@ async function getAnIncrementalDiskRestorePointResource() { const restorePointCollectionName = "rpc"; const vmRestorePointName = "vmrp"; const options: DiskRestorePointListByRestorePointParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( @@ -34,7 +32,7 @@ async function getAnIncrementalDiskRestorePointResource() { subscriptionId, resourceGroupName, restorePointCollectionName, - vmRestorePointName + vmRestorePointName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts index c2d590b6ef40..b4fe379922d8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/diskRestorePointRevokeAccessSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DiskRestorePointRevokeAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a diskRestorePoint. @@ -25,10 +23,9 @@ async function revokesAccessToADiskRestorePoint() { const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "rpc"; const vmRestorePointName = "vmrp"; - const diskRestorePointName = - "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; + const diskRestorePointName = "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745"; const options: DiskRestorePointRevokeAccessParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( @@ -37,10 +34,10 @@ async function revokesAccessToADiskRestorePoint() { resourceGroupName, restorePointCollectionName, vmRestorePointName, - diskRestorePointName + diskRestorePointName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts index 013681b6ce14..07cf2a90d411 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a disk. @@ -31,36 +29,33 @@ async function createAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey creationData: { createOption: "FromImage", imageReference: { - id: - "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0" - } + id: "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0", + }, }, osType: "Windows", securityProfile: { secureVMDiskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", - securityType: "ConfidentialVM_DiskEncryptedWithCustomerKey" - } - } + securityType: "ConfidentialVM_DiskEncryptedWithCustomerKey", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey().catch( - console.error -); +createAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -81,20 +76,20 @@ async function createAManagedDiskAndAssociateWithDiskAccessResource() { diskAccessId: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/{existing-diskAccess-name}", diskSizeGB: 200, - networkAccessPolicy: "AllowPrivate" - } + networkAccessPolicy: "AllowPrivate", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -120,21 +115,21 @@ async function createAManagedDiskAndAssociateWithDiskEncryptionSet() { diskSizeGB: 200, encryption: { diskEncryptionSetId: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" - } - } + "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -159,21 +154,21 @@ async function createAManagedDiskByCopyingASnapshot() { creationData: { createOption: "Copy", sourceResourceId: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } - } + "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -197,31 +192,28 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscri properties: { creationData: { createOption: "Import", - sourceUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", storageAccountId: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount" - } - } + "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription().catch( - console.error -); +createAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -240,29 +232,26 @@ async function createAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscripti properties: { creationData: { createOption: "Import", - sourceUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd" - } - } + sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription().catch( - console.error -); +createAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -281,31 +270,28 @@ async function createAManagedDiskFromImportSecureCreateOption() { properties: { creationData: { createOption: "ImportSecure", - securityDataUri: - "https://mystorageaccount.blob.core.windows.net/osimages/vmgs.vhd", - sourceUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + securityDataUri: "https://mystorageaccount.blob.core.windows.net/osimages/vmgs.vhd", + sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", storageAccountId: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount" + "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount", }, osType: "Windows", securityProfile: { - securityType: - "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey" - } - } + securityType: "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -329,23 +315,23 @@ async function createAManagedDiskFromUploadPreparedSecureCreateOption() { properties: { creationData: { createOption: "UploadPreparedSecure", - uploadSizeBytes: 10737418752 + uploadSizeBytes: 10737418752, }, osType: "Windows", - securityProfile: { securityType: "TrustedLaunch" } - } + securityProfile: { securityType: "TrustedLaunch" }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -370,24 +356,23 @@ async function createAManagedDiskFromAPlatformImage() { creationData: { createOption: "FromImage", imageReference: { - id: - "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0" - } + id: "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/westus/Publishers/{publisher}/ArtifactTypes/VMImage/Offers/{offer}/Skus/{sku}/Versions/1.0.0", + }, }, - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -413,30 +398,28 @@ async function createAManagedDiskFromAnAzureComputeGalleryCommunityImage() { createOption: "FromImage", galleryImageReference: { communityGalleryImageId: - "/CommunityGalleries/{communityGalleryPublicGalleryName}/Images/{imageName}/Versions/1.0.0" - } + "/CommunityGalleries/{communityGalleryPublicGalleryName}/Images/{imageName}/Versions/1.0.0", + }, }, - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskFromAnAzureComputeGalleryCommunityImage().catch( - console.error -); +createAManagedDiskFromAnAzureComputeGalleryCommunityImage().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -457,30 +440,28 @@ async function createAManagedDiskFromAnAzureComputeGalleryDirectSharedImage() { createOption: "FromImage", galleryImageReference: { sharedGalleryImageId: - "/SharedGalleries/{sharedGalleryUniqueName}/Images/{imageName}/Versions/1.0.0" - } + "/SharedGalleries/{sharedGalleryUniqueName}/Images/{imageName}/Versions/1.0.0", + }, }, - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskFromAnAzureComputeGalleryDirectSharedImage().catch( - console.error -); +createAManagedDiskFromAnAzureComputeGalleryDirectSharedImage().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -500,24 +481,23 @@ async function createAManagedDiskFromAnAzureComputeGalleryImage() { creationData: { createOption: "FromImage", galleryImageReference: { - id: - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Providers/Microsoft.Compute/Galleries/{galleryName}/Images/{imageName}/Versions/1.0.0" - } + id: "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Providers/Microsoft.Compute/Galleries/{galleryName}/Images/{imageName}/Versions/1.0.0", + }, }, - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -542,28 +522,26 @@ async function createAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSu creationData: { createOption: "Copy", sourceResourceId: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1" - } - } + "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSubscription().catch( - console.error -); +createAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -582,20 +560,20 @@ async function createAManagedDiskWithDataAccessAuthMode() { properties: { creationData: { createOption: "Empty" }, dataAccessAuthMode: "AzureActiveDirectory", - diskSizeGB: 200 - } + diskSizeGB: 200, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -619,20 +597,20 @@ async function createAManagedDiskWithOptimizedForFrequentAttach() { properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200, - optimizedForFrequentAttach: true - } + optimizedForFrequentAttach: true, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -654,20 +632,20 @@ async function createAManagedDiskWithPerformancePlus() { body: { location: "West US", properties: { - creationData: { createOption: "Upload", performancePlus: true } - } + creationData: { createOption: "Upload", performancePlus: true }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -692,21 +670,21 @@ async function createAManagedDiskWithPremiumV2AccountType() { creationData: { createOption: "Empty" }, diskIOPSReadWrite: 125, diskMBpsReadWrite: 3000, - diskSizeGB: 200 + diskSizeGB: 200, }, - sku: { name: "PremiumV2_LRS" } + sku: { name: "PremiumV2_LRS" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -731,25 +709,24 @@ async function createAManagedDiskWithSecurityProfile() { creationData: { createOption: "FromImage", imageReference: { - id: - "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}" - } + id: "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}", + }, }, osType: "Windows", - securityProfile: { securityType: "TrustedLaunch" } - } + securityProfile: { securityType: "TrustedLaunch" }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -771,19 +748,19 @@ async function createAManagedDiskWithSsdZrsAccountType() { body: { location: "West US", properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200 }, - sku: { name: "Premium_ZRS" } + sku: { name: "Premium_ZRS" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -809,28 +786,26 @@ async function createAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet() { diskIOPSReadWrite: 125, diskMBpsReadWrite: 3000, diskSizeGB: 200, - encryption: { type: "EncryptionAtRestWithPlatformKey" } + encryption: { type: "EncryptionAtRestWithPlatformKey" }, }, - sku: { name: "UltraSSD_LRS" } + sku: { name: "UltraSSD_LRS" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet().catch( - console.error -); +createAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet().catch(console.error); /** * This sample demonstrates how to Creates or updates a disk. * @@ -847,20 +822,20 @@ async function createAManagedUploadDisk() { body: { location: "West US", properties: { - creationData: { createOption: "Upload", uploadSizeBytes: 10737418752 } - } + creationData: { createOption: "Upload", uploadSizeBytes: 10737418752 }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -882,19 +857,19 @@ async function createAnEmptyManagedDiskInExtendedLocation() { body: { extendedLocation: { name: "{edge-zone-id}", type: "EdgeZone" }, location: "West US", - properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200 } + properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200 }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -915,19 +890,19 @@ async function createAnEmptyManagedDisk() { const options: DisksCreateOrUpdateParameters = { body: { location: "West US", - properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200 } + properties: { creationData: { createOption: "Empty" }, diskSizeGB: 200 }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -950,21 +925,21 @@ async function createAnUltraManagedDiskWithLogicalSectorSize512E() { location: "West US", properties: { creationData: { createOption: "Empty", logicalSectorSize: 512 }, - diskSizeGB: 200 + diskSizeGB: 200, }, - sku: { name: "UltraSSD_LRS" } + sku: { name: "UltraSSD_LRS" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts index 048f0995b082..da9c38af8453 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a disk. @@ -25,17 +23,17 @@ async function deleteAManagedDisk() { const resourceGroupName = "myResourceGroup"; const diskName = "myDisk"; const options: DisksDeleteParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts index 3c7c83797d68..48f674c4713d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGetSample.ts @@ -3,13 +3,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - DisksGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { DisksGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a disk. @@ -24,14 +20,14 @@ async function getInformationAboutAManagedDisk() { const resourceGroupName = "myResourceGroup"; const diskName = "myManagedDisk"; const options: DisksGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts index 9d0f501eff54..6cdb66d89ffb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksGrantAccessSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksGrantAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a disk. @@ -26,17 +24,17 @@ async function getASasOnAManagedDisk() { const diskName = "myDisk"; const options: DisksGrantAccessParameters = { body: { access: "Read", durationInSeconds: 300 }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,19 +56,19 @@ async function getSasOnManagedDiskAndVMGuestState() { body: { access: "Read", durationInSeconds: 300, - getSecureVMGuestStateSAS: true + getSecureVMGuestStateSAS: true, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts index f31b0c446606..95144abaa612 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListByResourceGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disks under a resource group. @@ -24,13 +22,13 @@ async function listAllManagedDisksInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: DisksListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts index 0b3841df0e58..729ad6d40e03 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all the disks under a subscription. @@ -23,13 +21,10 @@ async function listAllManagedDisksInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: DisksListParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts index e610f71ad75c..50af80b361c0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksRevokeAccessSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksRevokeAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a disk. @@ -25,17 +23,17 @@ async function revokeAccessToAManagedDisk() { const resourceGroupName = "myResourceGroup"; const diskName = "myDisk"; const options: DisksRevokeAccessParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess", subscriptionId, resourceGroupName, - diskName + diskName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts index 5d96736f4299..57667aad8ad0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/disksUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { DisksUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a disk. @@ -26,17 +24,17 @@ async function createOrUpdateABurstingEnabledManagedDisk() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { burstingEnabled: true, diskSizeGB: 1024 } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -56,19 +54,19 @@ async function updateAManagedDiskToAddAcceleratedNetworking() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { - properties: { supportedCapabilities: { acceleratedNetwork: false } } + properties: { supportedCapabilities: { acceleratedNetwork: false } }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -88,17 +86,17 @@ async function updateAManagedDiskToAddArchitecture() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { supportedCapabilities: { architecture: "Arm64" } } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -123,21 +121,21 @@ async function updateAManagedDiskToAddPurchasePlan() { name: "myPurchasePlanName", product: "myPurchasePlanProduct", promotionCode: "myPurchasePlanPromotionCode", - publisher: "myPurchasePlanPublisher" - } - } + publisher: "myPurchasePlanPublisher", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -157,17 +155,17 @@ async function updateAManagedDiskToAddSupportsHibernation() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { supportsHibernation: true } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -187,17 +185,17 @@ async function updateAManagedDiskToChangeTier() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { tier: "P30" } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -217,17 +215,17 @@ async function updateAManagedDiskToDisableBursting() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { burstingEnabled: false } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -247,17 +245,17 @@ async function updateAManagedDiskToDisableOptimizedForFrequentAttach() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { optimizedForFrequentAttach: false } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -277,19 +275,19 @@ async function updateAManagedDiskWithDiskControllerTypes() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { - properties: { supportedCapabilities: { diskControllerTypes: "SCSI" } } + properties: { supportedCapabilities: { diskControllerTypes: "SCSI" } }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -309,17 +307,17 @@ async function updateManagedDiskToRemoveDiskAccessResourceAssociation() { const diskName = "myDisk"; const options: DisksUpdateParameters = { body: { properties: { networkAccessPolicy: "AllowAll" } }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", subscriptionId, resourceGroupName, - diskName + diskName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts index 41b9609970d4..d9a5e65aebfb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a Shared Image Gallery. @@ -34,23 +32,23 @@ async function createACommunityGallery() { eula: "eula", publicNamePrefix: "PirPublic", publisherContact: "pir@microsoft.com", - publisherUri: "uri" + publisherUri: "uri", }, - permissions: "Community" - } - } + permissions: "Community", + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -73,20 +71,20 @@ async function createOrUpdateASimpleGalleryWithSharingProfile() { location: "West US", properties: { description: "This is the gallery description.", - sharingProfile: { permissions: "Groups" } - } + sharingProfile: { permissions: "Groups" }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -109,20 +107,20 @@ async function createOrUpdateASimpleGalleryWithSoftDeletionEnabled() { location: "West US", properties: { description: "This is the gallery description.", - softDeletePolicy: { isSoftDeleteEnabled: true } - } + softDeletePolicy: { isSoftDeleteEnabled: true }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -143,19 +141,19 @@ async function createOrUpdateASimpleGallery() { const options: GalleriesCreateOrUpdateParameters = { body: { location: "West US", - properties: { description: "This is the gallery description." } + properties: { description: "This is the gallery description." }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts index b345b1d43ce8..020f37372475 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a Shared Image Gallery. @@ -25,17 +23,17 @@ async function deleteAGallery() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleriesDeleteParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts index 6b6afb12e3ee..a25cc8e2e3e6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesGetSample.ts @@ -3,13 +3,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - GalleriesGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { GalleriesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a Shared Image Gallery. @@ -24,14 +20,14 @@ async function getACommunityGallery() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleriesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -53,15 +49,15 @@ async function getAGalleryWithExpandSharingProfileGroups() { const options: GalleriesGetParameters = { queryParameters: { "api-version": "2022-01-03", - $expand: "SharingProfile/Groups" - } + $expand: "SharingProfile/Groups", + }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -81,14 +77,14 @@ async function getAGalleryWithSelectPermissions() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleriesGetParameters = { - queryParameters: { "api-version": "2022-01-03", $select: "Permissions" } + queryParameters: { "api-version": "2022-01-03", $select: "Permissions" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); @@ -108,14 +104,14 @@ async function getAGallery() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleriesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts index de9a8ea9bf6b..df7005260d7b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListByResourceGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List galleries under a resource group. @@ -24,13 +22,13 @@ async function listGalleriesInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: GalleriesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts index 8726e73519e6..7a5f03fdc0e6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List galleries under a subscription. @@ -23,13 +21,10 @@ async function listGalleriesInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: GalleriesListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts index d0b474f1b697..a706915d87bb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleriesUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleriesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a Shared Image Gallery. @@ -26,17 +24,17 @@ async function updateASimpleGallery() { const galleryName = "myGalleryName"; const options: GalleriesUpdateParameters = { body: { properties: { description: "This is the gallery description." } }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts index 4ebbf0aa9066..150d25881945 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationVersionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery Application Version. @@ -35,25 +33,25 @@ async function createOrUpdateASimpleGalleryApplicationVersion() { manageActions: { install: 'powershell -command "Expand-Archive -Path package.zip -DestinationPath C:package"', - remove: "del C:package " + remove: "del C:package ", }, replicaCount: 1, source: { mediaLink: - "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}", }, storageAccountType: "Standard_LRS", targetRegions: [ { name: "West US", regionalReplicaCount: 1, - storageAccountType: "Standard_LRS" - } - ] - } - } + storageAccountType: "Standard_LRS", + }, + ], + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -62,10 +60,10 @@ async function createOrUpdateASimpleGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts index 7bcf17c34742..9609d1989ca9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationVersionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery Application Version. @@ -27,7 +25,7 @@ async function deleteAGalleryApplicationVersion() { const galleryApplicationName = "myGalleryApplicationName"; const galleryApplicationVersionName = "1.0.0"; const options: GalleryApplicationVersionsDeleteParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -36,10 +34,10 @@ async function deleteAGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts index d0a06fa9ea2d..febd415c9158 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - GalleryApplicationVersionsGetParameters + GalleryApplicationVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery Application Version. @@ -28,8 +26,8 @@ async function getAGalleryApplicationVersionWithReplicationStatus() { const options: GalleryApplicationVersionsGetParameters = { queryParameters: { $expand: "ReplicationStatus", - "api-version": "2022-01-03" - } + "api-version": "2022-01-03", + }, }; const result = await client .path( @@ -38,7 +36,7 @@ async function getAGalleryApplicationVersionWithReplicationStatus() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .get(options); console.log(result); @@ -60,7 +58,7 @@ async function getAGalleryApplicationVersion() { const galleryApplicationName = "myGalleryApplicationName"; const galleryApplicationVersionName = "1.0.0"; const options: GalleryApplicationVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -69,7 +67,7 @@ async function getAGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts index 15b28f87fbde..d8d1f7c3d4e4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsListByGalleryApplicationSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationVersionsListByGalleryApplicationParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery Application Versions in a gallery Application Definition. @@ -26,7 +24,7 @@ async function listGalleryApplicationVersionsInAGalleryApplicationDefinition() { const galleryName = "myGalleryName"; const galleryApplicationName = "myGalleryApplicationName"; const options: GalleryApplicationVersionsListByGalleryApplicationParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,7 +32,7 @@ async function listGalleryApplicationVersionsInAGalleryApplicationDefinition() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -45,6 +43,4 @@ async function listGalleryApplicationVersionsInAGalleryApplicationDefinition() { console.log(result); } -listGalleryApplicationVersionsInAGalleryApplicationDefinition().catch( - console.error -); +listGalleryApplicationVersionsInAGalleryApplicationDefinition().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts index 8ee8adb4a3dc..bcd1853e2635 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationVersionsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationVersionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery Application Version. @@ -34,25 +32,25 @@ async function updateASimpleGalleryApplicationVersion() { manageActions: { install: 'powershell -command "Expand-Archive -Path package.zip -DestinationPath C:package"', - remove: "del C:package " + remove: "del C:package ", }, replicaCount: 1, source: { mediaLink: - "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}", }, storageAccountType: "Standard_LRS", targetRegions: [ { name: "West US", regionalReplicaCount: 1, - storageAccountType: "Standard_LRS" - } - ] - } - } + storageAccountType: "Standard_LRS", + }, + ], + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -61,10 +59,10 @@ async function updateASimpleGalleryApplicationVersion() { resourceGroupName, galleryName, galleryApplicationName, - galleryApplicationVersionName + galleryApplicationVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts index b2f818529407..293b20afab11 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery Application Definition. @@ -33,10 +31,10 @@ async function createOrUpdateASimpleGalleryApplication() { eula: "This is the gallery application EULA.", privacyStatementUri: "myPrivacyStatementUri}", releaseNoteUri: "myReleaseNoteUri", - supportedOSType: "Windows" - } + supportedOSType: "Windows", + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -44,10 +42,10 @@ async function createOrUpdateASimpleGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts index d3915ccbd280..6c90fb417580 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery Application. @@ -26,7 +24,7 @@ async function deleteAGalleryApplication() { const galleryName = "myGalleryName"; const galleryApplicationName = "myGalleryApplicationName"; const options: GalleryApplicationsDeleteParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function deleteAGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts index a78c6165b6b8..5816fea7832c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - GalleryApplicationsGetParameters + GalleryApplicationsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery Application Definition. @@ -25,7 +23,7 @@ async function getAGalleryApplication() { const galleryName = "myGalleryName"; const galleryApplicationName = "myGalleryApplicationName"; const options: GalleryApplicationsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getAGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts index 29ff6af14a44..d3210afe13cc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsListByGallerySample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationsListByGalleryParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery Application Definitions in a gallery. @@ -25,14 +23,14 @@ async function listGalleryApplicationsInAGallery() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleryApplicationsListByGalleryParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts index c3e921fe78df..6785d4235f0f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryApplicationsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryApplicationsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery Application Definition. @@ -32,10 +30,10 @@ async function updateASimpleGalleryApplication() { eula: "This is the gallery application EULA.", privacyStatementUri: "myPrivacyStatementUri}", releaseNoteUri: "myReleaseNoteUri", - supportedOSType: "Windows" - } + supportedOSType: "Windows", + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -43,10 +41,10 @@ async function updateASimpleGalleryApplication() { subscriptionId, resourceGroupName, galleryName, - galleryApplicationName + galleryApplicationName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts index 9fdb0f439483..c3feefef6681 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImageVersionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery image version. @@ -39,20 +37,20 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 2 + regionalReplicaCount: 2, }, { name: "East US", @@ -61,33 +59,32 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -96,10 +93,10 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -132,20 +129,20 @@ async function createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", @@ -154,33 +151,32 @@ async function createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -189,17 +185,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -227,15 +221,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", @@ -244,18 +238,18 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { dataDiskImages: [ @@ -263,22 +257,20 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho hostCaching: "None", lun: 1, source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}", + }, + }, ], osDiskImage: { hostCaching: "ReadOnly", source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - } - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -287,17 +279,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapsho resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapshotsAsASource().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapshotsAsASource().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -318,17 +308,16 @@ async function createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMo properties: { publishingProfile: { replicationMode: "Shallow", - targetRegions: [{ name: "West US", regionalReplicaCount: 1 }] + targetRegions: [{ name: "West US", regionalReplicaCount: 1 }], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -337,17 +326,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMo resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMode().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMode().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -375,20 +362,20 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource( { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", @@ -397,33 +384,32 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource( { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -432,17 +418,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource( resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -470,15 +454,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", @@ -487,18 +471,18 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { dataDiskImages: [ @@ -506,22 +490,20 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() hostCaching: "None", lun: 1, source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}", + }, + }, ], osDiskImage: { hostCaching: "ReadOnly", source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - } - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -530,17 +512,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -568,22 +548,22 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { dataDiskImages: [ @@ -591,26 +571,22 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { hostCaching: "None", lun: 1, source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - uri: - "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", + uri: "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd", + }, + }, ], osDiskImage: { hostCaching: "ReadOnly", source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - uri: - "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - } - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", + uri: "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -619,17 +595,15 @@ async function createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionUsingVhdAsASource().catch(console.error); /** * This sample demonstrates how to Create or update a gallery image version. * @@ -657,20 +631,20 @@ async function createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocatio { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", + }, }, - regionalReplicaCount: 1 + regionalReplicaCount: 1, }, { name: "East US", @@ -679,33 +653,32 @@ async function createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocatio { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet", - lun: 0 + lun: 0, }, { diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - lun: 1 - } + lun: 1, + }, ], osDiskImage: { diskEncryptionSetId: - "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } + "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", + }, }, regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -714,14 +687,12 @@ async function createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocatio resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocationsSpecified().catch( - console.error -); +createOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocationsSpecified().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts index 99b4f69b21b6..eab1810dca53 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImageVersionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery image version. @@ -27,7 +25,7 @@ async function deleteAGalleryImageVersion() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "1.0.0"; const options: GalleryImageVersionsDeleteParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -36,10 +34,10 @@ async function deleteAGalleryImageVersion() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts index 0dadb769fd70..babb8570413c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - GalleryImageVersionsGetParameters + GalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery image version. @@ -28,8 +26,8 @@ async function getAGalleryImageVersionWithReplicationStatus() { const options: GalleryImageVersionsGetParameters = { queryParameters: { $expand: "ReplicationStatus", - "api-version": "2022-01-03" - } + "api-version": "2022-01-03", + }, }; const result = await client .path( @@ -38,7 +36,7 @@ async function getAGalleryImageVersionWithReplicationStatus() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -60,7 +58,7 @@ async function getAGalleryImageVersionWithSnapshotsAsASource() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "1.0.0"; const options: GalleryImageVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -69,7 +67,7 @@ async function getAGalleryImageVersionWithSnapshotsAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -91,7 +89,7 @@ async function getAGalleryImageVersionWithVhdAsASource() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "1.0.0"; const options: GalleryImageVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -100,7 +98,7 @@ async function getAGalleryImageVersionWithVhdAsASource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); @@ -122,7 +120,7 @@ async function getAGalleryImageVersion() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "1.0.0"; const options: GalleryImageVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -131,7 +129,7 @@ async function getAGalleryImageVersion() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts index 88a277c928bf..777c26e635c8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsListByGalleryImageSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImageVersionsListByGalleryImageParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery image versions in a gallery image definition. @@ -26,7 +24,7 @@ async function listGalleryImageVersionsInAGalleryImageDefinition() { const galleryName = "myGalleryName"; const galleryImageName = "myGalleryImageName"; const options: GalleryImageVersionsListByGalleryImageParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,7 +32,7 @@ async function listGalleryImageVersionsInAGalleryImageDefinition() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts index e337a91f63f9..941509640be3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImageVersionsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImageVersionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery image version. @@ -35,19 +33,18 @@ async function updateASimpleGalleryImageVersionManagedImageAsSource() { { name: "East US", regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, storageProfile: { source: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}", + }, + }, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -56,10 +53,10 @@ async function updateASimpleGalleryImageVersionManagedImageAsSource() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -88,14 +85,14 @@ async function updateASimpleGalleryImageVersionWithoutSourceId() { { name: "East US", regionalReplicaCount: 2, - storageAccountType: "Standard_ZRS" - } - ] + storageAccountType: "Standard_ZRS", + }, + ], }, - storageProfile: {} - } + storageProfile: {}, + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -104,10 +101,10 @@ async function updateASimpleGalleryImageVersionWithoutSourceId() { resourceGroupName, galleryName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts index e6dcf161fda1..d3a3d8dd4b74 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a gallery image definition. @@ -33,13 +31,13 @@ async function createOrUpdateASimpleGalleryImage() { identifier: { offer: "myOfferName", publisher: "myPublisherName", - sku: "mySkuName" + sku: "mySkuName", }, osState: "Generalized", - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -47,10 +45,10 @@ async function createOrUpdateASimpleGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts index 798e4a8644c6..2bd92e766712 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a gallery image. @@ -26,7 +24,7 @@ async function deleteAGalleryImage() { const galleryName = "myGalleryName"; const galleryImageName = "myGalleryImageName"; const options: GalleryImagesDeleteParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function deleteAGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts index 613a74d53539..a167d5e69a56 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesGetSample.ts @@ -3,13 +3,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - GalleryImagesGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { GalleryImagesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a gallery image definition. @@ -25,7 +21,7 @@ async function getAGalleryImage() { const galleryName = "myGalleryName"; const galleryImageName = "myGalleryImageName"; const options: GalleryImagesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -33,7 +29,7 @@ async function getAGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts index f2ba9931f580..3ef74387c388 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesListByGallerySample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesListByGalleryParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List gallery image definitions in a gallery. @@ -25,14 +23,14 @@ async function listGalleryImagesInAGallery() { const resourceGroupName = "myResourceGroup"; const galleryName = "myGalleryName"; const options: GalleryImagesListByGalleryParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts index 574f68d8a2ca..028bdb95ae41 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/galleryImagesUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GalleryImagesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a gallery image definition. @@ -32,13 +30,13 @@ async function updateASimpleGalleryImage() { identifier: { offer: "myOfferName", publisher: "myPublisherName", - sku: "mySkuName" + sku: "mySkuName", }, osState: "Generalized", - osType: "Windows" - } + osType: "Windows", + }, }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -46,10 +44,10 @@ async function updateASimpleGalleryImage() { subscriptionId, resourceGroupName, galleryName, - galleryImageName + galleryImageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts index 2be6e9e34fc5..d23306ddbef9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/gallerySharingProfileUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { GallerySharingProfileUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update sharing profile of a gallery. @@ -29,26 +27,23 @@ async function addSharingIdToTheSharingProfileOfAGallery() { groups: [ { type: "Subscriptions", - ids: [ - "34a4ab42-0d72-47d9-bd1a-aed207386dac", - "380fd389-260b-41aa-bad9-0a83108c370b" - ] + ids: ["34a4ab42-0d72-47d9-bd1a-aed207386dac", "380fd389-260b-41aa-bad9-0a83108c370b"], }, - { type: "AADTenants", ids: ["c24c76aa-8897-4027-9b03-8f7928b54ff6"] } + { type: "AADTenants", ids: ["c24c76aa-8897-4027-9b03-8f7928b54ff6"] }, ], - operationType: "Add" + operationType: "Add", }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -68,17 +63,17 @@ async function resetSharingProfileOfAGallery() { const galleryName = "myGalleryName"; const options: GallerySharingProfileUpdateParameters = { body: { operationType: "Reset" }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -98,17 +93,17 @@ async function shareAGalleryToCommunity() { const galleryName = "myGalleryName"; const options: GallerySharingProfileUpdateParameters = { body: { operationType: "EnableCommunity" }, - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share", subscriptionId, resourceGroupName, - galleryName + galleryName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts index 1b0287d8e5bd..9c10f9ecb4db 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update an image. @@ -30,36 +28,32 @@ async function createAVirtualMachineImageFromABlobWithDiskEncryptionSetResource( properties: { storageProfile: { osDisk: { - blobUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + blobUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, osState: "Generalized", - osType: "Linux" - } - } - } + osType: "Linux", + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVirtualMachineImageFromABlobWithDiskEncryptionSetResource().catch( - console.error -); +createAVirtualMachineImageFromABlobWithDiskEncryptionSetResource().catch(console.error); /** * This sample demonstrates how to Create or update an image. * @@ -78,26 +72,25 @@ async function createAVirtualMachineImageFromABlob() { properties: { storageProfile: { osDisk: { - blobUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + blobUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", osState: "Generalized", - osType: "Linux" + osType: "Linux", }, - zoneResilient: true - } - } + zoneResilient: true, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -122,37 +115,33 @@ async function createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetRe storageProfile: { osDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, osState: "Generalized", osType: "Linux", snapshot: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } - } - } - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetResource().catch( - console.error -); +createAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetResource().catch(console.error); /** * This sample demonstrates how to Create or update an image. * @@ -172,27 +161,26 @@ async function createAVirtualMachineImageFromAManagedDisk() { storageProfile: { osDisk: { managedDisk: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk" + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk", }, osState: "Generalized", - osType: "Linux" + osType: "Linux", }, - zoneResilient: true - } - } + zoneResilient: true, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -217,37 +205,33 @@ async function createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResou storageProfile: { osDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, managedDisk: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk" + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk", }, osState: "Generalized", - osType: "Linux" - } - } - } + osType: "Linux", + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResource().catch( - console.error -); +createAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResource().catch(console.error); /** * This sample demonstrates how to Create or update an image. * @@ -269,25 +253,24 @@ async function createAVirtualMachineImageFromASnapshot() { osState: "Generalized", osType: "Linux", snapshot: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, }, - zoneResilient: false - } - } + zoneResilient: false, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -310,22 +293,21 @@ async function createAVirtualMachineImageFromAnExistingVirtualMachine() { location: "West US", properties: { sourceVirtualMachine: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM" - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -350,32 +332,30 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromABlob() { storageProfile: { dataDisks: [ { - blobUri: - "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd", - lun: 1 - } + blobUri: "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd", + lun: 1, + }, ], osDisk: { - blobUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + blobUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", osState: "Generalized", - osType: "Linux" + osType: "Linux", }, - zoneResilient: false - } - } + zoneResilient: false, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -402,41 +382,37 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk() { lun: 1, managedDisk: { - id: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2" - } - } + id: "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2", + }, + }, ], osDisk: { managedDisk: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk" + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk", }, osState: "Generalized", - osType: "Linux" + osType: "Linux", }, - zoneResilient: false - } - } + zoneResilient: false, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk().catch( - console.error -); +createAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk().catch(console.error); /** * This sample demonstrates how to Create or update an image. * @@ -458,38 +434,34 @@ async function createAVirtualMachineImageThatIncludesADataDiskFromASnapshot() { { lun: 1, snapshot: { - id: - "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2" - } - } + id: "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2", + }, + }, ], osDisk: { osState: "Generalized", osType: "Linux", snapshot: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, }, - zoneResilient: true - } - } + zoneResilient: true, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVirtualMachineImageThatIncludesADataDiskFromASnapshot().catch( - console.error -); +createAVirtualMachineImageThatIncludesADataDiskFromASnapshot().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts index 7feefc8cee22..eff1c7d165e6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes an Image. @@ -25,17 +23,17 @@ async function imagesDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const imageName = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: ImagesDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +52,17 @@ async function imagesDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const imageName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: ImagesDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts index aaf06e17ce65..e52193905045 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesGetSample.ts @@ -3,13 +3,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - ImagesGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { ImagesGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets an image. @@ -24,14 +20,14 @@ async function getInformationAboutAVirtualMachineImage() { const resourceGroupName = "myResourceGroup"; const imageName = "myImage"; const options: ImagesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts index 9a3f37dab0c2..566fd497c245 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListByResourceGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of images under a resource group. @@ -24,13 +22,13 @@ async function listAllVirtualMachineImagesInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: ImagesListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts index 5d7237dcff3c..b26645a43806 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images. @@ -23,13 +21,10 @@ async function listAllVirtualMachineImagesInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: ImagesListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts index 4d001dcbeae6..0e86221bcbb7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/imagesUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { ImagesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update an image. @@ -29,23 +27,22 @@ async function updatesTagsOfAnImage() { properties: { hyperVGeneration: "V1", sourceVirtualMachine: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + }, }, - tags: { department: "HR" } + tags: { department: "HR" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", subscriptionId, resourceGroupName, - imageName + imageName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts index 85dc95d0a592..706753381b87 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportRequestRateByIntervalSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { LogAnalyticsExportRequestRateByIntervalParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Export logs that show Api requests made by this subscription in the given time window to show throttling activities. @@ -29,22 +27,22 @@ async function exportLogsWhichContainAllApiRequestsMadeToComputeResourceProvider fromTime: new Date("2018-01-21T01:54:06.862601Z"), groupByResourceName: true, intervalLength: "FiveMins", - toTime: new Date("2018-01-23T01:54:06.862601Z") + toTime: new Date("2018-01-23T01:54:06.862601Z"), }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval", subscriptionId, - location + location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } exportLogsWhichContainAllApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriodBrokenDownByIntervals().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts index 501155da8dad..8b283d3f601c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/logAnalyticsExportThrottledRequestsSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { LogAnalyticsExportThrottledRequestsParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Export logs that show total throttled Api requests for this subscription in the given time window. @@ -31,22 +29,22 @@ async function exportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourc groupByOperationName: true, groupByResourceName: false, groupByUserAgent: false, - toTime: new Date("2018-01-23T01:54:06.862601Z") + toTime: new Date("2018-01-23T01:54:06.862601Z"), }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests", subscriptionId, - location + location, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } exportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriod().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts index 635c70cd3e2e..b16b1adb7e1b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/operationsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { OperationsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; -import { DefaultAzureCredential } from "@azure/identity" -import * as dotenv from "dotenv"; - -dotenv.config(); +import { DefaultAzureCredential } from "@azure/identity"; +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of compute operations. @@ -22,11 +20,9 @@ async function operationsListMaximumSetGen() { const credential = new DefaultAzureCredential(); const client = createComputeManagementClient(credential); const options: OperationsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; - const initialResponse = await client - .path("/providers/Microsoft.Compute/operations") - .get(options); + const initialResponse = await client.path("/providers/Microsoft.Compute/operations").get(options); const pageData = paginate(client, initialResponse); const result = []; for await (const item of pageData) { @@ -46,11 +42,9 @@ async function operationsListMinimumSetGen() { const credential = new DefaultAzureCredential(); const client = createComputeManagementClient(credential); const options: OperationsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; - const initialResponse = await client - .path("/providers/Microsoft.Compute/operations") - .get(options); + const initialResponse = await client.path("/providers/Microsoft.Compute/operations").get(options); const pageData = paginate(client, initialResponse); const result = []; for await (const item of pageData) { diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts index 3c50ea33521f..908e49204631 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsCreateOrUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - ProximityPlacementGroupsCreateOrUpdateParameters + ProximityPlacementGroupsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a proximity placement group. @@ -28,18 +26,18 @@ async function createOrUpdateAProximityPlacementGroup() { location: "westus", properties: { intent: { vmSizes: ["Basic_A0", "Basic_A2"] }, - proximityPlacementGroupType: "Standard" + proximityPlacementGroupType: "Standard", }, - zones: ["1"] + zones: ["1"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts index 4df0fcb21ac9..e3c1602a3cfc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsDeleteSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - ProximityPlacementGroupsDeleteParameters + ProximityPlacementGroupsDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete a proximity placement group. @@ -24,14 +22,14 @@ async function createAProximityPlacementGroup() { const resourceGroupName = "myResourceGroup"; const proximityPlacementGroupName = "myProximityPlacementGroup"; const options: ProximityPlacementGroupsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts index f4cae2e33c82..7ee60c56dd9f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - ProximityPlacementGroupsGetParameters + ProximityPlacementGroupsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about a proximity placement group . @@ -24,14 +22,14 @@ async function createAProximityPlacementGroup() { const resourceGroupName = "myResourceGroup"; const proximityPlacementGroupName = "myProximityPlacementGroup"; const options: ProximityPlacementGroupsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts index 802eed9c5f4d..1df2696d0210 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListByResourceGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { ProximityPlacementGroupsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all proximity placement groups in a resource group. @@ -24,13 +22,13 @@ async function createAProximityPlacementGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: ProximityPlacementGroupsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts index 392f66226ec5..c33cb70dafaa 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsListBySubscriptionSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { ProximityPlacementGroupsListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all proximity placement groups in a subscription. @@ -23,12 +21,12 @@ async function createAProximityPlacementGroup() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: ProximityPlacementGroupsListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts index db72d56f61bf..e9296bb1c05b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/proximityPlacementGroupsUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - ProximityPlacementGroupsUpdateParameters + ProximityPlacementGroupsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a proximity placement group. @@ -25,14 +23,14 @@ async function createAProximityPlacementGroup() { const proximityPlacementGroupName = "myProximityPlacementGroup"; const options: ProximityPlacementGroupsUpdateParameters = { body: { tags: { additionalProp1: "string" } }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", subscriptionId, resourceGroupName, - proximityPlacementGroupName + proximityPlacementGroupName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts index 9e05de25d59e..9a49241907ae 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/resourceSkusListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { ResourceSkusListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of Microsoft.Compute SKUs available for your Subscription. @@ -23,13 +21,10 @@ async function listsAllAvailableResourceSkUs() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: ResourceSkusListParameters = { - queryParameters: { "api-version": "2021-07-01" } + queryParameters: { "api-version": "2021-07-01" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; @@ -53,14 +48,11 @@ async function listsAllAvailableResourceSkUsForTheSpecifiedRegion() { const options: ResourceSkusListParameters = { queryParameters: { "api-version": "2021-07-01", - $filter: "location eq 'westus'" - } + $filter: "location eq 'westus'", + }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; @@ -84,14 +76,11 @@ async function listsAllAvailableResourceSkUsWithExtendedLocationInformation() { const options: ResourceSkusListParameters = { queryParameters: { "api-version": "2021-07-01", - includeExtendedLocations: "true" - } + includeExtendedLocations: "true", + }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; @@ -101,6 +90,4 @@ async function listsAllAvailableResourceSkUsWithExtendedLocationInformation() { console.log(result); } -listsAllAvailableResourceSkUsWithExtendedLocationInformation().catch( - console.error -); +listsAllAvailableResourceSkUsWithExtendedLocationInformation().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts index e8f59f4d9ffb..748428aba44b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsCreateOrUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - RestorePointCollectionsCreateOrUpdateParameters + RestorePointCollectionsCreateOrUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified. @@ -28,20 +26,19 @@ async function createOrUpdateARestorePointCollectionForCrossRegionCopy() { location: "norwayeast", properties: { source: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/sourceRpcName" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/sourceRpcName", + }, }, - tags: { myTag1: "tagValue1" } + tags: { myTag1: "tagValue1" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .put(options); console.log(result); @@ -65,20 +62,19 @@ async function createOrUpdateARestorePointCollection() { location: "norwayeast", properties: { source: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + }, }, - tags: { myTag1: "tagValue1" } + tags: { myTag1: "tagValue1" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts index 84a104657a9d..b99d24284567 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointCollectionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the restore point collection. This operation will also delete all the contained restore points. @@ -25,17 +23,17 @@ async function restorePointCollectionsDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const restorePointCollectionName = "aaaaaaaaaaaaaaaaa"; const options: RestorePointCollectionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +52,17 @@ async function restorePointCollectionsDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const restorePointCollectionName = "aaaaaaaaaaaaaaaaaaaa"; const options: RestorePointCollectionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts index 45bc47689bae..fa8f2de0b24e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - RestorePointCollectionsGetParameters + RestorePointCollectionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the restore point collection. @@ -24,21 +22,21 @@ async function getARestorePointCollectionButNotTheRestorePointsContainedInTheRes const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "myRpc"; const options: RestorePointCollectionsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .get(options); console.log(result); } getARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to get the restore point collection. @@ -53,19 +51,19 @@ async function getARestorePointCollectionIncludingTheRestorePointsContainedInThe const resourceGroupName = "myResourceGroup"; const restorePointCollectionName = "rpcName"; const options: RestorePointCollectionsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .get(options); console.log(result); } getARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts index bea6ce6781b6..77f63442cecb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListAllSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointCollectionsListAllParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections. @@ -23,12 +21,12 @@ async function getsTheListOfRestorePointCollectionsInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: RestorePointCollectionsListAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts index cd10fa2b8f26..4ed96d1d63ce 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointCollectionsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the list of restore point collections in a resource group. @@ -24,13 +22,13 @@ async function getsTheListOfRestorePointCollectionsInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: RestorePointCollectionsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts index 9384f1eca45f..c0c07f905c85 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointCollectionsUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - RestorePointCollectionsUpdateParameters + RestorePointCollectionsUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the restore point collection. @@ -27,20 +25,19 @@ async function restorePointCollectionsUpdateMaximumSetGen() { body: { properties: { source: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + }, }, - tags: { key8536: "aaaaaaaaaaaaaaaaaaa" } + tags: { key8536: "aaaaaaaaaaaaaaaaaaa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .patch(options); console.log(result); @@ -61,14 +58,14 @@ async function restorePointCollectionsUpdateMinimumSetGen() { const restorePointCollectionName = "aaaaaaaaaaaaaaaaaa"; const options: RestorePointCollectionsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", subscriptionId, resourceGroupName, - restorePointCollectionName + restorePointCollectionName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts index 5d32151e31cd..d3710371c0ed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsCreateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointsCreateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create the restore point. Updating properties of an existing restore point is not allowed @@ -29,12 +27,11 @@ async function copyARestorePointToADifferentRegion() { body: { properties: { sourceRestorePoint: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/sourceRpcName/restorePoints/sourceRpName" - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/sourceRpcName/restorePoints/sourceRpName", + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -42,10 +39,10 @@ async function copyARestorePointToADifferentRegion() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -69,13 +66,12 @@ async function createARestorePoint() { properties: { excludeDisks: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123" - } - ] - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123", + }, + ], + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -83,10 +79,10 @@ async function createARestorePoint() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts index a250c2230e18..ea68976c843a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { RestorePointsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the restore point. @@ -26,7 +24,7 @@ async function restorePointsDeleteMaximumSetGen() { const restorePointCollectionName = "aaaaaaaaaaaaaaaaaaaaaa"; const restorePointName = "a"; const options: RestorePointsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function restorePointsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function restorePointsDeleteMinimumSetGen() { const restorePointCollectionName = "aaaaaaaaaaaaaaaaa"; const restorePointName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: RestorePointsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function restorePointsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts index 1e990d14d523..3cd5ef39988d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/restorePointsGetSample.ts @@ -3,13 +3,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - RestorePointsGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { RestorePointsGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the restore point. @@ -25,7 +21,7 @@ async function getARestorePoint() { const restorePointCollectionName = "rpcName"; const restorePointName = "rpName"; const options: RestorePointsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +29,7 @@ async function getARestorePoint() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .get(options); console.log(result); @@ -54,7 +50,7 @@ async function getRestorePointWithInstanceView() { const restorePointCollectionName = "rpcName"; const restorePointName = "rpName"; const options: RestorePointsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +58,7 @@ async function getRestorePointWithInstanceView() { subscriptionId, resourceGroupName, restorePointCollectionName, - restorePointName + restorePointName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts index c18741400a0a..cb7f687ca2bc 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SharedGalleriesGetParameters + SharedGalleriesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery by subscription id or tenant id. @@ -24,14 +22,14 @@ async function getASharedGallery() { const location = "myLocation"; const galleryUniqueName = "galleryUniqueName"; const options: SharedGalleriesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}", subscriptionId, location, - galleryUniqueName + galleryUniqueName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts index 7bf41936ce58..778bac3905a0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleriesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SharedGalleriesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared galleries by subscription id or tenant id. @@ -24,13 +22,13 @@ async function listSharedGalleries() { const subscriptionId = ""; const location = "myLocation"; const options: SharedGalleriesListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts index fb9ed6e1a0c1..b7b40369a217 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SharedGalleryImageVersionsGetParameters + SharedGalleryImageVersionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery image version by subscription id or tenant id. @@ -26,7 +24,7 @@ async function getASharedGalleryImageVersion() { const galleryImageName = "myGalleryImageName"; const galleryImageVersionName = "myGalleryImageVersionName"; const options: SharedGalleryImageVersionsGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -35,7 +33,7 @@ async function getASharedGalleryImageVersion() { location, galleryUniqueName, galleryImageName, - galleryImageVersionName + galleryImageVersionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts index a1b51c01216c..1d545e3eafc4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImageVersionsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SharedGalleryImageVersionsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared gallery image versions by subscription id or tenant id. @@ -26,7 +24,7 @@ async function listSharedGalleryImageVersions() { const galleryUniqueName = "galleryUniqueName"; const galleryImageName = "myGalleryImageName"; const options: SharedGalleryImageVersionsListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( @@ -34,7 +32,7 @@ async function listSharedGalleryImageVersions() { subscriptionId, location, galleryUniqueName, - galleryImageName + galleryImageName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts index 07c4db370ba3..1b44a5af43e5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SharedGalleryImagesGetParameters + SharedGalleryImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Get a shared gallery image by subscription id or tenant id. @@ -25,7 +23,7 @@ async function getASharedGalleryImage() { const galleryUniqueName = "galleryUniqueName"; const galleryImageName = "myGalleryImageName"; const options: SharedGalleryImagesGetParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getASharedGalleryImage() { subscriptionId, location, galleryUniqueName, - galleryImageName + galleryImageName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts index 5a5d6a29bda3..49817528bdf3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sharedGalleryImagesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SharedGalleryImagesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to List shared gallery images by subscription id or tenant id. @@ -25,14 +23,14 @@ async function listSharedGalleryImages() { const location = "myLocation"; const galleryUniqueName = "galleryUniqueName"; const options: SharedGalleryImagesListParameters = { - queryParameters: { "api-version": "2022-01-03" } + queryParameters: { "api-version": "2022-01-03" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images", subscriptionId, location, - galleryUniqueName + galleryUniqueName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts index e96e63d0868b..016c8d83f9e6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates or updates a snapshot. @@ -30,31 +28,28 @@ async function createASnapshotByImportingAnUnmanagedBlobFromADifferentSubscripti properties: { creationData: { createOption: "Import", - sourceUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", storageAccountId: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount" - } - } + "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription().catch( - console.error -); +createASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a snapshot. * @@ -73,29 +68,26 @@ async function createASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription( properties: { creationData: { createOption: "Import", - sourceUri: - "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd" - } - } + sourceUri: "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription().catch( - console.error -); +createASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription().catch(console.error); /** * This sample demonstrates how to Creates or updates a snapshot. * @@ -115,27 +107,27 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri creationData: { createOption: "CopyStart", sourceResourceId: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1" - } - } + "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscriptionInADifferentRegion().catch( - console.error + console.error, ); /** * This sample demonstrates how to Creates or updates a snapshot. @@ -156,25 +148,23 @@ async function createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscri creationData: { createOption: "Copy", sourceResourceId: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1" - } - } + "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1", + }, + }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscription().catch( - console.error -); +createASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscription().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts index bf7db55a1433..7a8bbff5a351 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a snapshot. @@ -25,17 +23,17 @@ async function deleteASnapshot() { const resourceGroupName = "myResourceGroup"; const snapshotName = "mySnapshot"; const options: SnapshotsDeleteParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts index 5d47821d87f1..a0d6c1e9cfe8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGetSample.ts @@ -3,13 +3,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - SnapshotsGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { SnapshotsGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets information about a snapshot. @@ -24,14 +20,14 @@ async function getInformationAboutASnapshot() { const resourceGroupName = "myResourceGroup"; const snapshotName = "mySnapshot"; const options: SnapshotsGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .get(options); console.log(result); @@ -51,14 +47,14 @@ async function getInformationAboutAnIncrementalSnapshot() { const resourceGroupName = "myResourceGroup"; const snapshotName = "myIncrementalSnapshot"; const options: SnapshotsGetParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts index 3c17e4499a64..6b5c2aae67e5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsGrantAccessSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsGrantAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Grants access to a snapshot. @@ -26,17 +24,17 @@ async function getASasOnASnapshot() { const snapshotName = "mySnapshot"; const options: SnapshotsGrantAccessParameters = { body: { access: "Read", durationInSeconds: 300 }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts index 8eb58e41bd1f..ed12a0ec652c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListByResourceGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists snapshots under a resource group. @@ -24,13 +22,13 @@ async function listAllSnapshotsInAResourceGroup() { const subscriptionId = ""; const resourceGroupName = "myResourceGroup"; const options: SnapshotsListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts index 382be48952fb..48436b8e347f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists snapshots under a subscription. @@ -23,13 +21,10 @@ async function listAllSnapshotsInASubscription() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: SnapshotsListParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client - .path( - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots", - subscriptionId - ) + .path("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots", subscriptionId) .get(options); const pageData = paginate(client, initialResponse); const result = []; diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts index 6a0e2010167c..12fff1a6d60f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsRevokeAccessSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsRevokeAccessParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Revokes access to a snapshot. @@ -25,17 +23,17 @@ async function revokeAccessToASnapshot() { const resourceGroupName = "myResourceGroup"; const snapshotName = "mySnapshot"; const options: SnapshotsRevokeAccessParameters = { - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts index a702f689d3ae..497c75cf3ae3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/snapshotsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SnapshotsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates (patches) a snapshot. @@ -28,21 +26,21 @@ async function updateASnapshotWithAcceleratedNetworking() { body: { properties: { diskSizeGB: 20, - supportedCapabilities: { acceleratedNetwork: false } + supportedCapabilities: { acceleratedNetwork: false }, }, - tags: { department: "Development", project: "UpdateSnapshots" } + tags: { department: "Development", project: "UpdateSnapshots" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -63,19 +61,19 @@ async function updateASnapshot() { const options: SnapshotsUpdateParameters = { body: { properties: { diskSizeGB: 20 }, - tags: { department: "Development", project: "UpdateSnapshots" } + tags: { department: "Development", project: "UpdateSnapshots" }, }, - queryParameters: { "api-version": "2022-07-02" } + queryParameters: { "api-version": "2022-07-02" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", subscriptionId, resourceGroupName, - snapshotName + snapshotName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts index 9f00219c7a54..2113ae3abe59 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysCreateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SshPublicKeysCreateParameters + SshPublicKeysCreateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Creates a new SSH public key resource. @@ -26,16 +24,16 @@ async function createANewSshPublicKeyResource() { const options: SshPublicKeysCreateParameters = { body: { location: "westus", - properties: { publicKey: "{ssh-rsa public key}" } + properties: { publicKey: "{ssh-rsa public key}" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .put(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts index 34f4a8178de6..54451dfd9012 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysDeleteSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SshPublicKeysDeleteParameters + SshPublicKeysDeleteParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Delete an SSH public key. @@ -24,14 +22,14 @@ async function sshPublicKeysDeleteMaximumSetGen() { const resourceGroupName = "rgcompute"; const sshPublicKeyName = "aaaaaaaaaa"; const options: SshPublicKeysDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .delete(options); console.log(result); @@ -51,14 +49,14 @@ async function sshPublicKeysDeleteMinimumSetGen() { const resourceGroupName = "rgcompute"; const sshPublicKeyName = "aaaaaaaaaaaaaaaaaaa"; const options: SshPublicKeysDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .delete(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts index 5d0e3eee2e6d..64d2c2467548 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGenerateKeyPairSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SshPublicKeysGenerateKeyPairParameters + SshPublicKeysGenerateKeyPairParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Generates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource. @@ -24,14 +22,14 @@ async function generateAnSshKeyPair() { const resourceGroupName = "myResourceGroup"; const sshPublicKeyName = "mySshPublicKeyName"; const options: SshPublicKeysGenerateKeyPairParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}/generateKeyPair", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts index 06308cc92020..89c3b0d13e72 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysGetSample.ts @@ -3,13 +3,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import createComputeManagementClient, { - SshPublicKeysGetParameters -} from "@azure-rest/arm-compute"; +import createComputeManagementClient, { SshPublicKeysGetParameters } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about an SSH public key. @@ -24,14 +20,14 @@ async function getAnSshPublicKey() { const resourceGroupName = "myResourceGroup"; const sshPublicKeyName = "mySshPublicKeyName"; const options: SshPublicKeysGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts index 82848d8f9d51..a6b4563da01f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListByResourceGroupSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SshPublicKeysListByResourceGroupParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys. @@ -24,13 +22,13 @@ async function sshPublicKeysListByResourceGroupMaximumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: SshPublicKeysListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +52,13 @@ async function sshPublicKeysListByResourceGroupMinimumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: SshPublicKeysListByResourceGroupParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts index ec386d77fa05..2417932fe71a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysListBySubscriptionSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { SshPublicKeysListBySubscriptionParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys. @@ -23,12 +21,12 @@ async function sshPublicKeysListBySubscriptionMaximumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: SshPublicKeysListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -51,12 +49,12 @@ async function sshPublicKeysListBySubscriptionMinimumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: SshPublicKeysListBySubscriptionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts index e1e3b83d1660..0c33c398a723 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/sshPublicKeysUpdateSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - SshPublicKeysUpdateParameters + SshPublicKeysUpdateParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a new SSH public key resource. @@ -26,16 +24,16 @@ async function sshPublicKeysUpdateMaximumSetGen() { const options: SshPublicKeysUpdateParameters = { body: { properties: { publicKey: "{ssh-rsa public key}" }, - tags: { key2854: "a" } + tags: { key2854: "a" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .patch(options); console.log(result); @@ -56,14 +54,14 @@ async function sshPublicKeysUpdateMinimumSetGen() { const sshPublicKeyName = "aaaaaaaaaaa"; const options: SshPublicKeysUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", subscriptionId, resourceGroupName, - sshPublicKeyName + sshPublicKeyName, ) .patch(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts index 04f9e7161e17..5d74bdfc450e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/usageListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { UsageListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription. @@ -24,13 +22,13 @@ async function usageListMaximumSetGen() { const subscriptionId = ""; const location = "4_."; const options: UsageListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +52,13 @@ async function usageListMinimumSetGen() { const subscriptionId = ""; const location = "_--"; const options: UsageListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts index 4d1dd2ff2fb8..8817492dfde1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineExtensionImagesGetParameters + VirtualMachineExtensionImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine extension image. @@ -26,7 +24,7 @@ async function virtualMachineExtensionImagesGetMaximumSetGen() { const type = "aaaaaaaaaaaaaaaaaa"; const version = "aaaaaaaaaaaaaa"; const options: VirtualMachineExtensionImagesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -35,7 +33,7 @@ async function virtualMachineExtensionImagesGetMaximumSetGen() { location, publisherName, type, - version + version, ) .get(options); console.log(result); @@ -57,7 +55,7 @@ async function virtualMachineExtensionImagesGetMinimumSetGen() { const type = "aa"; const version = "aaa"; const options: VirtualMachineExtensionImagesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -66,7 +64,7 @@ async function virtualMachineExtensionImagesGetMinimumSetGen() { location, publisherName, type, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts index db0c83671b3c..a067e5f21721 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListTypesSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineExtensionImagesListTypesParameters + VirtualMachineExtensionImagesListTypesParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine extension image types. @@ -24,14 +22,14 @@ async function virtualMachineExtensionImagesListTypesMaximumSetGen() { const location = "aaaaaaaaaaaaaaaaaaaaaaaaaa"; const publisherName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineExtensionImagesListTypesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); @@ -51,14 +49,14 @@ async function virtualMachineExtensionImagesListTypesMinimumSetGen() { const location = "aaaa"; const publisherName = "aa"; const options: VirtualMachineExtensionImagesListTypesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts index 01a685742cee..b3ab5ece8d8b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionImagesListVersionsSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineExtensionImagesListVersionsParameters + VirtualMachineExtensionImagesListVersionsParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine extension image versions. @@ -29,8 +27,8 @@ async function virtualMachineExtensionImagesListVersionsMaximumSetGen() { $filter: "aaaaaaaaaaaaaaaaaaaaaaaaa", $top: 22, $orderby: "a", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( @@ -38,7 +36,7 @@ async function virtualMachineExtensionImagesListVersionsMaximumSetGen() { subscriptionId, location, publisherName, - type + type, ) .get(options); console.log(result); @@ -59,7 +57,7 @@ async function virtualMachineExtensionImagesListVersionsMinimumSetGen() { const publisherName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const type = "aaaa"; const options: VirtualMachineExtensionImagesListVersionsParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -67,7 +65,7 @@ async function virtualMachineExtensionImagesListVersionsMinimumSetGen() { subscriptionId, location, publisherName, - type + type, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts index 4b813914100a..fde21590f66c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineExtensionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the extension. @@ -42,8 +40,8 @@ async function virtualMachineExtensionsCreateOrUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, ], substatuses: [ { @@ -51,20 +49,20 @@ async function virtualMachineExtensionsCreateOrUpdateMaximumSetGen() { displayStatus: "aaaaaa", level: "Info", message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } + time: new Date("2021-11-30T12:58:26.522Z"), + }, ], - typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa" + typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa", }, protectedSettings: {}, publisher: "extPublisher", settings: {}, suppressFailures: true, - typeHandlerVersion: "1.2" + typeHandlerVersion: "1.2", }, - tags: { key9183: "aa" } + tags: { key9183: "aa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -72,10 +70,10 @@ async function virtualMachineExtensionsCreateOrUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -96,7 +94,7 @@ async function virtualMachineExtensionsCreateOrUpdateMinimumSetGen() { const vmExtensionName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineExtensionsCreateOrUpdateParameters = { body: { location: "westus" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -104,10 +102,10 @@ async function virtualMachineExtensionsCreateOrUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts index 8f2c3e04ea19..e48e7271b2fd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineExtensionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the extension. @@ -26,7 +24,7 @@ async function virtualMachineExtensionsDeleteMaximumSetGen() { const vmName = "aaaaaaaaaaaaa"; const vmExtensionName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineExtensionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function virtualMachineExtensionsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function virtualMachineExtensionsDeleteMinimumSetGen() { const vmName = "aaaaaaaaaaaaaaaaaaaaaaaaa"; const vmExtensionName = "aa"; const options: VirtualMachineExtensionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function virtualMachineExtensionsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts index 4021ac45f0d9..7bdc067bc255 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineExtensionsGetParameters + VirtualMachineExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the extension. @@ -25,7 +23,7 @@ async function virtualMachineExtensionsGetMaximumSetGen() { const vmName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const vmExtensionName = "aaaaaaa"; const options: VirtualMachineExtensionsGetParameters = { - queryParameters: { $expand: "aaaaaa", "api-version": "2022-08-01" } + queryParameters: { $expand: "aaaaaa", "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function virtualMachineExtensionsGetMaximumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); @@ -54,7 +52,7 @@ async function virtualMachineExtensionsGetMinimumSetGen() { const vmName = "a"; const vmExtensionName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineExtensionsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +60,7 @@ async function virtualMachineExtensionsGetMinimumSetGen() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts index 3b06ef4d32c8..68dfaf35b498 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsListSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineExtensionsListParameters + VirtualMachineExtensionsListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all extensions of a Virtual Machine. @@ -26,15 +24,15 @@ async function virtualMachineExtensionsListMaximumSetGen() { const options: VirtualMachineExtensionsListParameters = { queryParameters: { $expand: "aaaaaaaaaaaaaaaaa", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -54,14 +52,14 @@ async function virtualMachineExtensionsListMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineExtensionsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts index 4feb9daf4313..87ecbc9ea4a4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineExtensionsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineExtensionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the extension. @@ -34,17 +32,16 @@ async function updateVMExtension() { secretUrl: "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e", sourceVault: { - id: - "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName" - } + id: "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName", + }, }, publisher: "extPublisher", settings: { UserName: "xyz@microsoft.com" }, suppressFailures: true, - typeHandlerVersion: "1.2" - } + typeHandlerVersion: "1.2", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -52,10 +49,10 @@ async function updateVMExtension() { subscriptionId, resourceGroupName, vmName, - vmExtensionName + vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts index f937068c4971..870d9e39dcd2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesEdgeZoneGetParameters + VirtualMachineImagesEdgeZoneGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine image in an edge zone. @@ -28,7 +26,7 @@ async function virtualMachineImagesEdgeZoneGetMaximumSetGen() { const skus = "aaaaaaaaaa"; const version = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -39,7 +37,7 @@ async function virtualMachineImagesEdgeZoneGetMaximumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); @@ -63,7 +61,7 @@ async function virtualMachineImagesEdgeZoneGetMinimumSetGen() { const skus = "aaaaaaaaaaaaaaaaaa"; const version = "aa"; const options: VirtualMachineImagesEdgeZoneGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -74,7 +72,7 @@ async function virtualMachineImagesEdgeZoneGetMinimumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts index 6cf204e84bb7..7d3823c50b82 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListOffersSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesEdgeZoneListOffersParameters + VirtualMachineImagesEdgeZoneListOffersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image offers for the specified location, edge zone and publisher. @@ -25,7 +23,7 @@ async function virtualMachineImagesEdgeZoneListOffersMaximumSetGen() { const edgeZone = "aaaaaaaaaaaaaaaaaaa"; const publisherName = "aaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListOffersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function virtualMachineImagesEdgeZoneListOffersMaximumSetGen() { subscriptionId, location, edgeZone, - publisherName + publisherName, ) .get(options); console.log(result); @@ -54,7 +52,7 @@ async function virtualMachineImagesEdgeZoneListOffersMinimumSetGen() { const edgeZone = "aaaaaaaaaaaaaaaaaaaaa"; const publisherName = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListOffersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +60,7 @@ async function virtualMachineImagesEdgeZoneListOffersMinimumSetGen() { subscriptionId, location, edgeZone, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts index c4a080d51743..3c8ac11189c4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListPublishersSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesEdgeZoneListPublishersParameters + VirtualMachineImagesEdgeZoneListPublishersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image publishers for the specified Azure location and edge zone. @@ -24,14 +22,14 @@ async function virtualMachineImagesEdgeZoneListPublishersMaximumSetGen() { const location = "aaaaaa"; const edgeZone = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListPublishersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); @@ -51,14 +49,14 @@ async function virtualMachineImagesEdgeZoneListPublishersMinimumSetGen() { const location = "aaaa"; const edgeZone = "aaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListPublishersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts index 836decadcbc8..5de313eccfb7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesEdgeZoneListParameters + VirtualMachineImagesEdgeZoneListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU. @@ -31,8 +29,8 @@ async function virtualMachineImagesEdgeZoneListMaximumSetGen() { $expand: "aaaaaaaaaaaaaaaaaaaaaaaa", $top: 12, $orderby: "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( @@ -42,7 +40,7 @@ async function virtualMachineImagesEdgeZoneListMaximumSetGen() { edgeZone, publisherName, offer, - skus + skus, ) .get(options); console.log(result); @@ -65,7 +63,7 @@ async function virtualMachineImagesEdgeZoneListMinimumSetGen() { const offer = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const skus = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -75,7 +73,7 @@ async function virtualMachineImagesEdgeZoneListMinimumSetGen() { edgeZone, publisherName, offer, - skus + skus, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts index 40e30fabe4eb..3e6e5852361f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesEdgeZoneListSkusSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesEdgeZoneListSkusParameters + VirtualMachineImagesEdgeZoneListSkusParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer. @@ -26,7 +24,7 @@ async function virtualMachineImagesEdgeZoneListSkusMaximumSetGen() { const publisherName = "aaaaaaaaaaaa"; const offer = "aaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -35,7 +33,7 @@ async function virtualMachineImagesEdgeZoneListSkusMaximumSetGen() { location, edgeZone, publisherName, - offer + offer, ) .get(options); console.log(result); @@ -57,7 +55,7 @@ async function virtualMachineImagesEdgeZoneListSkusMinimumSetGen() { const publisherName = "aaaaaaaaa"; const offer = "aaaaaaaaaaaa"; const options: VirtualMachineImagesEdgeZoneListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -66,7 +64,7 @@ async function virtualMachineImagesEdgeZoneListSkusMinimumSetGen() { location, edgeZone, publisherName, - offer + offer, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts index ae7e21105063..915219e7d2bf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesGetParameters + VirtualMachineImagesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine image. @@ -27,7 +25,7 @@ async function virtualMachineImagesGetMaximumSetGen() { const skus = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const version = "aaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -37,7 +35,7 @@ async function virtualMachineImagesGetMaximumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); @@ -60,7 +58,7 @@ async function virtualMachineImagesGetMinimumSetGen() { const skus = "aaaaaaaaa"; const version = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -70,7 +68,7 @@ async function virtualMachineImagesGetMinimumSetGen() { publisherName, offer, skus, - version + version, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts index 1c030372ea93..cca57509cd4a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListByEdgeZoneSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesListByEdgeZoneParameters + VirtualMachineImagesListByEdgeZoneParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified edge zone @@ -24,14 +22,14 @@ async function virtualMachineImagesEdgeZoneListByEdgeZoneMaximumSetGen() { const location = "WestUS"; const edgeZone = "microsoftlosangeles1"; const options: VirtualMachineImagesListByEdgeZoneParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); @@ -51,14 +49,14 @@ async function virtualMachineImagesEdgeZoneListByEdgeZoneMinimumSetGen() { const location = "WestUS"; const edgeZone = "microsoftlosangeles1"; const options: VirtualMachineImagesListByEdgeZoneParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages", subscriptionId, location, - edgeZone + edgeZone, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts index 278067aa9626..ea39fbaca26b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListOffersSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesListOffersParameters + VirtualMachineImagesListOffersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image offers for the specified location and publisher. @@ -24,14 +22,14 @@ async function virtualMachineImagesListOffersMaximumSetGen() { const location = "aaaaaaa"; const publisherName = "aaaaaaaa"; const options: VirtualMachineImagesListOffersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); @@ -51,14 +49,14 @@ async function virtualMachineImagesListOffersMinimumSetGen() { const location = "aaaaaaaaaaaaaaaaa"; const publisherName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesListOffersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers", subscriptionId, location, - publisherName + publisherName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts index b1dcf2774266..b4ee4b8b3817 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListPublishersSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesListPublishersParameters + VirtualMachineImagesListPublishersParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image publishers for the specified Azure location. @@ -23,13 +21,13 @@ async function virtualMachineImagesListPublishersMaximumSetGen() { const subscriptionId = ""; const location = "aaaaa"; const options: VirtualMachineImagesListPublishersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers", subscriptionId, - location + location, ) .get(options); console.log(result); @@ -48,13 +46,13 @@ async function virtualMachineImagesListPublishersMinimumSetGen() { const subscriptionId = ""; const location = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineImagesListPublishersParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers", subscriptionId, - location + location, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts index 482b142b1d3b..7684d458d1ad 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesListParameters + VirtualMachineImagesListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. @@ -30,8 +28,8 @@ async function virtualMachineImagesListMaximumSetGen() { $expand: "aaaaaaaaaaaaaaaaaaaaaaaa", $top: 18, $orderby: "aa", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( @@ -40,7 +38,7 @@ async function virtualMachineImagesListMaximumSetGen() { location, publisherName, offer, - skus + skus, ) .get(options); console.log(result); @@ -62,7 +60,7 @@ async function virtualMachineImagesListMinimumSetGen() { const offer = "aaaaaaaaaa"; const skus = "aaaaaa"; const options: VirtualMachineImagesListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -71,7 +69,7 @@ async function virtualMachineImagesListMinimumSetGen() { location, publisherName, offer, - skus + skus, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts index eb2c438f351a..8f22efc6874b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineImagesListSkusSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineImagesListSkusParameters + VirtualMachineImagesListSkusParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of virtual machine image SKUs for the specified location, publisher, and offer. @@ -25,7 +23,7 @@ async function virtualMachineImagesListSkusMaximumSetGen() { const publisherName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const offer = "aaaaaaa"; const options: VirtualMachineImagesListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function virtualMachineImagesListSkusMaximumSetGen() { subscriptionId, location, publisherName, - offer + offer, ) .get(options); console.log(result); @@ -54,7 +52,7 @@ async function virtualMachineImagesListSkusMinimumSetGen() { const publisherName = "aaaaaaaaaaaaa"; const offer = "aaaaaaa"; const options: VirtualMachineImagesListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +60,7 @@ async function virtualMachineImagesListSkusMinimumSetGen() { subscriptionId, location, publisherName, - offer + offer, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts index 04734361f412..efbba92a1316 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineRunCommandsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the run command. @@ -32,15 +30,15 @@ async function createOrUpdateARunCommand() { asyncExecution: false, parameters: [ { name: "param1", value: "value1" }, - { name: "param2", value: "value2" } + { name: "param2", value: "value2" }, ], runAsPassword: "", runAsUser: "user1", source: { script: "Write-Host Hello World!" }, - timeoutInSeconds: 3600 - } + timeoutInSeconds: 3600, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -48,10 +46,10 @@ async function createOrUpdateARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts index a6d79113a377..2757587ec809 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineRunCommandsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the run command. @@ -26,7 +24,7 @@ async function deleteARunCommand() { const vmName = "myVM"; const runCommandName = "myRunCommand"; const options: VirtualMachineRunCommandsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function deleteARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts index e7fc95d07eac..e23f131ad024 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetByVirtualMachineSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineRunCommandsGetByVirtualMachineParameters + VirtualMachineRunCommandsGetByVirtualMachineParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the run command. @@ -25,7 +23,7 @@ async function getARunCommand() { const vmName = "myVM"; const runCommandName = "myRunCommand"; const options: VirtualMachineRunCommandsGetByVirtualMachineParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts index 24b29c10ac09..a052513fd615 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineRunCommandsGetParameters + VirtualMachineRunCommandsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets specific run command for a subscription in a location. @@ -24,14 +22,14 @@ async function virtualMachineRunCommandGet() { const location = "SoutheastAsia"; const commandId = "RunPowerShellScript"; const options: VirtualMachineRunCommandsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}", subscriptionId, location, - commandId + commandId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts index ab348940e7c1..2f203d00b288 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListByVirtualMachineSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineRunCommandsListByVirtualMachineParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all run commands of a Virtual Machine. @@ -25,14 +23,14 @@ async function listRunCommandsInAVirtualMachine() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachineRunCommandsListByVirtualMachineParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts index 071f6db76dce..b0be90a09b94 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineRunCommandsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available run commands for a subscription in a location. @@ -24,13 +22,13 @@ async function virtualMachineRunCommandList() { const subscriptionId = ""; const location = "SoutheastAsia"; const options: VirtualMachineRunCommandsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts index 0241086f2402..4af790c5a1a6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineRunCommandsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineRunCommandsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the run command. @@ -27,9 +25,9 @@ async function updateARunCommand() { const runCommandName = "myRunCommand"; const options: VirtualMachineRunCommandsUpdateParameters = { body: { - properties: { source: { script: "Write-Host Script Source Updated!" } } + properties: { source: { script: "Write-Host Script Source Updated!" } }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -37,10 +35,10 @@ async function updateARunCommand() { subscriptionId, resourceGroupName, vmName, - runCommandName + runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts index ae9c6f3cf58e..ff00465683ca 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetExtensionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update an extension. @@ -38,10 +36,10 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen() { publisher: "{extension-Publisher}", settings: {}, suppressFailures: true, - typeHandlerVersion: "{handler-version}" - } + typeHandlerVersion: "{handler-version}", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -49,17 +47,15 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen().catch( - console.error -); +virtualMachineScaleSetExtensionsCreateOrUpdateMaximumSetGen().catch(console.error); /** * This sample demonstrates how to The operation to create or update an extension. * @@ -75,7 +71,7 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen() { const vmssExtensionName = "aaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsCreateOrUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -83,14 +79,12 @@ async function virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen().catch( - console.error -); +virtualMachineScaleSetExtensionsCreateOrUpdateMinimumSetGen().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts index 0b294375038a..d21296bf2311 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetExtensionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the extension. @@ -26,7 +24,7 @@ async function virtualMachineScaleSetExtensionsDeleteMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const vmssExtensionName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function virtualMachineScaleSetExtensionsDeleteMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function virtualMachineScaleSetExtensionsDeleteMinimumSetGen() { const vmScaleSetName = "aaaa"; const vmssExtensionName = "aaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function virtualMachineScaleSetExtensionsDeleteMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts index 0f75927626e8..79a32578d338 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetExtensionsGetParameters + VirtualMachineScaleSetExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the extension. @@ -25,7 +23,7 @@ async function virtualMachineScaleSetExtensionsGetMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const vmssExtensionName = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsGetParameters = { - queryParameters: { $expand: "aaaaaaa", "api-version": "2022-08-01" } + queryParameters: { $expand: "aaaaaaa", "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function virtualMachineScaleSetExtensionsGetMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .get(options); console.log(result); @@ -54,7 +52,7 @@ async function virtualMachineScaleSetExtensionsGetMinimumSetGen() { const vmScaleSetName = "a"; const vmssExtensionName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +60,7 @@ async function virtualMachineScaleSetExtensionsGetMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts index 488c93916194..580b77e0fb10 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetExtensionsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all extensions in a VM scale set. @@ -25,14 +23,14 @@ async function virtualMachineScaleSetExtensionsListMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,14 +55,14 @@ async function virtualMachineScaleSetExtensionsListMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetExtensionsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts index c75869a8e7e9..faf6949272ae 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetExtensionsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetExtensionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update an extension. @@ -37,10 +35,10 @@ async function virtualMachineScaleSetExtensionsUpdateMaximumSetGen() { publisher: "{extension-Publisher}", settings: {}, suppressFailures: true, - typeHandlerVersion: "{handler-version}" - } + typeHandlerVersion: "{handler-version}", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -48,10 +46,10 @@ async function virtualMachineScaleSetExtensionsUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -72,7 +70,7 @@ async function virtualMachineScaleSetExtensionsUpdateMinimumSetGen() { const vmssExtensionName = "aa"; const options: VirtualMachineScaleSetExtensionsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -80,10 +78,10 @@ async function virtualMachineScaleSetExtensionsUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - vmssExtensionName + vmssExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts index 60373804d70e..02ac2ce96050 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesCancelSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetRollingUpgradesCancelParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Cancels the current virtual machine scale set rolling upgrade. @@ -25,17 +23,17 @@ async function virtualMachineScaleSetRollingUpgradesCancelMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaa"; const options: VirtualMachineScaleSetRollingUpgradesCancelParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +52,17 @@ async function virtualMachineScaleSetRollingUpgradesCancelMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaa"; const options: VirtualMachineScaleSetRollingUpgradesCancelParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts index 7b00126e2ed9..df412fef5e7f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesGetLatestSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetRollingUpgradesGetLatestParameters + VirtualMachineScaleSetRollingUpgradesGetLatestParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of the latest virtual machine scale set rolling upgrade. @@ -24,22 +22,20 @@ async function virtualMachineScaleSetRollingUpgradesGetLatestMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetRollingUpgradesGetLatestParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); } -virtualMachineScaleSetRollingUpgradesGetLatestMaximumSetGen().catch( - console.error -); +virtualMachineScaleSetRollingUpgradesGetLatestMaximumSetGen().catch(console.error); /** * This sample demonstrates how to Gets the status of the latest virtual machine scale set rolling upgrade. * @@ -53,19 +49,17 @@ async function virtualMachineScaleSetRollingUpgradesGetLatestMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetRollingUpgradesGetLatestParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); } -virtualMachineScaleSetRollingUpgradesGetLatestMinimumSetGen().catch( - console.error -); +virtualMachineScaleSetRollingUpgradesGetLatestMinimumSetGen().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts index 64f412d2b688..44d825d7a428 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. @@ -25,17 +23,17 @@ async function startAnExtensionRollingUpgrade() { const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "{vmss-name}"; const options: VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts index ed3f93c067bd..d1b90e9a2b31 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetRollingUpgradesStartOSUpgradeParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. @@ -25,24 +23,22 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMaximumSetGen( const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaa"; const options: VirtualMachineScaleSetRollingUpgradesStartOSUpgradeParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetRollingUpgradesStartOSUpgradeMaximumSetGen().catch( - console.error -); +virtualMachineScaleSetRollingUpgradesStartOSUpgradeMaximumSetGen().catch(console.error); /** * This sample demonstrates how to Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. * @@ -56,21 +52,19 @@ async function virtualMachineScaleSetRollingUpgradesStartOSUpgradeMinimumSetGen( const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetRollingUpgradesStartOSUpgradeParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetRollingUpgradesStartOSUpgradeMinimumSetGen().catch( - console.error -); +virtualMachineScaleSetRollingUpgradesStartOSUpgradeMinimumSetGen().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts index 21f433b06584..74806bd5e065 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the VMSS VM extension. @@ -33,10 +31,10 @@ async function createVirtualMachineScaleSetVMExtension() { autoUpgradeMinorVersion: true, publisher: "extPublisher", settings: { UserName: "xyz@microsoft.com" }, - typeHandlerVersion: "1.2" - } + typeHandlerVersion: "1.2", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -45,10 +43,10 @@ async function createVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts index 8bb806167c2f..d56bb952be63 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the VMSS VM extension. @@ -27,7 +25,7 @@ async function deleteVirtualMachineScaleSetVMExtension() { const instanceId = "0"; const vmExtensionName = "myVMExtension"; const options: VirtualMachineScaleSetVMExtensionsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -36,10 +34,10 @@ async function deleteVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts index e3bad66fcc5f..35ae7194a15f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMExtensionsGetParameters + VirtualMachineScaleSetVMExtensionsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the VMSS VM extension. @@ -26,7 +24,7 @@ async function getVirtualMachineScaleSetVMExtension() { const instanceId = "0"; const vmExtensionName = "myVMExtension"; const options: VirtualMachineScaleSetVMExtensionsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -35,7 +33,7 @@ async function getVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts index 78e30512d452..ca6924857783 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsListSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMExtensionsListParameters + VirtualMachineScaleSetVMExtensionsListParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all extensions of an instance in Virtual Machine Scaleset. @@ -25,7 +23,7 @@ async function listExtensionsInVmssInstance() { const vmScaleSetName = "myvmScaleSet"; const instanceId = "0"; const options: VirtualMachineScaleSetVMExtensionsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function listExtensionsInVmssInstance() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts index aa0aa4db889c..453aaa4978f1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMExtensionsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMExtensionsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the VMSS VM extension. @@ -33,10 +31,10 @@ async function updateVirtualMachineScaleSetVMExtension() { autoUpgradeMinorVersion: true, publisher: "extPublisher", settings: { UserName: "xyz@microsoft.com" }, - typeHandlerVersion: "1.2" - } + typeHandlerVersion: "1.2", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -45,10 +43,10 @@ async function updateVirtualMachineScaleSetVMExtension() { resourceGroupName, vmScaleSetName, instanceId, - vmExtensionName + vmExtensionName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts index 72a6e696a2f2..01fd752a6d4d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update the VMSS VM run command. @@ -33,15 +31,15 @@ async function createVirtualMachineScaleSetVMRunCommand() { asyncExecution: false, parameters: [ { name: "param1", value: "value1" }, - { name: "param2", value: "value2" } + { name: "param2", value: "value2" }, ], runAsPassword: "", runAsUser: "user1", source: { script: "Write-Host Hello World!" }, - timeoutInSeconds: 3600 - } + timeoutInSeconds: 3600, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -50,10 +48,10 @@ async function createVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts index 43bba69bf4f3..c1a9e6e6c5cb 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete the VMSS VM run command. @@ -27,7 +25,7 @@ async function deleteVirtualMachineScaleSetVMRunCommand() { const instanceId = "0"; const runCommandName = "myRunCommand"; const options: VirtualMachineScaleSetVMRunCommandsDeleteParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -36,10 +34,10 @@ async function deleteVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts index 259640631c00..752fdea0d69d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMRunCommandsGetParameters + VirtualMachineScaleSetVMRunCommandsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get the VMSS VM run command. @@ -26,7 +24,7 @@ async function getVirtualMachineScaleSetVMRunCommands() { const instanceId = "0"; const runCommandName = "myRunCommand"; const options: VirtualMachineScaleSetVMRunCommandsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -35,7 +33,7 @@ async function getVirtualMachineScaleSetVMRunCommands() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts index c05cbd0a9dc2..88e3ba56c5af 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to get all run commands of an instance in Virtual Machine Scaleset. @@ -26,7 +24,7 @@ async function listRunCommandsInVmssInstance() { const vmScaleSetName = "myvmScaleSet"; const instanceId = "0"; const options: VirtualMachineScaleSetVMRunCommandsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,7 +32,7 @@ async function listRunCommandsInVmssInstance() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts index 5eeb70951ca6..8a1a13b3cda6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMRunCommandsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMRunCommandsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update the VMSS VM run command. @@ -28,9 +26,9 @@ async function updateVirtualMachineScaleSetVMRunCommand() { const runCommandName = "myRunCommand"; const options: VirtualMachineScaleSetVMRunCommandsUpdateParameters = { body: { - properties: { source: { script: "Write-Host Script Source Updated!" } } + properties: { source: { script: "Write-Host Script Source Updated!" } }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -39,10 +37,10 @@ async function updateVirtualMachineScaleSetVMRunCommand() { resourceGroupName, vmScaleSetName, instanceId, - runCommandName + runCommandName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts index 7a544381e003..74b1c584b808 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeallocateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsDeallocateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. @@ -26,7 +24,7 @@ async function virtualMachineScaleSetVMSDeallocateMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsDeallocateParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function virtualMachineScaleSetVMSDeallocateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function virtualMachineScaleSetVMSDeallocateMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaa"; const options: VirtualMachineScaleSetVMsDeallocateParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function virtualMachineScaleSetVMSDeallocateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts index 31ac1162c527..28522c4a6cf5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a virtual machine from a VM scale set. @@ -26,7 +24,7 @@ async function forceDeleteAVirtualMachineFromAVMScaleSet() { const vmScaleSetName = "myvmScaleSet"; const instanceId = "0"; const options: VirtualMachineScaleSetVMsDeleteParameters = { - queryParameters: { forceDeletion: true, "api-version": "2022-08-01" } + queryParameters: { forceDeletion: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function forceDeleteAVirtualMachineFromAVMScaleSet() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts index ec077a30b01a..0dfc27ca652f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetInstanceViewSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMsGetInstanceViewParameters + VirtualMachineScaleSetVMsGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a virtual machine from a VM scale set. @@ -25,7 +23,7 @@ async function getInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicated const vmScaleSetName = "myVirtualMachineScaleSet"; const instanceId = "0"; const options: VirtualMachineScaleSetVMsGetInstanceViewParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,12 +31,12 @@ async function getInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicated subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); } getInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts index 2d9a277b1c2c..ba4d0583dcc2 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMsGetParameters + VirtualMachineScaleSetVMsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a virtual machine from a VM scale set. @@ -25,7 +23,7 @@ async function getVMScaleSetVMWithUserData() { const vmScaleSetName = "{vmss-name}"; const instanceId = "0"; const options: VirtualMachineScaleSetVMsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function getVMScaleSetVMWithUserData() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); @@ -54,7 +52,7 @@ async function getVMScaleSetVMWithVMSizeProperties() { const vmScaleSetName = "{vmss-name}"; const instanceId = "0"; const options: VirtualMachineScaleSetVMsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -62,7 +60,7 @@ async function getVMScaleSetVMWithVMSizeProperties() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts index d941301ce696..8661f3f78eb1 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all virtual machines in a VM scale sets. @@ -29,15 +27,15 @@ async function virtualMachineScaleSetVMSListMaximumSetGen() { $filter: "aaaaaaaaaaaaaa", $select: "aaaaaaaaaaaaaaaaaaaaa", $expand: "aaaaaaaaaaaaa", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -62,14 +60,14 @@ async function virtualMachineScaleSetVMSListMinimumSetGen() { const resourceGroupName = "rgcompute"; const virtualMachineScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines", subscriptionId, resourceGroupName, - virtualMachineScaleSetName + virtualMachineScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts index de2db7c19e98..cc61e726af6c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPerformMaintenanceSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsPerformMaintenanceParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Performs maintenance on a virtual machine in a VM scale set. @@ -26,7 +24,7 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsPerformMaintenanceParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaa"; const instanceId = "aaaa"; const options: VirtualMachineScaleSetVMsPerformMaintenanceParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function virtualMachineScaleSetVMSPerformMaintenanceMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts index 0f0cabf94d67..6f7107e719ce 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSPowerOffSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsPowerOffParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. @@ -26,7 +24,7 @@ async function virtualMachineScaleSetVMSPowerOffMaximumSetGen() { const vmScaleSetName = "aaaaaa"; const instanceId = "aaaaaaaaa"; const options: VirtualMachineScaleSetVMsPowerOffParameters = { - queryParameters: { skipShutdown: true, "api-version": "2022-08-01" } + queryParameters: { skipShutdown: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function virtualMachineScaleSetVMSPowerOffMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function virtualMachineScaleSetVMSPowerOffMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsPowerOffParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function virtualMachineScaleSetVMSPowerOffMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts index 71050e79f479..616bda0c6cbe 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRedeploySample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsRedeployParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. @@ -26,7 +24,7 @@ async function virtualMachineScaleSetVMSRedeployMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsRedeployParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function virtualMachineScaleSetVMSRedeployMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function virtualMachineScaleSetVMSRedeployMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsRedeployParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function virtualMachineScaleSetVMSRedeployMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts index a5ff38a138ae..dc6af162e0ae 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageAllSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsReimageAllParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. @@ -26,7 +24,7 @@ async function virtualMachineScaleSetVMSReimageAllMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsReimageAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function virtualMachineScaleSetVMSReimageAllMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function virtualMachineScaleSetVMSReimageAllMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsReimageAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function virtualMachineScaleSetVMSReimageAllMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts index f02d3d682114..4a0cf766fde5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSReimageSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsReimageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. @@ -27,7 +25,7 @@ async function virtualMachineScaleSetVMSReimageMaximumSetGen() { const instanceId = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsReimageParameters = { body: { tempDisk: true }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -35,10 +33,10 @@ async function virtualMachineScaleSetVMSReimageMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -58,7 +56,7 @@ async function virtualMachineScaleSetVMSReimageMinimumSetGen() { const vmScaleSetName = "aaaaaaa"; const instanceId = "aaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsReimageParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -66,10 +64,10 @@ async function virtualMachineScaleSetVMSReimageMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts index 58b6ebf6eda3..c58538e6bc65 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRestartSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts a virtual machine in a VM scale set. @@ -26,7 +24,7 @@ async function virtualMachineScaleSetVMSRestartMaximumSetGen() { const vmScaleSetName = "aa"; const instanceId = "aaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function virtualMachineScaleSetVMSRestartMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function virtualMachineScaleSetVMSRestartMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaa"; const instanceId = "aaaaaa"; const options: VirtualMachineScaleSetVMsRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function virtualMachineScaleSetVMSRestartMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts index 03ad9d1b0a83..4977609115c7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters + VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set. @@ -27,8 +25,8 @@ async function retrieveBootDiagnosticsDataOfAVirtualMachine() { const options: VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters = { queryParameters: { sasUriExpirationTimeInMinutes: 60, - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( @@ -36,7 +34,7 @@ async function retrieveBootDiagnosticsDataOfAVirtualMachine() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts index d9e5c308cbc3..5f5218da63e9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSRunCommandSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsRunCommandParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Run command on a virtual machine in a VM scale set. @@ -28,9 +26,9 @@ async function virtualMachineScaleSetVMSRunCommand() { const options: VirtualMachineScaleSetVMsRunCommandParameters = { body: { commandId: "RunPowerShellScript", - script: ["Write-Host Hello World!"] + script: ["Write-Host Hello World!"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -38,10 +36,10 @@ async function virtualMachineScaleSetVMSRunCommand() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts index 5f40c912b392..e7d5fd471283 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSSimulateEvictionSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetVMsSimulateEvictionParameters + VirtualMachineScaleSetVMsSimulateEvictionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to simulate the eviction of spot virtual machine in a VM scale set. @@ -25,7 +23,7 @@ async function simulateEvictionAVirtualMachine() { const vmScaleSetName = "VmScaleSetName"; const instanceId = "InstanceId"; const options: VirtualMachineScaleSetVMsSimulateEvictionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( @@ -33,7 +31,7 @@ async function simulateEvictionAVirtualMachine() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts index d75470d57901..369bf196d052 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSStartSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsStartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts a virtual machine in a VM scale set. @@ -26,7 +24,7 @@ async function virtualMachineScaleSetVMSStartMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsStartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -34,10 +32,10 @@ async function virtualMachineScaleSetVMSStartMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -57,7 +55,7 @@ async function virtualMachineScaleSetVMSStartMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const instanceId = "aaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsStartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -65,10 +63,10 @@ async function virtualMachineScaleSetVMSStartMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts index f29824825c8a..88f144cb4745 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetVMSUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetVMsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Updates a virtual machine of a VM scale set. @@ -32,148 +30,22 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { name: "aaaaaaaaaa", product: "aaaaaaaaaaaaaaaaaaaa", promotionCode: "aaaaaaaaaaaaaaaaaaaa", - publisher: "aaaaaaaaaaaaaaaaaaaaaa" + publisher: "aaaaaaaaaaaaaaaaaaaaaa", }, properties: { additionalCapabilities: { hibernationEnabled: true, - ultraSSDEnabled: true + ultraSSDEnabled: true, }, availabilitySet: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, diagnosticsProfile: { - bootDiagnostics: { enabled: true, storageUri: "aaaaaaaaaaaaa" } + bootDiagnostics: { enabled: true, storageUri: "aaaaaaaaaaaaa" }, }, hardwareProfile: { vmSize: "Basic_A0", - vmSizeProperties: { vCPUsAvailable: 9, vCPUsPerCore: 12 } - }, - instanceView: { - bootDiagnostics: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - }, - disks: [ - { - name: "aaaaaaaaaaa", - encryptionSettings: [ - { - diskEncryptionKey: { - secretUrl: "aaaaaaaa", - sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } - }, - enabled: true, - keyEncryptionKey: { - keyUrl: "aaaaaaaaaaaaaa", - sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } - } - } - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - ] - } - ], - maintenanceRedeployStatus: { - isCustomerInitiatedMaintenanceAllowed: true, - lastOperationMessage: "aaaaaa", - lastOperationResultCode: "None", - maintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - maintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowEndTime: new Date("2021-11-30T12:58:26.531Z"), - preMaintenanceWindowStartTime: new Date("2021-11-30T12:58:26.531Z") - }, - placementGroupId: "aaa", - platformFaultDomain: 14, - platformUpdateDomain: 23, - rdpThumbPrint: "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - ], - vmAgent: { - extensionHandlers: [ - { - type: "aaaaaaaaaaaaa", - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - }, - typeHandlerVersion: "aaaaa" - } - ], - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - ], - vmAgentVersion: "aaaaaaaaaaaaaaaaaaaaaaa" - }, - vmHealth: { - status: { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - }, - extensions: [ - { - name: "aaaaaaaaaaaaaaaaa", - type: "aaaaaaaaa", - statuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - ], - substatuses: [ - { - code: "aaaaaaaaaaaaaaaaaaaaaaa", - displayStatus: "aaaaaa", - level: "Info", - message: "a", - time: new Date("2021-11-30T12:58:26.522Z") - } - ], - typeHandlerVersion: "aaaaaaaaaaaaaaaaaaaaaaaaaa" - } - ] + vmSizeProperties: { vCPUsAvailable: 9, vCPUsPerCore: 12 }, }, licenseType: "aaaaaaaaaa", networkProfile: { @@ -185,8 +57,7 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { deleteOption: "Delete", dnsSettings: { dnsServers: ["aaaaaa"] }, dscpConfiguration: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, enableAcceleratedNetworking: true, enableFpga: true, @@ -197,21 +68,18 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { properties: { applicationGatewayBackendAddressPools: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], applicationSecurityGroups: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], loadBalancerBackendAddressPools: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], primary: true, privateIPAddressVersion: "IPv4", @@ -220,46 +88,42 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { properties: { deleteOption: "Delete", dnsSettings: { - domainNameLabel: "aaaaaaaaaaaaaaaaaaaaaaaaa" + domainNameLabel: "aaaaaaaaaaaaaaaaaaaaaaaaa", }, idleTimeoutInMinutes: 2, ipTags: [ { ipTagType: "aaaaaaaaaaaaaaaaaaaaaaaaa", - tag: "aaaaaaaaaaaaaaaaaaaa" - } + tag: "aaaaaaaaaaaaaaaaaaaa", + }, ], publicIPAddressVersion: "IPv4", publicIPAllocationMethod: "Dynamic", publicIPPrefix: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, }, - sku: { name: "Basic", tier: "Regional" } + sku: { name: "Basic", tier: "Regional" }, }, subnet: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, + }, + }, ], networkSecurityGroup: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, - primary: true - } - } + primary: true, + }, + }, ], networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}/virtualMachines/0/networkInterfaces/vmsstestnetconfig5415", - properties: { deleteOption: "Delete", primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}/virtualMachines/0/networkInterfaces/vmsstestnetconfig5415", + properties: { deleteOption: "Delete", primary: true }, + }, + ], }, networkProfileConfiguration: { networkInterfaceConfigurations: [ @@ -279,27 +143,23 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { properties: { applicationGatewayBackendAddressPools: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], applicationSecurityGroups: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], loadBalancerBackendAddressPools: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], loadBalancerInboundNatPools: [ { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, ], primary: true, privateIPAddressVersion: "IPv4", @@ -308,38 +168,35 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { properties: { deleteOption: "Delete", dnsSettings: { - domainNameLabel: "aaaaaaaaaaaaaaaaaa" + domainNameLabel: "aaaaaaaaaaaaaaaaaa", }, idleTimeoutInMinutes: 18, ipTags: [ { ipTagType: "aaaaaaa", - tag: "aaaaaaaaaaaaaaaaaaaaaaaaaaa" - } + tag: "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + }, ], publicIPAddressVersion: "IPv4", publicIPPrefix: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, }, - sku: { name: "Basic", tier: "Regional" } + sku: { name: "Basic", tier: "Regional" }, }, subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/vn4071/subnets/sn5503" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/vn4071/subnets/sn5503", + }, + }, + }, ], networkSecurityGroup: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "aaaaaaaaaaaaaaaa", @@ -351,10 +208,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { disablePasswordAuthentication: true, patchSettings: { assessmentMode: "ImageDefault", - patchMode: "ImageDefault" + patchMode: "ImageDefault", }, provisionVMAgent: true, - ssh: { publicKeys: [{ path: "aaa", keyData: "aaaaaa" }] } + ssh: { publicKeys: [{ path: "aaa", keyData: "aaaaaa" }] }, }, requireGuestProvisionSignal: true, secrets: [], @@ -364,61 +221,55 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { componentName: "Microsoft-Windows-Shell-Setup", content: "aaaaaaaaaaaaaaaaaaaa", passName: "OobeSystem", - settingName: "AutoLogon" - } + settingName: "AutoLogon", + }, ], enableAutomaticUpdates: true, patchSettings: { assessmentMode: "ImageDefault", enableHotpatching: true, - patchMode: "Manual" + patchMode: "Manual", }, provisionVMAgent: true, timeZone: "aaaaaaaaaaaaaaaaaaaaaaaaaaa", winRM: { - listeners: [ - { certificateUrl: "aaaaaaaaaaaaaaaaaaaaaa", protocol: "Http" } - ] - } - } + listeners: [{ certificateUrl: "aaaaaaaaaaaaaaaaaaaaaa", protocol: "Http" }], + }, + }, }, protectionPolicy: { protectFromScaleIn: true, - protectFromScaleSetActions: true + protectFromScaleSetActions: true, }, securityProfile: { encryptionAtHost: true, securityType: "TrustedLaunch", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { dataDisks: [ { - name: - "vmss3176_vmss3176_0_disk2_6c4f554bdafa49baa780eb2d128ff39d", + name: "vmss3176_vmss3176_0_disk2_6c4f554bdafa49baa780eb2d128ff39d", caching: "None", createOption: "Empty", deleteOption: "Delete", detachOption: "ForceDetach", diskSizeGB: 128, image: { - uri: - "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + uri: "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd", }, lun: 1, managedDisk: { diskEncryptionSet: { id: "aaaaaaaaaaaa" }, - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vmss3176_vmss3176_0_disk2_6c4f554bdafa49baa780eb2d128ff39d", - storageAccountType: "Standard_LRS" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vmss3176_vmss3176_0_disk2_6c4f554bdafa49baa780eb2d128ff39d", + storageAccountType: "Standard_LRS", }, toBeDetached: true, vhd: { - uri: - "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + uri: "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd", }, - writeAcceleratorEnabled: true - } + writeAcceleratorEnabled: true, + }, ], imageReference: { id: "a", @@ -426,11 +277,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { publisher: "MicrosoftWindowsServer", sharedGalleryImageId: "aaaaaaaaaaaaaaaaaaaa", sku: "2012-R2-Datacenter", - version: "4.127.20180315" + version: "4.127.20180315", }, osDisk: { - name: - "vmss3176_vmss3176_0_OsDisk_1_6d72b805e50e4de6830303c5055077fc", + name: "vmss3176_vmss3176_0_OsDisk_1_6d72b805e50e4de6830303c5055077fc", caching: "None", createOption: "FromImage", deleteOption: "Delete", @@ -440,43 +290,37 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { diskEncryptionKey: { secretUrl: "aaaaaaaa", sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, }, enabled: true, keyEncryptionKey: { keyUrl: "aaaaaaaaaaaaaa", sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" - } - } + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", + }, + }, }, image: { - uri: - "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + uri: "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd", }, managedDisk: { diskEncryptionSet: { id: "aaaaaaaaaaaa" }, - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vmss3176_vmss3176_0_OsDisk_1_6d72b805e50e4de6830303c5055077fc", - storageAccountType: "Standard_LRS" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vmss3176_vmss3176_0_OsDisk_1_6d72b805e50e4de6830303c5055077fc", + storageAccountType: "Standard_LRS", }, osType: "Windows", vhd: { - uri: - "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd" + uri: "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd", }, - writeAcceleratorEnabled: true - } + writeAcceleratorEnabled: true, + }, }, - userData: "RXhhbXBsZSBVc2VyRGF0YQ==" + userData: "RXhhbXBsZSBVc2VyRGF0YQ==", }, - sku: { name: "Classic", capacity: 29, tier: "aaaaaaaaaaaaaa" }, - tags: {} + tags: {}, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -484,10 +328,10 @@ async function virtualMachineScaleSetVMSUpdateMaximumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -508,7 +352,7 @@ async function virtualMachineScaleSetVMSUpdateMinimumSetGen() { const instanceId = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetVMsUpdateParameters = { body: { location: "westus" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( @@ -516,10 +360,10 @@ async function virtualMachineScaleSetVMSUpdateMinimumSetGen() { subscriptionId, resourceGroupName, vmScaleSetName, - instanceId + instanceId, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts index e75338dfc02d..a8b5f5a349c5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters + VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Converts SinglePlacementGroup property to false for a existing virtual machine scale set. @@ -25,22 +23,20 @@ async function virtualMachineScaleSetsConvertToSinglePlacementGroupMaximumSetGen const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters = { body: { activePlacementGroupId: "aaaaaaaaaaaaaaaaaaaaaaaaaaa" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } -virtualMachineScaleSetsConvertToSinglePlacementGroupMaximumSetGen().catch( - console.error -); +virtualMachineScaleSetsConvertToSinglePlacementGroupMaximumSetGen().catch(console.error); /** * This sample demonstrates how to Converts SinglePlacementGroup property to false for a existing virtual machine scale set. * @@ -55,19 +51,17 @@ async function virtualMachineScaleSetsConvertToSinglePlacementGroupMinimumSetGen const vmScaleSetName = "aaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } -virtualMachineScaleSetsConvertToSinglePlacementGroupMinimumSetGen().catch( - console.error -); +virtualMachineScaleSetsConvertToSinglePlacementGroupMinimumSetGen().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts index 45c75625db28..15b02d634437 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Create or update a VM scale set. @@ -34,9 +32,8 @@ async function createAVmssWithAnExtensionThatHasSuppressFailuresEnabled() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, extensionProfile: { extensions: [ @@ -48,10 +45,10 @@ async function createAVmssWithAnExtensionThatHasSuppressFailuresEnabled() { publisher: "{extension-Publisher}", settings: {}, suppressFailures: true, - typeHandlerVersion: "{handler-version}" - } - } - ] + typeHandlerVersion: "{handler-version}", + }, + }, + ], }, networkProfile: { networkInterfaceConfigurations: [ @@ -64,50 +61,49 @@ async function createAVmssWithAnExtensionThatHasSuppressFailuresEnabled() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -135,9 +131,8 @@ async function createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, extensionProfile: { extensions: [ @@ -150,16 +145,15 @@ async function createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault() { secretUrl: "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e", sourceVault: { - id: - "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName" - } + id: "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName", + }, }, publisher: "{extension-Publisher}", settings: {}, - typeHandlerVersion: "{handler-version}" - } - } - ] + typeHandlerVersion: "{handler-version}", + }, + }, + ], }, networkProfile: { networkInterfaceConfigurations: [ @@ -172,57 +166,54 @@ async function createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault().catch( - console.error -); +createAVmssWithAnExtensionWithProtectedSettingsFromKeyVault().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -253,21 +244,20 @@ async function createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { osDisk: { @@ -275,33 +265,30 @@ async function createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage() { caching: "ReadWrite", createOption: "FromImage", image: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd" - } - } - } - } + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd", + }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage().catch( - console.error -); +createACustomImageScaleSetFromAnUnmanagedGeneralizedOSImage().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -332,28 +319,27 @@ async function createAPlatformImageScaleSetWithUnmanagedOSDisks() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "osDisk", @@ -364,25 +350,25 @@ async function createAPlatformImageScaleSetWithUnmanagedOSDisks() { "http://{existing-storage-account-name-1}.blob.core.windows.net/vhdContainer", "http://{existing-storage-account-name-2}.blob.core.windows.net/vhdContainer", "http://{existing-storage-account-name-3}.blob.core.windows.net/vhdContainer", - "http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer" - ] - } - } - } + "http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer", + ], + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -418,48 +404,46 @@ async function createAScaleSetFromACustomImage() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -495,48 +479,46 @@ async function createAScaleSetFromAGeneralizedSharedImage() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -572,43 +554,41 @@ async function createAScaleSetFromASpecializedSharedImage() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -646,14 +626,13 @@ async function createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty() name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } + primary: true, + }, }, { name: "{nicConfig2-name}", @@ -668,55 +647,51 @@ async function createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty() primary: true, privateIPAddressVersion: "IPv4", subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name2}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name2}", + }, + }, + }, ], - primary: false - } - } - ] + primary: false, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty().catch( - console.error -); +createAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -746,13 +721,13 @@ async function createAScaleSetWithApplicationProfile() { packageReferenceId: "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0", tags: "myTag1", - treatFailureAsDeploymentFailure: true + treatFailureAsDeploymentFailure: true, }, { packageReferenceId: - "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1" - } - ] + "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1", + }, + ], }, networkProfile: { networkInterfaceConfigurations: [ @@ -765,50 +740,49 @@ async function createAScaleSetWithApplicationProfile() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -834,7 +808,7 @@ async function createAScaleSetWithDiskControllerType() { upgradePolicy: { mode: "Manual" }, virtualMachineProfile: { hardwareProfile: { - vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 } + vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 }, }, networkProfile: { networkInterfaceConfigurations: [ @@ -847,21 +821,20 @@ async function createAScaleSetWithDiskControllerType() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { diskControllerType: "NVMe", @@ -869,30 +842,30 @@ async function createAScaleSetWithDiskControllerType() { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "RXhhbXBsZSBVc2VyRGF0YQ==" - } + userData: "RXhhbXBsZSBVc2VyRGF0YQ==", + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -928,21 +901,20 @@ async function createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk() name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { dataDisks: [ @@ -953,51 +925,46 @@ async function createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk() lun: 0, managedDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - storageAccountType: "Standard_LRS" - } - } + storageAccountType: "Standard_LRS", + }, + }, ], imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", managedDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - storageAccountType: "Standard_LRS" - } - } - } - } + storageAccountType: "Standard_LRS", + }, + }, + }, + }, }, - sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk().catch( - console.error -); +createAScaleSetWithDiskEncryptionSetResourceInOSDiskAndDataDisk().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -1028,14 +995,13 @@ async function createAScaleSetWithFpgaNetworkInterfaces() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } + primary: true, + }, }, { name: "{fpgaNic-Name}", @@ -1050,48 +1016,46 @@ async function createAScaleSetWithFpgaNetworkInterfaces() { primary: true, privateIPAddressVersion: "IPv4", subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}", + }, + }, + }, ], - primary: false - } - } - ] + primary: false, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1115,7 +1079,7 @@ async function createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { overprovision: true, @@ -1132,21 +1096,20 @@ async function createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, securityProfile: { encryptionAtHost: true }, storageProfile: { @@ -1154,36 +1117,34 @@ async function createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadOnly", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty().catch( - console.error -); +createAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -1214,57 +1175,56 @@ async function createAScaleSetWithSecurityTypeAsConfidentialVM() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, securityProfile: { securityType: "ConfidentialVM", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { imageReference: { offer: "2019-datacenter-cvm", publisher: "MicrosoftWindowsServer", sku: "windows-cvm", - version: "17763.2183.2109130127" + version: "17763.2183.2109130127", }, osDisk: { caching: "ReadOnly", createOption: "FromImage", managedDisk: { securityProfile: { securityEncryptionType: "VMGuestStateOnly" }, - storageAccountType: "StandardSSD_LRS" - } - } - } - } + storageAccountType: "StandardSSD_LRS", + }, + }, + }, + }, }, - sku: { name: "Standard_DC2as_v5", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DC2as_v5", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1300,54 +1260,53 @@ async function createAScaleSetWithUefiSettingsOfSecureBootAndVTpm() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, securityProfile: { securityType: "TrustedLaunch", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { imageReference: { offer: "windowsserver-gen2preview-preview", publisher: "MicrosoftWindowsServer", sku: "windows10-tvm", - version: "18363.592.2001092016" + version: "18363.592.2001092016", }, osDisk: { caching: "ReadOnly", createOption: "FromImage", - managedDisk: { storageAccountType: "StandardSSD_LRS" } - } - } - } + managedDisk: { storageAccountType: "StandardSSD_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D2s_v3", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D2s_v3", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1371,7 +1330,7 @@ async function createAScaleSetWithAMarketplaceImagePlan() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { overprovision: true, @@ -1388,50 +1347,49 @@ async function createAScaleSetWithAMarketplaceImagePlan() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1468,55 +1426,53 @@ async function createAScaleSetWithAnAzureApplicationGateway() { properties: { applicationGatewayBackendAddressPools: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}", + }, ], subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1553,65 +1509,62 @@ async function createAScaleSetWithAnAzureLoadBalancer() { properties: { loadBalancerBackendAddressPools: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}", + }, ], loadBalancerInboundNatPools: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}", + }, ], publicIPAddressConfiguration: { name: "{vmss-name}", - properties: { publicIPAddressVersion: "IPv4" } + properties: { publicIPAddressVersion: "IPv4" }, }, subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1648,50 +1601,49 @@ async function createAScaleSetWithAutomaticRepairsEnabled() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1719,9 +1671,8 @@ async function createAScaleSetWithBootDiagnostics() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, networkProfile: { networkInterfaceConfigurations: [ @@ -1734,50 +1685,49 @@ async function createAScaleSetWithBootDiagnostics() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1813,55 +1763,54 @@ async function createAScaleSetWithEmptyDataDisksOnEachVM() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { dataDisks: [ { createOption: "Empty", diskSizeGB: 1023, lun: 0 }, - { createOption: "Empty", diskSizeGB: 1023, lun: 1 } + { createOption: "Empty", diskSizeGB: 1023, lun: 1 }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", diskSizeGB: 512, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D2_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D2_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1885,7 +1834,7 @@ async function createAScaleSetWithEphemeralOSDisksUsingPlacementProperty() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { overprovision: true, @@ -1902,58 +1851,55 @@ async function createAScaleSetWithEphemeralOSDisksUsingPlacementProperty() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadOnly", createOption: "FromImage", diffDiskSettings: { option: "Local", placement: "ResourceDisk" }, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAScaleSetWithEphemeralOSDisksUsingPlacementProperty().catch( - console.error -); +createAScaleSetWithEphemeralOSDisksUsingPlacementProperty().catch(console.error); /** * This sample demonstrates how to Create or update a VM scale set. * @@ -1972,7 +1918,7 @@ async function createAScaleSetWithEphemeralOSDisks() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { overprovision: true, @@ -1989,51 +1935,50 @@ async function createAScaleSetWithEphemeralOSDisks() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadOnly", createOption: "FromImage", diffDiskSettings: { option: "Local" }, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2061,9 +2006,8 @@ async function createAScaleSetWithExtensionTimeBudget() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, extensionProfile: { extensionsTimeBudget: "PT1H20M", @@ -2075,10 +2019,10 @@ async function createAScaleSetWithExtensionTimeBudget() { autoUpgradeMinorVersion: false, publisher: "{extension-Publisher}", settings: {}, - typeHandlerVersion: "{handler-version}" - } - } - ] + typeHandlerVersion: "{handler-version}", + }, + }, + ], }, networkProfile: { networkInterfaceConfigurations: [ @@ -2091,50 +2035,49 @@ async function createAScaleSetWithExtensionTimeBudget() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2171,50 +2114,49 @@ async function createAScaleSetWithManagedBootDiagnostics() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2250,50 +2192,49 @@ async function createAScaleSetWithPasswordAuthentication() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2329,50 +2270,49 @@ async function createAScaleSetWithPremiumStorage() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2397,7 +2337,7 @@ async function createAScaleSetWithPriorityMixPolicy() { orchestrationMode: "Flexible", priorityMixPolicy: { baseRegularPriorityCount: 4, - regularPriorityPercentageAboveBase: 50 + regularPriorityPercentageAboveBase: 50, }, singlePlacementGroup: false, virtualMachineProfile: { @@ -2414,21 +2354,20 @@ async function createAScaleSetWithPriorityMixPolicy() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, priority: "Spot", storageProfile: { @@ -2436,29 +2375,29 @@ async function createAScaleSetWithPriorityMixPolicy() { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_A8m_v2", capacity: 10, tier: "Standard" } + sku: { name: "Standard_A8m_v2", capacity: 10, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2495,50 +2434,49 @@ async function createAScaleSetWithScaleInPolicy() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2577,21 +2515,20 @@ async function createAScaleSetWithSpotRestorePolicy() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, priority: "Spot", storageProfile: { @@ -2599,29 +2536,29 @@ async function createAScaleSetWithSpotRestorePolicy() { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_A8m_v2", capacity: 2, tier: "Standard" } + sku: { name: "Standard_A8m_v2", capacity: 2, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2657,16 +2594,15 @@ async function createAScaleSetWithSshAuthentication() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminUsername: "{your-username}", @@ -2678,40 +2614,40 @@ async function createAScaleSetWithSshAuthentication() { { path: "/home/{your-username}/.ssh/authorized_keys", keyData: - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1" - } - ] - } - } + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1", + }, + ], + }, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2747,56 +2683,55 @@ async function createAScaleSetWithTerminateScheduledEventsEnabled() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, scheduledEventsProfile: { terminateNotificationProfile: { enable: true, - notBeforeTimeout: "PT5M" - } + notBeforeTimeout: "PT5M", + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2832,51 +2767,50 @@ async function createAScaleSetWithUserData() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "RXhhbXBsZSBVc2VyRGF0YQ==" - } + userData: "RXhhbXBsZSBVc2VyRGF0YQ==", + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2912,56 +2846,55 @@ async function createAScaleSetWithVirtualMachinesInDifferentZones() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { dataDisks: [ { createOption: "Empty", diskSizeGB: 1023, lun: 0 }, - { createOption: "Empty", diskSizeGB: 1023, lun: 1 } + { createOption: "Empty", diskSizeGB: 1023, lun: 1 }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", diskSizeGB: 512, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, sku: { name: "Standard_A1_v2", capacity: 2, tier: "Standard" }, - zones: ["1", "3"] + zones: ["1", "3"], }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2987,7 +2920,7 @@ async function createAScaleSetWithVMSizeProperties() { upgradePolicy: { mode: "Manual" }, virtualMachineProfile: { hardwareProfile: { - vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 } + vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 }, }, networkProfile: { networkInterfaceConfigurations: [ @@ -3000,51 +2933,50 @@ async function createAScaleSetWithVMSizeProperties() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "RXhhbXBsZSBVc2VyRGF0YQ==" - } + userData: "RXhhbXBsZSBVc2VyRGF0YQ==", + }, }, - sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_D1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -3071,9 +3003,8 @@ async function createOrUpdateAScaleSetWithCapacityReservation() { virtualMachineProfile: { capacityReservation: { capacityReservationGroup: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}", + }, }, networkProfile: { networkInterfaceConfigurations: [ @@ -3086,50 +3017,49 @@ async function createOrUpdateAScaleSetWithCapacityReservation() { name: "{vmss-name}", properties: { subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}", + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerNamePrefix: "{vmss-name}" + computerNamePrefix: "{vmss-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" } + sku: { name: "Standard_DS1_v2", capacity: 3, tier: "Standard" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts index a86dbab51a4f..abb5200a9f2d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeallocateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsDeallocateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. @@ -26,17 +24,17 @@ async function virtualMachineScaleSetsDeallocateMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsDeallocateParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +53,17 @@ async function virtualMachineScaleSetsDeallocateMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsDeallocateParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts index 3b81f28fbd78..fb151e17e958 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteInstancesSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsDeleteInstancesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes virtual machines in a VM scale set. @@ -26,17 +24,17 @@ async function virtualMachineScaleSetsDeleteInstancesMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsDeleteInstancesParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaaaaaaaaaa"] }, - queryParameters: { forceDeletion: true, "api-version": "2022-08-01" } + queryParameters: { forceDeletion: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -56,17 +54,17 @@ async function virtualMachineScaleSetsDeleteInstancesMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsDeleteInstancesParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts index 6acda00dff0e..b127586b247c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Deletes a VM scale set. @@ -25,17 +23,17 @@ async function forceDeleteAVMScaleSet() { const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "myvmScaleSet"; const options: VirtualMachineScaleSetsDeleteParameters = { - queryParameters: { forceDeletion: true, "api-version": "2022-08-01" } + queryParameters: { forceDeletion: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts index 0ef74495f113..2d16967fdd12 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. @@ -23,22 +21,23 @@ async function virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDo const subscriptionId = ""; const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaa"; - const options: VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters = { - queryParameters: { "api-version": "2022-08-01", platformUpdateDomain: 30 } - }; + const options: VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters = + { + queryParameters: { "api-version": "2022-08-01", platformUpdateDomain: 30 }, + }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkMaximumSetGen().catch( - console.error + console.error, ); /** * This sample demonstrates how to Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. @@ -52,20 +51,21 @@ async function virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDo const subscriptionId = ""; const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaa"; - const options: VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters = { - queryParameters: { "api-version": "2022-08-01", platformUpdateDomain: 9 } - }; + const options: VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters = + { + queryParameters: { "api-version": "2022-08-01", platformUpdateDomain: 9 }, + }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); console.log(result); } virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkMinimumSetGen().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts index c3d47148e162..a735d3cdb075 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetInstanceViewSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetsGetInstanceViewParameters + VirtualMachineScaleSetsGetInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets the status of a VM scale set instance. @@ -24,14 +22,14 @@ async function virtualMachineScaleSetsGetInstanceViewMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsGetInstanceViewParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -51,14 +49,14 @@ async function virtualMachineScaleSetsGetInstanceViewMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsGetInstanceViewParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts index 16f012b9dc89..8e9bd5d97bb7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetOSUpgradeHistorySample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsGetOSUpgradeHistoryParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets list of OS upgrades on a VM scale set instance. @@ -25,14 +23,14 @@ async function virtualMachineScaleSetsGetOSUpgradeHistoryMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaa"; const options: VirtualMachineScaleSetsGetOSUpgradeHistoryParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,14 +55,14 @@ async function virtualMachineScaleSetsGetOSUpgradeHistoryMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsGetOSUpgradeHistoryParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts index 4e2d6ab5e251..750e83ac6f03 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachineScaleSetsGetParameters + VirtualMachineScaleSetsGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Display information about a virtual machine scale set. @@ -24,14 +22,14 @@ async function getVMScaleSetVMWithDiskControllerType() { const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "myVirtualMachineScaleSet"; const options: VirtualMachineScaleSetsGetParameters = { - queryParameters: { "api-version": "2022-08-01", $expand: "userData" } + queryParameters: { "api-version": "2022-08-01", $expand: "userData" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -51,14 +49,14 @@ async function getAVirtualMachineScaleSet() { const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "myVirtualMachineScaleSet"; const options: VirtualMachineScaleSetsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); @@ -78,21 +76,21 @@ async function getAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutom const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "myVirtualMachineScaleSet"; const options: VirtualMachineScaleSetsGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); } getAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); /** * This sample demonstrates how to Display information about a virtual machine scale set. @@ -107,14 +105,14 @@ async function getAVirtualMachineScaleSetWithUserData() { const resourceGroupName = "myResourceGroup"; const vmScaleSetName = "myVirtualMachineScaleSet"; const options: VirtualMachineScaleSetsGetParameters = { - queryParameters: { "api-version": "2022-08-01", $expand: "userData" } + queryParameters: { "api-version": "2022-08-01", $expand: "userData" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts index 9f52fa333e7a..e6129bf68ce4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListAllSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsListAllParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets. @@ -23,12 +21,12 @@ async function virtualMachineScaleSetsListAllMaximumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: VirtualMachineScaleSetsListAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -51,12 +49,12 @@ async function virtualMachineScaleSetsListAllMinimumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: VirtualMachineScaleSetsListAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts index a5950deefc5f..5b016aeba1a0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListByLocationSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsListByLocationParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the VM scale sets under the specified subscription for the specified location. @@ -24,13 +22,13 @@ async function listsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifie const subscriptionId = ""; const location = "eastus"; const options: VirtualMachineScaleSetsListByLocationParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -41,6 +39,4 @@ async function listsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifie console.log(result); } -listsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifiedLocation().catch( - console.error -); +listsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifiedLocation().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts index 6b248dc36c1b..c1b61f74e8e7 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of all VM scale sets under a resource group. @@ -24,13 +22,13 @@ async function virtualMachineScaleSetsListMaximumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: VirtualMachineScaleSetsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +52,13 @@ async function virtualMachineScaleSetsListMinimumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: VirtualMachineScaleSetsListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts index e210d387f17d..884ee6ebe8fd 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsListSkusSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsListSkusParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU. @@ -25,14 +23,14 @@ async function virtualMachineScaleSetsListSkusMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaa"; const options: VirtualMachineScaleSetsListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,14 +55,14 @@ async function virtualMachineScaleSetsListSkusMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsListSkusParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts index 9babaf5d924c..a9083bf9a775 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPerformMaintenanceSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsPerformMaintenanceParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications @@ -26,17 +24,17 @@ async function virtualMachineScaleSetsPerformMaintenanceMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaa"; const options: VirtualMachineScaleSetsPerformMaintenanceParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +53,17 @@ async function virtualMachineScaleSetsPerformMaintenanceMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aa"; const options: VirtualMachineScaleSetsPerformMaintenanceParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts index 9af5e738a322..8e7285dfca21 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsPowerOffSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsPowerOffParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. @@ -26,17 +24,17 @@ async function virtualMachineScaleSetsPowerOffMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsPowerOffParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { skipShutdown: true, "api-version": "2022-08-01" } + queryParameters: { skipShutdown: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +53,17 @@ async function virtualMachineScaleSetsPowerOffMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "a"; const options: VirtualMachineScaleSetsPowerOffParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts index be0378653f06..6ce0572ebd65 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRedeploySample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsRedeployParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. @@ -26,17 +24,17 @@ async function virtualMachineScaleSetsRedeployMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsRedeployParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +53,17 @@ async function virtualMachineScaleSetsRedeployMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsRedeployParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts index 7963598a38a2..a7bd9147e058 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageAllSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsReimageAllParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. @@ -26,17 +24,17 @@ async function virtualMachineScaleSetsReimageAllMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaa"; const options: VirtualMachineScaleSetsReimageAllParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +53,17 @@ async function virtualMachineScaleSetsReimageAllMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsReimageAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts index 1acb2145183e..79d41937e3d5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsReimageSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsReimageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. @@ -26,17 +24,17 @@ async function virtualMachineScaleSetsReimageMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsReimageParameters = { body: { instanceIds: ["aaaaaaaaaa"], tempDisk: true }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +53,17 @@ async function virtualMachineScaleSetsReimageMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsReimageParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts index a07d53b05076..603a41e619b8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsRestartSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Restarts one or more virtual machines in a VM scale set. @@ -26,17 +24,17 @@ async function virtualMachineScaleSetsRestartMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsRestartParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +53,17 @@ async function virtualMachineScaleSetsRestartMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaa"; const options: VirtualMachineScaleSetsRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts index 005a8350e71b..8d5e24dba78d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsSetOrchestrationServiceStateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsSetOrchestrationServiceStateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Changes ServiceState property for a given service @@ -26,24 +24,22 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMaximumSetGen( const vmScaleSetName = "aaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsSetOrchestrationServiceStateParameters = { body: { action: "Resume", serviceName: "AutomaticRepairs" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetsSetOrchestrationServiceStateMaximumSetGen().catch( - console.error -); +virtualMachineScaleSetsSetOrchestrationServiceStateMaximumSetGen().catch(console.error); /** * This sample demonstrates how to Changes ServiceState property for a given service * @@ -58,21 +54,19 @@ async function virtualMachineScaleSetsSetOrchestrationServiceStateMinimumSetGen( const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsSetOrchestrationServiceStateParameters = { body: { action: "Resume", serviceName: "AutomaticRepairs" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -virtualMachineScaleSetsSetOrchestrationServiceStateMinimumSetGen().catch( - console.error -); +virtualMachineScaleSetsSetOrchestrationServiceStateMinimumSetGen().catch(console.error); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts index 83cc5072cd7e..f41dc087cdcf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsStartSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsStartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Starts one or more virtual machines in a VM scale set. @@ -26,17 +24,17 @@ async function virtualMachineScaleSetsStartMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsStartParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -55,17 +53,17 @@ async function virtualMachineScaleSetsStartMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmScaleSetName = "aaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsStartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts index b31e43024f8c..9b6902bfdde9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateInstancesSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsUpdateInstancesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. @@ -26,17 +24,17 @@ async function virtualMachineScaleSetsUpdateInstancesMaximumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsUpdateInstancesParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -56,17 +54,17 @@ async function virtualMachineScaleSetsUpdateInstancesMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsUpdateInstancesParameters = { body: { instanceIds: ["aaaaaaaaaaaaaaaaaaaaaaaaa"] }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts index f292f3b7539c..b15c1bca7e68 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineScaleSetsUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineScaleSetsUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Update a VM scale set. @@ -28,32 +26,31 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { body: { identity: { type: "SystemAssigned", - userAssignedIdentities: { key3951: {} } + userAssignedIdentities: { key3951: {} }, }, plan: { name: "windows2016", product: "windows-data-science-vm", promotionCode: "aaaaaaaaaa", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { additionalCapabilities: { hibernationEnabled: true, - ultraSSDEnabled: true + ultraSSDEnabled: true, }, automaticRepairsPolicy: { enabled: true, gracePeriod: "PT30M" }, doNotRunExtensionsOnOverprovisionedVMs: true, overprovision: true, proximityPlacementGroup: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", }, scaleInPolicy: { forceDeletion: true, rules: ["OldestVM"] }, singlePlacementGroup: true, upgradePolicy: { automaticOSUpgradePolicy: { disableAutomaticRollback: true, - enableAutomaticOSUpgrade: true + enableAutomaticOSUpgrade: true, }, mode: "Manual", rollingUpgradePolicy: { @@ -62,17 +59,16 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { maxUnhealthyInstancePercent: 81, maxUnhealthyUpgradedInstancePercent: 98, pauseTimeBetweenBatches: "aaaaaaaaaaaaaaa", - prioritizeUnhealthyInstances: true - } + prioritizeUnhealthyInstances: true, + }, }, virtualMachineProfile: { billingProfile: { maxPrice: -1 }, diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, extensionProfile: { extensionsTimeBudget: "PT1H20M", @@ -89,16 +85,15 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { publisher: "{extension-Publisher}", settings: {}, suppressFailures: true, - typeHandlerVersion: "{handler-version}" - } - } - ] + typeHandlerVersion: "{handler-version}", + }, + }, + ], }, licenseType: "aaaaaaaaaaaa", networkProfile: { healthProbe: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123", }, networkApiVersion: "2020-11-01", networkInterfaceConfigurations: [ @@ -118,27 +113,23 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { properties: { applicationGatewayBackendAddressPools: [ { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, ], applicationSecurityGroups: [ { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, ], loadBalancerBackendAddressPools: [ { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, ], loadBalancerInboundNatPools: [ { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" - } + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", + }, ], primary: true, privateIPAddressVersion: "IPv4", @@ -147,26 +138,24 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { properties: { deleteOption: "Delete", dnsSettings: { - domainNameLabel: "aaaaaaaaaaaaaaaaaa" + domainNameLabel: "aaaaaaaaaaaaaaaaaa", }, - idleTimeoutInMinutes: 3 - } + idleTimeoutInMinutes: 3, + }, }, subnet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123" - } - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/disk123", + }, + }, + }, ], networkSecurityGroup: { - id: - "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" + id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot", }, - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { customData: "aaaaaaaaaaaaaaaaaaaaaaaaaa", @@ -174,7 +163,7 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { disablePasswordAuthentication: true, patchSettings: { assessmentMode: "ImageDefault", - patchMode: "ImageDefault" + patchMode: "ImageDefault", }, provisionVMAgent: true, ssh: { @@ -182,24 +171,23 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { { path: "/home/{your-username}/.ssh/authorized_keys", keyData: - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1" - } - ] - } + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1", + }, + ], + }, }, secrets: [ { sourceVault: { - id: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}" + id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", }, vaultCertificates: [ { certificateStore: "aaaaaaaaaaaaaaaaaaaaaaaaa", - certificateUrl: "aaaaaaa" - } - ] - } + certificateUrl: "aaaaaaa", + }, + ], + }, ], windowsConfiguration: { additionalUnattendContent: [ @@ -207,35 +195,33 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { componentName: "Microsoft-Windows-Shell-Setup", content: "aaaaaaaaaaaaaaaaaaaa", passName: "OobeSystem", - settingName: "AutoLogon" - } + settingName: "AutoLogon", + }, ], enableAutomaticUpdates: true, patchSettings: { assessmentMode: "ImageDefault", automaticByPlatformSettings: { rebootSetting: "Never" }, enableHotpatching: true, - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, provisionVMAgent: true, timeZone: "aaaaaaaaaaaaaaaa", winRM: { - listeners: [ - { certificateUrl: "aaaaaaaaaaaaaaaaaaaaaa", protocol: "Http" } - ] - } - } + listeners: [{ certificateUrl: "aaaaaaaaaaaaaaaaaaaaaa", protocol: "Http" }], + }, + }, }, scheduledEventsProfile: { terminateNotificationProfile: { enable: true, - notBeforeTimeout: "PT10M" - } + notBeforeTimeout: "PT10M", + }, }, securityProfile: { encryptionAtHost: true, securityType: "TrustedLaunch", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { dataDisks: [ @@ -249,10 +235,10 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { lun: 26, managedDisk: { diskEncryptionSet: { id: "aaaaaaaaaaaa" }, - storageAccountType: "Standard_LRS" + storageAccountType: "Standard_LRS", }, - writeAcceleratorEnabled: true - } + writeAcceleratorEnabled: true, + }, ], imageReference: { id: "aaaaaaaaaaaaaaaaaaa", @@ -260,40 +246,39 @@ async function virtualMachineScaleSetsUpdateMaximumSetGen() { publisher: "MicrosoftWindowsServer", sharedGalleryImageId: "aaaaaa", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { caching: "ReadWrite", diskSizeGB: 6, image: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd" + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd", }, managedDisk: { diskEncryptionSet: { id: "aaaaaaaaaaaa" }, - storageAccountType: "Standard_LRS" + storageAccountType: "Standard_LRS", }, vhdContainers: ["aa"], - writeAcceleratorEnabled: true - } + writeAcceleratorEnabled: true, + }, }, - userData: "aaaaaaaaaaaaa" - } + userData: "aaaaaaaaaaaaa", + }, }, sku: { name: "DSv3-Type1", capacity: 7, tier: "aaa" }, - tags: { key246: "aaaaaaaaaaaaaaaaaaaaaaaa" } + tags: { key246: "aaaaaaaaaaaaaaaaaaaaaaaa" }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -313,17 +298,17 @@ async function virtualMachineScaleSetsUpdateMinimumSetGen() { const vmScaleSetName = "aaaaaaaaaaaaaa"; const options: VirtualMachineScaleSetsUpdateParameters = { body: {}, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", subscriptionId, resourceGroupName, - vmScaleSetName + vmScaleSetName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts index edda146f3c2b..66f8b439a04f 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachineSizesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachineSizesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list) @@ -24,13 +22,13 @@ async function virtualMachineSizesListMaximumSetGen() { const subscriptionId = ""; const location = "-e"; const options: VirtualMachineSizesListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -54,13 +52,13 @@ async function virtualMachineSizesListMinimumSetGen() { const subscriptionId = ""; const location = "._.."; const options: VirtualMachineSizesListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts index cfba931b7f03..5f82ab66bd0b 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesAssessPatchesSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesAssessPatchesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Assess patches on the VM. @@ -25,17 +23,17 @@ async function assessPatchStateOfAVirtualMachine() { const resourceGroupName = "myResourceGroupName"; const vmName = "myVMName"; const options: VirtualMachinesAssessPatchesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts index abfffba2dd7e..d4330f99031c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCaptureSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesCaptureParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. @@ -28,19 +26,19 @@ async function virtualMachinesCaptureMaximumSetGen() { body: { destinationContainerName: "aaaaaaa", overwriteVhds: true, - vhdPrefix: "aaaaaaaaa" + vhdPrefix: "aaaaaaaaa", }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -62,19 +60,19 @@ async function virtualMachinesCaptureMinimumSetGen() { body: { destinationContainerName: "aaaaaaa", overwriteVhds: true, - vhdPrefix: "aaaaaaaaa" + vhdPrefix: "aaaaaaaaa", }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts index 8ac467c9d3a3..2a6c0d00ba62 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesConvertToManagedDisksSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesConvertToManagedDisksParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. @@ -25,17 +23,17 @@ async function virtualMachinesConvertToManagedDisksMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaa"; const options: VirtualMachinesConvertToManagedDisksParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +52,17 @@ async function virtualMachinesConvertToManagedDisksMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaa"; const options: VirtualMachinesConvertToManagedDisksParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts index 47cadc1cc7cf..a26b50aa625e 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesCreateOrUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesCreateOrUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -32,11 +30,10 @@ async function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -44,43 +41,41 @@ async function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() { computerName: "myVM", linuxConfiguration: { patchSettings: { assessmentMode: "ImageDefault" }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "UbuntuServer", publisher: "Canonical", sku: "16.04-LTS", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault().catch( - console.error -); +createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -101,11 +96,10 @@ async function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndA networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -115,44 +109,44 @@ async function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndA patchSettings: { assessmentMode: "AutomaticByPlatform", automaticByPlatformSettings: { rebootSetting: "Never" }, - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "UbuntuServer", publisher: "Canonical", sku: "16.04-LTS", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -174,11 +168,10 @@ async function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -186,36 +179,36 @@ async function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() { computerName: "myVM", linuxConfiguration: { patchSettings: { patchMode: "ImageDefault" }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "UbuntuServer", publisher: "Canonical", sku: "16.04-LTS", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -241,11 +234,10 @@ async function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAu networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -254,44 +246,44 @@ async function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAu linuxConfiguration: { patchSettings: { assessmentMode: "AutomaticByPlatform", - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "UbuntuServer", publisher: "Canonical", sku: "16.04-LTS", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -313,42 +305,41 @@ async function createAVMFromACommunityGalleryImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { communityGalleryImageId: - "/CommunityGalleries/galleryPublicName/Images/communityGalleryImageName/Versions/communityGalleryImageVersionName" + "/CommunityGalleries/galleryPublicName/Images/communityGalleryImageName/Versions/communityGalleryImageVersionName", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -374,42 +365,41 @@ async function createAVMFromASharedGalleryImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { sharedGalleryImageId: - "/SharedGalleries/sharedGalleryName/Images/sharedGalleryImageName/Versions/sharedGalleryImageVersionName" + "/SharedGalleries/sharedGalleryName/Images/sharedGalleryImageName/Versions/sharedGalleryImageVersionName", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -434,24 +424,22 @@ async function createAVMWithDiskControllerType() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D4_v3" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { diskControllerType: "NVMe", @@ -459,29 +447,29 @@ async function createAVMWithDiskControllerType() { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "U29tZSBDdXN0b20gRGF0YQ==" - } + userData: "U29tZSBDdXN0b20gRGF0YQ==", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -507,52 +495,50 @@ async function createAVMWithHibernationEnabled() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D2s_v3" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "{vm-name}" + computerName: "{vm-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2019-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "vmOSdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -578,48 +564,47 @@ async function createAVMWithUefiSettingsOfSecureBootAndVTpm() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, securityProfile: { securityType: "TrustedLaunch", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { imageReference: { offer: "windowsserver-gen2preview-preview", publisher: "MicrosoftWindowsServer", sku: "windows10-tvm", - version: "18363.592.2001092016" + version: "18363.592.2001092016", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", - managedDisk: { storageAccountType: "StandardSSD_LRS" } - } - } - } + managedDisk: { storageAccountType: "StandardSSD_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -644,53 +629,51 @@ async function createAVMWithUserData() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "{vm-name}" + computerName: "{vm-name}", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "vmOSdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "RXhhbXBsZSBVc2VyRGF0YQ==" - } + userData: "RXhhbXBsZSBVc2VyRGF0YQ==", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -715,56 +698,54 @@ async function createAVMWithVMSizeProperties() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D4_v3", - vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 } + vmSizeProperties: { vCPUsAvailable: 1, vCPUsPerCore: 1 }, }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, - userData: "U29tZSBDdXN0b20gRGF0YQ==" - } + userData: "U29tZSBDdXN0b20gRGF0YQ==", + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -803,50 +784,50 @@ async function createAVMWithNetworkInterfaceConfiguration() { name: "{publicIP-config-name}", properties: { deleteOption: "Detach", - publicIPAllocationMethod: "Static" + publicIPAllocationMethod: "Static", }, - sku: { name: "Basic", tier: "Global" } - } - } - } + sku: { name: "Basic", tier: "Global" }, + }, + }, + }, ], - primary: true - } - } - ] + primary: true, + }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -872,27 +853,26 @@ async function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, securityProfile: { securityType: "ConfidentialVM", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { imageReference: { offer: "2019-datacenter-cvm", publisher: "MicrosoftWindowsServer", sku: "windows-cvm", - version: "17763.2183.2109130127" + version: "17763.2183.2109130127", }, osDisk: { name: "myVMosdisk", @@ -901,35 +881,32 @@ async function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() managedDisk: { securityProfile: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - securityEncryptionType: "DiskWithVMGuestState" + securityEncryptionType: "DiskWithVMGuestState", }, - storageAccountType: "StandardSSD_LRS" - } - } - } - } + storageAccountType: "StandardSSD_LRS", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys().catch( - console.error -); +createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -950,27 +927,26 @@ async function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, securityProfile: { securityType: "ConfidentialVM", - uefiSettings: { secureBootEnabled: true, vTpmEnabled: true } + uefiSettings: { secureBootEnabled: true, vTpmEnabled: true }, }, storageProfile: { imageReference: { offer: "2019-datacenter-cvm", publisher: "MicrosoftWindowsServer", sku: "windows-cvm", - version: "17763.2183.2109130127" + version: "17763.2183.2109130127", }, osDisk: { name: "myVMosdisk", @@ -978,32 +954,30 @@ async function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() createOption: "FromImage", managedDisk: { securityProfile: { - securityEncryptionType: "DiskWithVMGuestState" + securityEncryptionType: "DiskWithVMGuestState", }, - storageAccountType: "StandardSSD_LRS" - } - } - } - } + storageAccountType: "StandardSSD_LRS", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys().catch( - console.error -); +createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -1024,11 +998,10 @@ async function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1037,43 +1010,41 @@ async function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() { windowsConfiguration: { enableAutomaticUpdates: true, patchSettings: { assessmentMode: "ImageDefault" }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault().catch( - console.error -); +createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -1094,11 +1065,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1107,43 +1077,41 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() { windowsConfiguration: { enableAutomaticUpdates: true, patchSettings: { patchMode: "AutomaticByOS" }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS().catch( - console.error -); +createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -1164,11 +1132,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1179,44 +1146,44 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn patchSettings: { assessmentMode: "AutomaticByPlatform", automaticByPlatformSettings: { rebootSetting: "Never" }, - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1238,11 +1205,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1252,44 +1218,44 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAn enableAutomaticUpdates: true, patchSettings: { enableHotpatching: true, - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnableHotpatchingSetToTrue().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1311,11 +1277,10 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfManual() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1324,36 +1289,36 @@ async function createAWindowsVMWithAPatchSettingPatchModeOfManual() { windowsConfiguration: { enableAutomaticUpdates: true, patchSettings: { patchMode: "Manual" }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1379,11 +1344,10 @@ async function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToA networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", @@ -1393,44 +1357,44 @@ async function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToA enableAutomaticUpdates: true, patchSettings: { assessmentMode: "AutomaticByPlatform", - patchMode: "AutomaticByPlatform" + patchMode: "AutomaticByPlatform", }, - provisionVMAgent: true - } + provisionVMAgent: true, + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform().catch( - console.error + console.error, ); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. @@ -1452,16 +1416,15 @@ async function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { osDisk: { @@ -1469,29 +1432,27 @@ async function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() { caching: "ReadWrite", createOption: "FromImage", image: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd" + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd", }, osType: "Windows", vhd: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd" - } - } - } - } + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1517,16 +1478,15 @@ async function createAPlatformImageVMWithUnmanagedOSAndDataDisks() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { dataDisks: [ @@ -1535,49 +1495,46 @@ async function createAPlatformImageVMWithUnmanagedOSAndDataDisks() { diskSizeGB: 1023, lun: 0, vhd: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd" - } + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd", + }, }, { createOption: "Empty", diskSizeGB: 1023, lun: 1, vhd: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd" - } - } + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd", + }, + }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", vhd: { - uri: - "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd" - } - } - } - } + uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1603,42 +1560,40 @@ async function createAVMFromACustomImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1664,42 +1619,40 @@ async function createAVMFromAGeneralizedSharedImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1725,37 +1678,35 @@ async function createAVMFromASpecializedSharedImage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, storageProfile: { imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1781,16 +1732,15 @@ async function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFau networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, platformFaultDomain: 1, storageProfile: { @@ -1798,39 +1748,36 @@ async function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFau offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, }, virtualMachineScaleSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{existing-flex-vmss-name-with-platformFaultDomainCount-greater-than-1}" - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{existing-flex-vmss-name-with-platformFaultDomainCount-greater-than-1}", + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDomain().catch( - console.error -); +createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDomain().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -1848,51 +1795,49 @@ async function createAVMInAnAvailabilitySet() { location: "westus", properties: { availabilitySet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}", }, hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1924,56 +1869,55 @@ async function createAVMWithApplicationProfile() { packageReferenceId: "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0", tags: "myTag1", - treatFailureAsDeploymentFailure: false + treatFailureAsDeploymentFailure: false, }, { packageReferenceId: - "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1" - } - ] + "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1", + }, + ], }, hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "{image_offer}", publisher: "{image_publisher}", sku: "{image_sku}", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1999,16 +1943,15 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { dataDisks: [ @@ -2019,11 +1962,10 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() lun: 0, managedDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - storageAccountType: "Standard_LRS" - } + storageAccountType: "Standard_LRS", + }, }, { caching: "ReadWrite", @@ -2032,18 +1974,15 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() lun: 1, managedDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}", - storageAccountType: "Standard_LRS" - } - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}", + storageAccountType: "Standard_LRS", + }, + }, ], imageReference: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}", }, osDisk: { name: "myVMosdisk", @@ -2051,33 +1990,30 @@ async function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() createOption: "FromImage", managedDisk: { diskEncryptionSet: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}", }, - storageAccountType: "Standard_LRS" - } - } - } - } + storageAccountType: "Standard_LRS", + }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk().catch( - console.error -); +createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -2096,23 +2032,22 @@ async function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { hardwareProfile: { vmSize: "Standard_DS1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, securityProfile: { encryptionAtHost: true }, storageProfile: { @@ -2120,28 +2055,28 @@ async function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2166,58 +2101,56 @@ async function createAVMWithScheduledEventsProfile() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, scheduledEventsProfile: { terminateNotificationProfile: { enable: true, - notBeforeTimeout: "PT10M" - } + notBeforeTimeout: "PT10M", + }, }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2241,51 +2174,50 @@ async function createAVMWithAMarketplaceImagePlan() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2310,53 +2242,51 @@ async function createAVMWithAnExtensionsTimeBudget() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, extensionsTimeBudget: "PT30M", hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2381,52 +2311,50 @@ async function createAVMWithBootDiagnostics() { diagnosticsProfile: { bootDiagnostics: { enabled: true, - storageUri: - "http://{existing-storage-account-name}.blob.core.windows.net" - } + storageUri: "http://{existing-storage-account-name}.blob.core.windows.net", + }, }, hardwareProfile: { vmSize: "Standard_D1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2452,48 +2380,47 @@ async function createAVMWithEmptyDataDisks() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { dataDisks: [ { createOption: "Empty", diskSizeGB: 1023, lun: 0 }, - { createOption: "Empty", diskSizeGB: 1023, lun: 1 } + { createOption: "Empty", diskSizeGB: 1023, lun: 1 }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2517,59 +2444,56 @@ async function createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacement plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { hardwareProfile: { vmSize: "Standard_DS1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", diffDiskSettings: { option: "Local", placement: "CacheDisk" }, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacementProperty().catch( - console.error -); +createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacementProperty().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -2588,59 +2512,56 @@ async function createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacem plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { hardwareProfile: { vmSize: "Standard_DS1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", diffDiskSettings: { option: "Local", placement: "ResourceDisk" }, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } -createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacementProperty().catch( - console.error -); +createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacementProperty().catch(console.error); /** * This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. * @@ -2659,52 +2580,51 @@ async function createAVMWithEphemeralOSDisk() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { hardwareProfile: { vmSize: "Standard_DS1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", diffDiskSettings: { option: "Local" }, - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2731,44 +2651,43 @@ async function createAVMWithManagedBootDiagnostics() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2794,44 +2713,43 @@ async function createAVMWithPasswordAuthentication() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2857,44 +2775,43 @@ async function createAVMWithPremiumStorage() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Premium_LRS" } - } - } - } + managedDisk: { storageAccountType: "Premium_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2920,11 +2837,10 @@ async function createAVMWithSshAuthentication() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminUsername: "{your-username}", @@ -2936,39 +2852,39 @@ async function createAVMWithSshAuthentication() { { path: "/home/{your-username}/.ssh/authorized_keys", keyData: - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1" - } - ] - } - } + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1", + }, + ], + }, + }, }, storageProfile: { imageReference: { offer: "{image_offer}", publisher: "{image_publisher}", sku: "{image_sku}", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -2992,57 +2908,55 @@ async function createOrUpdateAVMWithCapacityReservation() { plan: { name: "windows2016", product: "windows-data-science-vm", - publisher: "microsoft-ads" + publisher: "microsoft-ads", }, properties: { capacityReservation: { capacityReservationGroup: { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}" - } + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}", + }, }, hardwareProfile: { vmSize: "Standard_DS1_v2" }, networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { imageReference: { offer: "windows-data-science-vm", publisher: "microsoft-ads", sku: "windows2016", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadOnly", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .put(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts index 1ae7a0fe7858..c60d310dc79a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeallocateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesDeallocateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. @@ -25,17 +23,17 @@ async function virtualMachinesDeallocateMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaa"; const options: VirtualMachinesDeallocateParameters = { - queryParameters: { hibernate: true, "api-version": "2022-08-01" } + queryParameters: { hibernate: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +52,17 @@ async function virtualMachinesDeallocateMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaa"; const options: VirtualMachinesDeallocateParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts index 562ab68f06ad..bfda4894b7e4 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesDeleteSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesDeleteParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to delete a virtual machine. @@ -25,17 +23,17 @@ async function forceDeleteAVM() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesDeleteParameters = { - queryParameters: { forceDeletion: true, "api-version": "2022-08-01" } + queryParameters: { forceDeletion: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .delete(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts index 2f7407130774..c0292aaea65a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGeneralizeSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachinesGeneralizeParameters + VirtualMachinesGeneralizeParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). @@ -24,14 +22,14 @@ async function generalizeAVirtualMachine() { const resourceGroupName = "myResourceGroup"; const vmName = "myVMName"; const options: VirtualMachinesGeneralizeParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts index b09e25ecafbe..195fb299fbb9 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesGetSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachinesGetParameters + VirtualMachinesGetParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the model view or the instance view of a virtual machine. @@ -24,14 +22,14 @@ async function getAVirtualMachine() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesGetParameters = { - queryParameters: { $expand: "userData", "api-version": "2022-08-01" } + queryParameters: { $expand: "userData", "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -51,22 +49,20 @@ async function getAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlac const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); } -getAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error -); +getAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch(console.error); /** * This sample demonstrates how to Retrieves information about the model view or the instance view of a virtual machine. * @@ -80,14 +76,14 @@ async function getAVirtualMachineWithDiskControllerTypeProperties() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesGetParameters = { - queryParameters: { $expand: "userData", "api-version": "2022-08-01" } + queryParameters: { $expand: "userData", "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -107,14 +103,14 @@ async function getAVirtualMachineWithVMSizeProperties() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesGetParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts index 84b95f6c6312..da930e06d4b8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstallPatchesSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesInstallPatchesParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Installs patches on the VM. @@ -30,20 +28,20 @@ async function installPatchStateOfAVirtualMachine() { rebootSetting: "IfRequired", windowsParameters: { classificationsToInclude: ["Critical", "Security"], - maxPatchPublishDate: new Date("2020-11-19T02:36:43.0539904+00:00") - } + maxPatchPublishDate: new Date("2020-11-19T02:36:43.0539904+00:00"), + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts index bb0acdd15233..22fc364fe9ed 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesInstanceViewSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachinesInstanceViewParameters + VirtualMachinesInstanceViewParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Retrieves information about the run-time state of a virtual machine. @@ -24,14 +22,14 @@ async function getVirtualMachineInstanceView() { const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesInstanceViewParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); @@ -51,19 +49,19 @@ async function getInstanceViewOfAVirtualMachinePlacedOnADedicatedHostGroupThroug const resourceGroupName = "myResourceGroup"; const vmName = "myVM"; const options: VirtualMachinesInstanceViewParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); console.log(result); } getInstanceViewOfAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts index 31b27ae2088f..496f2f86a0b6 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAllSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesListAllParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines. @@ -26,13 +24,13 @@ async function virtualMachinesListAllMaximumSetGen() { queryParameters: { "api-version": "2022-08-01", statusOnly: "aaaaaa", - $filter: "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" - } + $filter: "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); @@ -55,12 +53,12 @@ async function virtualMachinesListAllMinimumSetGen() { const client = createComputeManagementClient(credential); const subscriptionId = ""; const options: VirtualMachinesListAllParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", - subscriptionId + subscriptionId, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts index f0e9e8d4d62d..f032eae46015 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListAvailableSizesSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesListAvailableSizesParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all available virtual machine sizes to which the specified virtual machine can be resized. @@ -25,14 +23,14 @@ async function listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMac const resourceGroupName = "myResourceGroup"; const vmName = "myVmName"; const options: VirtualMachinesListAvailableSizesParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/vmSizes", subscriptionId, resourceGroupName, - vmName + vmName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -44,5 +42,5 @@ async function listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMac } listsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMachineCanBeResized().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts index 4664644add39..bb5b5097f404 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListByLocationSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesListByLocationParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Gets all the virtual machines under the specified subscription for the specified location. @@ -24,13 +22,13 @@ async function listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpec const subscriptionId = ""; const location = "eastus"; const options: VirtualMachinesListByLocationParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines", subscriptionId, - location + location, ) .get(options); const pageData = paginate(client, initialResponse); @@ -42,5 +40,5 @@ async function listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpec } listsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpecifiedLocation().catch( - console.error + console.error, ); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts index 8eeefd4ed064..6213aa0e02b0 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesListSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesListParameters, - paginate + paginate, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines. @@ -26,14 +24,14 @@ async function virtualMachinesListMaximumSetGen() { const options: VirtualMachinesListParameters = { queryParameters: { $filter: "aaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); @@ -57,13 +55,13 @@ async function virtualMachinesListMinimumSetGen() { const subscriptionId = ""; const resourceGroupName = "rgcompute"; const options: VirtualMachinesListParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(options); const pageData = paginate(client, initialResponse); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts index 874bdebc3467..bab559a37d3d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPerformMaintenanceSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesPerformMaintenanceParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to perform maintenance on a virtual machine. @@ -25,17 +23,17 @@ async function virtualMachinesPerformMaintenanceMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaa"; const options: VirtualMachinesPerformMaintenanceParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +52,17 @@ async function virtualMachinesPerformMaintenanceMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaa"; const options: VirtualMachinesPerformMaintenanceParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts index 0b907b6c8653..47d370fe629a 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesPowerOffSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesPowerOffParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. @@ -25,17 +23,17 @@ async function virtualMachinesPowerOffMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachinesPowerOffParameters = { - queryParameters: { skipShutdown: true, "api-version": "2022-08-01" } + queryParameters: { skipShutdown: true, "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +52,17 @@ async function virtualMachinesPowerOffMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaaaa"; const options: VirtualMachinesPowerOffParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts index 42e27d786960..c7b88cab6683 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReapplySample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesReapplyParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to reapply a virtual machine's state. @@ -25,17 +23,17 @@ async function reapplyTheStateOfAVirtualMachine() { const resourceGroupName = "ResourceGroup"; const vmName = "VMName"; const options: VirtualMachinesReapplyParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts index 0743f4272afc..c98a6cab1c77 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRedeploySample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesRedeployParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Shuts down the virtual machine, moves it to a new node, and powers it back on. @@ -25,17 +23,17 @@ async function virtualMachinesRedeployMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "a"; const options: VirtualMachinesRedeployParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +52,17 @@ async function virtualMachinesRedeployMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaa"; const options: VirtualMachinesRedeployParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts index ebf1ec305813..8aa5d707d90d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesReimageSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesReimageParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Reimages the virtual machine which has an ephemeral OS disk back to its initial state. @@ -26,17 +24,17 @@ async function reimageAVirtualMachine() { const vmName = "myVMName"; const options: VirtualMachinesReimageParameters = { body: { tempDisk: true }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts index d2d83ad6a674..1f623de697b5 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRestartSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesRestartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to restart a virtual machine. @@ -25,17 +23,17 @@ async function virtualMachinesRestartMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachinesRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +52,17 @@ async function virtualMachinesRestartMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaa"; const options: VirtualMachinesRestartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts index cb759f49fe12..c167f6c1399d 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRetrieveBootDiagnosticsDataSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachinesRetrieveBootDiagnosticsDataParameters + VirtualMachinesRetrieveBootDiagnosticsDataParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs. @@ -26,15 +24,15 @@ async function retrieveBootDiagnosticsDataOfAVirtualMachine() { const options: VirtualMachinesRetrieveBootDiagnosticsDataParameters = { queryParameters: { sasUriExpirationTimeInMinutes: 60, - "api-version": "2022-08-01" - } + "api-version": "2022-08-01", + }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/retrieveBootDiagnosticsData", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts index 3fc26411f2a0..863ff7bd7e31 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesRunCommandSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesRunCommandParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to Run command on the VM. @@ -26,17 +24,17 @@ async function virtualMachineRunCommand() { const vmName = "vm3036"; const options: VirtualMachinesRunCommandParameters = { body: { commandId: "RunPowerShellScript" }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts index 7472592a3c9e..19a0044264a3 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesSimulateEvictionSample.ts @@ -4,12 +4,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import createComputeManagementClient, { - VirtualMachinesSimulateEvictionParameters + VirtualMachinesSimulateEvictionParameters, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to simulate the eviction of spot virtual machine. @@ -24,14 +22,14 @@ async function simulateEvictionAVirtualMachine() { const resourceGroupName = "ResourceGroup"; const vmName = "VMName"; const options: VirtualMachinesSimulateEvictionParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const result = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); console.log(result); diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts index 3d205c3ecee3..967aa2b5fd0c 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesStartSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesStartParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to start a virtual machine. @@ -25,17 +23,17 @@ async function virtualMachinesStartMaximumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaaaaaaaaaaaaaaaaa"; const options: VirtualMachinesStartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -54,17 +52,17 @@ async function virtualMachinesStartMinimumSetGen() { const resourceGroupName = "rgcompute"; const vmName = "aaaaa"; const options: VirtualMachinesStartParameters = { - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start", subscriptionId, resourceGroupName, - vmName + vmName, ) .post(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts index d1841b7e1fa9..d225508ee1bf 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/src/virtualMachinesUpdateSample.ts @@ -5,12 +5,10 @@ // Licensed under the MIT License. import createComputeManagementClient, { VirtualMachinesUpdateParameters, - getLongRunningPoller + getLongRunningPoller, } from "@azure-rest/arm-compute"; import { DefaultAzureCredential } from "@azure/identity"; -import * as dotenv from "dotenv"; - -dotenv.config(); +import "dotenv/config"; /** * This sample demonstrates how to The operation to update a virtual machine. @@ -31,16 +29,15 @@ async function updateAVMByDetachingDataDisk() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { dataDisks: [ @@ -48,41 +45,41 @@ async function updateAVMByDetachingDataDisk() { createOption: "Empty", diskSizeGB: 1023, lun: 0, - toBeDetached: true + toBeDetached: true, }, { createOption: "Empty", diskSizeGB: 1023, lun: 1, - toBeDetached: false - } + toBeDetached: false, + }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -107,16 +104,15 @@ async function updateAVMByForceDetachingDataDisk() { networkProfile: { networkInterfaces: [ { - id: - "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", - properties: { primary: true } - } - ] + id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + properties: { primary: true }, + }, + ], }, osProfile: { adminPassword: "{your-password}", adminUsername: "{your-username}", - computerName: "myVM" + computerName: "myVM", }, storageProfile: { dataDisks: [ @@ -125,41 +121,41 @@ async function updateAVMByForceDetachingDataDisk() { detachOption: "ForceDetach", diskSizeGB: 1023, lun: 0, - toBeDetached: true + toBeDetached: true, }, { createOption: "Empty", diskSizeGB: 1023, lun: 1, - toBeDetached: false - } + toBeDetached: false, + }, ], imageReference: { offer: "WindowsServer", publisher: "MicrosoftWindowsServer", sku: "2016-Datacenter", - version: "latest" + version: "latest", }, osDisk: { name: "myVMosdisk", caching: "ReadWrite", createOption: "FromImage", - managedDisk: { storageAccountType: "Standard_LRS" } - } - } - } + managedDisk: { storageAccountType: "Standard_LRS" }, + }, + }, + }, }, - queryParameters: { "api-version": "2022-08-01" } + queryParameters: { "api-version": "2022-08-01" }, }; const initialResponse = await client .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", subscriptionId, resourceGroupName, - vmName + vmName, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/tsconfig.json b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/tsconfig.json index ad5ff9a19d36..984eed535aa8 100644 --- a/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/tsconfig.json +++ b/sdk/compute/arm-compute-rest/samples/v1-beta/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2018", + "target": "ES2020", "module": "commonjs", "moduleResolution": "node", "resolveJsonModule": true, diff --git a/sdk/compute/arm-compute-rest/src/clientDefinitions.ts b/sdk/compute/arm-compute-rest/src/clientDefinitions.ts index ca568ac43ff1..31a11df579cd 100644 --- a/sdk/compute/arm-compute-rest/src/clientDefinitions.ts +++ b/sdk/compute/arm-compute-rest/src/clientDefinitions.ts @@ -2,753 +2,359 @@ // Licensed under the MIT License. import type { + OperationsListParameters, + UsageListParameters, + VirtualMachineSizesListParameters, + VirtualMachineScaleSetsListByLocationParameters, + VirtualMachineScaleSetsCreateOrUpdateParameters, + VirtualMachineScaleSetsUpdateParameters, + VirtualMachineScaleSetsDeleteParameters, + VirtualMachineScaleSetsGetParameters, + VirtualMachineScaleSetsDeallocateParameters, + VirtualMachineScaleSetsDeleteInstancesParameters, + VirtualMachineScaleSetsGetInstanceViewParameters, + VirtualMachineScaleSetsListParameters, + VirtualMachineScaleSetsListAllParameters, + VirtualMachineScaleSetsListSkusParameters, + VirtualMachineScaleSetsGetOSUpgradeHistoryParameters, + VirtualMachineScaleSetsPowerOffParameters, + VirtualMachineScaleSetsRestartParameters, + VirtualMachineScaleSetsStartParameters, + VirtualMachineScaleSetsRedeployParameters, + VirtualMachineScaleSetsPerformMaintenanceParameters, + VirtualMachineScaleSetsUpdateInstancesParameters, + VirtualMachineScaleSetsReimageParameters, + VirtualMachineScaleSetsReimageAllParameters, + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters, + VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters, + VirtualMachineScaleSetsSetOrchestrationServiceStateParameters, + VirtualMachineScaleSetExtensionsCreateOrUpdateParameters, + VirtualMachineScaleSetExtensionsUpdateParameters, + VirtualMachineScaleSetExtensionsDeleteParameters, + VirtualMachineScaleSetExtensionsGetParameters, + VirtualMachineScaleSetExtensionsListParameters, + VirtualMachineScaleSetRollingUpgradesCancelParameters, + VirtualMachineScaleSetRollingUpgradesStartOSUpgradeParameters, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeParameters, + VirtualMachineScaleSetRollingUpgradesGetLatestParameters, + VirtualMachineScaleSetVMExtensionsCreateOrUpdateParameters, + VirtualMachineScaleSetVMExtensionsUpdateParameters, + VirtualMachineScaleSetVMExtensionsDeleteParameters, + VirtualMachineScaleSetVMExtensionsGetParameters, + VirtualMachineScaleSetVMExtensionsListParameters, + VirtualMachineScaleSetVMsReimageParameters, + VirtualMachineScaleSetVMsReimageAllParameters, + VirtualMachineScaleSetVMsDeallocateParameters, + VirtualMachineScaleSetVMsUpdateParameters, + VirtualMachineScaleSetVMsDeleteParameters, + VirtualMachineScaleSetVMsGetParameters, + VirtualMachineScaleSetVMsGetInstanceViewParameters, + VirtualMachineScaleSetVMsListParameters, + VirtualMachineScaleSetVMsPowerOffParameters, + VirtualMachineScaleSetVMsRestartParameters, + VirtualMachineScaleSetVMsStartParameters, + VirtualMachineScaleSetVMsRedeployParameters, + VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters, + VirtualMachineScaleSetVMsPerformMaintenanceParameters, + VirtualMachineScaleSetVMsSimulateEvictionParameters, + VirtualMachineScaleSetVMsRunCommandParameters, + VirtualMachineExtensionsCreateOrUpdateParameters, + VirtualMachineExtensionsUpdateParameters, + VirtualMachineExtensionsDeleteParameters, + VirtualMachineExtensionsGetParameters, + VirtualMachineExtensionsListParameters, + VirtualMachinesListByLocationParameters, + VirtualMachinesCaptureParameters, + VirtualMachinesCreateOrUpdateParameters, + VirtualMachinesUpdateParameters, + VirtualMachinesDeleteParameters, + VirtualMachinesGetParameters, + VirtualMachinesInstanceViewParameters, + VirtualMachinesConvertToManagedDisksParameters, + VirtualMachinesDeallocateParameters, + VirtualMachinesGeneralizeParameters, + VirtualMachinesListParameters, + VirtualMachinesListAllParameters, + VirtualMachinesListAvailableSizesParameters, + VirtualMachinesPowerOffParameters, + VirtualMachinesReapplyParameters, + VirtualMachinesRestartParameters, + VirtualMachinesStartParameters, + VirtualMachinesRedeployParameters, + VirtualMachinesReimageParameters, + VirtualMachinesRetrieveBootDiagnosticsDataParameters, + VirtualMachinesPerformMaintenanceParameters, + VirtualMachinesSimulateEvictionParameters, + VirtualMachinesAssessPatchesParameters, + VirtualMachinesInstallPatchesParameters, + VirtualMachinesRunCommandParameters, + VirtualMachineImagesGetParameters, + VirtualMachineImagesListParameters, + VirtualMachineImagesListOffersParameters, + VirtualMachineImagesListPublishersParameters, + VirtualMachineImagesListSkusParameters, + VirtualMachineImagesListByEdgeZoneParameters, + VirtualMachineImagesEdgeZoneGetParameters, + VirtualMachineImagesEdgeZoneListParameters, + VirtualMachineImagesEdgeZoneListOffersParameters, + VirtualMachineImagesEdgeZoneListPublishersParameters, + VirtualMachineImagesEdgeZoneListSkusParameters, + VirtualMachineExtensionImagesGetParameters, + VirtualMachineExtensionImagesListTypesParameters, + VirtualMachineExtensionImagesListVersionsParameters, AvailabilitySetsCreateOrUpdateParameters, + AvailabilitySetsUpdateParameters, AvailabilitySetsDeleteParameters, AvailabilitySetsGetParameters, - AvailabilitySetsListAvailableSizesParameters, AvailabilitySetsListBySubscriptionParameters, AvailabilitySetsListParameters, - AvailabilitySetsUpdateParameters, - CapacityReservationGroupsCreateOrUpdateParameters, - CapacityReservationGroupsDeleteParameters, - CapacityReservationGroupsGetParameters, - CapacityReservationGroupsListByResourceGroupParameters, - CapacityReservationGroupsListBySubscriptionParameters, - CapacityReservationGroupsUpdateParameters, - CapacityReservationsCreateOrUpdateParameters, - CapacityReservationsDeleteParameters, - CapacityReservationsGetParameters, - CapacityReservationsListByCapacityReservationGroupParameters, - CapacityReservationsUpdateParameters, - CloudServiceOperatingSystemsGetOSFamilyParameters, - CloudServiceOperatingSystemsGetOSVersionParameters, - CloudServiceOperatingSystemsListOSFamiliesParameters, - CloudServiceOperatingSystemsListOSVersionsParameters, - CloudServiceRoleInstancesDeleteParameters, - CloudServiceRoleInstancesGetInstanceViewParameters, - CloudServiceRoleInstancesGetParameters, - CloudServiceRoleInstancesGetRemoteDesktopFileParameters, - CloudServiceRoleInstancesListParameters, - CloudServiceRoleInstancesRebuildParameters, - CloudServiceRoleInstancesReimageParameters, - CloudServiceRoleInstancesRestartParameters, - CloudServiceRolesGetParameters, - CloudServiceRolesListParameters, - CloudServicesCreateOrUpdateParameters, - CloudServicesDeleteInstancesParameters, - CloudServicesDeleteParameters, - CloudServicesGetInstanceViewParameters, - CloudServicesGetParameters, - CloudServicesListAllParameters, - CloudServicesListParameters, - CloudServicesPowerOffParameters, - CloudServicesRebuildParameters, - CloudServicesReimageParameters, - CloudServicesRestartParameters, - CloudServicesStartParameters, - CloudServicesUpdateDomainGetUpdateDomainParameters, - CloudServicesUpdateDomainListUpdateDomainsParameters, - CloudServicesUpdateDomainWalkUpdateDomainParameters, - CloudServicesUpdateParameters, - CommunityGalleriesGetParameters, - CommunityGalleryImageVersionsGetParameters, - CommunityGalleryImageVersionsListParameters, - CommunityGalleryImagesGetParameters, - CommunityGalleryImagesListParameters, + AvailabilitySetsListAvailableSizesParameters, + ProximityPlacementGroupsCreateOrUpdateParameters, + ProximityPlacementGroupsUpdateParameters, + ProximityPlacementGroupsDeleteParameters, + ProximityPlacementGroupsGetParameters, + ProximityPlacementGroupsListBySubscriptionParameters, + ProximityPlacementGroupsListByResourceGroupParameters, DedicatedHostGroupsCreateOrUpdateParameters, + DedicatedHostGroupsUpdateParameters, DedicatedHostGroupsDeleteParameters, DedicatedHostGroupsGetParameters, DedicatedHostGroupsListByResourceGroupParameters, DedicatedHostGroupsListBySubscriptionParameters, - DedicatedHostGroupsUpdateParameters, DedicatedHostsCreateOrUpdateParameters, + DedicatedHostsUpdateParameters, DedicatedHostsDeleteParameters, DedicatedHostsGetParameters, DedicatedHostsListByHostGroupParameters, DedicatedHostsRestartParameters, - DedicatedHostsUpdateParameters, + SshPublicKeysListBySubscriptionParameters, + SshPublicKeysListByResourceGroupParameters, + SshPublicKeysCreateParameters, + SshPublicKeysUpdateParameters, + SshPublicKeysDeleteParameters, + SshPublicKeysGetParameters, + SshPublicKeysGenerateKeyPairParameters, + ImagesCreateOrUpdateParameters, + ImagesUpdateParameters, + ImagesDeleteParameters, + ImagesGetParameters, + ImagesListByResourceGroupParameters, + ImagesListParameters, + RestorePointCollectionsCreateOrUpdateParameters, + RestorePointCollectionsUpdateParameters, + RestorePointCollectionsDeleteParameters, + RestorePointCollectionsGetParameters, + RestorePointCollectionsListParameters, + RestorePointCollectionsListAllParameters, + RestorePointsCreateParameters, + RestorePointsDeleteParameters, + RestorePointsGetParameters, + CapacityReservationGroupsCreateOrUpdateParameters, + CapacityReservationGroupsUpdateParameters, + CapacityReservationGroupsDeleteParameters, + CapacityReservationGroupsGetParameters, + CapacityReservationGroupsListByResourceGroupParameters, + CapacityReservationGroupsListBySubscriptionParameters, + CapacityReservationsCreateOrUpdateParameters, + CapacityReservationsUpdateParameters, + CapacityReservationsDeleteParameters, + CapacityReservationsGetParameters, + CapacityReservationsListByCapacityReservationGroupParameters, + LogAnalyticsExportRequestRateByIntervalParameters, + LogAnalyticsExportThrottledRequestsParameters, + VirtualMachineRunCommandsListParameters, + VirtualMachineRunCommandsGetParameters, + VirtualMachineRunCommandsCreateOrUpdateParameters, + VirtualMachineRunCommandsUpdateParameters, + VirtualMachineRunCommandsDeleteParameters, + VirtualMachineRunCommandsGetByVirtualMachineParameters, + VirtualMachineRunCommandsListByVirtualMachineParameters, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdateParameters, + VirtualMachineScaleSetVMRunCommandsUpdateParameters, + VirtualMachineScaleSetVMRunCommandsDeleteParameters, + VirtualMachineScaleSetVMRunCommandsGetParameters, + VirtualMachineScaleSetVMRunCommandsListParameters, + DisksCreateOrUpdateParameters, + DisksUpdateParameters, + DisksGetParameters, + DisksDeleteParameters, + DisksListByResourceGroupParameters, + DisksListParameters, + DisksGrantAccessParameters, + DisksRevokeAccessParameters, DiskAccessesCreateOrUpdateParameters, - DiskAccessesDeleteAPrivateEndpointConnectionParameters, - DiskAccessesDeleteParameters, - DiskAccessesGetAPrivateEndpointConnectionParameters, + DiskAccessesUpdateParameters, DiskAccessesGetParameters, - DiskAccessesGetPrivateLinkResourcesParameters, + DiskAccessesDeleteParameters, DiskAccessesListByResourceGroupParameters, DiskAccessesListParameters, - DiskAccessesListPrivateEndpointConnectionsParameters, + DiskAccessesGetPrivateLinkResourcesParameters, DiskAccessesUpdateAPrivateEndpointConnectionParameters, - DiskAccessesUpdateParameters, + DiskAccessesGetAPrivateEndpointConnectionParameters, + DiskAccessesDeleteAPrivateEndpointConnectionParameters, + DiskAccessesListPrivateEndpointConnectionsParameters, DiskEncryptionSetsCreateOrUpdateParameters, - DiskEncryptionSetsDeleteParameters, + DiskEncryptionSetsUpdateParameters, DiskEncryptionSetsGetParameters, - DiskEncryptionSetsListAssociatedResourcesParameters, + DiskEncryptionSetsDeleteParameters, DiskEncryptionSetsListByResourceGroupParameters, DiskEncryptionSetsListParameters, - DiskEncryptionSetsUpdateParameters, + DiskEncryptionSetsListAssociatedResourcesParameters, DiskRestorePointGetParameters, - DiskRestorePointGrantAccessParameters, DiskRestorePointListByRestorePointParameters, + DiskRestorePointGrantAccessParameters, DiskRestorePointRevokeAccessParameters, - DisksCreateOrUpdateParameters, - DisksDeleteParameters, - DisksGetParameters, - DisksGrantAccessParameters, - DisksListByResourceGroupParameters, - DisksListParameters, - DisksRevokeAccessParameters, - DisksUpdateParameters, + SnapshotsCreateOrUpdateParameters, + SnapshotsUpdateParameters, + SnapshotsGetParameters, + SnapshotsDeleteParameters, + SnapshotsListByResourceGroupParameters, + SnapshotsListParameters, + SnapshotsGrantAccessParameters, + SnapshotsRevokeAccessParameters, + ResourceSkusListParameters, GalleriesCreateOrUpdateParameters, - GalleriesDeleteParameters, + GalleriesUpdateParameters, GalleriesGetParameters, + GalleriesDeleteParameters, GalleriesListByResourceGroupParameters, GalleriesListParameters, - GalleriesUpdateParameters, - GalleryApplicationVersionsCreateOrUpdateParameters, - GalleryApplicationVersionsDeleteParameters, - GalleryApplicationVersionsGetParameters, - GalleryApplicationVersionsListByGalleryApplicationParameters, - GalleryApplicationVersionsUpdateParameters, - GalleryApplicationsCreateOrUpdateParameters, - GalleryApplicationsDeleteParameters, - GalleryApplicationsGetParameters, - GalleryApplicationsListByGalleryParameters, - GalleryApplicationsUpdateParameters, - GalleryImageVersionsCreateOrUpdateParameters, - GalleryImageVersionsDeleteParameters, - GalleryImageVersionsGetParameters, - GalleryImageVersionsListByGalleryImageParameters, - GalleryImageVersionsUpdateParameters, GalleryImagesCreateOrUpdateParameters, - GalleryImagesDeleteParameters, + GalleryImagesUpdateParameters, GalleryImagesGetParameters, + GalleryImagesDeleteParameters, GalleryImagesListByGalleryParameters, - GalleryImagesUpdateParameters, + GalleryImageVersionsCreateOrUpdateParameters, + GalleryImageVersionsUpdateParameters, + GalleryImageVersionsGetParameters, + GalleryImageVersionsDeleteParameters, + GalleryImageVersionsListByGalleryImageParameters, + GalleryApplicationsCreateOrUpdateParameters, + GalleryApplicationsUpdateParameters, + GalleryApplicationsGetParameters, + GalleryApplicationsDeleteParameters, + GalleryApplicationsListByGalleryParameters, + GalleryApplicationVersionsCreateOrUpdateParameters, + GalleryApplicationVersionsUpdateParameters, + GalleryApplicationVersionsGetParameters, + GalleryApplicationVersionsDeleteParameters, + GalleryApplicationVersionsListByGalleryApplicationParameters, GallerySharingProfileUpdateParameters, - ImagesCreateOrUpdateParameters, - ImagesDeleteParameters, - ImagesGetParameters, - ImagesListByResourceGroupParameters, - ImagesListParameters, - ImagesUpdateParameters, - LogAnalyticsExportRequestRateByIntervalParameters, - LogAnalyticsExportThrottledRequestsParameters, - OperationsListParameters, - ProximityPlacementGroupsCreateOrUpdateParameters, - ProximityPlacementGroupsDeleteParameters, - ProximityPlacementGroupsGetParameters, - ProximityPlacementGroupsListByResourceGroupParameters, - ProximityPlacementGroupsListBySubscriptionParameters, - ProximityPlacementGroupsUpdateParameters, - ResourceSkusListParameters, - RestorePointCollectionsCreateOrUpdateParameters, - RestorePointCollectionsDeleteParameters, - RestorePointCollectionsGetParameters, - RestorePointCollectionsListAllParameters, - RestorePointCollectionsListParameters, - RestorePointCollectionsUpdateParameters, - RestorePointsCreateParameters, - RestorePointsDeleteParameters, - RestorePointsGetParameters, - SharedGalleriesGetParameters, SharedGalleriesListParameters, - SharedGalleryImageVersionsGetParameters, - SharedGalleryImageVersionsListParameters, - SharedGalleryImagesGetParameters, + SharedGalleriesGetParameters, SharedGalleryImagesListParameters, - SnapshotsCreateOrUpdateParameters, - SnapshotsDeleteParameters, - SnapshotsGetParameters, - SnapshotsGrantAccessParameters, - SnapshotsListByResourceGroupParameters, - SnapshotsListParameters, - SnapshotsRevokeAccessParameters, - SnapshotsUpdateParameters, - SshPublicKeysCreateParameters, - SshPublicKeysDeleteParameters, - SshPublicKeysGenerateKeyPairParameters, - SshPublicKeysGetParameters, - SshPublicKeysListByResourceGroupParameters, - SshPublicKeysListBySubscriptionParameters, - SshPublicKeysUpdateParameters, - UsageListParameters, - VirtualMachineExtensionImagesGetParameters, - VirtualMachineExtensionImagesListTypesParameters, - VirtualMachineExtensionImagesListVersionsParameters, - VirtualMachineExtensionsCreateOrUpdateParameters, - VirtualMachineExtensionsDeleteParameters, - VirtualMachineExtensionsGetParameters, - VirtualMachineExtensionsListParameters, - VirtualMachineExtensionsUpdateParameters, - VirtualMachineImagesEdgeZoneGetParameters, - VirtualMachineImagesEdgeZoneListOffersParameters, - VirtualMachineImagesEdgeZoneListParameters, - VirtualMachineImagesEdgeZoneListPublishersParameters, - VirtualMachineImagesEdgeZoneListSkusParameters, - VirtualMachineImagesGetParameters, - VirtualMachineImagesListByEdgeZoneParameters, - VirtualMachineImagesListOffersParameters, - VirtualMachineImagesListParameters, - VirtualMachineImagesListPublishersParameters, - VirtualMachineImagesListSkusParameters, - VirtualMachineRunCommandsCreateOrUpdateParameters, - VirtualMachineRunCommandsDeleteParameters, - VirtualMachineRunCommandsGetByVirtualMachineParameters, - VirtualMachineRunCommandsGetParameters, - VirtualMachineRunCommandsListByVirtualMachineParameters, - VirtualMachineRunCommandsListParameters, - VirtualMachineRunCommandsUpdateParameters, - VirtualMachineScaleSetExtensionsCreateOrUpdateParameters, - VirtualMachineScaleSetExtensionsDeleteParameters, - VirtualMachineScaleSetExtensionsGetParameters, - VirtualMachineScaleSetExtensionsListParameters, - VirtualMachineScaleSetExtensionsUpdateParameters, - VirtualMachineScaleSetRollingUpgradesCancelParameters, - VirtualMachineScaleSetRollingUpgradesGetLatestParameters, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeParameters, - VirtualMachineScaleSetRollingUpgradesStartOSUpgradeParameters, - VirtualMachineScaleSetVMExtensionsCreateOrUpdateParameters, - VirtualMachineScaleSetVMExtensionsDeleteParameters, - VirtualMachineScaleSetVMExtensionsGetParameters, - VirtualMachineScaleSetVMExtensionsListParameters, - VirtualMachineScaleSetVMExtensionsUpdateParameters, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdateParameters, - VirtualMachineScaleSetVMRunCommandsDeleteParameters, - VirtualMachineScaleSetVMRunCommandsGetParameters, - VirtualMachineScaleSetVMRunCommandsListParameters, - VirtualMachineScaleSetVMRunCommandsUpdateParameters, - VirtualMachineScaleSetVMsDeallocateParameters, - VirtualMachineScaleSetVMsDeleteParameters, - VirtualMachineScaleSetVMsGetInstanceViewParameters, - VirtualMachineScaleSetVMsGetParameters, - VirtualMachineScaleSetVMsListParameters, - VirtualMachineScaleSetVMsPerformMaintenanceParameters, - VirtualMachineScaleSetVMsPowerOffParameters, - VirtualMachineScaleSetVMsRedeployParameters, - VirtualMachineScaleSetVMsReimageAllParameters, - VirtualMachineScaleSetVMsReimageParameters, - VirtualMachineScaleSetVMsRestartParameters, - VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataParameters, - VirtualMachineScaleSetVMsRunCommandParameters, - VirtualMachineScaleSetVMsSimulateEvictionParameters, - VirtualMachineScaleSetVMsStartParameters, - VirtualMachineScaleSetVMsUpdateParameters, - VirtualMachineScaleSetsConvertToSinglePlacementGroupParameters, - VirtualMachineScaleSetsCreateOrUpdateParameters, - VirtualMachineScaleSetsDeallocateParameters, - VirtualMachineScaleSetsDeleteInstancesParameters, - VirtualMachineScaleSetsDeleteParameters, - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkParameters, - VirtualMachineScaleSetsGetInstanceViewParameters, - VirtualMachineScaleSetsGetOSUpgradeHistoryParameters, - VirtualMachineScaleSetsGetParameters, - VirtualMachineScaleSetsListAllParameters, - VirtualMachineScaleSetsListByLocationParameters, - VirtualMachineScaleSetsListParameters, - VirtualMachineScaleSetsListSkusParameters, - VirtualMachineScaleSetsPerformMaintenanceParameters, - VirtualMachineScaleSetsPowerOffParameters, - VirtualMachineScaleSetsRedeployParameters, - VirtualMachineScaleSetsReimageAllParameters, - VirtualMachineScaleSetsReimageParameters, - VirtualMachineScaleSetsRestartParameters, - VirtualMachineScaleSetsSetOrchestrationServiceStateParameters, - VirtualMachineScaleSetsStartParameters, - VirtualMachineScaleSetsUpdateInstancesParameters, - VirtualMachineScaleSetsUpdateParameters, - VirtualMachineSizesListParameters, - VirtualMachinesAssessPatchesParameters, - VirtualMachinesCaptureParameters, - VirtualMachinesConvertToManagedDisksParameters, - VirtualMachinesCreateOrUpdateParameters, - VirtualMachinesDeallocateParameters, - VirtualMachinesDeleteParameters, - VirtualMachinesGeneralizeParameters, - VirtualMachinesGetParameters, - VirtualMachinesInstallPatchesParameters, - VirtualMachinesInstanceViewParameters, - VirtualMachinesListAllParameters, - VirtualMachinesListAvailableSizesParameters, - VirtualMachinesListByLocationParameters, - VirtualMachinesListParameters, - VirtualMachinesPerformMaintenanceParameters, - VirtualMachinesPowerOffParameters, - VirtualMachinesReapplyParameters, - VirtualMachinesRedeployParameters, - VirtualMachinesReimageParameters, - VirtualMachinesRestartParameters, - VirtualMachinesRetrieveBootDiagnosticsDataParameters, - VirtualMachinesRunCommandParameters, - VirtualMachinesSimulateEvictionParameters, - VirtualMachinesStartParameters, - VirtualMachinesUpdateParameters, -} from "./parameters"; + SharedGalleryImagesGetParameters, + SharedGalleryImageVersionsListParameters, + SharedGalleryImageVersionsGetParameters, + CommunityGalleriesGetParameters, + CommunityGalleryImagesGetParameters, + CommunityGalleryImagesListParameters, + CommunityGalleryImageVersionsGetParameters, + CommunityGalleryImageVersionsListParameters, + CloudServiceRoleInstancesDeleteParameters, + CloudServiceRoleInstancesGetParameters, + CloudServiceRoleInstancesGetInstanceViewParameters, + CloudServiceRoleInstancesListParameters, + CloudServiceRoleInstancesRestartParameters, + CloudServiceRoleInstancesReimageParameters, + CloudServiceRoleInstancesRebuildParameters, + CloudServiceRoleInstancesGetRemoteDesktopFileParameters, + CloudServiceRolesGetParameters, + CloudServiceRolesListParameters, + CloudServicesCreateOrUpdateParameters, + CloudServicesUpdateParameters, + CloudServicesDeleteParameters, + CloudServicesGetParameters, + CloudServicesGetInstanceViewParameters, + CloudServicesListAllParameters, + CloudServicesListParameters, + CloudServicesStartParameters, + CloudServicesPowerOffParameters, + CloudServicesRestartParameters, + CloudServicesReimageParameters, + CloudServicesRebuildParameters, + CloudServicesDeleteInstancesParameters, + CloudServicesUpdateDomainWalkUpdateDomainParameters, + CloudServicesUpdateDomainGetUpdateDomainParameters, + CloudServicesUpdateDomainListUpdateDomainsParameters, + CloudServiceOperatingSystemsGetOSVersionParameters, + CloudServiceOperatingSystemsListOSVersionsParameters, + CloudServiceOperatingSystemsGetOSFamilyParameters, + CloudServiceOperatingSystemsListOSFamiliesParameters, +} from "./parameters.js"; import type { - AvailabilitySetsCreateOrUpdate200Response, - AvailabilitySetsCreateOrUpdateDefaultResponse, - AvailabilitySetsDelete200Response, - AvailabilitySetsDelete204Response, - AvailabilitySetsDeleteDefaultResponse, - AvailabilitySetsGet200Response, - AvailabilitySetsGetDefaultResponse, - AvailabilitySetsList200Response, - AvailabilitySetsListAvailableSizes200Response, - AvailabilitySetsListAvailableSizesDefaultResponse, - AvailabilitySetsListBySubscription200Response, - AvailabilitySetsListBySubscriptionDefaultResponse, - AvailabilitySetsListDefaultResponse, - AvailabilitySetsUpdate200Response, - AvailabilitySetsUpdateDefaultResponse, - CapacityReservationGroupsCreateOrUpdate200Response, - CapacityReservationGroupsCreateOrUpdate201Response, - CapacityReservationGroupsCreateOrUpdateDefaultResponse, - CapacityReservationGroupsDelete200Response, - CapacityReservationGroupsDelete204Response, - CapacityReservationGroupsDeleteDefaultResponse, - CapacityReservationGroupsGet200Response, - CapacityReservationGroupsGetDefaultResponse, - CapacityReservationGroupsListByResourceGroup200Response, - CapacityReservationGroupsListByResourceGroupDefaultResponse, - CapacityReservationGroupsListBySubscription200Response, - CapacityReservationGroupsListBySubscriptionDefaultResponse, - CapacityReservationGroupsUpdate200Response, - CapacityReservationGroupsUpdateDefaultResponse, - CapacityReservationsCreateOrUpdate200Response, - CapacityReservationsCreateOrUpdate201Response, - CapacityReservationsCreateOrUpdateDefaultResponse, - CapacityReservationsDelete200Response, - CapacityReservationsDelete202Response, - CapacityReservationsDelete204Response, - CapacityReservationsDeleteDefaultResponse, - CapacityReservationsGet200Response, - CapacityReservationsGetDefaultResponse, - CapacityReservationsListByCapacityReservationGroup200Response, - CapacityReservationsListByCapacityReservationGroupDefaultResponse, - CapacityReservationsUpdate200Response, - CapacityReservationsUpdate202Response, - CapacityReservationsUpdateDefaultResponse, - CloudServiceOperatingSystemsGetOSFamily200Response, - CloudServiceOperatingSystemsGetOSFamilyDefaultResponse, - CloudServiceOperatingSystemsGetOSVersion200Response, - CloudServiceOperatingSystemsGetOSVersionDefaultResponse, - CloudServiceOperatingSystemsListOSFamilies200Response, - CloudServiceOperatingSystemsListOSFamiliesDefaultResponse, - CloudServiceOperatingSystemsListOSVersions200Response, - CloudServiceOperatingSystemsListOSVersionsDefaultResponse, - CloudServiceRoleInstancesDelete200Response, - CloudServiceRoleInstancesDelete202Response, - CloudServiceRoleInstancesDelete204Response, - CloudServiceRoleInstancesDeleteDefaultResponse, - CloudServiceRoleInstancesGet200Response, - CloudServiceRoleInstancesGetDefaultResponse, - CloudServiceRoleInstancesGetInstanceView200Response, - CloudServiceRoleInstancesGetInstanceViewDefaultResponse, - CloudServiceRoleInstancesGetRemoteDesktopFile200Response, - CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse, - CloudServiceRoleInstancesList200Response, - CloudServiceRoleInstancesListDefaultResponse, - CloudServiceRoleInstancesRebuild200Response, - CloudServiceRoleInstancesRebuild202Response, - CloudServiceRoleInstancesRebuildDefaultResponse, - CloudServiceRoleInstancesReimage200Response, - CloudServiceRoleInstancesReimage202Response, - CloudServiceRoleInstancesReimageDefaultResponse, - CloudServiceRoleInstancesRestart200Response, - CloudServiceRoleInstancesRestart202Response, - CloudServiceRoleInstancesRestartDefaultResponse, - CloudServiceRolesGet200Response, - CloudServiceRolesGetDefaultResponse, - CloudServiceRolesList200Response, - CloudServiceRolesListDefaultResponse, - CloudServicesCreateOrUpdate200Response, - CloudServicesCreateOrUpdate201Response, - CloudServicesCreateOrUpdateDefaultResponse, - CloudServicesDelete200Response, - CloudServicesDelete202Response, - CloudServicesDelete204Response, - CloudServicesDeleteDefaultResponse, - CloudServicesDeleteInstances200Response, - CloudServicesDeleteInstances202Response, - CloudServicesDeleteInstancesDefaultResponse, - CloudServicesGet200Response, - CloudServicesGetDefaultResponse, - CloudServicesGetInstanceView200Response, - CloudServicesGetInstanceViewDefaultResponse, - CloudServicesList200Response, - CloudServicesListAll200Response, - CloudServicesListAllDefaultResponse, - CloudServicesListDefaultResponse, - CloudServicesPowerOff200Response, - CloudServicesPowerOff202Response, - CloudServicesPowerOffDefaultResponse, - CloudServicesRebuild200Response, - CloudServicesRebuild202Response, - CloudServicesRebuildDefaultResponse, - CloudServicesReimage200Response, - CloudServicesReimage202Response, - CloudServicesReimageDefaultResponse, - CloudServicesRestart200Response, - CloudServicesRestart202Response, - CloudServicesRestartDefaultResponse, - CloudServicesStart200Response, - CloudServicesStart202Response, - CloudServicesStartDefaultResponse, - CloudServicesUpdate200Response, - CloudServicesUpdateDefaultResponse, - CloudServicesUpdateDomainGetUpdateDomain200Response, - CloudServicesUpdateDomainGetUpdateDomainDefaultResponse, - CloudServicesUpdateDomainListUpdateDomains200Response, - CloudServicesUpdateDomainListUpdateDomainsDefaultResponse, - CloudServicesUpdateDomainWalkUpdateDomain200Response, - CloudServicesUpdateDomainWalkUpdateDomain202Response, - CloudServicesUpdateDomainWalkUpdateDomainDefaultResponse, - CommunityGalleriesGet200Response, - CommunityGalleriesGetDefaultResponse, - CommunityGalleryImageVersionsGet200Response, - CommunityGalleryImageVersionsGetDefaultResponse, - CommunityGalleryImageVersionsList200Response, - CommunityGalleryImageVersionsListDefaultResponse, - CommunityGalleryImagesGet200Response, - CommunityGalleryImagesGetDefaultResponse, - CommunityGalleryImagesList200Response, - CommunityGalleryImagesListDefaultResponse, - DedicatedHostGroupsCreateOrUpdate200Response, - DedicatedHostGroupsCreateOrUpdate201Response, - DedicatedHostGroupsCreateOrUpdateDefaultResponse, - DedicatedHostGroupsDelete200Response, - DedicatedHostGroupsDelete204Response, - DedicatedHostGroupsDeleteDefaultResponse, - DedicatedHostGroupsGet200Response, - DedicatedHostGroupsGetDefaultResponse, - DedicatedHostGroupsListByResourceGroup200Response, - DedicatedHostGroupsListByResourceGroupDefaultResponse, - DedicatedHostGroupsListBySubscription200Response, - DedicatedHostGroupsListBySubscriptionDefaultResponse, - DedicatedHostGroupsUpdate200Response, - DedicatedHostGroupsUpdateDefaultResponse, - DedicatedHostsCreateOrUpdate200Response, - DedicatedHostsCreateOrUpdate201Response, - DedicatedHostsCreateOrUpdateDefaultResponse, - DedicatedHostsDelete200Response, - DedicatedHostsDelete202Response, - DedicatedHostsDelete204Response, - DedicatedHostsDeleteDefaultResponse, - DedicatedHostsGet200Response, - DedicatedHostsGetDefaultResponse, - DedicatedHostsListByHostGroup200Response, - DedicatedHostsListByHostGroupDefaultResponse, - DedicatedHostsRestart200Response, - DedicatedHostsRestartDefaultResponse, - DedicatedHostsUpdate200Response, - DedicatedHostsUpdateDefaultResponse, - DiskAccessesCreateOrUpdate200Response, - DiskAccessesCreateOrUpdate202Response, - DiskAccessesCreateOrUpdateDefaultResponse, - DiskAccessesDelete200Response, - DiskAccessesDelete202Response, - DiskAccessesDelete204Response, - DiskAccessesDeleteAPrivateEndpointConnection200Response, - DiskAccessesDeleteAPrivateEndpointConnection202Response, - DiskAccessesDeleteAPrivateEndpointConnection204Response, - DiskAccessesDeleteAPrivateEndpointConnectionDefaultResponse, - DiskAccessesDeleteDefaultResponse, - DiskAccessesGet200Response, - DiskAccessesGetAPrivateEndpointConnection200Response, - DiskAccessesGetAPrivateEndpointConnectionDefaultResponse, - DiskAccessesGetDefaultResponse, - DiskAccessesGetPrivateLinkResources200Response, - DiskAccessesList200Response, - DiskAccessesListByResourceGroup200Response, - DiskAccessesListByResourceGroupDefaultResponse, - DiskAccessesListDefaultResponse, - DiskAccessesListPrivateEndpointConnections200Response, - DiskAccessesListPrivateEndpointConnectionsDefaultResponse, - DiskAccessesUpdate200Response, - DiskAccessesUpdate202Response, - DiskAccessesUpdateAPrivateEndpointConnection200Response, - DiskAccessesUpdateAPrivateEndpointConnection202Response, - DiskAccessesUpdateAPrivateEndpointConnectionDefaultResponse, - DiskAccessesUpdateDefaultResponse, - DiskEncryptionSetsCreateOrUpdate200Response, - DiskEncryptionSetsCreateOrUpdate202Response, - DiskEncryptionSetsCreateOrUpdateDefaultResponse, - DiskEncryptionSetsDelete200Response, - DiskEncryptionSetsDelete202Response, - DiskEncryptionSetsDelete204Response, - DiskEncryptionSetsDeleteDefaultResponse, - DiskEncryptionSetsGet200Response, - DiskEncryptionSetsGetDefaultResponse, - DiskEncryptionSetsList200Response, - DiskEncryptionSetsListAssociatedResources200Response, - DiskEncryptionSetsListAssociatedResourcesDefaultResponse, - DiskEncryptionSetsListByResourceGroup200Response, - DiskEncryptionSetsListByResourceGroupDefaultResponse, - DiskEncryptionSetsListDefaultResponse, - DiskEncryptionSetsUpdate200Response, - DiskEncryptionSetsUpdate202Response, - DiskEncryptionSetsUpdateDefaultResponse, - DiskRestorePointGet200Response, - DiskRestorePointGetDefaultResponse, - DiskRestorePointGrantAccess200Response, - DiskRestorePointGrantAccess202Response, - DiskRestorePointGrantAccessDefaultResponse, - DiskRestorePointListByRestorePoint200Response, - DiskRestorePointListByRestorePointDefaultResponse, - DiskRestorePointRevokeAccess200Response, - DiskRestorePointRevokeAccess202Response, - DiskRestorePointRevokeAccessDefaultResponse, - DisksCreateOrUpdate200Response, - DisksCreateOrUpdate202Response, - DisksDelete200Response, - DisksDelete202Response, - DisksDelete204Response, - DisksGet200Response, - DisksGrantAccess200Response, - DisksGrantAccess202Response, - DisksList200Response, - DisksListByResourceGroup200Response, - DisksRevokeAccess200Response, - DisksRevokeAccess202Response, - DisksUpdate200Response, - DisksUpdate202Response, - GalleriesCreateOrUpdate200Response, - GalleriesCreateOrUpdate201Response, - GalleriesCreateOrUpdate202Response, - GalleriesCreateOrUpdateDefaultResponse, - GalleriesDelete200Response, - GalleriesDelete202Response, - GalleriesDelete204Response, - GalleriesDeleteDefaultResponse, - GalleriesGet200Response, - GalleriesGetDefaultResponse, - GalleriesList200Response, - GalleriesListByResourceGroup200Response, - GalleriesListByResourceGroupDefaultResponse, - GalleriesListDefaultResponse, - GalleriesUpdate200Response, - GalleriesUpdateDefaultResponse, - GalleryApplicationVersionsCreateOrUpdate200Response, - GalleryApplicationVersionsCreateOrUpdate201Response, - GalleryApplicationVersionsCreateOrUpdate202Response, - GalleryApplicationVersionsCreateOrUpdateDefaultResponse, - GalleryApplicationVersionsDelete200Response, - GalleryApplicationVersionsDelete202Response, - GalleryApplicationVersionsDelete204Response, - GalleryApplicationVersionsDeleteDefaultResponse, - GalleryApplicationVersionsGet200Response, - GalleryApplicationVersionsGetDefaultResponse, - GalleryApplicationVersionsListByGalleryApplication200Response, - GalleryApplicationVersionsListByGalleryApplicationDefaultResponse, - GalleryApplicationVersionsUpdate200Response, - GalleryApplicationVersionsUpdateDefaultResponse, - GalleryApplicationsCreateOrUpdate200Response, - GalleryApplicationsCreateOrUpdate201Response, - GalleryApplicationsCreateOrUpdate202Response, - GalleryApplicationsCreateOrUpdateDefaultResponse, - GalleryApplicationsDelete200Response, - GalleryApplicationsDelete202Response, - GalleryApplicationsDelete204Response, - GalleryApplicationsDeleteDefaultResponse, - GalleryApplicationsGet200Response, - GalleryApplicationsGetDefaultResponse, - GalleryApplicationsListByGallery200Response, - GalleryApplicationsListByGalleryDefaultResponse, - GalleryApplicationsUpdate200Response, - GalleryApplicationsUpdateDefaultResponse, - GalleryImageVersionsCreateOrUpdate200Response, - GalleryImageVersionsCreateOrUpdate201Response, - GalleryImageVersionsCreateOrUpdate202Response, - GalleryImageVersionsCreateOrUpdateDefaultResponse, - GalleryImageVersionsDelete200Response, - GalleryImageVersionsDelete202Response, - GalleryImageVersionsDelete204Response, - GalleryImageVersionsDeleteDefaultResponse, - GalleryImageVersionsGet200Response, - GalleryImageVersionsGetDefaultResponse, - GalleryImageVersionsListByGalleryImage200Response, - GalleryImageVersionsListByGalleryImageDefaultResponse, - GalleryImageVersionsUpdate200Response, - GalleryImageVersionsUpdateDefaultResponse, - GalleryImagesCreateOrUpdate200Response, - GalleryImagesCreateOrUpdate201Response, - GalleryImagesCreateOrUpdate202Response, - GalleryImagesCreateOrUpdateDefaultResponse, - GalleryImagesDelete200Response, - GalleryImagesDelete202Response, - GalleryImagesDelete204Response, - GalleryImagesDeleteDefaultResponse, - GalleryImagesGet200Response, - GalleryImagesGetDefaultResponse, - GalleryImagesListByGallery200Response, - GalleryImagesListByGalleryDefaultResponse, - GalleryImagesUpdate200Response, - GalleryImagesUpdateDefaultResponse, - GallerySharingProfileUpdate200Response, - GallerySharingProfileUpdate202Response, - GallerySharingProfileUpdateDefaultResponse, - ImagesCreateOrUpdate200Response, - ImagesCreateOrUpdate201Response, - ImagesCreateOrUpdateDefaultResponse, - ImagesDelete200Response, - ImagesDelete202Response, - ImagesDelete204Response, - ImagesDeleteDefaultResponse, - ImagesGet200Response, - ImagesGetDefaultResponse, - ImagesList200Response, - ImagesListByResourceGroup200Response, - ImagesListByResourceGroupDefaultResponse, - ImagesListDefaultResponse, - ImagesUpdate200Response, - ImagesUpdate201Response, - ImagesUpdateDefaultResponse, - LogAnalyticsExportRequestRateByInterval200Response, - LogAnalyticsExportRequestRateByInterval202Response, - LogAnalyticsExportRequestRateByIntervalDefaultResponse, - LogAnalyticsExportThrottledRequests200Response, - LogAnalyticsExportThrottledRequests202Response, - LogAnalyticsExportThrottledRequestsDefaultResponse, - OperationsList200Response, - OperationsListDefaultResponse, - ProximityPlacementGroupsCreateOrUpdate200Response, - ProximityPlacementGroupsCreateOrUpdate201Response, - ProximityPlacementGroupsCreateOrUpdateDefaultResponse, - ProximityPlacementGroupsDelete200Response, - ProximityPlacementGroupsDeleteDefaultResponse, - ProximityPlacementGroupsGet200Response, - ProximityPlacementGroupsGetDefaultResponse, - ProximityPlacementGroupsListByResourceGroup200Response, - ProximityPlacementGroupsListByResourceGroupDefaultResponse, - ProximityPlacementGroupsListBySubscription200Response, - ProximityPlacementGroupsListBySubscriptionDefaultResponse, - ProximityPlacementGroupsUpdate200Response, - ProximityPlacementGroupsUpdateDefaultResponse, - ResourceSkusList200Response, - RestorePointCollectionsCreateOrUpdate200Response, - RestorePointCollectionsCreateOrUpdate201Response, - RestorePointCollectionsCreateOrUpdateDefaultResponse, - RestorePointCollectionsDelete200Response, - RestorePointCollectionsDelete202Response, - RestorePointCollectionsDelete204Response, - RestorePointCollectionsDeleteDefaultResponse, - RestorePointCollectionsGet200Response, - RestorePointCollectionsGetDefaultResponse, - RestorePointCollectionsList200Response, - RestorePointCollectionsListAll200Response, - RestorePointCollectionsListAllDefaultResponse, - RestorePointCollectionsListDefaultResponse, - RestorePointCollectionsUpdate200Response, - RestorePointCollectionsUpdateDefaultResponse, - RestorePointsCreate201Response, - RestorePointsCreateDefaultResponse, - RestorePointsDelete200Response, - RestorePointsDelete202Response, - RestorePointsDelete204Response, - RestorePointsDeleteDefaultResponse, - RestorePointsGet200Response, - RestorePointsGetDefaultResponse, - SharedGalleriesGet200Response, - SharedGalleriesGetDefaultResponse, - SharedGalleriesList200Response, - SharedGalleriesListDefaultResponse, - SharedGalleryImageVersionsGet200Response, - SharedGalleryImageVersionsGetDefaultResponse, - SharedGalleryImageVersionsList200Response, - SharedGalleryImageVersionsListDefaultResponse, - SharedGalleryImagesGet200Response, - SharedGalleryImagesGetDefaultResponse, - SharedGalleryImagesList200Response, - SharedGalleryImagesListDefaultResponse, - SnapshotsCreateOrUpdate200Response, - SnapshotsCreateOrUpdate202Response, - SnapshotsDelete200Response, - SnapshotsDelete202Response, - SnapshotsDelete204Response, - SnapshotsGet200Response, - SnapshotsGrantAccess200Response, - SnapshotsGrantAccess202Response, - SnapshotsList200Response, - SnapshotsListByResourceGroup200Response, - SnapshotsRevokeAccess200Response, - SnapshotsRevokeAccess202Response, - SnapshotsUpdate200Response, - SnapshotsUpdate202Response, - SshPublicKeysCreate200Response, - SshPublicKeysCreate201Response, - SshPublicKeysCreateDefaultResponse, - SshPublicKeysDelete200Response, - SshPublicKeysDelete204Response, - SshPublicKeysDeleteDefaultResponse, - SshPublicKeysGenerateKeyPair200Response, - SshPublicKeysGenerateKeyPairDefaultResponse, - SshPublicKeysGet200Response, - SshPublicKeysGetDefaultResponse, - SshPublicKeysListByResourceGroup200Response, - SshPublicKeysListByResourceGroupDefaultResponse, - SshPublicKeysListBySubscription200Response, - SshPublicKeysListBySubscriptionDefaultResponse, - SshPublicKeysUpdate200Response, - SshPublicKeysUpdateDefaultResponse, - UsageList200Response, - UsageListDefaultResponse, - VirtualMachineExtensionImagesGet200Response, - VirtualMachineExtensionImagesGetDefaultResponse, - VirtualMachineExtensionImagesListTypes200Response, - VirtualMachineExtensionImagesListTypesDefaultResponse, - VirtualMachineExtensionImagesListVersions200Response, - VirtualMachineExtensionImagesListVersionsDefaultResponse, - VirtualMachineExtensionsCreateOrUpdate200Response, - VirtualMachineExtensionsCreateOrUpdate201Response, - VirtualMachineExtensionsCreateOrUpdateDefaultResponse, - VirtualMachineExtensionsDelete200Response, - VirtualMachineExtensionsDelete202Response, - VirtualMachineExtensionsDelete204Response, - VirtualMachineExtensionsDeleteDefaultResponse, - VirtualMachineExtensionsGet200Response, - VirtualMachineExtensionsGetDefaultResponse, - VirtualMachineExtensionsList200Response, - VirtualMachineExtensionsListDefaultResponse, - VirtualMachineExtensionsUpdate200Response, - VirtualMachineExtensionsUpdateDefaultResponse, - VirtualMachineImagesEdgeZoneGet200Response, - VirtualMachineImagesEdgeZoneGetDefaultResponse, - VirtualMachineImagesEdgeZoneList200Response, - VirtualMachineImagesEdgeZoneListDefaultResponse, - VirtualMachineImagesEdgeZoneListOffers200Response, - VirtualMachineImagesEdgeZoneListOffersDefaultResponse, - VirtualMachineImagesEdgeZoneListPublishers200Response, - VirtualMachineImagesEdgeZoneListPublishersDefaultResponse, - VirtualMachineImagesEdgeZoneListSkus200Response, - VirtualMachineImagesEdgeZoneListSkusDefaultResponse, - VirtualMachineImagesGet200Response, - VirtualMachineImagesGetDefaultResponse, - VirtualMachineImagesList200Response, - VirtualMachineImagesListByEdgeZone200Response, - VirtualMachineImagesListByEdgeZoneDefaultResponse, - VirtualMachineImagesListDefaultResponse, - VirtualMachineImagesListOffers200Response, - VirtualMachineImagesListOffersDefaultResponse, - VirtualMachineImagesListPublishers200Response, - VirtualMachineImagesListPublishersDefaultResponse, - VirtualMachineImagesListSkus200Response, - VirtualMachineImagesListSkusDefaultResponse, - VirtualMachineRunCommandsCreateOrUpdate200Response, - VirtualMachineRunCommandsCreateOrUpdate201Response, - VirtualMachineRunCommandsCreateOrUpdateDefaultResponse, - VirtualMachineRunCommandsDelete200Response, - VirtualMachineRunCommandsDelete202Response, - VirtualMachineRunCommandsDelete204Response, - VirtualMachineRunCommandsDeleteDefaultResponse, - VirtualMachineRunCommandsGet200Response, - VirtualMachineRunCommandsGetByVirtualMachine200Response, - VirtualMachineRunCommandsGetByVirtualMachineDefaultResponse, - VirtualMachineRunCommandsList200Response, - VirtualMachineRunCommandsListByVirtualMachine200Response, - VirtualMachineRunCommandsListByVirtualMachineDefaultResponse, - VirtualMachineRunCommandsUpdate200Response, - VirtualMachineRunCommandsUpdateDefaultResponse, + OperationsList200Response, + OperationsListDefaultResponse, + UsageList200Response, + UsageListDefaultResponse, + VirtualMachineSizesList200Response, + VirtualMachineSizesListDefaultResponse, + VirtualMachineScaleSetsListByLocation200Response, + VirtualMachineScaleSetsListByLocationDefaultResponse, + VirtualMachineScaleSetsCreateOrUpdate200Response, + VirtualMachineScaleSetsCreateOrUpdate201Response, + VirtualMachineScaleSetsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetsUpdate200Response, + VirtualMachineScaleSetsUpdateDefaultResponse, + VirtualMachineScaleSetsDelete200Response, + VirtualMachineScaleSetsDelete202Response, + VirtualMachineScaleSetsDelete204Response, + VirtualMachineScaleSetsDeleteDefaultResponse, + VirtualMachineScaleSetsGet200Response, + VirtualMachineScaleSetsGetDefaultResponse, + VirtualMachineScaleSetsDeallocate200Response, + VirtualMachineScaleSetsDeallocate202Response, + VirtualMachineScaleSetsDeallocateDefaultResponse, + VirtualMachineScaleSetsDeleteInstances200Response, + VirtualMachineScaleSetsDeleteInstances202Response, + VirtualMachineScaleSetsDeleteInstancesDefaultResponse, + VirtualMachineScaleSetsGetInstanceView200Response, + VirtualMachineScaleSetsGetInstanceViewDefaultResponse, + VirtualMachineScaleSetsList200Response, + VirtualMachineScaleSetsListDefaultResponse, + VirtualMachineScaleSetsListAll200Response, + VirtualMachineScaleSetsListAllDefaultResponse, + VirtualMachineScaleSetsListSkus200Response, + VirtualMachineScaleSetsListSkusDefaultResponse, + VirtualMachineScaleSetsGetOSUpgradeHistory200Response, + VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse, + VirtualMachineScaleSetsPowerOff200Response, + VirtualMachineScaleSetsPowerOff202Response, + VirtualMachineScaleSetsPowerOffDefaultResponse, + VirtualMachineScaleSetsRestart200Response, + VirtualMachineScaleSetsRestart202Response, + VirtualMachineScaleSetsRestartDefaultResponse, + VirtualMachineScaleSetsStart200Response, + VirtualMachineScaleSetsStart202Response, + VirtualMachineScaleSetsStartDefaultResponse, + VirtualMachineScaleSetsRedeploy200Response, + VirtualMachineScaleSetsRedeploy202Response, + VirtualMachineScaleSetsRedeployDefaultResponse, + VirtualMachineScaleSetsPerformMaintenance200Response, + VirtualMachineScaleSetsPerformMaintenance202Response, + VirtualMachineScaleSetsPerformMaintenanceDefaultResponse, + VirtualMachineScaleSetsUpdateInstances200Response, + VirtualMachineScaleSetsUpdateInstances202Response, + VirtualMachineScaleSetsUpdateInstancesDefaultResponse, + VirtualMachineScaleSetsReimage200Response, + VirtualMachineScaleSetsReimage202Response, + VirtualMachineScaleSetsReimageDefaultResponse, + VirtualMachineScaleSetsReimageAll200Response, + VirtualMachineScaleSetsReimageAll202Response, + VirtualMachineScaleSetsReimageAllDefaultResponse, + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalk200Response, + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkDefaultResponse, + VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response, + VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResponse, + VirtualMachineScaleSetsSetOrchestrationServiceState200Response, + VirtualMachineScaleSetsSetOrchestrationServiceState202Response, + VirtualMachineScaleSetsSetOrchestrationServiceStateDefaultResponse, VirtualMachineScaleSetExtensionsCreateOrUpdate200Response, VirtualMachineScaleSetExtensionsCreateOrUpdate201Response, VirtualMachineScaleSetExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetExtensionsUpdate200Response, + VirtualMachineScaleSetExtensionsUpdate201Response, + VirtualMachineScaleSetExtensionsUpdateDefaultResponse, VirtualMachineScaleSetExtensionsDelete200Response, VirtualMachineScaleSetExtensionsDelete202Response, VirtualMachineScaleSetExtensionsDelete204Response, @@ -757,23 +363,22 @@ import type { VirtualMachineScaleSetExtensionsGetDefaultResponse, VirtualMachineScaleSetExtensionsList200Response, VirtualMachineScaleSetExtensionsListDefaultResponse, - VirtualMachineScaleSetExtensionsUpdate200Response, - VirtualMachineScaleSetExtensionsUpdate201Response, - VirtualMachineScaleSetExtensionsUpdateDefaultResponse, VirtualMachineScaleSetRollingUpgradesCancel200Response, VirtualMachineScaleSetRollingUpgradesCancel202Response, VirtualMachineScaleSetRollingUpgradesCancelDefaultResponse, - VirtualMachineScaleSetRollingUpgradesGetLatest200Response, - VirtualMachineScaleSetRollingUpgradesGetLatestDefaultResponse, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeDefaultResponse, VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response, VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response, VirtualMachineScaleSetRollingUpgradesStartOSUpgradeDefaultResponse, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeDefaultResponse, + VirtualMachineScaleSetRollingUpgradesGetLatest200Response, + VirtualMachineScaleSetRollingUpgradesGetLatestDefaultResponse, VirtualMachineScaleSetVMExtensionsCreateOrUpdate200Response, VirtualMachineScaleSetVMExtensionsCreateOrUpdate201Response, VirtualMachineScaleSetVMExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetVMExtensionsUpdate200Response, + VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse, VirtualMachineScaleSetVMExtensionsDelete200Response, VirtualMachineScaleSetVMExtensionsDelete202Response, VirtualMachineScaleSetVMExtensionsDelete204Response, @@ -782,24 +387,18 @@ import type { VirtualMachineScaleSetVMExtensionsGetDefaultResponse, VirtualMachineScaleSetVMExtensionsList200Response, VirtualMachineScaleSetVMExtensionsListDefaultResponse, - VirtualMachineScaleSetVMExtensionsUpdate200Response, - VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdate200Response, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdate201Response, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetVMRunCommandsDelete200Response, - VirtualMachineScaleSetVMRunCommandsDelete202Response, - VirtualMachineScaleSetVMRunCommandsDelete204Response, - VirtualMachineScaleSetVMRunCommandsDeleteDefaultResponse, - VirtualMachineScaleSetVMRunCommandsGet200Response, - VirtualMachineScaleSetVMRunCommandsGetDefaultResponse, - VirtualMachineScaleSetVMRunCommandsList200Response, - VirtualMachineScaleSetVMRunCommandsListDefaultResponse, - VirtualMachineScaleSetVMRunCommandsUpdate200Response, - VirtualMachineScaleSetVMRunCommandsUpdateDefaultResponse, + VirtualMachineScaleSetVMsReimage200Response, + VirtualMachineScaleSetVMsReimage202Response, + VirtualMachineScaleSetVMsReimageDefaultResponse, + VirtualMachineScaleSetVMsReimageAll200Response, + VirtualMachineScaleSetVMsReimageAll202Response, + VirtualMachineScaleSetVMsReimageAllDefaultResponse, VirtualMachineScaleSetVMsDeallocate200Response, VirtualMachineScaleSetVMsDeallocate202Response, VirtualMachineScaleSetVMsDeallocateDefaultResponse, + VirtualMachineScaleSetVMsUpdate200Response, + VirtualMachineScaleSetVMsUpdate202Response, + VirtualMachineScaleSetVMsUpdateDefaultResponse, VirtualMachineScaleSetVMsDelete200Response, VirtualMachineScaleSetVMsDelete202Response, VirtualMachineScaleSetVMsDelete204Response, @@ -810,164 +409,565 @@ import type { VirtualMachineScaleSetVMsGetInstanceViewDefaultResponse, VirtualMachineScaleSetVMsList200Response, VirtualMachineScaleSetVMsListDefaultResponse, - VirtualMachineScaleSetVMsPerformMaintenance200Response, - VirtualMachineScaleSetVMsPerformMaintenance202Response, - VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse, VirtualMachineScaleSetVMsPowerOff200Response, VirtualMachineScaleSetVMsPowerOff202Response, VirtualMachineScaleSetVMsPowerOffDefaultResponse, - VirtualMachineScaleSetVMsRedeploy200Response, - VirtualMachineScaleSetVMsRedeploy202Response, - VirtualMachineScaleSetVMsRedeployDefaultResponse, - VirtualMachineScaleSetVMsReimage200Response, - VirtualMachineScaleSetVMsReimage202Response, - VirtualMachineScaleSetVMsReimageAll200Response, - VirtualMachineScaleSetVMsReimageAll202Response, - VirtualMachineScaleSetVMsReimageAllDefaultResponse, - VirtualMachineScaleSetVMsReimageDefaultResponse, VirtualMachineScaleSetVMsRestart200Response, VirtualMachineScaleSetVMsRestart202Response, VirtualMachineScaleSetVMsRestartDefaultResponse, + VirtualMachineScaleSetVMsStart200Response, + VirtualMachineScaleSetVMsStart202Response, + VirtualMachineScaleSetVMsStartDefaultResponse, + VirtualMachineScaleSetVMsRedeploy200Response, + VirtualMachineScaleSetVMsRedeploy202Response, + VirtualMachineScaleSetVMsRedeployDefaultResponse, VirtualMachineScaleSetVMsRetrieveBootDiagnosticsData200Response, VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataDefaultResponse, - VirtualMachineScaleSetVMsRunCommand200Response, - VirtualMachineScaleSetVMsRunCommand202Response, + VirtualMachineScaleSetVMsPerformMaintenance200Response, + VirtualMachineScaleSetVMsPerformMaintenance202Response, + VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse, VirtualMachineScaleSetVMsSimulateEviction204Response, VirtualMachineScaleSetVMsSimulateEvictionDefaultResponse, - VirtualMachineScaleSetVMsStart200Response, - VirtualMachineScaleSetVMsStart202Response, - VirtualMachineScaleSetVMsStartDefaultResponse, - VirtualMachineScaleSetVMsUpdate200Response, - VirtualMachineScaleSetVMsUpdate202Response, - VirtualMachineScaleSetVMsUpdateDefaultResponse, - VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response, - VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResponse, - VirtualMachineScaleSetsCreateOrUpdate200Response, - VirtualMachineScaleSetsCreateOrUpdate201Response, - VirtualMachineScaleSetsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetsDeallocate200Response, - VirtualMachineScaleSetsDeallocate202Response, - VirtualMachineScaleSetsDeallocateDefaultResponse, - VirtualMachineScaleSetsDelete200Response, - VirtualMachineScaleSetsDelete202Response, - VirtualMachineScaleSetsDelete204Response, - VirtualMachineScaleSetsDeleteDefaultResponse, - VirtualMachineScaleSetsDeleteInstances200Response, - VirtualMachineScaleSetsDeleteInstances202Response, - VirtualMachineScaleSetsDeleteInstancesDefaultResponse, - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalk200Response, - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkDefaultResponse, - VirtualMachineScaleSetsGet200Response, - VirtualMachineScaleSetsGetDefaultResponse, - VirtualMachineScaleSetsGetInstanceView200Response, - VirtualMachineScaleSetsGetInstanceViewDefaultResponse, - VirtualMachineScaleSetsGetOSUpgradeHistory200Response, - VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse, - VirtualMachineScaleSetsList200Response, - VirtualMachineScaleSetsListAll200Response, - VirtualMachineScaleSetsListAllDefaultResponse, - VirtualMachineScaleSetsListByLocation200Response, - VirtualMachineScaleSetsListByLocationDefaultResponse, - VirtualMachineScaleSetsListDefaultResponse, - VirtualMachineScaleSetsListSkus200Response, - VirtualMachineScaleSetsListSkusDefaultResponse, - VirtualMachineScaleSetsPerformMaintenance200Response, - VirtualMachineScaleSetsPerformMaintenance202Response, - VirtualMachineScaleSetsPerformMaintenanceDefaultResponse, - VirtualMachineScaleSetsPowerOff200Response, - VirtualMachineScaleSetsPowerOff202Response, - VirtualMachineScaleSetsPowerOffDefaultResponse, - VirtualMachineScaleSetsRedeploy200Response, - VirtualMachineScaleSetsRedeploy202Response, - VirtualMachineScaleSetsRedeployDefaultResponse, - VirtualMachineScaleSetsReimage200Response, - VirtualMachineScaleSetsReimage202Response, - VirtualMachineScaleSetsReimageAll200Response, - VirtualMachineScaleSetsReimageAll202Response, - VirtualMachineScaleSetsReimageAllDefaultResponse, - VirtualMachineScaleSetsReimageDefaultResponse, - VirtualMachineScaleSetsRestart200Response, - VirtualMachineScaleSetsRestart202Response, - VirtualMachineScaleSetsRestartDefaultResponse, - VirtualMachineScaleSetsSetOrchestrationServiceState200Response, - VirtualMachineScaleSetsSetOrchestrationServiceState202Response, - VirtualMachineScaleSetsSetOrchestrationServiceStateDefaultResponse, - VirtualMachineScaleSetsStart200Response, - VirtualMachineScaleSetsStart202Response, - VirtualMachineScaleSetsStartDefaultResponse, - VirtualMachineScaleSetsUpdate200Response, - VirtualMachineScaleSetsUpdateDefaultResponse, - VirtualMachineScaleSetsUpdateInstances200Response, - VirtualMachineScaleSetsUpdateInstances202Response, - VirtualMachineScaleSetsUpdateInstancesDefaultResponse, - VirtualMachineSizesList200Response, - VirtualMachineSizesListDefaultResponse, - VirtualMachinesAssessPatches200Response, - VirtualMachinesAssessPatches202Response, - VirtualMachinesAssessPatchesDefaultResponse, + VirtualMachineScaleSetVMsRunCommand200Response, + VirtualMachineScaleSetVMsRunCommand202Response, + VirtualMachineExtensionsCreateOrUpdate200Response, + VirtualMachineExtensionsCreateOrUpdate201Response, + VirtualMachineExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineExtensionsUpdate200Response, + VirtualMachineExtensionsUpdateDefaultResponse, + VirtualMachineExtensionsDelete200Response, + VirtualMachineExtensionsDelete202Response, + VirtualMachineExtensionsDelete204Response, + VirtualMachineExtensionsDeleteDefaultResponse, + VirtualMachineExtensionsGet200Response, + VirtualMachineExtensionsGetDefaultResponse, + VirtualMachineExtensionsList200Response, + VirtualMachineExtensionsListDefaultResponse, + VirtualMachinesListByLocation200Response, + VirtualMachinesListByLocationDefaultResponse, VirtualMachinesCapture200Response, VirtualMachinesCapture202Response, - VirtualMachinesCaptureDefaultResponse, - VirtualMachinesConvertToManagedDisks200Response, - VirtualMachinesConvertToManagedDisks202Response, - VirtualMachinesConvertToManagedDisksDefaultResponse, + VirtualMachinesCaptureDefaultResponse, VirtualMachinesCreateOrUpdate200Response, VirtualMachinesCreateOrUpdate201Response, VirtualMachinesCreateOrUpdateDefaultResponse, - VirtualMachinesDeallocate200Response, - VirtualMachinesDeallocate202Response, - VirtualMachinesDeallocateDefaultResponse, + VirtualMachinesUpdate200Response, + VirtualMachinesUpdateDefaultResponse, VirtualMachinesDelete200Response, VirtualMachinesDelete202Response, VirtualMachinesDelete204Response, VirtualMachinesDeleteDefaultResponse, - VirtualMachinesGeneralize200Response, - VirtualMachinesGeneralizeDefaultResponse, VirtualMachinesGet200Response, VirtualMachinesGetDefaultResponse, - VirtualMachinesInstallPatches200Response, - VirtualMachinesInstallPatches202Response, - VirtualMachinesInstallPatchesDefaultResponse, VirtualMachinesInstanceView200Response, VirtualMachinesInstanceViewDefaultResponse, + VirtualMachinesConvertToManagedDisks200Response, + VirtualMachinesConvertToManagedDisks202Response, + VirtualMachinesConvertToManagedDisksDefaultResponse, + VirtualMachinesDeallocate200Response, + VirtualMachinesDeallocate202Response, + VirtualMachinesDeallocateDefaultResponse, + VirtualMachinesGeneralize200Response, + VirtualMachinesGeneralizeDefaultResponse, VirtualMachinesList200Response, + VirtualMachinesListDefaultResponse, VirtualMachinesListAll200Response, VirtualMachinesListAllDefaultResponse, VirtualMachinesListAvailableSizes200Response, VirtualMachinesListAvailableSizesDefaultResponse, - VirtualMachinesListByLocation200Response, - VirtualMachinesListByLocationDefaultResponse, - VirtualMachinesListDefaultResponse, - VirtualMachinesPerformMaintenance200Response, - VirtualMachinesPerformMaintenance202Response, - VirtualMachinesPerformMaintenanceDefaultResponse, VirtualMachinesPowerOff200Response, VirtualMachinesPowerOff202Response, VirtualMachinesPowerOffDefaultResponse, VirtualMachinesReapply200Response, VirtualMachinesReapply202Response, VirtualMachinesReapplyDefaultResponse, + VirtualMachinesRestart200Response, + VirtualMachinesRestart202Response, + VirtualMachinesRestartDefaultResponse, + VirtualMachinesStart200Response, + VirtualMachinesStart202Response, + VirtualMachinesStartDefaultResponse, VirtualMachinesRedeploy200Response, VirtualMachinesRedeploy202Response, VirtualMachinesRedeployDefaultResponse, VirtualMachinesReimage200Response, VirtualMachinesReimage202Response, VirtualMachinesReimageDefaultResponse, - VirtualMachinesRestart200Response, - VirtualMachinesRestart202Response, - VirtualMachinesRestartDefaultResponse, VirtualMachinesRetrieveBootDiagnosticsData200Response, VirtualMachinesRetrieveBootDiagnosticsDataDefaultResponse, - VirtualMachinesRunCommand200Response, - VirtualMachinesRunCommand202Response, + VirtualMachinesPerformMaintenance200Response, + VirtualMachinesPerformMaintenance202Response, + VirtualMachinesPerformMaintenanceDefaultResponse, VirtualMachinesSimulateEviction204Response, VirtualMachinesSimulateEvictionDefaultResponse, - VirtualMachinesStart200Response, - VirtualMachinesStart202Response, - VirtualMachinesStartDefaultResponse, - VirtualMachinesUpdate200Response, - VirtualMachinesUpdateDefaultResponse, -} from "./responses"; + VirtualMachinesAssessPatches200Response, + VirtualMachinesAssessPatches202Response, + VirtualMachinesAssessPatchesDefaultResponse, + VirtualMachinesInstallPatches200Response, + VirtualMachinesInstallPatches202Response, + VirtualMachinesInstallPatchesDefaultResponse, + VirtualMachinesRunCommand200Response, + VirtualMachinesRunCommand202Response, + VirtualMachineImagesGet200Response, + VirtualMachineImagesGetDefaultResponse, + VirtualMachineImagesList200Response, + VirtualMachineImagesListDefaultResponse, + VirtualMachineImagesListOffers200Response, + VirtualMachineImagesListOffersDefaultResponse, + VirtualMachineImagesListPublishers200Response, + VirtualMachineImagesListPublishersDefaultResponse, + VirtualMachineImagesListSkus200Response, + VirtualMachineImagesListSkusDefaultResponse, + VirtualMachineImagesListByEdgeZone200Response, + VirtualMachineImagesListByEdgeZoneDefaultResponse, + VirtualMachineImagesEdgeZoneGet200Response, + VirtualMachineImagesEdgeZoneGetDefaultResponse, + VirtualMachineImagesEdgeZoneList200Response, + VirtualMachineImagesEdgeZoneListDefaultResponse, + VirtualMachineImagesEdgeZoneListOffers200Response, + VirtualMachineImagesEdgeZoneListOffersDefaultResponse, + VirtualMachineImagesEdgeZoneListPublishers200Response, + VirtualMachineImagesEdgeZoneListPublishersDefaultResponse, + VirtualMachineImagesEdgeZoneListSkus200Response, + VirtualMachineImagesEdgeZoneListSkusDefaultResponse, + VirtualMachineExtensionImagesGet200Response, + VirtualMachineExtensionImagesGetDefaultResponse, + VirtualMachineExtensionImagesListTypes200Response, + VirtualMachineExtensionImagesListTypesDefaultResponse, + VirtualMachineExtensionImagesListVersions200Response, + VirtualMachineExtensionImagesListVersionsDefaultResponse, + AvailabilitySetsCreateOrUpdate200Response, + AvailabilitySetsCreateOrUpdateDefaultResponse, + AvailabilitySetsUpdate200Response, + AvailabilitySetsUpdateDefaultResponse, + AvailabilitySetsDelete200Response, + AvailabilitySetsDelete204Response, + AvailabilitySetsDeleteDefaultResponse, + AvailabilitySetsGet200Response, + AvailabilitySetsGetDefaultResponse, + AvailabilitySetsListBySubscription200Response, + AvailabilitySetsListBySubscriptionDefaultResponse, + AvailabilitySetsList200Response, + AvailabilitySetsListDefaultResponse, + AvailabilitySetsListAvailableSizes200Response, + AvailabilitySetsListAvailableSizesDefaultResponse, + ProximityPlacementGroupsCreateOrUpdate200Response, + ProximityPlacementGroupsCreateOrUpdate201Response, + ProximityPlacementGroupsCreateOrUpdateDefaultResponse, + ProximityPlacementGroupsUpdate200Response, + ProximityPlacementGroupsUpdateDefaultResponse, + ProximityPlacementGroupsDelete200Response, + ProximityPlacementGroupsDeleteDefaultResponse, + ProximityPlacementGroupsGet200Response, + ProximityPlacementGroupsGetDefaultResponse, + ProximityPlacementGroupsListBySubscription200Response, + ProximityPlacementGroupsListBySubscriptionDefaultResponse, + ProximityPlacementGroupsListByResourceGroup200Response, + ProximityPlacementGroupsListByResourceGroupDefaultResponse, + DedicatedHostGroupsCreateOrUpdate200Response, + DedicatedHostGroupsCreateOrUpdate201Response, + DedicatedHostGroupsCreateOrUpdateDefaultResponse, + DedicatedHostGroupsUpdate200Response, + DedicatedHostGroupsUpdateDefaultResponse, + DedicatedHostGroupsDelete200Response, + DedicatedHostGroupsDelete204Response, + DedicatedHostGroupsDeleteDefaultResponse, + DedicatedHostGroupsGet200Response, + DedicatedHostGroupsGetDefaultResponse, + DedicatedHostGroupsListByResourceGroup200Response, + DedicatedHostGroupsListByResourceGroupDefaultResponse, + DedicatedHostGroupsListBySubscription200Response, + DedicatedHostGroupsListBySubscriptionDefaultResponse, + DedicatedHostsCreateOrUpdate200Response, + DedicatedHostsCreateOrUpdate201Response, + DedicatedHostsCreateOrUpdateDefaultResponse, + DedicatedHostsUpdate200Response, + DedicatedHostsUpdateDefaultResponse, + DedicatedHostsDelete200Response, + DedicatedHostsDelete202Response, + DedicatedHostsDelete204Response, + DedicatedHostsDeleteDefaultResponse, + DedicatedHostsGet200Response, + DedicatedHostsGetDefaultResponse, + DedicatedHostsListByHostGroup200Response, + DedicatedHostsListByHostGroupDefaultResponse, + DedicatedHostsRestart200Response, + DedicatedHostsRestartDefaultResponse, + SshPublicKeysListBySubscription200Response, + SshPublicKeysListBySubscriptionDefaultResponse, + SshPublicKeysListByResourceGroup200Response, + SshPublicKeysListByResourceGroupDefaultResponse, + SshPublicKeysCreate200Response, + SshPublicKeysCreate201Response, + SshPublicKeysCreateDefaultResponse, + SshPublicKeysUpdate200Response, + SshPublicKeysUpdateDefaultResponse, + SshPublicKeysDelete200Response, + SshPublicKeysDelete204Response, + SshPublicKeysDeleteDefaultResponse, + SshPublicKeysGet200Response, + SshPublicKeysGetDefaultResponse, + SshPublicKeysGenerateKeyPair200Response, + SshPublicKeysGenerateKeyPairDefaultResponse, + ImagesCreateOrUpdate200Response, + ImagesCreateOrUpdate201Response, + ImagesCreateOrUpdateDefaultResponse, + ImagesUpdate200Response, + ImagesUpdate201Response, + ImagesUpdateDefaultResponse, + ImagesDelete200Response, + ImagesDelete202Response, + ImagesDelete204Response, + ImagesDeleteDefaultResponse, + ImagesGet200Response, + ImagesGetDefaultResponse, + ImagesListByResourceGroup200Response, + ImagesListByResourceGroupDefaultResponse, + ImagesList200Response, + ImagesListDefaultResponse, + RestorePointCollectionsCreateOrUpdate200Response, + RestorePointCollectionsCreateOrUpdate201Response, + RestorePointCollectionsCreateOrUpdateDefaultResponse, + RestorePointCollectionsUpdate200Response, + RestorePointCollectionsUpdateDefaultResponse, + RestorePointCollectionsDelete200Response, + RestorePointCollectionsDelete202Response, + RestorePointCollectionsDelete204Response, + RestorePointCollectionsDeleteDefaultResponse, + RestorePointCollectionsGet200Response, + RestorePointCollectionsGetDefaultResponse, + RestorePointCollectionsList200Response, + RestorePointCollectionsListDefaultResponse, + RestorePointCollectionsListAll200Response, + RestorePointCollectionsListAllDefaultResponse, + RestorePointsCreate201Response, + RestorePointsCreateDefaultResponse, + RestorePointsDelete200Response, + RestorePointsDelete202Response, + RestorePointsDelete204Response, + RestorePointsDeleteDefaultResponse, + RestorePointsGet200Response, + RestorePointsGetDefaultResponse, + CapacityReservationGroupsCreateOrUpdate200Response, + CapacityReservationGroupsCreateOrUpdate201Response, + CapacityReservationGroupsCreateOrUpdateDefaultResponse, + CapacityReservationGroupsUpdate200Response, + CapacityReservationGroupsUpdateDefaultResponse, + CapacityReservationGroupsDelete200Response, + CapacityReservationGroupsDelete204Response, + CapacityReservationGroupsDeleteDefaultResponse, + CapacityReservationGroupsGet200Response, + CapacityReservationGroupsGetDefaultResponse, + CapacityReservationGroupsListByResourceGroup200Response, + CapacityReservationGroupsListByResourceGroupDefaultResponse, + CapacityReservationGroupsListBySubscription200Response, + CapacityReservationGroupsListBySubscriptionDefaultResponse, + CapacityReservationsCreateOrUpdate200Response, + CapacityReservationsCreateOrUpdate201Response, + CapacityReservationsCreateOrUpdateDefaultResponse, + CapacityReservationsUpdate200Response, + CapacityReservationsUpdate202Response, + CapacityReservationsUpdateDefaultResponse, + CapacityReservationsDelete200Response, + CapacityReservationsDelete202Response, + CapacityReservationsDelete204Response, + CapacityReservationsDeleteDefaultResponse, + CapacityReservationsGet200Response, + CapacityReservationsGetDefaultResponse, + CapacityReservationsListByCapacityReservationGroup200Response, + CapacityReservationsListByCapacityReservationGroupDefaultResponse, + LogAnalyticsExportRequestRateByInterval200Response, + LogAnalyticsExportRequestRateByInterval202Response, + LogAnalyticsExportRequestRateByIntervalDefaultResponse, + LogAnalyticsExportThrottledRequests200Response, + LogAnalyticsExportThrottledRequests202Response, + LogAnalyticsExportThrottledRequestsDefaultResponse, + VirtualMachineRunCommandsList200Response, + VirtualMachineRunCommandsGet200Response, + VirtualMachineRunCommandsCreateOrUpdate200Response, + VirtualMachineRunCommandsCreateOrUpdate201Response, + VirtualMachineRunCommandsCreateOrUpdateDefaultResponse, + VirtualMachineRunCommandsUpdate200Response, + VirtualMachineRunCommandsUpdateDefaultResponse, + VirtualMachineRunCommandsDelete200Response, + VirtualMachineRunCommandsDelete202Response, + VirtualMachineRunCommandsDelete204Response, + VirtualMachineRunCommandsDeleteDefaultResponse, + VirtualMachineRunCommandsGetByVirtualMachine200Response, + VirtualMachineRunCommandsGetByVirtualMachineDefaultResponse, + VirtualMachineRunCommandsListByVirtualMachine200Response, + VirtualMachineRunCommandsListByVirtualMachineDefaultResponse, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdate200Response, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdate201Response, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetVMRunCommandsUpdate200Response, + VirtualMachineScaleSetVMRunCommandsUpdateDefaultResponse, + VirtualMachineScaleSetVMRunCommandsDelete200Response, + VirtualMachineScaleSetVMRunCommandsDelete202Response, + VirtualMachineScaleSetVMRunCommandsDelete204Response, + VirtualMachineScaleSetVMRunCommandsDeleteDefaultResponse, + VirtualMachineScaleSetVMRunCommandsGet200Response, + VirtualMachineScaleSetVMRunCommandsGetDefaultResponse, + VirtualMachineScaleSetVMRunCommandsList200Response, + VirtualMachineScaleSetVMRunCommandsListDefaultResponse, + DisksCreateOrUpdate200Response, + DisksCreateOrUpdate202Response, + DisksUpdate200Response, + DisksUpdate202Response, + DisksGet200Response, + DisksDelete200Response, + DisksDelete202Response, + DisksDelete204Response, + DisksListByResourceGroup200Response, + DisksList200Response, + DisksGrantAccess200Response, + DisksGrantAccess202Response, + DisksRevokeAccess200Response, + DisksRevokeAccess202Response, + DiskAccessesCreateOrUpdate200Response, + DiskAccessesCreateOrUpdate202Response, + DiskAccessesCreateOrUpdateDefaultResponse, + DiskAccessesUpdate200Response, + DiskAccessesUpdate202Response, + DiskAccessesUpdateDefaultResponse, + DiskAccessesGet200Response, + DiskAccessesGetDefaultResponse, + DiskAccessesDelete200Response, + DiskAccessesDelete202Response, + DiskAccessesDelete204Response, + DiskAccessesDeleteDefaultResponse, + DiskAccessesListByResourceGroup200Response, + DiskAccessesListByResourceGroupDefaultResponse, + DiskAccessesList200Response, + DiskAccessesListDefaultResponse, + DiskAccessesGetPrivateLinkResources200Response, + DiskAccessesUpdateAPrivateEndpointConnection200Response, + DiskAccessesUpdateAPrivateEndpointConnection202Response, + DiskAccessesUpdateAPrivateEndpointConnectionDefaultResponse, + DiskAccessesGetAPrivateEndpointConnection200Response, + DiskAccessesGetAPrivateEndpointConnectionDefaultResponse, + DiskAccessesDeleteAPrivateEndpointConnection200Response, + DiskAccessesDeleteAPrivateEndpointConnection202Response, + DiskAccessesDeleteAPrivateEndpointConnection204Response, + DiskAccessesDeleteAPrivateEndpointConnectionDefaultResponse, + DiskAccessesListPrivateEndpointConnections200Response, + DiskAccessesListPrivateEndpointConnectionsDefaultResponse, + DiskEncryptionSetsCreateOrUpdate200Response, + DiskEncryptionSetsCreateOrUpdate202Response, + DiskEncryptionSetsCreateOrUpdateDefaultResponse, + DiskEncryptionSetsUpdate200Response, + DiskEncryptionSetsUpdate202Response, + DiskEncryptionSetsUpdateDefaultResponse, + DiskEncryptionSetsGet200Response, + DiskEncryptionSetsGetDefaultResponse, + DiskEncryptionSetsDelete200Response, + DiskEncryptionSetsDelete202Response, + DiskEncryptionSetsDelete204Response, + DiskEncryptionSetsDeleteDefaultResponse, + DiskEncryptionSetsListByResourceGroup200Response, + DiskEncryptionSetsListByResourceGroupDefaultResponse, + DiskEncryptionSetsList200Response, + DiskEncryptionSetsListDefaultResponse, + DiskEncryptionSetsListAssociatedResources200Response, + DiskEncryptionSetsListAssociatedResourcesDefaultResponse, + DiskRestorePointGet200Response, + DiskRestorePointGetDefaultResponse, + DiskRestorePointListByRestorePoint200Response, + DiskRestorePointListByRestorePointDefaultResponse, + DiskRestorePointGrantAccess200Response, + DiskRestorePointGrantAccess202Response, + DiskRestorePointGrantAccessDefaultResponse, + DiskRestorePointRevokeAccess200Response, + DiskRestorePointRevokeAccess202Response, + DiskRestorePointRevokeAccessDefaultResponse, + SnapshotsCreateOrUpdate200Response, + SnapshotsCreateOrUpdate202Response, + SnapshotsUpdate200Response, + SnapshotsUpdate202Response, + SnapshotsGet200Response, + SnapshotsDelete200Response, + SnapshotsDelete202Response, + SnapshotsDelete204Response, + SnapshotsListByResourceGroup200Response, + SnapshotsList200Response, + SnapshotsGrantAccess200Response, + SnapshotsGrantAccess202Response, + SnapshotsRevokeAccess200Response, + SnapshotsRevokeAccess202Response, + ResourceSkusList200Response, + GalleriesCreateOrUpdate200Response, + GalleriesCreateOrUpdate201Response, + GalleriesCreateOrUpdate202Response, + GalleriesCreateOrUpdateDefaultResponse, + GalleriesUpdate200Response, + GalleriesUpdateDefaultResponse, + GalleriesGet200Response, + GalleriesGetDefaultResponse, + GalleriesDelete200Response, + GalleriesDelete202Response, + GalleriesDelete204Response, + GalleriesDeleteDefaultResponse, + GalleriesListByResourceGroup200Response, + GalleriesListByResourceGroupDefaultResponse, + GalleriesList200Response, + GalleriesListDefaultResponse, + GalleryImagesCreateOrUpdate200Response, + GalleryImagesCreateOrUpdate201Response, + GalleryImagesCreateOrUpdate202Response, + GalleryImagesCreateOrUpdateDefaultResponse, + GalleryImagesUpdate200Response, + GalleryImagesUpdateDefaultResponse, + GalleryImagesGet200Response, + GalleryImagesGetDefaultResponse, + GalleryImagesDelete200Response, + GalleryImagesDelete202Response, + GalleryImagesDelete204Response, + GalleryImagesDeleteDefaultResponse, + GalleryImagesListByGallery200Response, + GalleryImagesListByGalleryDefaultResponse, + GalleryImageVersionsCreateOrUpdate200Response, + GalleryImageVersionsCreateOrUpdate201Response, + GalleryImageVersionsCreateOrUpdate202Response, + GalleryImageVersionsCreateOrUpdateDefaultResponse, + GalleryImageVersionsUpdate200Response, + GalleryImageVersionsUpdateDefaultResponse, + GalleryImageVersionsGet200Response, + GalleryImageVersionsGetDefaultResponse, + GalleryImageVersionsDelete200Response, + GalleryImageVersionsDelete202Response, + GalleryImageVersionsDelete204Response, + GalleryImageVersionsDeleteDefaultResponse, + GalleryImageVersionsListByGalleryImage200Response, + GalleryImageVersionsListByGalleryImageDefaultResponse, + GalleryApplicationsCreateOrUpdate200Response, + GalleryApplicationsCreateOrUpdate201Response, + GalleryApplicationsCreateOrUpdate202Response, + GalleryApplicationsCreateOrUpdateDefaultResponse, + GalleryApplicationsUpdate200Response, + GalleryApplicationsUpdateDefaultResponse, + GalleryApplicationsGet200Response, + GalleryApplicationsGetDefaultResponse, + GalleryApplicationsDelete200Response, + GalleryApplicationsDelete202Response, + GalleryApplicationsDelete204Response, + GalleryApplicationsDeleteDefaultResponse, + GalleryApplicationsListByGallery200Response, + GalleryApplicationsListByGalleryDefaultResponse, + GalleryApplicationVersionsCreateOrUpdate200Response, + GalleryApplicationVersionsCreateOrUpdate201Response, + GalleryApplicationVersionsCreateOrUpdate202Response, + GalleryApplicationVersionsCreateOrUpdateDefaultResponse, + GalleryApplicationVersionsUpdate200Response, + GalleryApplicationVersionsUpdateDefaultResponse, + GalleryApplicationVersionsGet200Response, + GalleryApplicationVersionsGetDefaultResponse, + GalleryApplicationVersionsDelete200Response, + GalleryApplicationVersionsDelete202Response, + GalleryApplicationVersionsDelete204Response, + GalleryApplicationVersionsDeleteDefaultResponse, + GalleryApplicationVersionsListByGalleryApplication200Response, + GalleryApplicationVersionsListByGalleryApplicationDefaultResponse, + GallerySharingProfileUpdate200Response, + GallerySharingProfileUpdate202Response, + GallerySharingProfileUpdateDefaultResponse, + SharedGalleriesList200Response, + SharedGalleriesListDefaultResponse, + SharedGalleriesGet200Response, + SharedGalleriesGetDefaultResponse, + SharedGalleryImagesList200Response, + SharedGalleryImagesListDefaultResponse, + SharedGalleryImagesGet200Response, + SharedGalleryImagesGetDefaultResponse, + SharedGalleryImageVersionsList200Response, + SharedGalleryImageVersionsListDefaultResponse, + SharedGalleryImageVersionsGet200Response, + SharedGalleryImageVersionsGetDefaultResponse, + CommunityGalleriesGet200Response, + CommunityGalleriesGetDefaultResponse, + CommunityGalleryImagesGet200Response, + CommunityGalleryImagesGetDefaultResponse, + CommunityGalleryImagesList200Response, + CommunityGalleryImagesListDefaultResponse, + CommunityGalleryImageVersionsGet200Response, + CommunityGalleryImageVersionsGetDefaultResponse, + CommunityGalleryImageVersionsList200Response, + CommunityGalleryImageVersionsListDefaultResponse, + CloudServiceRoleInstancesDelete200Response, + CloudServiceRoleInstancesDelete202Response, + CloudServiceRoleInstancesDelete204Response, + CloudServiceRoleInstancesDeleteDefaultResponse, + CloudServiceRoleInstancesGet200Response, + CloudServiceRoleInstancesGetDefaultResponse, + CloudServiceRoleInstancesGetInstanceView200Response, + CloudServiceRoleInstancesGetInstanceViewDefaultResponse, + CloudServiceRoleInstancesList200Response, + CloudServiceRoleInstancesListDefaultResponse, + CloudServiceRoleInstancesRestart200Response, + CloudServiceRoleInstancesRestart202Response, + CloudServiceRoleInstancesRestartDefaultResponse, + CloudServiceRoleInstancesReimage200Response, + CloudServiceRoleInstancesReimage202Response, + CloudServiceRoleInstancesReimageDefaultResponse, + CloudServiceRoleInstancesRebuild200Response, + CloudServiceRoleInstancesRebuild202Response, + CloudServiceRoleInstancesRebuildDefaultResponse, + CloudServiceRoleInstancesGetRemoteDesktopFile200Response, + CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse, + CloudServiceRolesGet200Response, + CloudServiceRolesGetDefaultResponse, + CloudServiceRolesList200Response, + CloudServiceRolesListDefaultResponse, + CloudServicesCreateOrUpdate200Response, + CloudServicesCreateOrUpdate201Response, + CloudServicesCreateOrUpdateDefaultResponse, + CloudServicesUpdate200Response, + CloudServicesUpdateDefaultResponse, + CloudServicesDelete200Response, + CloudServicesDelete202Response, + CloudServicesDelete204Response, + CloudServicesDeleteDefaultResponse, + CloudServicesGet200Response, + CloudServicesGetDefaultResponse, + CloudServicesGetInstanceView200Response, + CloudServicesGetInstanceViewDefaultResponse, + CloudServicesListAll200Response, + CloudServicesListAllDefaultResponse, + CloudServicesList200Response, + CloudServicesListDefaultResponse, + CloudServicesStart200Response, + CloudServicesStart202Response, + CloudServicesStartDefaultResponse, + CloudServicesPowerOff200Response, + CloudServicesPowerOff202Response, + CloudServicesPowerOffDefaultResponse, + CloudServicesRestart200Response, + CloudServicesRestart202Response, + CloudServicesRestartDefaultResponse, + CloudServicesReimage200Response, + CloudServicesReimage202Response, + CloudServicesReimageDefaultResponse, + CloudServicesRebuild200Response, + CloudServicesRebuild202Response, + CloudServicesRebuildDefaultResponse, + CloudServicesDeleteInstances200Response, + CloudServicesDeleteInstances202Response, + CloudServicesDeleteInstancesDefaultResponse, + CloudServicesUpdateDomainWalkUpdateDomain200Response, + CloudServicesUpdateDomainWalkUpdateDomain202Response, + CloudServicesUpdateDomainWalkUpdateDomainDefaultResponse, + CloudServicesUpdateDomainGetUpdateDomain200Response, + CloudServicesUpdateDomainGetUpdateDomainDefaultResponse, + CloudServicesUpdateDomainListUpdateDomains200Response, + CloudServicesUpdateDomainListUpdateDomainsDefaultResponse, + CloudServiceOperatingSystemsGetOSVersion200Response, + CloudServiceOperatingSystemsGetOSVersionDefaultResponse, + CloudServiceOperatingSystemsListOSVersions200Response, + CloudServiceOperatingSystemsListOSVersionsDefaultResponse, + CloudServiceOperatingSystemsGetOSFamily200Response, + CloudServiceOperatingSystemsGetOSFamilyDefaultResponse, + CloudServiceOperatingSystemsListOSFamilies200Response, + CloudServiceOperatingSystemsListOSFamiliesDefaultResponse, +} from "./responses.js"; import type { Client, StreamableMethod } from "@azure-rest/core-client"; export interface OperationsList { diff --git a/sdk/compute/arm-compute-rest/src/computeManagementClient.ts b/sdk/compute/arm-compute-rest/src/computeManagementClient.ts index 988004183db1..143f9fca2e66 100644 --- a/sdk/compute/arm-compute-rest/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute-rest/src/computeManagementClient.ts @@ -3,26 +3,24 @@ import type { ClientOptions } from "@azure-rest/core-client"; import { getClient } from "@azure-rest/core-client"; +import { logger } from "./logger.js"; import type { TokenCredential } from "@azure/core-auth"; -import type { ComputeManagementClient } from "./clientDefinitions"; +import type { ComputeManagementClient } from "./clientDefinitions.js"; + +/** The optional parameters for the client */ +export interface ComputeManagementClientOptions extends ClientOptions {} /** - * Initialize a new instance of the class ComputeManagementClient class. - * @param credentials type: TokenCredential + * Initialize a new instance of `ComputeManagementClient` + * @param credentials - uniquely identify client credential + * @param options - the parameter for all optional parameters */ export default function createClient( credentials: TokenCredential, - options: ClientOptions = {}, + options: ComputeManagementClientOptions = {}, ): ComputeManagementClient { - const baseUrl = options.baseUrl ?? `https://management.azure.com`; - options = { - ...options, - credentials: { - scopes: ["https://management.azure.com/.default"], - }, - }; - - const userAgentInfo = `azsdk-js-arm-compute-rest/1.0.0-beta.1`; + const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const userAgentInfo = `azsdk-js-arm-compute-rest/1.0.0-beta.3`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` @@ -32,9 +30,21 @@ export default function createClient( userAgentOptions: { userAgentPrefix, }, + loggingOptions: { + logger: options.loggingOptions?.logger ?? logger.info, + }, + credentials: { + scopes: options.credentials?.scopes ?? ["https://management.azure.com/.default"], + }, }; + const client = getClient(endpointUrl, credentials, options) as ComputeManagementClient; - const client = getClient(baseUrl, credentials, options) as ComputeManagementClient; + client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); + if (options.apiVersion) { + logger.warning( + "This client does not support client api-version, please change it at the operation level", + ); + } return client; } diff --git a/sdk/compute/arm-compute-rest/src/index.ts b/sdk/compute/arm-compute-rest/src/index.ts index b6db961cf197..f0e801919d50 100644 --- a/sdk/compute/arm-compute-rest/src/index.ts +++ b/sdk/compute/arm-compute-rest/src/index.ts @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import ComputeManagementClient from "./computeManagementClient"; +import ComputeManagementClient from "./computeManagementClient.js"; -export * from "./computeManagementClient"; -export * from "./parameters"; -export * from "./responses"; -export * from "./clientDefinitions"; -export * from "./isUnexpected"; -export * from "./models"; -export * from "./outputModels"; -export * from "./paginateHelper"; -export * from "./pollingHelper"; +export * from "./computeManagementClient.js"; +export * from "./parameters.js"; +export * from "./responses.js"; +export * from "./clientDefinitions.js"; +export * from "./isUnexpected.js"; +export * from "./models.js"; +export * from "./outputModels.js"; +export * from "./paginateHelper.js"; +export * from "./pollingHelper.js"; export default ComputeManagementClient; diff --git a/sdk/compute/arm-compute-rest/src/isUnexpected.ts b/sdk/compute/arm-compute-rest/src/isUnexpected.ts index 7f70c2f69659..4ba3205572af 100644 --- a/sdk/compute/arm-compute-rest/src/isUnexpected.ts +++ b/sdk/compute/arm-compute-rest/src/isUnexpected.ts @@ -2,137 +2,288 @@ // Licensed under the MIT License. import type { + OperationsList200Response, + OperationsListDefaultResponse, + UsageList200Response, + UsageListDefaultResponse, + VirtualMachineSizesList200Response, + VirtualMachineSizesListDefaultResponse, + VirtualMachineScaleSetsListByLocation200Response, + VirtualMachineScaleSetsListByLocationDefaultResponse, + VirtualMachineScaleSetsCreateOrUpdate200Response, + VirtualMachineScaleSetsCreateOrUpdate201Response, + VirtualMachineScaleSetsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetsUpdate200Response, + VirtualMachineScaleSetsUpdateDefaultResponse, + VirtualMachineScaleSetsDelete200Response, + VirtualMachineScaleSetsDelete202Response, + VirtualMachineScaleSetsDelete204Response, + VirtualMachineScaleSetsDeleteDefaultResponse, + VirtualMachineScaleSetsGet200Response, + VirtualMachineScaleSetsGetDefaultResponse, + VirtualMachineScaleSetsDeallocate200Response, + VirtualMachineScaleSetsDeallocate202Response, + VirtualMachineScaleSetsDeallocateDefaultResponse, + VirtualMachineScaleSetsDeleteInstances200Response, + VirtualMachineScaleSetsDeleteInstances202Response, + VirtualMachineScaleSetsDeleteInstancesDefaultResponse, + VirtualMachineScaleSetsGetInstanceView200Response, + VirtualMachineScaleSetsGetInstanceViewDefaultResponse, + VirtualMachineScaleSetsList200Response, + VirtualMachineScaleSetsListDefaultResponse, + VirtualMachineScaleSetsListAll200Response, + VirtualMachineScaleSetsListAllDefaultResponse, + VirtualMachineScaleSetsListSkus200Response, + VirtualMachineScaleSetsListSkusDefaultResponse, + VirtualMachineScaleSetsGetOSUpgradeHistory200Response, + VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse, + VirtualMachineScaleSetsPowerOff200Response, + VirtualMachineScaleSetsPowerOff202Response, + VirtualMachineScaleSetsPowerOffDefaultResponse, + VirtualMachineScaleSetsRestart200Response, + VirtualMachineScaleSetsRestart202Response, + VirtualMachineScaleSetsRestartDefaultResponse, + VirtualMachineScaleSetsStart200Response, + VirtualMachineScaleSetsStart202Response, + VirtualMachineScaleSetsStartDefaultResponse, + VirtualMachineScaleSetsRedeploy200Response, + VirtualMachineScaleSetsRedeploy202Response, + VirtualMachineScaleSetsRedeployDefaultResponse, + VirtualMachineScaleSetsPerformMaintenance200Response, + VirtualMachineScaleSetsPerformMaintenance202Response, + VirtualMachineScaleSetsPerformMaintenanceDefaultResponse, + VirtualMachineScaleSetsUpdateInstances200Response, + VirtualMachineScaleSetsUpdateInstances202Response, + VirtualMachineScaleSetsUpdateInstancesDefaultResponse, + VirtualMachineScaleSetsReimage200Response, + VirtualMachineScaleSetsReimage202Response, + VirtualMachineScaleSetsReimageDefaultResponse, + VirtualMachineScaleSetsReimageAll200Response, + VirtualMachineScaleSetsReimageAll202Response, + VirtualMachineScaleSetsReimageAllDefaultResponse, + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalk200Response, + VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkDefaultResponse, + VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response, + VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResponse, + VirtualMachineScaleSetsSetOrchestrationServiceState200Response, + VirtualMachineScaleSetsSetOrchestrationServiceState202Response, + VirtualMachineScaleSetsSetOrchestrationServiceStateDefaultResponse, + VirtualMachineScaleSetExtensionsCreateOrUpdate200Response, + VirtualMachineScaleSetExtensionsCreateOrUpdate201Response, + VirtualMachineScaleSetExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetExtensionsUpdate200Response, + VirtualMachineScaleSetExtensionsUpdate201Response, + VirtualMachineScaleSetExtensionsUpdateDefaultResponse, + VirtualMachineScaleSetExtensionsDelete200Response, + VirtualMachineScaleSetExtensionsDelete202Response, + VirtualMachineScaleSetExtensionsDelete204Response, + VirtualMachineScaleSetExtensionsDeleteDefaultResponse, + VirtualMachineScaleSetExtensionsGet200Response, + VirtualMachineScaleSetExtensionsGetDefaultResponse, + VirtualMachineScaleSetExtensionsList200Response, + VirtualMachineScaleSetExtensionsListDefaultResponse, + VirtualMachineScaleSetRollingUpgradesCancel200Response, + VirtualMachineScaleSetRollingUpgradesCancel202Response, + VirtualMachineScaleSetRollingUpgradesCancelDefaultResponse, + VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response, + VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response, + VirtualMachineScaleSetRollingUpgradesStartOSUpgradeDefaultResponse, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response, + VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeDefaultResponse, + VirtualMachineScaleSetRollingUpgradesGetLatest200Response, + VirtualMachineScaleSetRollingUpgradesGetLatestDefaultResponse, + VirtualMachineScaleSetVMExtensionsCreateOrUpdate200Response, + VirtualMachineScaleSetVMExtensionsCreateOrUpdate201Response, + VirtualMachineScaleSetVMExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetVMExtensionsUpdate200Response, + VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse, + VirtualMachineScaleSetVMExtensionsDelete200Response, + VirtualMachineScaleSetVMExtensionsDelete202Response, + VirtualMachineScaleSetVMExtensionsDelete204Response, + VirtualMachineScaleSetVMExtensionsDeleteDefaultResponse, + VirtualMachineScaleSetVMExtensionsGet200Response, + VirtualMachineScaleSetVMExtensionsGetDefaultResponse, + VirtualMachineScaleSetVMExtensionsList200Response, + VirtualMachineScaleSetVMExtensionsListDefaultResponse, + VirtualMachineScaleSetVMsReimage200Response, + VirtualMachineScaleSetVMsReimage202Response, + VirtualMachineScaleSetVMsReimageDefaultResponse, + VirtualMachineScaleSetVMsReimageAll200Response, + VirtualMachineScaleSetVMsReimageAll202Response, + VirtualMachineScaleSetVMsReimageAllDefaultResponse, + VirtualMachineScaleSetVMsDeallocate200Response, + VirtualMachineScaleSetVMsDeallocate202Response, + VirtualMachineScaleSetVMsDeallocateDefaultResponse, + VirtualMachineScaleSetVMsUpdate200Response, + VirtualMachineScaleSetVMsUpdate202Response, + VirtualMachineScaleSetVMsUpdateDefaultResponse, + VirtualMachineScaleSetVMsDelete200Response, + VirtualMachineScaleSetVMsDelete202Response, + VirtualMachineScaleSetVMsDelete204Response, + VirtualMachineScaleSetVMsDeleteDefaultResponse, + VirtualMachineScaleSetVMsGet200Response, + VirtualMachineScaleSetVMsGetDefaultResponse, + VirtualMachineScaleSetVMsGetInstanceView200Response, + VirtualMachineScaleSetVMsGetInstanceViewDefaultResponse, + VirtualMachineScaleSetVMsList200Response, + VirtualMachineScaleSetVMsListDefaultResponse, + VirtualMachineScaleSetVMsPowerOff200Response, + VirtualMachineScaleSetVMsPowerOff202Response, + VirtualMachineScaleSetVMsPowerOffDefaultResponse, + VirtualMachineScaleSetVMsRestart200Response, + VirtualMachineScaleSetVMsRestart202Response, + VirtualMachineScaleSetVMsRestartDefaultResponse, + VirtualMachineScaleSetVMsStart200Response, + VirtualMachineScaleSetVMsStart202Response, + VirtualMachineScaleSetVMsStartDefaultResponse, + VirtualMachineScaleSetVMsRedeploy200Response, + VirtualMachineScaleSetVMsRedeploy202Response, + VirtualMachineScaleSetVMsRedeployDefaultResponse, + VirtualMachineScaleSetVMsRetrieveBootDiagnosticsData200Response, + VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataDefaultResponse, + VirtualMachineScaleSetVMsPerformMaintenance200Response, + VirtualMachineScaleSetVMsPerformMaintenance202Response, + VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse, + VirtualMachineScaleSetVMsSimulateEviction204Response, + VirtualMachineScaleSetVMsSimulateEvictionDefaultResponse, + VirtualMachineExtensionsCreateOrUpdate200Response, + VirtualMachineExtensionsCreateOrUpdate201Response, + VirtualMachineExtensionsCreateOrUpdateDefaultResponse, + VirtualMachineExtensionsUpdate200Response, + VirtualMachineExtensionsUpdateDefaultResponse, + VirtualMachineExtensionsDelete200Response, + VirtualMachineExtensionsDelete202Response, + VirtualMachineExtensionsDelete204Response, + VirtualMachineExtensionsDeleteDefaultResponse, + VirtualMachineExtensionsGet200Response, + VirtualMachineExtensionsGetDefaultResponse, + VirtualMachineExtensionsList200Response, + VirtualMachineExtensionsListDefaultResponse, + VirtualMachinesListByLocation200Response, + VirtualMachinesListByLocationDefaultResponse, + VirtualMachinesCapture200Response, + VirtualMachinesCapture202Response, + VirtualMachinesCaptureDefaultResponse, + VirtualMachinesCreateOrUpdate200Response, + VirtualMachinesCreateOrUpdate201Response, + VirtualMachinesCreateOrUpdateDefaultResponse, + VirtualMachinesUpdate200Response, + VirtualMachinesUpdateDefaultResponse, + VirtualMachinesDelete200Response, + VirtualMachinesDelete202Response, + VirtualMachinesDelete204Response, + VirtualMachinesDeleteDefaultResponse, + VirtualMachinesGet200Response, + VirtualMachinesGetDefaultResponse, + VirtualMachinesInstanceView200Response, + VirtualMachinesInstanceViewDefaultResponse, + VirtualMachinesConvertToManagedDisks200Response, + VirtualMachinesConvertToManagedDisks202Response, + VirtualMachinesConvertToManagedDisksDefaultResponse, + VirtualMachinesDeallocate200Response, + VirtualMachinesDeallocate202Response, + VirtualMachinesDeallocateDefaultResponse, + VirtualMachinesGeneralize200Response, + VirtualMachinesGeneralizeDefaultResponse, + VirtualMachinesList200Response, + VirtualMachinesListDefaultResponse, + VirtualMachinesListAll200Response, + VirtualMachinesListAllDefaultResponse, + VirtualMachinesListAvailableSizes200Response, + VirtualMachinesListAvailableSizesDefaultResponse, + VirtualMachinesPowerOff200Response, + VirtualMachinesPowerOff202Response, + VirtualMachinesPowerOffDefaultResponse, + VirtualMachinesReapply200Response, + VirtualMachinesReapply202Response, + VirtualMachinesReapplyDefaultResponse, + VirtualMachinesRestart200Response, + VirtualMachinesRestart202Response, + VirtualMachinesRestartDefaultResponse, + VirtualMachinesStart200Response, + VirtualMachinesStart202Response, + VirtualMachinesStartDefaultResponse, + VirtualMachinesRedeploy200Response, + VirtualMachinesRedeploy202Response, + VirtualMachinesRedeployDefaultResponse, + VirtualMachinesReimage200Response, + VirtualMachinesReimage202Response, + VirtualMachinesReimageDefaultResponse, + VirtualMachinesRetrieveBootDiagnosticsData200Response, + VirtualMachinesRetrieveBootDiagnosticsDataDefaultResponse, + VirtualMachinesPerformMaintenance200Response, + VirtualMachinesPerformMaintenance202Response, + VirtualMachinesPerformMaintenanceDefaultResponse, + VirtualMachinesSimulateEviction204Response, + VirtualMachinesSimulateEvictionDefaultResponse, + VirtualMachinesAssessPatches200Response, + VirtualMachinesAssessPatches202Response, + VirtualMachinesAssessPatchesDefaultResponse, + VirtualMachinesInstallPatches200Response, + VirtualMachinesInstallPatches202Response, + VirtualMachinesInstallPatchesDefaultResponse, + VirtualMachineImagesGet200Response, + VirtualMachineImagesGetDefaultResponse, + VirtualMachineImagesList200Response, + VirtualMachineImagesListDefaultResponse, + VirtualMachineImagesListOffers200Response, + VirtualMachineImagesListOffersDefaultResponse, + VirtualMachineImagesListPublishers200Response, + VirtualMachineImagesListPublishersDefaultResponse, + VirtualMachineImagesListSkus200Response, + VirtualMachineImagesListSkusDefaultResponse, + VirtualMachineImagesListByEdgeZone200Response, + VirtualMachineImagesListByEdgeZoneDefaultResponse, + VirtualMachineImagesEdgeZoneGet200Response, + VirtualMachineImagesEdgeZoneGetDefaultResponse, + VirtualMachineImagesEdgeZoneList200Response, + VirtualMachineImagesEdgeZoneListDefaultResponse, + VirtualMachineImagesEdgeZoneListOffers200Response, + VirtualMachineImagesEdgeZoneListOffersDefaultResponse, + VirtualMachineImagesEdgeZoneListPublishers200Response, + VirtualMachineImagesEdgeZoneListPublishersDefaultResponse, + VirtualMachineImagesEdgeZoneListSkus200Response, + VirtualMachineImagesEdgeZoneListSkusDefaultResponse, + VirtualMachineExtensionImagesGet200Response, + VirtualMachineExtensionImagesGetDefaultResponse, + VirtualMachineExtensionImagesListTypes200Response, + VirtualMachineExtensionImagesListTypesDefaultResponse, + VirtualMachineExtensionImagesListVersions200Response, + VirtualMachineExtensionImagesListVersionsDefaultResponse, AvailabilitySetsCreateOrUpdate200Response, AvailabilitySetsCreateOrUpdateDefaultResponse, + AvailabilitySetsUpdate200Response, + AvailabilitySetsUpdateDefaultResponse, AvailabilitySetsDelete200Response, AvailabilitySetsDelete204Response, AvailabilitySetsDeleteDefaultResponse, AvailabilitySetsGet200Response, AvailabilitySetsGetDefaultResponse, - AvailabilitySetsList200Response, - AvailabilitySetsListAvailableSizes200Response, - AvailabilitySetsListAvailableSizesDefaultResponse, AvailabilitySetsListBySubscription200Response, AvailabilitySetsListBySubscriptionDefaultResponse, + AvailabilitySetsList200Response, AvailabilitySetsListDefaultResponse, - AvailabilitySetsUpdate200Response, - AvailabilitySetsUpdateDefaultResponse, - CapacityReservationGroupsCreateOrUpdate200Response, - CapacityReservationGroupsCreateOrUpdate201Response, - CapacityReservationGroupsCreateOrUpdateDefaultResponse, - CapacityReservationGroupsDelete200Response, - CapacityReservationGroupsDelete204Response, - CapacityReservationGroupsDeleteDefaultResponse, - CapacityReservationGroupsGet200Response, - CapacityReservationGroupsGetDefaultResponse, - CapacityReservationGroupsListByResourceGroup200Response, - CapacityReservationGroupsListByResourceGroupDefaultResponse, - CapacityReservationGroupsListBySubscription200Response, - CapacityReservationGroupsListBySubscriptionDefaultResponse, - CapacityReservationGroupsUpdate200Response, - CapacityReservationGroupsUpdateDefaultResponse, - CapacityReservationsCreateOrUpdate200Response, - CapacityReservationsCreateOrUpdate201Response, - CapacityReservationsCreateOrUpdateDefaultResponse, - CapacityReservationsDelete200Response, - CapacityReservationsDelete202Response, - CapacityReservationsDelete204Response, - CapacityReservationsDeleteDefaultResponse, - CapacityReservationsGet200Response, - CapacityReservationsGetDefaultResponse, - CapacityReservationsListByCapacityReservationGroup200Response, - CapacityReservationsListByCapacityReservationGroupDefaultResponse, - CapacityReservationsUpdate200Response, - CapacityReservationsUpdate202Response, - CapacityReservationsUpdateDefaultResponse, - CloudServiceOperatingSystemsGetOSFamily200Response, - CloudServiceOperatingSystemsGetOSFamilyDefaultResponse, - CloudServiceOperatingSystemsGetOSVersion200Response, - CloudServiceOperatingSystemsGetOSVersionDefaultResponse, - CloudServiceOperatingSystemsListOSFamilies200Response, - CloudServiceOperatingSystemsListOSFamiliesDefaultResponse, - CloudServiceOperatingSystemsListOSVersions200Response, - CloudServiceOperatingSystemsListOSVersionsDefaultResponse, - CloudServiceRoleInstancesDelete200Response, - CloudServiceRoleInstancesDelete202Response, - CloudServiceRoleInstancesDelete204Response, - CloudServiceRoleInstancesDeleteDefaultResponse, - CloudServiceRoleInstancesGet200Response, - CloudServiceRoleInstancesGetDefaultResponse, - CloudServiceRoleInstancesGetInstanceView200Response, - CloudServiceRoleInstancesGetInstanceViewDefaultResponse, - CloudServiceRoleInstancesGetRemoteDesktopFile200Response, - CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse, - CloudServiceRoleInstancesList200Response, - CloudServiceRoleInstancesListDefaultResponse, - CloudServiceRoleInstancesRebuild200Response, - CloudServiceRoleInstancesRebuild202Response, - CloudServiceRoleInstancesRebuildDefaultResponse, - CloudServiceRoleInstancesReimage200Response, - CloudServiceRoleInstancesReimage202Response, - CloudServiceRoleInstancesReimageDefaultResponse, - CloudServiceRoleInstancesRestart200Response, - CloudServiceRoleInstancesRestart202Response, - CloudServiceRoleInstancesRestartDefaultResponse, - CloudServiceRolesGet200Response, - CloudServiceRolesGetDefaultResponse, - CloudServiceRolesList200Response, - CloudServiceRolesListDefaultResponse, - CloudServicesCreateOrUpdate200Response, - CloudServicesCreateOrUpdate201Response, - CloudServicesCreateOrUpdateDefaultResponse, - CloudServicesDelete200Response, - CloudServicesDelete202Response, - CloudServicesDelete204Response, - CloudServicesDeleteDefaultResponse, - CloudServicesDeleteInstances200Response, - CloudServicesDeleteInstances202Response, - CloudServicesDeleteInstancesDefaultResponse, - CloudServicesGet200Response, - CloudServicesGetDefaultResponse, - CloudServicesGetInstanceView200Response, - CloudServicesGetInstanceViewDefaultResponse, - CloudServicesList200Response, - CloudServicesListAll200Response, - CloudServicesListAllDefaultResponse, - CloudServicesListDefaultResponse, - CloudServicesPowerOff200Response, - CloudServicesPowerOff202Response, - CloudServicesPowerOffDefaultResponse, - CloudServicesRebuild200Response, - CloudServicesRebuild202Response, - CloudServicesRebuildDefaultResponse, - CloudServicesReimage200Response, - CloudServicesReimage202Response, - CloudServicesReimageDefaultResponse, - CloudServicesRestart200Response, - CloudServicesRestart202Response, - CloudServicesRestartDefaultResponse, - CloudServicesStart200Response, - CloudServicesStart202Response, - CloudServicesStartDefaultResponse, - CloudServicesUpdate200Response, - CloudServicesUpdateDefaultResponse, - CloudServicesUpdateDomainGetUpdateDomain200Response, - CloudServicesUpdateDomainGetUpdateDomainDefaultResponse, - CloudServicesUpdateDomainListUpdateDomains200Response, - CloudServicesUpdateDomainListUpdateDomainsDefaultResponse, - CloudServicesUpdateDomainWalkUpdateDomain200Response, - CloudServicesUpdateDomainWalkUpdateDomain202Response, - CloudServicesUpdateDomainWalkUpdateDomainDefaultResponse, - CommunityGalleriesGet200Response, - CommunityGalleriesGetDefaultResponse, - CommunityGalleryImageVersionsGet200Response, - CommunityGalleryImageVersionsGetDefaultResponse, - CommunityGalleryImageVersionsList200Response, - CommunityGalleryImageVersionsListDefaultResponse, - CommunityGalleryImagesGet200Response, - CommunityGalleryImagesGetDefaultResponse, - CommunityGalleryImagesList200Response, - CommunityGalleryImagesListDefaultResponse, + AvailabilitySetsListAvailableSizes200Response, + AvailabilitySetsListAvailableSizesDefaultResponse, + ProximityPlacementGroupsCreateOrUpdate200Response, + ProximityPlacementGroupsCreateOrUpdate201Response, + ProximityPlacementGroupsCreateOrUpdateDefaultResponse, + ProximityPlacementGroupsUpdate200Response, + ProximityPlacementGroupsUpdateDefaultResponse, + ProximityPlacementGroupsDelete200Response, + ProximityPlacementGroupsDeleteDefaultResponse, + ProximityPlacementGroupsGet200Response, + ProximityPlacementGroupsGetDefaultResponse, + ProximityPlacementGroupsListBySubscription200Response, + ProximityPlacementGroupsListBySubscriptionDefaultResponse, + ProximityPlacementGroupsListByResourceGroup200Response, + ProximityPlacementGroupsListByResourceGroupDefaultResponse, DedicatedHostGroupsCreateOrUpdate200Response, DedicatedHostGroupsCreateOrUpdate201Response, DedicatedHostGroupsCreateOrUpdateDefaultResponse, + DedicatedHostGroupsUpdate200Response, + DedicatedHostGroupsUpdateDefaultResponse, DedicatedHostGroupsDelete200Response, DedicatedHostGroupsDelete204Response, DedicatedHostGroupsDeleteDefaultResponse, @@ -142,11 +293,11 @@ import type { DedicatedHostGroupsListByResourceGroupDefaultResponse, DedicatedHostGroupsListBySubscription200Response, DedicatedHostGroupsListBySubscriptionDefaultResponse, - DedicatedHostGroupsUpdate200Response, - DedicatedHostGroupsUpdateDefaultResponse, DedicatedHostsCreateOrUpdate200Response, DedicatedHostsCreateOrUpdate201Response, DedicatedHostsCreateOrUpdateDefaultResponse, + DedicatedHostsUpdate200Response, + DedicatedHostsUpdateDefaultResponse, DedicatedHostsDelete200Response, DedicatedHostsDelete202Response, DedicatedHostsDelete204Response, @@ -157,60 +308,173 @@ import type { DedicatedHostsListByHostGroupDefaultResponse, DedicatedHostsRestart200Response, DedicatedHostsRestartDefaultResponse, - DedicatedHostsUpdate200Response, - DedicatedHostsUpdateDefaultResponse, + SshPublicKeysListBySubscription200Response, + SshPublicKeysListBySubscriptionDefaultResponse, + SshPublicKeysListByResourceGroup200Response, + SshPublicKeysListByResourceGroupDefaultResponse, + SshPublicKeysCreate200Response, + SshPublicKeysCreate201Response, + SshPublicKeysCreateDefaultResponse, + SshPublicKeysUpdate200Response, + SshPublicKeysUpdateDefaultResponse, + SshPublicKeysDelete200Response, + SshPublicKeysDelete204Response, + SshPublicKeysDeleteDefaultResponse, + SshPublicKeysGet200Response, + SshPublicKeysGetDefaultResponse, + SshPublicKeysGenerateKeyPair200Response, + SshPublicKeysGenerateKeyPairDefaultResponse, + ImagesCreateOrUpdate200Response, + ImagesCreateOrUpdate201Response, + ImagesCreateOrUpdateDefaultResponse, + ImagesUpdate200Response, + ImagesUpdate201Response, + ImagesUpdateDefaultResponse, + ImagesDelete200Response, + ImagesDelete202Response, + ImagesDelete204Response, + ImagesDeleteDefaultResponse, + ImagesGet200Response, + ImagesGetDefaultResponse, + ImagesListByResourceGroup200Response, + ImagesListByResourceGroupDefaultResponse, + ImagesList200Response, + ImagesListDefaultResponse, + RestorePointCollectionsCreateOrUpdate200Response, + RestorePointCollectionsCreateOrUpdate201Response, + RestorePointCollectionsCreateOrUpdateDefaultResponse, + RestorePointCollectionsUpdate200Response, + RestorePointCollectionsUpdateDefaultResponse, + RestorePointCollectionsDelete200Response, + RestorePointCollectionsDelete202Response, + RestorePointCollectionsDelete204Response, + RestorePointCollectionsDeleteDefaultResponse, + RestorePointCollectionsGet200Response, + RestorePointCollectionsGetDefaultResponse, + RestorePointCollectionsList200Response, + RestorePointCollectionsListDefaultResponse, + RestorePointCollectionsListAll200Response, + RestorePointCollectionsListAllDefaultResponse, + RestorePointsCreate201Response, + RestorePointsCreateDefaultResponse, + RestorePointsDelete200Response, + RestorePointsDelete202Response, + RestorePointsDelete204Response, + RestorePointsDeleteDefaultResponse, + RestorePointsGet200Response, + RestorePointsGetDefaultResponse, + CapacityReservationGroupsCreateOrUpdate200Response, + CapacityReservationGroupsCreateOrUpdate201Response, + CapacityReservationGroupsCreateOrUpdateDefaultResponse, + CapacityReservationGroupsUpdate200Response, + CapacityReservationGroupsUpdateDefaultResponse, + CapacityReservationGroupsDelete200Response, + CapacityReservationGroupsDelete204Response, + CapacityReservationGroupsDeleteDefaultResponse, + CapacityReservationGroupsGet200Response, + CapacityReservationGroupsGetDefaultResponse, + CapacityReservationGroupsListByResourceGroup200Response, + CapacityReservationGroupsListByResourceGroupDefaultResponse, + CapacityReservationGroupsListBySubscription200Response, + CapacityReservationGroupsListBySubscriptionDefaultResponse, + CapacityReservationsCreateOrUpdate200Response, + CapacityReservationsCreateOrUpdate201Response, + CapacityReservationsCreateOrUpdateDefaultResponse, + CapacityReservationsUpdate200Response, + CapacityReservationsUpdate202Response, + CapacityReservationsUpdateDefaultResponse, + CapacityReservationsDelete200Response, + CapacityReservationsDelete202Response, + CapacityReservationsDelete204Response, + CapacityReservationsDeleteDefaultResponse, + CapacityReservationsGet200Response, + CapacityReservationsGetDefaultResponse, + CapacityReservationsListByCapacityReservationGroup200Response, + CapacityReservationsListByCapacityReservationGroupDefaultResponse, + LogAnalyticsExportRequestRateByInterval200Response, + LogAnalyticsExportRequestRateByInterval202Response, + LogAnalyticsExportRequestRateByIntervalDefaultResponse, + LogAnalyticsExportThrottledRequests200Response, + LogAnalyticsExportThrottledRequests202Response, + LogAnalyticsExportThrottledRequestsDefaultResponse, + VirtualMachineRunCommandsCreateOrUpdate200Response, + VirtualMachineRunCommandsCreateOrUpdate201Response, + VirtualMachineRunCommandsCreateOrUpdateDefaultResponse, + VirtualMachineRunCommandsUpdate200Response, + VirtualMachineRunCommandsUpdateDefaultResponse, + VirtualMachineRunCommandsDelete200Response, + VirtualMachineRunCommandsDelete202Response, + VirtualMachineRunCommandsDelete204Response, + VirtualMachineRunCommandsDeleteDefaultResponse, + VirtualMachineRunCommandsGetByVirtualMachine200Response, + VirtualMachineRunCommandsGetByVirtualMachineDefaultResponse, + VirtualMachineRunCommandsListByVirtualMachine200Response, + VirtualMachineRunCommandsListByVirtualMachineDefaultResponse, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdate200Response, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdate201Response, + VirtualMachineScaleSetVMRunCommandsCreateOrUpdateDefaultResponse, + VirtualMachineScaleSetVMRunCommandsUpdate200Response, + VirtualMachineScaleSetVMRunCommandsUpdateDefaultResponse, + VirtualMachineScaleSetVMRunCommandsDelete200Response, + VirtualMachineScaleSetVMRunCommandsDelete202Response, + VirtualMachineScaleSetVMRunCommandsDelete204Response, + VirtualMachineScaleSetVMRunCommandsDeleteDefaultResponse, + VirtualMachineScaleSetVMRunCommandsGet200Response, + VirtualMachineScaleSetVMRunCommandsGetDefaultResponse, + VirtualMachineScaleSetVMRunCommandsList200Response, + VirtualMachineScaleSetVMRunCommandsListDefaultResponse, DiskAccessesCreateOrUpdate200Response, DiskAccessesCreateOrUpdate202Response, DiskAccessesCreateOrUpdateDefaultResponse, - DiskAccessesDelete200Response, - DiskAccessesDelete202Response, - DiskAccessesDelete204Response, - DiskAccessesDeleteAPrivateEndpointConnection200Response, - DiskAccessesDeleteAPrivateEndpointConnection202Response, - DiskAccessesDeleteAPrivateEndpointConnection204Response, - DiskAccessesDeleteAPrivateEndpointConnectionDefaultResponse, - DiskAccessesDeleteDefaultResponse, + DiskAccessesUpdate200Response, + DiskAccessesUpdate202Response, + DiskAccessesUpdateDefaultResponse, DiskAccessesGet200Response, - DiskAccessesGetAPrivateEndpointConnection200Response, - DiskAccessesGetAPrivateEndpointConnectionDefaultResponse, DiskAccessesGetDefaultResponse, - DiskAccessesList200Response, + DiskAccessesDelete200Response, + DiskAccessesDelete202Response, + DiskAccessesDelete204Response, + DiskAccessesDeleteDefaultResponse, DiskAccessesListByResourceGroup200Response, DiskAccessesListByResourceGroupDefaultResponse, + DiskAccessesList200Response, DiskAccessesListDefaultResponse, - DiskAccessesListPrivateEndpointConnections200Response, - DiskAccessesListPrivateEndpointConnectionsDefaultResponse, - DiskAccessesUpdate200Response, - DiskAccessesUpdate202Response, DiskAccessesUpdateAPrivateEndpointConnection200Response, DiskAccessesUpdateAPrivateEndpointConnection202Response, DiskAccessesUpdateAPrivateEndpointConnectionDefaultResponse, - DiskAccessesUpdateDefaultResponse, + DiskAccessesGetAPrivateEndpointConnection200Response, + DiskAccessesGetAPrivateEndpointConnectionDefaultResponse, + DiskAccessesDeleteAPrivateEndpointConnection200Response, + DiskAccessesDeleteAPrivateEndpointConnection202Response, + DiskAccessesDeleteAPrivateEndpointConnection204Response, + DiskAccessesDeleteAPrivateEndpointConnectionDefaultResponse, + DiskAccessesListPrivateEndpointConnections200Response, + DiskAccessesListPrivateEndpointConnectionsDefaultResponse, DiskEncryptionSetsCreateOrUpdate200Response, DiskEncryptionSetsCreateOrUpdate202Response, DiskEncryptionSetsCreateOrUpdateDefaultResponse, + DiskEncryptionSetsUpdate200Response, + DiskEncryptionSetsUpdate202Response, + DiskEncryptionSetsUpdateDefaultResponse, + DiskEncryptionSetsGet200Response, + DiskEncryptionSetsGetDefaultResponse, DiskEncryptionSetsDelete200Response, DiskEncryptionSetsDelete202Response, DiskEncryptionSetsDelete204Response, DiskEncryptionSetsDeleteDefaultResponse, - DiskEncryptionSetsGet200Response, - DiskEncryptionSetsGetDefaultResponse, - DiskEncryptionSetsList200Response, - DiskEncryptionSetsListAssociatedResources200Response, - DiskEncryptionSetsListAssociatedResourcesDefaultResponse, DiskEncryptionSetsListByResourceGroup200Response, DiskEncryptionSetsListByResourceGroupDefaultResponse, + DiskEncryptionSetsList200Response, DiskEncryptionSetsListDefaultResponse, - DiskEncryptionSetsUpdate200Response, - DiskEncryptionSetsUpdate202Response, - DiskEncryptionSetsUpdateDefaultResponse, + DiskEncryptionSetsListAssociatedResources200Response, + DiskEncryptionSetsListAssociatedResourcesDefaultResponse, DiskRestorePointGet200Response, DiskRestorePointGetDefaultResponse, + DiskRestorePointListByRestorePoint200Response, + DiskRestorePointListByRestorePointDefaultResponse, DiskRestorePointGrantAccess200Response, DiskRestorePointGrantAccess202Response, DiskRestorePointGrantAccessDefaultResponse, - DiskRestorePointListByRestorePoint200Response, - DiskRestorePointListByRestorePointDefaultResponse, DiskRestorePointRevokeAccess200Response, DiskRestorePointRevokeAccess202Response, DiskRestorePointRevokeAccessDefaultResponse, @@ -218,439 +482,175 @@ import type { GalleriesCreateOrUpdate201Response, GalleriesCreateOrUpdate202Response, GalleriesCreateOrUpdateDefaultResponse, + GalleriesUpdate200Response, + GalleriesUpdateDefaultResponse, + GalleriesGet200Response, + GalleriesGetDefaultResponse, GalleriesDelete200Response, GalleriesDelete202Response, GalleriesDelete204Response, GalleriesDeleteDefaultResponse, - GalleriesGet200Response, - GalleriesGetDefaultResponse, - GalleriesList200Response, GalleriesListByResourceGroup200Response, GalleriesListByResourceGroupDefaultResponse, + GalleriesList200Response, GalleriesListDefaultResponse, - GalleriesUpdate200Response, - GalleriesUpdateDefaultResponse, - GalleryApplicationVersionsCreateOrUpdate200Response, - GalleryApplicationVersionsCreateOrUpdate201Response, - GalleryApplicationVersionsCreateOrUpdate202Response, - GalleryApplicationVersionsCreateOrUpdateDefaultResponse, - GalleryApplicationVersionsDelete200Response, - GalleryApplicationVersionsDelete202Response, - GalleryApplicationVersionsDelete204Response, - GalleryApplicationVersionsDeleteDefaultResponse, - GalleryApplicationVersionsGet200Response, - GalleryApplicationVersionsGetDefaultResponse, - GalleryApplicationVersionsListByGalleryApplication200Response, - GalleryApplicationVersionsListByGalleryApplicationDefaultResponse, - GalleryApplicationVersionsUpdate200Response, - GalleryApplicationVersionsUpdateDefaultResponse, - GalleryApplicationsCreateOrUpdate200Response, - GalleryApplicationsCreateOrUpdate201Response, - GalleryApplicationsCreateOrUpdate202Response, - GalleryApplicationsCreateOrUpdateDefaultResponse, - GalleryApplicationsDelete200Response, - GalleryApplicationsDelete202Response, - GalleryApplicationsDelete204Response, - GalleryApplicationsDeleteDefaultResponse, - GalleryApplicationsGet200Response, - GalleryApplicationsGetDefaultResponse, - GalleryApplicationsListByGallery200Response, - GalleryApplicationsListByGalleryDefaultResponse, - GalleryApplicationsUpdate200Response, - GalleryApplicationsUpdateDefaultResponse, - GalleryImageVersionsCreateOrUpdate200Response, - GalleryImageVersionsCreateOrUpdate201Response, - GalleryImageVersionsCreateOrUpdate202Response, - GalleryImageVersionsCreateOrUpdateDefaultResponse, - GalleryImageVersionsDelete200Response, - GalleryImageVersionsDelete202Response, - GalleryImageVersionsDelete204Response, - GalleryImageVersionsDeleteDefaultResponse, - GalleryImageVersionsGet200Response, - GalleryImageVersionsGetDefaultResponse, - GalleryImageVersionsListByGalleryImage200Response, - GalleryImageVersionsListByGalleryImageDefaultResponse, - GalleryImageVersionsUpdate200Response, - GalleryImageVersionsUpdateDefaultResponse, GalleryImagesCreateOrUpdate200Response, GalleryImagesCreateOrUpdate201Response, GalleryImagesCreateOrUpdate202Response, GalleryImagesCreateOrUpdateDefaultResponse, + GalleryImagesUpdate200Response, + GalleryImagesUpdateDefaultResponse, + GalleryImagesGet200Response, + GalleryImagesGetDefaultResponse, GalleryImagesDelete200Response, GalleryImagesDelete202Response, GalleryImagesDelete204Response, GalleryImagesDeleteDefaultResponse, - GalleryImagesGet200Response, - GalleryImagesGetDefaultResponse, GalleryImagesListByGallery200Response, GalleryImagesListByGalleryDefaultResponse, - GalleryImagesUpdate200Response, - GalleryImagesUpdateDefaultResponse, + GalleryImageVersionsCreateOrUpdate200Response, + GalleryImageVersionsCreateOrUpdate201Response, + GalleryImageVersionsCreateOrUpdate202Response, + GalleryImageVersionsCreateOrUpdateDefaultResponse, + GalleryImageVersionsUpdate200Response, + GalleryImageVersionsUpdateDefaultResponse, + GalleryImageVersionsGet200Response, + GalleryImageVersionsGetDefaultResponse, + GalleryImageVersionsDelete200Response, + GalleryImageVersionsDelete202Response, + GalleryImageVersionsDelete204Response, + GalleryImageVersionsDeleteDefaultResponse, + GalleryImageVersionsListByGalleryImage200Response, + GalleryImageVersionsListByGalleryImageDefaultResponse, + GalleryApplicationsCreateOrUpdate200Response, + GalleryApplicationsCreateOrUpdate201Response, + GalleryApplicationsCreateOrUpdate202Response, + GalleryApplicationsCreateOrUpdateDefaultResponse, + GalleryApplicationsUpdate200Response, + GalleryApplicationsUpdateDefaultResponse, + GalleryApplicationsGet200Response, + GalleryApplicationsGetDefaultResponse, + GalleryApplicationsDelete200Response, + GalleryApplicationsDelete202Response, + GalleryApplicationsDelete204Response, + GalleryApplicationsDeleteDefaultResponse, + GalleryApplicationsListByGallery200Response, + GalleryApplicationsListByGalleryDefaultResponse, + GalleryApplicationVersionsCreateOrUpdate200Response, + GalleryApplicationVersionsCreateOrUpdate201Response, + GalleryApplicationVersionsCreateOrUpdate202Response, + GalleryApplicationVersionsCreateOrUpdateDefaultResponse, + GalleryApplicationVersionsUpdate200Response, + GalleryApplicationVersionsUpdateDefaultResponse, + GalleryApplicationVersionsGet200Response, + GalleryApplicationVersionsGetDefaultResponse, + GalleryApplicationVersionsDelete200Response, + GalleryApplicationVersionsDelete202Response, + GalleryApplicationVersionsDelete204Response, + GalleryApplicationVersionsDeleteDefaultResponse, + GalleryApplicationVersionsListByGalleryApplication200Response, + GalleryApplicationVersionsListByGalleryApplicationDefaultResponse, GallerySharingProfileUpdate200Response, GallerySharingProfileUpdate202Response, GallerySharingProfileUpdateDefaultResponse, - ImagesCreateOrUpdate200Response, - ImagesCreateOrUpdate201Response, - ImagesCreateOrUpdateDefaultResponse, - ImagesDelete200Response, - ImagesDelete202Response, - ImagesDelete204Response, - ImagesDeleteDefaultResponse, - ImagesGet200Response, - ImagesGetDefaultResponse, - ImagesList200Response, - ImagesListByResourceGroup200Response, - ImagesListByResourceGroupDefaultResponse, - ImagesListDefaultResponse, - ImagesUpdate200Response, - ImagesUpdate201Response, - ImagesUpdateDefaultResponse, - LogAnalyticsExportRequestRateByInterval200Response, - LogAnalyticsExportRequestRateByInterval202Response, - LogAnalyticsExportRequestRateByIntervalDefaultResponse, - LogAnalyticsExportThrottledRequests200Response, - LogAnalyticsExportThrottledRequests202Response, - LogAnalyticsExportThrottledRequestsDefaultResponse, - OperationsList200Response, - OperationsListDefaultResponse, - ProximityPlacementGroupsCreateOrUpdate200Response, - ProximityPlacementGroupsCreateOrUpdate201Response, - ProximityPlacementGroupsCreateOrUpdateDefaultResponse, - ProximityPlacementGroupsDelete200Response, - ProximityPlacementGroupsDeleteDefaultResponse, - ProximityPlacementGroupsGet200Response, - ProximityPlacementGroupsGetDefaultResponse, - ProximityPlacementGroupsListByResourceGroup200Response, - ProximityPlacementGroupsListByResourceGroupDefaultResponse, - ProximityPlacementGroupsListBySubscription200Response, - ProximityPlacementGroupsListBySubscriptionDefaultResponse, - ProximityPlacementGroupsUpdate200Response, - ProximityPlacementGroupsUpdateDefaultResponse, - RestorePointCollectionsCreateOrUpdate200Response, - RestorePointCollectionsCreateOrUpdate201Response, - RestorePointCollectionsCreateOrUpdateDefaultResponse, - RestorePointCollectionsDelete200Response, - RestorePointCollectionsDelete202Response, - RestorePointCollectionsDelete204Response, - RestorePointCollectionsDeleteDefaultResponse, - RestorePointCollectionsGet200Response, - RestorePointCollectionsGetDefaultResponse, - RestorePointCollectionsList200Response, - RestorePointCollectionsListAll200Response, - RestorePointCollectionsListAllDefaultResponse, - RestorePointCollectionsListDefaultResponse, - RestorePointCollectionsUpdate200Response, - RestorePointCollectionsUpdateDefaultResponse, - RestorePointsCreate201Response, - RestorePointsCreateDefaultResponse, - RestorePointsDelete200Response, - RestorePointsDelete202Response, - RestorePointsDelete204Response, - RestorePointsDeleteDefaultResponse, - RestorePointsGet200Response, - RestorePointsGetDefaultResponse, - SharedGalleriesGet200Response, - SharedGalleriesGetDefaultResponse, SharedGalleriesList200Response, SharedGalleriesListDefaultResponse, - SharedGalleryImageVersionsGet200Response, - SharedGalleryImageVersionsGetDefaultResponse, - SharedGalleryImageVersionsList200Response, - SharedGalleryImageVersionsListDefaultResponse, - SharedGalleryImagesGet200Response, - SharedGalleryImagesGetDefaultResponse, + SharedGalleriesGet200Response, + SharedGalleriesGetDefaultResponse, SharedGalleryImagesList200Response, SharedGalleryImagesListDefaultResponse, - SshPublicKeysCreate200Response, - SshPublicKeysCreate201Response, - SshPublicKeysCreateDefaultResponse, - SshPublicKeysDelete200Response, - SshPublicKeysDelete204Response, - SshPublicKeysDeleteDefaultResponse, - SshPublicKeysGenerateKeyPair200Response, - SshPublicKeysGenerateKeyPairDefaultResponse, - SshPublicKeysGet200Response, - SshPublicKeysGetDefaultResponse, - SshPublicKeysListByResourceGroup200Response, - SshPublicKeysListByResourceGroupDefaultResponse, - SshPublicKeysListBySubscription200Response, - SshPublicKeysListBySubscriptionDefaultResponse, - SshPublicKeysUpdate200Response, - SshPublicKeysUpdateDefaultResponse, - UsageList200Response, - UsageListDefaultResponse, - VirtualMachineExtensionImagesGet200Response, - VirtualMachineExtensionImagesGetDefaultResponse, - VirtualMachineExtensionImagesListTypes200Response, - VirtualMachineExtensionImagesListTypesDefaultResponse, - VirtualMachineExtensionImagesListVersions200Response, - VirtualMachineExtensionImagesListVersionsDefaultResponse, - VirtualMachineExtensionsCreateOrUpdate200Response, - VirtualMachineExtensionsCreateOrUpdate201Response, - VirtualMachineExtensionsCreateOrUpdateDefaultResponse, - VirtualMachineExtensionsDelete200Response, - VirtualMachineExtensionsDelete202Response, - VirtualMachineExtensionsDelete204Response, - VirtualMachineExtensionsDeleteDefaultResponse, - VirtualMachineExtensionsGet200Response, - VirtualMachineExtensionsGetDefaultResponse, - VirtualMachineExtensionsList200Response, - VirtualMachineExtensionsListDefaultResponse, - VirtualMachineExtensionsUpdate200Response, - VirtualMachineExtensionsUpdateDefaultResponse, - VirtualMachineImagesEdgeZoneGet200Response, - VirtualMachineImagesEdgeZoneGetDefaultResponse, - VirtualMachineImagesEdgeZoneList200Response, - VirtualMachineImagesEdgeZoneListDefaultResponse, - VirtualMachineImagesEdgeZoneListOffers200Response, - VirtualMachineImagesEdgeZoneListOffersDefaultResponse, - VirtualMachineImagesEdgeZoneListPublishers200Response, - VirtualMachineImagesEdgeZoneListPublishersDefaultResponse, - VirtualMachineImagesEdgeZoneListSkus200Response, - VirtualMachineImagesEdgeZoneListSkusDefaultResponse, - VirtualMachineImagesGet200Response, - VirtualMachineImagesGetDefaultResponse, - VirtualMachineImagesList200Response, - VirtualMachineImagesListByEdgeZone200Response, - VirtualMachineImagesListByEdgeZoneDefaultResponse, - VirtualMachineImagesListDefaultResponse, - VirtualMachineImagesListOffers200Response, - VirtualMachineImagesListOffersDefaultResponse, - VirtualMachineImagesListPublishers200Response, - VirtualMachineImagesListPublishersDefaultResponse, - VirtualMachineImagesListSkus200Response, - VirtualMachineImagesListSkusDefaultResponse, - VirtualMachineRunCommandsCreateOrUpdate200Response, - VirtualMachineRunCommandsCreateOrUpdate201Response, - VirtualMachineRunCommandsCreateOrUpdateDefaultResponse, - VirtualMachineRunCommandsDelete200Response, - VirtualMachineRunCommandsDelete202Response, - VirtualMachineRunCommandsDelete204Response, - VirtualMachineRunCommandsDeleteDefaultResponse, - VirtualMachineRunCommandsGetByVirtualMachine200Response, - VirtualMachineRunCommandsGetByVirtualMachineDefaultResponse, - VirtualMachineRunCommandsListByVirtualMachine200Response, - VirtualMachineRunCommandsListByVirtualMachineDefaultResponse, - VirtualMachineRunCommandsUpdate200Response, - VirtualMachineRunCommandsUpdateDefaultResponse, - VirtualMachineScaleSetExtensionsCreateOrUpdate200Response, - VirtualMachineScaleSetExtensionsCreateOrUpdate201Response, - VirtualMachineScaleSetExtensionsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetExtensionsDelete200Response, - VirtualMachineScaleSetExtensionsDelete202Response, - VirtualMachineScaleSetExtensionsDelete204Response, - VirtualMachineScaleSetExtensionsDeleteDefaultResponse, - VirtualMachineScaleSetExtensionsGet200Response, - VirtualMachineScaleSetExtensionsGetDefaultResponse, - VirtualMachineScaleSetExtensionsList200Response, - VirtualMachineScaleSetExtensionsListDefaultResponse, - VirtualMachineScaleSetExtensionsUpdate200Response, - VirtualMachineScaleSetExtensionsUpdate201Response, - VirtualMachineScaleSetExtensionsUpdateDefaultResponse, - VirtualMachineScaleSetRollingUpgradesCancel200Response, - VirtualMachineScaleSetRollingUpgradesCancel202Response, - VirtualMachineScaleSetRollingUpgradesCancelDefaultResponse, - VirtualMachineScaleSetRollingUpgradesGetLatest200Response, - VirtualMachineScaleSetRollingUpgradesGetLatestDefaultResponse, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response, - VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeDefaultResponse, - VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response, - VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response, - VirtualMachineScaleSetRollingUpgradesStartOSUpgradeDefaultResponse, - VirtualMachineScaleSetVMExtensionsCreateOrUpdate200Response, - VirtualMachineScaleSetVMExtensionsCreateOrUpdate201Response, - VirtualMachineScaleSetVMExtensionsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetVMExtensionsDelete200Response, - VirtualMachineScaleSetVMExtensionsDelete202Response, - VirtualMachineScaleSetVMExtensionsDelete204Response, - VirtualMachineScaleSetVMExtensionsDeleteDefaultResponse, - VirtualMachineScaleSetVMExtensionsGet200Response, - VirtualMachineScaleSetVMExtensionsGetDefaultResponse, - VirtualMachineScaleSetVMExtensionsList200Response, - VirtualMachineScaleSetVMExtensionsListDefaultResponse, - VirtualMachineScaleSetVMExtensionsUpdate200Response, - VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdate200Response, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdate201Response, - VirtualMachineScaleSetVMRunCommandsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetVMRunCommandsDelete200Response, - VirtualMachineScaleSetVMRunCommandsDelete202Response, - VirtualMachineScaleSetVMRunCommandsDelete204Response, - VirtualMachineScaleSetVMRunCommandsDeleteDefaultResponse, - VirtualMachineScaleSetVMRunCommandsGet200Response, - VirtualMachineScaleSetVMRunCommandsGetDefaultResponse, - VirtualMachineScaleSetVMRunCommandsList200Response, - VirtualMachineScaleSetVMRunCommandsListDefaultResponse, - VirtualMachineScaleSetVMRunCommandsUpdate200Response, - VirtualMachineScaleSetVMRunCommandsUpdateDefaultResponse, - VirtualMachineScaleSetVMsDeallocate200Response, - VirtualMachineScaleSetVMsDeallocate202Response, - VirtualMachineScaleSetVMsDeallocateDefaultResponse, - VirtualMachineScaleSetVMsDelete200Response, - VirtualMachineScaleSetVMsDelete202Response, - VirtualMachineScaleSetVMsDelete204Response, - VirtualMachineScaleSetVMsDeleteDefaultResponse, - VirtualMachineScaleSetVMsGet200Response, - VirtualMachineScaleSetVMsGetDefaultResponse, - VirtualMachineScaleSetVMsGetInstanceView200Response, - VirtualMachineScaleSetVMsGetInstanceViewDefaultResponse, - VirtualMachineScaleSetVMsList200Response, - VirtualMachineScaleSetVMsListDefaultResponse, - VirtualMachineScaleSetVMsPerformMaintenance200Response, - VirtualMachineScaleSetVMsPerformMaintenance202Response, - VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse, - VirtualMachineScaleSetVMsPowerOff200Response, - VirtualMachineScaleSetVMsPowerOff202Response, - VirtualMachineScaleSetVMsPowerOffDefaultResponse, - VirtualMachineScaleSetVMsRedeploy200Response, - VirtualMachineScaleSetVMsRedeploy202Response, - VirtualMachineScaleSetVMsRedeployDefaultResponse, - VirtualMachineScaleSetVMsReimage200Response, - VirtualMachineScaleSetVMsReimage202Response, - VirtualMachineScaleSetVMsReimageAll200Response, - VirtualMachineScaleSetVMsReimageAll202Response, - VirtualMachineScaleSetVMsReimageAllDefaultResponse, - VirtualMachineScaleSetVMsReimageDefaultResponse, - VirtualMachineScaleSetVMsRestart200Response, - VirtualMachineScaleSetVMsRestart202Response, - VirtualMachineScaleSetVMsRestartDefaultResponse, - VirtualMachineScaleSetVMsRetrieveBootDiagnosticsData200Response, - VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataDefaultResponse, - VirtualMachineScaleSetVMsSimulateEviction204Response, - VirtualMachineScaleSetVMsSimulateEvictionDefaultResponse, - VirtualMachineScaleSetVMsStart200Response, - VirtualMachineScaleSetVMsStart202Response, - VirtualMachineScaleSetVMsStartDefaultResponse, - VirtualMachineScaleSetVMsUpdate200Response, - VirtualMachineScaleSetVMsUpdate202Response, - VirtualMachineScaleSetVMsUpdateDefaultResponse, - VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response, - VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResponse, - VirtualMachineScaleSetsCreateOrUpdate200Response, - VirtualMachineScaleSetsCreateOrUpdate201Response, - VirtualMachineScaleSetsCreateOrUpdateDefaultResponse, - VirtualMachineScaleSetsDeallocate200Response, - VirtualMachineScaleSetsDeallocate202Response, - VirtualMachineScaleSetsDeallocateDefaultResponse, - VirtualMachineScaleSetsDelete200Response, - VirtualMachineScaleSetsDelete202Response, - VirtualMachineScaleSetsDelete204Response, - VirtualMachineScaleSetsDeleteDefaultResponse, - VirtualMachineScaleSetsDeleteInstances200Response, - VirtualMachineScaleSetsDeleteInstances202Response, - VirtualMachineScaleSetsDeleteInstancesDefaultResponse, - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalk200Response, - VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkDefaultResponse, - VirtualMachineScaleSetsGet200Response, - VirtualMachineScaleSetsGetDefaultResponse, - VirtualMachineScaleSetsGetInstanceView200Response, - VirtualMachineScaleSetsGetInstanceViewDefaultResponse, - VirtualMachineScaleSetsGetOSUpgradeHistory200Response, - VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse, - VirtualMachineScaleSetsList200Response, - VirtualMachineScaleSetsListAll200Response, - VirtualMachineScaleSetsListAllDefaultResponse, - VirtualMachineScaleSetsListByLocation200Response, - VirtualMachineScaleSetsListByLocationDefaultResponse, - VirtualMachineScaleSetsListDefaultResponse, - VirtualMachineScaleSetsListSkus200Response, - VirtualMachineScaleSetsListSkusDefaultResponse, - VirtualMachineScaleSetsPerformMaintenance200Response, - VirtualMachineScaleSetsPerformMaintenance202Response, - VirtualMachineScaleSetsPerformMaintenanceDefaultResponse, - VirtualMachineScaleSetsPowerOff200Response, - VirtualMachineScaleSetsPowerOff202Response, - VirtualMachineScaleSetsPowerOffDefaultResponse, - VirtualMachineScaleSetsRedeploy200Response, - VirtualMachineScaleSetsRedeploy202Response, - VirtualMachineScaleSetsRedeployDefaultResponse, - VirtualMachineScaleSetsReimage200Response, - VirtualMachineScaleSetsReimage202Response, - VirtualMachineScaleSetsReimageAll200Response, - VirtualMachineScaleSetsReimageAll202Response, - VirtualMachineScaleSetsReimageAllDefaultResponse, - VirtualMachineScaleSetsReimageDefaultResponse, - VirtualMachineScaleSetsRestart200Response, - VirtualMachineScaleSetsRestart202Response, - VirtualMachineScaleSetsRestartDefaultResponse, - VirtualMachineScaleSetsSetOrchestrationServiceState200Response, - VirtualMachineScaleSetsSetOrchestrationServiceState202Response, - VirtualMachineScaleSetsSetOrchestrationServiceStateDefaultResponse, - VirtualMachineScaleSetsStart200Response, - VirtualMachineScaleSetsStart202Response, - VirtualMachineScaleSetsStartDefaultResponse, - VirtualMachineScaleSetsUpdate200Response, - VirtualMachineScaleSetsUpdateDefaultResponse, - VirtualMachineScaleSetsUpdateInstances200Response, - VirtualMachineScaleSetsUpdateInstances202Response, - VirtualMachineScaleSetsUpdateInstancesDefaultResponse, - VirtualMachineSizesList200Response, - VirtualMachineSizesListDefaultResponse, - VirtualMachinesAssessPatches200Response, - VirtualMachinesAssessPatches202Response, - VirtualMachinesAssessPatchesDefaultResponse, - VirtualMachinesCapture200Response, - VirtualMachinesCapture202Response, - VirtualMachinesCaptureDefaultResponse, - VirtualMachinesConvertToManagedDisks200Response, - VirtualMachinesConvertToManagedDisks202Response, - VirtualMachinesConvertToManagedDisksDefaultResponse, - VirtualMachinesCreateOrUpdate200Response, - VirtualMachinesCreateOrUpdate201Response, - VirtualMachinesCreateOrUpdateDefaultResponse, - VirtualMachinesDeallocate200Response, - VirtualMachinesDeallocate202Response, - VirtualMachinesDeallocateDefaultResponse, - VirtualMachinesDelete200Response, - VirtualMachinesDelete202Response, - VirtualMachinesDelete204Response, - VirtualMachinesDeleteDefaultResponse, - VirtualMachinesGeneralize200Response, - VirtualMachinesGeneralizeDefaultResponse, - VirtualMachinesGet200Response, - VirtualMachinesGetDefaultResponse, - VirtualMachinesInstallPatches200Response, - VirtualMachinesInstallPatches202Response, - VirtualMachinesInstallPatchesDefaultResponse, - VirtualMachinesInstanceView200Response, - VirtualMachinesInstanceViewDefaultResponse, - VirtualMachinesList200Response, - VirtualMachinesListAll200Response, - VirtualMachinesListAllDefaultResponse, - VirtualMachinesListAvailableSizes200Response, - VirtualMachinesListAvailableSizesDefaultResponse, - VirtualMachinesListByLocation200Response, - VirtualMachinesListByLocationDefaultResponse, - VirtualMachinesListDefaultResponse, - VirtualMachinesPerformMaintenance200Response, - VirtualMachinesPerformMaintenance202Response, - VirtualMachinesPerformMaintenanceDefaultResponse, - VirtualMachinesPowerOff200Response, - VirtualMachinesPowerOff202Response, - VirtualMachinesPowerOffDefaultResponse, - VirtualMachinesReapply200Response, - VirtualMachinesReapply202Response, - VirtualMachinesReapplyDefaultResponse, - VirtualMachinesRedeploy200Response, - VirtualMachinesRedeploy202Response, - VirtualMachinesRedeployDefaultResponse, - VirtualMachinesReimage200Response, - VirtualMachinesReimage202Response, - VirtualMachinesReimageDefaultResponse, - VirtualMachinesRestart200Response, - VirtualMachinesRestart202Response, - VirtualMachinesRestartDefaultResponse, - VirtualMachinesRetrieveBootDiagnosticsData200Response, - VirtualMachinesRetrieveBootDiagnosticsDataDefaultResponse, - VirtualMachinesSimulateEviction204Response, - VirtualMachinesSimulateEvictionDefaultResponse, - VirtualMachinesStart200Response, - VirtualMachinesStart202Response, - VirtualMachinesStartDefaultResponse, - VirtualMachinesUpdate200Response, - VirtualMachinesUpdateDefaultResponse, -} from "./responses"; + SharedGalleryImagesGet200Response, + SharedGalleryImagesGetDefaultResponse, + SharedGalleryImageVersionsList200Response, + SharedGalleryImageVersionsListDefaultResponse, + SharedGalleryImageVersionsGet200Response, + SharedGalleryImageVersionsGetDefaultResponse, + CommunityGalleriesGet200Response, + CommunityGalleriesGetDefaultResponse, + CommunityGalleryImagesGet200Response, + CommunityGalleryImagesGetDefaultResponse, + CommunityGalleryImagesList200Response, + CommunityGalleryImagesListDefaultResponse, + CommunityGalleryImageVersionsGet200Response, + CommunityGalleryImageVersionsGetDefaultResponse, + CommunityGalleryImageVersionsList200Response, + CommunityGalleryImageVersionsListDefaultResponse, + CloudServiceRoleInstancesDelete200Response, + CloudServiceRoleInstancesDelete202Response, + CloudServiceRoleInstancesDelete204Response, + CloudServiceRoleInstancesDeleteDefaultResponse, + CloudServiceRoleInstancesGet200Response, + CloudServiceRoleInstancesGetDefaultResponse, + CloudServiceRoleInstancesGetInstanceView200Response, + CloudServiceRoleInstancesGetInstanceViewDefaultResponse, + CloudServiceRoleInstancesList200Response, + CloudServiceRoleInstancesListDefaultResponse, + CloudServiceRoleInstancesRestart200Response, + CloudServiceRoleInstancesRestart202Response, + CloudServiceRoleInstancesRestartDefaultResponse, + CloudServiceRoleInstancesReimage200Response, + CloudServiceRoleInstancesReimage202Response, + CloudServiceRoleInstancesReimageDefaultResponse, + CloudServiceRoleInstancesRebuild200Response, + CloudServiceRoleInstancesRebuild202Response, + CloudServiceRoleInstancesRebuildDefaultResponse, + CloudServiceRoleInstancesGetRemoteDesktopFile200Response, + CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse, + CloudServiceRolesGet200Response, + CloudServiceRolesGetDefaultResponse, + CloudServiceRolesList200Response, + CloudServiceRolesListDefaultResponse, + CloudServicesCreateOrUpdate200Response, + CloudServicesCreateOrUpdate201Response, + CloudServicesCreateOrUpdateDefaultResponse, + CloudServicesUpdate200Response, + CloudServicesUpdateDefaultResponse, + CloudServicesDelete200Response, + CloudServicesDelete202Response, + CloudServicesDelete204Response, + CloudServicesDeleteDefaultResponse, + CloudServicesGet200Response, + CloudServicesGetDefaultResponse, + CloudServicesGetInstanceView200Response, + CloudServicesGetInstanceViewDefaultResponse, + CloudServicesListAll200Response, + CloudServicesListAllDefaultResponse, + CloudServicesList200Response, + CloudServicesListDefaultResponse, + CloudServicesStart200Response, + CloudServicesStart202Response, + CloudServicesStartDefaultResponse, + CloudServicesPowerOff200Response, + CloudServicesPowerOff202Response, + CloudServicesPowerOffDefaultResponse, + CloudServicesRestart200Response, + CloudServicesRestart202Response, + CloudServicesRestartDefaultResponse, + CloudServicesReimage200Response, + CloudServicesReimage202Response, + CloudServicesReimageDefaultResponse, + CloudServicesRebuild200Response, + CloudServicesRebuild202Response, + CloudServicesRebuildDefaultResponse, + CloudServicesDeleteInstances200Response, + CloudServicesDeleteInstances202Response, + CloudServicesDeleteInstancesDefaultResponse, + CloudServicesUpdateDomainWalkUpdateDomain200Response, + CloudServicesUpdateDomainWalkUpdateDomain202Response, + CloudServicesUpdateDomainWalkUpdateDomainDefaultResponse, + CloudServicesUpdateDomainGetUpdateDomain200Response, + CloudServicesUpdateDomainGetUpdateDomainDefaultResponse, + CloudServicesUpdateDomainListUpdateDomains200Response, + CloudServicesUpdateDomainListUpdateDomainsDefaultResponse, + CloudServiceOperatingSystemsGetOSVersion200Response, + CloudServiceOperatingSystemsGetOSVersionDefaultResponse, + CloudServiceOperatingSystemsListOSVersions200Response, + CloudServiceOperatingSystemsListOSVersionsDefaultResponse, + CloudServiceOperatingSystemsGetOSFamily200Response, + CloudServiceOperatingSystemsGetOSFamilyDefaultResponse, + CloudServiceOperatingSystemsListOSFamilies200Response, + CloudServiceOperatingSystemsListOSFamiliesDefaultResponse, +} from "./responses.js"; const responseMap: Record = { "GET /providers/Microsoft.Compute/operations": ["200"], @@ -662,22 +662,22 @@ const responseMap: Record = { ], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": ["200", "202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets": @@ -689,134 +689,134 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk": ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": - ["200", "201"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimage": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimage": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimageall": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimage": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimageall": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/deallocate": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimageall": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/deallocate": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/deallocate": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}": + ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/instanceView": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/redeploy": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/redeploy": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/redeploy": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/retrieveBootDiagnosticsData": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/simulateEviction": ["204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/runCommand": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/runCommand": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": - ["200", "201"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/runCommand": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": @@ -825,28 +825,28 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": - ["200", "201"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines": @@ -854,50 +854,50 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/vmSizes": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/retrieveBootDiagnosticsData": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance": + ["200", "202"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction": ["204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/assessPatches": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand": + ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions": @@ -963,20 +963,20 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/restart": - ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/restart": ["200"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/restart": + ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys": ["200"], @@ -990,10 +990,10 @@ const responseMap: Record = { ["200"], "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}/generateKeyPair": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": ["200", "201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": @@ -1005,19 +1005,19 @@ const responseMap: Record = { ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}": + ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections": [ "200", ], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}": - ["201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}": + ["201"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}": ["200", "202", "204"], "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}": @@ -1033,52 +1033,52 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups": [ "200", ], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations": ["200"], - "POST /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval": - ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval": ["200", "202"], - "POST /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests": + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval": ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests": ["200", "202"], + "POST /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests": + ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": + ["200", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": @@ -1086,18 +1086,18 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}": + ["200", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}": @@ -1107,18 +1107,18 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}": + ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": + ["200", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": @@ -1132,18 +1132,18 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/beginGetAccess": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/beginGetAccess": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/endGetAccess": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/beginGetAccess": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/endGetAccess": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/endGetAccess": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": + ["200", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": ["200", "202"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": @@ -1151,19 +1151,19 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess": + ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": - ["200", "201", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": + ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": @@ -1171,50 +1171,50 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": - ["200", "201", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": + ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": - ["200", "201", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": + ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": - ["200", "201", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": + ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": - ["200", "201", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": + ["200", "201", "202"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share": + ["200", "202"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}": @@ -1237,36 +1237,36 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions": ["200"], - "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}": - ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}": ["200"], + "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}": + ["200", "202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/instanceView": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/restart": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/rebuild": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/remoteDesktopFile": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles/{roleName}": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roles": ["200"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}": - ["200", "201"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}": + ["200", "201"], "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}": ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}": @@ -1276,34 +1276,34 @@ const responseMap: Record = { "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/start": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/poweroff": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/restart": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/rebuild": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete": ["200", "202"], - "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/delete": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}": ["200"], + "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains": ["200"], "GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}": @@ -3491,59 +3491,70 @@ export function isUnexpected( const method = response.request.method; let pathDetails = responseMap[`${method} ${url.pathname}`]; if (!pathDetails) { - pathDetails = geParametrizedPathSuccess(url.pathname); + pathDetails = getParametrizedPathSuccess(method, url.pathname); } return !pathDetails.includes(response.status); } -function geParametrizedPathSuccess(path: string): string[] { +function getParametrizedPathSuccess(method: string, path: string): string[] { const pathParts = path.split("/"); + // Traverse list to match the longest candidate + // matchedLen: the length of candidate path + // matchedValue: the matched status code array + let matchedLen = -1, + matchedValue: string[] = []; + // Iterate the responseMap to find a match for (const [key, value] of Object.entries(responseMap)) { // Extracting the path from the map key which is in format // GET /path/foo + if (!key.startsWith(method)) { + continue; + } const candidatePath = getPathFromMapKey(key); // Get each part of the url path const candidateParts = candidatePath.split("/"); - // If the candidate and actual paths don't match in size - // we move on to the next candidate path - if (candidateParts.length === pathParts.length && hasParametrizedPath(key)) { - // track if we have found a match to return the values found. - let found = true; - for (let i = 0; i < candidateParts.length; i++) { - if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.endsWith("}")) { - // If the current part of the candidate is a "template" part - // it is a match with the actual path part on hand - // skip as the parameterized part can match anything - continue; - } + // track if we have found a match to return the values found. + let found = true; + for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { + if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { + const start = candidateParts[i]!.indexOf("}") + 1, + end = candidateParts[i]?.length; + // If the current part of the candidate is a "template" part + // Try to use the suffix of pattern to match the path + // {guid} ==> $ + // {guid}:export ==> :export$ + const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( + pathParts[j] || "", + ); - // If the candidate part is not a template and - // the parts don't match mark the candidate as not found - // to move on with the next candidate path. - if (candidateParts[i] !== pathParts[i]) { + if (!isMatched) { found = false; break; } + continue; } - // We finished evaluating the current candidate parts - // if all parts matched we return the success values form - // the path mapping. - if (found) { - return value; + // If the candidate part is not a template and + // the parts don't match mark the candidate as not found + // to move on with the next candidate path. + if (candidateParts[i] !== pathParts[j]) { + found = false; + break; } } - } - // No match was found, return an empty array. - return []; -} + // We finished evaluating the current candidate parts + // Update the matched value if and only if we found the longer pattern + if (found && candidatePath.length > matchedLen) { + matchedLen = candidatePath.length; + matchedValue = value; + } + } -function hasParametrizedPath(path: string): boolean { - return path.includes("/{"); + return matchedValue; } function getPathFromMapKey(mapKey: string): string { diff --git a/sdk/compute/arm-compute-rest/src/logger.ts b/sdk/compute/arm-compute-rest/src/logger.ts new file mode 100644 index 000000000000..9d6b7aa92c6c --- /dev/null +++ b/sdk/compute/arm-compute-rest/src/logger.ts @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { createClientLogger } from "@azure/logger"; +export const logger = createClientLogger("arm-compute"); diff --git a/sdk/compute/arm-compute-rest/src/models.ts b/sdk/compute/arm-compute-rest/src/models.ts index f7c760fa9027..965a5db66855 100644 --- a/sdk/compute/arm-compute-rest/src/models.ts +++ b/sdk/compute/arm-compute-rest/src/models.ts @@ -79,14 +79,10 @@ export interface VirtualMachineScaleSetProperties { automaticRepairsPolicy?: AutomaticRepairsPolicy; /** The virtual machine profile. */ virtualMachineProfile?: VirtualMachineScaleSetVMProfile; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; /** Specifies whether the Virtual Machine Scale Set should be overprovisioned. */ overprovision?: boolean; /** When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs. */ doNotRunExtensionsOnOverprovisionedVMs?: boolean; - /** Specifies the ID which uniquely identifies a Virtual Machine Scale Set. */ - uniqueId?: string; /** When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true. */ singlePlacementGroup?: boolean; /** Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set. */ @@ -107,8 +103,6 @@ export interface VirtualMachineScaleSetProperties { spotRestorePolicy?: SpotRestorePolicy; /** Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance. */ priorityMixPolicy?: PriorityMixPolicy; - /** Specifies the time at which the Virtual Machine Scale Set resource was created.

Minimum api-version: 2021-11-01. */ - timeCreated?: Date | string; } /** Describes an upgrade policy - automatic, manual, or rolling. */ @@ -359,8 +353,6 @@ export interface ImageReference extends SubResource { sku?: string; /** Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. */ version?: string; - /** Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. */ - exactVersion?: string; /** Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. */ sharedGalleryImageId?: string; /** Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. */ @@ -631,8 +623,6 @@ export interface VirtualMachineScaleSetExtensionProfile { export interface VirtualMachineScaleSetExtension extends SubResourceReadOnly { /** The name of the extension. */ name?: string; - /** Resource type */ - type?: string; /** Describes the properties of a Virtual Machine Scale Set Extension. */ properties?: VirtualMachineScaleSetExtensionProperties; } @@ -655,8 +645,6 @@ export interface VirtualMachineScaleSetExtensionProperties { settings?: any; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ protectedSettings?: any; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; /** Collection of extension names after which this extension needs to be provisioned. */ provisionAfterExtensions?: Array; /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ @@ -673,10 +661,7 @@ export interface KeyVaultSecretReference { sourceVault: SubResource; } -export interface SubResourceReadOnly { - /** Resource Id */ - id?: string; -} +export interface SubResourceReadOnly {} /** Specifies the billing related details of a Azure Spot VM or VMSS.

Minimum api-version: 2019-03-01. */ export interface BillingProfile { @@ -772,22 +757,13 @@ export interface PriorityMixPolicy { /** Identity for the virtual machine scale set. */ export interface VirtualMachineScaleSetIdentity { - /** The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity. */ - principalId?: string; - /** The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity. */ - tenantId?: string; /** The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record; } -export interface UserAssignedIdentitiesValue { - /** The principal id of user assigned identity. */ - principalId?: string; - /** The client id of user assigned identity. */ - clientId?: string; -} +export interface UserAssignedIdentitiesValue {} /** The complex type of the extended location. */ export interface ExtendedLocation { @@ -799,12 +775,6 @@ export interface ExtendedLocation { /** The Resource model definition. */ export interface Resource { - /** Resource Id */ - id?: string; - /** Resource name */ - name?: string; - /** Resource type */ - type?: string; /** Resource location */ location: string; /** Resource tags */ @@ -1034,25 +1004,12 @@ export interface InstanceViewStatus { /** Describes a Virtual Machine Scale Set Extension. */ export interface VirtualMachineScaleSetExtensionUpdate extends SubResourceReadOnly { - /** The name of the extension. */ - name?: string; - /** Resource type */ - type?: string; /** Describes the properties of a Virtual Machine Scale Set Extension. */ properties?: VirtualMachineScaleSetExtensionProperties; } /** Information about the number of virtual machine instances in each upgrade state. */ -export interface RollingUpgradeProgressInfo { - /** The number of instances that have been successfully upgraded. */ - successfulInstanceCount?: number; - /** The number of instances that have failed to be upgraded successfully. */ - failedInstanceCount?: number; - /** The number of instances that are currently being upgraded. */ - inProgressInstanceCount?: number; - /** The number of instances that have not yet begun to be upgraded. */ - pendingInstanceCount?: number; -} +export interface RollingUpgradeProgressInfo {} /** Describes a Virtual Machine Scale Set VM Reimage Parameters. */ export interface VirtualMachineScaleSetReimageParameters @@ -1078,28 +1035,10 @@ export interface RollingUpgradeStatusInfo extends Resource { } /** The status of the latest virtual machine scale set rolling upgrade. */ -export interface RollingUpgradeStatusInfoProperties { - /** The rolling upgrade policies applied for this upgrade. */ - policy?: RollingUpgradePolicy; - /** Information about the current running state of the overall upgrade. */ - runningStatus?: RollingUpgradeRunningStatus; - /** Information about the number of virtual machine instances in each upgrade state. */ - progress?: RollingUpgradeProgressInfo; - /** Error details for this upgrade, if there are any. */ - error?: ApiError; -} +export interface RollingUpgradeStatusInfoProperties {} /** Information about the current running state of the overall upgrade. */ -export interface RollingUpgradeRunningStatus { - /** Code indicating the current status of the upgrade. */ - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; - /** Start time of the upgrade. */ - startTime?: Date | string; - /** The last action performed on the rolling upgrade. */ - lastAction?: "Start" | "Cancel"; - /** Last action time of the upgrade. */ - lastActionTime?: Date | string; -} +export interface RollingUpgradeRunningStatus {} export interface VMScaleSetConvertToSinglePlacementGroupInput { /** Id of the placement group in which you want future virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances. */ @@ -1116,10 +1055,6 @@ export interface OrchestrationServiceStateInput { /** Describes a VMSS VM Extension. */ export interface VirtualMachineScaleSetVMExtension extends SubResourceReadOnly { - /** The name of the extension. */ - name?: string; - /** Resource type */ - type?: string; /** Describes the properties of a Virtual Machine Extension. */ properties?: VirtualMachineExtensionProperties; } @@ -1142,8 +1077,6 @@ export interface VirtualMachineExtensionProperties { settings?: any; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ protectedSettings?: any; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; /** The virtual machine extension instance view. */ instanceView?: VirtualMachineExtensionInstanceView; /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ @@ -1168,10 +1101,6 @@ export interface VirtualMachineExtensionInstanceView { /** Describes a VMSS VM Extension. */ export interface VirtualMachineScaleSetVMExtensionUpdate extends SubResourceReadOnly { - /** The name of the extension. */ - name?: string; - /** Resource type */ - type?: string; /** Describes the properties of a Virtual Machine Extension. */ properties?: VirtualMachineExtensionUpdateProperties; } @@ -1202,30 +1131,16 @@ export interface VirtualMachineExtensionUpdateProperties { /** Describes a virtual machine scale set virtual machine. */ export interface VirtualMachineScaleSetVM extends Resource { - /** The virtual machine instance ID. */ - instanceId?: string; - /** The virtual machine SKU. */ - sku?: Sku; /** Describes the properties of a virtual machine scale set virtual machine. */ properties?: VirtualMachineScaleSetVMProperties; /** Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. */ plan?: Plan; - /** The virtual machine child extension resources. */ - resources?: Array; - /** The virtual machine zones. */ - zones?: Array; /** The identity of the virtual machine, if configured. */ identity?: VirtualMachineIdentity; } /** Describes the properties of a virtual machine scale set virtual machine. */ export interface VirtualMachineScaleSetVMProperties { - /** Specifies whether the latest model has been applied to the virtual machine. */ - latestModelApplied?: boolean; - /** Azure VM unique ID. */ - vmId?: string; - /** The virtual machine instance view. */ - instanceView?: VirtualMachineScaleSetVMInstanceView; /** Specifies the hardware settings for the virtual machine. */ hardwareProfile?: HardwareProfile; /** Specifies the storage settings for the virtual machine disks. */ @@ -1244,12 +1159,8 @@ export interface VirtualMachineScaleSetVMProperties { diagnosticsProfile?: DiagnosticsProfile; /** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)

Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. */ availabilitySet?: SubResource; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; /** Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15 */ licenseType?: string; - /** Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine. */ - modelDefinitionApplied?: string; /** Specifies the protection policy of the virtual machine. */ protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicy; /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

Minimum api-version: 2021-03-01 */ @@ -1272,14 +1183,10 @@ export interface VirtualMachineScaleSetVMInstanceView { disks?: Array; /** The extensions information. */ extensions?: Array; - /** The health status for the VM. */ - vmHealth?: VirtualMachineHealthStatus; /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor. */ bootDiagnostics?: BootDiagnosticsInstanceView; /** The resource status information. */ statuses?: Array; - /** Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

Minimum api-version: 2020-06-01. */ - assignedHost?: string; /** The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId. */ placementGroupId?: string; } @@ -1351,20 +1258,10 @@ export interface KeyVaultKeyReference { } /** The health status of the VM. */ -export interface VirtualMachineHealthStatus { - /** The health status information for the VM. */ - status?: InstanceViewStatus; -} +export interface VirtualMachineHealthStatus {} /** The instance view of a virtual machine boot diagnostics. */ -export interface BootDiagnosticsInstanceView { - /** The console screenshot blob URI.

NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. */ - consoleScreenshotBlobUri?: string; - /** The serial console log blob Uri.

NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. */ - serialConsoleLogBlobUri?: string; - /** The boot diagnostics status information for the VM.

NOTE: It will be set only if there are errors encountered in enabling boot diagnostics. */ - status?: InstanceViewStatus; -} +export interface BootDiagnosticsInstanceView {} /** Specifies the hardware settings for the virtual machine. */ export interface HardwareProfile { @@ -1619,10 +1516,6 @@ export interface DataDisk { managedDisk?: ManagedDiskParameters; /** Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset */ toBeDetached?: boolean; - /** Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. */ - diskIOPSReadWrite?: number; - /** Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. */ - diskMBpsReadWrite?: number; /** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.

detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.

This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */ detachOption?: "ForceDetach"; /** Specifies whether data disk should be deleted or detached upon VM deletion.

Possible values:

**Delete** If this value is used, the data disk is deleted when VM is deleted.

**Detach** If this value is used, the data disk is retained after VM is deleted.

The default value is set to **detach** */ @@ -1804,22 +1697,12 @@ export interface VirtualMachineExtension extends ResourceWithOptionalLocation { export interface ResourceWithOptionalLocation { /** Resource location */ location?: string; - /** Resource Id */ - id?: string; - /** Resource name */ - name?: string; - /** Resource type */ - type?: string; /** Resource tags */ tags?: Record; } /** Identity for the virtual machine. */ export interface VirtualMachineIdentity { - /** The principal id of virtual machine identity. This property will only be provided for a system assigned identity. */ - principalId?: string; - /** The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. */ - tenantId?: string; /** The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ @@ -1838,8 +1721,6 @@ export interface VirtualMachine extends Resource { plan?: Plan; /** Describes the properties of a Virtual Machine. */ properties?: VirtualMachineProperties; - /** The virtual machine child extension resources. */ - resources?: Array; /** The identity of the virtual machine, if configured. */ identity?: VirtualMachineIdentity; /** The virtual machine zones. */ @@ -1880,14 +1761,8 @@ export interface VirtualMachineProperties { host?: SubResource; /** Specifies information about the dedicated host group that the virtual machine resides in.

Minimum api-version: 2020-06-01.

NOTE: User cannot specify both host and hostGroup properties. */ hostGroup?: SubResource; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; - /** The virtual machine instance view. */ - instanceView?: VirtualMachineInstanceView; /** Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15 */ licenseType?: string; - /** Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. */ - vmId?: string; /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

Minimum api-version: 2020-06-01 */ extensionsTimeBudget?: string; /** Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
  • This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
  • The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.
  • This property cannot be updated once the Virtual Machine is created.
  • Fault domain assignment can be viewed in the Virtual Machine Instance View.

    Minimum api‐version: 2020‐12‐01 */ @@ -1900,8 +1775,6 @@ export interface VirtualMachineProperties { capacityReservation?: CapacityReservationProfile; /** Specifies the gallery applications that should be made available to the VM/VMSS */ applicationProfile?: ApplicationProfile; - /** Specifies the time at which the Virtual Machine resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: Date | string; } /** The instance view of a virtual machine. */ @@ -1928,12 +1801,8 @@ export interface VirtualMachineInstanceView { disks?: Array; /** The extensions information. */ extensions?: Array; - /** The health status for the VM. */ - vmHealth?: VirtualMachineHealthStatus; /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

    You can easily view the output of your console log.

    Azure also enables you to see a screenshot of the VM from the hypervisor. */ bootDiagnostics?: BootDiagnosticsInstanceView; - /** Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

    Minimum api-version: 2020-06-01. */ - assignedHost?: string; /** The resource status information. */ statuses?: Array; /** [Preview Feature] The status of virtual machine patch operations. */ @@ -1946,55 +1815,13 @@ export interface VirtualMachinePatchStatus { availablePatchSummary?: AvailablePatchSummary; /** The installation summary of the latest installation operation for the virtual machine. */ lastPatchInstallationSummary?: LastPatchInstallationSummary; - /** The enablement status of the specified patchMode */ - configurationStatuses?: Array; } /** Describes the properties of an virtual machine instance view for available patch summary. */ -export interface AvailablePatchSummary { - /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; - /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - assessmentActivityId?: string; - /** The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. */ - rebootPending?: boolean; - /** The number of critical or security patches that have been detected as available and not yet installed. */ - criticalAndSecurityPatchCount?: number; - /** The number of all available patches excluding critical and security. */ - otherPatchCount?: number; - /** The UTC timestamp when the operation began. */ - startTime?: Date | string; - /** The UTC timestamp when the operation began. */ - lastModifiedTime?: Date | string; - /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiError; -} +export interface AvailablePatchSummary {} /** Describes the properties of the last installed patch summary. */ -export interface LastPatchInstallationSummary { - /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; - /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - installationActivityId?: string; - /** Describes whether the operation ran out of time before it completed all its intended actions */ - maintenanceWindowExceeded?: boolean; - /** The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry. */ - notSelectedPatchCount?: number; - /** The number of all available patches but excluded explicitly by a customer-specified exclusion list match. */ - excludedPatchCount?: number; - /** The number of all available patches expected to be installed over the course of the patch installation operation. */ - pendingPatchCount?: number; - /** The count of patches that successfully installed. */ - installedPatchCount?: number; - /** The count of patches that failed installation. */ - failedPatchCount?: number; - /** The UTC timestamp when the operation began. */ - startTime?: Date | string; - /** The UTC timestamp when the operation began. */ - lastModifiedTime?: Date | string; - /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiError; -} +export interface LastPatchInstallationSummary {} /** Capture Virtual Machine parameters. */ export interface VirtualMachineCaptureParameters { @@ -2007,16 +1834,7 @@ export interface VirtualMachineCaptureParameters { } /** Output of virtual machine capture operation. */ -export interface VirtualMachineCaptureResult extends SubResource { - /** the schema of the captured virtual machine */ - $schema?: string; - /** the version of the content */ - contentVersion?: string; - /** parameters of the captured virtual machine */ - parameters?: any; - /** a list of resource items of the captured virtual machine */ - resources?: Array; -} +export interface VirtualMachineCaptureResult extends SubResource {} /** Describes a Virtual Machine Update. */ export interface VirtualMachineUpdate extends UpdateResource { @@ -2118,10 +1936,7 @@ export interface OSDiskImage { } /** Contains the data disk images information. */ -export interface DataDiskImage { - /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ - lun?: number; -} +export interface DataDiskImage {} /** Describes automatic OS upgrade properties on the image. */ export interface AutomaticOSUpgradeProperties { @@ -2193,8 +2008,6 @@ export interface AvailabilitySetProperties { virtualMachines?: Array; /** Specifies information about the proximity placement group that the availability set should be assigned to.

    Minimum api-version: 2018-04-01. */ proximityPlacementGroup?: SubResource; - /** The resource status information. */ - statuses?: Array; } /** Specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated. */ @@ -2217,12 +2030,6 @@ export interface ProximityPlacementGroup extends Resource { export interface ProximityPlacementGroupProperties { /** Specifies the type of the proximity placement group.

    Possible values are:

    **Standard** : Co-locate resources within an Azure region or Availability Zone.

    **Ultra** : For future use. */ proximityPlacementGroupType?: "Standard" | "Ultra"; - /** A list of references to all virtual machines in the proximity placement group. */ - virtualMachines?: Array; - /** A list of references to all virtual machine scale sets in the proximity placement group. */ - virtualMachineScaleSets?: Array; - /** A list of references to all availability sets in the proximity placement group. */ - availabilitySets?: Array; /** Describes colocation status of the Proximity Placement Group. */ colocationStatus?: InstanceViewStatus; /** Specifies the user intent of the proximity placement group. */ @@ -2255,10 +2062,6 @@ export interface DedicatedHostGroup extends Resource { export interface DedicatedHostGroupProperties { /** Number of fault domains that the host group can span. */ platformFaultDomainCount: number; - /** A list of references to all dedicated hosts in the dedicated host group. */ - hosts?: Array; - /** The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group. */ - instanceView?: DedicatedHostGroupInstanceView; /** Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.

    Minimum api-version: 2020-06-01. */ supportAutomaticPlacement?: boolean; /** Enables or disables a capability on the dedicated host group.

    Minimum api-version: 2022-03-01. */ @@ -2271,15 +2074,10 @@ export interface DedicatedHostGroupInstanceView { } /** The instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group. */ -export interface DedicatedHostInstanceViewWithName extends DedicatedHostInstanceView { - /** The name of the dedicated host. */ - name?: string; -} +export interface DedicatedHostInstanceViewWithName extends DedicatedHostInstanceView {} /** The instance view of a dedicated host. */ export interface DedicatedHostInstanceView { - /** Specifies the unique id of the dedicated physical machine on which the dedicated host resides. */ - assetId?: string; /** Unutilized capacity of the dedicated host. */ availableCapacity?: DedicatedHostAvailableCapacity; /** The resource status information. */ @@ -2328,20 +2126,8 @@ export interface DedicatedHostProperties { platformFaultDomain?: number; /** Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided. */ autoReplaceOnFailure?: boolean; - /** A unique id generated and assigned to the dedicated host by the platform.

    Does not change throughout the lifetime of the host. */ - hostId?: string; - /** A list of references to all virtual machines in the Dedicated Host. */ - virtualMachines?: Array; /** Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

    Possible values are:

    **None**

    **Windows_Server_Hybrid**

    **Windows_Server_Perpetual**

    Default: **None** */ licenseType?: "None" | "Windows_Server_Hybrid" | "Windows_Server_Perpetual"; - /** The date when the host was first provisioned. */ - provisioningTime?: Date | string; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; - /** The dedicated host instance view. */ - instanceView?: DedicatedHostInstanceView; - /** Specifies the time at which the Dedicated Host resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: Date | string; } /** Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated. */ @@ -2382,8 +2168,6 @@ export interface ImageProperties { sourceVirtualMachine?: SubResource; /** Specifies the storage settings for the virtual machine disks. */ storageProfile?: ImageStorageProfile; - /** The provisioning state. */ - provisioningState?: string; /** Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. */ hyperVGeneration?: "V1" | "V2"; } @@ -2453,18 +2237,10 @@ export interface RestorePointCollection extends Resource { export interface RestorePointCollectionProperties { /** The properties of the source resource that this restore point collection is created from. */ source?: RestorePointCollectionSourceProperties; - /** The provisioning state of the restore point collection. */ - provisioningState?: string; - /** The unique id of the restore point collection. */ - restorePointCollectionId?: string; - /** A list containing all restore points created under this restore point collection. */ - restorePoints?: Array; } /** The properties of the source resource that this restore point collection is created from. */ export interface RestorePointCollectionSourceProperties { - /** Location of the source resource used to create this restore point collection. */ - location?: string; /** Resource Id of the source resource used to create this restore point collection */ id?: string; } @@ -2479,18 +2255,12 @@ export interface RestorePoint extends ProxyResource { export interface RestorePointProperties { /** List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included. */ excludeDisks?: Array; - /** Gets the details of the VM captured at the time of the restore point creation. */ - sourceMetadata?: RestorePointSourceMetadata; - /** Gets the provisioning state of the restore point. */ - provisioningState?: string; /** ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details. */ consistencyMode?: "CrashConsistent" | "FileSystemConsistent" | "ApplicationConsistent"; /** Gets the creation time of the restore point. */ timeCreated?: Date | string; /** Resource Id of the source restore point from which a copy needs to be created. */ sourceRestorePoint?: ApiEntityReference; - /** The restore point instance view. */ - instanceView?: RestorePointInstanceView; } /** Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation. */ @@ -2580,14 +2350,7 @@ export interface DiskRestorePointReplicationStatus { } /** The resource model definition for an Azure Resource Manager proxy resource. It will not have tags and a location */ -export interface ProxyResource { - /** Resource Id */ - id?: string; - /** Resource name */ - name?: string; - /** Resource type */ - type?: string; -} +export interface ProxyResource {} /** Update Restore Point collection parameters. */ export interface RestorePointCollectionUpdate extends UpdateResource { @@ -2604,25 +2367,12 @@ export interface CapacityReservationGroup extends Resource { } /** capacity reservation group Properties. */ -export interface CapacityReservationGroupProperties { - /** A list of all capacity reservation resource ids that belong to capacity reservation group. */ - capacityReservations?: Array; - /** A list of references to all virtual machines associated to the capacity reservation group. */ - virtualMachinesAssociated?: Array; - /** The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group. */ - instanceView?: CapacityReservationGroupInstanceView; -} +export interface CapacityReservationGroupProperties {} -export interface CapacityReservationGroupInstanceView { - /** List of instance view of the capacity reservations under the capacity reservation group. */ - capacityReservations?: Array; -} +export interface CapacityReservationGroupInstanceView {} /** The instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group. */ -export interface CapacityReservationInstanceViewWithName extends CapacityReservationInstanceView { - /** The name of the capacity reservation. */ - name?: string; -} +export interface CapacityReservationInstanceViewWithName extends CapacityReservationInstanceView {} /** The instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. */ export interface CapacityReservationInstanceView { @@ -2633,12 +2383,7 @@ export interface CapacityReservationInstanceView { } /** Represents the capacity reservation utilization in terms of resources allocated. */ -export interface CapacityReservationUtilization { - /** The value provides the current capacity of the VM size which was reserved successfully and for which the customer is getting billed.

    Minimum api-version: 2022-08-01. */ - currentCapacity?: number; - /** A list of all virtual machines resource ids allocated against the capacity reservation. */ - virtualMachinesAllocated?: Array; -} +export interface CapacityReservationUtilization {} /** Specifies information about the capacity reservation group. Only tags can be updated. */ export interface CapacityReservationGroupUpdate extends UpdateResource { @@ -2657,22 +2402,7 @@ export interface CapacityReservation extends Resource { } /** Properties of the Capacity reservation. */ -export interface CapacityReservationProperties { - /** A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. */ - reservationId?: string; - /** Specifies the value of fault domain count that Capacity Reservation supports for requested VM size.
    NOTE: The fault domain count specified for a resource (like virtual machines scale set) must be less than or equal to this value if it deploys using capacity reservation.

    Minimum api-version: 2022-08-01. */ - platformFaultDomainCount?: number; - /** A list of all virtual machine resource ids that are associated with the capacity reservation. */ - virtualMachinesAssociated?: Array; - /** The date time when the capacity reservation was last updated. */ - provisioningTime?: Date | string; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; - /** The Capacity reservation instance view. */ - instanceView?: CapacityReservationInstanceView; - /** Specifies the time at which the Capacity Reservation resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: Date | string; -} +export interface CapacityReservationProperties {} /** Specifies information about the capacity reservation. Only tags and sku.capacity can be updated. */ export interface CapacityReservationUpdate extends UpdateResource { @@ -2755,10 +2485,6 @@ export interface VirtualMachineRunCommandProperties { outputBlobUri?: string; /** Specifies the Azure storage blob where script error stream will be uploaded. */ errorBlobUri?: string; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; - /** The virtual machine run command instance view. */ - instanceView?: VirtualMachineRunCommandInstanceView; } /** Describes the script sources for run command. */ @@ -2806,10 +2532,6 @@ export interface VirtualMachineRunCommandUpdate extends UpdateResource { /** Disk resource. */ export interface Disk extends Resource { - /** A relative URI containing the ID of the VM that has the disk attached. */ - managedBy?: string; - /** List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. */ - managedByExtended?: Array; /** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. */ sku?: DiskSku; /** The Logical zone list for Disk. */ @@ -2831,14 +2553,10 @@ export interface DiskSku { | "Premium_ZRS" | "StandardSSD_ZRS" | "PremiumV2_LRS"; - /** The sku tier. */ - tier?: string; } /** Disk resource properties. */ export interface DiskProperties { - /** The time when the disk was created. */ - timeCreated?: Date | string; /** The Operating System type. */ osType?: "Windows" | "Linux"; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ @@ -2851,14 +2569,8 @@ export interface DiskProperties { creationData: CreationData; /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ diskSizeGB?: number; - /** The size of the disk in bytes. This field is read only. */ - diskSizeBytes?: number; - /** Unique Guid identifying the resource. */ - uniqueId?: string; /** Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ encryptionSettingsCollection?: EncryptionSettingsCollection; - /** The disk provisioning state. */ - provisioningState?: string; /** The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. */ diskIOPSReadWrite?: number; /** The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ @@ -2867,34 +2579,18 @@ export interface DiskProperties { diskIOPSReadOnly?: number; /** The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ diskMBpsReadOnly?: number; - /** The state of the disk. */ - diskState?: - | "Unattached" - | "Attached" - | "Reserved" - | "Frozen" - | "ActiveSAS" - | "ActiveSASFrozen" - | "ReadyToUpload" - | "ActiveUpload"; /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ encryption?: Encryption; /** The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. */ maxShares?: number; - /** Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. */ - shareInfo?: Array; /** Policy for accessing the disk via network. */ networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; /** ARM id of the DiskAccess resource for using private endpoints on disks. */ diskAccessId?: string; - /** Latest time when bursting was last enabled on a disk. */ - burstingEnabledTime?: Date | string; /** Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. */ tier?: string; /** Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. */ burstingEnabled?: boolean; - /** Properties of the disk for which update is pending. */ - propertyUpdatesInProgress?: PropertyUpdatesInProgress; /** Indicates the OS on a disk supports hibernation. */ supportsHibernation?: boolean; /** Contains the security related information for the resource. */ @@ -2955,8 +2651,6 @@ export interface CreationData { sourceUri?: string; /** If createOption is Copy, this is the ARM id of the source snapshot or disk. */ sourceResourceId?: string; - /** If this field is set, this is the unique id identifying the source of this resource. */ - sourceUniqueId?: string; /** If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). */ uploadSizeBytes?: number; /** Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. */ @@ -3030,10 +2724,7 @@ export interface Encryption { | "EncryptionAtRestWithPlatformAndCustomerKeys"; } -export interface ShareInfoElement { - /** A relative URI containing the ID of the VM that has the disk attached. */ - vmUri?: string; -} +export interface ShareInfoElement {} /** Properties of the disk for which update is pending. */ export interface PropertyUpdatesInProgress { @@ -3095,8 +2786,6 @@ export interface DiskUpdateProperties { purchasePlan?: PurchasePlanAutoGenerated; /** List of supported capabilities to be added on the OS disk. */ supportedCapabilities?: SupportedCapabilities; - /** Properties of the disk for which update is pending. */ - propertyUpdatesInProgress?: PropertyUpdatesInProgress; /** Indicates the OS on a disk supports hibernation. */ supportsHibernation?: boolean; /** Policy for controlling export on the disk. */ @@ -3123,42 +2812,22 @@ export interface DiskAccess extends Resource { extendedLocation?: ExtendedLocation; } -export interface DiskAccessProperties { - /** A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported. */ - privateEndpointConnections?: Array; - /** The disk access resource provisioning state. */ - provisioningState?: string; - /** The time when the disk access was created. */ - timeCreated?: Date | string; -} +export interface DiskAccessProperties {} /** The Private Endpoint Connection resource. */ export interface PrivateEndpointConnection { /** Resource properties. */ properties?: PrivateEndpointConnectionProperties; - /** private endpoint connection Id */ - id?: string; - /** private endpoint connection name */ - name?: string; - /** private endpoint connection type */ - type?: string; } /** Properties of the PrivateEndpointConnectProperties. */ export interface PrivateEndpointConnectionProperties { - /** The resource of private end point. */ - privateEndpoint?: PrivateEndpoint; /** A collection of information about the state of the connection between DiskAccess and Virtual Network. */ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; - /** The provisioning state of the private endpoint connection resource. */ - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } /** The Private Endpoint resource. */ -export interface PrivateEndpoint { - /** The ARM identifier for Private Endpoint */ - id?: string; -} +export interface PrivateEndpoint {} /** A collection of information about the state of the connection between service consumer and provider. */ export interface PrivateLinkServiceConnectionState { @@ -3187,10 +2856,6 @@ export interface DiskEncryptionSet extends Resource { export interface EncryptionSetIdentity { /** The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; - /** The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity */ - principalId?: string; - /** The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity */ - tenantId?: string; /** The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record; } @@ -3203,16 +2868,8 @@ export interface EncryptionSetProperties { | "ConfidentialVmEncryptedWithCustomerKey"; /** The key vault key which is currently used by this disk encryption set. */ activeKey?: KeyForDiskEncryptionSet; - /** A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation. */ - previousKeys?: Array; - /** The disk encryption set provisioning state. */ - provisioningState?: string; /** Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. */ rotationToLatestKeyVersionEnabled?: boolean; - /** The time when the active key of this disk encryption set was updated. */ - lastKeyRotationTimestamp?: Date | string; - /** The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed. */ - autoKeyRotationError?: ApiError; /** Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property. */ federatedClientId?: string; } @@ -3252,8 +2909,6 @@ export interface DiskEncryptionSetUpdateProperties { /** Snapshot resource. */ export interface Snapshot extends Resource { - /** Unused. Always Null. */ - managedBy?: string; /** The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot */ sku?: SnapshotSku; /** The extended location where the snapshot will be created. Extended location cannot be changed. */ @@ -3266,14 +2921,10 @@ export interface Snapshot extends Resource { export interface SnapshotSku { /** The sku name. */ name?: "Standard_LRS" | "Premium_LRS" | "Standard_ZRS"; - /** The sku tier. */ - tier?: string; } /** Snapshot resource properties. */ export interface SnapshotProperties { - /** The time when the snapshot was created. */ - timeCreated?: Date | string; /** The Operating System type. */ osType?: "Windows" | "Linux"; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ @@ -3286,28 +2937,10 @@ export interface SnapshotProperties { creationData: CreationData; /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ diskSizeGB?: number; - /** The size of the disk in bytes. This field is read only. */ - diskSizeBytes?: number; - /** The state of the snapshot. */ - diskState?: - | "Unattached" - | "Attached" - | "Reserved" - | "Frozen" - | "ActiveSAS" - | "ActiveSASFrozen" - | "ReadyToUpload" - | "ActiveUpload"; - /** Unique Guid identifying the resource. */ - uniqueId?: string; /** Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ encryptionSettingsCollection?: EncryptionSettingsCollection; - /** The disk provisioning state. */ - provisioningState?: string; /** Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. */ incremental?: boolean; - /** Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id. */ - incrementalSnapshotFamilyId?: string; /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ encryption?: Encryption; /** Policy for accessing the disk via network. */ @@ -3382,28 +3015,19 @@ export interface GalleryProperties { description?: string; /** Describes the gallery unique name. */ identifier?: GalleryIdentifier; - /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; /** Profile for gallery sharing to subscription or tenant */ sharingProfile?: SharingProfile; /** Contains information about the soft deletion policy of the gallery. */ softDeletePolicy?: SoftDeletePolicy; - /** Sharing status of current gallery. */ - sharingStatus?: SharingStatus; } /** Describes the gallery unique name. */ -export interface GalleryIdentifier { - /** The unique name of the Shared Image Gallery. This name is generated automatically by Azure. */ - uniqueName?: string; -} +export interface GalleryIdentifier {} /** Profile for gallery sharing to subscription or tenant */ export interface SharingProfile { /** This property allows you to specify the permission of sharing gallery.

    Possible values are:

    **Private**

    **Groups**

    **Community** */ permissions?: "Private" | "Groups" | "Community"; - /** A list of sharing profile groups. */ - groups?: Array; /** Information of community gallery if current gallery is shared to community. */ communityGalleryInfo?: CommunityGalleryInfo; } @@ -3426,10 +3050,6 @@ export interface CommunityGalleryInfo { eula?: string; /** The prefix of the gallery name that will be displayed publicly. Visible to all users. */ publicNamePrefix?: string; - /** Contains info about whether community gallery sharing is enabled. */ - communityGalleryEnabled?: boolean; - /** Community gallery public name list. */ - publicNames?: Array; } /** Contains information about the soft deletion policy of the gallery. */ @@ -3440,8 +3060,6 @@ export interface SoftDeletePolicy { /** Sharing status of current gallery. */ export interface SharingStatus { - /** Aggregated sharing state of current gallery. */ - aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; /** Summary of all regional sharing status. */ summary?: Array; } @@ -3450,8 +3068,6 @@ export interface SharingStatus { export interface RegionalSharingStatus { /** Region name */ region?: string; - /** Gallery sharing state in current region */ - state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; /** Details of gallery regional sharing failure. */ details?: string; } @@ -3464,12 +3080,6 @@ export interface GalleryUpdate extends UpdateResourceDefinition { /** The Update Resource model definition. */ export interface UpdateResourceDefinition { - /** Resource Id */ - id?: string; - /** Resource name */ - name?: string; - /** Resource type */ - type?: string; /** Resource tags */ tags?: Record; } @@ -3506,8 +3116,6 @@ export interface GalleryImageProperties { disallowed?: Disallowed; /** Describes the gallery image definition purchase plan. This is used by marketplace images. */ purchasePlan?: ImagePurchasePlan; - /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; /** A list of gallery image features. */ features?: Array; /** The architecture of the image. Applicable to OS disks only. */ @@ -3580,12 +3188,8 @@ export interface GalleryImageVersion extends Resource { export interface GalleryImageVersionProperties { /** The publishing profile of a gallery image Version. */ publishingProfile?: GalleryImageVersionPublishingProfile; - /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; /** This is the storage profile of a Gallery Image Version. */ storageProfile: GalleryImageVersionStorageProfile; - /** This is the replication status of the gallery image version. */ - replicationStatus?: ReplicationStatus; } /** The publishing profile of a gallery image Version. */ @@ -3600,8 +3204,6 @@ export interface GalleryArtifactPublishingProfileBase { replicaCount?: number; /** If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. */ excludeFromLatest?: boolean; - /** The timestamp for when the gallery image version is published. */ - publishedDate?: Date | string; /** The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. */ endOfLifeDate?: Date | string; /** Specifies the storage account type to be used to store the image. This property is not updatable. */ @@ -3704,8 +3306,6 @@ export interface GalleryOSDiskImage extends GalleryDiskImage {} /** This is the disk image base class. */ export interface GalleryDiskImage { - /** This property indicates the size of the VHD to be created. */ - sizeInGB?: number; /** The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' */ hostCaching?: "None" | "ReadOnly" | "ReadWrite"; /** The gallery artifact version source. */ @@ -3719,24 +3319,10 @@ export interface GalleryDataDiskImage extends GalleryDiskImage { } /** This is the replication status of the gallery image version. */ -export interface ReplicationStatus { - /** This is the aggregated replication status based on all the regional replication status flags. */ - aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; - /** This is a summary of replication status for each region. */ - summary?: Array; -} +export interface ReplicationStatus {} /** This is the regional replication status. */ -export interface RegionalReplicationStatus { - /** The region to which the gallery image version is being replicated to. */ - region?: string; - /** This is the regional replication state. */ - state?: "Unknown" | "Replicating" | "Completed" | "Failed"; - /** The details of the replication status. */ - details?: string; - /** It indicates progress of the replication job. */ - progress?: number; -} +export interface RegionalReplicationStatus {} /** Specifies information about the gallery image version that you want to update. */ export interface GalleryImageVersionUpdate extends UpdateResourceDefinition { @@ -3782,10 +3368,6 @@ export interface GalleryApplicationVersion extends Resource { export interface GalleryApplicationVersionProperties { /** The publishing profile of a gallery image version. */ publishingProfile: GalleryApplicationVersionPublishingProfile; - /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; - /** This is the replication status of the gallery image version. */ - replicationStatus?: ReplicationStatus; } /** The publishing profile of a gallery image version. */ @@ -3853,12 +3435,6 @@ export interface CloudServiceRoleSku { /** Describes the cloud service. */ export interface CloudService { - /** Resource Id. */ - id?: string; - /** Resource name. */ - name?: string; - /** Resource type. */ - type?: string; /** Resource location. */ location: string; /** Resource tags. */ @@ -3907,10 +3483,6 @@ export interface CloudServiceProperties { networkProfile?: CloudServiceNetworkProfile; /** Describes a cloud service extension profile. */ extensionProfile?: CloudServiceExtensionProfile; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; - /** The unique identifier for the cloud service. */ - uniqueId?: string; } /** Describes the role profile for the cloud service. */ @@ -4033,8 +3605,6 @@ export interface CloudServiceExtensionProperties { * it is up to handler implementation whether to re-run it or not */ forceUpdateTag?: string; - /** The provisioning state, which only appears in the response. */ - provisioningState?: string; /** Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service. */ rolesAppliedTo?: Array; } @@ -4048,12 +3618,7 @@ export interface CloudServiceVaultAndSecretReference { } /** The system meta data relating to this resource. */ -export interface SystemData { - /** Specifies the time in UTC at which the Cloud Service (extended support) resource was created.
    Minimum api-version: 2022-04-04. */ - createdAt?: Date | string; - /** Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
    Minimum api-version: 2022-04-04. */ - lastModifiedAt?: Date | string; -} +export interface SystemData {} export interface CloudServiceUpdate { /** Resource tags */ @@ -4067,9 +3632,4 @@ export interface RoleInstances { } /** Defines an update domain for the cloud service. */ -export interface UpdateDomain { - /** Resource Id */ - id?: string; - /** Resource Name */ - name?: string; -} +export interface UpdateDomain {} diff --git a/sdk/compute/arm-compute-rest/src/outputModels.ts b/sdk/compute/arm-compute-rest/src/outputModels.ts index ef4c23a355af..1fe5be8bc87c 100644 --- a/sdk/compute/arm-compute-rest/src/outputModels.ts +++ b/sdk/compute/arm-compute-rest/src/outputModels.ts @@ -4,15 +4,15 @@ /** The List Compute Operation operation response. */ export interface ComputeOperationListResultOutput { /** The list of compute operations */ - value?: Array; + readonly value?: Array; } /** Describes the properties of a Compute Operation value. */ export interface ComputeOperationValueOutput { /** The origin of the compute operation. */ - origin?: string; + readonly origin?: string; /** The name of the compute operation. */ - name?: string; + readonly name?: string; /** Describes the properties of a Compute Operation Value Display. */ display?: ComputeOperationValueDisplayOutput; } @@ -20,13 +20,13 @@ export interface ComputeOperationValueOutput { /** Describes the properties of a Compute Operation Value Display. */ export interface ComputeOperationValueDisplayOutput { /** The display name of the compute operation. */ - operation?: string; + readonly operation?: string; /** The display name of the resource the operation applies to. */ - resource?: string; + readonly resource?: string; /** The description of the operation. */ - description?: string; + readonly description?: string; /** The resource provider for the operation. */ - provider?: string; + readonly provider?: string; } /** An error response from the Compute service. */ @@ -172,13 +172,13 @@ export interface VirtualMachineScaleSetPropertiesOutput { /** The virtual machine profile. */ virtualMachineProfile?: VirtualMachineScaleSetVMProfileOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** Specifies whether the Virtual Machine Scale Set should be overprovisioned. */ overprovision?: boolean; /** When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs. */ doNotRunExtensionsOnOverprovisionedVMs?: boolean; /** Specifies the ID which uniquely identifies a Virtual Machine Scale Set. */ - uniqueId?: string; + readonly uniqueId?: string; /** When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true. */ singlePlacementGroup?: boolean; /** Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set. */ @@ -200,7 +200,7 @@ export interface VirtualMachineScaleSetPropertiesOutput { /** Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance. */ priorityMixPolicy?: PriorityMixPolicyOutput; /** Specifies the time at which the Virtual Machine Scale Set resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: string; + readonly timeCreated?: string; } /** Describes an upgrade policy - automatic, manual, or rolling. */ @@ -452,7 +452,7 @@ export interface ImageReferenceOutput extends SubResourceOutput { /** Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. */ version?: string; /** Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. */ - exactVersion?: string; + readonly exactVersion?: string; /** Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. */ sharedGalleryImageId?: string; /** Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. */ @@ -724,7 +724,7 @@ export interface VirtualMachineScaleSetExtensionOutput extends SubResourceReadOn /** The name of the extension. */ name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Describes the properties of a Virtual Machine Scale Set Extension. */ properties?: VirtualMachineScaleSetExtensionPropertiesOutput; } @@ -748,7 +748,7 @@ export interface VirtualMachineScaleSetExtensionPropertiesOutput { /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ protectedSettings?: any; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** Collection of extension names after which this extension needs to be provisioned. */ provisionAfterExtensions?: Array; /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ @@ -767,7 +767,7 @@ export interface KeyVaultSecretReferenceOutput { export interface SubResourceReadOnlyOutput { /** Resource Id */ - id?: string; + readonly id?: string; } /** Specifies the billing related details of a Azure Spot VM or VMSS.

    Minimum api-version: 2019-03-01. */ @@ -865,9 +865,9 @@ export interface PriorityMixPolicyOutput { /** Identity for the virtual machine scale set. */ export interface VirtualMachineScaleSetIdentityOutput { /** The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity. */ - tenantId?: string; + readonly tenantId?: string; /** The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ @@ -876,9 +876,9 @@ export interface VirtualMachineScaleSetIdentityOutput { export interface UserAssignedIdentitiesValueOutput { /** The principal id of user assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The client id of user assigned identity. */ - clientId?: string; + readonly clientId?: string; } /** The complex type of the extended location. */ @@ -892,11 +892,11 @@ export interface ExtendedLocationOutput { /** The Resource model definition. */ export interface ResourceOutput { /** Resource Id */ - id?: string; + readonly id?: string; /** Resource name */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Resource location */ location: string; /** Resource tags */ @@ -984,35 +984,35 @@ export interface VirtualMachineScaleSetUpdatePublicIPAddressConfigurationPropert /** The instance view of a virtual machine scale set. */ export interface VirtualMachineScaleSetInstanceViewOutput { /** The instance view status summary for the virtual machine scale set. */ - virtualMachine?: VirtualMachineScaleSetInstanceViewStatusesSummaryOutput; + readonly virtualMachine?: VirtualMachineScaleSetInstanceViewStatusesSummaryOutput; /** The extensions information. */ - extensions?: Array; + readonly extensions?: Array; /** The resource status information. */ statuses?: Array; /** The orchestration services information. */ - orchestrationServices?: Array; + readonly orchestrationServices?: Array; } /** Instance view statuses summary for virtual machines of a virtual machine scale set. */ export interface VirtualMachineScaleSetInstanceViewStatusesSummaryOutput { /** The extensions information. */ - statusesSummary?: Array; + readonly statusesSummary?: Array; } /** The status code and count of the virtual machine scale set instance view status summary. */ export interface VirtualMachineStatusCodeCountOutput { /** The instance view status code. */ - code?: string; + readonly code?: string; /** The number of instances having a particular status code. */ - count?: number; + readonly count?: number; } /** Extensions summary for virtual machines of a virtual machine scale set. */ export interface VirtualMachineScaleSetVMExtensionsSummaryOutput { /** The extension name. */ - name?: string; + readonly name?: string; /** The extensions information. */ - statusesSummary?: Array; + readonly statusesSummary?: Array; } /** Instance view status. */ @@ -1032,17 +1032,17 @@ export interface InstanceViewStatusOutput { /** Summary for an orchestration service of a virtual machine scale set. */ export interface OrchestrationServiceSummaryOutput { /** The name of the service. */ - serviceName?: "AutomaticRepairs"; + readonly serviceName?: "AutomaticRepairs"; /** The current state of the service. */ - serviceState?: "NotRunning" | "Running" | "Suspended"; + readonly serviceState?: "NotRunning" | "Running" | "Suspended"; } /** Describes a Virtual Machine Scale Set Extension. */ export interface VirtualMachineScaleSetExtensionUpdateOutput extends SubResourceReadOnlyOutput { /** The name of the extension. */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Describes the properties of a Virtual Machine Scale Set Extension. */ properties?: VirtualMachineScaleSetExtensionPropertiesOutput; } @@ -1074,23 +1074,23 @@ export interface VirtualMachineScaleSetListSkusResultOutput { /** Describes an available virtual machine scale set sku. */ export interface VirtualMachineScaleSetSkuOutput { /** The type of resource the sku applies to. */ - resourceType?: string; + readonly resourceType?: string; /** The Sku. */ - sku?: SkuOutput; + readonly sku?: SkuOutput; /** Specifies the number of virtual machines in the scale set. */ - capacity?: VirtualMachineScaleSetSkuCapacityOutput; + readonly capacity?: VirtualMachineScaleSetSkuCapacityOutput; } /** Describes scaling information of a sku. */ export interface VirtualMachineScaleSetSkuCapacityOutput { /** The minimum capacity. */ - minimum?: number; + readonly minimum?: number; /** The maximum capacity that can be set. */ - maximum?: number; + readonly maximum?: number; /** The default capacity. */ - defaultCapacity?: number; + readonly defaultCapacity?: number; /** The scale type applicable to the sku. */ - scaleType?: "Automatic" | "None"; + readonly scaleType?: "Automatic" | "None"; } /** List of Virtual Machine Scale Set OS Upgrade History operation response. */ @@ -1104,59 +1104,59 @@ export interface VirtualMachineScaleSetListOSUpgradeHistoryOutput { /** Virtual Machine Scale Set OS Upgrade History operation response. */ export interface UpgradeOperationHistoricalStatusInfoOutput { /** Information about the properties of the upgrade operation. */ - properties?: UpgradeOperationHistoricalStatusInfoPropertiesOutput; + readonly properties?: UpgradeOperationHistoricalStatusInfoPropertiesOutput; /** Resource type */ - type?: string; + readonly type?: string; /** Resource location */ - location?: string; + readonly location?: string; } /** Describes each OS upgrade on the Virtual Machine Scale Set. */ export interface UpgradeOperationHistoricalStatusInfoPropertiesOutput { /** Information about the overall status of the upgrade operation. */ - runningStatus?: UpgradeOperationHistoryStatusOutput; + readonly runningStatus?: UpgradeOperationHistoryStatusOutput; /** Counts of the VMs in each state. */ - progress?: RollingUpgradeProgressInfoOutput; + readonly progress?: RollingUpgradeProgressInfoOutput; /** Error Details for this upgrade if there are any. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; /** Invoker of the Upgrade Operation */ - startedBy?: "Unknown" | "User" | "Platform"; + readonly startedBy?: "Unknown" | "User" | "Platform"; /** Image Reference details */ - targetImageReference?: ImageReferenceOutput; + readonly targetImageReference?: ImageReferenceOutput; /** Information about OS rollback if performed */ - rollbackInfo?: RollbackStatusInfoOutput; + readonly rollbackInfo?: RollbackStatusInfoOutput; } /** Information about the current running state of the overall upgrade. */ export interface UpgradeOperationHistoryStatusOutput { /** Code indicating the current status of the upgrade. */ - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; + readonly code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; /** Start time of the upgrade. */ - startTime?: string; + readonly startTime?: string; /** End time of the upgrade. */ - endTime?: string; + readonly endTime?: string; } /** Information about the number of virtual machine instances in each upgrade state. */ export interface RollingUpgradeProgressInfoOutput { /** The number of instances that have been successfully upgraded. */ - successfulInstanceCount?: number; + readonly successfulInstanceCount?: number; /** The number of instances that have failed to be upgraded successfully. */ - failedInstanceCount?: number; + readonly failedInstanceCount?: number; /** The number of instances that are currently being upgraded. */ - inProgressInstanceCount?: number; + readonly inProgressInstanceCount?: number; /** The number of instances that have not yet begun to be upgraded. */ - pendingInstanceCount?: number; + readonly pendingInstanceCount?: number; } /** Information about rollback on failed VM instances after a OS Upgrade operation. */ export interface RollbackStatusInfoOutput { /** The number of instances which have been successfully rolled back. */ - successfullyRolledbackInstanceCount?: number; + readonly successfullyRolledbackInstanceCount?: number; /** The number of instances which failed to rollback. */ - failedRolledbackInstanceCount?: number; + readonly failedRolledbackInstanceCount?: number; /** Error details if OS rollback failed. */ - rollbackError?: ApiErrorOutput; + readonly rollbackError?: ApiErrorOutput; } /** The status of the latest virtual machine scale set rolling upgrade. */ @@ -1168,41 +1168,41 @@ export interface RollingUpgradeStatusInfoOutput extends ResourceOutput { /** The status of the latest virtual machine scale set rolling upgrade. */ export interface RollingUpgradeStatusInfoPropertiesOutput { /** The rolling upgrade policies applied for this upgrade. */ - policy?: RollingUpgradePolicyOutput; + readonly policy?: RollingUpgradePolicyOutput; /** Information about the current running state of the overall upgrade. */ - runningStatus?: RollingUpgradeRunningStatusOutput; + readonly runningStatus?: RollingUpgradeRunningStatusOutput; /** Information about the number of virtual machine instances in each upgrade state. */ - progress?: RollingUpgradeProgressInfoOutput; + readonly progress?: RollingUpgradeProgressInfoOutput; /** Error details for this upgrade, if there are any. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; } /** Information about the current running state of the overall upgrade. */ export interface RollingUpgradeRunningStatusOutput { /** Code indicating the current status of the upgrade. */ - code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; + readonly code?: "RollingForward" | "Cancelled" | "Completed" | "Faulted"; /** Start time of the upgrade. */ - startTime?: string; + readonly startTime?: string; /** The last action performed on the rolling upgrade. */ - lastAction?: "Start" | "Cancel"; + readonly lastAction?: "Start" | "Cancel"; /** Last action time of the upgrade. */ - lastActionTime?: string; + readonly lastActionTime?: string; } /** Response after calling a manual recovery walk */ export interface RecoveryWalkResponseOutput { /** Whether the recovery walk was performed */ - walkPerformed?: boolean; + readonly walkPerformed?: boolean; /** The next update domain that needs to be walked. Null means walk spanning all update domains has been completed */ - nextPlatformUpdateDomain?: number; + readonly nextPlatformUpdateDomain?: number; } /** Describes a VMSS VM Extension. */ export interface VirtualMachineScaleSetVMExtensionOutput extends SubResourceReadOnlyOutput { /** The name of the extension. */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Describes the properties of a Virtual Machine Extension. */ properties?: VirtualMachineExtensionPropertiesOutput; } @@ -1226,7 +1226,7 @@ export interface VirtualMachineExtensionPropertiesOutput { /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ protectedSettings?: any; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The virtual machine extension instance view. */ instanceView?: VirtualMachineExtensionInstanceViewOutput; /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ @@ -1252,9 +1252,9 @@ export interface VirtualMachineExtensionInstanceViewOutput { /** Describes a VMSS VM Extension. */ export interface VirtualMachineScaleSetVMExtensionUpdateOutput extends SubResourceReadOnlyOutput { /** The name of the extension. */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Describes the properties of a Virtual Machine Extension. */ properties?: VirtualMachineExtensionUpdatePropertiesOutput; } @@ -1292,17 +1292,17 @@ export interface VirtualMachineScaleSetVMExtensionsListResultOutput { /** Describes a virtual machine scale set virtual machine. */ export interface VirtualMachineScaleSetVMOutput extends ResourceOutput { /** The virtual machine instance ID. */ - instanceId?: string; + readonly instanceId?: string; /** The virtual machine SKU. */ - sku?: SkuOutput; + readonly sku?: SkuOutput; /** Describes the properties of a virtual machine scale set virtual machine. */ properties?: VirtualMachineScaleSetVMPropertiesOutput; /** Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. */ plan?: PlanOutput; /** The virtual machine child extension resources. */ - resources?: Array; + readonly resources?: Array; /** The virtual machine zones. */ - zones?: Array; + readonly zones?: Array; /** The identity of the virtual machine, if configured. */ identity?: VirtualMachineIdentityOutput; } @@ -1310,11 +1310,11 @@ export interface VirtualMachineScaleSetVMOutput extends ResourceOutput { /** Describes the properties of a virtual machine scale set virtual machine. */ export interface VirtualMachineScaleSetVMPropertiesOutput { /** Specifies whether the latest model has been applied to the virtual machine. */ - latestModelApplied?: boolean; + readonly latestModelApplied?: boolean; /** Azure VM unique ID. */ - vmId?: string; + readonly vmId?: string; /** The virtual machine instance view. */ - instanceView?: VirtualMachineScaleSetVMInstanceViewOutput; + readonly instanceView?: VirtualMachineScaleSetVMInstanceViewOutput; /** Specifies the hardware settings for the virtual machine. */ hardwareProfile?: HardwareProfileOutput; /** Specifies the storage settings for the virtual machine disks. */ @@ -1334,11 +1334,11 @@ export interface VirtualMachineScaleSetVMPropertiesOutput { /** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

    For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)

    Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. */ availabilitySet?: SubResourceOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15 */ licenseType?: string; /** Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine. */ - modelDefinitionApplied?: string; + readonly modelDefinitionApplied?: string; /** Specifies the protection policy of the virtual machine. */ protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicyOutput; /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01 */ @@ -1362,13 +1362,13 @@ export interface VirtualMachineScaleSetVMInstanceViewOutput { /** The extensions information. */ extensions?: Array; /** The health status for the VM. */ - vmHealth?: VirtualMachineHealthStatusOutput; + readonly vmHealth?: VirtualMachineHealthStatusOutput; /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

    You can easily view the output of your console log.

    Azure also enables you to see a screenshot of the VM from the hypervisor. */ bootDiagnostics?: BootDiagnosticsInstanceViewOutput; /** The resource status information. */ statuses?: Array; /** Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

    Minimum api-version: 2020-06-01. */ - assignedHost?: string; + readonly assignedHost?: string; /** The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId. */ placementGroupId?: string; } @@ -1442,17 +1442,17 @@ export interface KeyVaultKeyReferenceOutput { /** The health status of the VM. */ export interface VirtualMachineHealthStatusOutput { /** The health status information for the VM. */ - status?: InstanceViewStatusOutput; + readonly status?: InstanceViewStatusOutput; } /** The instance view of a virtual machine boot diagnostics. */ export interface BootDiagnosticsInstanceViewOutput { /** The console screenshot blob URI.

    NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. */ - consoleScreenshotBlobUri?: string; + readonly consoleScreenshotBlobUri?: string; /** The serial console log blob Uri.

    NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. */ - serialConsoleLogBlobUri?: string; + readonly serialConsoleLogBlobUri?: string; /** The boot diagnostics status information for the VM.

    NOTE: It will be set only if there are errors encountered in enabling boot diagnostics. */ - status?: InstanceViewStatusOutput; + readonly status?: InstanceViewStatusOutput; } /** Specifies the hardware settings for the virtual machine. */ @@ -1709,9 +1709,9 @@ export interface DataDiskOutput { /** Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset */ toBeDetached?: boolean; /** Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. */ - diskIOPSReadWrite?: number; + readonly diskIOPSReadWrite?: number; /** Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. */ - diskMBpsReadWrite?: number; + readonly diskMBpsReadWrite?: number; /** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.

    detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.

    This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */ detachOption?: "ForceDetach"; /** Specifies whether data disk should be deleted or detached upon VM deletion.

    Possible values:

    **Delete** If this value is used, the data disk is deleted when VM is deleted.

    **Detach** If this value is used, the data disk is retained after VM is deleted.

    The default value is set to **detach** */ @@ -1894,11 +1894,11 @@ export interface ResourceWithOptionalLocationOutput { /** Resource location */ location?: string; /** Resource Id */ - id?: string; + readonly id?: string; /** Resource name */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Resource tags */ tags?: Record; } @@ -1906,9 +1906,9 @@ export interface ResourceWithOptionalLocationOutput { /** Identity for the virtual machine. */ export interface VirtualMachineIdentityOutput { /** The principal id of virtual machine identity. This property will only be provided for a system assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. */ - tenantId?: string; + readonly tenantId?: string; /** The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ @@ -1926,9 +1926,9 @@ export interface VirtualMachineScaleSetVMListResultOutput { /** The SAS URIs of the console screenshot and serial log blobs. */ export interface RetrieveBootDiagnosticsDataResultOutput { /** The console screenshot blob URI */ - consoleScreenshotBlobUri?: string; + readonly consoleScreenshotBlobUri?: string; /** The serial console log blob URI. */ - serialConsoleLogBlobUri?: string; + readonly serialConsoleLogBlobUri?: string; } /** The List Extension operation response */ @@ -1952,7 +1952,7 @@ export interface VirtualMachineOutput extends ResourceOutput { /** Describes the properties of a Virtual Machine. */ properties?: VirtualMachinePropertiesOutput; /** The virtual machine child extension resources. */ - resources?: Array; + readonly resources?: Array; /** The identity of the virtual machine, if configured. */ identity?: VirtualMachineIdentityOutput; /** The virtual machine zones. */ @@ -1994,13 +1994,13 @@ export interface VirtualMachinePropertiesOutput { /** Specifies information about the dedicated host group that the virtual machine resides in.

    Minimum api-version: 2020-06-01.

    NOTE: User cannot specify both host and hostGroup properties. */ hostGroup?: SubResourceOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The virtual machine instance view. */ - instanceView?: VirtualMachineInstanceViewOutput; + readonly instanceView?: VirtualMachineInstanceViewOutput; /** Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15 */ licenseType?: string; /** Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. */ - vmId?: string; + readonly vmId?: string; /** Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

    Minimum api-version: 2020-06-01 */ extensionsTimeBudget?: string; /** Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
  • This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
  • The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.
  • This property cannot be updated once the Virtual Machine is created.
  • Fault domain assignment can be viewed in the Virtual Machine Instance View.

    Minimum api‐version: 2020‐12‐01 */ @@ -2014,7 +2014,7 @@ export interface VirtualMachinePropertiesOutput { /** Specifies the gallery applications that should be made available to the VM/VMSS */ applicationProfile?: ApplicationProfileOutput; /** Specifies the time at which the Virtual Machine resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: string; + readonly timeCreated?: string; } /** The instance view of a virtual machine. */ @@ -2042,11 +2042,11 @@ export interface VirtualMachineInstanceViewOutput { /** The extensions information. */ extensions?: Array; /** The health status for the VM. */ - vmHealth?: VirtualMachineHealthStatusOutput; + readonly vmHealth?: VirtualMachineHealthStatusOutput; /** Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

    You can easily view the output of your console log.

    Azure also enables you to see a screenshot of the VM from the hypervisor. */ bootDiagnostics?: BootDiagnosticsInstanceViewOutput; /** Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.

    Minimum api-version: 2020-06-01. */ - assignedHost?: string; + readonly assignedHost?: string; /** The resource status information. */ statuses?: Array; /** [Preview Feature] The status of virtual machine patch operations. */ @@ -2060,153 +2060,163 @@ export interface VirtualMachinePatchStatusOutput { /** The installation summary of the latest installation operation for the virtual machine. */ lastPatchInstallationSummary?: LastPatchInstallationSummaryOutput; /** The enablement status of the specified patchMode */ - configurationStatuses?: Array; + readonly configurationStatuses?: Array; } /** Describes the properties of an virtual machine instance view for available patch summary. */ export interface AvailablePatchSummaryOutput { /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - assessmentActivityId?: string; + readonly assessmentActivityId?: string; /** The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. */ - rebootPending?: boolean; + readonly rebootPending?: boolean; /** The number of critical or security patches that have been detected as available and not yet installed. */ - criticalAndSecurityPatchCount?: number; + readonly criticalAndSecurityPatchCount?: number; /** The number of all available patches excluding critical and security. */ - otherPatchCount?: number; + readonly otherPatchCount?: number; /** The UTC timestamp when the operation began. */ - startTime?: string; + readonly startTime?: string; /** The UTC timestamp when the operation began. */ - lastModifiedTime?: string; + readonly lastModifiedTime?: string; /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; } /** Describes the properties of the last installed patch summary. */ export interface LastPatchInstallationSummaryOutput { /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - installationActivityId?: string; + readonly installationActivityId?: string; /** Describes whether the operation ran out of time before it completed all its intended actions */ - maintenanceWindowExceeded?: boolean; + readonly maintenanceWindowExceeded?: boolean; /** The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry. */ - notSelectedPatchCount?: number; + readonly notSelectedPatchCount?: number; /** The number of all available patches but excluded explicitly by a customer-specified exclusion list match. */ - excludedPatchCount?: number; + readonly excludedPatchCount?: number; /** The number of all available patches expected to be installed over the course of the patch installation operation. */ - pendingPatchCount?: number; + readonly pendingPatchCount?: number; /** The count of patches that successfully installed. */ - installedPatchCount?: number; + readonly installedPatchCount?: number; /** The count of patches that failed installation. */ - failedPatchCount?: number; + readonly failedPatchCount?: number; /** The UTC timestamp when the operation began. */ - startTime?: string; + readonly startTime?: string; /** The UTC timestamp when the operation began. */ - lastModifiedTime?: string; + readonly lastModifiedTime?: string; /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; } /** Output of virtual machine capture operation. */ export interface VirtualMachineCaptureResultOutput extends SubResourceOutput { /** the schema of the captured virtual machine */ - $schema?: string; + readonly $schema?: string; /** the version of the content */ - contentVersion?: string; + readonly contentVersion?: string; /** parameters of the captured virtual machine */ - parameters?: any; + readonly parameters?: any; /** a list of resource items of the captured virtual machine */ - resources?: Array; + readonly resources?: Array; } /** Describes the properties of an AssessPatches result. */ export interface VirtualMachineAssessPatchesResultOutput { /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - assessmentActivityId?: string; + readonly assessmentActivityId?: string; /** The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. */ - rebootPending?: boolean; + readonly rebootPending?: boolean; /** The number of critical or security patches that have been detected as available and not yet installed. */ - criticalAndSecurityPatchCount?: number; + readonly criticalAndSecurityPatchCount?: number; /** The number of all available patches excluding critical and security. */ - otherPatchCount?: number; + readonly otherPatchCount?: number; /** The UTC timestamp when the operation began. */ - startDateTime?: string; + readonly startDateTime?: string; /** The list of patches that have been detected as available for installation. */ - availablePatches?: Array; + readonly availablePatches?: Array; /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; } /** Describes the properties of a Virtual Machine software patch. */ export interface VirtualMachineSoftwarePatchPropertiesOutput { /** A unique identifier for the patch. */ - patchId?: string; + readonly patchId?: string; /** The friendly name of the patch. */ - name?: string; + readonly name?: string; /** The version number of the patch. This property applies only to Linux patches. */ - version?: string; + readonly version?: string; /** The KBID of the patch. Only applies to Windows patches. */ - kbId?: string; + readonly kbId?: string; /** The classification(s) of the patch as provided by the patch publisher. */ - classifications?: Array; + readonly classifications?: Array; /** Describes the reboot requirements of the patch. */ - rebootBehavior?: "Unknown" | "NeverReboots" | "AlwaysRequiresReboot" | "CanRequestReboot"; + readonly rebootBehavior?: + | "Unknown" + | "NeverReboots" + | "AlwaysRequiresReboot" + | "CanRequestReboot"; /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - activityId?: string; + readonly activityId?: string; /** The UTC timestamp when the repository published this patch. */ - publishedDate?: string; + readonly publishedDate?: string; /** The UTC timestamp of the last update to this patch record. */ - lastModifiedDateTime?: string; + readonly lastModifiedDateTime?: string; /** Describes the availability of a given patch. */ - assessmentState?: "Unknown" | "Available"; + readonly assessmentState?: "Unknown" | "Available"; } /** The result summary of an installation operation. */ export interface VirtualMachineInstallPatchesResultOutput { /** The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or "CompletedWithWarnings." */ - status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; + readonly status?: "Unknown" | "InProgress" | "Failed" | "Succeeded" | "CompletedWithWarnings"; /** The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. */ - installationActivityId?: string; + readonly installationActivityId?: string; /** The reboot state of the VM following completion of the operation. */ - rebootStatus?: "Unknown" | "NotNeeded" | "Required" | "Started" | "Failed" | "Completed"; + readonly rebootStatus?: "Unknown" | "NotNeeded" | "Required" | "Started" | "Failed" | "Completed"; /** Whether the operation ran out of time before it completed all its intended actions. */ - maintenanceWindowExceeded?: boolean; + readonly maintenanceWindowExceeded?: boolean; /** The number of patches that were not installed due to the user blocking their installation. */ - excludedPatchCount?: number; + readonly excludedPatchCount?: number; /** The number of patches that were detected as available for install, but did not meet the operation's criteria. */ - notSelectedPatchCount?: number; + readonly notSelectedPatchCount?: number; /** The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true. */ - pendingPatchCount?: number; + readonly pendingPatchCount?: number; /** The number of patches successfully installed. */ - installedPatchCount?: number; + readonly installedPatchCount?: number; /** The number of patches that could not be installed due to some issue. See errors for details. */ - failedPatchCount?: number; + readonly failedPatchCount?: number; /** The patches that were installed during the operation. */ - patches?: Array; + readonly patches?: Array; /** The UTC timestamp when the operation began. */ - startDateTime?: string; + readonly startDateTime?: string; /** The errors that were encountered during execution of the operation. The details array contains the list of them. */ - error?: ApiErrorOutput; + readonly error?: ApiErrorOutput; } /** Information about a specific patch that was encountered during an installation action. */ export interface PatchInstallationDetailOutput { /** A unique identifier for the patch. */ - patchId?: string; + readonly patchId?: string; /** The friendly name of the patch. */ - name?: string; + readonly name?: string; /** The version string of the package. It may conform to Semantic Versioning. Only applies to Linux. */ - version?: string; + readonly version?: string; /** The KBID of the patch. Only applies to Windows patches. */ - kbId?: string; + readonly kbId?: string; /** The classification(s) of the patch as provided by the patch publisher. */ - classifications?: Array; + readonly classifications?: Array; /** The state of the patch after the installation operation completed. */ - installationState?: "Unknown" | "Installed" | "Failed" | "Excluded" | "NotSelected" | "Pending"; + readonly installationState?: + | "Unknown" + | "Installed" + | "Failed" + | "Excluded" + | "NotSelected" + | "Pending"; } /** Describes a Virtual Machine Image. */ @@ -2252,7 +2262,7 @@ export interface OSDiskImageOutput { /** Contains the data disk images information. */ export interface DataDiskImageOutput { /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ - lun?: number; + readonly lun?: number; } /** Describes automatic OS upgrade properties on the image. */ @@ -2334,7 +2344,7 @@ export interface AvailabilitySetPropertiesOutput { /** Specifies information about the proximity placement group that the availability set should be assigned to.

    Minimum api-version: 2018-04-01. */ proximityPlacementGroup?: SubResourceOutput; /** The resource status information. */ - statuses?: Array; + readonly statuses?: Array; } /** The List Availability Set operation response. */ @@ -2358,11 +2368,11 @@ export interface ProximityPlacementGroupPropertiesOutput { /** Specifies the type of the proximity placement group.

    Possible values are:

    **Standard** : Co-locate resources within an Azure region or Availability Zone.

    **Ultra** : For future use. */ proximityPlacementGroupType?: "Standard" | "Ultra"; /** A list of references to all virtual machines in the proximity placement group. */ - virtualMachines?: Array; + readonly virtualMachines?: Array; /** A list of references to all virtual machine scale sets in the proximity placement group. */ - virtualMachineScaleSets?: Array; + readonly virtualMachineScaleSets?: Array; /** A list of references to all availability sets in the proximity placement group. */ - availabilitySets?: Array; + readonly availabilitySets?: Array; /** Describes colocation status of the Proximity Placement Group. */ colocationStatus?: InstanceViewStatusOutput; /** Specifies the user intent of the proximity placement group. */ @@ -2401,9 +2411,9 @@ export interface DedicatedHostGroupPropertiesOutput { /** Number of fault domains that the host group can span. */ platformFaultDomainCount: number; /** A list of references to all dedicated hosts in the dedicated host group. */ - hosts?: Array; + readonly hosts?: Array; /** The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group. */ - instanceView?: DedicatedHostGroupInstanceViewOutput; + readonly instanceView?: DedicatedHostGroupInstanceViewOutput; /** Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.

    Minimum api-version: 2020-06-01. */ supportAutomaticPlacement?: boolean; /** Enables or disables a capability on the dedicated host group.

    Minimum api-version: 2022-03-01. */ @@ -2418,13 +2428,13 @@ export interface DedicatedHostGroupInstanceViewOutput { /** The instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group. */ export interface DedicatedHostInstanceViewWithNameOutput extends DedicatedHostInstanceViewOutput { /** The name of the dedicated host. */ - name?: string; + readonly name?: string; } /** The instance view of a dedicated host. */ export interface DedicatedHostInstanceViewOutput { /** Specifies the unique id of the dedicated physical machine on which the dedicated host resides. */ - assetId?: string; + readonly assetId?: string; /** Unutilized capacity of the dedicated host. */ availableCapacity?: DedicatedHostAvailableCapacityOutput; /** The resource status information. */ @@ -2474,19 +2484,19 @@ export interface DedicatedHostPropertiesOutput { /** Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided. */ autoReplaceOnFailure?: boolean; /** A unique id generated and assigned to the dedicated host by the platform.

    Does not change throughout the lifetime of the host. */ - hostId?: string; + readonly hostId?: string; /** A list of references to all virtual machines in the Dedicated Host. */ - virtualMachines?: Array; + readonly virtualMachines?: Array; /** Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

    Possible values are:

    **None**

    **Windows_Server_Hybrid**

    **Windows_Server_Perpetual**

    Default: **None** */ licenseType?: "None" | "Windows_Server_Hybrid" | "Windows_Server_Perpetual"; /** The date when the host was first provisioned. */ - provisioningTime?: string; + readonly provisioningTime?: string; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The dedicated host instance view. */ - instanceView?: DedicatedHostInstanceViewOutput; + readonly instanceView?: DedicatedHostInstanceViewOutput; /** Specifies the time at which the Dedicated Host resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: string; + readonly timeCreated?: string; } /** The list dedicated host operation response. */ @@ -2542,7 +2552,7 @@ export interface ImagePropertiesOutput { /** Specifies the storage settings for the virtual machine disks. */ storageProfile?: ImageStorageProfileOutput; /** The provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. */ hyperVGeneration?: "V1" | "V2"; } @@ -2615,17 +2625,17 @@ export interface RestorePointCollectionPropertiesOutput { /** The properties of the source resource that this restore point collection is created from. */ source?: RestorePointCollectionSourcePropertiesOutput; /** The provisioning state of the restore point collection. */ - provisioningState?: string; + readonly provisioningState?: string; /** The unique id of the restore point collection. */ - restorePointCollectionId?: string; + readonly restorePointCollectionId?: string; /** A list containing all restore points created under this restore point collection. */ - restorePoints?: Array; + readonly restorePoints?: Array; } /** The properties of the source resource that this restore point collection is created from. */ export interface RestorePointCollectionSourcePropertiesOutput { /** Location of the source resource used to create this restore point collection. */ - location?: string; + readonly location?: string; /** Resource Id of the source resource used to create this restore point collection */ id?: string; } @@ -2641,9 +2651,9 @@ export interface RestorePointPropertiesOutput { /** List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included. */ excludeDisks?: Array; /** Gets the details of the VM captured at the time of the restore point creation. */ - sourceMetadata?: RestorePointSourceMetadataOutput; + readonly sourceMetadata?: RestorePointSourceMetadataOutput; /** Gets the provisioning state of the restore point. */ - provisioningState?: string; + readonly provisioningState?: string; /** ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details. */ consistencyMode?: "CrashConsistent" | "FileSystemConsistent" | "ApplicationConsistent"; /** Gets the creation time of the restore point. */ @@ -2651,7 +2661,7 @@ export interface RestorePointPropertiesOutput { /** Resource Id of the source restore point from which a copy needs to be created. */ sourceRestorePoint?: ApiEntityReferenceOutput; /** The restore point instance view. */ - instanceView?: RestorePointInstanceViewOutput; + readonly instanceView?: RestorePointInstanceViewOutput; } /** Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation. */ @@ -2743,11 +2753,11 @@ export interface DiskRestorePointReplicationStatusOutput { /** The resource model definition for an Azure Resource Manager proxy resource. It will not have tags and a location */ export interface ProxyResourceOutput { /** Resource Id */ - id?: string; + readonly id?: string; /** Resource name */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; } /** The List restore point collection operation response. */ @@ -2769,23 +2779,23 @@ export interface CapacityReservationGroupOutput extends ResourceOutput { /** capacity reservation group Properties. */ export interface CapacityReservationGroupPropertiesOutput { /** A list of all capacity reservation resource ids that belong to capacity reservation group. */ - capacityReservations?: Array; + readonly capacityReservations?: Array; /** A list of references to all virtual machines associated to the capacity reservation group. */ - virtualMachinesAssociated?: Array; + readonly virtualMachinesAssociated?: Array; /** The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group. */ - instanceView?: CapacityReservationGroupInstanceViewOutput; + readonly instanceView?: CapacityReservationGroupInstanceViewOutput; } export interface CapacityReservationGroupInstanceViewOutput { /** List of instance view of the capacity reservations under the capacity reservation group. */ - capacityReservations?: Array; + readonly capacityReservations?: Array; } /** The instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group. */ export interface CapacityReservationInstanceViewWithNameOutput extends CapacityReservationInstanceViewOutput { /** The name of the capacity reservation. */ - name?: string; + readonly name?: string; } /** The instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. */ @@ -2799,9 +2809,9 @@ export interface CapacityReservationInstanceViewOutput { /** Represents the capacity reservation utilization in terms of resources allocated. */ export interface CapacityReservationUtilizationOutput { /** The value provides the current capacity of the VM size which was reserved successfully and for which the customer is getting billed.

    Minimum api-version: 2022-08-01. */ - currentCapacity?: number; + readonly currentCapacity?: number; /** A list of all virtual machines resource ids allocated against the capacity reservation. */ - virtualMachinesAllocated?: Array; + readonly virtualMachinesAllocated?: Array; } /** The List capacity reservation group with resource group response. */ @@ -2825,19 +2835,19 @@ export interface CapacityReservationOutput extends ResourceOutput { /** Properties of the Capacity reservation. */ export interface CapacityReservationPropertiesOutput { /** A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. */ - reservationId?: string; + readonly reservationId?: string; /** Specifies the value of fault domain count that Capacity Reservation supports for requested VM size.
    NOTE: The fault domain count specified for a resource (like virtual machines scale set) must be less than or equal to this value if it deploys using capacity reservation.

    Minimum api-version: 2022-08-01. */ - platformFaultDomainCount?: number; + readonly platformFaultDomainCount?: number; /** A list of all virtual machine resource ids that are associated with the capacity reservation. */ - virtualMachinesAssociated?: Array; + readonly virtualMachinesAssociated?: Array; /** The date time when the capacity reservation was last updated. */ - provisioningTime?: string; + readonly provisioningTime?: string; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The Capacity reservation instance view. */ - instanceView?: CapacityReservationInstanceViewOutput; + readonly instanceView?: CapacityReservationInstanceViewOutput; /** Specifies the time at which the Capacity Reservation resource was created.

    Minimum api-version: 2021-11-01. */ - timeCreated?: string; + readonly timeCreated?: string; } /** The list capacity reservation operation response. */ @@ -2851,13 +2861,13 @@ export interface CapacityReservationListResultOutput { /** LogAnalytics operation status response */ export interface LogAnalyticsOperationResultOutput { /** LogAnalyticsOutput */ - properties?: LogAnalyticsOutputOutput; + readonly properties?: LogAnalyticsOutputOutput; } /** LogAnalytics output properties */ export interface LogAnalyticsOutputOutput { /** Output file Uri path to blob container. */ - output?: string; + readonly output?: string; } /** The List Virtual Machine operation response. */ @@ -2942,9 +2952,9 @@ export interface VirtualMachineRunCommandPropertiesOutput { /** Specifies the Azure storage blob where script error stream will be uploaded. */ errorBlobUri?: string; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The virtual machine run command instance view. */ - instanceView?: VirtualMachineRunCommandInstanceViewOutput; + readonly instanceView?: VirtualMachineRunCommandInstanceViewOutput; } /** Describes the script sources for run command. */ @@ -2995,9 +3005,9 @@ export interface VirtualMachineRunCommandsListResultOutput { /** Disk resource. */ export interface DiskOutput extends ResourceOutput { /** A relative URI containing the ID of the VM that has the disk attached. */ - managedBy?: string; + readonly managedBy?: string; /** List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. */ - managedByExtended?: Array; + readonly managedByExtended?: Array; /** The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. */ sku?: DiskSkuOutput; /** The Logical zone list for Disk. */ @@ -3020,13 +3030,13 @@ export interface DiskSkuOutput { | "StandardSSD_ZRS" | "PremiumV2_LRS"; /** The sku tier. */ - tier?: string; + readonly tier?: string; } /** Disk resource properties. */ export interface DiskPropertiesOutput { /** The time when the disk was created. */ - timeCreated?: string; + readonly timeCreated?: string; /** The Operating System type. */ osType?: "Windows" | "Linux"; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ @@ -3040,13 +3050,13 @@ export interface DiskPropertiesOutput { /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ diskSizeGB?: number; /** The size of the disk in bytes. This field is read only. */ - diskSizeBytes?: number; + readonly diskSizeBytes?: number; /** Unique Guid identifying the resource. */ - uniqueId?: string; + readonly uniqueId?: string; /** Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ encryptionSettingsCollection?: EncryptionSettingsCollectionOutput; /** The disk provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. */ diskIOPSReadWrite?: number; /** The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ @@ -3056,7 +3066,7 @@ export interface DiskPropertiesOutput { /** The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. */ diskMBpsReadOnly?: number; /** The state of the disk. */ - diskState?: + readonly diskState?: | "Unattached" | "Attached" | "Reserved" @@ -3070,19 +3080,19 @@ export interface DiskPropertiesOutput { /** The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. */ maxShares?: number; /** Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. */ - shareInfo?: Array; + readonly shareInfo?: Array; /** Policy for accessing the disk via network. */ networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"; /** ARM id of the DiskAccess resource for using private endpoints on disks. */ diskAccessId?: string; /** Latest time when bursting was last enabled on a disk. */ - burstingEnabledTime?: string; + readonly burstingEnabledTime?: string; /** Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. */ tier?: string; /** Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. */ burstingEnabled?: boolean; /** Properties of the disk for which update is pending. */ - propertyUpdatesInProgress?: PropertyUpdatesInProgressOutput; + readonly propertyUpdatesInProgress?: PropertyUpdatesInProgressOutput; /** Indicates the OS on a disk supports hibernation. */ supportsHibernation?: boolean; /** Contains the security related information for the resource. */ @@ -3144,7 +3154,7 @@ export interface CreationDataOutput { /** If createOption is Copy, this is the ARM id of the source snapshot or disk. */ sourceResourceId?: string; /** If this field is set, this is the unique id identifying the source of this resource. */ - sourceUniqueId?: string; + readonly sourceUniqueId?: string; /** If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). */ uploadSizeBytes?: number; /** Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. */ @@ -3220,7 +3230,7 @@ export interface EncryptionOutput { export interface ShareInfoElementOutput { /** A relative URI containing the ID of the VM that has the disk attached. */ - vmUri?: string; + readonly vmUri?: string; } /** Properties of the disk for which update is pending. */ @@ -3252,9 +3262,9 @@ export interface DiskListOutput { /** A disk access SAS uri. */ export interface AccessUriOutput { /** A SAS uri for accessing a disk. */ - accessSAS?: string; + readonly accessSAS?: string; /** A SAS uri for accessing a VM guest state. */ - securityDataAccessSAS?: string; + readonly securityDataAccessSAS?: string; } /** disk access resource. */ @@ -3266,11 +3276,11 @@ export interface DiskAccessOutput extends ResourceOutput { export interface DiskAccessPropertiesOutput { /** A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported. */ - privateEndpointConnections?: Array; + readonly privateEndpointConnections?: Array; /** The disk access resource provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** The time when the disk access was created. */ - timeCreated?: string; + readonly timeCreated?: string; } /** The Private Endpoint Connection resource. */ @@ -3278,27 +3288,27 @@ export interface PrivateEndpointConnectionOutput { /** Resource properties. */ properties?: PrivateEndpointConnectionPropertiesOutput; /** private endpoint connection Id */ - id?: string; + readonly id?: string; /** private endpoint connection name */ - name?: string; + readonly name?: string; /** private endpoint connection type */ - type?: string; + readonly type?: string; } /** Properties of the PrivateEndpointConnectProperties. */ export interface PrivateEndpointConnectionPropertiesOutput { /** The resource of private end point. */ - privateEndpoint?: PrivateEndpointOutput; + readonly privateEndpoint?: PrivateEndpointOutput; /** A collection of information about the state of the connection between DiskAccess and Virtual Network. */ privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput; /** The provisioning state of the private endpoint connection resource. */ - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } /** The Private Endpoint resource. */ export interface PrivateEndpointOutput { /** The ARM identifier for Private Endpoint */ - id?: string; + readonly id?: string; } /** A collection of information about the state of the connection between service consumer and provider. */ @@ -3330,19 +3340,19 @@ export interface PrivateLinkResourceOutput { /** Resource properties. */ properties?: PrivateLinkResourcePropertiesOutput; /** private link resource Id */ - id?: string; + readonly id?: string; /** private link resource name */ - name?: string; + readonly name?: string; /** private link resource type */ - type?: string; + readonly type?: string; } /** Properties of a private link resource. */ export interface PrivateLinkResourcePropertiesOutput { /** The private link resource group id. */ - groupId?: string; + readonly groupId?: string; /** The private link resource required member names. */ - requiredMembers?: Array; + readonly requiredMembers?: Array; /** The private link resource DNS zone name. */ requiredZoneNames?: Array; } @@ -3367,9 +3377,9 @@ export interface EncryptionSetIdentityOutput { /** The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. */ type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; /** The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity */ - principalId?: string; + readonly principalId?: string; /** The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity */ - tenantId?: string; + readonly tenantId?: string; /** The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record; } @@ -3383,15 +3393,15 @@ export interface EncryptionSetPropertiesOutput { /** The key vault key which is currently used by this disk encryption set. */ activeKey?: KeyForDiskEncryptionSetOutput; /** A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation. */ - previousKeys?: Array; + readonly previousKeys?: Array; /** The disk encryption set provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. */ rotationToLatestKeyVersionEnabled?: boolean; /** The time when the active key of this disk encryption set was updated. */ - lastKeyRotationTimestamp?: string; + readonly lastKeyRotationTimestamp?: string; /** The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed. */ - autoKeyRotationError?: ApiErrorOutput; + readonly autoKeyRotationError?: ApiErrorOutput; /** Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property. */ federatedClientId?: string; } @@ -3429,11 +3439,11 @@ export interface DiskRestorePointOutput extends ProxyOnlyResourceOutput { /** Properties of an incremental disk restore point */ export interface DiskRestorePointPropertiesOutput { /** The timestamp of restorePoint creation */ - timeCreated?: string; + readonly timeCreated?: string; /** arm id of source disk or source disk restore point. */ - sourceResourceId?: string; + readonly sourceResourceId?: string; /** The Operating System type. */ - osType?: "Windows" | "Linux"; + readonly osType?: "Windows" | "Linux"; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ hyperVGeneration?: "V1" | "V2"; /** Purchase plan information for the the image from which the OS disk was created. */ @@ -3441,11 +3451,11 @@ export interface DiskRestorePointPropertiesOutput { /** List of supported capabilities for the image from which the OS disk was created. */ supportedCapabilities?: SupportedCapabilitiesOutput; /** id of the backing snapshot's MIS family */ - familyId?: string; + readonly familyId?: string; /** unique incarnation id of the source disk */ - sourceUniqueId?: string; + readonly sourceUniqueId?: string; /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ - encryption?: EncryptionOutput; + readonly encryption?: EncryptionOutput; /** Indicates the OS on a disk supports hibernation. */ supportsHibernation?: boolean; /** Policy for accessing the disk via network. */ @@ -3457,9 +3467,9 @@ export interface DiskRestorePointPropertiesOutput { /** Percentage complete for the background copy of disk restore point when source resource is from a different region. */ completionPercent?: number; /** Replication state of disk restore point when source resource is from a different region. */ - replicationState?: string; + readonly replicationState?: string; /** Location of source disk or source disk restore point when source resource is from a different region. */ - sourceResourceLocation?: string; + readonly sourceResourceLocation?: string; /** Contains the security related information for the resource. */ securityProfile?: DiskSecurityProfileOutput; } @@ -3467,11 +3477,11 @@ export interface DiskRestorePointPropertiesOutput { /** The ProxyOnly Resource model definition. */ export interface ProxyOnlyResourceOutput { /** Resource Id */ - id?: string; + readonly id?: string; /** Resource name */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; } /** The List Disk Restore Points operation response. */ @@ -3485,7 +3495,7 @@ export interface DiskRestorePointListOutput { /** Snapshot resource. */ export interface SnapshotOutput extends ResourceOutput { /** Unused. Always Null. */ - managedBy?: string; + readonly managedBy?: string; /** The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot */ sku?: SnapshotSkuOutput; /** The extended location where the snapshot will be created. Extended location cannot be changed. */ @@ -3499,13 +3509,13 @@ export interface SnapshotSkuOutput { /** The sku name. */ name?: "Standard_LRS" | "Premium_LRS" | "Standard_ZRS"; /** The sku tier. */ - tier?: string; + readonly tier?: string; } /** Snapshot resource properties. */ export interface SnapshotPropertiesOutput { /** The time when the snapshot was created. */ - timeCreated?: string; + readonly timeCreated?: string; /** The Operating System type. */ osType?: "Windows" | "Linux"; /** The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ @@ -3519,9 +3529,9 @@ export interface SnapshotPropertiesOutput { /** If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. */ diskSizeGB?: number; /** The size of the disk in bytes. This field is read only. */ - diskSizeBytes?: number; + readonly diskSizeBytes?: number; /** The state of the snapshot. */ - diskState?: + readonly diskState?: | "Unattached" | "Attached" | "Reserved" @@ -3531,15 +3541,15 @@ export interface SnapshotPropertiesOutput { | "ReadyToUpload" | "ActiveUpload"; /** Unique Guid identifying the resource. */ - uniqueId?: string; + readonly uniqueId?: string; /** Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. */ encryptionSettingsCollection?: EncryptionSettingsCollectionOutput; /** The disk provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. */ incremental?: boolean; /** Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id. */ - incrementalSnapshotFamilyId?: string; + readonly incrementalSnapshotFamilyId?: string; /** Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. */ encryption?: EncryptionOutput; /** Policy for accessing the disk via network. */ @@ -3587,103 +3597,103 @@ export interface ResourceSkusResultOutput { /** Describes an available Compute SKU. */ export interface ResourceSkuOutput { /** The type of resource the SKU applies to. */ - resourceType?: string; + readonly resourceType?: string; /** The name of SKU. */ - name?: string; + readonly name?: string; /** Specifies the tier of virtual machines in a scale set.

    Possible Values:

    **Standard**

    **Basic** */ - tier?: string; + readonly tier?: string; /** The Size of the SKU. */ - size?: string; + readonly size?: string; /** The Family of this particular SKU. */ - family?: string; + readonly family?: string; /** The Kind of resources that are supported in this SKU. */ - kind?: string; + readonly kind?: string; /** Specifies the number of virtual machines in the scale set. */ - capacity?: ResourceSkuCapacityOutput; + readonly capacity?: ResourceSkuCapacityOutput; /** The set of locations that the SKU is available. */ - locations?: Array; + readonly locations?: Array; /** A list of locations and availability zones in those locations where the SKU is available. */ - locationInfo?: Array; + readonly locationInfo?: Array; /** The api versions that support this SKU. */ - apiVersions?: Array; + readonly apiVersions?: Array; /** Metadata for retrieving price info. */ - costs?: Array; + readonly costs?: Array; /** A name value pair to describe the capability. */ - capabilities?: Array; + readonly capabilities?: Array; /** The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. */ - restrictions?: Array; + readonly restrictions?: Array; } /** Describes scaling information of a SKU. */ export interface ResourceSkuCapacityOutput { /** The minimum capacity. */ - minimum?: number; + readonly minimum?: number; /** The maximum capacity that can be set. */ - maximum?: number; + readonly maximum?: number; /** The default capacity. */ - default?: number; + readonly default?: number; /** The scale type applicable to the sku. */ - scaleType?: "Automatic" | "Manual" | "None"; + readonly scaleType?: "Automatic" | "Manual" | "None"; } /** Describes an available Compute SKU Location Information. */ export interface ResourceSkuLocationInfoOutput { /** Location of the SKU */ - location?: string; + readonly location?: string; /** List of availability zones where the SKU is supported. */ - zones?: Array; + readonly zones?: Array; /** Details of capabilities available to a SKU in specific zones. */ - zoneDetails?: Array; + readonly zoneDetails?: Array; /** The names of extended locations. */ - extendedLocations?: Array; + readonly extendedLocations?: Array; /** The type of the extended location. */ - type?: "EdgeZone"; + readonly type?: "EdgeZone"; } /** Describes The zonal capabilities of a SKU. */ export interface ResourceSkuZoneDetailsOutput { /** The set of zones that the SKU is available in with the specified capabilities. */ - name?: Array; + readonly name?: Array; /** A list of capabilities that are available for the SKU in the specified list of zones. */ - capabilities?: Array; + readonly capabilities?: Array; } /** Describes The SKU capabilities object. */ export interface ResourceSkuCapabilitiesOutput { /** An invariant to describe the feature. */ - name?: string; + readonly name?: string; /** An invariant if the feature is measured by quantity. */ - value?: string; + readonly value?: string; } /** Describes metadata for retrieving price info. */ export interface ResourceSkuCostsOutput { /** Used for querying price from commerce. */ - meterID?: string; + readonly meterID?: string; /** The multiplier is needed to extend the base metered cost. */ - quantity?: number; + readonly quantity?: number; /** An invariant to show the extended unit. */ - extendedUnit?: string; + readonly extendedUnit?: string; } /** Describes scaling information of a SKU. */ export interface ResourceSkuRestrictionsOutput { /** The type of restrictions. */ - type?: "Location" | "Zone"; + readonly type?: "Location" | "Zone"; /** The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. */ - values?: Array; + readonly values?: Array; /** The information about the restriction where the SKU cannot be used. */ - restrictionInfo?: ResourceSkuRestrictionInfoOutput; + readonly restrictionInfo?: ResourceSkuRestrictionInfoOutput; /** The reason for restriction. */ - reasonCode?: "QuotaId" | "NotAvailableForSubscription"; + readonly reasonCode?: "QuotaId" | "NotAvailableForSubscription"; } /** Describes an available Compute SKU Restriction Information. */ export interface ResourceSkuRestrictionInfoOutput { /** Locations where the SKU is restricted */ - locations?: Array; + readonly locations?: Array; /** List of availability zones where the SKU is restricted. */ - zones?: Array; + readonly zones?: Array; } /** Specifies information about the Shared Image Gallery that you want to create or update. */ @@ -3699,19 +3709,25 @@ export interface GalleryPropertiesOutput { /** Describes the gallery unique name. */ identifier?: GalleryIdentifierOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: + | "Creating" + | "Updating" + | "Failed" + | "Succeeded" + | "Deleting" + | "Migrating"; /** Profile for gallery sharing to subscription or tenant */ sharingProfile?: SharingProfileOutput; /** Contains information about the soft deletion policy of the gallery. */ softDeletePolicy?: SoftDeletePolicyOutput; /** Sharing status of current gallery. */ - sharingStatus?: SharingStatusOutput; + readonly sharingStatus?: SharingStatusOutput; } /** Describes the gallery unique name. */ export interface GalleryIdentifierOutput { /** The unique name of the Shared Image Gallery. This name is generated automatically by Azure. */ - uniqueName?: string; + readonly uniqueName?: string; } /** Profile for gallery sharing to subscription or tenant */ @@ -3719,7 +3735,7 @@ export interface SharingProfileOutput { /** This property allows you to specify the permission of sharing gallery.

    Possible values are:

    **Private**

    **Groups**

    **Community** */ permissions?: "Private" | "Groups" | "Community"; /** A list of sharing profile groups. */ - groups?: Array; + readonly groups?: Array; /** Information of community gallery if current gallery is shared to community. */ communityGalleryInfo?: CommunityGalleryInfoOutput; } @@ -3743,9 +3759,9 @@ export interface CommunityGalleryInfoOutput { /** The prefix of the gallery name that will be displayed publicly. Visible to all users. */ publicNamePrefix?: string; /** Contains info about whether community gallery sharing is enabled. */ - communityGalleryEnabled?: boolean; + readonly communityGalleryEnabled?: boolean; /** Community gallery public name list. */ - publicNames?: Array; + readonly publicNames?: Array; } /** Contains information about the soft deletion policy of the gallery. */ @@ -3757,7 +3773,7 @@ export interface SoftDeletePolicyOutput { /** Sharing status of current gallery. */ export interface SharingStatusOutput { /** Aggregated sharing state of current gallery. */ - aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; + readonly aggregatedState?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; /** Summary of all regional sharing status. */ summary?: Array; } @@ -3767,7 +3783,7 @@ export interface RegionalSharingStatusOutput { /** Region name */ region?: string; /** Gallery sharing state in current region */ - state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; + readonly state?: "Succeeded" | "InProgress" | "Failed" | "Unknown"; /** Details of gallery regional sharing failure. */ details?: string; } @@ -3805,7 +3821,13 @@ export interface GalleryImagePropertiesOutput { /** Describes the gallery image definition purchase plan. This is used by marketplace images. */ purchasePlan?: ImagePurchasePlanOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: + | "Creating" + | "Updating" + | "Failed" + | "Succeeded" + | "Deleting" + | "Migrating"; /** A list of gallery image features. */ features?: Array; /** The architecture of the image. Applicable to OS disks only. */ @@ -3873,11 +3895,17 @@ export interface GalleryImageVersionPropertiesOutput { /** The publishing profile of a gallery image Version. */ publishingProfile?: GalleryImageVersionPublishingProfileOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: + | "Creating" + | "Updating" + | "Failed" + | "Succeeded" + | "Deleting" + | "Migrating"; /** This is the storage profile of a Gallery Image Version. */ storageProfile: GalleryImageVersionStorageProfileOutput; /** This is the replication status of the gallery image version. */ - replicationStatus?: ReplicationStatusOutput; + readonly replicationStatus?: ReplicationStatusOutput; } /** The publishing profile of a gallery image Version. */ @@ -3893,7 +3921,7 @@ export interface GalleryArtifactPublishingProfileBaseOutput { /** If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. */ excludeFromLatest?: boolean; /** The timestamp for when the gallery image version is published. */ - publishedDate?: string; + readonly publishedDate?: string; /** The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. */ endOfLifeDate?: string; /** Specifies the storage account type to be used to store the image. This property is not updatable. */ @@ -3997,7 +4025,7 @@ export interface GalleryOSDiskImageOutput extends GalleryDiskImageOutput {} /** This is the disk image base class. */ export interface GalleryDiskImageOutput { /** This property indicates the size of the VHD to be created. */ - sizeInGB?: number; + readonly sizeInGB?: number; /** The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' */ hostCaching?: "None" | "ReadOnly" | "ReadWrite"; /** The gallery artifact version source. */ @@ -4013,21 +4041,21 @@ export interface GalleryDataDiskImageOutput extends GalleryDiskImageOutput { /** This is the replication status of the gallery image version. */ export interface ReplicationStatusOutput { /** This is the aggregated replication status based on all the regional replication status flags. */ - aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; + readonly aggregatedState?: "Unknown" | "InProgress" | "Completed" | "Failed"; /** This is a summary of replication status for each region. */ - summary?: Array; + readonly summary?: Array; } /** This is the regional replication status. */ export interface RegionalReplicationStatusOutput { /** The region to which the gallery image version is being replicated to. */ - region?: string; + readonly region?: string; /** This is the regional replication state. */ - state?: "Unknown" | "Replicating" | "Completed" | "Failed"; + readonly state?: "Unknown" | "Replicating" | "Completed" | "Failed"; /** The details of the replication status. */ - details?: string; + readonly details?: string; /** It indicates progress of the replication job. */ - progress?: number; + readonly progress?: number; } /** Specifies information about the gallery Application Definition that you want to create or update. */ @@ -4063,9 +4091,15 @@ export interface GalleryApplicationVersionPropertiesOutput { /** The publishing profile of a gallery image version. */ publishingProfile: GalleryApplicationVersionPublishingProfileOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: "Creating" | "Updating" | "Failed" | "Succeeded" | "Deleting" | "Migrating"; + readonly provisioningState?: + | "Creating" + | "Updating" + | "Failed" + | "Succeeded" + | "Deleting" + | "Migrating"; /** This is the replication status of the gallery image version. */ - replicationStatus?: ReplicationStatusOutput; + readonly replicationStatus?: ReplicationStatusOutput; } /** The publishing profile of a gallery image version. */ @@ -4181,9 +4215,9 @@ export interface SharedGalleryIdentifierOutput { /** The Resource model definition. */ export interface PirResourceOutput { /** Resource name */ - name?: string; + readonly name?: string; /** Resource location */ - location?: string; + readonly location?: string; } /** The List Shared Gallery Images operation response. */ @@ -4264,7 +4298,7 @@ export interface SharedGalleryOSDiskImageOutput extends SharedGalleryDiskImageOu /** This is the disk image base class. */ export interface SharedGalleryDiskImageOutput { /** This property indicates the size of the VHD to be created. */ - diskSizeGB?: number; + readonly diskSizeGB?: number; /** The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' */ hostCaching?: "None" | "ReadOnly" | "ReadWrite"; } @@ -4281,11 +4315,11 @@ export interface CommunityGalleryOutput extends PirCommunityGalleryResourceOutpu /** Base information about the community gallery resource in pir. */ export interface PirCommunityGalleryResourceOutput { /** Resource name */ - name?: string; + readonly name?: string; /** Resource location */ - location?: string; + readonly location?: string; /** Resource type */ - type?: string; + readonly type?: string; /** The identifier information of community gallery. */ identifier?: CommunityGalleryIdentifierOutput; } @@ -4367,15 +4401,15 @@ export interface CommunityGalleryImageVersionListOutput { /** Describes the cloud service role instance. */ export interface RoleInstanceOutput { /** Resource Id */ - id?: string; + readonly id?: string; /** Resource Name. */ - name?: string; + readonly name?: string; /** Resource Type. */ - type?: string; + readonly type?: string; /** Resource Location. */ - location?: string; + readonly location?: string; /** Resource tags. */ - tags?: Record; + readonly tags?: Record; /** The role instance SKU. */ sku?: InstanceSkuOutput; /** Role instance properties. */ @@ -4385,9 +4419,9 @@ export interface RoleInstanceOutput { /** The role instance SKU. */ export interface InstanceSkuOutput { /** The sku name. */ - name?: string; + readonly name?: string; /** The tier of the cloud service role instance. */ - tier?: string; + readonly tier?: string; } /** Role instance properties. */ @@ -4401,30 +4435,30 @@ export interface RoleInstancePropertiesOutput { /** Describes the network profile for the role instance. */ export interface RoleInstanceNetworkProfileOutput { /** Specifies the list of resource Ids for the network interfaces associated with the role instance. */ - networkInterfaces?: Array; + readonly networkInterfaces?: Array; } /** The instance view of the role instance. */ export interface RoleInstanceViewOutput { /** The Update Domain. */ - platformUpdateDomain?: number; + readonly platformUpdateDomain?: number; /** The Fault Domain. */ - platformFaultDomain?: number; + readonly platformFaultDomain?: number; /** Specifies a unique identifier generated internally for the cloud service associated with this role instance.

    NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details. */ - privateId?: string; - statuses?: Array; + readonly privateId?: string; + readonly statuses?: Array; } /** Instance view status. */ export interface ResourceInstanceViewStatusOutput { /** The status code. */ - code?: string; + readonly code?: string; /** The short localizable label for the status. */ - displayStatus?: string; + readonly displayStatus?: string; /** The detailed status message, including for alerts and error messages. */ - message?: string; + readonly message?: string; /** The time of the status. */ - time?: string; + readonly time?: string; /** The level code. */ level?: "Info" | "Warning" | "Error"; } @@ -4440,13 +4474,13 @@ export interface RoleInstanceListResultOutput { /** Describes a role of the cloud service. */ export interface CloudServiceRoleOutput { /** Resource id */ - id?: string; + readonly id?: string; /** Resource name */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; /** Resource location */ - location?: string; + readonly location?: string; /** Describes the cloud service role sku. */ sku?: CloudServiceRoleSkuOutput; /** The cloud service role properties. */ @@ -4466,7 +4500,7 @@ export interface CloudServiceRoleSkuOutput { /** The cloud service role properties. */ export interface CloudServiceRolePropertiesOutput { /** Specifies the ID which uniquely identifies a cloud service role. */ - uniqueId?: string; + readonly uniqueId?: string; } /** The list operation result. */ @@ -4480,11 +4514,11 @@ export interface CloudServiceRoleListResultOutput { /** Describes the cloud service. */ export interface CloudServiceOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource location. */ location: string; /** Resource tags. */ @@ -4534,9 +4568,9 @@ export interface CloudServicePropertiesOutput { /** Describes a cloud service extension profile. */ extensionProfile?: CloudServiceExtensionProfileOutput; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** The unique identifier for the cloud service. */ - uniqueId?: string; + readonly uniqueId?: string; } /** Describes the role profile for the cloud service. */ @@ -4660,7 +4694,7 @@ export interface CloudServiceExtensionPropertiesOutput { */ forceUpdateTag?: string; /** The provisioning state, which only appears in the response. */ - provisioningState?: string; + readonly provisioningState?: string; /** Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service. */ rolesAppliedTo?: Array; } @@ -4676,9 +4710,9 @@ export interface CloudServiceVaultAndSecretReferenceOutput { /** The system meta data relating to this resource. */ export interface SystemDataOutput { /** Specifies the time in UTC at which the Cloud Service (extended support) resource was created.
    Minimum api-version: 2022-04-04. */ - createdAt?: string; + readonly createdAt?: string; /** Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
    Minimum api-version: 2022-04-04. */ - lastModifiedAt?: string; + readonly lastModifiedAt?: string; } /** InstanceView of CloudService as a whole */ @@ -4686,24 +4720,24 @@ export interface CloudServiceInstanceViewOutput { /** Instance view statuses. */ roleInstance?: InstanceViewStatusesSummaryOutput; /** The version of the SDK that was used to generate the package for the cloud service. */ - sdkVersion?: string; + readonly sdkVersion?: string; /** Specifies a list of unique identifiers generated internally for the cloud service.

    NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details. */ - privateIds?: Array; - statuses?: Array; + readonly privateIds?: Array; + readonly statuses?: Array; } /** Instance view statuses. */ export interface InstanceViewStatusesSummaryOutput { /** The summary. */ - statusesSummary?: Array; + readonly statusesSummary?: Array; } /** The status code and count of the cloud service instance view statuses */ export interface StatusCodeCountOutput { /** The instance view status code */ - code?: string; + readonly code?: string; /** Number of instances having this status code */ - count?: number; + readonly count?: number; } /** The list operation result. */ @@ -4717,9 +4751,9 @@ export interface CloudServiceListResultOutput { /** Defines an update domain for the cloud service. */ export interface UpdateDomainOutput { /** Resource Id */ - id?: string; + readonly id?: string; /** Resource Name */ - name?: string; + readonly name?: string; } /** The list operation result. */ @@ -4733,13 +4767,13 @@ export interface UpdateDomainListResultOutput { /** Describes a cloud service OS version. */ export interface OSVersionOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource location. */ - location?: string; + readonly location?: string; /** OS version properties. */ properties?: OSVersionPropertiesOutput; } @@ -4747,17 +4781,17 @@ export interface OSVersionOutput { /** OS version properties. */ export interface OSVersionPropertiesOutput { /** The family of this OS version. */ - family?: string; + readonly family?: string; /** The family label of this OS version. */ - familyLabel?: string; + readonly familyLabel?: string; /** The OS version. */ - version?: string; + readonly version?: string; /** The OS version label. */ - label?: string; + readonly label?: string; /** Specifies whether this is the default OS version for its family. */ - isDefault?: boolean; + readonly isDefault?: boolean; /** Specifies whether this OS version is active. */ - isActive?: boolean; + readonly isActive?: boolean; } /** The list operation result. */ @@ -4771,13 +4805,13 @@ export interface OSVersionListResultOutput { /** Describes a cloud service OS family. */ export interface OSFamilyOutput { /** Resource Id. */ - id?: string; + readonly id?: string; /** Resource name. */ - name?: string; + readonly name?: string; /** Resource type. */ - type?: string; + readonly type?: string; /** Resource location. */ - location?: string; + readonly location?: string; /** OS family properties. */ properties?: OSFamilyPropertiesOutput; } @@ -4785,23 +4819,23 @@ export interface OSFamilyOutput { /** OS family properties. */ export interface OSFamilyPropertiesOutput { /** The OS family name. */ - name?: string; + readonly name?: string; /** The OS family label. */ - label?: string; + readonly label?: string; /** List of OS versions belonging to this family. */ - versions?: Array; + readonly versions?: Array; } /** Configuration view of an OS version. */ export interface OSVersionPropertiesBaseOutput { /** The OS version. */ - version?: string; + readonly version?: string; /** The OS version label. */ - label?: string; + readonly label?: string; /** Specifies whether this is the default OS version for its family. */ - isDefault?: boolean; + readonly isDefault?: boolean; /** Specifies whether this OS version is active. */ - isActive?: boolean; + readonly isActive?: boolean; } /** The list operation result. */ diff --git a/sdk/compute/arm-compute-rest/src/paginateHelper.ts b/sdk/compute/arm-compute-rest/src/paginateHelper.ts index 5d541b4e406d..9ea946d9d6c5 100644 --- a/sdk/compute/arm-compute-rest/src/paginateHelper.ts +++ b/sdk/compute/arm-compute-rest/src/paginateHelper.ts @@ -1,11 +1,148 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { PagedAsyncIterableIterator, PagedResult } from "@azure/core-paging"; -import { getPagedAsyncIterator } from "@azure/core-paging"; import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; import { createRestError } from "@azure-rest/core-client"; +/** + * returns an async iterator that iterates over results. It also has a `byPage` + * method that returns pages of items at once. + * + * @param pagedResult - an object that specifies how to get pages. + * @returns a paged async iterator that iterates over results. + */ +function getPagedAsyncIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, + TLink = string, +>( + pagedResult: PagedResult, +): PagedAsyncIterableIterator { + const iter = getItemAsyncIterator(pagedResult); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: + pagedResult?.byPage ?? + (((settings?: PageSettings) => { + const { continuationToken } = settings ?? {}; + return getPageAsyncIterator(pagedResult, { + pageLink: continuationToken as unknown as TLink | undefined, + }); + }) as unknown as (settings?: TPageSettings) => AsyncIterableIterator), + }; +} + +async function* getItemAsyncIterator( + pagedResult: PagedResult, +): AsyncIterableIterator { + const pages = getPageAsyncIterator(pagedResult); + const firstVal = await pages.next(); + // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is + if (!Array.isArray(firstVal.value)) { + // can extract elements from this page + const { toElements } = pagedResult; + if (toElements) { + yield* toElements(firstVal.value) as TElement[]; + for await (const page of pages) { + yield* toElements(page) as TElement[]; + } + } else { + yield firstVal.value; + // `pages` is of type `AsyncIterableIterator` but TPage = TElement in this case + yield* pages as unknown as AsyncIterableIterator; + } + } else { + yield* firstVal.value; + for await (const page of pages) { + // pages is of type `AsyncIterableIterator` so `page` is of type `TPage`. In this branch, + // it must be the case that `TPage = TElement[]` + yield* page as unknown as TElement[]; + } + } +} + +async function* getPageAsyncIterator( + pagedResult: PagedResult, + options: { + pageLink?: TLink; + } = {}, +): AsyncIterableIterator { + const { pageLink } = options; + let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink); + if (!response) { + return; + } + yield response.page; + while (response.nextPageLink) { + response = await pagedResult.getPage(response.nextPageLink); + if (!response) { + return; + } + yield response.page; + } +} + +/** + * An interface that tracks the settings for paged iteration + */ +export interface PageSettings { + /** + * The token that keeps track of where to continue the iterator + */ + continuationToken?: string; +} + +/** + * An interface that allows async iterable iteration both to completion and by page. + */ +export interface PagedAsyncIterableIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, +> { + /** + * The next method, part of the iteration protocol + */ + next(): Promise>; + /** + * The connection to the async iterator, part of the iteration protocol + */ + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + /** + * Return an AsyncIterableIterator that works a page at a time + */ + byPage: (settings?: TPageSettings) => AsyncIterableIterator; +} + +/** + * An interface that describes how to communicate with the service. + */ +interface PagedResult { + /** + * Link to the first page of results. + */ + firstPageLink: TLink; + /** + * A method that returns a page of results. + */ + getPage: (pageLink: TLink) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + /** + * a function to implement the `byPage` method on the paged async iterator. + */ + byPage?: (settings?: TPageSettings) => AsyncIterableIterator; + + /** + * A function to extract elements from a page. + */ + toElements?: (page: TPage) => unknown[]; +} + /** * Helper type to extract the type of an array */ @@ -14,10 +151,7 @@ export type GetArrayType = T extends Array ? TData : never; /** * The type of a custom function that defines how to get a page and a link to the next one if any. */ -export type GetPage = ( - pageLink: string, - maxPageSize?: number, -) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; diff --git a/sdk/compute/arm-compute-rest/src/parameters.ts b/sdk/compute/arm-compute-rest/src/parameters.ts index 94c2d218b515..8a08b7bf4623 100644 --- a/sdk/compute/arm-compute-rest/src/parameters.ts +++ b/sdk/compute/arm-compute-rest/src/parameters.ts @@ -3,76 +3,76 @@ import type { RequestParameters } from "@azure-rest/core-client"; import type { + VirtualMachineScaleSet, + VirtualMachineScaleSetUpdate, + VirtualMachineScaleSetVMInstanceIDs, + VirtualMachineScaleSetVMInstanceRequiredIDs, + VirtualMachineScaleSetReimageParameters, + VMScaleSetConvertToSinglePlacementGroupInput, + OrchestrationServiceStateInput, + VirtualMachineScaleSetExtension, + VirtualMachineScaleSetExtensionUpdate, + VirtualMachineScaleSetVMExtension, + VirtualMachineScaleSetVMExtensionUpdate, + VirtualMachineScaleSetVMReimageParameters, + VirtualMachineScaleSetVM, + RunCommandInput, + VirtualMachineExtension, + VirtualMachineExtensionUpdate, + VirtualMachineCaptureParameters, + VirtualMachine, + VirtualMachineUpdate, + VirtualMachineReimageParameters, + VirtualMachineInstallPatchesParameters, AvailabilitySet, AvailabilitySetUpdate, - CapacityReservation, - CapacityReservationGroup, - CapacityReservationGroupUpdate, - CapacityReservationUpdate, - CloudService, - CloudServiceUpdate, - DedicatedHost, + ProximityPlacementGroup, + ProximityPlacementGroupUpdate, DedicatedHostGroup, DedicatedHostGroupUpdate, + DedicatedHost, DedicatedHostUpdate, + SshPublicKeyResource, + SshPublicKeyUpdateResource, + Image, + ImageUpdate, + RestorePointCollection, + RestorePointCollectionUpdate, + RestorePoint, + CapacityReservationGroup, + CapacityReservationGroupUpdate, + CapacityReservation, + CapacityReservationUpdate, + RequestRateByIntervalInput, + ThrottledRequestsInput, + VirtualMachineRunCommand, + VirtualMachineRunCommandUpdate, Disk, + DiskUpdate, + GrantAccessData, DiskAccess, DiskAccessUpdate, + PrivateEndpointConnection, DiskEncryptionSet, DiskEncryptionSetUpdate, - DiskUpdate, + Snapshot, + SnapshotUpdate, Gallery, - GalleryApplication, - GalleryApplicationUpdate, - GalleryApplicationVersion, - GalleryApplicationVersionUpdate, + GalleryUpdate, GalleryImage, GalleryImageUpdate, GalleryImageVersion, GalleryImageVersionUpdate, - GalleryUpdate, - GrantAccessData, - Image, - ImageUpdate, - OrchestrationServiceStateInput, - PrivateEndpointConnection, - ProximityPlacementGroup, - ProximityPlacementGroupUpdate, - RequestRateByIntervalInput, - RestorePoint, - RestorePointCollection, - RestorePointCollectionUpdate, - RoleInstances, - RunCommandInput, + GalleryApplication, + GalleryApplicationUpdate, + GalleryApplicationVersion, + GalleryApplicationVersionUpdate, SharingUpdate, - Snapshot, - SnapshotUpdate, - SshPublicKeyResource, - SshPublicKeyUpdateResource, - ThrottledRequestsInput, + CloudService, + CloudServiceUpdate, + RoleInstances, UpdateDomain, - VMScaleSetConvertToSinglePlacementGroupInput, - VirtualMachine, - VirtualMachineCaptureParameters, - VirtualMachineExtension, - VirtualMachineExtensionUpdate, - VirtualMachineInstallPatchesParameters, - VirtualMachineReimageParameters, - VirtualMachineRunCommand, - VirtualMachineRunCommandUpdate, - VirtualMachineScaleSet, - VirtualMachineScaleSetExtension, - VirtualMachineScaleSetExtensionUpdate, - VirtualMachineScaleSetReimageParameters, - VirtualMachineScaleSetUpdate, - VirtualMachineScaleSetVM, - VirtualMachineScaleSetVMExtension, - VirtualMachineScaleSetVMExtensionUpdate, - VirtualMachineScaleSetVMInstanceIDs, - VirtualMachineScaleSetVMInstanceRequiredIDs, - VirtualMachineScaleSetVMReimageParameters, - VirtualMachineUpdate, -} from "./models"; +} from "./models.js"; export interface OperationsListQueryParamProperties { /** Api Version */ diff --git a/sdk/compute/arm-compute-rest/src/pollingHelper.ts b/sdk/compute/arm-compute-rest/src/pollingHelper.ts index bd4b4d6bda6c..a2668fc5d9c7 100644 --- a/sdk/compute/arm-compute-rest/src/pollingHelper.ts +++ b/sdk/compute/arm-compute-rest/src/pollingHelper.ts @@ -2,14 +2,81 @@ // Licensed under the MIT License. import type { Client, HttpResponse } from "@azure-rest/core-client"; +import type { AbortSignalLike } from "@azure/abort-controller"; import type { - LongRunningOperation, - LroEngineOptions, - LroResponse, - PollOperationState, - PollerLike, + CancelOnProgress, + CreateHttpPollerOptions, + RunningOperation, + OperationResponse, + OperationState, } from "@azure/core-lro"; -import { LroEngine } from "@azure/core-lro"; +import { createHttpPoller } from "@azure/core-lro"; + +/** + * A simple poller that can be used to poll a long running operation. + */ +export interface SimplePollerLike, TResult> { + /** + * Returns true if the poller has finished polling. + */ + isDone(): boolean; + /** + * Returns the state of the operation. + */ + getOperationState(): TState; + /** + * Returns the result value of the operation, + * regardless of the state of the poller. + * It can return undefined or an incomplete form of the final TResult value + * depending on the implementation. + */ + getResult(): TResult | undefined; + /** + * Returns a promise that will resolve once a single polling request finishes. + * It does this by calling the update method of the Poller's operation. + */ + poll(options?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Returns a promise that will resolve once the underlying operation is completed. + */ + pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Invokes the provided callback after each polling is completed, + * sending the current state of the poller's operation. + * + * It returns a method that can be used to stop receiving updates on the given callback function. + */ + onProgress(callback: (state: TState) => void): CancelOnProgress; + + /** + * Returns a promise that could be used for serialized version of the poller's operation + * by invoking the operation's serialize method. + */ + serialize(): Promise; + + /** + * Wait the poller to be submitted. + */ + submitted(): Promise; + + /** + * Returns a string representation of the poller's operation. Similar to serialize but returns a string. + * @deprecated Use serialize() instead. + */ + toString(): string; + + /** + * Stops the poller from continuing to poll. Please note this will only stop the client-side polling + * @deprecated Use abortSignal to stop polling instead. + */ + stopPolling(): void; + + /** + * Returns true if the poller is stopped. + * @deprecated Use abortSignal status to track this instead. + */ + isStopped(): boolean; +} /** * Helper function that builds a Poller object to help polling a long running operation. @@ -18,42 +85,100 @@ import { LroEngine } from "@azure/core-lro"; * @param options - Options to set a resume state or custom polling interval. * @returns - A poller object to poll for operation state updates and eventually get the final response. */ -export function getLongRunningPoller( +export async function getLongRunningPoller( client: Client, initialResponse: TResult, - options: LroEngineOptions> = {}, -): PollerLike, TResult> { - const poller: LongRunningOperation = { - requestMethod: initialResponse.request.method, - requestPath: initialResponse.request.url, + options: CreateHttpPollerOptions> = {}, +): Promise, TResult>> { + const abortController = new AbortController(); + const poller: RunningOperation = { sendInitialRequest: async () => { // In the case of Rest Clients we are building the LRO poller object from a response that's the reason // we are not triggering the initial request here, just extracting the information from the // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async (path) => { + sendPollRequest: async (path: string, pollOptions?: { abortSignal?: AbortSignalLike }) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location // depending on the lro pattern that the service implements. If non is provided we default to the initial path. - const pollPath = path ?? initialResponse.request.url; - const response = await client.pathUnchecked(pollPath).get(); + function abortListener(): void { + abortController.abort(); + } + const inputAbortSignal = pollOptions?.abortSignal; + const abortSignal = abortController.signal; + if (inputAbortSignal?.aborted) { + abortController.abort(); + } else if (!abortSignal.aborted) { + inputAbortSignal?.addEventListener("abort", abortListener, { + once: true, + }); + } + let response; + try { + response = await client + .pathUnchecked(path ?? initialResponse.request.url) + .get({ abortSignal }); + } finally { + inputAbortSignal?.removeEventListener("abort", abortListener); + } const lroResponse = getLroResponse(response as TResult); lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; return lroResponse; }, }; - return new LroEngine(poller, options); + options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true; + const httpPoller = createHttpPoller(poller, options); + const simplePoller: SimplePollerLike, TResult> = { + isDone() { + return httpPoller.isDone; + }, + isStopped() { + return abortController.signal.aborted; + }, + getOperationState() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return httpPoller.operationState; + }, + getResult() { + return httpPoller.result; + }, + toString() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return JSON.stringify({ + state: httpPoller.operationState, + }); + }, + stopPolling() { + abortController.abort(); + }, + onProgress: httpPoller.onProgress, + poll: httpPoller.poll, + pollUntilDone: httpPoller.pollUntilDone, + serialize: httpPoller.serialize, + submitted: httpPoller.submitted, + }; + return simplePoller; } /** - * Converts a Rest Client response to a response that the LRO engine knows about + * Converts a Rest Client response to a response that the LRO implementation understands * @param response - a rest client http response - * @returns - An LRO response that the LRO engine can work with + * @returns - An LRO response that the LRO implementation understands */ -function getLroResponse(response: TResult): LroResponse { +function getLroResponse( + response: TResult, +): OperationResponse { if (Number.isNaN(response.status)) { throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); } diff --git a/sdk/compute/arm-compute-rest/src/responses.ts b/sdk/compute/arm-compute-rest/src/responses.ts index 678671811564..deeb1e402e8a 100644 --- a/sdk/compute/arm-compute-rest/src/responses.ts +++ b/sdk/compute/arm-compute-rest/src/responses.ts @@ -3,117 +3,117 @@ import type { HttpResponse } from "@azure-rest/core-client"; import type { - AccessUriOutput, - AvailabilitySetListResultOutput, - AvailabilitySetOutput, - CapacityReservationGroupListResultOutput, - CapacityReservationGroupOutput, - CapacityReservationListResultOutput, - CapacityReservationOutput, - CloudErrorOutput, - CloudServiceInstanceViewOutput, - CloudServiceListResultOutput, - CloudServiceOutput, - CloudServiceRoleListResultOutput, - CloudServiceRoleOutput, - CommunityGalleryImageListOutput, - CommunityGalleryImageOutput, - CommunityGalleryImageVersionListOutput, - CommunityGalleryImageVersionOutput, - CommunityGalleryOutput, ComputeOperationListResultOutput, - DedicatedHostGroupListResultOutput, + CloudErrorOutput, + ListUsagesResultOutput, + VirtualMachineSizeListResultOutput, + VirtualMachineScaleSetListResultOutput, + VirtualMachineScaleSetOutput, + VirtualMachineScaleSetInstanceViewOutput, + VirtualMachineScaleSetListWithLinkResultOutput, + VirtualMachineScaleSetListSkusResultOutput, + VirtualMachineScaleSetListOSUpgradeHistoryOutput, + RecoveryWalkResponseOutput, + VirtualMachineScaleSetExtensionOutput, + VirtualMachineScaleSetExtensionListResultOutput, + RollingUpgradeStatusInfoOutput, + VirtualMachineScaleSetVMExtensionOutput, + VirtualMachineScaleSetVMExtensionsListResultOutput, + VirtualMachineScaleSetVMOutput, + VirtualMachineScaleSetVMInstanceViewOutput, + VirtualMachineScaleSetVMListResultOutput, + RetrieveBootDiagnosticsDataResultOutput, + RunCommandResultOutput, + VirtualMachineExtensionOutput, + VirtualMachineExtensionsListResultOutput, + VirtualMachineListResultOutput, + VirtualMachineCaptureResultOutput, + VirtualMachineOutput, + VirtualMachineInstanceViewOutput, + VirtualMachineAssessPatchesResultOutput, + VirtualMachineInstallPatchesResultOutput, + VirtualMachineImageOutput, + VirtualMachineImageResourceOutput, + VmImagesInEdgeZoneListResultOutput, + VirtualMachineExtensionImageOutput, + AvailabilitySetOutput, + AvailabilitySetListResultOutput, + ProximityPlacementGroupOutput, + ProximityPlacementGroupListResultOutput, DedicatedHostGroupOutput, - DedicatedHostListResultOutput, + DedicatedHostGroupListResultOutput, DedicatedHostOutput, - DiskAccessListOutput, + DedicatedHostListResultOutput, + SshPublicKeysGroupListResultOutput, + SshPublicKeyResourceOutput, + SshPublicKeyGenerateKeyPairResultOutput, + ImageOutput, + ImageListResultOutput, + RestorePointCollectionOutput, + RestorePointCollectionListResultOutput, + RestorePointOutput, + CapacityReservationGroupOutput, + CapacityReservationGroupListResultOutput, + CapacityReservationOutput, + CapacityReservationListResultOutput, + LogAnalyticsOperationResultOutput, + RunCommandListResultOutput, + RunCommandDocumentOutput, + VirtualMachineRunCommandOutput, + VirtualMachineRunCommandsListResultOutput, + DiskOutput, + DiskListOutput, + AccessUriOutput, DiskAccessOutput, - DiskEncryptionSetListOutput, + DiskAccessListOutput, + PrivateLinkResourceListResultOutput, + PrivateEndpointConnectionOutput, + PrivateEndpointConnectionListResultOutput, DiskEncryptionSetOutput, - DiskListOutput, - DiskOutput, - DiskRestorePointListOutput, + DiskEncryptionSetListOutput, + ResourceUriListOutput, DiskRestorePointOutput, - GalleryApplicationListOutput, - GalleryApplicationOutput, - GalleryApplicationVersionListOutput, - GalleryApplicationVersionOutput, - GalleryImageListOutput, + DiskRestorePointListOutput, + SnapshotOutput, + SnapshotListOutput, + ResourceSkusResultOutput, + GalleryOutput, + GalleryListOutput, GalleryImageOutput, - GalleryImageVersionListOutput, + GalleryImageListOutput, GalleryImageVersionOutput, - GalleryListOutput, - GalleryOutput, - ImageListResultOutput, - ImageOutput, - ListUsagesResultOutput, - LogAnalyticsOperationResultOutput, - OSFamilyListResultOutput, - OSFamilyOutput, - OSVersionListResultOutput, - OSVersionOutput, - PrivateEndpointConnectionListResultOutput, - PrivateEndpointConnectionOutput, - PrivateLinkResourceListResultOutput, - ProximityPlacementGroupListResultOutput, - ProximityPlacementGroupOutput, - RecoveryWalkResponseOutput, - ResourceSkusResultOutput, - ResourceUriListOutput, - RestorePointCollectionListResultOutput, - RestorePointCollectionOutput, - RestorePointOutput, - RetrieveBootDiagnosticsDataResultOutput, - RoleInstanceListResultOutput, - RoleInstanceOutput, - RoleInstanceViewOutput, - RollingUpgradeStatusInfoOutput, - RunCommandDocumentOutput, - RunCommandListResultOutput, - RunCommandResultOutput, + GalleryImageVersionListOutput, + GalleryApplicationOutput, + GalleryApplicationListOutput, + GalleryApplicationVersionOutput, + GalleryApplicationVersionListOutput, + SharingUpdateOutput, + SharedGalleryListOutput, + SharedGalleryOutput, SharedGalleryImageListOutput, SharedGalleryImageOutput, SharedGalleryImageVersionListOutput, SharedGalleryImageVersionOutput, - SharedGalleryListOutput, - SharedGalleryOutput, - SharingUpdateOutput, - SnapshotListOutput, - SnapshotOutput, - SshPublicKeyGenerateKeyPairResultOutput, - SshPublicKeyResourceOutput, - SshPublicKeysGroupListResultOutput, - UpdateDomainListResultOutput, + CommunityGalleryOutput, + CommunityGalleryImageOutput, + CommunityGalleryImageListOutput, + CommunityGalleryImageVersionOutput, + CommunityGalleryImageVersionListOutput, + RoleInstanceOutput, + RoleInstanceViewOutput, + RoleInstanceListResultOutput, + CloudServiceRoleOutput, + CloudServiceRoleListResultOutput, + CloudServiceOutput, + CloudServiceInstanceViewOutput, + CloudServiceListResultOutput, UpdateDomainOutput, - VirtualMachineAssessPatchesResultOutput, - VirtualMachineCaptureResultOutput, - VirtualMachineExtensionImageOutput, - VirtualMachineExtensionOutput, - VirtualMachineExtensionsListResultOutput, - VirtualMachineImageOutput, - VirtualMachineImageResourceOutput, - VirtualMachineInstallPatchesResultOutput, - VirtualMachineInstanceViewOutput, - VirtualMachineListResultOutput, - VirtualMachineOutput, - VirtualMachineRunCommandOutput, - VirtualMachineRunCommandsListResultOutput, - VirtualMachineScaleSetExtensionListResultOutput, - VirtualMachineScaleSetExtensionOutput, - VirtualMachineScaleSetInstanceViewOutput, - VirtualMachineScaleSetListOSUpgradeHistoryOutput, - VirtualMachineScaleSetListResultOutput, - VirtualMachineScaleSetListSkusResultOutput, - VirtualMachineScaleSetListWithLinkResultOutput, - VirtualMachineScaleSetOutput, - VirtualMachineScaleSetVMExtensionOutput, - VirtualMachineScaleSetVMExtensionsListResultOutput, - VirtualMachineScaleSetVMInstanceViewOutput, - VirtualMachineScaleSetVMListResultOutput, - VirtualMachineScaleSetVMOutput, - VirtualMachineSizeListResultOutput, - VmImagesInEdgeZoneListResultOutput, -} from "./outputModels"; + UpdateDomainListResultOutput, + OSVersionOutput, + OSVersionListResultOutput, + OSFamilyOutput, + OSFamilyListResultOutput, +} from "./outputModels.js"; /** Gets a list of compute operations. */ export interface OperationsList200Response extends HttpResponse { @@ -196,19 +196,16 @@ export interface VirtualMachineScaleSetsUpdateDefaultResponse extends HttpRespon /** Deletes a VM scale set. */ export interface VirtualMachineScaleSetsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a VM scale set. */ export interface VirtualMachineScaleSetsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a VM scale set. */ export interface VirtualMachineScaleSetsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a VM scale set. */ @@ -232,13 +229,11 @@ export interface VirtualMachineScaleSetsGetDefaultResponse extends HttpResponse /** Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. */ export interface VirtualMachineScaleSetsDeallocate200Response extends HttpResponse { status: "200"; - body: Record; } /** Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. */ export interface VirtualMachineScaleSetsDeallocate202Response extends HttpResponse { status: "202"; - body: Record; } /** Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. */ @@ -250,13 +245,11 @@ export interface VirtualMachineScaleSetsDeallocateDefaultResponse extends HttpRe /** Deletes virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsDeleteInstances200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsDeleteInstances202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes virtual machines in a VM scale set. */ @@ -328,13 +321,11 @@ export interface VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse exten /** Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetsPowerOff200Response extends HttpResponse { status: "200"; - body: Record; } /** Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetsPowerOff202Response extends HttpResponse { status: "202"; - body: Record; } /** Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ @@ -346,13 +337,11 @@ export interface VirtualMachineScaleSetsPowerOffDefaultResponse extends HttpResp /** Restarts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsRestart202Response extends HttpResponse { status: "202"; - body: Record; } /** Restarts one or more virtual machines in a VM scale set. */ @@ -364,13 +353,11 @@ export interface VirtualMachineScaleSetsRestartDefaultResponse extends HttpRespo /** Starts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsStart200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsStart202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts one or more virtual machines in a VM scale set. */ @@ -382,13 +369,11 @@ export interface VirtualMachineScaleSetsStartDefaultResponse extends HttpRespons /** Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. */ export interface VirtualMachineScaleSetsRedeploy200Response extends HttpResponse { status: "200"; - body: Record; } /** Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. */ export interface VirtualMachineScaleSetsRedeploy202Response extends HttpResponse { status: "202"; - body: Record; } /** Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. */ @@ -400,13 +385,11 @@ export interface VirtualMachineScaleSetsRedeployDefaultResponse extends HttpResp /** Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications */ export interface VirtualMachineScaleSetsPerformMaintenance200Response extends HttpResponse { status: "200"; - body: Record; } /** Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications */ export interface VirtualMachineScaleSetsPerformMaintenance202Response extends HttpResponse { status: "202"; - body: Record; } /** Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications */ @@ -418,13 +401,11 @@ export interface VirtualMachineScaleSetsPerformMaintenanceDefaultResponse extend /** Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. */ export interface VirtualMachineScaleSetsUpdateInstances200Response extends HttpResponse { status: "200"; - body: Record; } /** Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. */ export interface VirtualMachineScaleSetsUpdateInstances202Response extends HttpResponse { status: "202"; - body: Record; } /** Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. */ @@ -436,13 +417,11 @@ export interface VirtualMachineScaleSetsUpdateInstancesDefaultResponse extends H /** Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. */ export interface VirtualMachineScaleSetsReimage200Response extends HttpResponse { status: "200"; - body: Record; } /** Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. */ export interface VirtualMachineScaleSetsReimage202Response extends HttpResponse { status: "202"; - body: Record; } /** Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. */ @@ -454,13 +433,11 @@ export interface VirtualMachineScaleSetsReimageDefaultResponse extends HttpRespo /** Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetsReimageAll200Response extends HttpResponse { status: "200"; - body: Record; } /** Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetsReimageAll202Response extends HttpResponse { status: "202"; - body: Record; } /** Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. */ @@ -487,7 +464,6 @@ export interface VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdate export interface VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response extends HttpResponse { status: "200"; - body: Record; } /** Converts SinglePlacementGroup property to false for a existing virtual machine scale set. */ @@ -501,14 +477,12 @@ export interface VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResp export interface VirtualMachineScaleSetsSetOrchestrationServiceState200Response extends HttpResponse { status: "200"; - body: Record; } /** Changes ServiceState property for a given service */ export interface VirtualMachineScaleSetsSetOrchestrationServiceState202Response extends HttpResponse { status: "202"; - body: Record; } /** Changes ServiceState property for a given service */ @@ -558,19 +532,16 @@ export interface VirtualMachineScaleSetExtensionsUpdateDefaultResponse extends H /** The operation to delete the extension. */ export interface VirtualMachineScaleSetExtensionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the extension. */ export interface VirtualMachineScaleSetExtensionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the extension. */ export interface VirtualMachineScaleSetExtensionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the extension. */ @@ -606,13 +577,11 @@ export interface VirtualMachineScaleSetExtensionsListDefaultResponse extends Htt /** Cancels the current virtual machine scale set rolling upgrade. */ export interface VirtualMachineScaleSetRollingUpgradesCancel200Response extends HttpResponse { status: "200"; - body: Record; } /** Cancels the current virtual machine scale set rolling upgrade. */ export interface VirtualMachineScaleSetRollingUpgradesCancel202Response extends HttpResponse { status: "202"; - body: Record; } /** Cancels the current virtual machine scale set rolling upgrade. */ @@ -625,14 +594,12 @@ export interface VirtualMachineScaleSetRollingUpgradesCancelDefaultResponse exte export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. */ export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. */ @@ -646,14 +613,12 @@ export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgradeDefaultRespo export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. */ export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. */ @@ -710,19 +675,16 @@ export interface VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse extends /** The operation to delete the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the VMSS VM extension. */ @@ -758,13 +720,11 @@ export interface VirtualMachineScaleSetVMExtensionsListDefaultResponse extends H /** Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsReimage200Response extends HttpResponse { status: "200"; - body: Record; } /** Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsReimage202Response extends HttpResponse { status: "202"; - body: Record; } /** Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. */ @@ -776,13 +736,11 @@ export interface VirtualMachineScaleSetVMsReimageDefaultResponse extends HttpRes /** Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetVMsReimageAll200Response extends HttpResponse { status: "200"; - body: Record; } /** Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetVMsReimageAll202Response extends HttpResponse { status: "202"; - body: Record; } /** Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. */ @@ -794,13 +752,11 @@ export interface VirtualMachineScaleSetVMsReimageAllDefaultResponse extends Http /** Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. */ export interface VirtualMachineScaleSetVMsDeallocate200Response extends HttpResponse { status: "200"; - body: Record; } /** Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. */ export interface VirtualMachineScaleSetVMsDeallocate202Response extends HttpResponse { status: "202"; - body: Record; } /** Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. */ @@ -830,19 +786,16 @@ export interface VirtualMachineScaleSetVMsUpdateDefaultResponse extends HttpResp /** Deletes a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a virtual machine from a VM scale set. */ @@ -890,13 +843,11 @@ export interface VirtualMachineScaleSetVMsListDefaultResponse extends HttpRespon /** Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetVMsPowerOff200Response extends HttpResponse { status: "200"; - body: Record; } /** Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetVMsPowerOff202Response extends HttpResponse { status: "202"; - body: Record; } /** Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ @@ -908,13 +859,11 @@ export interface VirtualMachineScaleSetVMsPowerOffDefaultResponse extends HttpRe /** Restarts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRestart202Response extends HttpResponse { status: "202"; - body: Record; } /** Restarts a virtual machine in a VM scale set. */ @@ -926,13 +875,11 @@ export interface VirtualMachineScaleSetVMsRestartDefaultResponse extends HttpRes /** Starts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsStart200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsStart202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts a virtual machine in a VM scale set. */ @@ -944,13 +891,11 @@ export interface VirtualMachineScaleSetVMsStartDefaultResponse extends HttpRespo /** Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. */ export interface VirtualMachineScaleSetVMsRedeploy200Response extends HttpResponse { status: "200"; - body: Record; } /** Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. */ export interface VirtualMachineScaleSetVMsRedeploy202Response extends HttpResponse { status: "202"; - body: Record; } /** Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. */ @@ -976,13 +921,11 @@ export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataDefaultResp /** Performs maintenance on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsPerformMaintenance200Response extends HttpResponse { status: "200"; - body: Record; } /** Performs maintenance on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsPerformMaintenance202Response extends HttpResponse { status: "202"; - body: Record; } /** Performs maintenance on a virtual machine in a VM scale set. */ @@ -994,7 +937,6 @@ export interface VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse exte /** The operation to simulate the eviction of spot virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsSimulateEviction204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to simulate the eviction of spot virtual machine in a VM scale set. */ @@ -1012,7 +954,6 @@ export interface VirtualMachineScaleSetVMsRunCommand200Response extends HttpResp /** Run command on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRunCommand202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to create or update the extension. */ @@ -1048,19 +989,16 @@ export interface VirtualMachineExtensionsUpdateDefaultResponse extends HttpRespo /** The operation to delete the extension. */ export interface VirtualMachineExtensionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the extension. */ export interface VirtualMachineExtensionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the extension. */ export interface VirtualMachineExtensionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the extension. */ @@ -1114,7 +1052,6 @@ export interface VirtualMachinesCapture200Response extends HttpResponse { /** Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. */ export interface VirtualMachinesCapture202Response extends HttpResponse { status: "202"; - body: Record; } /** Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. */ @@ -1156,19 +1093,16 @@ export interface VirtualMachinesUpdateDefaultResponse extends HttpResponse { /** The operation to delete a virtual machine. */ export interface VirtualMachinesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete a virtual machine. */ export interface VirtualMachinesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete a virtual machine. */ export interface VirtualMachinesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete a virtual machine. */ @@ -1204,13 +1138,11 @@ export interface VirtualMachinesInstanceViewDefaultResponse extends HttpResponse /** Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. */ export interface VirtualMachinesConvertToManagedDisks200Response extends HttpResponse { status: "200"; - body: Record; } /** Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. */ export interface VirtualMachinesConvertToManagedDisks202Response extends HttpResponse { status: "202"; - body: Record; } /** Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. */ @@ -1222,13 +1154,11 @@ export interface VirtualMachinesConvertToManagedDisksDefaultResponse extends Htt /** Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. */ export interface VirtualMachinesDeallocate200Response extends HttpResponse { status: "200"; - body: Record; } /** Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. */ export interface VirtualMachinesDeallocate202Response extends HttpResponse { status: "202"; - body: Record; } /** Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. */ @@ -1240,7 +1170,6 @@ export interface VirtualMachinesDeallocateDefaultResponse extends HttpResponse { /** Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
    For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
    For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). */ export interface VirtualMachinesGeneralize200Response extends HttpResponse { status: "200"; - body: Record; } /** Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
    For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
    For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). */ @@ -1288,13 +1217,11 @@ export interface VirtualMachinesListAvailableSizesDefaultResponse extends HttpRe /** The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. */ export interface VirtualMachinesPowerOff200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. */ export interface VirtualMachinesPowerOff202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. */ @@ -1306,13 +1233,11 @@ export interface VirtualMachinesPowerOffDefaultResponse extends HttpResponse { /** The operation to reapply a virtual machine's state. */ export interface VirtualMachinesReapply200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to reapply a virtual machine's state. */ export interface VirtualMachinesReapply202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to reapply a virtual machine's state. */ @@ -1324,13 +1249,11 @@ export interface VirtualMachinesReapplyDefaultResponse extends HttpResponse { /** The operation to restart a virtual machine. */ export interface VirtualMachinesRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to restart a virtual machine. */ export interface VirtualMachinesRestart202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to restart a virtual machine. */ @@ -1342,13 +1265,11 @@ export interface VirtualMachinesRestartDefaultResponse extends HttpResponse { /** The operation to start a virtual machine. */ export interface VirtualMachinesStart200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to start a virtual machine. */ export interface VirtualMachinesStart202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to start a virtual machine. */ @@ -1360,13 +1281,11 @@ export interface VirtualMachinesStartDefaultResponse extends HttpResponse { /** Shuts down the virtual machine, moves it to a new node, and powers it back on. */ export interface VirtualMachinesRedeploy200Response extends HttpResponse { status: "200"; - body: Record; } /** Shuts down the virtual machine, moves it to a new node, and powers it back on. */ export interface VirtualMachinesRedeploy202Response extends HttpResponse { status: "202"; - body: Record; } /** Shuts down the virtual machine, moves it to a new node, and powers it back on. */ @@ -1378,13 +1297,11 @@ export interface VirtualMachinesRedeployDefaultResponse extends HttpResponse { /** Reimages the virtual machine which has an ephemeral OS disk back to its initial state. */ export interface VirtualMachinesReimage200Response extends HttpResponse { status: "200"; - body: Record; } /** Reimages the virtual machine which has an ephemeral OS disk back to its initial state. */ export interface VirtualMachinesReimage202Response extends HttpResponse { status: "202"; - body: Record; } /** Reimages the virtual machine which has an ephemeral OS disk back to its initial state. */ @@ -1408,13 +1325,11 @@ export interface VirtualMachinesRetrieveBootDiagnosticsDataDefaultResponse exten /** The operation to perform maintenance on a virtual machine. */ export interface VirtualMachinesPerformMaintenance200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to perform maintenance on a virtual machine. */ export interface VirtualMachinesPerformMaintenance202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to perform maintenance on a virtual machine. */ @@ -1426,7 +1341,6 @@ export interface VirtualMachinesPerformMaintenanceDefaultResponse extends HttpRe /** The operation to simulate the eviction of spot virtual machine. */ export interface VirtualMachinesSimulateEviction204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to simulate the eviction of spot virtual machine. */ @@ -1444,7 +1358,6 @@ export interface VirtualMachinesAssessPatches200Response extends HttpResponse { /** Assess patches on the VM. */ export interface VirtualMachinesAssessPatches202Response extends HttpResponse { status: "202"; - body: Record; } /** Assess patches on the VM. */ @@ -1462,7 +1375,6 @@ export interface VirtualMachinesInstallPatches200Response extends HttpResponse { /** Installs patches on the VM. */ export interface VirtualMachinesInstallPatches202Response extends HttpResponse { status: "202"; - body: Record; } /** Installs patches on the VM. */ @@ -1480,7 +1392,6 @@ export interface VirtualMachinesRunCommand200Response extends HttpResponse { /** Run command on the VM. */ export interface VirtualMachinesRunCommand202Response extends HttpResponse { status: "202"; - body: Record; } /** Gets a virtual machine image. */ @@ -1678,13 +1589,11 @@ export interface AvailabilitySetsUpdateDefaultResponse extends HttpResponse { /** Delete an availability set. */ export interface AvailabilitySetsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete an availability set. */ export interface AvailabilitySetsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete an availability set. */ @@ -1774,7 +1683,6 @@ export interface ProximityPlacementGroupsUpdateDefaultResponse extends HttpRespo /** Delete a proximity placement group. */ export interface ProximityPlacementGroupsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a proximity placement group. */ @@ -1852,13 +1760,11 @@ export interface DedicatedHostGroupsUpdateDefaultResponse extends HttpResponse { /** Delete a dedicated host group. */ export interface DedicatedHostGroupsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a dedicated host group. */ export interface DedicatedHostGroupsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a dedicated host group. */ @@ -1936,19 +1842,16 @@ export interface DedicatedHostsUpdateDefaultResponse extends HttpResponse { /** Delete a dedicated host. */ export interface DedicatedHostsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a dedicated host. */ export interface DedicatedHostsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a dedicated host. */ export interface DedicatedHostsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a dedicated host. */ @@ -1984,7 +1887,6 @@ export interface DedicatedHostsListByHostGroupDefaultResponse extends HttpRespon /** Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details. */ export interface DedicatedHostsRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details. */ @@ -2050,13 +1952,11 @@ export interface SshPublicKeysUpdateDefaultResponse extends HttpResponse { /** Delete an SSH public key. */ export interface SshPublicKeysDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete an SSH public key. */ export interface SshPublicKeysDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete an SSH public key. */ @@ -2128,19 +2028,16 @@ export interface ImagesUpdateDefaultResponse extends HttpResponse { /** Deletes an Image. */ export interface ImagesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes an Image. */ export interface ImagesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes an Image. */ export interface ImagesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes an Image. */ @@ -2218,19 +2115,16 @@ export interface RestorePointCollectionsUpdateDefaultResponse extends HttpRespon /** The operation to delete the restore point collection. This operation will also delete all the contained restore points. */ export interface RestorePointCollectionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the restore point collection. This operation will also delete all the contained restore points. */ export interface RestorePointCollectionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the restore point collection. This operation will also delete all the contained restore points. */ export interface RestorePointCollectionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the restore point collection. This operation will also delete all the contained restore points. */ @@ -2290,19 +2184,16 @@ export interface RestorePointsCreateDefaultResponse extends HttpResponse { /** The operation to delete the restore point. */ export interface RestorePointsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the restore point. */ export interface RestorePointsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the restore point. */ export interface RestorePointsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the restore point. */ @@ -2356,13 +2247,11 @@ export interface CapacityReservationGroupsUpdateDefaultResponse extends HttpResp /** The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. */ export interface CapacityReservationGroupsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. */ export interface CapacityReservationGroupsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. */ @@ -2434,7 +2323,6 @@ export interface CapacityReservationsUpdate200Response extends HttpResponse { /** The operation to update a capacity reservation. */ export interface CapacityReservationsUpdate202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to update a capacity reservation. */ @@ -2446,19 +2334,16 @@ export interface CapacityReservationsUpdateDefaultResponse extends HttpResponse /** The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. */ export interface CapacityReservationsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. */ export interface CapacityReservationsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. */ export interface CapacityReservationsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. */ @@ -2502,7 +2387,6 @@ export interface LogAnalyticsExportRequestRateByInterval200Response extends Http /** Export logs that show Api requests made by this subscription in the given time window to show throttling activities. */ export interface LogAnalyticsExportRequestRateByInterval202Response extends HttpResponse { status: "202"; - body: Record; } /** Export logs that show Api requests made by this subscription in the given time window to show throttling activities. */ @@ -2520,7 +2404,6 @@ export interface LogAnalyticsExportThrottledRequests200Response extends HttpResp /** Export logs that show total throttled Api requests for this subscription in the given time window. */ export interface LogAnalyticsExportThrottledRequests202Response extends HttpResponse { status: "202"; - body: Record; } /** Export logs that show total throttled Api requests for this subscription in the given time window. */ @@ -2574,19 +2457,16 @@ export interface VirtualMachineRunCommandsUpdateDefaultResponse extends HttpResp /** The operation to delete the run command. */ export interface VirtualMachineRunCommandsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the run command. */ export interface VirtualMachineRunCommandsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the run command. */ export interface VirtualMachineRunCommandsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the run command. */ @@ -2653,19 +2533,16 @@ export interface VirtualMachineScaleSetVMRunCommandsUpdateDefaultResponse extend /** The operation to delete the VMSS VM run command. */ export interface VirtualMachineScaleSetVMRunCommandsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** The operation to delete the VMSS VM run command. */ export interface VirtualMachineScaleSetVMRunCommandsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** The operation to delete the VMSS VM run command. */ export interface VirtualMachineScaleSetVMRunCommandsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** The operation to delete the VMSS VM run command. */ @@ -2731,19 +2608,16 @@ export interface DisksGet200Response extends HttpResponse { /** Deletes a disk. */ export interface DisksDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a disk. */ export interface DisksDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a disk. */ export interface DisksDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Lists all the disks under a resource group. */ @@ -2767,19 +2641,16 @@ export interface DisksGrantAccess200Response extends HttpResponse { /** Grants access to a disk. */ export interface DisksGrantAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Revokes access to a disk. */ export interface DisksRevokeAccess200Response extends HttpResponse { status: "200"; - body: Record; } /** Revokes access to a disk. */ export interface DisksRevokeAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Creates or updates a disk access resource */ @@ -2833,19 +2704,16 @@ export interface DiskAccessesGetDefaultResponse extends HttpResponse { /** Deletes a disk access resource. */ export interface DiskAccessesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a disk access resource. */ export interface DiskAccessesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a disk access resource. */ export interface DiskAccessesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a disk access resource. */ @@ -2917,19 +2785,16 @@ export interface DiskAccessesGetAPrivateEndpointConnectionDefaultResponse extend /** Deletes a private endpoint connection under a disk access resource. */ export interface DiskAccessesDeleteAPrivateEndpointConnection200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a private endpoint connection under a disk access resource. */ export interface DiskAccessesDeleteAPrivateEndpointConnection202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a private endpoint connection under a disk access resource. */ export interface DiskAccessesDeleteAPrivateEndpointConnection204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a private endpoint connection under a disk access resource. */ @@ -3001,19 +2866,16 @@ export interface DiskEncryptionSetsGetDefaultResponse extends HttpResponse { /** Deletes a disk encryption set. */ export interface DiskEncryptionSetsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a disk encryption set. */ export interface DiskEncryptionSetsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a disk encryption set. */ export interface DiskEncryptionSetsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a disk encryption set. */ @@ -3091,7 +2953,6 @@ export interface DiskRestorePointGrantAccess200Response extends HttpResponse { /** Grants access to a diskRestorePoint. */ export interface DiskRestorePointGrantAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Grants access to a diskRestorePoint. */ @@ -3103,13 +2964,11 @@ export interface DiskRestorePointGrantAccessDefaultResponse extends HttpResponse /** Revokes access to a diskRestorePoint. */ export interface DiskRestorePointRevokeAccess200Response extends HttpResponse { status: "200"; - body: Record; } /** Revokes access to a diskRestorePoint. */ export interface DiskRestorePointRevokeAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Revokes access to a diskRestorePoint. */ @@ -3151,19 +3010,16 @@ export interface SnapshotsGet200Response extends HttpResponse { /** Deletes a snapshot. */ export interface SnapshotsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a snapshot. */ export interface SnapshotsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a snapshot. */ export interface SnapshotsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Lists snapshots under a resource group. */ @@ -3187,19 +3043,16 @@ export interface SnapshotsGrantAccess200Response extends HttpResponse { /** Grants access to a snapshot. */ export interface SnapshotsGrantAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Revokes access to a snapshot. */ export interface SnapshotsRevokeAccess200Response extends HttpResponse { status: "200"; - body: Record; } /** Revokes access to a snapshot. */ export interface SnapshotsRevokeAccess202Response extends HttpResponse { status: "202"; - body: Record; } /** Gets the list of Microsoft.Compute SKUs available for your Subscription. */ @@ -3259,19 +3112,16 @@ export interface GalleriesGetDefaultResponse extends HttpResponse { /** Delete a Shared Image Gallery. */ export interface GalleriesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a Shared Image Gallery. */ export interface GalleriesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a Shared Image Gallery. */ export interface GalleriesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a Shared Image Gallery. */ @@ -3355,19 +3205,16 @@ export interface GalleryImagesGetDefaultResponse extends HttpResponse { /** Delete a gallery image. */ export interface GalleryImagesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a gallery image. */ export interface GalleryImagesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a gallery image. */ export interface GalleryImagesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a gallery image. */ @@ -3439,19 +3286,16 @@ export interface GalleryImageVersionsGetDefaultResponse extends HttpResponse { /** Delete a gallery image version. */ export interface GalleryImageVersionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a gallery image version. */ export interface GalleryImageVersionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a gallery image version. */ export interface GalleryImageVersionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a gallery image version. */ @@ -3523,19 +3367,16 @@ export interface GalleryApplicationsGetDefaultResponse extends HttpResponse { /** Delete a gallery Application. */ export interface GalleryApplicationsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a gallery Application. */ export interface GalleryApplicationsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a gallery Application. */ export interface GalleryApplicationsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a gallery Application. */ @@ -3607,19 +3448,16 @@ export interface GalleryApplicationVersionsGetDefaultResponse extends HttpRespon /** Delete a gallery Application Version. */ export interface GalleryApplicationVersionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a gallery Application Version. */ export interface GalleryApplicationVersionsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Delete a gallery Application Version. */ export interface GalleryApplicationVersionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a gallery Application Version. */ @@ -3795,19 +3633,16 @@ export interface CommunityGalleryImageVersionsListDefaultResponse extends HttpRe /** Deletes a role instance from a cloud service. */ export interface CloudServiceRoleInstancesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a role instance from a cloud service. */ export interface CloudServiceRoleInstancesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a role instance from a cloud service. */ export interface CloudServiceRoleInstancesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a role instance from a cloud service. */ @@ -3855,13 +3690,11 @@ export interface CloudServiceRoleInstancesListDefaultResponse extends HttpRespon /** The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. */ export interface CloudServiceRoleInstancesRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. */ export interface CloudServiceRoleInstancesRestart202Response extends HttpResponse { status: "202"; - body: Record; } /** The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. */ @@ -3873,13 +3706,11 @@ export interface CloudServiceRoleInstancesRestartDefaultResponse extends HttpRes /** The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ export interface CloudServiceRoleInstancesReimage200Response extends HttpResponse { status: "200"; - body: Record; } /** The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ export interface CloudServiceRoleInstancesReimage202Response extends HttpResponse { status: "202"; - body: Record; } /** The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ @@ -3891,13 +3722,11 @@ export interface CloudServiceRoleInstancesReimageDefaultResponse extends HttpRes /** The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. */ export interface CloudServiceRoleInstancesRebuild200Response extends HttpResponse { status: "200"; - body: Record; } /** The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. */ export interface CloudServiceRoleInstancesRebuild202Response extends HttpResponse { status: "202"; - body: Record; } /** The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. */ @@ -3916,7 +3745,6 @@ export interface CloudServiceRoleInstancesGetRemoteDesktopFile200Response extend /** Gets a remote desktop file for a role instance in a cloud service. */ export interface CloudServiceRoleInstancesGetRemoteDesktopFileDefaultResponse extends HttpResponse { status: string; - body: Record; } /** Gets a role from a cloud service. */ @@ -3976,19 +3804,16 @@ export interface CloudServicesUpdateDefaultResponse extends HttpResponse { /** Deletes a cloud service. */ export interface CloudServicesDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a cloud service. */ export interface CloudServicesDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a cloud service. */ export interface CloudServicesDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a cloud service. */ @@ -4048,13 +3873,11 @@ export interface CloudServicesListDefaultResponse extends HttpResponse { /** Starts the cloud service. */ export interface CloudServicesStart200Response extends HttpResponse { status: "200"; - body: Record; } /** Starts the cloud service. */ export interface CloudServicesStart202Response extends HttpResponse { status: "202"; - body: Record; } /** Starts the cloud service. */ @@ -4066,13 +3889,11 @@ export interface CloudServicesStartDefaultResponse extends HttpResponse { /** Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. */ export interface CloudServicesPowerOff200Response extends HttpResponse { status: "200"; - body: Record; } /** Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. */ export interface CloudServicesPowerOff202Response extends HttpResponse { status: "202"; - body: Record; } /** Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. */ @@ -4084,13 +3905,11 @@ export interface CloudServicesPowerOffDefaultResponse extends HttpResponse { /** Restarts one or more role instances in a cloud service. */ export interface CloudServicesRestart200Response extends HttpResponse { status: "200"; - body: Record; } /** Restarts one or more role instances in a cloud service. */ export interface CloudServicesRestart202Response extends HttpResponse { status: "202"; - body: Record; } /** Restarts one or more role instances in a cloud service. */ @@ -4102,13 +3921,11 @@ export interface CloudServicesRestartDefaultResponse extends HttpResponse { /** Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ export interface CloudServicesReimage200Response extends HttpResponse { status: "200"; - body: Record; } /** Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ export interface CloudServicesReimage202Response extends HttpResponse { status: "202"; - body: Record; } /** Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. */ @@ -4120,13 +3937,11 @@ export interface CloudServicesReimageDefaultResponse extends HttpResponse { /** Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. */ export interface CloudServicesRebuild200Response extends HttpResponse { status: "200"; - body: Record; } /** Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. */ export interface CloudServicesRebuild202Response extends HttpResponse { status: "202"; - body: Record; } /** Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. */ @@ -4138,13 +3953,11 @@ export interface CloudServicesRebuildDefaultResponse extends HttpResponse { /** Deletes role instances in a cloud service. */ export interface CloudServicesDeleteInstances200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes role instances in a cloud service. */ export interface CloudServicesDeleteInstances202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes role instances in a cloud service. */ @@ -4156,13 +3969,11 @@ export interface CloudServicesDeleteInstancesDefaultResponse extends HttpRespons /** Updates the role instances in the specified update domain. */ export interface CloudServicesUpdateDomainWalkUpdateDomain200Response extends HttpResponse { status: "200"; - body: Record; } /** Updates the role instances in the specified update domain. */ export interface CloudServicesUpdateDomainWalkUpdateDomain202Response extends HttpResponse { status: "202"; - body: Record; } /** Updates the role instances in the specified update domain. */ diff --git a/sdk/compute/arm-compute-rest/swagger/README.md b/sdk/compute/arm-compute-rest/swagger/README.md index ec1673bce31e..aaafc74ae1e4 100644 --- a/sdk/compute/arm-compute-rest/swagger/README.md +++ b/sdk/compute/arm-compute-rest/swagger/README.md @@ -5,6 +5,8 @@ ## Configuration ```yaml +flavor: azure +openapi-type: arm package-name: "@azure-rest/arm-compute" title: ComputeManagementClient description: Compute Management Rest Client @@ -20,6 +22,8 @@ rest-level-client: true add-credentials: true security: AADToken security-scopes: "https://management.azure.com/.default" +use-extension: + "@autorest/typescript": "latest" modelerfour: lenient-model-deduplication: true treat-type-object-as-anything: true diff --git a/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts b/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts index 5691b7a500e3..1f2fa3ef1e3e 100644 --- a/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts +++ b/sdk/compute/arm-compute-rest/test/public/compute-rest-sample.spec.ts @@ -12,8 +12,6 @@ import type { RecorderStartOptions } from "@azure-tools/test-recorder"; import { Recorder, env, isPlaybackMode } from "@azure-tools/test-recorder"; import { createTestCredential } from "@azure-tools/test-credential"; -import { assert } from "chai"; -import type { Context } from "mocha"; import type { AvailabilitySetsCreateOrUpdateParameters, AvailabilitySetsDeleteParameters, @@ -26,11 +24,13 @@ import type { VirtualMachinesGetParameters, VirtualMachinesListParameters, VirtualMachinesUpdateParameters, -} from "../../src"; -import { getLongRunningPoller, isUnexpected, paginate } from "../../src"; +} from "../../src/index.js"; +import { getLongRunningPoller, isUnexpected, paginate } from "../../src/index.js"; import type { NetworkInterface, Subnet, VirtualNetwork } from "@azure/arm-network"; import { NetworkManagementClient } from "@azure/arm-network"; -import { createTestComputeManagementClient } from "./utils/recordedClient"; +import { createTestComputeManagementClient } from "./utils/recordedClient.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; + const replaceableVariables: Record = { SUBSCRIPTION_ID: "azure_subscription_id", }; @@ -63,8 +63,8 @@ describe("Compute test", () => { let interface_name: string; let virtual_machine_name: string; - beforeEach(async function (this: Context) { - recorder = new Recorder(this.currentTest); + beforeEach(async function (ctx) { + recorder = new Recorder(ctx); await recorder.start(recorderOptions); subscriptionId = env.SUBSCRIPTION_ID || ""; // This is an example of how the environment variables are used @@ -338,7 +338,7 @@ describe("Compute test", () => { if (isUnexpected(initialResponse)) { throw "create virtual machine error. result" + initialResponse; } - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const result = await poller.pollUntilDone(); assert.equal(result.body.name, virtual_machine_name); }); @@ -414,7 +414,7 @@ describe("Compute test", () => { virtual_machine_name, ) .patch(options); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const result = await poller.pollUntilDone(); if (isUnexpected(result)) { throw "update virtual machine error. result" + result; @@ -434,7 +434,7 @@ describe("Compute test", () => { virtual_machine_name, ) .delete(deleteOptions); - const poller = getLongRunningPoller(client, deleteInitialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, deleteInitialResponse, testPollingOptions); const deleteResponse = await poller.pollUntilDone(); if (isUnexpected(deleteResponse)) { throw "delete virtual machine error. result" + deleteResponse; diff --git a/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts b/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts index 6fca9d6f8e78..0d062cb313c3 100644 --- a/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts +++ b/sdk/compute/arm-compute-rest/test/public/utils/recordedClient.ts @@ -1,14 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - -import type { Context } from "mocha"; -import type { RecorderStartOptions } from "@azure-tools/test-recorder"; +import type { RecorderStartOptions, TestInfo } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; import type { TokenCredential } from "@azure/core-auth"; import type { ClientOptions } from "@azure-rest/core-client"; -import type { ComputeManagementClient } from "../../../src/clientDefinitions"; -import createComputeManagementClient from "../../../src"; +import type { ComputeManagementClient } from "../../../src/clientDefinitions.js"; +import createComputeManagementClient from "../../../src/index.js"; const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", @@ -28,8 +26,8 @@ const recorderEnvSetup: RecorderStartOptions = { * Should be called first in the test suite to make sure environment variables are * read before they are being used. */ -export async function createRecorder(context: Context): Promise { - const recorder = new Recorder(context.currentTest); +export async function createRecorder(context: TestInfo): Promise { + const recorder = new Recorder(context); await recorder.start(recorderEnvSetup); return recorder; } diff --git a/sdk/compute/arm-compute-rest/tsconfig.browser.config.json b/sdk/compute/arm-compute-rest/tsconfig.browser.config.json new file mode 100644 index 000000000000..f772e6eb3b76 --- /dev/null +++ b/sdk/compute/arm-compute-rest/tsconfig.browser.config.json @@ -0,0 +1,10 @@ +{ + "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 + } +} diff --git a/sdk/compute/arm-compute-rest/tsconfig.json b/sdk/compute/arm-compute-rest/tsconfig.json index 3ee74bece1a6..19ceb382b521 100644 --- a/sdk/compute/arm-compute-rest/tsconfig.json +++ b/sdk/compute/arm-compute-rest/tsconfig.json @@ -1,9 +1,13 @@ { - "extends": "../../../tsconfig", - "compilerOptions": { - "outDir": "./dist-esm", - "declarationDir": "./types", - "paths": { "@azure-rest/arm-compute": ["./src/index"] } - }, - "include": ["src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] + "references": [ + { + "path": "./tsconfig.src.json" + }, + { + "path": "./tsconfig.samples.json" + }, + { + "path": "./tsconfig.test.json" + } + ] } diff --git a/sdk/compute/arm-compute-rest/tsconfig.samples.json b/sdk/compute/arm-compute-rest/tsconfig.samples.json new file mode 100644 index 000000000000..fc70dddd4698 --- /dev/null +++ b/sdk/compute/arm-compute-rest/tsconfig.samples.json @@ -0,0 +1,8 @@ +{ + "extends": "../../../tsconfig.samples.base.json", + "compilerOptions": { + "paths": { + "@azure-rest/arm-compute": ["./dist/esm"] + } + } +} diff --git a/sdk/compute/arm-compute-rest/tsconfig.src.json b/sdk/compute/arm-compute-rest/tsconfig.src.json new file mode 100644 index 000000000000..bae70752dd38 --- /dev/null +++ b/sdk/compute/arm-compute-rest/tsconfig.src.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.lib.json" +} diff --git a/sdk/compute/arm-compute-rest/tsconfig.test.json b/sdk/compute/arm-compute-rest/tsconfig.test.json new file mode 100644 index 000000000000..290ca214aebc --- /dev/null +++ b/sdk/compute/arm-compute-rest/tsconfig.test.json @@ -0,0 +1,3 @@ +{ + "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] +} diff --git a/sdk/compute/arm-compute-rest/vitest.browser.config.ts b/sdk/compute/arm-compute-rest/vitest.browser.config.ts new file mode 100644 index 000000000000..b48c61b2ef46 --- /dev/null +++ b/sdk/compute/arm-compute-rest/vitest.browser.config.ts @@ -0,0 +1,17 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.browser.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + include: [ + "dist-test/browser/test/**/*.spec.js", + ], + }, + }), +); diff --git a/sdk/compute/arm-compute-rest/vitest.config.ts b/sdk/compute/arm-compute-rest/vitest.config.ts new file mode 100644 index 000000000000..2a4750c84292 --- /dev/null +++ b/sdk/compute/arm-compute-rest/vitest.config.ts @@ -0,0 +1,15 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + hookTimeout: 1200000, + testTimeout: 1200000, + }, + }), +); diff --git a/sdk/compute/arm-compute-rest/vitest.esm.config.ts b/sdk/compute/arm-compute-rest/vitest.esm.config.ts new file mode 100644 index 000000000000..a70127279fc9 --- /dev/null +++ b/sdk/compute/arm-compute-rest/vitest.esm.config.ts @@ -0,0 +1,12 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { mergeConfig } from "vitest/config"; +import vitestConfig from "./vitest.config.ts"; +import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; + +export default mergeConfig( + vitestConfig, + vitestEsmConfig +); diff --git a/sdk/containerservice/arm-containerservice-rest/CHANGELOG.md b/sdk/containerservice/arm-containerservice-rest/CHANGELOG.md index d8bec637860f..18673e6e3298 100644 --- a/sdk/containerservice/arm-containerservice-rest/CHANGELOG.md +++ b/sdk/containerservice/arm-containerservice-rest/CHANGELOG.md @@ -1,14 +1,10 @@ # Release History -## 1.0.0-beta.2 (Unreleased) +## 1.0.0-beta.2 (2024-12-23) ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Refresh sdk with latest codegen ## 1.0.0-beta.1 (2022-07-15) diff --git a/sdk/containerservice/arm-containerservice-rest/api-extractor.json b/sdk/containerservice/arm-containerservice-rest/api-extractor.json index 48d00bbac9cd..60d2859ba2fb 100644 --- a/sdk/containerservice/arm-containerservice-rest/api-extractor.json +++ b/sdk/containerservice/arm-containerservice-rest/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./types/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "mainEntryPointFilePath": "dist/esm/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/arm-containerservice.d.ts" + "publicTrimmedFilePath": "dist/arm-containerservice.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } } diff --git a/sdk/containerservice/arm-containerservice-rest/karma.conf.js b/sdk/containerservice/arm-containerservice-rest/karma.conf.js deleted file mode 100644 index 4fdf26c79ac0..000000000000 --- a/sdk/containerservice/arm-containerservice-rest/karma.conf.js +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -// https://github.com/karma-runner/karma-chrome-launcher -process.env.CHROME_BIN = require("puppeteer").executablePath(); -require("dotenv").config(); -const { relativeRecordingsPath } = require("@azure-tools/test-recorder"); -process.env.RECORDINGS_RELATIVE_PATH = relativeRecordingsPath(); - -module.exports = function (config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: "./", - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ["source-map-support", "mocha"], - - plugins: [ - "karma-mocha", - "karma-mocha-reporter", - "karma-chrome-launcher", - "karma-firefox-launcher", - "karma-env-preprocessor", - "karma-coverage", - "karma-sourcemap-loader", - "karma-junit-reporter", - "karma-source-map-support", - ], - - // list of files / patterns to load in the browser - files: [ - "dist-test/index.browser.js", - { - pattern: "dist-test/index.browser.js.map", - type: "html", - included: false, - served: true, - }, - ], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - "**/*.js": ["sourcemap", "env"], - // IMPORTANT: COMMENT following line if you want to debug in your browsers!! - // Preprocess source file to calculate code coverage, however this will make source file unreadable - // "dist-test/index.js": ["coverage"] - }, - - envPreprocessor: [ - "TEST_MODE", - "ENDPOINT", - "AZURE_CLIENT_SECRET", - "AZURE_CLIENT_ID", - "AZURE_TENANT_ID", - "SUBSCRIPTION_ID", - "RECORDINGS_RELATIVE_PATH", - ], - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ["mocha", "coverage", "junit"], - - coverageReporter: { - // specify a common output directory - dir: "coverage-browser/", - reporters: [ - { type: "json", subdir: ".", file: "coverage.json" }, - { type: "lcovonly", subdir: ".", file: "lcov.info" }, - { type: "html", subdir: "html" }, - { type: "cobertura", subdir: ".", file: "cobertura-coverage.xml" }, - ], - }, - - junitReporter: { - outputDir: "", // results will be saved as $outputDir/$browserName.xml - outputFile: "test-results.browser.xml", // if included, results will be saved as $outputDir/$browserName/$outputFile - suite: "", // suite will become the package name attribute in xml testsuite element - useBrowserName: false, // add browser name to report and classes names - nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element - classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element - properties: {}, // key value pair of properties to add to the section of the report - }, - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // --no-sandbox allows our tests to run in Linux without having to change the system. - // --disable-web-security allows us to authenticate from the browser without having to write tests using interactive auth, which would be far more complex. - browsers: ["ChromeHeadlessNoSandbox"], - customLaunchers: { - ChromeHeadlessNoSandbox: { - base: "ChromeHeadless", - flags: ["--no-sandbox", "--disable-web-security"], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: 1, - - browserNoActivityTimeout: 60000000, - browserDisconnectTimeout: 10000, - browserDisconnectTolerance: 3, - - client: { - mocha: { - // change Karma's debug.html to the mocha web reporter - reporter: "html", - timeout: "600000", - }, - }, - }); -}; diff --git a/sdk/containerservice/arm-containerservice-rest/package.json b/sdk/containerservice/arm-containerservice-rest/package.json index 9496a2720590..a21f671ce4e5 100644 --- a/sdk/containerservice/arm-containerservice-rest/package.json +++ b/sdk/containerservice/arm-containerservice-rest/package.json @@ -13,9 +13,9 @@ "isomorphic" ], "license": "MIT", - "main": "dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/arm-containerservice.d.ts", + "main": "./dist/commonjs/index.js", + "module": "./dist/esm/index.js", + "types": "./dist/commonjs/index.d.ts", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice-rest/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { @@ -23,11 +23,10 @@ }, "files": [ "dist/", - "dist-esm/src/", - "types/arm-containerservice.d.ts", "README.md", "LICENSE", - "review/*" + "review/*", + "CHANGELOG.md" ], "//metadata": { "constantPaths": [ @@ -41,12 +40,12 @@ "node": ">=18.0.0" }, "scripts": { - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", - "build:browser": "tsc -p . && dev-tool run bundle", - "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:node": "tsc -p . && dev-tool run bundle --browser-test false", + "build": "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build:browser": "dev-tool run build-package && dev-tool run bundle", + "build:debug": "dev-tool run build-package && dev-tool run bundle && dev-tool run extract-api", + "build:node": "dev-tool run build-package && dev-tool run bundle --browser-test false", "build:samples": "echo skipped.", - "build:test": "tsc -p . && dev-tool run bundle", + "build:test": "dev-tool run build-package && dev-tool run bundle", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "dev-tool samples run samples-dev", @@ -63,53 +62,39 @@ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "dev-tool run test:browser", - "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'", + "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "unit-test:node": "dev-tool run test:vitest", "update-snippets": "echo skipped" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure-rest/core-client": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^2.2.0", - "@azure/core-paging": "^1.2.0", + "@azure/core-lro": "^3.1.0", "@azure/core-rest-pipeline": "^1.8.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { - "@azure-tools/test-credential": "^1.0.0", - "@azure-tools/test-recorder": "^3.0.0", + "@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/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", - "@types/chai": "^4.2.8", - "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-istanbul": "^2.1.8", "autorest": "latest", - "chai": "^4.2.0", "dotenv": "^16.0.0", "eslint": "^9.9.0", - "karma": "^6.2.0", - "karma-chrome-launcher": "^3.0.0", - "karma-coverage": "^2.0.0", - "karma-env-preprocessor": "^0.1.1", - "karma-firefox-launcher": "^2.1.3", - "karma-junit-reporter": "^2.0.1", - "karma-mocha": "^2.0.1", - "karma-mocha-reporter": "^2.2.5", - "karma-source-map-support": "~1.4.0", - "karma-sourcemap-loader": "^0.3.8", - "mocha": "^11.0.2", - "nyc": "^17.0.0", - "source-map-support": "^0.5.9", - "ts-node": "^10.0.0", - "typescript": "~5.7.2" - }, - "browser": { - "./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js" + "playwright": "^1.49.1", + "typescript": "~5.7.2", + "vitest": "^2.1.8" }, + "browser": "./dist/browser/index.js", "//sampleConfiguration": { "productName": "Azure AKS rest", "productSlugs": [ @@ -117,5 +102,44 @@ ], "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/rest/api/aks" + }, + "type": "module", + "tshy": { + "project": "./tsconfig.src.json", + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false + }, + "react-native": "./dist/react-native/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } } } diff --git a/sdk/containerservice/arm-containerservice-rest/review/arm-containerservice.api.md b/sdk/containerservice/arm-containerservice-rest/review/arm-containerservice.api.md index 1fa167212751..3987c8ca93cf 100644 --- a/sdk/containerservice/arm-containerservice-rest/review/arm-containerservice.api.md +++ b/sdk/containerservice/arm-containerservice-rest/review/arm-containerservice.api.md @@ -4,40 +4,40 @@ ```ts +import type { AbortSignalLike } from '@azure/abort-controller'; +import type { CancelOnProgress } from '@azure/core-lro'; import type { Client } from '@azure-rest/core-client'; import type { ClientOptions } from '@azure-rest/core-client'; +import type { CreateHttpPollerOptions } from '@azure/core-lro'; import type { HttpResponse } from '@azure-rest/core-client'; -import type { LroEngineOptions } from '@azure/core-lro'; -import type { PagedAsyncIterableIterator } from '@azure/core-paging'; +import type { OperationState } from '@azure/core-lro'; import type { PathUncheckedResponse } from '@azure-rest/core-client'; -import type { PollerLike } from '@azure/core-lro'; -import type { PollOperationState } from '@azure/core-lro'; import type { RawHttpHeaders } from '@azure/core-rest-pipeline'; import type { RequestParameters } from '@azure-rest/core-client'; import type { StreamableMethod } from '@azure-rest/core-client'; import type { TokenCredential } from '@azure/core-auth'; -// @public (undocumented) +// @public export interface AccessProfile { kubeConfig?: string; } -// @public (undocumented) +// @public export interface AccessProfileOutput { kubeConfig?: string; } -// @public (undocumented) +// @public export interface AgentPool extends SubResource { properties?: ManagedClusterAgentPoolProfileProperties; } -// @public (undocumented) +// @public export interface AgentPoolAvailableVersionsOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties: AgentPoolAvailableVersionsPropertiesOutput; - type?: string; + readonly type?: string; } // @public (undocumented) @@ -47,18 +47,18 @@ export interface AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItemOutput kubernetesVersion?: string; } -// @public (undocumented) +// @public export interface AgentPoolAvailableVersionsPropertiesOutput { agentPoolVersions?: Array; } -// @public (undocumented) +// @public export interface AgentPoolListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface AgentPoolOutput extends SubResourceOutput { properties?: ManagedClusterAgentPoolProfilePropertiesOutput; } @@ -85,7 +85,7 @@ export interface AgentPoolsCreateOrUpdateBodyParam { } // @public -export interface AgentPoolsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface AgentPoolsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -102,22 +102,18 @@ export type AgentPoolsCreateOrUpdateParameters = AgentPoolsCreateOrUpdateMediaTy // @public export interface AgentPoolsDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface AgentPoolsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface AgentPoolsDeletedefaultResponse extends HttpResponse { +export interface AgentPoolsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -140,9 +136,9 @@ export interface AgentPoolsDeleteQueryParamProperties { // @public (undocumented) export interface AgentPoolsGet { - delete(options?: AgentPoolsDeleteParameters): StreamableMethod; - get(options?: AgentPoolsGetParameters): StreamableMethod; - put(options: AgentPoolsCreateOrUpdateParameters): StreamableMethod; + delete(options?: AgentPoolsDeleteParameters): StreamableMethod; + get(options?: AgentPoolsGetParameters): StreamableMethod; + put(options: AgentPoolsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -170,7 +166,7 @@ export interface AgentPoolsGetAvailableAgentPoolVersions200Response extends Http export type AgentPoolsGetAvailableAgentPoolVersionsParameters = RequestParameters; // @public -export interface AgentPoolsGetdefaultResponse extends HttpResponse { +export interface AgentPoolsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -182,7 +178,7 @@ export type AgentPoolsGetParameters = RequestParameters; // @public (undocumented) export interface AgentPoolsGetUpgradeProfile { - get(options?: AgentPoolsGetUpgradeProfileParameters): StreamableMethod; + get(options?: AgentPoolsGetUpgradeProfileParameters): StreamableMethod; } // @public @@ -194,7 +190,7 @@ export interface AgentPoolsGetUpgradeProfile200Response extends HttpResponse { } // @public -export interface AgentPoolsGetUpgradeProfiledefaultResponse extends HttpResponse { +export interface AgentPoolsGetUpgradeProfileDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -206,7 +202,7 @@ export type AgentPoolsGetUpgradeProfileParameters = RequestParameters; // @public (undocumented) export interface AgentPoolsList { - get(options?: AgentPoolsListParameters): StreamableMethod; + get(options?: AgentPoolsListParameters): StreamableMethod; } // @public @@ -218,7 +214,7 @@ export interface AgentPoolsList200Response extends HttpResponse { } // @public -export interface AgentPoolsListdefaultResponse extends HttpResponse { +export interface AgentPoolsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -230,13 +226,11 @@ export type AgentPoolsListParameters = RequestParameters; // @public (undocumented) export interface AgentPoolsUpgradeNodeImageVersion { - post(options?: AgentPoolsUpgradeNodeImageVersionParameters): StreamableMethod; + post(options?: AgentPoolsUpgradeNodeImageVersionParameters): StreamableMethod; } // @public export interface AgentPoolsUpgradeNodeImageVersion200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } @@ -257,7 +251,7 @@ export interface AgentPoolsUpgradeNodeImageVersion202Response extends HttpRespon } // @public -export interface AgentPoolsUpgradeNodeImageVersiondefaultResponse extends HttpResponse { +export interface AgentPoolsUpgradeNodeImageVersionDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -267,15 +261,15 @@ export interface AgentPoolsUpgradeNodeImageVersiondefaultResponse extends HttpRe // @public (undocumented) export type AgentPoolsUpgradeNodeImageVersionParameters = RequestParameters; -// @public (undocumented) +// @public export interface AgentPoolUpgradeProfileOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties: AgentPoolUpgradeProfilePropertiesOutput; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface AgentPoolUpgradeProfilePropertiesOutput { kubernetesVersion: string; latestNodeImageVersion?: string; @@ -289,17 +283,17 @@ export interface AgentPoolUpgradeProfilePropertiesUpgradesItemOutput { kubernetesVersion?: string; } -// @public (undocumented) +// @public export interface AgentPoolUpgradeSettings { maxSurge?: string; } -// @public (undocumented) +// @public export interface AgentPoolUpgradeSettingsOutput { maxSurge?: string; } -// @public (undocumented) +// @public export interface AzureKeyVaultKms { enabled?: boolean; keyId?: string; @@ -307,7 +301,7 @@ export interface AzureKeyVaultKms { keyVaultResourceId?: string; } -// @public (undocumented) +// @public export interface AzureKeyVaultKmsOutput { enabled?: boolean; keyId?: string; @@ -315,7 +309,7 @@ export interface AzureKeyVaultKmsOutput { keyVaultResourceId?: string; } -// @public (undocumented) +// @public export interface CloudErrorBodyOutput { code?: string; details?: Array; @@ -323,19 +317,19 @@ export interface CloudErrorBodyOutput { target?: string; } -// @public (undocumented) +// @public export interface CloudErrorOutput { error?: CloudErrorBodyOutput; } -// @public (undocumented) +// @public export interface CommandResultPropertiesOutput { - exitCode?: number; - finishedAt?: string; - logs?: string; - provisioningState?: string; - reason?: string; - startedAt?: string; + readonly exitCode?: number; + readonly finishedAt?: string; + readonly logs?: string; + readonly provisioningState?: string; + readonly reason?: string; + readonly startedAt?: string; } // @public (undocumented) @@ -343,19 +337,24 @@ export type ContainerServiceClient = Client & { path: Routes; }; -// @public (undocumented) +// @public +export interface ContainerServiceClientOptions extends ClientOptions { + apiVersion?: string; +} + +// @public export interface ContainerServiceLinuxProfile { adminUsername: string; ssh: ContainerServiceSshConfiguration; } -// @public (undocumented) +// @public export interface ContainerServiceLinuxProfileOutput { adminUsername: string; ssh: ContainerServiceSshConfigurationOutput; } -// @public (undocumented) +// @public export interface ContainerServiceNetworkProfile { dnsServiceIP?: string; dockerBridgeCidr?: string; @@ -374,7 +373,7 @@ export interface ContainerServiceNetworkProfile { serviceCidrs?: Array; } -// @public (undocumented) +// @public export interface ContainerServiceNetworkProfileOutput { dnsServiceIP?: string; dockerBridgeCidr?: string; @@ -393,58 +392,58 @@ export interface ContainerServiceNetworkProfileOutput { serviceCidrs?: Array; } -// @public (undocumented) +// @public export interface ContainerServiceSshConfiguration { publicKeys: Array; } -// @public (undocumented) +// @public export interface ContainerServiceSshConfigurationOutput { publicKeys: Array; } -// @public (undocumented) +// @public export interface ContainerServiceSshPublicKey { keyData: string; } -// @public (undocumented) +// @public export interface ContainerServiceSshPublicKeyOutput { keyData: string; } -// @public (undocumented) -function createClient(credentials: TokenCredential, options?: ClientOptions): ContainerServiceClient; +// @public +function createClient(credentials: TokenCredential, { apiVersion, ...options }?: ContainerServiceClientOptions): ContainerServiceClient; export default createClient; -// @public (undocumented) +// @public export interface CreationData { sourceResourceId?: string; } -// @public (undocumented) +// @public export interface CreationDataOutput { sourceResourceId?: string; } -// @public (undocumented) +// @public export interface CredentialResultOutput { - name?: string; - value?: string; + readonly name?: string; + readonly value?: string; } -// @public (undocumented) +// @public export interface CredentialResultsOutput { - kubeconfigs?: Array; + readonly kubeconfigs?: Array; } -// @public (undocumented) +// @public export interface EndpointDependencyOutput { domainName?: string; endpointDetails?: Array; } -// @public (undocumented) +// @public export interface EndpointDetailOutput { description?: string; ipAddress?: string; @@ -452,13 +451,13 @@ export interface EndpointDetailOutput { protocol?: string; } -// @public (undocumented) +// @public export interface ExtendedLocation { name?: string; type?: "EdgeZone"; } -// @public (undocumented) +// @public export interface ExtendedLocationOutput { name?: string; type?: "EdgeZone"; @@ -468,180 +467,180 @@ export interface ExtendedLocationOutput { export type GetArrayType = T extends Array ? TData : never; // @public -export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: LroEngineOptions>): PollerLike, TResult>; +export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions>): Promise, TResult>>; // @public -export type GetPage = (pageLink: string, maxPageSize?: number) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; // @public (undocumented) -export function isUnexpected(response: OperationsList200Response | OperationsListdefaultResponse): response is OperationsListdefaultResponse; +export function isUnexpected(response: OperationsList200Response | OperationsListDefaultResponse): response is OperationsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsdefaultResponse): response is ManagedClustersGetOSOptionsdefaultResponse; +export function isUnexpected(response: ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsDefaultResponse): response is ManagedClustersGetOSOptionsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersList200Response | ManagedClustersListdefaultResponse): response is ManagedClustersListdefaultResponse; +export function isUnexpected(response: ManagedClustersList200Response | ManagedClustersListDefaultResponse): response is ManagedClustersListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersListByResourceGroup200Response | ManagedClustersListByResourceGroupdefaultResponse): response is ManagedClustersListByResourceGroupdefaultResponse; +export function isUnexpected(response: ManagedClustersListByResourceGroup200Response | ManagedClustersListByResourceGroupDefaultResponse): response is ManagedClustersListByResourceGroupDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersGetUpgradeProfile200Response | ManagedClustersGetUpgradeProfiledefaultResponse): response is ManagedClustersGetUpgradeProfiledefaultResponse; +export function isUnexpected(response: ManagedClustersGetUpgradeProfile200Response | ManagedClustersGetUpgradeProfileDefaultResponse): response is ManagedClustersGetUpgradeProfileDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersGetAccessProfile200Response | ManagedClustersGetAccessProfiledefaultResponse): response is ManagedClustersGetAccessProfiledefaultResponse; +export function isUnexpected(response: ManagedClustersGetAccessProfile200Response | ManagedClustersGetAccessProfileDefaultResponse): response is ManagedClustersGetAccessProfileDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersListClusterAdminCredentials200Response | ManagedClustersListClusterAdminCredentialsdefaultResponse): response is ManagedClustersListClusterAdminCredentialsdefaultResponse; +export function isUnexpected(response: ManagedClustersListClusterAdminCredentials200Response | ManagedClustersListClusterAdminCredentialsDefaultResponse): response is ManagedClustersListClusterAdminCredentialsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersListClusterUserCredentials200Response | ManagedClustersListClusterUserCredentialsdefaultResponse): response is ManagedClustersListClusterUserCredentialsdefaultResponse; +export function isUnexpected(response: ManagedClustersListClusterUserCredentials200Response | ManagedClustersListClusterUserCredentialsDefaultResponse): response is ManagedClustersListClusterUserCredentialsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersListClusterMonitoringUserCredentials200Response | ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse): response is ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse; +export function isUnexpected(response: ManagedClustersListClusterMonitoringUserCredentials200Response | ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse): response is ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersGet200Response | ManagedClustersGetdefaultResponse): response is ManagedClustersGetdefaultResponse; +export function isUnexpected(response: ManagedClustersGet200Response | ManagedClustersGetDefaultResponse): response is ManagedClustersGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersCreateOrUpdate200Response | ManagedClustersCreateOrUpdate201Response | ManagedClustersCreateOrUpdatedefaultResponse): response is ManagedClustersCreateOrUpdatedefaultResponse; +export function isUnexpected(response: ManagedClustersCreateOrUpdate200Response | ManagedClustersCreateOrUpdate201Response | ManagedClustersCreateOrUpdateDefaultResponse): response is ManagedClustersCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsdefaultResponse): response is ManagedClustersUpdateTagsdefaultResponse; +export function isUnexpected(response: ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsDefaultResponse): response is ManagedClustersUpdateTagsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersDelete202Response | ManagedClustersDelete204Response | ManagedClustersDeletedefaultResponse): response is ManagedClustersDeletedefaultResponse; +export function isUnexpected(response: ManagedClustersDelete202Response | ManagedClustersDelete204Response | ManagedClustersDeleteDefaultResponse): response is ManagedClustersDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersResetServicePrincipalProfile200Response | ManagedClustersResetServicePrincipalProfile202Response | ManagedClustersResetServicePrincipalProfiledefaultResponse): response is ManagedClustersResetServicePrincipalProfiledefaultResponse; +export function isUnexpected(response: ManagedClustersResetServicePrincipalProfile200Response | ManagedClustersResetServicePrincipalProfile202Response | ManagedClustersResetServicePrincipalProfileDefaultResponse): response is ManagedClustersResetServicePrincipalProfileDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersResetAADProfile200Response | ManagedClustersResetAADProfile202Response | ManagedClustersResetAADProfiledefaultResponse): response is ManagedClustersResetAADProfiledefaultResponse; +export function isUnexpected(response: ManagedClustersResetAADProfile200Response | ManagedClustersResetAADProfile202Response | ManagedClustersResetAADProfileDefaultResponse): response is ManagedClustersResetAADProfileDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersRotateClusterCertificates202Response | ManagedClustersRotateClusterCertificates204Response | ManagedClustersRotateClusterCertificatesdefaultResponse): response is ManagedClustersRotateClusterCertificatesdefaultResponse; +export function isUnexpected(response: ManagedClustersRotateClusterCertificates202Response | ManagedClustersRotateClusterCertificates204Response | ManagedClustersRotateClusterCertificatesDefaultResponse): response is ManagedClustersRotateClusterCertificatesDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersRotateServiceAccountSigningKeys202Response | ManagedClustersRotateServiceAccountSigningKeys204Response | ManagedClustersRotateServiceAccountSigningKeysdefaultResponse): response is ManagedClustersRotateServiceAccountSigningKeysdefaultResponse; +export function isUnexpected(response: ManagedClustersRotateServiceAccountSigningKeys202Response | ManagedClustersRotateServiceAccountSigningKeys204Response | ManagedClustersRotateServiceAccountSigningKeysDefaultResponse): response is ManagedClustersRotateServiceAccountSigningKeysDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersStop202Response | ManagedClustersStop204Response | ManagedClustersStopdefaultResponse): response is ManagedClustersStopdefaultResponse; +export function isUnexpected(response: ManagedClustersStop202Response | ManagedClustersStop204Response | ManagedClustersStopDefaultResponse): response is ManagedClustersStopDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersStart202Response | ManagedClustersStart204Response | ManagedClustersStartdefaultResponse): response is ManagedClustersStartdefaultResponse; +export function isUnexpected(response: ManagedClustersStart202Response | ManagedClustersStart204Response | ManagedClustersStartDefaultResponse): response is ManagedClustersStartDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersRunCommand200Response | ManagedClustersRunCommand202Response | ManagedClustersRunCommanddefaultResponse): response is ManagedClustersRunCommanddefaultResponse; +export function isUnexpected(response: ManagedClustersRunCommand200Response | ManagedClustersRunCommand202Response | ManagedClustersRunCommandDefaultResponse): response is ManagedClustersRunCommandDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersGetCommandResult200Response | ManagedClustersGetCommandResult202Response | ManagedClustersGetCommandResultdefaultResponse): response is ManagedClustersGetCommandResultdefaultResponse; +export function isUnexpected(response: ManagedClustersGetCommandResult200Response | ManagedClustersGetCommandResult202Response | ManagedClustersGetCommandResultDefaultResponse): response is ManagedClustersGetCommandResultDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClustersListOutboundNetworkDependenciesEndpoints200Response | ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse): response is ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse; +export function isUnexpected(response: ManagedClustersListOutboundNetworkDependenciesEndpoints200Response | ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse): response is ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: MaintenanceConfigurationsListByManagedCluster200Response | MaintenanceConfigurationsListByManagedClusterdefaultResponse): response is MaintenanceConfigurationsListByManagedClusterdefaultResponse; +export function isUnexpected(response: MaintenanceConfigurationsListByManagedCluster200Response | MaintenanceConfigurationsListByManagedClusterDefaultResponse): response is MaintenanceConfigurationsListByManagedClusterDefaultResponse; // @public (undocumented) -export function isUnexpected(response: MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetdefaultResponse): response is MaintenanceConfigurationsGetdefaultResponse; +export function isUnexpected(response: MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetDefaultResponse): response is MaintenanceConfigurationsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: MaintenanceConfigurationsCreateOrUpdate200Response | MaintenanceConfigurationsCreateOrUpdatedefaultResponse): response is MaintenanceConfigurationsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: MaintenanceConfigurationsCreateOrUpdate200Response | MaintenanceConfigurationsCreateOrUpdateDefaultResponse): response is MaintenanceConfigurationsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: MaintenanceConfigurationsDelete200Response | MaintenanceConfigurationsDelete204Response | MaintenanceConfigurationsDeletedefaultResponse): response is MaintenanceConfigurationsDeletedefaultResponse; +export function isUnexpected(response: MaintenanceConfigurationsDelete200Response | MaintenanceConfigurationsDelete204Response | MaintenanceConfigurationsDeleteDefaultResponse): response is MaintenanceConfigurationsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsList200Response | AgentPoolsListdefaultResponse): response is AgentPoolsListdefaultResponse; +export function isUnexpected(response: AgentPoolsList200Response | AgentPoolsListDefaultResponse): response is AgentPoolsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsGet200Response | AgentPoolsGetdefaultResponse): response is AgentPoolsGetdefaultResponse; +export function isUnexpected(response: AgentPoolsGet200Response | AgentPoolsGetDefaultResponse): response is AgentPoolsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsCreateOrUpdate200Response | AgentPoolsCreateOrUpdate201Response | AgentPoolsCreateOrUpdatedefaultResponse): response is AgentPoolsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: AgentPoolsCreateOrUpdate200Response | AgentPoolsCreateOrUpdate201Response | AgentPoolsCreateOrUpdateDefaultResponse): response is AgentPoolsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsDelete202Response | AgentPoolsDelete204Response | AgentPoolsDeletedefaultResponse): response is AgentPoolsDeletedefaultResponse; +export function isUnexpected(response: AgentPoolsDelete202Response | AgentPoolsDelete204Response | AgentPoolsDeleteDefaultResponse): response is AgentPoolsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfiledefaultResponse): response is AgentPoolsGetUpgradeProfiledefaultResponse; +export function isUnexpected(response: AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfileDefaultResponse): response is AgentPoolsGetUpgradeProfileDefaultResponse; // @public (undocumented) -export function isUnexpected(response: AgentPoolsUpgradeNodeImageVersion200Response | AgentPoolsUpgradeNodeImageVersion202Response | AgentPoolsUpgradeNodeImageVersiondefaultResponse): response is AgentPoolsUpgradeNodeImageVersiondefaultResponse; +export function isUnexpected(response: AgentPoolsUpgradeNodeImageVersion200Response | AgentPoolsUpgradeNodeImageVersion202Response | AgentPoolsUpgradeNodeImageVersionDefaultResponse): response is AgentPoolsUpgradeNodeImageVersionDefaultResponse; // @public (undocumented) -export function isUnexpected(response: PrivateEndpointConnectionsList200Response | PrivateEndpointConnectionsListdefaultResponse): response is PrivateEndpointConnectionsListdefaultResponse; +export function isUnexpected(response: PrivateEndpointConnectionsList200Response | PrivateEndpointConnectionsListDefaultResponse): response is PrivateEndpointConnectionsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetdefaultResponse): response is PrivateEndpointConnectionsGetdefaultResponse; +export function isUnexpected(response: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse): response is PrivateEndpointConnectionsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: PrivateEndpointConnectionsUpdate200Response | PrivateEndpointConnectionsUpdatedefaultResponse): response is PrivateEndpointConnectionsUpdatedefaultResponse; +export function isUnexpected(response: PrivateEndpointConnectionsUpdate200Response | PrivateEndpointConnectionsUpdateDefaultResponse): response is PrivateEndpointConnectionsUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: PrivateEndpointConnectionsDelete200Response | PrivateEndpointConnectionsDelete204Response | PrivateEndpointConnectionsDeletedefaultResponse): response is PrivateEndpointConnectionsDeletedefaultResponse; +export function isUnexpected(response: PrivateEndpointConnectionsDelete200Response | PrivateEndpointConnectionsDelete204Response | PrivateEndpointConnectionsDeleteDefaultResponse): response is PrivateEndpointConnectionsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: PrivateLinkResourcesList200Response | PrivateLinkResourcesListdefaultResponse): response is PrivateLinkResourcesListdefaultResponse; +export function isUnexpected(response: PrivateLinkResourcesList200Response | PrivateLinkResourcesListDefaultResponse): response is PrivateLinkResourcesListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ResolvePrivateLinkServiceIdPost200Response | ResolvePrivateLinkServiceIdPostdefaultResponse): response is ResolvePrivateLinkServiceIdPostdefaultResponse; +export function isUnexpected(response: ResolvePrivateLinkServiceIdPost200Response | ResolvePrivateLinkServiceIdPostDefaultResponse): response is ResolvePrivateLinkServiceIdPostDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsList200Response | SnapshotsListdefaultResponse): response is SnapshotsListdefaultResponse; +export function isUnexpected(response: SnapshotsList200Response | SnapshotsListDefaultResponse): response is SnapshotsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupdefaultResponse): response is SnapshotsListByResourceGroupdefaultResponse; +export function isUnexpected(response: SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupDefaultResponse): response is SnapshotsListByResourceGroupDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsGet200Response | SnapshotsGetdefaultResponse): response is SnapshotsGetdefaultResponse; +export function isUnexpected(response: SnapshotsGet200Response | SnapshotsGetDefaultResponse): response is SnapshotsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsCreateOrUpdate200Response | SnapshotsCreateOrUpdate201Response | SnapshotsCreateOrUpdatedefaultResponse): response is SnapshotsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: SnapshotsCreateOrUpdate200Response | SnapshotsCreateOrUpdate201Response | SnapshotsCreateOrUpdateDefaultResponse): response is SnapshotsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsUpdateTags200Response | SnapshotsUpdateTagsdefaultResponse): response is SnapshotsUpdateTagsdefaultResponse; +export function isUnexpected(response: SnapshotsUpdateTags200Response | SnapshotsUpdateTagsDefaultResponse): response is SnapshotsUpdateTagsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: SnapshotsDelete200Response | SnapshotsDelete204Response | SnapshotsDeletedefaultResponse): response is SnapshotsDeletedefaultResponse; +export function isUnexpected(response: SnapshotsDelete200Response | SnapshotsDelete204Response | SnapshotsDeleteDefaultResponse): response is SnapshotsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListdefaultResponse): response is ManagedClusterSnapshotsListdefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListDefaultResponse): response is ManagedClusterSnapshotsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsListByResourceGroup200Response | ManagedClusterSnapshotsListByResourceGroupdefaultResponse): response is ManagedClusterSnapshotsListByResourceGroupdefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsListByResourceGroup200Response | ManagedClusterSnapshotsListByResourceGroupDefaultResponse): response is ManagedClusterSnapshotsListByResourceGroupDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetdefaultResponse): response is ManagedClusterSnapshotsGetdefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetDefaultResponse): response is ManagedClusterSnapshotsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsCreateOrUpdate200Response | ManagedClusterSnapshotsCreateOrUpdate201Response | ManagedClusterSnapshotsCreateOrUpdatedefaultResponse): response is ManagedClusterSnapshotsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsCreateOrUpdate200Response | ManagedClusterSnapshotsCreateOrUpdate201Response | ManagedClusterSnapshotsCreateOrUpdateDefaultResponse): response is ManagedClusterSnapshotsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsUpdateTags200Response | ManagedClusterSnapshotsUpdateTagsdefaultResponse): response is ManagedClusterSnapshotsUpdateTagsdefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsUpdateTags200Response | ManagedClusterSnapshotsUpdateTagsDefaultResponse): response is ManagedClusterSnapshotsUpdateTagsDefaultResponse; // @public (undocumented) -export function isUnexpected(response: ManagedClusterSnapshotsDelete200Response | ManagedClusterSnapshotsDelete204Response | ManagedClusterSnapshotsDeletedefaultResponse): response is ManagedClusterSnapshotsDeletedefaultResponse; +export function isUnexpected(response: ManagedClusterSnapshotsDelete200Response | ManagedClusterSnapshotsDelete204Response | ManagedClusterSnapshotsDeleteDefaultResponse): response is ManagedClusterSnapshotsDeleteDefaultResponse; // @public (undocumented) -export function isUnexpected(response: TrustedAccessRolesList200Response | TrustedAccessRolesListdefaultResponse): response is TrustedAccessRolesListdefaultResponse; +export function isUnexpected(response: TrustedAccessRolesList200Response | TrustedAccessRolesListDefaultResponse): response is TrustedAccessRolesListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListdefaultResponse): response is TrustedAccessRoleBindingsListdefaultResponse; +export function isUnexpected(response: TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListDefaultResponse): response is TrustedAccessRoleBindingsListDefaultResponse; // @public (undocumented) -export function isUnexpected(response: TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetdefaultResponse): response is TrustedAccessRoleBindingsGetdefaultResponse; +export function isUnexpected(response: TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetDefaultResponse): response is TrustedAccessRoleBindingsGetDefaultResponse; // @public (undocumented) -export function isUnexpected(response: TrustedAccessRoleBindingsCreateOrUpdate200Response | TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse): response is TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse; +export function isUnexpected(response: TrustedAccessRoleBindingsCreateOrUpdate200Response | TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse): response is TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse; // @public (undocumented) -export function isUnexpected(response: TrustedAccessRoleBindingsDelete200Response | TrustedAccessRoleBindingsDelete204Response | TrustedAccessRoleBindingsDeletedefaultResponse): response is TrustedAccessRoleBindingsDeletedefaultResponse; +export function isUnexpected(response: TrustedAccessRoleBindingsDelete200Response | TrustedAccessRoleBindingsDelete204Response | TrustedAccessRoleBindingsDeleteDefaultResponse): response is TrustedAccessRoleBindingsDeleteDefaultResponse; -// @public (undocumented) +// @public export interface KubeletConfig { allowedUnsafeSysctls?: Array; containerLogMaxFiles?: number; @@ -656,7 +655,7 @@ export interface KubeletConfig { topologyManagerPolicy?: string; } -// @public (undocumented) +// @public export interface KubeletConfigOutput { allowedUnsafeSysctls?: Array; containerLogMaxFiles?: number; @@ -671,7 +670,7 @@ export interface KubeletConfigOutput { topologyManagerPolicy?: string; } -// @public (undocumented) +// @public export interface LinuxOSConfig { swapFileSizeMB?: number; sysctls?: SysctlConfig; @@ -679,7 +678,7 @@ export interface LinuxOSConfig { transparentHugePageEnabled?: string; } -// @public (undocumented) +// @public export interface LinuxOSConfigOutput { swapFileSizeMB?: number; sysctls?: SysctlConfigOutput; @@ -687,31 +686,30 @@ export interface LinuxOSConfigOutput { transparentHugePageEnabled?: string; } -// @public (undocumented) +// @public export interface MaintenanceConfiguration extends SubResource { properties?: MaintenanceConfigurationProperties; - systemData?: SystemData; } -// @public (undocumented) +// @public export interface MaintenanceConfigurationListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface MaintenanceConfigurationOutput extends SubResourceOutput { properties?: MaintenanceConfigurationPropertiesOutput; - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } -// @public (undocumented) +// @public export interface MaintenanceConfigurationProperties { notAllowedTime?: Array; timeInWeek?: Array; } -// @public (undocumented) +// @public export interface MaintenanceConfigurationPropertiesOutput { notAllowedTime?: Array; timeInWeek?: Array; @@ -731,7 +729,7 @@ export interface MaintenanceConfigurationsCreateOrUpdateBodyParam { } // @public -export interface MaintenanceConfigurationsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -748,22 +746,18 @@ export type MaintenanceConfigurationsCreateOrUpdateParameters = MaintenanceConfi // @public export interface MaintenanceConfigurationsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface MaintenanceConfigurationsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface MaintenanceConfigurationsDeletedefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -775,9 +769,9 @@ export type MaintenanceConfigurationsDeleteParameters = RequestParameters; // @public (undocumented) export interface MaintenanceConfigurationsGet { - delete(options?: MaintenanceConfigurationsDeleteParameters): StreamableMethod; - get(options?: MaintenanceConfigurationsGetParameters): StreamableMethod; - put(options: MaintenanceConfigurationsCreateOrUpdateParameters): StreamableMethod; + delete(options?: MaintenanceConfigurationsDeleteParameters): StreamableMethod; + get(options?: MaintenanceConfigurationsGetParameters): StreamableMethod; + put(options: MaintenanceConfigurationsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -789,7 +783,7 @@ export interface MaintenanceConfigurationsGet200Response extends HttpResponse { } // @public -export interface MaintenanceConfigurationsGetdefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -801,7 +795,7 @@ export type MaintenanceConfigurationsGetParameters = RequestParameters; // @public (undocumented) export interface MaintenanceConfigurationsListByManagedCluster { - get(options?: MaintenanceConfigurationsListByManagedClusterParameters): StreamableMethod; + get(options?: MaintenanceConfigurationsListByManagedClusterParameters): StreamableMethod; } // @public @@ -813,7 +807,7 @@ export interface MaintenanceConfigurationsListByManagedCluster200Response extend } // @public -export interface MaintenanceConfigurationsListByManagedClusterdefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsListByManagedClusterDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -823,7 +817,7 @@ export interface MaintenanceConfigurationsListByManagedClusterdefaultResponse ex // @public (undocumented) export type MaintenanceConfigurationsListByManagedClusterParameters = RequestParameters; -// @public (undocumented) +// @public export interface ManagedCluster extends TrackedResource { extendedLocation?: ExtendedLocation; identity?: ManagedClusterIdentity; @@ -831,7 +825,7 @@ export interface ManagedCluster extends TrackedResource { sku?: ManagedClusterSKU; } -// @public (undocumented) +// @public export interface ManagedClusterAADProfile { adminGroupObjectIDs?: Array; clientAppID?: string; @@ -842,7 +836,7 @@ export interface ManagedClusterAADProfile { tenantID?: string; } -// @public (undocumented) +// @public export interface ManagedClusterAADProfileOutput { adminGroupObjectIDs?: Array; clientAppID?: string; @@ -853,55 +847,53 @@ export interface ManagedClusterAADProfileOutput { tenantID?: string; } -// @public (undocumented) +// @public export interface ManagedClusterAccessProfile extends TrackedResource { properties?: AccessProfile; } -// @public (undocumented) +// @public export interface ManagedClusterAccessProfileOutput extends TrackedResourceOutput { properties?: AccessProfileOutput; } -// @public (undocumented) +// @public export interface ManagedClusterAddonProfile { config?: Record; enabled: boolean; - identity?: ManagedClusterAddonProfileIdentity; } -// @public (undocumented) +// @public export interface ManagedClusterAddonProfileIdentity extends UserAssignedIdentity { } -// @public (undocumented) +// @public export interface ManagedClusterAddonProfileIdentityOutput extends UserAssignedIdentityOutput { } -// @public (undocumented) +// @public export interface ManagedClusterAddonProfileOutput { config?: Record; enabled: boolean; - identity?: ManagedClusterAddonProfileIdentityOutput; + readonly identity?: ManagedClusterAddonProfileIdentityOutput; } -// @public (undocumented) +// @public export interface ManagedClusterAgentPoolProfile extends ManagedClusterAgentPoolProfileProperties { name: string; } -// @public (undocumented) +// @public export interface ManagedClusterAgentPoolProfileOutput extends ManagedClusterAgentPoolProfilePropertiesOutput { name: string; } -// @public (undocumented) +// @public export interface ManagedClusterAgentPoolProfileProperties { availabilityZones?: Array; capacityReservationGroupID?: string; count?: number; creationData?: CreationData; - currentOrchestratorVersion?: string; enableAutoScaling?: boolean; enableCustomCATrust?: boolean; enableEncryptionAtHost?: boolean; @@ -918,7 +910,6 @@ export interface ManagedClusterAgentPoolProfileProperties { messageOfTheDay?: string; minCount?: number; mode?: "System" | "User"; - nodeImageVersion?: string; nodeLabels?: Record; nodePublicIPPrefixID?: string; nodeTaints?: Array; @@ -929,7 +920,6 @@ export interface ManagedClusterAgentPoolProfileProperties { osType?: "Linux" | "Windows"; podSubnetID?: string; powerState?: PowerState; - provisioningState?: string; proximityPlacementGroupID?: string; scaleDownMode?: "Delete" | "Deallocate"; scaleSetEvictionPolicy?: "Delete" | "Deallocate"; @@ -943,13 +933,13 @@ export interface ManagedClusterAgentPoolProfileProperties { workloadRuntime?: "OCIContainer" | "WasmWasi"; } -// @public (undocumented) +// @public export interface ManagedClusterAgentPoolProfilePropertiesOutput { availabilityZones?: Array; capacityReservationGroupID?: string; count?: number; creationData?: CreationDataOutput; - currentOrchestratorVersion?: string; + readonly currentOrchestratorVersion?: string; enableAutoScaling?: boolean; enableCustomCATrust?: boolean; enableEncryptionAtHost?: boolean; @@ -966,7 +956,7 @@ export interface ManagedClusterAgentPoolProfilePropertiesOutput { messageOfTheDay?: string; minCount?: number; mode?: "System" | "User"; - nodeImageVersion?: string; + readonly nodeImageVersion?: string; nodeLabels?: Record; nodePublicIPPrefixID?: string; nodeTaints?: Array; @@ -977,7 +967,7 @@ export interface ManagedClusterAgentPoolProfilePropertiesOutput { osType?: "Linux" | "Windows"; podSubnetID?: string; powerState?: PowerStateOutput; - provisioningState?: string; + readonly provisioningState?: string; proximityPlacementGroupID?: string; scaleDownMode?: "Delete" | "Deallocate"; scaleSetEvictionPolicy?: "Delete" | "Deallocate"; @@ -991,7 +981,7 @@ export interface ManagedClusterAgentPoolProfilePropertiesOutput { workloadRuntime?: "OCIContainer" | "WasmWasi"; } -// @public (undocumented) +// @public export interface ManagedClusterAPIServerAccessProfile { authorizedIPRanges?: Array; disableRunCommand?: boolean; @@ -1002,7 +992,7 @@ export interface ManagedClusterAPIServerAccessProfile { subnetId?: string; } -// @public (undocumented) +// @public export interface ManagedClusterAPIServerAccessProfileOutput { authorizedIPRanges?: Array; disableRunCommand?: boolean; @@ -1013,79 +1003,76 @@ export interface ManagedClusterAPIServerAccessProfileOutput { subnetId?: string; } -// @public (undocumented) +// @public export interface ManagedClusterAutoUpgradeProfile { upgradeChannel?: "rapid" | "stable" | "patch" | "node-image" | "none"; } -// @public (undocumented) +// @public export interface ManagedClusterAutoUpgradeProfileOutput { upgradeChannel?: "rapid" | "stable" | "patch" | "node-image" | "none"; } -// @public (undocumented) +// @public export interface ManagedClusterHttpProxyConfig { - effectiveNoProxy?: Array; httpProxy?: string; httpsProxy?: string; noProxy?: Array; trustedCa?: string; } -// @public (undocumented) +// @public export interface ManagedClusterHttpProxyConfigOutput { - effectiveNoProxy?: Array; + readonly effectiveNoProxy?: Array; httpProxy?: string; httpsProxy?: string; noProxy?: Array; trustedCa?: string; } -// @public (undocumented) +// @public export interface ManagedClusterIdentity { - principalId?: string; - tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "None"; userAssignedIdentities?: Record; } -// @public (undocumented) +// @public export interface ManagedClusterIdentityOutput { - principalId?: string; - tenantId?: string; + readonly principalId?: string; + readonly tenantId?: string; type?: "SystemAssigned" | "UserAssigned" | "None"; userAssignedIdentities?: Record; } -// @public (undocumented) +// @public export interface ManagedClusterIngressProfile { webAppRouting?: ManagedClusterIngressProfileWebAppRouting; } -// @public (undocumented) +// @public export interface ManagedClusterIngressProfileOutput { webAppRouting?: ManagedClusterIngressProfileWebAppRoutingOutput; } -// @public (undocumented) +// @public export interface ManagedClusterIngressProfileWebAppRouting { dnsZoneResourceId?: string; enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterIngressProfileWebAppRoutingOutput { dnsZoneResourceId?: string; enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfile { allocatedOutboundPorts?: number; effectiveOutboundIPs?: Array; @@ -1096,39 +1083,39 @@ export interface ManagedClusterLoadBalancerProfile { outboundIPs?: ManagedClusterLoadBalancerProfileOutboundIPs; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileManagedOutboundIPs { count?: number; countIPv6?: number; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileManagedOutboundIPsOutput { count?: number; countIPv6?: number; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileOutboundIPPrefixes { publicIPPrefixes?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileOutboundIPPrefixesOutput { publicIPPrefixes?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileOutboundIPs { publicIPs?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileOutboundIPsOutput { publicIPs?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterLoadBalancerProfileOutput { allocatedOutboundPorts?: number; effectiveOutboundIPs?: Array; @@ -1139,43 +1126,42 @@ export interface ManagedClusterLoadBalancerProfileOutput { outboundIPs?: ManagedClusterLoadBalancerProfileOutboundIPsOutput; } -// @public (undocumented) +// @public export interface ManagedClusterManagedOutboundIPProfile { count?: number; } -// @public (undocumented) +// @public export interface ManagedClusterManagedOutboundIPProfileOutput { count?: number; } -// @public (undocumented) +// @public export interface ManagedClusterNATGatewayProfile { effectiveOutboundIPs?: Array; idleTimeoutInMinutes?: number; managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfile; } -// @public (undocumented) +// @public export interface ManagedClusterNATGatewayProfileOutput { effectiveOutboundIPs?: Array; idleTimeoutInMinutes?: number; managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfileOutput; } -// @public (undocumented) +// @public export interface ManagedClusterOidcIssuerProfile { enabled?: boolean; - issuerURL?: string; } -// @public (undocumented) +// @public export interface ManagedClusterOidcIssuerProfileOutput { enabled?: boolean; - issuerURL?: string; + readonly issuerURL?: string; } -// @public (undocumented) +// @public export interface ManagedClusterOutput extends TrackedResourceOutput { extendedLocation?: ExtendedLocationOutput; identity?: ManagedClusterIdentityOutput; @@ -1183,43 +1169,40 @@ export interface ManagedClusterOutput extends TrackedResourceOutput { sku?: ManagedClusterSKUOutput; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentity { bindingSelector?: string; identity: UserAssignedIdentity; name: string; namespace: string; - // (undocumented) - provisioningInfo?: ManagedClusterPodIdentityProvisioningInfo; - provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityException { name: string; namespace: string; podLabels: Record; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityExceptionOutput { name: string; namespace: string; podLabels: Record; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityOutput { bindingSelector?: string; identity: UserAssignedIdentityOutput; name: string; namespace: string; // (undocumented) - provisioningInfo?: ManagedClusterPodIdentityProvisioningInfoOutput; - provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; + readonly provisioningInfo?: ManagedClusterPodIdentityProvisioningInfoOutput; + readonly provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProfile { allowNetworkPluginKubenet?: boolean; enabled?: boolean; @@ -1227,7 +1210,7 @@ export interface ManagedClusterPodIdentityProfile { userAssignedIdentityExceptions?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProfileOutput { allowNetworkPluginKubenet?: boolean; enabled?: boolean; @@ -1235,12 +1218,12 @@ export interface ManagedClusterPodIdentityProfileOutput { userAssignedIdentityExceptions?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProvisioningError { error?: ManagedClusterPodIdentityProvisioningErrorBody; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProvisioningErrorBody { code?: string; details?: Array; @@ -1248,7 +1231,7 @@ export interface ManagedClusterPodIdentityProvisioningErrorBody { target?: string; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProvisioningErrorBodyOutput { code?: string; details?: Array; @@ -1256,7 +1239,7 @@ export interface ManagedClusterPodIdentityProvisioningErrorBodyOutput { target?: string; } -// @public (undocumented) +// @public export interface ManagedClusterPodIdentityProvisioningErrorOutput { error?: ManagedClusterPodIdentityProvisioningErrorBodyOutput; } @@ -1271,7 +1254,7 @@ export interface ManagedClusterPodIdentityProvisioningInfoOutput { error?: ManagedClusterPodIdentityProvisioningErrorOutput; } -// @public (undocumented) +// @public export interface ManagedClusterPoolUpgradeProfileOutput { kubernetesVersion: string; name?: string; @@ -1285,7 +1268,7 @@ export interface ManagedClusterPoolUpgradeProfileUpgradesItemOutput { kubernetesVersion?: string; } -// @public (undocumented) +// @public export interface ManagedClusterProperties { aadProfile?: ManagedClusterAADProfile; addonProfiles?: Record; @@ -1293,31 +1276,24 @@ export interface ManagedClusterProperties { apiServerAccessProfile?: ManagedClusterAPIServerAccessProfile; autoScalerProfile?: ManagedClusterPropertiesAutoScalerProfile; autoUpgradeProfile?: ManagedClusterAutoUpgradeProfile; - azurePortalFQDN?: string; creationData?: CreationData; - currentKubernetesVersion?: string; disableLocalAccounts?: boolean; diskEncryptionSetID?: string; dnsPrefix?: string; enableNamespaceResources?: boolean; enablePodSecurityPolicy?: boolean; enableRBAC?: boolean; - fqdn?: string; fqdnSubdomain?: string; httpProxyConfig?: ManagedClusterHttpProxyConfig; identityProfile?: Record; ingressProfile?: ManagedClusterIngressProfile; kubernetesVersion?: string; linuxProfile?: ContainerServiceLinuxProfile; - maxAgentPools?: number; networkProfile?: ContainerServiceNetworkProfile; nodeResourceGroup?: string; oidcIssuerProfile?: ManagedClusterOidcIssuerProfile; podIdentityProfile?: ManagedClusterPodIdentityProfile; - powerState?: PowerState; - privateFQDN?: string; privateLinkResources?: Array; - provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; securityProfile?: ManagedClusterSecurityProfile; servicePrincipalProfile?: ManagedClusterServicePrincipalProfile; @@ -1326,7 +1302,7 @@ export interface ManagedClusterProperties { workloadAutoScalerProfile?: ManagedClusterWorkloadAutoScalerProfile; } -// @public (undocumented) +// @public export interface ManagedClusterPropertiesAutoScalerProfile { "balance-similar-node-groups"?: string; "max-empty-bulk-delete"?: string; @@ -1347,7 +1323,7 @@ export interface ManagedClusterPropertiesAutoScalerProfile { expander?: "least-waste" | "most-pods" | "priority" | "random"; } -// @public (undocumented) +// @public export interface ManagedClusterPropertiesAutoScalerProfileOutput { "balance-similar-node-groups"?: string; "max-empty-bulk-delete"?: string; @@ -1368,23 +1344,22 @@ export interface ManagedClusterPropertiesAutoScalerProfileOutput { expander?: "least-waste" | "most-pods" | "priority" | "random"; } -// @public (undocumented) +// @public export interface ManagedClusterPropertiesForSnapshot { enableRbac?: boolean; kubernetesVersion?: string; - networkProfile?: NetworkProfileForSnapshot; sku?: ManagedClusterSKU; } -// @public (undocumented) +// @public export interface ManagedClusterPropertiesForSnapshotOutput { enableRbac?: boolean; kubernetesVersion?: string; - networkProfile?: NetworkProfileForSnapshotOutput; + readonly networkProfile?: NetworkProfileForSnapshotOutput; sku?: ManagedClusterSKUOutput; } -// @public (undocumented) +// @public export interface ManagedClusterPropertiesOutput { aadProfile?: ManagedClusterAADProfileOutput; addonProfiles?: Record; @@ -1392,31 +1367,31 @@ export interface ManagedClusterPropertiesOutput { apiServerAccessProfile?: ManagedClusterAPIServerAccessProfileOutput; autoScalerProfile?: ManagedClusterPropertiesAutoScalerProfileOutput; autoUpgradeProfile?: ManagedClusterAutoUpgradeProfileOutput; - azurePortalFQDN?: string; + readonly azurePortalFQDN?: string; creationData?: CreationDataOutput; - currentKubernetesVersion?: string; + readonly currentKubernetesVersion?: string; disableLocalAccounts?: boolean; diskEncryptionSetID?: string; dnsPrefix?: string; enableNamespaceResources?: boolean; enablePodSecurityPolicy?: boolean; enableRBAC?: boolean; - fqdn?: string; + readonly fqdn?: string; fqdnSubdomain?: string; httpProxyConfig?: ManagedClusterHttpProxyConfigOutput; identityProfile?: Record; ingressProfile?: ManagedClusterIngressProfileOutput; kubernetesVersion?: string; linuxProfile?: ContainerServiceLinuxProfileOutput; - maxAgentPools?: number; + readonly maxAgentPools?: number; networkProfile?: ContainerServiceNetworkProfileOutput; nodeResourceGroup?: string; oidcIssuerProfile?: ManagedClusterOidcIssuerProfileOutput; podIdentityProfile?: ManagedClusterPodIdentityProfileOutput; - powerState?: PowerStateOutput; - privateFQDN?: string; + readonly powerState?: PowerStateOutput; + readonly privateFQDN?: string; privateLinkResources?: Array; - provisioningState?: string; + readonly provisioningState?: string; publicNetworkAccess?: "Enabled" | "Disabled"; securityProfile?: ManagedClusterSecurityProfileOutput; servicePrincipalProfile?: ManagedClusterServicePrincipalProfileOutput; @@ -1447,7 +1422,7 @@ export interface ManagedClustersCreateOrUpdateBodyParam { } // @public -export interface ManagedClustersCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ManagedClustersCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1464,22 +1439,18 @@ export type ManagedClustersCreateOrUpdateParameters = ManagedClustersCreateOrUpd // @public export interface ManagedClustersDelete202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ManagedClustersDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClustersDeletedefaultResponse extends HttpResponse { +export interface ManagedClustersDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1500,59 +1471,59 @@ export interface ManagedClustersDeleteQueryParamProperties { "ignore-pod-disruption-budget"?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfile { azureKeyVaultKms?: AzureKeyVaultKms; defender?: ManagedClusterSecurityProfileDefender; workloadIdentity?: ManagedClusterSecurityProfileWorkloadIdentity; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileDefender { logAnalyticsWorkspaceResourceId?: string; securityMonitoring?: ManagedClusterSecurityProfileDefenderSecurityMonitoring; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileDefenderOutput { logAnalyticsWorkspaceResourceId?: string; securityMonitoring?: ManagedClusterSecurityProfileDefenderSecurityMonitoringOutput; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileDefenderSecurityMonitoring { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileDefenderSecurityMonitoringOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileOutput { azureKeyVaultKms?: AzureKeyVaultKmsOutput; defender?: ManagedClusterSecurityProfileDefenderOutput; workloadIdentity?: ManagedClusterSecurityProfileWorkloadIdentityOutput; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileWorkloadIdentity { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterSecurityProfileWorkloadIdentityOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterServicePrincipalProfile { clientId: string; secret?: string; } -// @public (undocumented) +// @public export interface ManagedClusterServicePrincipalProfileOutput { clientId: string; secret?: string; @@ -1560,10 +1531,10 @@ export interface ManagedClusterServicePrincipalProfileOutput { // @public (undocumented) export interface ManagedClustersGet { - delete(options?: ManagedClustersDeleteParameters): StreamableMethod; - get(options?: ManagedClustersGetParameters): StreamableMethod; - patch(options: ManagedClustersUpdateTagsParameters): StreamableMethod; - put(options: ManagedClustersCreateOrUpdateParameters): StreamableMethod; + delete(options?: ManagedClustersDeleteParameters): StreamableMethod; + get(options?: ManagedClustersGetParameters): StreamableMethod; + patch(options: ManagedClustersUpdateTagsParameters): StreamableMethod; + put(options: ManagedClustersCreateOrUpdateParameters): StreamableMethod; } // @public @@ -1576,7 +1547,7 @@ export interface ManagedClustersGet200Response extends HttpResponse { // @public (undocumented) export interface ManagedClustersGetAccessProfile { - post(options?: ManagedClustersGetAccessProfileParameters): StreamableMethod; + post(options?: ManagedClustersGetAccessProfileParameters): StreamableMethod; } // @public @@ -1588,7 +1559,7 @@ export interface ManagedClustersGetAccessProfile200Response extends HttpResponse } // @public -export interface ManagedClustersGetAccessProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersGetAccessProfileDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1600,7 +1571,7 @@ export type ManagedClustersGetAccessProfileParameters = RequestParameters; // @public (undocumented) export interface ManagedClustersGetCommandResult { - get(options?: ManagedClustersGetCommandResultParameters): StreamableMethod; + get(options?: ManagedClustersGetCommandResultParameters): StreamableMethod; } // @public @@ -1613,14 +1584,12 @@ export interface ManagedClustersGetCommandResult200Response extends HttpResponse // @public export interface ManagedClustersGetCommandResult202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public -export interface ManagedClustersGetCommandResultdefaultResponse extends HttpResponse { +export interface ManagedClustersGetCommandResultDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1631,7 +1600,7 @@ export interface ManagedClustersGetCommandResultdefaultResponse extends HttpResp export type ManagedClustersGetCommandResultParameters = RequestParameters; // @public -export interface ManagedClustersGetdefaultResponse extends HttpResponse { +export interface ManagedClustersGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1640,7 +1609,7 @@ export interface ManagedClustersGetdefaultResponse extends HttpResponse { // @public (undocumented) export interface ManagedClustersGetOSOptions { - get(options?: ManagedClustersGetOSOptionsParameters): StreamableMethod; + get(options?: ManagedClustersGetOSOptionsParameters): StreamableMethod; } // @public @@ -1652,7 +1621,7 @@ export interface ManagedClustersGetOSOptions200Response extends HttpResponse { } // @public -export interface ManagedClustersGetOSOptionsdefaultResponse extends HttpResponse { +export interface ManagedClustersGetOSOptionsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1678,7 +1647,7 @@ export type ManagedClustersGetParameters = RequestParameters; // @public (undocumented) export interface ManagedClustersGetUpgradeProfile { - get(options?: ManagedClustersGetUpgradeProfileParameters): StreamableMethod; + get(options?: ManagedClustersGetUpgradeProfileParameters): StreamableMethod; } // @public @@ -1690,7 +1659,7 @@ export interface ManagedClustersGetUpgradeProfile200Response extends HttpRespons } // @public -export interface ManagedClustersGetUpgradeProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersGetUpgradeProfileDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1700,13 +1669,13 @@ export interface ManagedClustersGetUpgradeProfiledefaultResponse extends HttpRes // @public (undocumented) export type ManagedClustersGetUpgradeProfileParameters = RequestParameters; -// @public (undocumented) +// @public export interface ManagedClusterSKU { name?: "Basic"; tier?: "Paid" | "Free"; } -// @public (undocumented) +// @public export interface ManagedClusterSKUOutput { name?: "Basic"; tier?: "Paid" | "Free"; @@ -1714,7 +1683,7 @@ export interface ManagedClusterSKUOutput { // @public (undocumented) export interface ManagedClustersList { - get(options?: ManagedClustersListParameters): StreamableMethod; + get(options?: ManagedClustersListParameters): StreamableMethod; } // @public @@ -1727,7 +1696,7 @@ export interface ManagedClustersList200Response extends HttpResponse { // @public (undocumented) export interface ManagedClustersListByResourceGroup { - get(options?: ManagedClustersListByResourceGroupParameters): StreamableMethod; + get(options?: ManagedClustersListByResourceGroupParameters): StreamableMethod; } // @public @@ -1739,7 +1708,7 @@ export interface ManagedClustersListByResourceGroup200Response extends HttpRespo } // @public -export interface ManagedClustersListByResourceGroupdefaultResponse extends HttpResponse { +export interface ManagedClustersListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1751,7 +1720,7 @@ export type ManagedClustersListByResourceGroupParameters = RequestParameters; // @public (undocumented) export interface ManagedClustersListClusterAdminCredentials { - post(options?: ManagedClustersListClusterAdminCredentialsParameters): StreamableMethod; + post(options?: ManagedClustersListClusterAdminCredentialsParameters): StreamableMethod; } // @public @@ -1763,7 +1732,7 @@ export interface ManagedClustersListClusterAdminCredentials200Response extends H } // @public -export interface ManagedClustersListClusterAdminCredentialsdefaultResponse extends HttpResponse { +export interface ManagedClustersListClusterAdminCredentialsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1786,7 +1755,7 @@ export interface ManagedClustersListClusterAdminCredentialsQueryParamProperties // @public (undocumented) export interface ManagedClustersListClusterMonitoringUserCredentials { - post(options?: ManagedClustersListClusterMonitoringUserCredentialsParameters): StreamableMethod; + post(options?: ManagedClustersListClusterMonitoringUserCredentialsParameters): StreamableMethod; } // @public @@ -1798,7 +1767,7 @@ export interface ManagedClustersListClusterMonitoringUserCredentials200Response } // @public -export interface ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse extends HttpResponse { +export interface ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1821,7 +1790,7 @@ export interface ManagedClustersListClusterMonitoringUserCredentialsQueryParamPr // @public (undocumented) export interface ManagedClustersListClusterUserCredentials { - post(options?: ManagedClustersListClusterUserCredentialsParameters): StreamableMethod; + post(options?: ManagedClustersListClusterUserCredentialsParameters): StreamableMethod; } // @public @@ -1833,7 +1802,7 @@ export interface ManagedClustersListClusterUserCredentials200Response extends Ht } // @public -export interface ManagedClustersListClusterUserCredentialsdefaultResponse extends HttpResponse { +export interface ManagedClustersListClusterUserCredentialsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1856,7 +1825,7 @@ export interface ManagedClustersListClusterUserCredentialsQueryParamProperties { } // @public -export interface ManagedClustersListdefaultResponse extends HttpResponse { +export interface ManagedClustersListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1865,7 +1834,7 @@ export interface ManagedClustersListdefaultResponse extends HttpResponse { // @public (undocumented) export interface ManagedClustersListOutboundNetworkDependenciesEndpoints { - get(options?: ManagedClustersListOutboundNetworkDependenciesEndpointsParameters): StreamableMethod; + get(options?: ManagedClustersListOutboundNetworkDependenciesEndpointsParameters): StreamableMethod; } // @public @@ -1877,7 +1846,7 @@ export interface ManagedClustersListOutboundNetworkDependenciesEndpoints200Respo } // @public -export interface ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse extends HttpResponse { +export interface ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1890,33 +1859,32 @@ export type ManagedClustersListOutboundNetworkDependenciesEndpointsParameters = // @public (undocumented) export type ManagedClustersListParameters = RequestParameters; -// @public (undocumented) +// @public export interface ManagedClusterSnapshot extends TrackedResource { properties?: ManagedClusterSnapshotProperties; } -// @public (undocumented) +// @public export interface ManagedClusterSnapshotListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface ManagedClusterSnapshotOutput extends TrackedResourceOutput { properties?: ManagedClusterSnapshotPropertiesOutput; } -// @public (undocumented) +// @public export interface ManagedClusterSnapshotProperties { creationData?: CreationData; - managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshot; snapshotType?: "NodePool" | "ManagedCluster"; } -// @public (undocumented) +// @public export interface ManagedClusterSnapshotPropertiesOutput { creationData?: CreationDataOutput; - managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshotOutput; + readonly managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshotOutput; snapshotType?: "NodePool" | "ManagedCluster"; } @@ -1942,7 +1910,7 @@ export interface ManagedClusterSnapshotsCreateOrUpdateBodyParam { } // @public -export interface ManagedClusterSnapshotsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1959,22 +1927,18 @@ export type ManagedClusterSnapshotsCreateOrUpdateParameters = ManagedClusterSnap // @public export interface ManagedClusterSnapshotsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ManagedClusterSnapshotsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClusterSnapshotsDeletedefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -1986,10 +1950,10 @@ export type ManagedClusterSnapshotsDeleteParameters = RequestParameters; // @public (undocumented) export interface ManagedClusterSnapshotsGet { - delete(options?: ManagedClusterSnapshotsDeleteParameters): StreamableMethod; - get(options?: ManagedClusterSnapshotsGetParameters): StreamableMethod; - patch(options: ManagedClusterSnapshotsUpdateTagsParameters): StreamableMethod; - put(options: ManagedClusterSnapshotsCreateOrUpdateParameters): StreamableMethod; + delete(options?: ManagedClusterSnapshotsDeleteParameters): StreamableMethod; + get(options?: ManagedClusterSnapshotsGetParameters): StreamableMethod; + patch(options: ManagedClusterSnapshotsUpdateTagsParameters): StreamableMethod; + put(options: ManagedClusterSnapshotsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -2001,7 +1965,7 @@ export interface ManagedClusterSnapshotsGet200Response extends HttpResponse { } // @public -export interface ManagedClusterSnapshotsGetdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2013,7 +1977,7 @@ export type ManagedClusterSnapshotsGetParameters = RequestParameters; // @public (undocumented) export interface ManagedClusterSnapshotsList { - get(options?: ManagedClusterSnapshotsListParameters): StreamableMethod; + get(options?: ManagedClusterSnapshotsListParameters): StreamableMethod; } // @public @@ -2026,7 +1990,7 @@ export interface ManagedClusterSnapshotsList200Response extends HttpResponse { // @public (undocumented) export interface ManagedClusterSnapshotsListByResourceGroup { - get(options?: ManagedClusterSnapshotsListByResourceGroupParameters): StreamableMethod; + get(options?: ManagedClusterSnapshotsListByResourceGroupParameters): StreamableMethod; } // @public @@ -2038,7 +2002,7 @@ export interface ManagedClusterSnapshotsListByResourceGroup200Response extends H } // @public -export interface ManagedClusterSnapshotsListByResourceGroupdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2049,7 +2013,7 @@ export interface ManagedClusterSnapshotsListByResourceGroupdefaultResponse exten export type ManagedClusterSnapshotsListByResourceGroupParameters = RequestParameters; // @public -export interface ManagedClusterSnapshotsListdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2073,7 +2037,7 @@ export interface ManagedClusterSnapshotsUpdateTagsBodyParam { } // @public -export interface ManagedClusterSnapshotsUpdateTagsdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsUpdateTagsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2090,21 +2054,17 @@ export type ManagedClusterSnapshotsUpdateTagsParameters = ManagedClusterSnapshot // @public (undocumented) export interface ManagedClustersResetAADProfile { - post(options: ManagedClustersResetAADProfileParameters): StreamableMethod; + post(options: ManagedClustersResetAADProfileParameters): StreamableMethod; } // @public export interface ManagedClustersResetAADProfile200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ManagedClustersResetAADProfile202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2115,7 +2075,7 @@ export interface ManagedClustersResetAADProfileBodyParam { } // @public -export interface ManagedClustersResetAADProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersResetAADProfileDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2132,21 +2092,17 @@ export type ManagedClustersResetAADProfileParameters = ManagedClustersResetAADPr // @public (undocumented) export interface ManagedClustersResetServicePrincipalProfile { - post(options: ManagedClustersResetServicePrincipalProfileParameters): StreamableMethod; + post(options: ManagedClustersResetServicePrincipalProfileParameters): StreamableMethod; } // @public export interface ManagedClustersResetServicePrincipalProfile200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface ManagedClustersResetServicePrincipalProfile202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2157,7 +2113,7 @@ export interface ManagedClustersResetServicePrincipalProfileBodyParam { } // @public -export interface ManagedClustersResetServicePrincipalProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersResetServicePrincipalProfileDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2174,27 +2130,23 @@ export type ManagedClustersResetServicePrincipalProfileParameters = ManagedClust // @public (undocumented) export interface ManagedClustersRotateClusterCertificates { - post(options?: ManagedClustersRotateClusterCertificatesParameters): StreamableMethod; + post(options?: ManagedClustersRotateClusterCertificatesParameters): StreamableMethod; } // @public export interface ManagedClustersRotateClusterCertificates202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ManagedClustersRotateClusterCertificates204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClustersRotateClusterCertificatesdefaultResponse extends HttpResponse { +export interface ManagedClustersRotateClusterCertificatesDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2206,27 +2158,23 @@ export type ManagedClustersRotateClusterCertificatesParameters = RequestParamete // @public (undocumented) export interface ManagedClustersRotateServiceAccountSigningKeys { - post(options?: ManagedClustersRotateServiceAccountSigningKeysParameters): StreamableMethod; + post(options?: ManagedClustersRotateServiceAccountSigningKeysParameters): StreamableMethod; } // @public export interface ManagedClustersRotateServiceAccountSigningKeys202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ManagedClustersRotateServiceAccountSigningKeys204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClustersRotateServiceAccountSigningKeysdefaultResponse extends HttpResponse { +export interface ManagedClustersRotateServiceAccountSigningKeysDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2238,7 +2186,7 @@ export type ManagedClustersRotateServiceAccountSigningKeysParameters = RequestPa // @public (undocumented) export interface ManagedClustersRunCommand { - post(options: ManagedClustersRunCommandParameters): StreamableMethod; + post(options: ManagedClustersRunCommandParameters): StreamableMethod; } // @public @@ -2251,8 +2199,6 @@ export interface ManagedClustersRunCommand200Response extends HttpResponse { // @public export interface ManagedClustersRunCommand202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } @@ -2263,7 +2209,7 @@ export interface ManagedClustersRunCommandBodyParam { } // @public -export interface ManagedClustersRunCommanddefaultResponse extends HttpResponse { +export interface ManagedClustersRunCommandDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2280,27 +2226,23 @@ export type ManagedClustersRunCommandParameters = ManagedClustersRunCommandMedia // @public (undocumented) export interface ManagedClustersStart { - post(options?: ManagedClustersStartParameters): StreamableMethod; + post(options?: ManagedClustersStartParameters): StreamableMethod; } // @public export interface ManagedClustersStart202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ManagedClustersStart204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClustersStartdefaultResponse extends HttpResponse { +export interface ManagedClustersStartDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2312,27 +2254,23 @@ export type ManagedClustersStartParameters = RequestParameters; // @public (undocumented) export interface ManagedClustersStop { - post(options?: ManagedClustersStopParameters): StreamableMethod; + post(options?: ManagedClustersStopParameters): StreamableMethod; } // @public export interface ManagedClustersStop202Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "202"; } // @public export interface ManagedClustersStop204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface ManagedClustersStopdefaultResponse extends HttpResponse { +export interface ManagedClustersStopDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2342,7 +2280,7 @@ export interface ManagedClustersStopdefaultResponse extends HttpResponse { // @public (undocumented) export type ManagedClustersStopParameters = RequestParameters; -// @public (undocumented) +// @public export interface ManagedClusterStorageProfile { blobCSIDriver?: ManagedClusterStorageProfileBlobCSIDriver; diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriver; @@ -2350,39 +2288,39 @@ export interface ManagedClusterStorageProfile { snapshotController?: ManagedClusterStorageProfileSnapshotController; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileBlobCSIDriver { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileBlobCSIDriverOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileDiskCSIDriver { enabled?: boolean; version?: string; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileDiskCSIDriverOutput { enabled?: boolean; version?: string; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileFileCSIDriver { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileFileCSIDriverOutput { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileOutput { blobCSIDriver?: ManagedClusterStorageProfileBlobCSIDriverOutput; diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriverOutput; @@ -2390,12 +2328,12 @@ export interface ManagedClusterStorageProfileOutput { snapshotController?: ManagedClusterStorageProfileSnapshotControllerOutput; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileSnapshotController { enabled?: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterStorageProfileSnapshotControllerOutput { enabled?: boolean; } @@ -2414,7 +2352,7 @@ export interface ManagedClustersUpdateTagsBodyParam { } // @public -export interface ManagedClustersUpdateTagsdefaultResponse extends HttpResponse { +export interface ManagedClustersUpdateTagsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2429,21 +2367,21 @@ export interface ManagedClustersUpdateTagsMediaTypesParam { // @public (undocumented) export type ManagedClustersUpdateTagsParameters = ManagedClustersUpdateTagsMediaTypesParam & ManagedClustersUpdateTagsBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface ManagedClusterUpgradeProfileOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties: ManagedClusterUpgradeProfilePropertiesOutput; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface ManagedClusterUpgradeProfilePropertiesOutput { agentPoolProfiles: Array; controlPlaneProfile: ManagedClusterPoolUpgradeProfileOutput; } -// @public (undocumented) +// @public export interface ManagedClusterWindowsProfile { adminPassword?: string; adminUsername: string; @@ -2452,7 +2390,7 @@ export interface ManagedClusterWindowsProfile { licenseType?: "None" | "Windows_Server"; } -// @public (undocumented) +// @public export interface ManagedClusterWindowsProfileOutput { adminPassword?: string; adminUsername: string; @@ -2461,39 +2399,37 @@ export interface ManagedClusterWindowsProfileOutput { licenseType?: "None" | "Windows_Server"; } -// @public (undocumented) +// @public export interface ManagedClusterWorkloadAutoScalerProfile { keda?: ManagedClusterWorkloadAutoScalerProfileKeda; } -// @public (undocumented) +// @public export interface ManagedClusterWorkloadAutoScalerProfileKeda { enabled: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterWorkloadAutoScalerProfileKedaOutput { enabled: boolean; } -// @public (undocumented) +// @public export interface ManagedClusterWorkloadAutoScalerProfileOutput { keda?: ManagedClusterWorkloadAutoScalerProfileKedaOutput; } // @public (undocumented) export interface ManagedServiceIdentityUserAssignedIdentitiesValue { - clientId?: string; - principalId?: string; } // @public (undocumented) export interface ManagedServiceIdentityUserAssignedIdentitiesValueOutput { - clientId?: string; - principalId?: string; + readonly clientId?: string; + readonly principalId?: string; } -// @public (undocumented) +// @public export interface NetworkProfileForSnapshot { loadBalancerSku?: "standard" | "basic"; networkMode?: "transparent" | "bridge"; @@ -2502,7 +2438,7 @@ export interface NetworkProfileForSnapshot { networkPolicy?: "calico" | "azure"; } -// @public (undocumented) +// @public export interface NetworkProfileForSnapshotOutput { loadBalancerSku?: "standard" | "basic"; networkMode?: "transparent" | "bridge"; @@ -2511,14 +2447,14 @@ export interface NetworkProfileForSnapshotOutput { networkPolicy?: "calico" | "azure"; } -// @public (undocumented) +// @public export interface OperationListResultOutput { - value?: Array; + readonly value?: Array; } // @public (undocumented) export interface OperationsList { - get(options?: OperationsListParameters): StreamableMethod; + get(options?: OperationsListParameters): StreamableMethod; } // @public @@ -2530,7 +2466,7 @@ export interface OperationsList200Response extends HttpResponse { } // @public -export interface OperationsListdefaultResponse extends HttpResponse { +export interface OperationsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2540,52 +2476,64 @@ export interface OperationsListdefaultResponse extends HttpResponse { // @public (undocumented) export type OperationsListParameters = RequestParameters; -// @public (undocumented) +// @public export interface OperationValueDisplayOutput { - description?: string; - operation?: string; - provider?: string; - resource?: string; + readonly description?: string; + readonly operation?: string; + readonly provider?: string; + readonly resource?: string; } -// @public (undocumented) +// @public export interface OperationValueOutput { display?: OperationValueDisplayOutput; - name?: string; - origin?: string; + readonly name?: string; + readonly origin?: string; } -// @public (undocumented) +// @public export interface OSOptionProfileOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties: OSOptionPropertyListOutput; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface OSOptionPropertyListOutput { osOptionPropertyList: Array; } -// @public (undocumented) +// @public export interface OSOptionPropertyOutput { "enable-fips-image": boolean; "os-type": string; } -// @public (undocumented) +// @public export interface OutboundEnvironmentEndpointCollectionOutput { - nextLink?: string; + readonly nextLink?: string; value: Array; } -// @public (undocumented) +// @public export interface OutboundEnvironmentEndpointOutput { category?: string; endpoints?: Array; } +// @public +export interface PagedAsyncIterableIterator { + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + byPage: (settings?: TPageSettings) => AsyncIterableIterator; + next(): Promise>; +} + +// @public +export interface PageSettings { + continuationToken?: string; +} + // @public export function paginate(client: Client, initialResponse: TResponse, options?: PagingOptions): PagedAsyncIterableIterator>; @@ -2601,74 +2549,66 @@ export interface PagingOptions { customGetPage?: GetPage[]>; } -// @public (undocumented) +// @public export interface PowerState { code?: "Running" | "Stopped"; } -// @public (undocumented) +// @public export interface PowerStateOutput { code?: "Running" | "Stopped"; } -// @public (undocumented) +// @public export interface PrivateEndpoint { id?: string; } -// @public (undocumented) +// @public export interface PrivateEndpointConnection { - id?: string; - name?: string; properties?: PrivateEndpointConnectionProperties; - type?: string; } -// @public (undocumented) +// @public export interface PrivateEndpointConnectionListResultOutput { value?: Array; } -// @public (undocumented) +// @public export interface PrivateEndpointConnectionOutput { - id?: string; - name?: string; + readonly id?: string; + readonly name?: string; properties?: PrivateEndpointConnectionPropertiesOutput; - type?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface PrivateEndpointConnectionProperties { privateEndpoint?: PrivateEndpoint; privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } -// @public (undocumented) +// @public export interface PrivateEndpointConnectionPropertiesOutput { privateEndpoint?: PrivateEndpointOutput; privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput; - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; } // @public export interface PrivateEndpointConnectionsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface PrivateEndpointConnectionsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface PrivateEndpointConnectionsDeletedefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2680,9 +2620,9 @@ export type PrivateEndpointConnectionsDeleteParameters = RequestParameters; // @public (undocumented) export interface PrivateEndpointConnectionsGet { - delete(options?: PrivateEndpointConnectionsDeleteParameters): StreamableMethod; - get(options?: PrivateEndpointConnectionsGetParameters): StreamableMethod; - put(options: PrivateEndpointConnectionsUpdateParameters): StreamableMethod; + delete(options?: PrivateEndpointConnectionsDeleteParameters): StreamableMethod; + get(options?: PrivateEndpointConnectionsGetParameters): StreamableMethod; + put(options: PrivateEndpointConnectionsUpdateParameters): StreamableMethod; } // @public @@ -2694,7 +2634,7 @@ export interface PrivateEndpointConnectionsGet200Response extends HttpResponse { } // @public -export interface PrivateEndpointConnectionsGetdefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2706,7 +2646,7 @@ export type PrivateEndpointConnectionsGetParameters = RequestParameters; // @public (undocumented) export interface PrivateEndpointConnectionsList { - get(options?: PrivateEndpointConnectionsListParameters): StreamableMethod; + get(options?: PrivateEndpointConnectionsListParameters): StreamableMethod; } // @public @@ -2718,7 +2658,7 @@ export interface PrivateEndpointConnectionsList200Response extends HttpResponse } // @public -export interface PrivateEndpointConnectionsListdefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2742,7 +2682,7 @@ export interface PrivateEndpointConnectionsUpdateBodyParam { } // @public -export interface PrivateEndpointConnectionsUpdatedefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2757,34 +2697,33 @@ export interface PrivateEndpointConnectionsUpdateMediaTypesParam { // @public (undocumented) export type PrivateEndpointConnectionsUpdateParameters = PrivateEndpointConnectionsUpdateMediaTypesParam & PrivateEndpointConnectionsUpdateBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface PrivateEndpointOutput { id?: string; } -// @public (undocumented) +// @public export interface PrivateLinkResource { groupId?: string; id?: string; name?: string; - privateLinkServiceID?: string; requiredMembers?: Array; type?: string; } -// @public (undocumented) +// @public export interface PrivateLinkResourceOutput { groupId?: string; id?: string; name?: string; - privateLinkServiceID?: string; + readonly privateLinkServiceID?: string; requiredMembers?: Array; type?: string; } // @public (undocumented) export interface PrivateLinkResourcesList { - get(options?: PrivateLinkResourcesListParameters): StreamableMethod; + get(options?: PrivateLinkResourcesListParameters): StreamableMethod; } // @public @@ -2796,7 +2735,7 @@ export interface PrivateLinkResourcesList200Response extends HttpResponse { } // @public -export interface PrivateLinkResourcesListdefaultResponse extends HttpResponse { +export interface PrivateLinkResourcesListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2806,18 +2745,18 @@ export interface PrivateLinkResourcesListdefaultResponse extends HttpResponse { // @public (undocumented) export type PrivateLinkResourcesListParameters = RequestParameters; -// @public (undocumented) +// @public export interface PrivateLinkResourcesListResultOutput { value?: Array; } -// @public (undocumented) +// @public export interface PrivateLinkServiceConnectionState { description?: string; status?: "Pending" | "Approved" | "Rejected" | "Disconnected"; } -// @public (undocumented) +// @public export interface PrivateLinkServiceConnectionStateOutput { description?: string; status?: "Pending" | "Approved" | "Rejected" | "Disconnected"; @@ -2825,7 +2764,7 @@ export interface PrivateLinkServiceConnectionStateOutput { // @public (undocumented) export interface ResolvePrivateLinkServiceIdPost { - post(options: ResolvePrivateLinkServiceIdPostParameters): StreamableMethod; + post(options: ResolvePrivateLinkServiceIdPostParameters): StreamableMethod; } // @public @@ -2842,7 +2781,7 @@ export interface ResolvePrivateLinkServiceIdPostBodyParam { } // @public -export interface ResolvePrivateLinkServiceIdPostdefaultResponse extends HttpResponse { +export interface ResolvePrivateLinkServiceIdPostDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -2857,28 +2796,24 @@ export interface ResolvePrivateLinkServiceIdPostMediaTypesParam { // @public (undocumented) export type ResolvePrivateLinkServiceIdPostParameters = ResolvePrivateLinkServiceIdPostMediaTypesParam & ResolvePrivateLinkServiceIdPostBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface Resource { - id?: string; - name?: string; - systemData?: SystemData; - type?: string; } -// @public (undocumented) +// @public export interface ResourceOutput { - id?: string; - name?: string; - systemData?: SystemDataOutput; - type?: string; + readonly id?: string; + readonly name?: string; + readonly systemData?: SystemDataOutput; + readonly type?: string; } -// @public (undocumented) +// @public export interface ResourceReference { id?: string; } -// @public (undocumented) +// @public export interface ResourceReferenceOutput { id?: string; } @@ -2926,57 +2861,73 @@ export interface Routes { (path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}", subscriptionId: string, resourceGroupName: string, resourceName: string, trustedAccessRoleBindingName: string): TrustedAccessRoleBindingsGet; } -// @public (undocumented) +// @public export interface RunCommandRequest { clusterToken?: string; command: string; context?: string; } -// @public (undocumented) +// @public export interface RunCommandResultOutput { - id?: string; + readonly id?: string; properties?: CommandResultPropertiesOutput; } -// @public (undocumented) +// @public +export interface SimplePollerLike, TResult> { + getOperationState(): TState; + getResult(): TResult | undefined; + isDone(): boolean; + // @deprecated + isStopped(): boolean; + onProgress(callback: (state: TState) => void): CancelOnProgress; + poll(options?: { + abortSignal?: AbortSignalLike; + }): Promise; + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + serialize(): Promise; + // @deprecated + stopPolling(): void; + submitted(): Promise; + // @deprecated + toString(): string; +} + +// @public export interface Snapshot extends TrackedResource { properties?: SnapshotProperties; } -// @public (undocumented) +// @public export interface SnapshotListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface SnapshotOutput extends TrackedResourceOutput { properties?: SnapshotPropertiesOutput; } -// @public (undocumented) +// @public export interface SnapshotProperties { creationData?: CreationData; - enableFIPS?: boolean; - kubernetesVersion?: string; - nodeImageVersion?: string; - osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; - osType?: "Linux" | "Windows"; snapshotType?: "NodePool" | "ManagedCluster"; - vmSize?: string; } -// @public (undocumented) +// @public export interface SnapshotPropertiesOutput { creationData?: CreationDataOutput; - enableFIPS?: boolean; - kubernetesVersion?: string; - nodeImageVersion?: string; - osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; - osType?: "Linux" | "Windows"; + readonly enableFIPS?: boolean; + readonly kubernetesVersion?: string; + readonly nodeImageVersion?: string; + readonly osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; + readonly osType?: "Linux" | "Windows"; snapshotType?: "NodePool" | "ManagedCluster"; - vmSize?: string; + readonly vmSize?: string; } // @public @@ -3001,7 +2952,7 @@ export interface SnapshotsCreateOrUpdateBodyParam { } // @public -export interface SnapshotsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface SnapshotsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3018,22 +2969,18 @@ export type SnapshotsCreateOrUpdateParameters = SnapshotsCreateOrUpdateMediaType // @public export interface SnapshotsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface SnapshotsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface SnapshotsDeletedefaultResponse extends HttpResponse { +export interface SnapshotsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3045,10 +2992,10 @@ export type SnapshotsDeleteParameters = RequestParameters; // @public (undocumented) export interface SnapshotsGet { - delete(options?: SnapshotsDeleteParameters): StreamableMethod; - get(options?: SnapshotsGetParameters): StreamableMethod; - patch(options: SnapshotsUpdateTagsParameters): StreamableMethod; - put(options: SnapshotsCreateOrUpdateParameters): StreamableMethod; + delete(options?: SnapshotsDeleteParameters): StreamableMethod; + get(options?: SnapshotsGetParameters): StreamableMethod; + patch(options: SnapshotsUpdateTagsParameters): StreamableMethod; + put(options: SnapshotsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -3060,7 +3007,7 @@ export interface SnapshotsGet200Response extends HttpResponse { } // @public -export interface SnapshotsGetdefaultResponse extends HttpResponse { +export interface SnapshotsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3072,7 +3019,7 @@ export type SnapshotsGetParameters = RequestParameters; // @public (undocumented) export interface SnapshotsList { - get(options?: SnapshotsListParameters): StreamableMethod; + get(options?: SnapshotsListParameters): StreamableMethod; } // @public @@ -3085,7 +3032,7 @@ export interface SnapshotsList200Response extends HttpResponse { // @public (undocumented) export interface SnapshotsListByResourceGroup { - get(options?: SnapshotsListByResourceGroupParameters): StreamableMethod; + get(options?: SnapshotsListByResourceGroupParameters): StreamableMethod; } // @public @@ -3097,7 +3044,7 @@ export interface SnapshotsListByResourceGroup200Response extends HttpResponse { } // @public -export interface SnapshotsListByResourceGroupdefaultResponse extends HttpResponse { +export interface SnapshotsListByResourceGroupDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3108,7 +3055,7 @@ export interface SnapshotsListByResourceGroupdefaultResponse extends HttpRespons export type SnapshotsListByResourceGroupParameters = RequestParameters; // @public -export interface SnapshotsListdefaultResponse extends HttpResponse { +export interface SnapshotsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3132,7 +3079,7 @@ export interface SnapshotsUpdateTagsBodyParam { } // @public -export interface SnapshotsUpdateTagsdefaultResponse extends HttpResponse { +export interface SnapshotsUpdateTagsDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3147,21 +3094,18 @@ export interface SnapshotsUpdateTagsMediaTypesParam { // @public (undocumented) export type SnapshotsUpdateTagsParameters = SnapshotsUpdateTagsMediaTypesParam & SnapshotsUpdateTagsBodyParam & RequestParameters; -// @public (undocumented) +// @public export interface SubResource { - id?: string; - name?: string; - type?: string; } -// @public (undocumented) +// @public export interface SubResourceOutput { - id?: string; - name?: string; - type?: string; + readonly id?: string; + readonly name?: string; + readonly type?: string; } -// @public (undocumented) +// @public export interface SysctlConfig { fsAioMaxNr?: number; fsFileMax?: number; @@ -3193,7 +3137,7 @@ export interface SysctlConfig { vmVfsCachePressure?: number; } -// @public (undocumented) +// @public export interface SysctlConfigOutput { fsAioMaxNr?: number; fsFileMax?: number; @@ -3225,7 +3169,7 @@ export interface SysctlConfigOutput { vmVfsCachePressure?: number; } -// @public (undocumented) +// @public export interface SystemData { createdAt?: Date | string; createdBy?: string; @@ -3235,7 +3179,7 @@ export interface SystemData { lastModifiedByType?: "User" | "Application" | "ManagedIdentity" | "Key"; } -// @public (undocumented) +// @public export interface SystemDataOutput { createdAt?: string; createdBy?: string; @@ -3245,73 +3189,72 @@ export interface SystemDataOutput { lastModifiedByType?: "User" | "Application" | "ManagedIdentity" | "Key"; } -// @public (undocumented) +// @public export interface TagsObject { tags?: Record; } -// @public (undocumented) +// @public export interface TimeInWeek { day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; hourSlots?: Array; } -// @public (undocumented) +// @public export interface TimeInWeekOutput { day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; hourSlots?: Array; } -// @public (undocumented) +// @public export interface TimeSpan { end?: Date | string; start?: Date | string; } -// @public (undocumented) +// @public export interface TimeSpanOutput { end?: string; start?: string; } -// @public (undocumented) +// @public export interface TrackedResource extends Resource { location: string; tags?: Record; } -// @public (undocumented) +// @public export interface TrackedResourceOutput extends ResourceOutput { location: string; tags?: Record; } -// @public (undocumented) +// @public export interface TrustedAccessRoleBinding extends Resource { properties: TrustedAccessRoleBindingProperties; } -// @public (undocumented) +// @public export interface TrustedAccessRoleBindingListResultOutput { - nextLink?: string; + readonly nextLink?: string; value?: Array; } -// @public (undocumented) +// @public export interface TrustedAccessRoleBindingOutput extends ResourceOutput { properties: TrustedAccessRoleBindingPropertiesOutput; } -// @public (undocumented) +// @public export interface TrustedAccessRoleBindingProperties { - provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; roles: Array; sourceResourceId: string; } -// @public (undocumented) +// @public export interface TrustedAccessRoleBindingPropertiesOutput { - provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; roles: Array; sourceResourceId: string; } @@ -3330,7 +3273,7 @@ export interface TrustedAccessRoleBindingsCreateOrUpdateBodyParam { } // @public -export interface TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3347,22 +3290,18 @@ export type TrustedAccessRoleBindingsCreateOrUpdateParameters = TrustedAccessRol // @public export interface TrustedAccessRoleBindingsDelete200Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "200"; } // @public export interface TrustedAccessRoleBindingsDelete204Response extends HttpResponse { - // (undocumented) - body: Record; // (undocumented) status: "204"; } // @public -export interface TrustedAccessRoleBindingsDeletedefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsDeleteDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3374,9 +3313,9 @@ export type TrustedAccessRoleBindingsDeleteParameters = RequestParameters; // @public (undocumented) export interface TrustedAccessRoleBindingsGet { - delete(options?: TrustedAccessRoleBindingsDeleteParameters): StreamableMethod; - get(options?: TrustedAccessRoleBindingsGetParameters): StreamableMethod; - put(options: TrustedAccessRoleBindingsCreateOrUpdateParameters): StreamableMethod; + delete(options?: TrustedAccessRoleBindingsDeleteParameters): StreamableMethod; + get(options?: TrustedAccessRoleBindingsGetParameters): StreamableMethod; + put(options: TrustedAccessRoleBindingsCreateOrUpdateParameters): StreamableMethod; } // @public @@ -3388,7 +3327,7 @@ export interface TrustedAccessRoleBindingsGet200Response extends HttpResponse { } // @public -export interface TrustedAccessRoleBindingsGetdefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsGetDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3400,7 +3339,7 @@ export type TrustedAccessRoleBindingsGetParameters = RequestParameters; // @public (undocumented) export interface TrustedAccessRoleBindingsList { - get(options?: TrustedAccessRoleBindingsListParameters): StreamableMethod; + get(options?: TrustedAccessRoleBindingsListParameters): StreamableMethod; } // @public @@ -3412,7 +3351,7 @@ export interface TrustedAccessRoleBindingsList200Response extends HttpResponse { } // @public -export interface TrustedAccessRoleBindingsListdefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3422,31 +3361,31 @@ export interface TrustedAccessRoleBindingsListdefaultResponse extends HttpRespon // @public (undocumented) export type TrustedAccessRoleBindingsListParameters = RequestParameters; -// @public (undocumented) +// @public export interface TrustedAccessRoleListResultOutput { - nextLink?: string; - value?: Array; + readonly nextLink?: string; + readonly value?: Array; } -// @public (undocumented) +// @public export interface TrustedAccessRoleOutput { - name?: string; - rules?: Array; - sourceResourceType?: string; + readonly name?: string; + readonly rules?: Array; + readonly sourceResourceType?: string; } -// @public (undocumented) +// @public export interface TrustedAccessRoleRuleOutput { - apiGroups?: Array; - nonResourceURLs?: Array; - resourceNames?: Array; - resources?: Array; - verbs?: Array; + readonly apiGroups?: Array; + readonly nonResourceURLs?: Array; + readonly resourceNames?: Array; + readonly resources?: Array; + readonly verbs?: Array; } // @public (undocumented) export interface TrustedAccessRolesList { - get(options?: TrustedAccessRolesListParameters): StreamableMethod; + get(options?: TrustedAccessRolesListParameters): StreamableMethod; } // @public @@ -3458,7 +3397,7 @@ export interface TrustedAccessRolesList200Response extends HttpResponse { } // @public -export interface TrustedAccessRolesListdefaultResponse extends HttpResponse { +export interface TrustedAccessRolesListDefaultResponse extends HttpResponse { // (undocumented) body: CloudErrorOutput; // (undocumented) @@ -3468,28 +3407,28 @@ export interface TrustedAccessRolesListdefaultResponse extends HttpResponse { // @public (undocumented) export type TrustedAccessRolesListParameters = RequestParameters; -// @public (undocumented) +// @public export interface UserAssignedIdentity { clientId?: string; objectId?: string; resourceId?: string; } -// @public (undocumented) +// @public export interface UserAssignedIdentityOutput { clientId?: string; objectId?: string; resourceId?: string; } -// @public (undocumented) +// @public export interface WindowsGmsaProfile { dnsServer?: string; enabled?: boolean; rootDomainName?: string; } -// @public (undocumented) +// @public export interface WindowsGmsaProfileOutput { dnsServer?: string; enabled?: boolean; diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersCreateOrUpdateSample.ts index a789923e32f0..e520536ff9b0 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersCreateOrUpdateSample.ts @@ -79,7 +79,7 @@ async function associateManagedClusterWithCapacityReservationGroup() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -138,7 +138,7 @@ async function createManagedClusterUsingAManagedClusterSnapshot() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -213,7 +213,7 @@ async function createManagedClusterUsingAnAgentPoolSnapshot() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -282,7 +282,7 @@ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -352,7 +352,7 @@ async function createManagedClusterWithCustomCaTrustEnabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -423,7 +423,7 @@ async function createManagedClusterWithDedicatedHostGroup() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -493,7 +493,7 @@ async function createManagedClusterWithEncryptionAtHostEnabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -564,7 +564,7 @@ async function createManagedClusterWithFipsEnabledOS() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -640,7 +640,7 @@ async function createManagedClusterWithGpumig() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -716,7 +716,7 @@ async function createManagedClusterWithHttpProxyConfigured() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -788,7 +788,7 @@ async function createManagedClusterWithNodePublicIPPrefix() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -865,7 +865,7 @@ async function createManagedClusterWithOssku() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -936,7 +936,7 @@ async function createManagedClusterWithPpg() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1007,7 +1007,7 @@ async function createManagedClusterWithPodIdentityEnabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1077,7 +1077,7 @@ async function createManagedClusterWithRunCommandDisabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1142,7 +1142,7 @@ async function createManagedClusterWithSecurityProfileConfigured() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1213,7 +1213,7 @@ async function createManagedClusterWithUltraSsdEnabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1280,7 +1280,7 @@ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1349,7 +1349,7 @@ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1422,7 +1422,7 @@ async function createManagedPrivateClusterWithPublicFqdnSpecified() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1496,7 +1496,7 @@ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1567,7 +1567,7 @@ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1653,7 +1653,7 @@ async function createOrUpdateManagedCluster() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1733,7 +1733,7 @@ async function createOrUpdateManagedClusterWithEnableAhub() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1805,7 +1805,7 @@ async function createOrUpdateManagedClusterWithEnableNamespaceResources() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1883,7 +1883,7 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1970,7 +1970,7 @@ async function createOrUpdateManagedClusterWithDualStackNetworking() { resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetAadProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetAadProfileSample.ts index d2f185a8e1f0..c9d31166dc7a 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetAadProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetAadProfileSample.ts @@ -43,7 +43,7 @@ async function resetAadProfile() { resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetServicePrincipalProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetServicePrincipalProfileSample.ts index 47503daa34ca..4ab822ccddaa 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetServicePrincipalProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersResetServicePrincipalProfileSample.ts @@ -40,7 +40,7 @@ async function resetServicePrincipalProfile() { resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateClusterCertificatesSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateClusterCertificatesSample.ts index 5462e1152136..a90625c4bf66 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateClusterCertificatesSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateClusterCertificatesSample.ts @@ -33,7 +33,7 @@ async function rotateClusterCertificates() { resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts index dd0611c06f06..20ac89bb5807 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts @@ -33,7 +33,7 @@ async function rotateClusterServiceAccountSigningKeys() { resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRunCommandSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRunCommandSample.ts index 3d8b0f9527e5..9b07ec9785b6 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRunCommandSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersRunCommandSample.ts @@ -41,7 +41,7 @@ async function submitNewCommand() { resourceName, ) .post(requestPayload); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStartSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStartSample.ts index 583db6b877ce..5bc4155eec33 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStartSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStartSample.ts @@ -33,7 +33,7 @@ async function startManagedCluster() { resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStopSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStopSample.ts index ff3db540a929..f45cd16a78c6 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStopSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersStopSample.ts @@ -33,7 +33,7 @@ async function stopManagedCluster() { resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersUpdateTagsSample.ts index 1c9500e5a253..2c8ca00c791f 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersUpdateTagsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples-dev/managedClustersUpdateTagsSample.ts @@ -39,7 +39,7 @@ async function updateManagedClusterTags() { resourceName, ) .patch(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md index a50f72c87932..96e3063927df 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/README.md @@ -2,29 +2,29 @@ These sample programs show how to use the JavaScript client libraries for Azure AKS rest in some common scenarios. -| **File Name** | **Description** | -| --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [managedClustersCreateOrUpdateSample.js][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersAssociate_CRG.json | -| [managedClustersDeleteSample.js][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersDelete.json | -| [managedClustersGetAccessProfileSample.js][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://learn.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://learn.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetAccessProfile.json | -| [managedClustersGetCommandResultSample.js][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandResultFailed.json | -| [managedClustersGetOSOptionsSample.js][managedclustersgetosoptionssample] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ContainerServiceGetOSOptions.json | -| [managedClustersGetSample.js][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGet.json | -| [managedClustersGetUpgradeProfileSample.js][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetUpgradeProfile.json | -| [managedClustersListByResourceGroupSample.js][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListByResourceGroup.json | -| [managedClustersListClusterAdminCredentialsSample.js][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListClusterMonitoringUserCredentialsSample.js][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListClusterUserCredentialsSample.js][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListOutboundNetworkDependenciesEndpointsSample.js][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json | -| [managedClustersListSample.js][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersList.json | -| [managedClustersResetAadProfileSample.js][managedclustersresetaadprofilesample] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetAADProfile.json | -| [managedClustersResetServicePrincipalProfileSample.js][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json | -| [managedClustersRotateClusterCertificatesSample.js][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://learn.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateClusterCertificates.json | -| [managedClustersRotateServiceAccountSigningKeysSample.js][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json | -| [managedClustersRunCommandSample.js][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://learn.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandRequest.json | -| [managedClustersStartSample.js][managedclustersstartsample] | See [starting a cluster](https://learn.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStart.json | -| [managedClustersStopSample.js][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://learn.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStop.json | -| [managedClustersUpdateTagsSample.js][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersUpdateTags.json | +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [managedClustersCreateOrUpdateSample.js][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersAssociate_CRG.json | +| [managedClustersDeleteSample.js][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersDelete.json | +| [managedClustersGetAccessProfileSample.js][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetAccessProfile.json | +| [managedClustersGetCommandResultSample.js][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandResultFailed.json | +| [managedClustersGetOSOptionsSample.js][managedclustersgetosoptionssample] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ContainerServiceGetOSOptions.json | +| [managedClustersGetSample.js][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGet.json | +| [managedClustersGetUpgradeProfileSample.js][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetUpgradeProfile.json | +| [managedClustersListByResourceGroupSample.js][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListByResourceGroup.json | +| [managedClustersListClusterAdminCredentialsSample.js][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterMonitoringUserCredentialsSample.js][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterUserCredentialsSample.js][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListOutboundNetworkDependenciesEndpointsSample.js][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json | +| [managedClustersListSample.js][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersList.json | +| [managedClustersResetAadProfileSample.js][managedclustersresetaadprofilesample] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetAADProfile.json | +| [managedClustersResetServicePrincipalProfileSample.js][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json | +| [managedClustersRotateClusterCertificatesSample.js][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateClusterCertificates.json | +| [managedClustersRotateServiceAccountSigningKeysSample.js][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json | +| [managedClustersRunCommandSample.js][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandRequest.json | +| [managedClustersStartSample.js][managedclustersstartsample] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStart.json | +| [managedClustersStopSample.js][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStop.json | +| [managedClustersUpdateTagsSample.js][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersUpdateTags.json | ## Prerequisites diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersCreateOrUpdateSample.js index b42683ff9012..1e441839e483 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersCreateOrUpdateSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersCreateOrUpdateSample.js @@ -73,10 +73,10 @@ async function associateManagedClusterWithCapacityReservationGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -132,10 +132,10 @@ async function createManagedClusterUsingAManagedClusterSnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -207,10 +207,10 @@ async function createManagedClusterUsingAnAgentPoolSnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -276,10 +276,10 @@ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -346,10 +346,10 @@ async function createManagedClusterWithCustomCaTrustEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -417,10 +417,10 @@ async function createManagedClusterWithDedicatedHostGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -487,10 +487,10 @@ async function createManagedClusterWithEncryptionAtHostEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -558,10 +558,10 @@ async function createManagedClusterWithFipsEnabledOS() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -634,10 +634,10 @@ async function createManagedClusterWithGpumig() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -710,10 +710,10 @@ async function createManagedClusterWithHttpProxyConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -782,10 +782,10 @@ async function createManagedClusterWithNodePublicIPPrefix() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -859,10 +859,10 @@ async function createManagedClusterWithOssku() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -930,10 +930,10 @@ async function createManagedClusterWithPpg() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1001,10 +1001,10 @@ async function createManagedClusterWithPodIdentityEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1071,10 +1071,10 @@ async function createManagedClusterWithRunCommandDisabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1136,10 +1136,10 @@ async function createManagedClusterWithSecurityProfileConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1207,10 +1207,10 @@ async function createManagedClusterWithUltraSsdEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1274,10 +1274,10 @@ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1343,10 +1343,10 @@ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1416,10 +1416,10 @@ async function createManagedPrivateClusterWithPublicFqdnSpecified() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1490,10 +1490,10 @@ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1561,10 +1561,10 @@ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1647,10 +1647,10 @@ async function createOrUpdateManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1727,10 +1727,10 @@ async function createOrUpdateManagedClusterWithEnableAhub() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1799,10 +1799,10 @@ async function createOrUpdateManagedClusterWithEnableNamespaceResources() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1877,10 +1877,10 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1964,10 +1964,10 @@ async function createOrUpdateManagedClusterWithDualStackNetworking() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersDeleteSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersDeleteSample.js index 3ef9bd5d38d5..8a9e96f38be3 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersDeleteSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersDeleteSample.js @@ -28,7 +28,7 @@ async function deleteManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .delete(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetAccessProfileSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetAccessProfileSample.js index 287e3354c147..57bed73475c5 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetAccessProfileSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetAccessProfileSample.js @@ -30,7 +30,7 @@ async function getManagedCluster() { subscriptionId, resourceGroupName, resourceName, - roleName + roleName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetCommandResultSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetCommandResultSample.js index 8076b185ae5d..8b16508a97f4 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetCommandResultSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetCommandResultSample.js @@ -30,7 +30,7 @@ async function commandFailedResult() { subscriptionId, resourceGroupName, resourceName, - commandId + commandId, ) .get(); console.log(result); @@ -57,7 +57,7 @@ async function commandSucceedResult() { subscriptionId, resourceGroupName, resourceName, - commandId + commandId, ) .get(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetOSOptionsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetOSOptionsSample.js index eec194a1970a..122628b7465a 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetOSOptionsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetOSOptionsSample.js @@ -25,7 +25,7 @@ async function getContainerServiceOSOptions() { const result = await client.path( "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default", subscriptionId, - location + location, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetSample.js index ab1e98549c4b..c71bc708e98d 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetSample.js @@ -27,7 +27,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetUpgradeProfileSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetUpgradeProfileSample.js index 0edf4695cdee..e425b8018101 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetUpgradeProfileSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersGetUpgradeProfileSample.js @@ -27,7 +27,7 @@ async function getUpgradeProfileForManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default", subscriptionId, resourceGroupName, - resourceName + resourceName, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListByResourceGroupSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListByResourceGroupSample.js index 7e4152a95d15..96edc98d3fda 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListByResourceGroupSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListByResourceGroupSample.js @@ -27,7 +27,7 @@ async function getManagedClustersByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterAdminCredentialsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterAdminCredentialsSample.js index cff50eddcb38..548cd7e73f90 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterAdminCredentialsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterAdminCredentialsSample.js @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js index 3ec6f4c1b627..b314a8a8069f 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterUserCredentialsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterUserCredentialsSample.js index 3fe48c1e72f2..dee3b6ef21bd 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterUserCredentialsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListClusterUserCredentialsSample.js @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js index c58d9f486927..8632e9d2acce 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js @@ -29,7 +29,7 @@ async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListSample.js index fd91280eb81d..c45fcfaee78d 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersListSample.js @@ -25,7 +25,7 @@ async function listManagedClusters() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters", - subscriptionId + subscriptionId, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetAadProfileSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetAadProfileSample.js index e25d54ec4813..599ce04b71b1 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetAadProfileSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetAadProfileSample.js @@ -38,10 +38,10 @@ async function resetAadProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetServicePrincipalProfileSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetServicePrincipalProfileSample.js index a2b34093aad5..a83f7ec6cf21 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetServicePrincipalProfileSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersResetServicePrincipalProfileSample.js @@ -35,10 +35,10 @@ async function resetServicePrincipalProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateClusterCertificatesSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateClusterCertificatesSample.js index 17e05884b3d1..22c770573876 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateClusterCertificatesSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateClusterCertificatesSample.js @@ -29,10 +29,10 @@ async function rotateClusterCertificates() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js index 193c59151d5d..ea92646b63bf 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js @@ -29,10 +29,10 @@ async function rotateClusterServiceAccountSigningKeys() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRunCommandSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRunCommandSample.js index 088031ed8886..1138044f45eb 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRunCommandSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersRunCommandSample.js @@ -36,10 +36,10 @@ async function submitNewCommand() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(requestPayload); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStartSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStartSample.js index bce7a5f24c7e..3d7a2a4542e4 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStartSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStartSample.js @@ -29,10 +29,10 @@ async function startManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStopSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStopSample.js index 8e6b22f991ae..4ac84f686817 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStopSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersStopSample.js @@ -29,10 +29,10 @@ async function stopManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersUpdateTagsSample.js b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersUpdateTagsSample.js index db47e945b778..83a4b2fd3fb0 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersUpdateTagsSample.js +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/managedClustersUpdateTagsSample.js @@ -34,10 +34,10 @@ async function updateManagedClusterTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .patch(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/package.json b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/package.json index e76971a0c83c..f0cd01bda3e1 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/package.json +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/javascript/package.json @@ -28,6 +28,6 @@ "dependencies": { "@azure-rest/arm-containerservice": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" } } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md index c5914ac96ff9..e34a363fd203 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/README.md @@ -2,29 +2,29 @@ These sample programs show how to use the TypeScript client libraries for Azure AKS rest in some common scenarios. -| **File Name** | **Description** | -| --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [managedClustersCreateOrUpdateSample.ts][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersAssociate_CRG.json | -| [managedClustersDeleteSample.ts][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersDelete.json | -| [managedClustersGetAccessProfileSample.ts][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://learn.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://learn.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetAccessProfile.json | -| [managedClustersGetCommandResultSample.ts][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandResultFailed.json | -| [managedClustersGetOSOptionsSample.ts][managedclustersgetosoptionssample] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ContainerServiceGetOSOptions.json | -| [managedClustersGetSample.ts][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGet.json | -| [managedClustersGetUpgradeProfileSample.ts][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetUpgradeProfile.json | -| [managedClustersListByResourceGroupSample.ts][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListByResourceGroup.json | -| [managedClustersListClusterAdminCredentialsSample.ts][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListClusterMonitoringUserCredentialsSample.ts][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListClusterUserCredentialsSample.ts][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | -| [managedClustersListOutboundNetworkDependenciesEndpointsSample.ts][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json | -| [managedClustersListSample.ts][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersList.json | -| [managedClustersResetAadProfileSample.ts][managedclustersresetaadprofilesample] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetAADProfile.json | -| [managedClustersResetServicePrincipalProfileSample.ts][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json | -| [managedClustersRotateClusterCertificatesSample.ts][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://learn.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateClusterCertificates.json | -| [managedClustersRotateServiceAccountSigningKeysSample.ts][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json | -| [managedClustersRunCommandSample.ts][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://learn.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandRequest.json | -| [managedClustersStartSample.ts][managedclustersstartsample] | See [starting a cluster](https://learn.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStart.json | -| [managedClustersStopSample.ts][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://learn.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStop.json | -| [managedClustersUpdateTagsSample.ts][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersUpdateTags.json | +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [managedClustersCreateOrUpdateSample.ts][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersAssociate_CRG.json | +| [managedClustersDeleteSample.ts][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersDelete.json | +| [managedClustersGetAccessProfileSample.ts][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetAccessProfile.json | +| [managedClustersGetCommandResultSample.ts][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandResultFailed.json | +| [managedClustersGetOSOptionsSample.ts][managedclustersgetosoptionssample] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ContainerServiceGetOSOptions.json | +| [managedClustersGetSample.ts][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGet.json | +| [managedClustersGetUpgradeProfileSample.ts][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersGetUpgradeProfile.json | +| [managedClustersListByResourceGroupSample.ts][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListByResourceGroup.json | +| [managedClustersListClusterAdminCredentialsSample.ts][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterMonitoringUserCredentialsSample.ts][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterUserCredentialsSample.ts][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListOutboundNetworkDependenciesEndpointsSample.ts][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json | +| [managedClustersListSample.ts][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersList.json | +| [managedClustersResetAadProfileSample.ts][managedclustersresetaadprofilesample] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetAADProfile.json | +| [managedClustersResetServicePrincipalProfileSample.ts][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json | +| [managedClustersRotateClusterCertificatesSample.ts][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateClusterCertificates.json | +| [managedClustersRotateServiceAccountSigningKeysSample.ts][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json | +| [managedClustersRunCommandSample.ts][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/RunCommandRequest.json | +| [managedClustersStartSample.ts][managedclustersstartsample] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStart.json | +| [managedClustersStopSample.ts][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersStop.json | +| [managedClustersUpdateTagsSample.ts][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-05-02-preview/examples/ManagedClustersUpdateTags.json | ## Prerequisites diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/package.json b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/package.json index a64b7bfc094f..911f4eb22a42 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/package.json +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/package.json @@ -32,11 +32,11 @@ "dependencies": { "@azure-rest/arm-containerservice": "next", "dotenv": "latest", - "@azure/identity": "^4.2.1" + "@azure/identity": "^4.0.1" }, "devDependencies": { "@types/node": "^18.0.0", - "typescript": "~5.7.2", + "typescript": "~5.6.2", "rimraf": "latest" } } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersCreateOrUpdateSample.ts index 82143aa51e74..e520536ff9b0 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersCreateOrUpdateSample.ts @@ -76,10 +76,10 @@ async function associateManagedClusterWithCapacityReservationGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -135,10 +135,10 @@ async function createManagedClusterUsingAManagedClusterSnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -210,10 +210,10 @@ async function createManagedClusterUsingAnAgentPoolSnapshot() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -279,10 +279,10 @@ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -349,10 +349,10 @@ async function createManagedClusterWithCustomCaTrustEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -420,10 +420,10 @@ async function createManagedClusterWithDedicatedHostGroup() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -490,10 +490,10 @@ async function createManagedClusterWithEncryptionAtHostEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -561,10 +561,10 @@ async function createManagedClusterWithFipsEnabledOS() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -637,10 +637,10 @@ async function createManagedClusterWithGpumig() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -713,10 +713,10 @@ async function createManagedClusterWithHttpProxyConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -785,10 +785,10 @@ async function createManagedClusterWithNodePublicIPPrefix() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -862,10 +862,10 @@ async function createManagedClusterWithOssku() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -933,10 +933,10 @@ async function createManagedClusterWithPpg() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1004,10 +1004,10 @@ async function createManagedClusterWithPodIdentityEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1074,10 +1074,10 @@ async function createManagedClusterWithRunCommandDisabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1139,10 +1139,10 @@ async function createManagedClusterWithSecurityProfileConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1210,10 +1210,10 @@ async function createManagedClusterWithUltraSsdEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1277,10 +1277,10 @@ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1346,10 +1346,10 @@ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1419,10 +1419,10 @@ async function createManagedPrivateClusterWithPublicFqdnSpecified() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1493,10 +1493,10 @@ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1564,10 +1564,10 @@ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1635,7 +1635,8 @@ async function createOrUpdateManagedCluster() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, }, }, sku: { name: "Basic", tier: "Free" }, @@ -1649,10 +1650,10 @@ async function createOrUpdateManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1711,7 +1712,8 @@ async function createOrUpdateManagedClusterWithEnableAhub() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, }, }, @@ -1728,10 +1730,10 @@ async function createOrUpdateManagedClusterWithEnableAhub() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1800,10 +1802,10 @@ async function createOrUpdateManagedClusterWithEnableNamespaceResources() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1862,7 +1864,8 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, }, }, location: "location1", @@ -1877,10 +1880,10 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } @@ -1948,7 +1951,8 @@ async function createOrUpdateManagedClusterWithDualStackNetworking() { identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, }, }, location: "location1", @@ -1963,10 +1967,10 @@ async function createOrUpdateManagedClusterWithDualStackNetworking() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .put(parameters); - const poller = getLongRunningPoller(client, initalResponse); + const poller = await getLongRunningPoller(client, initalResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersDeleteSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersDeleteSample.ts index e852d52f88a0..d606fb6c9cb2 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersDeleteSample.ts @@ -30,7 +30,7 @@ async function deleteManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .delete(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetAccessProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetAccessProfileSample.ts index 65220e225fb6..8543904a96a1 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetAccessProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetAccessProfileSample.ts @@ -30,7 +30,7 @@ async function getManagedCluster() { subscriptionId, resourceGroupName, resourceName, - roleName + roleName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetCommandResultSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetCommandResultSample.ts index 9a9ecbbb5411..15dda9e078ea 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetCommandResultSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetCommandResultSample.ts @@ -30,7 +30,7 @@ async function commandFailedResult() { subscriptionId, resourceGroupName, resourceName, - commandId + commandId, ) .get(); console.log(result); @@ -57,7 +57,7 @@ async function commandSucceedResult() { subscriptionId, resourceGroupName, resourceName, - commandId + commandId, ) .get(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetOSOptionsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetOSOptionsSample.ts index ef89073eb8d5..db0e498f5325 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetOSOptionsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetOSOptionsSample.ts @@ -25,7 +25,7 @@ async function getContainerServiceOSOptions() { const result = await client.path( "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default", subscriptionId, - location + location, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetSample.ts index 2911c2087756..e8310b8e7f1e 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetSample.ts @@ -27,7 +27,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts index 1215dbed2f56..3dd13659dc01 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts @@ -27,7 +27,7 @@ async function getUpgradeProfileForManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default", subscriptionId, resourceGroupName, - resourceName + resourceName, ); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListByResourceGroupSample.ts index 27310b553357..eef1fc081141 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListByResourceGroupSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListByResourceGroupSample.ts @@ -26,7 +26,7 @@ async function getManagedClustersByResourceGroup() { .path( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters", subscriptionId, - resourceGroupName + resourceGroupName, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts index f8d3a8c20c9d..3baec6f5310e 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts index 28607d00909f..c4e0d0abaf62 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts index 5483c2d1422c..17871d5e64b3 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts @@ -28,7 +28,7 @@ async function getManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); console.log(result); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts index fcc9ceded55d..145c4d55513b 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts @@ -28,7 +28,7 @@ async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListSample.ts index 49a2a91b33bd..a412d2e158b4 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersListSample.ts @@ -24,7 +24,7 @@ async function listManagedClusters() { const initialResponse = await client .path( "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters", - subscriptionId + subscriptionId, ) .get(); const result = paginate(client, initialResponse); diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetAadProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetAadProfileSample.ts index c700b2a1c1ac..c9d31166dc7a 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetAadProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetAadProfileSample.ts @@ -40,10 +40,10 @@ async function resetAadProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts index e691b043b163..4ab822ccddaa 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts @@ -37,10 +37,10 @@ async function resetServicePrincipalProfile() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts index 4c919166149c..a90625c4bf66 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts @@ -30,10 +30,10 @@ async function rotateClusterCertificates() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts index da72f21f64b3..20ac89bb5807 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts @@ -30,10 +30,10 @@ async function rotateClusterServiceAccountSigningKeys() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRunCommandSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRunCommandSample.ts index b1f5f02ed13d..9b07ec9785b6 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRunCommandSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersRunCommandSample.ts @@ -38,10 +38,10 @@ async function submitNewCommand() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(requestPayload); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStartSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStartSample.ts index 5aa91e71fe91..5bc4155eec33 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStartSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStartSample.ts @@ -30,10 +30,10 @@ async function startManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStopSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStopSample.ts index 06627cea9649..f45cd16a78c6 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStopSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersStopSample.ts @@ -30,10 +30,10 @@ async function stopManagedCluster() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .post(); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = await poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersUpdateTagsSample.ts index 9d194b5c5f17..2c8ca00c791f 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersUpdateTagsSample.ts +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/src/managedClustersUpdateTagsSample.ts @@ -36,10 +36,10 @@ async function updateManagedClusterTags() { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}", subscriptionId, resourceGroupName, - resourceName + resourceName, ) .patch(parameters); - const poller = getLongRunningPoller(client, initialResponse); + const poller = await getLongRunningPoller(client, initialResponse); const result = poller.pollUntilDone(); console.log(result); } diff --git a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/tsconfig.json b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/tsconfig.json index ad5ff9a19d36..984eed535aa8 100644 --- a/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/tsconfig.json +++ b/sdk/containerservice/arm-containerservice-rest/samples/v1-beta/typescript/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2018", + "target": "ES2020", "module": "commonjs", "moduleResolution": "node", "resolveJsonModule": true, diff --git a/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts b/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts index 9d999c903da4..bd92f7286b7d 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/clientDefinitions.ts @@ -2,203 +2,203 @@ // Licensed under the MIT License. import type { - AgentPoolsCreateOrUpdateParameters, - AgentPoolsDeleteParameters, - AgentPoolsGetAvailableAgentPoolVersionsParameters, - AgentPoolsGetParameters, - AgentPoolsGetUpgradeProfileParameters, - AgentPoolsListParameters, - AgentPoolsUpgradeNodeImageVersionParameters, - MaintenanceConfigurationsCreateOrUpdateParameters, - MaintenanceConfigurationsDeleteParameters, - MaintenanceConfigurationsGetParameters, - MaintenanceConfigurationsListByManagedClusterParameters, - ManagedClusterSnapshotsCreateOrUpdateParameters, - ManagedClusterSnapshotsDeleteParameters, - ManagedClusterSnapshotsGetParameters, - ManagedClusterSnapshotsListByResourceGroupParameters, - ManagedClusterSnapshotsListParameters, - ManagedClusterSnapshotsUpdateTagsParameters, - ManagedClustersCreateOrUpdateParameters, - ManagedClustersDeleteParameters, - ManagedClustersGetAccessProfileParameters, - ManagedClustersGetCommandResultParameters, + OperationsListParameters, ManagedClustersGetOSOptionsParameters, - ManagedClustersGetParameters, - ManagedClustersGetUpgradeProfileParameters, + ManagedClustersListParameters, ManagedClustersListByResourceGroupParameters, + ManagedClustersGetUpgradeProfileParameters, + ManagedClustersGetAccessProfileParameters, ManagedClustersListClusterAdminCredentialsParameters, - ManagedClustersListClusterMonitoringUserCredentialsParameters, ManagedClustersListClusterUserCredentialsParameters, - ManagedClustersListOutboundNetworkDependenciesEndpointsParameters, - ManagedClustersListParameters, - ManagedClustersResetAADProfileParameters, + ManagedClustersListClusterMonitoringUserCredentialsParameters, + ManagedClustersGetParameters, + ManagedClustersCreateOrUpdateParameters, + ManagedClustersUpdateTagsParameters, + ManagedClustersDeleteParameters, ManagedClustersResetServicePrincipalProfileParameters, + ManagedClustersResetAADProfileParameters, ManagedClustersRotateClusterCertificatesParameters, ManagedClustersRotateServiceAccountSigningKeysParameters, - ManagedClustersRunCommandParameters, - ManagedClustersStartParameters, ManagedClustersStopParameters, - ManagedClustersUpdateTagsParameters, - OperationsListParameters, - PrivateEndpointConnectionsDeleteParameters, - PrivateEndpointConnectionsGetParameters, + ManagedClustersStartParameters, + ManagedClustersRunCommandParameters, + ManagedClustersGetCommandResultParameters, + ManagedClustersListOutboundNetworkDependenciesEndpointsParameters, + MaintenanceConfigurationsListByManagedClusterParameters, + MaintenanceConfigurationsGetParameters, + MaintenanceConfigurationsCreateOrUpdateParameters, + MaintenanceConfigurationsDeleteParameters, + AgentPoolsListParameters, + AgentPoolsGetParameters, + AgentPoolsCreateOrUpdateParameters, + AgentPoolsDeleteParameters, + AgentPoolsGetUpgradeProfileParameters, + AgentPoolsGetAvailableAgentPoolVersionsParameters, + AgentPoolsUpgradeNodeImageVersionParameters, PrivateEndpointConnectionsListParameters, + PrivateEndpointConnectionsGetParameters, PrivateEndpointConnectionsUpdateParameters, + PrivateEndpointConnectionsDeleteParameters, PrivateLinkResourcesListParameters, ResolvePrivateLinkServiceIdPostParameters, - SnapshotsCreateOrUpdateParameters, - SnapshotsDeleteParameters, - SnapshotsGetParameters, - SnapshotsListByResourceGroupParameters, SnapshotsListParameters, + SnapshotsListByResourceGroupParameters, + SnapshotsGetParameters, + SnapshotsCreateOrUpdateParameters, SnapshotsUpdateTagsParameters, + SnapshotsDeleteParameters, + ManagedClusterSnapshotsListParameters, + ManagedClusterSnapshotsListByResourceGroupParameters, + ManagedClusterSnapshotsGetParameters, + ManagedClusterSnapshotsCreateOrUpdateParameters, + ManagedClusterSnapshotsUpdateTagsParameters, + ManagedClusterSnapshotsDeleteParameters, + TrustedAccessRolesListParameters, + TrustedAccessRoleBindingsListParameters, + TrustedAccessRoleBindingsGetParameters, TrustedAccessRoleBindingsCreateOrUpdateParameters, TrustedAccessRoleBindingsDeleteParameters, - TrustedAccessRoleBindingsGetParameters, - TrustedAccessRoleBindingsListParameters, - TrustedAccessRolesListParameters, -} from "./parameters"; +} from "./parameters.js"; import type { - AgentPoolsCreateOrUpdate200Response, - AgentPoolsCreateOrUpdate201Response, - AgentPoolsCreateOrUpdatedefaultResponse, - AgentPoolsDelete202Response, - AgentPoolsDelete204Response, - AgentPoolsDeletedefaultResponse, - AgentPoolsGet200Response, - AgentPoolsGetAvailableAgentPoolVersions200Response, - AgentPoolsGetUpgradeProfile200Response, - AgentPoolsGetUpgradeProfiledefaultResponse, - AgentPoolsGetdefaultResponse, - AgentPoolsList200Response, - AgentPoolsListdefaultResponse, - AgentPoolsUpgradeNodeImageVersion200Response, - AgentPoolsUpgradeNodeImageVersion202Response, - AgentPoolsUpgradeNodeImageVersiondefaultResponse, - MaintenanceConfigurationsCreateOrUpdate200Response, - MaintenanceConfigurationsCreateOrUpdatedefaultResponse, - MaintenanceConfigurationsDelete200Response, - MaintenanceConfigurationsDelete204Response, - MaintenanceConfigurationsDeletedefaultResponse, - MaintenanceConfigurationsGet200Response, - MaintenanceConfigurationsGetdefaultResponse, - MaintenanceConfigurationsListByManagedCluster200Response, - MaintenanceConfigurationsListByManagedClusterdefaultResponse, - ManagedClusterSnapshotsCreateOrUpdate200Response, - ManagedClusterSnapshotsCreateOrUpdate201Response, - ManagedClusterSnapshotsCreateOrUpdatedefaultResponse, - ManagedClusterSnapshotsDelete200Response, - ManagedClusterSnapshotsDelete204Response, - ManagedClusterSnapshotsDeletedefaultResponse, - ManagedClusterSnapshotsGet200Response, - ManagedClusterSnapshotsGetdefaultResponse, - ManagedClusterSnapshotsList200Response, - ManagedClusterSnapshotsListByResourceGroup200Response, - ManagedClusterSnapshotsListByResourceGroupdefaultResponse, - ManagedClusterSnapshotsListdefaultResponse, - ManagedClusterSnapshotsUpdateTags200Response, - ManagedClusterSnapshotsUpdateTagsdefaultResponse, - ManagedClustersCreateOrUpdate200Response, - ManagedClustersCreateOrUpdate201Response, - ManagedClustersCreateOrUpdatedefaultResponse, - ManagedClustersDelete202Response, - ManagedClustersDelete204Response, - ManagedClustersDeletedefaultResponse, - ManagedClustersGet200Response, - ManagedClustersGetAccessProfile200Response, - ManagedClustersGetAccessProfiledefaultResponse, - ManagedClustersGetCommandResult200Response, - ManagedClustersGetCommandResult202Response, - ManagedClustersGetCommandResultdefaultResponse, + OperationsList200Response, + OperationsListDefaultResponse, ManagedClustersGetOSOptions200Response, - ManagedClustersGetOSOptionsdefaultResponse, - ManagedClustersGetUpgradeProfile200Response, - ManagedClustersGetUpgradeProfiledefaultResponse, - ManagedClustersGetdefaultResponse, + ManagedClustersGetOSOptionsDefaultResponse, ManagedClustersList200Response, + ManagedClustersListDefaultResponse, ManagedClustersListByResourceGroup200Response, - ManagedClustersListByResourceGroupdefaultResponse, + ManagedClustersListByResourceGroupDefaultResponse, + ManagedClustersGetUpgradeProfile200Response, + ManagedClustersGetUpgradeProfileDefaultResponse, + ManagedClustersGetAccessProfile200Response, + ManagedClustersGetAccessProfileDefaultResponse, ManagedClustersListClusterAdminCredentials200Response, - ManagedClustersListClusterAdminCredentialsdefaultResponse, - ManagedClustersListClusterMonitoringUserCredentials200Response, - ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse, + ManagedClustersListClusterAdminCredentialsDefaultResponse, ManagedClustersListClusterUserCredentials200Response, - ManagedClustersListClusterUserCredentialsdefaultResponse, - ManagedClustersListOutboundNetworkDependenciesEndpoints200Response, - ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse, - ManagedClustersListdefaultResponse, - ManagedClustersResetAADProfile200Response, - ManagedClustersResetAADProfile202Response, - ManagedClustersResetAADProfiledefaultResponse, + ManagedClustersListClusterUserCredentialsDefaultResponse, + ManagedClustersListClusterMonitoringUserCredentials200Response, + ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse, + ManagedClustersGet200Response, + ManagedClustersGetDefaultResponse, + ManagedClustersCreateOrUpdate200Response, + ManagedClustersCreateOrUpdate201Response, + ManagedClustersCreateOrUpdateDefaultResponse, + ManagedClustersUpdateTags200Response, + ManagedClustersUpdateTagsDefaultResponse, + ManagedClustersDelete202Response, + ManagedClustersDelete204Response, + ManagedClustersDeleteDefaultResponse, ManagedClustersResetServicePrincipalProfile200Response, ManagedClustersResetServicePrincipalProfile202Response, - ManagedClustersResetServicePrincipalProfiledefaultResponse, + ManagedClustersResetServicePrincipalProfileDefaultResponse, + ManagedClustersResetAADProfile200Response, + ManagedClustersResetAADProfile202Response, + ManagedClustersResetAADProfileDefaultResponse, ManagedClustersRotateClusterCertificates202Response, ManagedClustersRotateClusterCertificates204Response, - ManagedClustersRotateClusterCertificatesdefaultResponse, + ManagedClustersRotateClusterCertificatesDefaultResponse, ManagedClustersRotateServiceAccountSigningKeys202Response, ManagedClustersRotateServiceAccountSigningKeys204Response, - ManagedClustersRotateServiceAccountSigningKeysdefaultResponse, - ManagedClustersRunCommand200Response, - ManagedClustersRunCommand202Response, - ManagedClustersRunCommanddefaultResponse, - ManagedClustersStart202Response, - ManagedClustersStart204Response, - ManagedClustersStartdefaultResponse, + ManagedClustersRotateServiceAccountSigningKeysDefaultResponse, ManagedClustersStop202Response, ManagedClustersStop204Response, - ManagedClustersStopdefaultResponse, - ManagedClustersUpdateTags200Response, - ManagedClustersUpdateTagsdefaultResponse, - OperationsList200Response, - OperationsListdefaultResponse, - PrivateEndpointConnectionsDelete200Response, - PrivateEndpointConnectionsDelete204Response, - PrivateEndpointConnectionsDeletedefaultResponse, - PrivateEndpointConnectionsGet200Response, - PrivateEndpointConnectionsGetdefaultResponse, + ManagedClustersStopDefaultResponse, + ManagedClustersStart202Response, + ManagedClustersStart204Response, + ManagedClustersStartDefaultResponse, + ManagedClustersRunCommand200Response, + ManagedClustersRunCommand202Response, + ManagedClustersRunCommandDefaultResponse, + ManagedClustersGetCommandResult200Response, + ManagedClustersGetCommandResult202Response, + ManagedClustersGetCommandResultDefaultResponse, + ManagedClustersListOutboundNetworkDependenciesEndpoints200Response, + ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse, + MaintenanceConfigurationsListByManagedCluster200Response, + MaintenanceConfigurationsListByManagedClusterDefaultResponse, + MaintenanceConfigurationsGet200Response, + MaintenanceConfigurationsGetDefaultResponse, + MaintenanceConfigurationsCreateOrUpdate200Response, + MaintenanceConfigurationsCreateOrUpdateDefaultResponse, + MaintenanceConfigurationsDelete200Response, + MaintenanceConfigurationsDelete204Response, + MaintenanceConfigurationsDeleteDefaultResponse, + AgentPoolsList200Response, + AgentPoolsListDefaultResponse, + AgentPoolsGet200Response, + AgentPoolsGetDefaultResponse, + AgentPoolsCreateOrUpdate200Response, + AgentPoolsCreateOrUpdate201Response, + AgentPoolsCreateOrUpdateDefaultResponse, + AgentPoolsDelete202Response, + AgentPoolsDelete204Response, + AgentPoolsDeleteDefaultResponse, + AgentPoolsGetUpgradeProfile200Response, + AgentPoolsGetUpgradeProfileDefaultResponse, + AgentPoolsGetAvailableAgentPoolVersions200Response, + AgentPoolsUpgradeNodeImageVersion200Response, + AgentPoolsUpgradeNodeImageVersion202Response, + AgentPoolsUpgradeNodeImageVersionDefaultResponse, PrivateEndpointConnectionsList200Response, - PrivateEndpointConnectionsListdefaultResponse, + PrivateEndpointConnectionsListDefaultResponse, + PrivateEndpointConnectionsGet200Response, + PrivateEndpointConnectionsGetDefaultResponse, PrivateEndpointConnectionsUpdate200Response, - PrivateEndpointConnectionsUpdatedefaultResponse, + PrivateEndpointConnectionsUpdateDefaultResponse, + PrivateEndpointConnectionsDelete200Response, + PrivateEndpointConnectionsDelete204Response, + PrivateEndpointConnectionsDeleteDefaultResponse, PrivateLinkResourcesList200Response, - PrivateLinkResourcesListdefaultResponse, + PrivateLinkResourcesListDefaultResponse, ResolvePrivateLinkServiceIdPost200Response, - ResolvePrivateLinkServiceIdPostdefaultResponse, + ResolvePrivateLinkServiceIdPostDefaultResponse, + SnapshotsList200Response, + SnapshotsListDefaultResponse, + SnapshotsListByResourceGroup200Response, + SnapshotsListByResourceGroupDefaultResponse, + SnapshotsGet200Response, + SnapshotsGetDefaultResponse, SnapshotsCreateOrUpdate200Response, SnapshotsCreateOrUpdate201Response, - SnapshotsCreateOrUpdatedefaultResponse, + SnapshotsCreateOrUpdateDefaultResponse, + SnapshotsUpdateTags200Response, + SnapshotsUpdateTagsDefaultResponse, SnapshotsDelete200Response, SnapshotsDelete204Response, - SnapshotsDeletedefaultResponse, - SnapshotsGet200Response, - SnapshotsGetdefaultResponse, - SnapshotsList200Response, - SnapshotsListByResourceGroup200Response, - SnapshotsListByResourceGroupdefaultResponse, - SnapshotsListdefaultResponse, - SnapshotsUpdateTags200Response, - SnapshotsUpdateTagsdefaultResponse, + SnapshotsDeleteDefaultResponse, + ManagedClusterSnapshotsList200Response, + ManagedClusterSnapshotsListDefaultResponse, + ManagedClusterSnapshotsListByResourceGroup200Response, + ManagedClusterSnapshotsListByResourceGroupDefaultResponse, + ManagedClusterSnapshotsGet200Response, + ManagedClusterSnapshotsGetDefaultResponse, + ManagedClusterSnapshotsCreateOrUpdate200Response, + ManagedClusterSnapshotsCreateOrUpdate201Response, + ManagedClusterSnapshotsCreateOrUpdateDefaultResponse, + ManagedClusterSnapshotsUpdateTags200Response, + ManagedClusterSnapshotsUpdateTagsDefaultResponse, + ManagedClusterSnapshotsDelete200Response, + ManagedClusterSnapshotsDelete204Response, + ManagedClusterSnapshotsDeleteDefaultResponse, + TrustedAccessRolesList200Response, + TrustedAccessRolesListDefaultResponse, + TrustedAccessRoleBindingsList200Response, + TrustedAccessRoleBindingsListDefaultResponse, + TrustedAccessRoleBindingsGet200Response, + TrustedAccessRoleBindingsGetDefaultResponse, TrustedAccessRoleBindingsCreateOrUpdate200Response, - TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse, + TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse, TrustedAccessRoleBindingsDelete200Response, TrustedAccessRoleBindingsDelete204Response, - TrustedAccessRoleBindingsDeletedefaultResponse, - TrustedAccessRoleBindingsGet200Response, - TrustedAccessRoleBindingsGetdefaultResponse, - TrustedAccessRoleBindingsList200Response, - TrustedAccessRoleBindingsListdefaultResponse, - TrustedAccessRolesList200Response, - TrustedAccessRolesListdefaultResponse, -} from "./responses"; + TrustedAccessRoleBindingsDeleteDefaultResponse, +} from "./responses.js"; import type { Client, StreamableMethod } from "@azure-rest/core-client"; export interface OperationsList { /** Gets a list of operations. */ get( options?: OperationsListParameters, - ): StreamableMethod; + ): StreamableMethod; } export interface ManagedClustersGetOSOptions { @@ -206,7 +206,7 @@ export interface ManagedClustersGetOSOptions { get( options?: ManagedClustersGetOSOptionsParameters, ): StreamableMethod< - ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsdefaultResponse + ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsDefaultResponse >; } @@ -214,7 +214,7 @@ export interface ManagedClustersList { /** Gets a list of managed clusters in the specified subscription. */ get( options?: ManagedClustersListParameters, - ): StreamableMethod; + ): StreamableMethod; } export interface ManagedClustersListByResourceGroup { @@ -223,7 +223,7 @@ export interface ManagedClustersListByResourceGroup { options?: ManagedClustersListByResourceGroupParameters, ): StreamableMethod< | ManagedClustersListByResourceGroup200Response - | ManagedClustersListByResourceGroupdefaultResponse + | ManagedClustersListByResourceGroupDefaultResponse >; } @@ -232,7 +232,7 @@ export interface ManagedClustersGetUpgradeProfile { get( options?: ManagedClustersGetUpgradeProfileParameters, ): StreamableMethod< - ManagedClustersGetUpgradeProfile200Response | ManagedClustersGetUpgradeProfiledefaultResponse + ManagedClustersGetUpgradeProfile200Response | ManagedClustersGetUpgradeProfileDefaultResponse >; } @@ -241,7 +241,7 @@ export interface ManagedClustersGetAccessProfile { post( options?: ManagedClustersGetAccessProfileParameters, ): StreamableMethod< - ManagedClustersGetAccessProfile200Response | ManagedClustersGetAccessProfiledefaultResponse + ManagedClustersGetAccessProfile200Response | ManagedClustersGetAccessProfileDefaultResponse >; } @@ -251,7 +251,7 @@ export interface ManagedClustersListClusterAdminCredentials { options?: ManagedClustersListClusterAdminCredentialsParameters, ): StreamableMethod< | ManagedClustersListClusterAdminCredentials200Response - | ManagedClustersListClusterAdminCredentialsdefaultResponse + | ManagedClustersListClusterAdminCredentialsDefaultResponse >; } @@ -261,7 +261,7 @@ export interface ManagedClustersListClusterUserCredentials { options?: ManagedClustersListClusterUserCredentialsParameters, ): StreamableMethod< | ManagedClustersListClusterUserCredentials200Response - | ManagedClustersListClusterUserCredentialsdefaultResponse + | ManagedClustersListClusterUserCredentialsDefaultResponse >; } @@ -271,7 +271,7 @@ export interface ManagedClustersListClusterMonitoringUserCredentials { options?: ManagedClustersListClusterMonitoringUserCredentialsParameters, ): StreamableMethod< | ManagedClustersListClusterMonitoringUserCredentials200Response - | ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse + | ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse >; } @@ -279,20 +279,20 @@ export interface ManagedClustersGet { /** Gets a managed cluster. */ get( options?: ManagedClustersGetParameters, - ): StreamableMethod; + ): StreamableMethod; /** Creates or updates a managed cluster. */ put( options: ManagedClustersCreateOrUpdateParameters, ): StreamableMethod< | ManagedClustersCreateOrUpdate200Response | ManagedClustersCreateOrUpdate201Response - | ManagedClustersCreateOrUpdatedefaultResponse + | ManagedClustersCreateOrUpdateDefaultResponse >; /** Updates tags on a managed cluster. */ patch( options: ManagedClustersUpdateTagsParameters, ): StreamableMethod< - ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsdefaultResponse + ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsDefaultResponse >; /** Deletes a managed cluster. */ delete( @@ -300,7 +300,7 @@ export interface ManagedClustersGet { ): StreamableMethod< | ManagedClustersDelete202Response | ManagedClustersDelete204Response - | ManagedClustersDeletedefaultResponse + | ManagedClustersDeleteDefaultResponse >; } @@ -311,7 +311,7 @@ export interface ManagedClustersResetServicePrincipalProfile { ): StreamableMethod< | ManagedClustersResetServicePrincipalProfile200Response | ManagedClustersResetServicePrincipalProfile202Response - | ManagedClustersResetServicePrincipalProfiledefaultResponse + | ManagedClustersResetServicePrincipalProfileDefaultResponse >; } @@ -322,7 +322,7 @@ export interface ManagedClustersResetAADProfile { ): StreamableMethod< | ManagedClustersResetAADProfile200Response | ManagedClustersResetAADProfile202Response - | ManagedClustersResetAADProfiledefaultResponse + | ManagedClustersResetAADProfileDefaultResponse >; } @@ -333,7 +333,7 @@ export interface ManagedClustersRotateClusterCertificates { ): StreamableMethod< | ManagedClustersRotateClusterCertificates202Response | ManagedClustersRotateClusterCertificates204Response - | ManagedClustersRotateClusterCertificatesdefaultResponse + | ManagedClustersRotateClusterCertificatesDefaultResponse >; } @@ -344,7 +344,7 @@ export interface ManagedClustersRotateServiceAccountSigningKeys { ): StreamableMethod< | ManagedClustersRotateServiceAccountSigningKeys202Response | ManagedClustersRotateServiceAccountSigningKeys204Response - | ManagedClustersRotateServiceAccountSigningKeysdefaultResponse + | ManagedClustersRotateServiceAccountSigningKeysDefaultResponse >; } @@ -355,7 +355,7 @@ export interface ManagedClustersStop { ): StreamableMethod< | ManagedClustersStop202Response | ManagedClustersStop204Response - | ManagedClustersStopdefaultResponse + | ManagedClustersStopDefaultResponse >; } @@ -366,7 +366,7 @@ export interface ManagedClustersStart { ): StreamableMethod< | ManagedClustersStart202Response | ManagedClustersStart204Response - | ManagedClustersStartdefaultResponse + | ManagedClustersStartDefaultResponse >; } @@ -377,7 +377,7 @@ export interface ManagedClustersRunCommand { ): StreamableMethod< | ManagedClustersRunCommand200Response | ManagedClustersRunCommand202Response - | ManagedClustersRunCommanddefaultResponse + | ManagedClustersRunCommandDefaultResponse >; } @@ -388,7 +388,7 @@ export interface ManagedClustersGetCommandResult { ): StreamableMethod< | ManagedClustersGetCommandResult200Response | ManagedClustersGetCommandResult202Response - | ManagedClustersGetCommandResultdefaultResponse + | ManagedClustersGetCommandResultDefaultResponse >; } @@ -398,7 +398,7 @@ export interface ManagedClustersListOutboundNetworkDependenciesEndpoints { options?: ManagedClustersListOutboundNetworkDependenciesEndpointsParameters, ): StreamableMethod< | ManagedClustersListOutboundNetworkDependenciesEndpoints200Response - | ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse + | ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse >; } @@ -408,7 +408,7 @@ export interface MaintenanceConfigurationsListByManagedCluster { options?: MaintenanceConfigurationsListByManagedClusterParameters, ): StreamableMethod< | MaintenanceConfigurationsListByManagedCluster200Response - | MaintenanceConfigurationsListByManagedClusterdefaultResponse + | MaintenanceConfigurationsListByManagedClusterDefaultResponse >; } @@ -417,14 +417,14 @@ export interface MaintenanceConfigurationsGet { get( options?: MaintenanceConfigurationsGetParameters, ): StreamableMethod< - MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetdefaultResponse + MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetDefaultResponse >; /** Creates or updates a maintenance configuration in the specified managed cluster. */ put( options: MaintenanceConfigurationsCreateOrUpdateParameters, ): StreamableMethod< | MaintenanceConfigurationsCreateOrUpdate200Response - | MaintenanceConfigurationsCreateOrUpdatedefaultResponse + | MaintenanceConfigurationsCreateOrUpdateDefaultResponse >; /** Deletes a maintenance configuration. */ delete( @@ -432,7 +432,7 @@ export interface MaintenanceConfigurationsGet { ): StreamableMethod< | MaintenanceConfigurationsDelete200Response | MaintenanceConfigurationsDelete204Response - | MaintenanceConfigurationsDeletedefaultResponse + | MaintenanceConfigurationsDeleteDefaultResponse >; } @@ -440,27 +440,27 @@ export interface AgentPoolsList { /** Gets a list of agent pools in the specified managed cluster. */ get( options?: AgentPoolsListParameters, - ): StreamableMethod; + ): StreamableMethod; } export interface AgentPoolsGet { /** Gets the specified managed cluster agent pool. */ get( options?: AgentPoolsGetParameters, - ): StreamableMethod; + ): StreamableMethod; /** Creates or updates an agent pool in the specified managed cluster. */ put( options: AgentPoolsCreateOrUpdateParameters, ): StreamableMethod< | AgentPoolsCreateOrUpdate200Response | AgentPoolsCreateOrUpdate201Response - | AgentPoolsCreateOrUpdatedefaultResponse + | AgentPoolsCreateOrUpdateDefaultResponse >; /** Deletes an agent pool in the specified managed cluster. */ delete( options?: AgentPoolsDeleteParameters, ): StreamableMethod< - AgentPoolsDelete202Response | AgentPoolsDelete204Response | AgentPoolsDeletedefaultResponse + AgentPoolsDelete202Response | AgentPoolsDelete204Response | AgentPoolsDeleteDefaultResponse >; } @@ -469,7 +469,7 @@ export interface AgentPoolsGetUpgradeProfile { get( options?: AgentPoolsGetUpgradeProfileParameters, ): StreamableMethod< - AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfiledefaultResponse + AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfileDefaultResponse >; } @@ -487,7 +487,7 @@ export interface AgentPoolsUpgradeNodeImageVersion { ): StreamableMethod< | AgentPoolsUpgradeNodeImageVersion200Response | AgentPoolsUpgradeNodeImageVersion202Response - | AgentPoolsUpgradeNodeImageVersiondefaultResponse + | AgentPoolsUpgradeNodeImageVersionDefaultResponse >; } @@ -496,7 +496,7 @@ export interface PrivateEndpointConnectionsList { get( options?: PrivateEndpointConnectionsListParameters, ): StreamableMethod< - PrivateEndpointConnectionsList200Response | PrivateEndpointConnectionsListdefaultResponse + PrivateEndpointConnectionsList200Response | PrivateEndpointConnectionsListDefaultResponse >; } @@ -505,13 +505,13 @@ export interface PrivateEndpointConnectionsGet { get( options?: PrivateEndpointConnectionsGetParameters, ): StreamableMethod< - PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetdefaultResponse + PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse >; /** Updates a private endpoint connection. */ put( options: PrivateEndpointConnectionsUpdateParameters, ): StreamableMethod< - PrivateEndpointConnectionsUpdate200Response | PrivateEndpointConnectionsUpdatedefaultResponse + PrivateEndpointConnectionsUpdate200Response | PrivateEndpointConnectionsUpdateDefaultResponse >; /** Deletes a private endpoint connection. */ delete( @@ -519,7 +519,7 @@ export interface PrivateEndpointConnectionsGet { ): StreamableMethod< | PrivateEndpointConnectionsDelete200Response | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeletedefaultResponse + | PrivateEndpointConnectionsDeleteDefaultResponse >; } @@ -528,7 +528,7 @@ export interface PrivateLinkResourcesList { get( options?: PrivateLinkResourcesListParameters, ): StreamableMethod< - PrivateLinkResourcesList200Response | PrivateLinkResourcesListdefaultResponse + PrivateLinkResourcesList200Response | PrivateLinkResourcesListDefaultResponse >; } @@ -537,7 +537,7 @@ export interface ResolvePrivateLinkServiceIdPost { post( options: ResolvePrivateLinkServiceIdPostParameters, ): StreamableMethod< - ResolvePrivateLinkServiceIdPost200Response | ResolvePrivateLinkServiceIdPostdefaultResponse + ResolvePrivateLinkServiceIdPost200Response | ResolvePrivateLinkServiceIdPostDefaultResponse >; } @@ -545,7 +545,7 @@ export interface SnapshotsList { /** Gets a list of snapshots in the specified subscription. */ get( options?: SnapshotsListParameters, - ): StreamableMethod; + ): StreamableMethod; } export interface SnapshotsListByResourceGroup { @@ -553,7 +553,7 @@ export interface SnapshotsListByResourceGroup { get( options?: SnapshotsListByResourceGroupParameters, ): StreamableMethod< - SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupdefaultResponse + SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupDefaultResponse >; } @@ -561,24 +561,24 @@ export interface SnapshotsGet { /** Gets a snapshot. */ get( options?: SnapshotsGetParameters, - ): StreamableMethod; + ): StreamableMethod; /** Creates or updates a snapshot. */ put( options: SnapshotsCreateOrUpdateParameters, ): StreamableMethod< | SnapshotsCreateOrUpdate200Response | SnapshotsCreateOrUpdate201Response - | SnapshotsCreateOrUpdatedefaultResponse + | SnapshotsCreateOrUpdateDefaultResponse >; /** Updates tags on a snapshot. */ patch( options: SnapshotsUpdateTagsParameters, - ): StreamableMethod; + ): StreamableMethod; /** Deletes a snapshot. */ delete( options?: SnapshotsDeleteParameters, ): StreamableMethod< - SnapshotsDelete200Response | SnapshotsDelete204Response | SnapshotsDeletedefaultResponse + SnapshotsDelete200Response | SnapshotsDelete204Response | SnapshotsDeleteDefaultResponse >; } @@ -587,7 +587,7 @@ export interface ManagedClusterSnapshotsList { get( options?: ManagedClusterSnapshotsListParameters, ): StreamableMethod< - ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListdefaultResponse + ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListDefaultResponse >; } @@ -597,7 +597,7 @@ export interface ManagedClusterSnapshotsListByResourceGroup { options?: ManagedClusterSnapshotsListByResourceGroupParameters, ): StreamableMethod< | ManagedClusterSnapshotsListByResourceGroup200Response - | ManagedClusterSnapshotsListByResourceGroupdefaultResponse + | ManagedClusterSnapshotsListByResourceGroupDefaultResponse >; } @@ -606,7 +606,7 @@ export interface ManagedClusterSnapshotsGet { get( options?: ManagedClusterSnapshotsGetParameters, ): StreamableMethod< - ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetdefaultResponse + ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetDefaultResponse >; /** Creates or updates a managed cluster snapshot. */ put( @@ -614,13 +614,13 @@ export interface ManagedClusterSnapshotsGet { ): StreamableMethod< | ManagedClusterSnapshotsCreateOrUpdate200Response | ManagedClusterSnapshotsCreateOrUpdate201Response - | ManagedClusterSnapshotsCreateOrUpdatedefaultResponse + | ManagedClusterSnapshotsCreateOrUpdateDefaultResponse >; /** Updates tags on a managed cluster snapshot. */ patch( options: ManagedClusterSnapshotsUpdateTagsParameters, ): StreamableMethod< - ManagedClusterSnapshotsUpdateTags200Response | ManagedClusterSnapshotsUpdateTagsdefaultResponse + ManagedClusterSnapshotsUpdateTags200Response | ManagedClusterSnapshotsUpdateTagsDefaultResponse >; /** Deletes a managed cluster snapshot. */ delete( @@ -628,7 +628,7 @@ export interface ManagedClusterSnapshotsGet { ): StreamableMethod< | ManagedClusterSnapshotsDelete200Response | ManagedClusterSnapshotsDelete204Response - | ManagedClusterSnapshotsDeletedefaultResponse + | ManagedClusterSnapshotsDeleteDefaultResponse >; } @@ -636,7 +636,7 @@ export interface TrustedAccessRolesList { /** List supported trusted access roles. */ get( options?: TrustedAccessRolesListParameters, - ): StreamableMethod; + ): StreamableMethod; } export interface TrustedAccessRoleBindingsList { @@ -644,7 +644,7 @@ export interface TrustedAccessRoleBindingsList { get( options?: TrustedAccessRoleBindingsListParameters, ): StreamableMethod< - TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListdefaultResponse + TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListDefaultResponse >; } @@ -653,14 +653,14 @@ export interface TrustedAccessRoleBindingsGet { get( options?: TrustedAccessRoleBindingsGetParameters, ): StreamableMethod< - TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetdefaultResponse + TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetDefaultResponse >; /** Create or update a trusted access role binding */ put( options: TrustedAccessRoleBindingsCreateOrUpdateParameters, ): StreamableMethod< | TrustedAccessRoleBindingsCreateOrUpdate200Response - | TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse + | TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse >; /** Delete a trusted access role binding. */ delete( @@ -668,7 +668,7 @@ export interface TrustedAccessRoleBindingsGet { ): StreamableMethod< | TrustedAccessRoleBindingsDelete200Response | TrustedAccessRoleBindingsDelete204Response - | TrustedAccessRoleBindingsDeletedefaultResponse + | TrustedAccessRoleBindingsDeleteDefaultResponse >; } diff --git a/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts b/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts index 643ec663e486..23a0a9b75265 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/containerServiceClient.ts @@ -3,24 +3,27 @@ import type { ClientOptions } from "@azure-rest/core-client"; import { getClient } from "@azure-rest/core-client"; +import { logger } from "./logger.js"; import type { TokenCredential } from "@azure/core-auth"; -import type { ContainerServiceClient } from "./clientDefinitions"; -import { customizedApiVersionPolicy } from "./customizedApiVersionPolicy"; +import type { ContainerServiceClient } from "./clientDefinitions.js"; +/** The optional parameters for the client */ +export interface ContainerServiceClientOptions extends ClientOptions { + /** The api version option of the client */ + apiVersion?: string; +} + +/** + * Initialize a new instance of `ContainerServiceClient` + * @param credentials - uniquely identify client credential + * @param options - the parameter for all optional parameters + */ export default function createClient( credentials: TokenCredential, - options: ClientOptions = {}, + { apiVersion = "2022-05-02-preview", ...options }: ContainerServiceClientOptions = {}, ): ContainerServiceClient { - const baseUrl = options.baseUrl ?? "https://management.azure.com"; - options.apiVersion = options.apiVersion ?? "2022-05-02-preview"; - options = { - ...options, - credentials: { - scopes: ["https://management.azure.com/.default"], - }, - }; - - const userAgentInfo = `azsdk-js-arm-containerservice-rest/1.0.0-beta.1`; + const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`; + const userAgentInfo = `azsdk-js-arm-containerservice-rest/1.0.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` @@ -30,14 +33,31 @@ export default function createClient( userAgentOptions: { userAgentPrefix, }, + loggingOptions: { + logger: options.loggingOptions?.logger ?? logger.info, + }, + credentials: { + scopes: options.credentials?.scopes ?? ["https://management.azure.com/.default"], + }, }; + const client = getClient(endpointUrl, credentials, options) as ContainerServiceClient; - const client = getClient(baseUrl, credentials, options) as ContainerServiceClient; + client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); + client.pipeline.addPolicy({ + name: "ClientApiVersionPolicy", + sendRequest: (req, next) => { + // Use the apiVersion defined in request url directly + // Append one if there is no apiVersion and we have one at client options + const url = new URL(req.url); + if (!url.searchParams.get("api-version") && apiVersion) { + req.url = `${req.url}${ + Array.from(url.searchParams.keys()).length > 0 ? "&" : "?" + }api-version=${apiVersion}`; + } - // Considering the container service backend only supports the old version so we need to add customized policy - client.pipeline.removePolicy({ - name: "ApiVersionPolicy", + return next(req); + }, }); - client.pipeline.addPolicy(customizedApiVersionPolicy(options)); + return client; } diff --git a/sdk/containerservice/arm-containerservice-rest/src/index.ts b/sdk/containerservice/arm-containerservice-rest/src/index.ts index 0755b8f1046c..46068daee9e6 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/index.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/index.ts @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import ContainerServiceClient from "./containerServiceClient"; +import ContainerServiceClient from "./containerServiceClient.js"; -export * from "./containerServiceClient"; -export * from "./parameters"; -export * from "./responses"; -export * from "./clientDefinitions"; -export * from "./isUnexpected"; -export * from "./models"; -export * from "./outputModels"; -export * from "./paginateHelper"; -export * from "./pollingHelper"; +export * from "./containerServiceClient.js"; +export * from "./parameters.js"; +export * from "./responses.js"; +export * from "./clientDefinitions.js"; +export * from "./isUnexpected.js"; +export * from "./models.js"; +export * from "./outputModels.js"; +export * from "./paginateHelper.js"; +export * from "./pollingHelper.js"; export default ContainerServiceClient; diff --git a/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts b/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts index 39ef02ca96b0..2a3c3b62a3b5 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/isUnexpected.ts @@ -2,137 +2,137 @@ // Licensed under the MIT License. import type { - AgentPoolsCreateOrUpdate200Response, - AgentPoolsCreateOrUpdate201Response, - AgentPoolsCreateOrUpdatedefaultResponse, - AgentPoolsDelete202Response, - AgentPoolsDelete204Response, - AgentPoolsDeletedefaultResponse, - AgentPoolsGet200Response, - AgentPoolsGetUpgradeProfile200Response, - AgentPoolsGetUpgradeProfiledefaultResponse, - AgentPoolsGetdefaultResponse, - AgentPoolsList200Response, - AgentPoolsListdefaultResponse, - AgentPoolsUpgradeNodeImageVersion200Response, - AgentPoolsUpgradeNodeImageVersion202Response, - AgentPoolsUpgradeNodeImageVersiondefaultResponse, - MaintenanceConfigurationsCreateOrUpdate200Response, - MaintenanceConfigurationsCreateOrUpdatedefaultResponse, - MaintenanceConfigurationsDelete200Response, - MaintenanceConfigurationsDelete204Response, - MaintenanceConfigurationsDeletedefaultResponse, - MaintenanceConfigurationsGet200Response, - MaintenanceConfigurationsGetdefaultResponse, - MaintenanceConfigurationsListByManagedCluster200Response, - MaintenanceConfigurationsListByManagedClusterdefaultResponse, - ManagedClusterSnapshotsCreateOrUpdate200Response, - ManagedClusterSnapshotsCreateOrUpdate201Response, - ManagedClusterSnapshotsCreateOrUpdatedefaultResponse, - ManagedClusterSnapshotsDelete200Response, - ManagedClusterSnapshotsDelete204Response, - ManagedClusterSnapshotsDeletedefaultResponse, - ManagedClusterSnapshotsGet200Response, - ManagedClusterSnapshotsGetdefaultResponse, - ManagedClusterSnapshotsList200Response, - ManagedClusterSnapshotsListByResourceGroup200Response, - ManagedClusterSnapshotsListByResourceGroupdefaultResponse, - ManagedClusterSnapshotsListdefaultResponse, - ManagedClusterSnapshotsUpdateTags200Response, - ManagedClusterSnapshotsUpdateTagsdefaultResponse, - ManagedClustersCreateOrUpdate200Response, - ManagedClustersCreateOrUpdate201Response, - ManagedClustersCreateOrUpdatedefaultResponse, - ManagedClustersDelete202Response, - ManagedClustersDelete204Response, - ManagedClustersDeletedefaultResponse, - ManagedClustersGet200Response, - ManagedClustersGetAccessProfile200Response, - ManagedClustersGetAccessProfiledefaultResponse, - ManagedClustersGetCommandResult200Response, - ManagedClustersGetCommandResult202Response, - ManagedClustersGetCommandResultdefaultResponse, + OperationsList200Response, + OperationsListDefaultResponse, ManagedClustersGetOSOptions200Response, - ManagedClustersGetOSOptionsdefaultResponse, - ManagedClustersGetUpgradeProfile200Response, - ManagedClustersGetUpgradeProfiledefaultResponse, - ManagedClustersGetdefaultResponse, + ManagedClustersGetOSOptionsDefaultResponse, ManagedClustersList200Response, + ManagedClustersListDefaultResponse, ManagedClustersListByResourceGroup200Response, - ManagedClustersListByResourceGroupdefaultResponse, + ManagedClustersListByResourceGroupDefaultResponse, + ManagedClustersGetUpgradeProfile200Response, + ManagedClustersGetUpgradeProfileDefaultResponse, + ManagedClustersGetAccessProfile200Response, + ManagedClustersGetAccessProfileDefaultResponse, ManagedClustersListClusterAdminCredentials200Response, - ManagedClustersListClusterAdminCredentialsdefaultResponse, - ManagedClustersListClusterMonitoringUserCredentials200Response, - ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse, + ManagedClustersListClusterAdminCredentialsDefaultResponse, ManagedClustersListClusterUserCredentials200Response, - ManagedClustersListClusterUserCredentialsdefaultResponse, - ManagedClustersListOutboundNetworkDependenciesEndpoints200Response, - ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse, - ManagedClustersListdefaultResponse, - ManagedClustersResetAADProfile200Response, - ManagedClustersResetAADProfile202Response, - ManagedClustersResetAADProfiledefaultResponse, + ManagedClustersListClusterUserCredentialsDefaultResponse, + ManagedClustersListClusterMonitoringUserCredentials200Response, + ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse, + ManagedClustersGet200Response, + ManagedClustersGetDefaultResponse, + ManagedClustersCreateOrUpdate200Response, + ManagedClustersCreateOrUpdate201Response, + ManagedClustersCreateOrUpdateDefaultResponse, + ManagedClustersUpdateTags200Response, + ManagedClustersUpdateTagsDefaultResponse, + ManagedClustersDelete202Response, + ManagedClustersDelete204Response, + ManagedClustersDeleteDefaultResponse, ManagedClustersResetServicePrincipalProfile200Response, ManagedClustersResetServicePrincipalProfile202Response, - ManagedClustersResetServicePrincipalProfiledefaultResponse, + ManagedClustersResetServicePrincipalProfileDefaultResponse, + ManagedClustersResetAADProfile200Response, + ManagedClustersResetAADProfile202Response, + ManagedClustersResetAADProfileDefaultResponse, ManagedClustersRotateClusterCertificates202Response, ManagedClustersRotateClusterCertificates204Response, - ManagedClustersRotateClusterCertificatesdefaultResponse, + ManagedClustersRotateClusterCertificatesDefaultResponse, ManagedClustersRotateServiceAccountSigningKeys202Response, ManagedClustersRotateServiceAccountSigningKeys204Response, - ManagedClustersRotateServiceAccountSigningKeysdefaultResponse, - ManagedClustersRunCommand200Response, - ManagedClustersRunCommand202Response, - ManagedClustersRunCommanddefaultResponse, - ManagedClustersStart202Response, - ManagedClustersStart204Response, - ManagedClustersStartdefaultResponse, + ManagedClustersRotateServiceAccountSigningKeysDefaultResponse, ManagedClustersStop202Response, ManagedClustersStop204Response, - ManagedClustersStopdefaultResponse, - ManagedClustersUpdateTags200Response, - ManagedClustersUpdateTagsdefaultResponse, - OperationsList200Response, - OperationsListdefaultResponse, - PrivateEndpointConnectionsDelete200Response, - PrivateEndpointConnectionsDelete204Response, - PrivateEndpointConnectionsDeletedefaultResponse, - PrivateEndpointConnectionsGet200Response, - PrivateEndpointConnectionsGetdefaultResponse, + ManagedClustersStopDefaultResponse, + ManagedClustersStart202Response, + ManagedClustersStart204Response, + ManagedClustersStartDefaultResponse, + ManagedClustersRunCommand200Response, + ManagedClustersRunCommand202Response, + ManagedClustersRunCommandDefaultResponse, + ManagedClustersGetCommandResult200Response, + ManagedClustersGetCommandResult202Response, + ManagedClustersGetCommandResultDefaultResponse, + ManagedClustersListOutboundNetworkDependenciesEndpoints200Response, + ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse, + MaintenanceConfigurationsListByManagedCluster200Response, + MaintenanceConfigurationsListByManagedClusterDefaultResponse, + MaintenanceConfigurationsGet200Response, + MaintenanceConfigurationsGetDefaultResponse, + MaintenanceConfigurationsCreateOrUpdate200Response, + MaintenanceConfigurationsCreateOrUpdateDefaultResponse, + MaintenanceConfigurationsDelete200Response, + MaintenanceConfigurationsDelete204Response, + MaintenanceConfigurationsDeleteDefaultResponse, + AgentPoolsList200Response, + AgentPoolsListDefaultResponse, + AgentPoolsGet200Response, + AgentPoolsGetDefaultResponse, + AgentPoolsCreateOrUpdate200Response, + AgentPoolsCreateOrUpdate201Response, + AgentPoolsCreateOrUpdateDefaultResponse, + AgentPoolsDelete202Response, + AgentPoolsDelete204Response, + AgentPoolsDeleteDefaultResponse, + AgentPoolsGetUpgradeProfile200Response, + AgentPoolsGetUpgradeProfileDefaultResponse, + AgentPoolsUpgradeNodeImageVersion200Response, + AgentPoolsUpgradeNodeImageVersion202Response, + AgentPoolsUpgradeNodeImageVersionDefaultResponse, PrivateEndpointConnectionsList200Response, - PrivateEndpointConnectionsListdefaultResponse, + PrivateEndpointConnectionsListDefaultResponse, + PrivateEndpointConnectionsGet200Response, + PrivateEndpointConnectionsGetDefaultResponse, PrivateEndpointConnectionsUpdate200Response, - PrivateEndpointConnectionsUpdatedefaultResponse, + PrivateEndpointConnectionsUpdateDefaultResponse, + PrivateEndpointConnectionsDelete200Response, + PrivateEndpointConnectionsDelete204Response, + PrivateEndpointConnectionsDeleteDefaultResponse, PrivateLinkResourcesList200Response, - PrivateLinkResourcesListdefaultResponse, + PrivateLinkResourcesListDefaultResponse, ResolvePrivateLinkServiceIdPost200Response, - ResolvePrivateLinkServiceIdPostdefaultResponse, + ResolvePrivateLinkServiceIdPostDefaultResponse, + SnapshotsList200Response, + SnapshotsListDefaultResponse, + SnapshotsListByResourceGroup200Response, + SnapshotsListByResourceGroupDefaultResponse, + SnapshotsGet200Response, + SnapshotsGetDefaultResponse, SnapshotsCreateOrUpdate200Response, SnapshotsCreateOrUpdate201Response, - SnapshotsCreateOrUpdatedefaultResponse, + SnapshotsCreateOrUpdateDefaultResponse, + SnapshotsUpdateTags200Response, + SnapshotsUpdateTagsDefaultResponse, SnapshotsDelete200Response, SnapshotsDelete204Response, - SnapshotsDeletedefaultResponse, - SnapshotsGet200Response, - SnapshotsGetdefaultResponse, - SnapshotsList200Response, - SnapshotsListByResourceGroup200Response, - SnapshotsListByResourceGroupdefaultResponse, - SnapshotsListdefaultResponse, - SnapshotsUpdateTags200Response, - SnapshotsUpdateTagsdefaultResponse, + SnapshotsDeleteDefaultResponse, + ManagedClusterSnapshotsList200Response, + ManagedClusterSnapshotsListDefaultResponse, + ManagedClusterSnapshotsListByResourceGroup200Response, + ManagedClusterSnapshotsListByResourceGroupDefaultResponse, + ManagedClusterSnapshotsGet200Response, + ManagedClusterSnapshotsGetDefaultResponse, + ManagedClusterSnapshotsCreateOrUpdate200Response, + ManagedClusterSnapshotsCreateOrUpdate201Response, + ManagedClusterSnapshotsCreateOrUpdateDefaultResponse, + ManagedClusterSnapshotsUpdateTags200Response, + ManagedClusterSnapshotsUpdateTagsDefaultResponse, + ManagedClusterSnapshotsDelete200Response, + ManagedClusterSnapshotsDelete204Response, + ManagedClusterSnapshotsDeleteDefaultResponse, + TrustedAccessRolesList200Response, + TrustedAccessRolesListDefaultResponse, + TrustedAccessRoleBindingsList200Response, + TrustedAccessRoleBindingsListDefaultResponse, + TrustedAccessRoleBindingsGet200Response, + TrustedAccessRoleBindingsGetDefaultResponse, TrustedAccessRoleBindingsCreateOrUpdate200Response, - TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse, + TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse, TrustedAccessRoleBindingsDelete200Response, TrustedAccessRoleBindingsDelete204Response, - TrustedAccessRoleBindingsDeletedefaultResponse, - TrustedAccessRoleBindingsGet200Response, - TrustedAccessRoleBindingsGetdefaultResponse, - TrustedAccessRoleBindingsList200Response, - TrustedAccessRoleBindingsListdefaultResponse, - TrustedAccessRolesList200Response, - TrustedAccessRolesListdefaultResponse, -} from "./responses"; + TrustedAccessRoleBindingsDeleteDefaultResponse, +} from "./responses.js"; const responseMap: Record = { "GET /providers/Microsoft.ContainerService/operations": ["200"], @@ -161,34 +161,34 @@ const responseMap: Record = { ["200"], "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": ["200", "202"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates": - ["202", "204"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates": ["202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys": ["202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start": + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop": ["202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start": ["202", "204"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand": - ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start": + ["202", "204"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}": ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints": @@ -213,10 +213,10 @@ const responseMap: Record = { ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions": ["200"], - "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion": - ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion": ["200", "202"], + "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion": + ["200", "202"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections": ["200"], "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": @@ -265,506 +265,517 @@ const responseMap: Record = { }; export function isUnexpected( - response: OperationsList200Response | OperationsListdefaultResponse, -): response is OperationsListdefaultResponse; + response: OperationsList200Response | OperationsListDefaultResponse, +): response is OperationsListDefaultResponse; export function isUnexpected( - response: ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsdefaultResponse, -): response is ManagedClustersGetOSOptionsdefaultResponse; + response: ManagedClustersGetOSOptions200Response | ManagedClustersGetOSOptionsDefaultResponse, +): response is ManagedClustersGetOSOptionsDefaultResponse; export function isUnexpected( - response: ManagedClustersList200Response | ManagedClustersListdefaultResponse, -): response is ManagedClustersListdefaultResponse; + response: ManagedClustersList200Response | ManagedClustersListDefaultResponse, +): response is ManagedClustersListDefaultResponse; export function isUnexpected( response: | ManagedClustersListByResourceGroup200Response - | ManagedClustersListByResourceGroupdefaultResponse, -): response is ManagedClustersListByResourceGroupdefaultResponse; + | ManagedClustersListByResourceGroupDefaultResponse, +): response is ManagedClustersListByResourceGroupDefaultResponse; export function isUnexpected( response: | ManagedClustersGetUpgradeProfile200Response - | ManagedClustersGetUpgradeProfiledefaultResponse, -): response is ManagedClustersGetUpgradeProfiledefaultResponse; + | ManagedClustersGetUpgradeProfileDefaultResponse, +): response is ManagedClustersGetUpgradeProfileDefaultResponse; export function isUnexpected( response: | ManagedClustersGetAccessProfile200Response - | ManagedClustersGetAccessProfiledefaultResponse, -): response is ManagedClustersGetAccessProfiledefaultResponse; + | ManagedClustersGetAccessProfileDefaultResponse, +): response is ManagedClustersGetAccessProfileDefaultResponse; export function isUnexpected( response: | ManagedClustersListClusterAdminCredentials200Response - | ManagedClustersListClusterAdminCredentialsdefaultResponse, -): response is ManagedClustersListClusterAdminCredentialsdefaultResponse; + | ManagedClustersListClusterAdminCredentialsDefaultResponse, +): response is ManagedClustersListClusterAdminCredentialsDefaultResponse; export function isUnexpected( response: | ManagedClustersListClusterUserCredentials200Response - | ManagedClustersListClusterUserCredentialsdefaultResponse, -): response is ManagedClustersListClusterUserCredentialsdefaultResponse; + | ManagedClustersListClusterUserCredentialsDefaultResponse, +): response is ManagedClustersListClusterUserCredentialsDefaultResponse; export function isUnexpected( response: | ManagedClustersListClusterMonitoringUserCredentials200Response - | ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse, -): response is ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse; + | ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse, +): response is ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse; export function isUnexpected( - response: ManagedClustersGet200Response | ManagedClustersGetdefaultResponse, -): response is ManagedClustersGetdefaultResponse; + response: ManagedClustersGet200Response | ManagedClustersGetDefaultResponse, +): response is ManagedClustersGetDefaultResponse; export function isUnexpected( response: | ManagedClustersCreateOrUpdate200Response | ManagedClustersCreateOrUpdate201Response - | ManagedClustersCreateOrUpdatedefaultResponse, -): response is ManagedClustersCreateOrUpdatedefaultResponse; + | ManagedClustersCreateOrUpdateDefaultResponse, +): response is ManagedClustersCreateOrUpdateDefaultResponse; export function isUnexpected( - response: ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsdefaultResponse, -): response is ManagedClustersUpdateTagsdefaultResponse; + response: ManagedClustersUpdateTags200Response | ManagedClustersUpdateTagsDefaultResponse, +): response is ManagedClustersUpdateTagsDefaultResponse; export function isUnexpected( response: | ManagedClustersDelete202Response | ManagedClustersDelete204Response - | ManagedClustersDeletedefaultResponse, -): response is ManagedClustersDeletedefaultResponse; + | ManagedClustersDeleteDefaultResponse, +): response is ManagedClustersDeleteDefaultResponse; export function isUnexpected( response: | ManagedClustersResetServicePrincipalProfile200Response | ManagedClustersResetServicePrincipalProfile202Response - | ManagedClustersResetServicePrincipalProfiledefaultResponse, -): response is ManagedClustersResetServicePrincipalProfiledefaultResponse; + | ManagedClustersResetServicePrincipalProfileDefaultResponse, +): response is ManagedClustersResetServicePrincipalProfileDefaultResponse; export function isUnexpected( response: | ManagedClustersResetAADProfile200Response | ManagedClustersResetAADProfile202Response - | ManagedClustersResetAADProfiledefaultResponse, -): response is ManagedClustersResetAADProfiledefaultResponse; + | ManagedClustersResetAADProfileDefaultResponse, +): response is ManagedClustersResetAADProfileDefaultResponse; export function isUnexpected( response: | ManagedClustersRotateClusterCertificates202Response | ManagedClustersRotateClusterCertificates204Response - | ManagedClustersRotateClusterCertificatesdefaultResponse, -): response is ManagedClustersRotateClusterCertificatesdefaultResponse; + | ManagedClustersRotateClusterCertificatesDefaultResponse, +): response is ManagedClustersRotateClusterCertificatesDefaultResponse; export function isUnexpected( response: | ManagedClustersRotateServiceAccountSigningKeys202Response | ManagedClustersRotateServiceAccountSigningKeys204Response - | ManagedClustersRotateServiceAccountSigningKeysdefaultResponse, -): response is ManagedClustersRotateServiceAccountSigningKeysdefaultResponse; + | ManagedClustersRotateServiceAccountSigningKeysDefaultResponse, +): response is ManagedClustersRotateServiceAccountSigningKeysDefaultResponse; export function isUnexpected( response: | ManagedClustersStop202Response | ManagedClustersStop204Response - | ManagedClustersStopdefaultResponse, -): response is ManagedClustersStopdefaultResponse; + | ManagedClustersStopDefaultResponse, +): response is ManagedClustersStopDefaultResponse; export function isUnexpected( response: | ManagedClustersStart202Response | ManagedClustersStart204Response - | ManagedClustersStartdefaultResponse, -): response is ManagedClustersStartdefaultResponse; + | ManagedClustersStartDefaultResponse, +): response is ManagedClustersStartDefaultResponse; export function isUnexpected( response: | ManagedClustersRunCommand200Response | ManagedClustersRunCommand202Response - | ManagedClustersRunCommanddefaultResponse, -): response is ManagedClustersRunCommanddefaultResponse; + | ManagedClustersRunCommandDefaultResponse, +): response is ManagedClustersRunCommandDefaultResponse; export function isUnexpected( response: | ManagedClustersGetCommandResult200Response | ManagedClustersGetCommandResult202Response - | ManagedClustersGetCommandResultdefaultResponse, -): response is ManagedClustersGetCommandResultdefaultResponse; + | ManagedClustersGetCommandResultDefaultResponse, +): response is ManagedClustersGetCommandResultDefaultResponse; export function isUnexpected( response: | ManagedClustersListOutboundNetworkDependenciesEndpoints200Response - | ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse, -): response is ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse; + | ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse, +): response is ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse; export function isUnexpected( response: | MaintenanceConfigurationsListByManagedCluster200Response - | MaintenanceConfigurationsListByManagedClusterdefaultResponse, -): response is MaintenanceConfigurationsListByManagedClusterdefaultResponse; + | MaintenanceConfigurationsListByManagedClusterDefaultResponse, +): response is MaintenanceConfigurationsListByManagedClusterDefaultResponse; export function isUnexpected( - response: MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetdefaultResponse, -): response is MaintenanceConfigurationsGetdefaultResponse; + response: MaintenanceConfigurationsGet200Response | MaintenanceConfigurationsGetDefaultResponse, +): response is MaintenanceConfigurationsGetDefaultResponse; export function isUnexpected( response: | MaintenanceConfigurationsCreateOrUpdate200Response - | MaintenanceConfigurationsCreateOrUpdatedefaultResponse, -): response is MaintenanceConfigurationsCreateOrUpdatedefaultResponse; + | MaintenanceConfigurationsCreateOrUpdateDefaultResponse, +): response is MaintenanceConfigurationsCreateOrUpdateDefaultResponse; export function isUnexpected( response: | MaintenanceConfigurationsDelete200Response | MaintenanceConfigurationsDelete204Response - | MaintenanceConfigurationsDeletedefaultResponse, -): response is MaintenanceConfigurationsDeletedefaultResponse; + | MaintenanceConfigurationsDeleteDefaultResponse, +): response is MaintenanceConfigurationsDeleteDefaultResponse; export function isUnexpected( - response: AgentPoolsList200Response | AgentPoolsListdefaultResponse, -): response is AgentPoolsListdefaultResponse; + response: AgentPoolsList200Response | AgentPoolsListDefaultResponse, +): response is AgentPoolsListDefaultResponse; export function isUnexpected( - response: AgentPoolsGet200Response | AgentPoolsGetdefaultResponse, -): response is AgentPoolsGetdefaultResponse; + response: AgentPoolsGet200Response | AgentPoolsGetDefaultResponse, +): response is AgentPoolsGetDefaultResponse; export function isUnexpected( response: | AgentPoolsCreateOrUpdate200Response | AgentPoolsCreateOrUpdate201Response - | AgentPoolsCreateOrUpdatedefaultResponse, -): response is AgentPoolsCreateOrUpdatedefaultResponse; + | AgentPoolsCreateOrUpdateDefaultResponse, +): response is AgentPoolsCreateOrUpdateDefaultResponse; export function isUnexpected( response: | AgentPoolsDelete202Response | AgentPoolsDelete204Response - | AgentPoolsDeletedefaultResponse, -): response is AgentPoolsDeletedefaultResponse; + | AgentPoolsDeleteDefaultResponse, +): response is AgentPoolsDeleteDefaultResponse; export function isUnexpected( - response: AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfiledefaultResponse, -): response is AgentPoolsGetUpgradeProfiledefaultResponse; + response: AgentPoolsGetUpgradeProfile200Response | AgentPoolsGetUpgradeProfileDefaultResponse, +): response is AgentPoolsGetUpgradeProfileDefaultResponse; export function isUnexpected( response: | AgentPoolsUpgradeNodeImageVersion200Response | AgentPoolsUpgradeNodeImageVersion202Response - | AgentPoolsUpgradeNodeImageVersiondefaultResponse, -): response is AgentPoolsUpgradeNodeImageVersiondefaultResponse; + | AgentPoolsUpgradeNodeImageVersionDefaultResponse, +): response is AgentPoolsUpgradeNodeImageVersionDefaultResponse; export function isUnexpected( response: | PrivateEndpointConnectionsList200Response - | PrivateEndpointConnectionsListdefaultResponse, -): response is PrivateEndpointConnectionsListdefaultResponse; + | PrivateEndpointConnectionsListDefaultResponse, +): response is PrivateEndpointConnectionsListDefaultResponse; export function isUnexpected( - response: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetdefaultResponse, -): response is PrivateEndpointConnectionsGetdefaultResponse; + response: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse, +): response is PrivateEndpointConnectionsGetDefaultResponse; export function isUnexpected( response: | PrivateEndpointConnectionsUpdate200Response - | PrivateEndpointConnectionsUpdatedefaultResponse, -): response is PrivateEndpointConnectionsUpdatedefaultResponse; + | PrivateEndpointConnectionsUpdateDefaultResponse, +): response is PrivateEndpointConnectionsUpdateDefaultResponse; export function isUnexpected( response: | PrivateEndpointConnectionsDelete200Response | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeletedefaultResponse, -): response is PrivateEndpointConnectionsDeletedefaultResponse; + | PrivateEndpointConnectionsDeleteDefaultResponse, +): response is PrivateEndpointConnectionsDeleteDefaultResponse; export function isUnexpected( - response: PrivateLinkResourcesList200Response | PrivateLinkResourcesListdefaultResponse, -): response is PrivateLinkResourcesListdefaultResponse; + response: PrivateLinkResourcesList200Response | PrivateLinkResourcesListDefaultResponse, +): response is PrivateLinkResourcesListDefaultResponse; export function isUnexpected( response: | ResolvePrivateLinkServiceIdPost200Response - | ResolvePrivateLinkServiceIdPostdefaultResponse, -): response is ResolvePrivateLinkServiceIdPostdefaultResponse; + | ResolvePrivateLinkServiceIdPostDefaultResponse, +): response is ResolvePrivateLinkServiceIdPostDefaultResponse; export function isUnexpected( - response: SnapshotsList200Response | SnapshotsListdefaultResponse, -): response is SnapshotsListdefaultResponse; + response: SnapshotsList200Response | SnapshotsListDefaultResponse, +): response is SnapshotsListDefaultResponse; export function isUnexpected( - response: SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupdefaultResponse, -): response is SnapshotsListByResourceGroupdefaultResponse; + response: SnapshotsListByResourceGroup200Response | SnapshotsListByResourceGroupDefaultResponse, +): response is SnapshotsListByResourceGroupDefaultResponse; export function isUnexpected( - response: SnapshotsGet200Response | SnapshotsGetdefaultResponse, -): response is SnapshotsGetdefaultResponse; + response: SnapshotsGet200Response | SnapshotsGetDefaultResponse, +): response is SnapshotsGetDefaultResponse; export function isUnexpected( response: | SnapshotsCreateOrUpdate200Response | SnapshotsCreateOrUpdate201Response - | SnapshotsCreateOrUpdatedefaultResponse, -): response is SnapshotsCreateOrUpdatedefaultResponse; + | SnapshotsCreateOrUpdateDefaultResponse, +): response is SnapshotsCreateOrUpdateDefaultResponse; export function isUnexpected( - response: SnapshotsUpdateTags200Response | SnapshotsUpdateTagsdefaultResponse, -): response is SnapshotsUpdateTagsdefaultResponse; + response: SnapshotsUpdateTags200Response | SnapshotsUpdateTagsDefaultResponse, +): response is SnapshotsUpdateTagsDefaultResponse; export function isUnexpected( response: | SnapshotsDelete200Response | SnapshotsDelete204Response - | SnapshotsDeletedefaultResponse, -): response is SnapshotsDeletedefaultResponse; + | SnapshotsDeleteDefaultResponse, +): response is SnapshotsDeleteDefaultResponse; export function isUnexpected( - response: ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListdefaultResponse, -): response is ManagedClusterSnapshotsListdefaultResponse; + response: ManagedClusterSnapshotsList200Response | ManagedClusterSnapshotsListDefaultResponse, +): response is ManagedClusterSnapshotsListDefaultResponse; export function isUnexpected( response: | ManagedClusterSnapshotsListByResourceGroup200Response - | ManagedClusterSnapshotsListByResourceGroupdefaultResponse, -): response is ManagedClusterSnapshotsListByResourceGroupdefaultResponse; + | ManagedClusterSnapshotsListByResourceGroupDefaultResponse, +): response is ManagedClusterSnapshotsListByResourceGroupDefaultResponse; export function isUnexpected( - response: ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetdefaultResponse, -): response is ManagedClusterSnapshotsGetdefaultResponse; + response: ManagedClusterSnapshotsGet200Response | ManagedClusterSnapshotsGetDefaultResponse, +): response is ManagedClusterSnapshotsGetDefaultResponse; export function isUnexpected( response: | ManagedClusterSnapshotsCreateOrUpdate200Response | ManagedClusterSnapshotsCreateOrUpdate201Response - | ManagedClusterSnapshotsCreateOrUpdatedefaultResponse, -): response is ManagedClusterSnapshotsCreateOrUpdatedefaultResponse; + | ManagedClusterSnapshotsCreateOrUpdateDefaultResponse, +): response is ManagedClusterSnapshotsCreateOrUpdateDefaultResponse; export function isUnexpected( response: | ManagedClusterSnapshotsUpdateTags200Response - | ManagedClusterSnapshotsUpdateTagsdefaultResponse, -): response is ManagedClusterSnapshotsUpdateTagsdefaultResponse; + | ManagedClusterSnapshotsUpdateTagsDefaultResponse, +): response is ManagedClusterSnapshotsUpdateTagsDefaultResponse; export function isUnexpected( response: | ManagedClusterSnapshotsDelete200Response | ManagedClusterSnapshotsDelete204Response - | ManagedClusterSnapshotsDeletedefaultResponse, -): response is ManagedClusterSnapshotsDeletedefaultResponse; + | ManagedClusterSnapshotsDeleteDefaultResponse, +): response is ManagedClusterSnapshotsDeleteDefaultResponse; export function isUnexpected( - response: TrustedAccessRolesList200Response | TrustedAccessRolesListdefaultResponse, -): response is TrustedAccessRolesListdefaultResponse; + response: TrustedAccessRolesList200Response | TrustedAccessRolesListDefaultResponse, +): response is TrustedAccessRolesListDefaultResponse; export function isUnexpected( - response: TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListdefaultResponse, -): response is TrustedAccessRoleBindingsListdefaultResponse; + response: TrustedAccessRoleBindingsList200Response | TrustedAccessRoleBindingsListDefaultResponse, +): response is TrustedAccessRoleBindingsListDefaultResponse; export function isUnexpected( - response: TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetdefaultResponse, -): response is TrustedAccessRoleBindingsGetdefaultResponse; + response: TrustedAccessRoleBindingsGet200Response | TrustedAccessRoleBindingsGetDefaultResponse, +): response is TrustedAccessRoleBindingsGetDefaultResponse; export function isUnexpected( response: | TrustedAccessRoleBindingsCreateOrUpdate200Response - | TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse, -): response is TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse; + | TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse, +): response is TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse; export function isUnexpected( response: | TrustedAccessRoleBindingsDelete200Response | TrustedAccessRoleBindingsDelete204Response - | TrustedAccessRoleBindingsDeletedefaultResponse, -): response is TrustedAccessRoleBindingsDeletedefaultResponse; + | TrustedAccessRoleBindingsDeleteDefaultResponse, +): response is TrustedAccessRoleBindingsDeleteDefaultResponse; export function isUnexpected( response: | OperationsList200Response - | OperationsListdefaultResponse + | OperationsListDefaultResponse | ManagedClustersGetOSOptions200Response - | ManagedClustersGetOSOptionsdefaultResponse + | ManagedClustersGetOSOptionsDefaultResponse | ManagedClustersList200Response - | ManagedClustersListdefaultResponse + | ManagedClustersListDefaultResponse | ManagedClustersListByResourceGroup200Response - | ManagedClustersListByResourceGroupdefaultResponse + | ManagedClustersListByResourceGroupDefaultResponse | ManagedClustersGetUpgradeProfile200Response - | ManagedClustersGetUpgradeProfiledefaultResponse + | ManagedClustersGetUpgradeProfileDefaultResponse | ManagedClustersGetAccessProfile200Response - | ManagedClustersGetAccessProfiledefaultResponse + | ManagedClustersGetAccessProfileDefaultResponse | ManagedClustersListClusterAdminCredentials200Response - | ManagedClustersListClusterAdminCredentialsdefaultResponse + | ManagedClustersListClusterAdminCredentialsDefaultResponse | ManagedClustersListClusterUserCredentials200Response - | ManagedClustersListClusterUserCredentialsdefaultResponse + | ManagedClustersListClusterUserCredentialsDefaultResponse | ManagedClustersListClusterMonitoringUserCredentials200Response - | ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse + | ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse | ManagedClustersGet200Response - | ManagedClustersGetdefaultResponse + | ManagedClustersGetDefaultResponse | ManagedClustersCreateOrUpdate200Response | ManagedClustersCreateOrUpdate201Response - | ManagedClustersCreateOrUpdatedefaultResponse + | ManagedClustersCreateOrUpdateDefaultResponse | ManagedClustersUpdateTags200Response - | ManagedClustersUpdateTagsdefaultResponse + | ManagedClustersUpdateTagsDefaultResponse | ManagedClustersDelete202Response | ManagedClustersDelete204Response - | ManagedClustersDeletedefaultResponse + | ManagedClustersDeleteDefaultResponse | ManagedClustersResetServicePrincipalProfile200Response | ManagedClustersResetServicePrincipalProfile202Response - | ManagedClustersResetServicePrincipalProfiledefaultResponse + | ManagedClustersResetServicePrincipalProfileDefaultResponse | ManagedClustersResetAADProfile200Response | ManagedClustersResetAADProfile202Response - | ManagedClustersResetAADProfiledefaultResponse + | ManagedClustersResetAADProfileDefaultResponse | ManagedClustersRotateClusterCertificates202Response | ManagedClustersRotateClusterCertificates204Response - | ManagedClustersRotateClusterCertificatesdefaultResponse + | ManagedClustersRotateClusterCertificatesDefaultResponse | ManagedClustersRotateServiceAccountSigningKeys202Response | ManagedClustersRotateServiceAccountSigningKeys204Response - | ManagedClustersRotateServiceAccountSigningKeysdefaultResponse + | ManagedClustersRotateServiceAccountSigningKeysDefaultResponse | ManagedClustersStop202Response | ManagedClustersStop204Response - | ManagedClustersStopdefaultResponse + | ManagedClustersStopDefaultResponse | ManagedClustersStart202Response | ManagedClustersStart204Response - | ManagedClustersStartdefaultResponse + | ManagedClustersStartDefaultResponse | ManagedClustersRunCommand200Response | ManagedClustersRunCommand202Response - | ManagedClustersRunCommanddefaultResponse + | ManagedClustersRunCommandDefaultResponse | ManagedClustersGetCommandResult200Response | ManagedClustersGetCommandResult202Response - | ManagedClustersGetCommandResultdefaultResponse + | ManagedClustersGetCommandResultDefaultResponse | ManagedClustersListOutboundNetworkDependenciesEndpoints200Response - | ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse + | ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse | MaintenanceConfigurationsListByManagedCluster200Response - | MaintenanceConfigurationsListByManagedClusterdefaultResponse + | MaintenanceConfigurationsListByManagedClusterDefaultResponse | MaintenanceConfigurationsGet200Response - | MaintenanceConfigurationsGetdefaultResponse + | MaintenanceConfigurationsGetDefaultResponse | MaintenanceConfigurationsCreateOrUpdate200Response - | MaintenanceConfigurationsCreateOrUpdatedefaultResponse + | MaintenanceConfigurationsCreateOrUpdateDefaultResponse | MaintenanceConfigurationsDelete200Response | MaintenanceConfigurationsDelete204Response - | MaintenanceConfigurationsDeletedefaultResponse + | MaintenanceConfigurationsDeleteDefaultResponse | AgentPoolsList200Response - | AgentPoolsListdefaultResponse + | AgentPoolsListDefaultResponse | AgentPoolsGet200Response - | AgentPoolsGetdefaultResponse + | AgentPoolsGetDefaultResponse | AgentPoolsCreateOrUpdate200Response | AgentPoolsCreateOrUpdate201Response - | AgentPoolsCreateOrUpdatedefaultResponse + | AgentPoolsCreateOrUpdateDefaultResponse | AgentPoolsDelete202Response | AgentPoolsDelete204Response - | AgentPoolsDeletedefaultResponse + | AgentPoolsDeleteDefaultResponse | AgentPoolsGetUpgradeProfile200Response - | AgentPoolsGetUpgradeProfiledefaultResponse + | AgentPoolsGetUpgradeProfileDefaultResponse | AgentPoolsUpgradeNodeImageVersion200Response | AgentPoolsUpgradeNodeImageVersion202Response - | AgentPoolsUpgradeNodeImageVersiondefaultResponse + | AgentPoolsUpgradeNodeImageVersionDefaultResponse | PrivateEndpointConnectionsList200Response - | PrivateEndpointConnectionsListdefaultResponse + | PrivateEndpointConnectionsListDefaultResponse | PrivateEndpointConnectionsGet200Response - | PrivateEndpointConnectionsGetdefaultResponse + | PrivateEndpointConnectionsGetDefaultResponse | PrivateEndpointConnectionsUpdate200Response - | PrivateEndpointConnectionsUpdatedefaultResponse + | PrivateEndpointConnectionsUpdateDefaultResponse | PrivateEndpointConnectionsDelete200Response | PrivateEndpointConnectionsDelete204Response - | PrivateEndpointConnectionsDeletedefaultResponse + | PrivateEndpointConnectionsDeleteDefaultResponse | PrivateLinkResourcesList200Response - | PrivateLinkResourcesListdefaultResponse + | PrivateLinkResourcesListDefaultResponse | ResolvePrivateLinkServiceIdPost200Response - | ResolvePrivateLinkServiceIdPostdefaultResponse + | ResolvePrivateLinkServiceIdPostDefaultResponse | SnapshotsList200Response - | SnapshotsListdefaultResponse + | SnapshotsListDefaultResponse | SnapshotsListByResourceGroup200Response - | SnapshotsListByResourceGroupdefaultResponse + | SnapshotsListByResourceGroupDefaultResponse | SnapshotsGet200Response - | SnapshotsGetdefaultResponse + | SnapshotsGetDefaultResponse | SnapshotsCreateOrUpdate200Response | SnapshotsCreateOrUpdate201Response - | SnapshotsCreateOrUpdatedefaultResponse + | SnapshotsCreateOrUpdateDefaultResponse | SnapshotsUpdateTags200Response - | SnapshotsUpdateTagsdefaultResponse + | SnapshotsUpdateTagsDefaultResponse | SnapshotsDelete200Response | SnapshotsDelete204Response - | SnapshotsDeletedefaultResponse + | SnapshotsDeleteDefaultResponse | ManagedClusterSnapshotsList200Response - | ManagedClusterSnapshotsListdefaultResponse + | ManagedClusterSnapshotsListDefaultResponse | ManagedClusterSnapshotsListByResourceGroup200Response - | ManagedClusterSnapshotsListByResourceGroupdefaultResponse + | ManagedClusterSnapshotsListByResourceGroupDefaultResponse | ManagedClusterSnapshotsGet200Response - | ManagedClusterSnapshotsGetdefaultResponse + | ManagedClusterSnapshotsGetDefaultResponse | ManagedClusterSnapshotsCreateOrUpdate200Response | ManagedClusterSnapshotsCreateOrUpdate201Response - | ManagedClusterSnapshotsCreateOrUpdatedefaultResponse + | ManagedClusterSnapshotsCreateOrUpdateDefaultResponse | ManagedClusterSnapshotsUpdateTags200Response - | ManagedClusterSnapshotsUpdateTagsdefaultResponse + | ManagedClusterSnapshotsUpdateTagsDefaultResponse | ManagedClusterSnapshotsDelete200Response | ManagedClusterSnapshotsDelete204Response - | ManagedClusterSnapshotsDeletedefaultResponse + | ManagedClusterSnapshotsDeleteDefaultResponse | TrustedAccessRolesList200Response - | TrustedAccessRolesListdefaultResponse + | TrustedAccessRolesListDefaultResponse | TrustedAccessRoleBindingsList200Response - | TrustedAccessRoleBindingsListdefaultResponse + | TrustedAccessRoleBindingsListDefaultResponse | TrustedAccessRoleBindingsGet200Response - | TrustedAccessRoleBindingsGetdefaultResponse + | TrustedAccessRoleBindingsGetDefaultResponse | TrustedAccessRoleBindingsCreateOrUpdate200Response - | TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse + | TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse | TrustedAccessRoleBindingsDelete200Response | TrustedAccessRoleBindingsDelete204Response - | TrustedAccessRoleBindingsDeletedefaultResponse, + | TrustedAccessRoleBindingsDeleteDefaultResponse, ): response is - | OperationsListdefaultResponse - | ManagedClustersGetOSOptionsdefaultResponse - | ManagedClustersListdefaultResponse - | ManagedClustersListByResourceGroupdefaultResponse - | ManagedClustersGetUpgradeProfiledefaultResponse - | ManagedClustersGetAccessProfiledefaultResponse - | ManagedClustersListClusterAdminCredentialsdefaultResponse - | ManagedClustersListClusterUserCredentialsdefaultResponse - | ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse - | ManagedClustersGetdefaultResponse - | ManagedClustersCreateOrUpdatedefaultResponse - | ManagedClustersUpdateTagsdefaultResponse - | ManagedClustersDeletedefaultResponse - | ManagedClustersResetServicePrincipalProfiledefaultResponse - | ManagedClustersResetAADProfiledefaultResponse - | ManagedClustersRotateClusterCertificatesdefaultResponse - | ManagedClustersRotateServiceAccountSigningKeysdefaultResponse - | ManagedClustersStopdefaultResponse - | ManagedClustersStartdefaultResponse - | ManagedClustersRunCommanddefaultResponse - | ManagedClustersGetCommandResultdefaultResponse - | ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse - | MaintenanceConfigurationsListByManagedClusterdefaultResponse - | MaintenanceConfigurationsGetdefaultResponse - | MaintenanceConfigurationsCreateOrUpdatedefaultResponse - | MaintenanceConfigurationsDeletedefaultResponse - | AgentPoolsListdefaultResponse - | AgentPoolsGetdefaultResponse - | AgentPoolsCreateOrUpdatedefaultResponse - | AgentPoolsDeletedefaultResponse - | AgentPoolsGetUpgradeProfiledefaultResponse - | AgentPoolsUpgradeNodeImageVersiondefaultResponse - | PrivateEndpointConnectionsListdefaultResponse - | PrivateEndpointConnectionsGetdefaultResponse - | PrivateEndpointConnectionsUpdatedefaultResponse - | PrivateEndpointConnectionsDeletedefaultResponse - | PrivateLinkResourcesListdefaultResponse - | ResolvePrivateLinkServiceIdPostdefaultResponse - | SnapshotsListdefaultResponse - | SnapshotsListByResourceGroupdefaultResponse - | SnapshotsGetdefaultResponse - | SnapshotsCreateOrUpdatedefaultResponse - | SnapshotsUpdateTagsdefaultResponse - | SnapshotsDeletedefaultResponse - | ManagedClusterSnapshotsListdefaultResponse - | ManagedClusterSnapshotsListByResourceGroupdefaultResponse - | ManagedClusterSnapshotsGetdefaultResponse - | ManagedClusterSnapshotsCreateOrUpdatedefaultResponse - | ManagedClusterSnapshotsUpdateTagsdefaultResponse - | ManagedClusterSnapshotsDeletedefaultResponse - | TrustedAccessRolesListdefaultResponse - | TrustedAccessRoleBindingsListdefaultResponse - | TrustedAccessRoleBindingsGetdefaultResponse - | TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse - | TrustedAccessRoleBindingsDeletedefaultResponse { + | OperationsListDefaultResponse + | ManagedClustersGetOSOptionsDefaultResponse + | ManagedClustersListDefaultResponse + | ManagedClustersListByResourceGroupDefaultResponse + | ManagedClustersGetUpgradeProfileDefaultResponse + | ManagedClustersGetAccessProfileDefaultResponse + | ManagedClustersListClusterAdminCredentialsDefaultResponse + | ManagedClustersListClusterUserCredentialsDefaultResponse + | ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse + | ManagedClustersGetDefaultResponse + | ManagedClustersCreateOrUpdateDefaultResponse + | ManagedClustersUpdateTagsDefaultResponse + | ManagedClustersDeleteDefaultResponse + | ManagedClustersResetServicePrincipalProfileDefaultResponse + | ManagedClustersResetAADProfileDefaultResponse + | ManagedClustersRotateClusterCertificatesDefaultResponse + | ManagedClustersRotateServiceAccountSigningKeysDefaultResponse + | ManagedClustersStopDefaultResponse + | ManagedClustersStartDefaultResponse + | ManagedClustersRunCommandDefaultResponse + | ManagedClustersGetCommandResultDefaultResponse + | ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse + | MaintenanceConfigurationsListByManagedClusterDefaultResponse + | MaintenanceConfigurationsGetDefaultResponse + | MaintenanceConfigurationsCreateOrUpdateDefaultResponse + | MaintenanceConfigurationsDeleteDefaultResponse + | AgentPoolsListDefaultResponse + | AgentPoolsGetDefaultResponse + | AgentPoolsCreateOrUpdateDefaultResponse + | AgentPoolsDeleteDefaultResponse + | AgentPoolsGetUpgradeProfileDefaultResponse + | AgentPoolsUpgradeNodeImageVersionDefaultResponse + | PrivateEndpointConnectionsListDefaultResponse + | PrivateEndpointConnectionsGetDefaultResponse + | PrivateEndpointConnectionsUpdateDefaultResponse + | PrivateEndpointConnectionsDeleteDefaultResponse + | PrivateLinkResourcesListDefaultResponse + | ResolvePrivateLinkServiceIdPostDefaultResponse + | SnapshotsListDefaultResponse + | SnapshotsListByResourceGroupDefaultResponse + | SnapshotsGetDefaultResponse + | SnapshotsCreateOrUpdateDefaultResponse + | SnapshotsUpdateTagsDefaultResponse + | SnapshotsDeleteDefaultResponse + | ManagedClusterSnapshotsListDefaultResponse + | ManagedClusterSnapshotsListByResourceGroupDefaultResponse + | ManagedClusterSnapshotsGetDefaultResponse + | ManagedClusterSnapshotsCreateOrUpdateDefaultResponse + | ManagedClusterSnapshotsUpdateTagsDefaultResponse + | ManagedClusterSnapshotsDeleteDefaultResponse + | TrustedAccessRolesListDefaultResponse + | TrustedAccessRoleBindingsListDefaultResponse + | TrustedAccessRoleBindingsGetDefaultResponse + | TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse + | TrustedAccessRoleBindingsDeleteDefaultResponse { const lroOriginal = response.headers["x-ms-original-url"]; const url = new URL(lroOriginal ?? response.request.url); const method = response.request.method; let pathDetails = responseMap[`${method} ${url.pathname}`]; if (!pathDetails) { - pathDetails = geParametrizedPathSuccess(url.pathname); + pathDetails = getParametrizedPathSuccess(method, url.pathname); } return !pathDetails.includes(response.status); } -function geParametrizedPathSuccess(path: string): string[] { +function getParametrizedPathSuccess(method: string, path: string): string[] { const pathParts = path.split("/"); + // Traverse list to match the longest candidate + // matchedLen: the length of candidate path + // matchedValue: the matched status code array + let matchedLen = -1, + matchedValue: string[] = []; + // Iterate the responseMap to find a match for (const [key, value] of Object.entries(responseMap)) { // Extracting the path from the map key which is in format // GET /path/foo + if (!key.startsWith(method)) { + continue; + } const candidatePath = getPathFromMapKey(key); // Get each part of the url path const candidateParts = candidatePath.split("/"); - // If the candidate and actual paths don't match in size - // we move on to the next candidate path - if (candidateParts.length === pathParts.length && hasParametrizedPath(key)) { - // track if we have found a match to return the values found. - let found = true; - for (let i = 0; i < candidateParts.length; i++) { - if (candidateParts[i].startsWith("{") && candidateParts[i].endsWith("}")) { - // If the current part of the candidate is a "template" part - // it is a match with the actual path part on hand - // skip as the parameterized part can match anything - continue; - } + // track if we have found a match to return the values found. + let found = true; + for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { + if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { + const start = candidateParts[i]!.indexOf("}") + 1, + end = candidateParts[i]?.length; + // If the current part of the candidate is a "template" part + // Try to use the suffix of pattern to match the path + // {guid} ==> $ + // {guid}:export ==> :export$ + const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( + pathParts[j] || "", + ); - // If the candidate part is not a template and - // the parts don't match mark the candidate as not found - // to move on with the next candidate path. - if (candidateParts[i] !== pathParts[i]) { + if (!isMatched) { found = false; break; } + continue; } - // We finished evaluating the current candidate parts - // if all parts matched we return the success values form - // the path mapping. - if (found) { - return value; + // If the candidate part is not a template and + // the parts don't match mark the candidate as not found + // to move on with the next candidate path. + if (candidateParts[i] !== pathParts[j]) { + found = false; + break; } } - } - // No match was found, return an empty array. - return []; -} + // We finished evaluating the current candidate parts + // Update the matched value if and only if we found the longer pattern + if (found && candidatePath.length > matchedLen) { + matchedLen = candidatePath.length; + matchedValue = value; + } + } -function hasParametrizedPath(path: string): boolean { - return path.includes("/{"); + return matchedValue; } function getPathFromMapKey(mapKey: string): string { diff --git a/sdk/containerservice/arm-containerservice-rest/src/logger.ts b/sdk/containerservice/arm-containerservice-rest/src/logger.ts new file mode 100644 index 000000000000..9505b8f720dd --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/src/logger.ts @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { createClientLogger } from "@azure/logger"; +export const logger = createClientLogger("arm-containerservice"); diff --git a/sdk/containerservice/arm-containerservice-rest/src/models.ts b/sdk/containerservice/arm-containerservice-rest/src/models.ts index 4d68074d66bd..0311bc94c392 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/models.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/models.ts @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** Managed cluster. */ export interface ManagedCluster extends TrackedResource { /** The managed cluster SKU. */ sku?: ManagedClusterSKU; @@ -12,6 +13,7 @@ export interface ManagedCluster extends TrackedResource { properties?: ManagedClusterProperties; } +/** The SKU of a Managed Cluster. */ export interface ManagedClusterSKU { /** The name of a managed cluster SKU. */ name?: "Basic"; @@ -19,6 +21,7 @@ export interface ManagedClusterSKU { tier?: "Paid" | "Free"; } +/** The complex type of the extended location. */ export interface ExtendedLocation { /** The name of the extended location. */ name?: string; @@ -26,47 +29,26 @@ export interface ExtendedLocation { type?: "EdgeZone"; } +/** Identity for the managed cluster. */ export interface ManagedClusterIdentity { - /** The principal id of the system assigned identity which is used by master components. */ - principalId?: string; - /** The tenant id of the system assigned identity which is used by master components. */ - tenantId?: string; /** For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ type?: "SystemAssigned" | "UserAssigned" | "None"; /** The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record; } -export interface ManagedServiceIdentityUserAssignedIdentitiesValue { - /** The principal id of user assigned identity. */ - principalId?: string; - /** The client id of user assigned identity. */ - clientId?: string; -} +export interface ManagedServiceIdentityUserAssignedIdentitiesValue {} +/** Properties of the managed cluster. */ export interface ManagedClusterProperties { - /** The current provisioning state. */ - provisioningState?: string; - /** The Power State of the cluster. */ - powerState?: PowerState; /** CreationData to be used to specify the source Snapshot ID if the cluster will be created/upgraded using a snapshot. */ creationData?: CreationData; - /** The max number of agent pools for the managed cluster. */ - maxAgentPools?: number; /** When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. */ kubernetesVersion?: string; - /** The version of Kubernetes the Managed Cluster is running. */ - currentKubernetesVersion?: string; /** This cannot be updated once the Managed Cluster has been created. */ dnsPrefix?: string; /** This cannot be updated once the Managed Cluster has been created. */ fqdnSubdomain?: string; - /** The FQDN of the master pool. */ - fqdn?: string; - /** The FQDN of private cluster. */ - privateFQDN?: string; - /** The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. */ - azurePortalFQDN?: string; /** The agent pool properties. */ agentPoolProfiles?: Array; /** The profile for Linux VMs in the Managed Cluster. */ @@ -121,21 +103,25 @@ export interface ManagedClusterProperties { workloadAutoScalerProfile?: ManagedClusterWorkloadAutoScalerProfile; } +/** Describes the Power State of the cluster */ export interface PowerState { /** Tells whether the cluster is Running or Stopped */ code?: "Running" | "Stopped"; } +/** Data used when creating a target resource from a source resource. */ export interface CreationData { /** This is the ARM ID of the source object to be used to create the target object. */ sourceResourceId?: string; } +/** Profile for the container service agent pool. */ export interface ManagedClusterAgentPoolProfile extends ManagedClusterAgentPoolProfileProperties { /** Windows agent pool names must be 6 characters or less. */ name: string; } +/** Properties for the container service agent pool profile. */ export interface ManagedClusterAgentPoolProfileProperties { /** Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ count?: number; @@ -175,14 +161,8 @@ export interface ManagedClusterAgentPoolProfileProperties { mode?: "System" | "User"; /** Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: string; - /** If orchestratorVersion was a fully specified version , this field will be exactly equal to it. If orchestratorVersion was , this field will contain the full version being used. */ - currentOrchestratorVersion?: string; - /** The version of node image */ - nodeImageVersion?: string; /** Settings for upgrading the agentpool */ upgradeSettings?: AgentPoolUpgradeSettings; - /** The current deployment or provisioning state. */ - provisioningState?: string; /** When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded */ powerState?: PowerState; /** The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ @@ -227,11 +207,13 @@ export interface ManagedClusterAgentPoolProfileProperties { hostGroupID?: string; } +/** Settings for upgrading an agentpool */ export interface AgentPoolUpgradeSettings { /** This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade */ maxSurge?: string; } +/** See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ export interface KubeletConfig { /** The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. */ cpuManagerPolicy?: string; @@ -257,6 +239,7 @@ export interface KubeletConfig { podMaxPids?: number; } +/** See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ export interface LinuxOSConfig { /** Sysctl settings for Linux agent nodes. */ sysctls?: SysctlConfig; @@ -268,6 +251,7 @@ export interface LinuxOSConfig { swapFileSizeMB?: number; } +/** Sysctl settings for Linux agent nodes. */ export interface SysctlConfig { /** Sysctl setting net.core.somaxconn. */ netCoreSomaxconn?: number; @@ -327,6 +311,7 @@ export interface SysctlConfig { vmVfsCachePressure?: number; } +/** Profile for Linux VMs in the container service cluster. */ export interface ContainerServiceLinuxProfile { /** The administrator username to use for Linux VMs. */ adminUsername: string; @@ -334,16 +319,19 @@ export interface ContainerServiceLinuxProfile { ssh: ContainerServiceSshConfiguration; } +/** SSH configuration for Linux-based VMs running on Azure. */ export interface ContainerServiceSshConfiguration { /** The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ publicKeys: Array; } +/** Contains information about SSH certificate public key data. */ export interface ContainerServiceSshPublicKey { /** Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. */ keyData: string; } +/** Profile for Windows VMs in the managed cluster. */ export interface ManagedClusterWindowsProfile { /** Specifies the name of the administrator account.

    **Restriction:** Cannot end in "."

    **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

    **Minimum-length:** 1 character

    **Max-length:** 20 characters */ adminUsername: string; @@ -357,6 +345,7 @@ export interface ManagedClusterWindowsProfile { gmsaProfile?: WindowsGmsaProfile; } +/** Windows gMSA Profile in the managed cluster. */ export interface WindowsGmsaProfile { /** Specifies whether to enable Windows gMSA in the managed cluster. */ enabled?: boolean; @@ -366,6 +355,7 @@ export interface WindowsGmsaProfile { rootDomainName?: string; } +/** Information about a service principal identity for the cluster to use for manipulating Azure APIs. */ export interface ManagedClusterServicePrincipalProfile { /** The ID for the service principal. */ clientId: string; @@ -373,17 +363,18 @@ export interface ManagedClusterServicePrincipalProfile { secret?: string; } +/** A Kubernetes add-on profile for a managed cluster. */ export interface ManagedClusterAddonProfile { /** Whether the add-on is enabled or not. */ enabled: boolean; /** Key-value pairs for configuring an add-on. */ config?: Record; - /** Information of user assigned identity used by this add-on. */ - identity?: ManagedClusterAddonProfileIdentity; } +/** Information of user assigned identity used by this add-on. */ export interface ManagedClusterAddonProfileIdentity extends UserAssignedIdentity {} +/** Details about a user assigned identity. */ export interface UserAssignedIdentity { /** The resource ID of the user assigned identity. */ resourceId?: string; @@ -393,6 +384,7 @@ export interface UserAssignedIdentity { objectId?: string; } +/** See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. */ export interface ManagedClusterPodIdentityProfile { /** Whether the pod identity addon is enabled. */ enabled?: boolean; @@ -404,6 +396,7 @@ export interface ManagedClusterPodIdentityProfile { userAssignedIdentityExceptions?: Array; } +/** Details about the pod identity assigned to the Managed Cluster. */ export interface ManagedClusterPodIdentity { /** The name of the pod identity. */ name: string; @@ -413,9 +406,6 @@ export interface ManagedClusterPodIdentity { bindingSelector?: string; /** The user assigned identity details. */ identity: UserAssignedIdentity; - /** The current provisioning state of the pod identity. */ - provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; - provisioningInfo?: ManagedClusterPodIdentityProvisioningInfo; } export interface ManagedClusterPodIdentityProvisioningInfo { @@ -423,11 +413,13 @@ export interface ManagedClusterPodIdentityProvisioningInfo { error?: ManagedClusterPodIdentityProvisioningError; } +/** An error response from the pod identity provisioning. */ export interface ManagedClusterPodIdentityProvisioningError { /** Details about the error. */ error?: ManagedClusterPodIdentityProvisioningErrorBody; } +/** An error response from the pod identity provisioning. */ export interface ManagedClusterPodIdentityProvisioningErrorBody { /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */ code?: string; @@ -439,6 +431,7 @@ export interface ManagedClusterPodIdentityProvisioningErrorBody { details?: Array; } +/** See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. */ export interface ManagedClusterPodIdentityException { /** The name of the pod identity exception. */ name: string; @@ -448,13 +441,13 @@ export interface ManagedClusterPodIdentityException { podLabels: Record; } +/** The OIDC issuer profile of the Managed Cluster. */ export interface ManagedClusterOidcIssuerProfile { - /** The OIDC issuer url of the Managed Cluster. */ - issuerURL?: string; /** Whether the OIDC issuer is enabled. */ enabled?: boolean; } +/** Profile of network configuration. */ export interface ContainerServiceNetworkProfile { /** Network plugin used for building the Kubernetes network. */ networkPlugin?: "azure" | "kubenet" | "none"; @@ -492,6 +485,7 @@ export interface ContainerServiceNetworkProfile { ipFamilies?: Array<"IPv4" | "IPv6">; } +/** Profile of the managed cluster load balancer. */ export interface ManagedClusterLoadBalancerProfile { /** Desired managed outbound IPs for the cluster load balancer. */ managedOutboundIPs?: ManagedClusterLoadBalancerProfileManagedOutboundIPs; @@ -509,6 +503,7 @@ export interface ManagedClusterLoadBalancerProfile { enableMultipleStandardLoadBalancers?: boolean; } +/** Desired managed outbound IPs for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileManagedOutboundIPs { /** The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. */ count?: number; @@ -516,21 +511,25 @@ export interface ManagedClusterLoadBalancerProfileManagedOutboundIPs { countIPv6?: number; } +/** Desired outbound IP Prefix resources for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileOutboundIPPrefixes { /** A list of public IP prefix resources. */ publicIPPrefixes?: Array; } +/** A reference to an Azure resource. */ export interface ResourceReference { /** The fully qualified Azure resource id. */ id?: string; } +/** Desired outbound IP resources for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileOutboundIPs { /** A list of public IP resources. */ publicIPs?: Array; } +/** Profile of the managed cluster NAT gateway. */ export interface ManagedClusterNATGatewayProfile { /** Profile of the managed outbound IP resources of the cluster NAT gateway. */ managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfile; @@ -540,11 +539,13 @@ export interface ManagedClusterNATGatewayProfile { idleTimeoutInMinutes?: number; } +/** Profile of the managed outbound IP resources of the managed cluster. */ export interface ManagedClusterManagedOutboundIPProfile { /** The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. */ count?: number; } +/** For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). */ export interface ManagedClusterAADProfile { /** Whether to enable managed AAD. */ managed?: boolean; @@ -562,11 +563,13 @@ export interface ManagedClusterAADProfile { tenantID?: string; } +/** Auto upgrade profile for a managed cluster. */ export interface ManagedClusterAutoUpgradeProfile { /** For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ upgradeChannel?: "rapid" | "stable" | "patch" | "node-image" | "none"; } +/** Parameters to be applied to the cluster-autoscaler when enabled */ export interface ManagedClusterPropertiesAutoScalerProfile { /** Valid values are 'true' and 'false' */ "balance-similar-node-groups"?: string; @@ -604,6 +607,7 @@ export interface ManagedClusterPropertiesAutoScalerProfile { "skip-nodes-with-system-pods"?: string; } +/** Access profile for managed cluster API server. */ export interface ManagedClusterAPIServerAccessProfile { /** IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). */ authorizedIPRanges?: Array; @@ -621,6 +625,7 @@ export interface ManagedClusterAPIServerAccessProfile { subnetId?: string; } +/** A private link resource */ export interface PrivateLinkResource { /** The ID of the private link resource. */ id?: string; @@ -632,10 +637,9 @@ export interface PrivateLinkResource { groupId?: string; /** The RequiredMembers of the resource */ requiredMembers?: Array; - /** The private link service ID of the resource, this field is exposed only to NRP internally. */ - privateLinkServiceID?: string; } +/** Cluster HTTP proxy configuration. */ export interface ManagedClusterHttpProxyConfig { /** The HTTP proxy server endpoint to use. */ httpProxy?: string; @@ -643,12 +647,11 @@ export interface ManagedClusterHttpProxyConfig { httpsProxy?: string; /** The endpoints that should not go through proxy. */ noProxy?: Array; - /** A read-only list of all endpoints for which traffic should not be sent to the proxy. This list is a superset of noProxy and values injected by AKS. */ - effectiveNoProxy?: Array; /** Alternative CA cert to use for connecting to proxy servers. */ trustedCa?: string; } +/** Security profile for the container service cluster. */ export interface ManagedClusterSecurityProfile { /** Microsoft Defender settings for the security profile. */ defender?: ManagedClusterSecurityProfileDefender; @@ -658,6 +661,7 @@ export interface ManagedClusterSecurityProfile { workloadIdentity?: ManagedClusterSecurityProfileWorkloadIdentity; } +/** Microsoft Defender settings for the security profile. */ export interface ManagedClusterSecurityProfileDefender { /** Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. */ logAnalyticsWorkspaceResourceId?: string; @@ -665,11 +669,13 @@ export interface ManagedClusterSecurityProfileDefender { securityMonitoring?: ManagedClusterSecurityProfileDefenderSecurityMonitoring; } +/** Microsoft Defender settings for the security profile threat detection. */ export interface ManagedClusterSecurityProfileDefenderSecurityMonitoring { /** Whether to enable Defender threat detection */ enabled?: boolean; } +/** Azure Key Vault key management service settings for the security profile. */ export interface AzureKeyVaultKms { /** Whether to enable Azure Key Vault key management service. The default is false. */ enabled?: boolean; @@ -681,11 +687,13 @@ export interface AzureKeyVaultKms { keyVaultResourceId?: string; } +/** Workload Identity settings for the security profile. */ export interface ManagedClusterSecurityProfileWorkloadIdentity { /** Whether to enable Workload Identity */ enabled?: boolean; } +/** Storage profile for the container service cluster. */ export interface ManagedClusterStorageProfile { /** AzureDisk CSI Driver settings for the storage profile. */ diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriver; @@ -697,6 +705,7 @@ export interface ManagedClusterStorageProfile { blobCSIDriver?: ManagedClusterStorageProfileBlobCSIDriver; } +/** AzureDisk CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileDiskCSIDriver { /** Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: boolean; @@ -704,26 +713,31 @@ export interface ManagedClusterStorageProfileDiskCSIDriver { version?: string; } +/** AzureFile CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileFileCSIDriver { /** Whether to enable AzureFile CSI Driver. The default value is true. */ enabled?: boolean; } +/** Snapshot Controller settings for the storage profile. */ export interface ManagedClusterStorageProfileSnapshotController { /** Whether to enable Snapshot Controller. The default value is true. */ enabled?: boolean; } +/** AzureBlob CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileBlobCSIDriver { /** Whether to enable AzureBlob CSI Driver. The default value is false. */ enabled?: boolean; } +/** Ingress profile for the container service cluster. */ export interface ManagedClusterIngressProfile { /** Web App Routing settings for the ingress profile. */ webAppRouting?: ManagedClusterIngressProfileWebAppRouting; } +/** Web App Routing settings for the ingress profile. */ export interface ManagedClusterIngressProfileWebAppRouting { /** Whether to enable Web App Routing. */ enabled?: boolean; @@ -731,16 +745,19 @@ export interface ManagedClusterIngressProfileWebAppRouting { dnsZoneResourceId?: string; } +/** Workload Auto-scaler profile for the container service cluster. */ export interface ManagedClusterWorkloadAutoScalerProfile { /** KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ keda?: ManagedClusterWorkloadAutoScalerProfileKeda; } +/** KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ export interface ManagedClusterWorkloadAutoScalerProfileKeda { /** Whether to enable KEDA. */ enabled: boolean; } +/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResource extends Resource { /** Resource tags. */ tags?: Record; @@ -748,17 +765,10 @@ export interface TrackedResource extends Resource { location: string; } -export interface Resource { - /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ - id?: string; - /** The name of the resource */ - name?: string; - /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ - type?: string; - /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - systemData?: SystemData; -} +/** Common fields that are returned in the response for all Azure Resource Manager resources */ +export interface Resource {} +/** Metadata pertaining to creation and last modification of the resource. */ export interface SystemData { /** The identity that created the resource. */ createdBy?: string; @@ -774,11 +784,13 @@ export interface SystemData { lastModifiedAt?: Date | string; } +/** Managed cluster Access Profile. */ export interface ManagedClusterAccessProfile extends TrackedResource { /** AccessProfile of a managed cluster. */ properties?: AccessProfile; } +/** Profile for enabling a user to access a managed cluster. */ export interface AccessProfile { /** * Base64-encoded Kubernetes configuration file. @@ -788,18 +800,19 @@ export interface AccessProfile { kubeConfig?: string; } +/** Tags object for patch operations. */ export interface TagsObject { /** Resource tags. */ tags?: Record; } +/** See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. */ export interface MaintenanceConfiguration extends SubResource { - /** The system metadata relating to this resource. */ - systemData?: SystemData; /** Properties of a default maintenance configuration. */ properties?: MaintenanceConfigurationProperties; } +/** Properties used to configure planned maintenance for a Managed Cluster. */ export interface MaintenanceConfigurationProperties { /** If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. */ timeInWeek?: Array; @@ -807,6 +820,7 @@ export interface MaintenanceConfigurationProperties { notAllowedTime?: Array; } +/** Time in a week. */ export interface TimeInWeek { /** The day of the week. */ day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; @@ -814,6 +828,7 @@ export interface TimeInWeek { hourSlots?: Array; } +/** For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. */ export interface TimeSpan { /** The start of a time span */ start?: Date | string; @@ -821,45 +836,36 @@ export interface TimeSpan { end?: Date | string; } -export interface SubResource { - /** Resource ID. */ - id?: string; - /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ - name?: string; - /** Resource type */ - type?: string; -} +/** Reference to another subresource. */ +export interface SubResource {} +/** Agent Pool. */ export interface AgentPool extends SubResource { /** Properties of an agent pool. */ properties?: ManagedClusterAgentPoolProfileProperties; } +/** A private endpoint connection */ export interface PrivateEndpointConnection { - /** The ID of the private endpoint connection. */ - id?: string; - /** The name of the private endpoint connection. */ - name?: string; - /** The resource type. */ - type?: string; /** The properties of a private endpoint connection. */ properties?: PrivateEndpointConnectionProperties; } +/** Properties of a private endpoint connection. */ export interface PrivateEndpointConnectionProperties { - /** The current provisioning state. */ - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; /** The resource of private endpoint. */ privateEndpoint?: PrivateEndpoint; /** A collection of information about the state of the connection between service consumer and provider. */ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; } +/** Private endpoint which a connection belongs to. */ export interface PrivateEndpoint { /** The resource ID of the private endpoint */ id?: string; } +/** The state of a private link service connection. */ export interface PrivateLinkServiceConnectionState { /** The private link service connection status. */ status?: "Pending" | "Approved" | "Rejected" | "Disconnected"; @@ -867,6 +873,7 @@ export interface PrivateLinkServiceConnectionState { description?: string; } +/** A run command request */ export interface RunCommandRequest { /** The command to run. */ command: string; @@ -876,44 +883,35 @@ export interface RunCommandRequest { clusterToken?: string; } +/** A node pool snapshot resource. */ export interface Snapshot extends TrackedResource { /** Properties of a snapshot. */ properties?: SnapshotProperties; } +/** Properties used to configure a node pool snapshot. */ export interface SnapshotProperties { /** CreationData to be used to specify the source agent pool resource ID to create this snapshot. */ creationData?: CreationData; /** The type of a snapshot. The default is NodePool. */ snapshotType?: "NodePool" | "ManagedCluster"; - /** The version of Kubernetes. */ - kubernetesVersion?: string; - /** The version of node image. */ - nodeImageVersion?: string; - /** The operating system type. The default is Linux. */ - osType?: "Linux" | "Windows"; - /** Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. */ - osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; - /** The size of the VM. */ - vmSize?: string; - /** Whether to use a FIPS-enabled OS. */ - enableFIPS?: boolean; } +/** A managed cluster snapshot resource. */ export interface ManagedClusterSnapshot extends TrackedResource { /** Properties of a managed cluster snapshot. */ properties?: ManagedClusterSnapshotProperties; } +/** Properties for a managed cluster snapshot. */ export interface ManagedClusterSnapshotProperties { /** CreationData to be used to specify the source resource ID to create this snapshot. */ creationData?: CreationData; /** The type of a snapshot. The default is NodePool. */ snapshotType?: "NodePool" | "ManagedCluster"; - /** What the properties will be showed when getting managed cluster snapshot. Those properties are read-only. */ - managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshot; } +/** managed cluster properties for snapshot, these properties are read only. */ export interface ManagedClusterPropertiesForSnapshot { /** The current kubernetes version. */ kubernetesVersion?: string; @@ -921,10 +919,9 @@ export interface ManagedClusterPropertiesForSnapshot { sku?: ManagedClusterSKU; /** Whether the cluster has enabled Kubernetes Role-Based Access Control or not. */ enableRbac?: boolean; - /** The current network profile. */ - networkProfile?: NetworkProfileForSnapshot; } +/** network profile for managed cluster snapshot, these properties are read only. */ export interface NetworkProfileForSnapshot { /** networkPlugin for managed cluster snapshot. */ networkPlugin?: "azure" | "kubenet" | "none"; @@ -938,14 +935,14 @@ export interface NetworkProfileForSnapshot { loadBalancerSku?: "standard" | "basic"; } +/** Defines binding between a resource and role */ export interface TrustedAccessRoleBinding extends Resource { /** Properties for trusted access role binding */ properties: TrustedAccessRoleBindingProperties; } +/** Properties for trusted access role binding */ export interface TrustedAccessRoleBindingProperties { - /** The current provisioning state of trusted access role binding. */ - provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; /** The ARM resource ID of source resource that trusted access is configured for. */ sourceResourceId: string; /** A list of roles to bind, each item is a resource type qualified role name. For example: 'Microsoft.MachineLearningServices/workspaces/reader'. */ diff --git a/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts b/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts index 6a97d6578b7c..aa20461795ec 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/outputModels.ts @@ -1,36 +1,41 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** The List Operation response. */ export interface OperationListResultOutput { /** The list of operations */ - value?: Array; + readonly value?: Array; } +/** Describes the properties of a Operation value. */ export interface OperationValueOutput { /** The origin of the operation. */ - origin?: string; + readonly origin?: string; /** The name of the operation. */ - name?: string; + readonly name?: string; /** Describes the properties of a Operation Value Display. */ display?: OperationValueDisplayOutput; } +/** Describes the properties of a Operation Value Display. */ export interface OperationValueDisplayOutput { /** The display name of the operation. */ - operation?: string; + readonly operation?: string; /** The display name of the resource the operation applies to. */ - resource?: string; + readonly resource?: string; /** The description of the operation. */ - description?: string; + readonly description?: string; /** The resource provider for the operation. */ - provider?: string; + readonly provider?: string; } +/** An error response from the Container service. */ export interface CloudErrorOutput { /** Details about the error. */ error?: CloudErrorBodyOutput; } +/** An error response from the Container service. */ export interface CloudErrorBodyOutput { /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */ code?: string; @@ -42,22 +47,25 @@ export interface CloudErrorBodyOutput { details?: Array; } +/** The OS option profile. */ export interface OSOptionProfileOutput { /** The ID of the OS option resource. */ - id?: string; + readonly id?: string; /** The name of the OS option resource. */ - name?: string; + readonly name?: string; /** The type of the OS option resource. */ - type?: string; + readonly type?: string; /** The list of OS options. */ properties: OSOptionPropertyListOutput; } +/** The list of OS option properties. */ export interface OSOptionPropertyListOutput { /** The list of OS options. */ osOptionPropertyList: Array; } +/** OS option property. */ export interface OSOptionPropertyOutput { /** The OS type. */ "os-type": string; @@ -65,13 +73,15 @@ export interface OSOptionPropertyOutput { "enable-fips-image": boolean; } +/** The response from the List Managed Clusters operation. */ export interface ManagedClusterListResultOutput { /** The list of managed clusters. */ value?: Array; /** The URL to get the next set of managed cluster results. */ - nextLink?: string; + readonly nextLink?: string; } +/** Managed cluster. */ export interface ManagedClusterOutput extends TrackedResourceOutput { /** The managed cluster SKU. */ sku?: ManagedClusterSKUOutput; @@ -83,6 +93,7 @@ export interface ManagedClusterOutput extends TrackedResourceOutput { properties?: ManagedClusterPropertiesOutput; } +/** The SKU of a Managed Cluster. */ export interface ManagedClusterSKUOutput { /** The name of a managed cluster SKU. */ name?: "Basic"; @@ -90,6 +101,7 @@ export interface ManagedClusterSKUOutput { tier?: "Paid" | "Free"; } +/** The complex type of the extended location. */ export interface ExtendedLocationOutput { /** The name of the extended location. */ name?: string; @@ -97,11 +109,12 @@ export interface ExtendedLocationOutput { type?: "EdgeZone"; } +/** Identity for the managed cluster. */ export interface ManagedClusterIdentityOutput { /** The principal id of the system assigned identity which is used by master components. */ - principalId?: string; + readonly principalId?: string; /** The tenant id of the system assigned identity which is used by master components. */ - tenantId?: string; + readonly tenantId?: string; /** For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). */ type?: "SystemAssigned" | "UserAssigned" | "None"; /** The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ @@ -110,34 +123,35 @@ export interface ManagedClusterIdentityOutput { export interface ManagedServiceIdentityUserAssignedIdentitiesValueOutput { /** The principal id of user assigned identity. */ - principalId?: string; + readonly principalId?: string; /** The client id of user assigned identity. */ - clientId?: string; + readonly clientId?: string; } +/** Properties of the managed cluster. */ export interface ManagedClusterPropertiesOutput { /** The current provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** The Power State of the cluster. */ - powerState?: PowerStateOutput; + readonly powerState?: PowerStateOutput; /** CreationData to be used to specify the source Snapshot ID if the cluster will be created/upgraded using a snapshot. */ creationData?: CreationDataOutput; /** The max number of agent pools for the managed cluster. */ - maxAgentPools?: number; + readonly maxAgentPools?: number; /** When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. */ kubernetesVersion?: string; /** The version of Kubernetes the Managed Cluster is running. */ - currentKubernetesVersion?: string; + readonly currentKubernetesVersion?: string; /** This cannot be updated once the Managed Cluster has been created. */ dnsPrefix?: string; /** This cannot be updated once the Managed Cluster has been created. */ fqdnSubdomain?: string; /** The FQDN of the master pool. */ - fqdn?: string; + readonly fqdn?: string; /** The FQDN of private cluster. */ - privateFQDN?: string; + readonly privateFQDN?: string; /** The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. */ - azurePortalFQDN?: string; + readonly azurePortalFQDN?: string; /** The agent pool properties. */ agentPoolProfiles?: Array; /** The profile for Linux VMs in the Managed Cluster. */ @@ -192,22 +206,26 @@ export interface ManagedClusterPropertiesOutput { workloadAutoScalerProfile?: ManagedClusterWorkloadAutoScalerProfileOutput; } +/** Describes the Power State of the cluster */ export interface PowerStateOutput { /** Tells whether the cluster is Running or Stopped */ code?: "Running" | "Stopped"; } +/** Data used when creating a target resource from a source resource. */ export interface CreationDataOutput { /** This is the ARM ID of the source object to be used to create the target object. */ sourceResourceId?: string; } +/** Profile for the container service agent pool. */ export interface ManagedClusterAgentPoolProfileOutput extends ManagedClusterAgentPoolProfilePropertiesOutput { /** Windows agent pool names must be 6 characters or less. */ name: string; } +/** Properties for the container service agent pool profile. */ export interface ManagedClusterAgentPoolProfilePropertiesOutput { /** Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ count?: number; @@ -248,13 +266,13 @@ export interface ManagedClusterAgentPoolProfilePropertiesOutput { /** Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: string; /** If orchestratorVersion was a fully specified version , this field will be exactly equal to it. If orchestratorVersion was , this field will contain the full version being used. */ - currentOrchestratorVersion?: string; + readonly currentOrchestratorVersion?: string; /** The version of node image */ - nodeImageVersion?: string; + readonly nodeImageVersion?: string; /** Settings for upgrading the agentpool */ upgradeSettings?: AgentPoolUpgradeSettingsOutput; /** The current deployment or provisioning state. */ - provisioningState?: string; + readonly provisioningState?: string; /** When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded */ powerState?: PowerStateOutput; /** The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'. */ @@ -299,11 +317,13 @@ export interface ManagedClusterAgentPoolProfilePropertiesOutput { hostGroupID?: string; } +/** Settings for upgrading an agentpool */ export interface AgentPoolUpgradeSettingsOutput { /** This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade */ maxSurge?: string; } +/** See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ export interface KubeletConfigOutput { /** The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'. */ cpuManagerPolicy?: string; @@ -329,6 +349,7 @@ export interface KubeletConfigOutput { podMaxPids?: number; } +/** See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */ export interface LinuxOSConfigOutput { /** Sysctl settings for Linux agent nodes. */ sysctls?: SysctlConfigOutput; @@ -340,6 +361,7 @@ export interface LinuxOSConfigOutput { swapFileSizeMB?: number; } +/** Sysctl settings for Linux agent nodes. */ export interface SysctlConfigOutput { /** Sysctl setting net.core.somaxconn. */ netCoreSomaxconn?: number; @@ -399,6 +421,7 @@ export interface SysctlConfigOutput { vmVfsCachePressure?: number; } +/** Profile for Linux VMs in the container service cluster. */ export interface ContainerServiceLinuxProfileOutput { /** The administrator username to use for Linux VMs. */ adminUsername: string; @@ -406,16 +429,19 @@ export interface ContainerServiceLinuxProfileOutput { ssh: ContainerServiceSshConfigurationOutput; } +/** SSH configuration for Linux-based VMs running on Azure. */ export interface ContainerServiceSshConfigurationOutput { /** The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified. */ publicKeys: Array; } +/** Contains information about SSH certificate public key data. */ export interface ContainerServiceSshPublicKeyOutput { /** Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. */ keyData: string; } +/** Profile for Windows VMs in the managed cluster. */ export interface ManagedClusterWindowsProfileOutput { /** Specifies the name of the administrator account.

    **Restriction:** Cannot end in "."

    **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

    **Minimum-length:** 1 character

    **Max-length:** 20 characters */ adminUsername: string; @@ -429,6 +455,7 @@ export interface ManagedClusterWindowsProfileOutput { gmsaProfile?: WindowsGmsaProfileOutput; } +/** Windows gMSA Profile in the managed cluster. */ export interface WindowsGmsaProfileOutput { /** Specifies whether to enable Windows gMSA in the managed cluster. */ enabled?: boolean; @@ -438,6 +465,7 @@ export interface WindowsGmsaProfileOutput { rootDomainName?: string; } +/** Information about a service principal identity for the cluster to use for manipulating Azure APIs. */ export interface ManagedClusterServicePrincipalProfileOutput { /** The ID for the service principal. */ clientId: string; @@ -445,17 +473,20 @@ export interface ManagedClusterServicePrincipalProfileOutput { secret?: string; } +/** A Kubernetes add-on profile for a managed cluster. */ export interface ManagedClusterAddonProfileOutput { /** Whether the add-on is enabled or not. */ enabled: boolean; /** Key-value pairs for configuring an add-on. */ config?: Record; /** Information of user assigned identity used by this add-on. */ - identity?: ManagedClusterAddonProfileIdentityOutput; + readonly identity?: ManagedClusterAddonProfileIdentityOutput; } +/** Information of user assigned identity used by this add-on. */ export interface ManagedClusterAddonProfileIdentityOutput extends UserAssignedIdentityOutput {} +/** Details about a user assigned identity. */ export interface UserAssignedIdentityOutput { /** The resource ID of the user assigned identity. */ resourceId?: string; @@ -465,6 +496,7 @@ export interface UserAssignedIdentityOutput { objectId?: string; } +/** See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration. */ export interface ManagedClusterPodIdentityProfileOutput { /** Whether the pod identity addon is enabled. */ enabled?: boolean; @@ -476,6 +508,7 @@ export interface ManagedClusterPodIdentityProfileOutput { userAssignedIdentityExceptions?: Array; } +/** Details about the pod identity assigned to the Managed Cluster. */ export interface ManagedClusterPodIdentityOutput { /** The name of the pod identity. */ name: string; @@ -486,8 +519,8 @@ export interface ManagedClusterPodIdentityOutput { /** The user assigned identity details. */ identity: UserAssignedIdentityOutput; /** The current provisioning state of the pod identity. */ - provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; - provisioningInfo?: ManagedClusterPodIdentityProvisioningInfoOutput; + readonly provisioningState?: "Assigned" | "Updating" | "Deleting" | "Failed"; + readonly provisioningInfo?: ManagedClusterPodIdentityProvisioningInfoOutput; } export interface ManagedClusterPodIdentityProvisioningInfoOutput { @@ -495,11 +528,13 @@ export interface ManagedClusterPodIdentityProvisioningInfoOutput { error?: ManagedClusterPodIdentityProvisioningErrorOutput; } +/** An error response from the pod identity provisioning. */ export interface ManagedClusterPodIdentityProvisioningErrorOutput { /** Details about the error. */ error?: ManagedClusterPodIdentityProvisioningErrorBodyOutput; } +/** An error response from the pod identity provisioning. */ export interface ManagedClusterPodIdentityProvisioningErrorBodyOutput { /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */ code?: string; @@ -511,6 +546,7 @@ export interface ManagedClusterPodIdentityProvisioningErrorBodyOutput { details?: Array; } +/** See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details. */ export interface ManagedClusterPodIdentityExceptionOutput { /** The name of the pod identity exception. */ name: string; @@ -520,13 +556,15 @@ export interface ManagedClusterPodIdentityExceptionOutput { podLabels: Record; } +/** The OIDC issuer profile of the Managed Cluster. */ export interface ManagedClusterOidcIssuerProfileOutput { /** The OIDC issuer url of the Managed Cluster. */ - issuerURL?: string; + readonly issuerURL?: string; /** Whether the OIDC issuer is enabled. */ enabled?: boolean; } +/** Profile of network configuration. */ export interface ContainerServiceNetworkProfileOutput { /** Network plugin used for building the Kubernetes network. */ networkPlugin?: "azure" | "kubenet" | "none"; @@ -564,6 +602,7 @@ export interface ContainerServiceNetworkProfileOutput { ipFamilies?: Array<"IPv4" | "IPv6">; } +/** Profile of the managed cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileOutput { /** Desired managed outbound IPs for the cluster load balancer. */ managedOutboundIPs?: ManagedClusterLoadBalancerProfileManagedOutboundIPsOutput; @@ -581,6 +620,7 @@ export interface ManagedClusterLoadBalancerProfileOutput { enableMultipleStandardLoadBalancers?: boolean; } +/** Desired managed outbound IPs for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileManagedOutboundIPsOutput { /** The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. */ count?: number; @@ -588,21 +628,25 @@ export interface ManagedClusterLoadBalancerProfileManagedOutboundIPsOutput { countIPv6?: number; } +/** Desired outbound IP Prefix resources for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileOutboundIPPrefixesOutput { /** A list of public IP prefix resources. */ publicIPPrefixes?: Array; } +/** A reference to an Azure resource. */ export interface ResourceReferenceOutput { /** The fully qualified Azure resource id. */ id?: string; } +/** Desired outbound IP resources for the cluster load balancer. */ export interface ManagedClusterLoadBalancerProfileOutboundIPsOutput { /** A list of public IP resources. */ publicIPs?: Array; } +/** Profile of the managed cluster NAT gateway. */ export interface ManagedClusterNATGatewayProfileOutput { /** Profile of the managed outbound IP resources of the cluster NAT gateway. */ managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfileOutput; @@ -612,11 +656,13 @@ export interface ManagedClusterNATGatewayProfileOutput { idleTimeoutInMinutes?: number; } +/** Profile of the managed outbound IP resources of the managed cluster. */ export interface ManagedClusterManagedOutboundIPProfileOutput { /** The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. */ count?: number; } +/** For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). */ export interface ManagedClusterAADProfileOutput { /** Whether to enable managed AAD. */ managed?: boolean; @@ -634,11 +680,13 @@ export interface ManagedClusterAADProfileOutput { tenantID?: string; } +/** Auto upgrade profile for a managed cluster. */ export interface ManagedClusterAutoUpgradeProfileOutput { /** For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). */ upgradeChannel?: "rapid" | "stable" | "patch" | "node-image" | "none"; } +/** Parameters to be applied to the cluster-autoscaler when enabled */ export interface ManagedClusterPropertiesAutoScalerProfileOutput { /** Valid values are 'true' and 'false' */ "balance-similar-node-groups"?: string; @@ -676,6 +724,7 @@ export interface ManagedClusterPropertiesAutoScalerProfileOutput { "skip-nodes-with-system-pods"?: string; } +/** Access profile for managed cluster API server. */ export interface ManagedClusterAPIServerAccessProfileOutput { /** IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). */ authorizedIPRanges?: Array; @@ -693,6 +742,7 @@ export interface ManagedClusterAPIServerAccessProfileOutput { subnetId?: string; } +/** A private link resource */ export interface PrivateLinkResourceOutput { /** The ID of the private link resource. */ id?: string; @@ -705,9 +755,10 @@ export interface PrivateLinkResourceOutput { /** The RequiredMembers of the resource */ requiredMembers?: Array; /** The private link service ID of the resource, this field is exposed only to NRP internally. */ - privateLinkServiceID?: string; + readonly privateLinkServiceID?: string; } +/** Cluster HTTP proxy configuration. */ export interface ManagedClusterHttpProxyConfigOutput { /** The HTTP proxy server endpoint to use. */ httpProxy?: string; @@ -716,11 +767,12 @@ export interface ManagedClusterHttpProxyConfigOutput { /** The endpoints that should not go through proxy. */ noProxy?: Array; /** A read-only list of all endpoints for which traffic should not be sent to the proxy. This list is a superset of noProxy and values injected by AKS. */ - effectiveNoProxy?: Array; + readonly effectiveNoProxy?: Array; /** Alternative CA cert to use for connecting to proxy servers. */ trustedCa?: string; } +/** Security profile for the container service cluster. */ export interface ManagedClusterSecurityProfileOutput { /** Microsoft Defender settings for the security profile. */ defender?: ManagedClusterSecurityProfileDefenderOutput; @@ -730,6 +782,7 @@ export interface ManagedClusterSecurityProfileOutput { workloadIdentity?: ManagedClusterSecurityProfileWorkloadIdentityOutput; } +/** Microsoft Defender settings for the security profile. */ export interface ManagedClusterSecurityProfileDefenderOutput { /** Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty. */ logAnalyticsWorkspaceResourceId?: string; @@ -737,11 +790,13 @@ export interface ManagedClusterSecurityProfileDefenderOutput { securityMonitoring?: ManagedClusterSecurityProfileDefenderSecurityMonitoringOutput; } +/** Microsoft Defender settings for the security profile threat detection. */ export interface ManagedClusterSecurityProfileDefenderSecurityMonitoringOutput { /** Whether to enable Defender threat detection */ enabled?: boolean; } +/** Azure Key Vault key management service settings for the security profile. */ export interface AzureKeyVaultKmsOutput { /** Whether to enable Azure Key Vault key management service. The default is false. */ enabled?: boolean; @@ -753,11 +808,13 @@ export interface AzureKeyVaultKmsOutput { keyVaultResourceId?: string; } +/** Workload Identity settings for the security profile. */ export interface ManagedClusterSecurityProfileWorkloadIdentityOutput { /** Whether to enable Workload Identity */ enabled?: boolean; } +/** Storage profile for the container service cluster. */ export interface ManagedClusterStorageProfileOutput { /** AzureDisk CSI Driver settings for the storage profile. */ diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriverOutput; @@ -769,6 +826,7 @@ export interface ManagedClusterStorageProfileOutput { blobCSIDriver?: ManagedClusterStorageProfileBlobCSIDriverOutput; } +/** AzureDisk CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileDiskCSIDriverOutput { /** Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: boolean; @@ -776,26 +834,31 @@ export interface ManagedClusterStorageProfileDiskCSIDriverOutput { version?: string; } +/** AzureFile CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileFileCSIDriverOutput { /** Whether to enable AzureFile CSI Driver. The default value is true. */ enabled?: boolean; } +/** Snapshot Controller settings for the storage profile. */ export interface ManagedClusterStorageProfileSnapshotControllerOutput { /** Whether to enable Snapshot Controller. The default value is true. */ enabled?: boolean; } +/** AzureBlob CSI Driver settings for the storage profile. */ export interface ManagedClusterStorageProfileBlobCSIDriverOutput { /** Whether to enable AzureBlob CSI Driver. The default value is false. */ enabled?: boolean; } +/** Ingress profile for the container service cluster. */ export interface ManagedClusterIngressProfileOutput { /** Web App Routing settings for the ingress profile. */ webAppRouting?: ManagedClusterIngressProfileWebAppRoutingOutput; } +/** Web App Routing settings for the ingress profile. */ export interface ManagedClusterIngressProfileWebAppRoutingOutput { /** Whether to enable Web App Routing. */ enabled?: boolean; @@ -803,16 +866,19 @@ export interface ManagedClusterIngressProfileWebAppRoutingOutput { dnsZoneResourceId?: string; } +/** Workload Auto-scaler profile for the container service cluster. */ export interface ManagedClusterWorkloadAutoScalerProfileOutput { /** KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ keda?: ManagedClusterWorkloadAutoScalerProfileKedaOutput; } +/** KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ export interface ManagedClusterWorkloadAutoScalerProfileKedaOutput { /** Whether to enable KEDA. */ enabled: boolean; } +/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResourceOutput extends ResourceOutput { /** Resource tags. */ tags?: Record; @@ -820,17 +886,19 @@ export interface TrackedResourceOutput extends ResourceOutput { location: string; } +/** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface ResourceOutput { /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ - id?: string; + readonly id?: string; /** The name of the resource */ - name?: string; + readonly name?: string; /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ - type?: string; + readonly type?: string; /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; } +/** Metadata pertaining to creation and last modification of the resource. */ export interface SystemDataOutput { /** The identity that created the resource. */ createdBy?: string; @@ -846,17 +914,19 @@ export interface SystemDataOutput { lastModifiedAt?: string; } +/** The list of available upgrades for compute pools. */ export interface ManagedClusterUpgradeProfileOutput { /** The ID of the upgrade profile. */ - id?: string; + readonly id?: string; /** The name of the upgrade profile. */ - name?: string; + readonly name?: string; /** The type of the upgrade profile. */ - type?: string; + readonly type?: string; /** The properties of the upgrade profile. */ properties: ManagedClusterUpgradeProfilePropertiesOutput; } +/** Control plane and agent pool upgrade profiles. */ export interface ManagedClusterUpgradeProfilePropertiesOutput { /** The list of available upgrade versions for the control plane. */ controlPlaneProfile: ManagedClusterPoolUpgradeProfileOutput; @@ -864,6 +934,7 @@ export interface ManagedClusterUpgradeProfilePropertiesOutput { agentPoolProfiles: Array; } +/** The list of available upgrade versions. */ export interface ManagedClusterPoolUpgradeProfileOutput { /** The Kubernetes version (major.minor.patch). */ kubernetesVersion: string; @@ -882,11 +953,13 @@ export interface ManagedClusterPoolUpgradeProfileUpgradesItemOutput { isPreview?: boolean; } +/** Managed cluster Access Profile. */ export interface ManagedClusterAccessProfileOutput extends TrackedResourceOutput { /** AccessProfile of a managed cluster. */ properties?: AccessProfileOutput; } +/** Profile for enabling a user to access a managed cluster. */ export interface AccessProfileOutput { /** * Base64-encoded Kubernetes configuration file. @@ -896,36 +969,41 @@ export interface AccessProfileOutput { kubeConfig?: string; } +/** The list credential result response. */ export interface CredentialResultsOutput { /** Base64-encoded Kubernetes configuration file. */ - kubeconfigs?: Array; + readonly kubeconfigs?: Array; } +/** The credential result response. */ export interface CredentialResultOutput { /** The name of the credential. */ - name?: string; + readonly name?: string; /** * Base64-encoded Kubernetes configuration file. * * Value may contain base64 encoded characters */ - value?: string; + readonly value?: string; } +/** The response from the List maintenance configurations operation. */ export interface MaintenanceConfigurationListResultOutput { /** The list of maintenance configurations. */ value?: Array; /** The URL to get the next set of maintenance configuration results. */ - nextLink?: string; + readonly nextLink?: string; } +/** See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance. */ export interface MaintenanceConfigurationOutput extends SubResourceOutput { /** The system metadata relating to this resource. */ - systemData?: SystemDataOutput; + readonly systemData?: SystemDataOutput; /** Properties of a default maintenance configuration. */ properties?: MaintenanceConfigurationPropertiesOutput; } +/** Properties used to configure planned maintenance for a Managed Cluster. */ export interface MaintenanceConfigurationPropertiesOutput { /** If two array entries specify the same day of the week, the applied configuration is the union of times in both entries. */ timeInWeek?: Array; @@ -933,6 +1011,7 @@ export interface MaintenanceConfigurationPropertiesOutput { notAllowedTime?: Array; } +/** Time in a week. */ export interface TimeInWeekOutput { /** The day of the week. */ day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; @@ -940,6 +1019,7 @@ export interface TimeInWeekOutput { hourSlots?: Array; } +/** For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. */ export interface TimeSpanOutput { /** The start of a time span */ start?: string; @@ -947,38 +1027,43 @@ export interface TimeSpanOutput { end?: string; } +/** Reference to another subresource. */ export interface SubResourceOutput { /** Resource ID. */ - id?: string; + readonly id?: string; /** The name of the resource that is unique within a resource group. This name can be used to access the resource. */ - name?: string; + readonly name?: string; /** Resource type */ - type?: string; + readonly type?: string; } +/** The response from the List Agent Pools operation. */ export interface AgentPoolListResultOutput { /** The list of agent pools. */ value?: Array; /** The URL to get the next set of agent pool results. */ - nextLink?: string; + readonly nextLink?: string; } +/** Agent Pool. */ export interface AgentPoolOutput extends SubResourceOutput { /** Properties of an agent pool. */ properties?: ManagedClusterAgentPoolProfilePropertiesOutput; } +/** The list of available upgrades for an agent pool. */ export interface AgentPoolUpgradeProfileOutput { /** The ID of the agent pool upgrade profile. */ - id?: string; + readonly id?: string; /** The name of the agent pool upgrade profile. */ - name?: string; + readonly name?: string; /** The type of the agent pool upgrade profile. */ - type?: string; + readonly type?: string; /** The properties of the agent pool upgrade profile. */ properties: AgentPoolUpgradeProfilePropertiesOutput; } +/** The list of available upgrade versions. */ export interface AgentPoolUpgradeProfilePropertiesOutput { /** The Kubernetes version (major.minor.patch). */ kubernetesVersion: string; @@ -997,17 +1082,19 @@ export interface AgentPoolUpgradeProfilePropertiesUpgradesItemOutput { isPreview?: boolean; } +/** The list of available versions for an agent pool. */ export interface AgentPoolAvailableVersionsOutput { /** The ID of the agent pool version list. */ - id?: string; + readonly id?: string; /** The name of the agent pool version list. */ - name?: string; + readonly name?: string; /** Type of the agent pool version list. */ - type?: string; + readonly type?: string; /** Properties of agent pool available versions. */ properties: AgentPoolAvailableVersionsPropertiesOutput; } +/** The list of available agent pool versions. */ export interface AgentPoolAvailableVersionsPropertiesOutput { /** List of versions available for agent pool. */ agentPoolVersions?: Array; @@ -1022,36 +1109,41 @@ export interface AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItemOutput isPreview?: boolean; } +/** A list of private endpoint connections */ export interface PrivateEndpointConnectionListResultOutput { /** The collection value. */ value?: Array; } +/** A private endpoint connection */ export interface PrivateEndpointConnectionOutput { /** The ID of the private endpoint connection. */ - id?: string; + readonly id?: string; /** The name of the private endpoint connection. */ - name?: string; + readonly name?: string; /** The resource type. */ - type?: string; + readonly type?: string; /** The properties of a private endpoint connection. */ properties?: PrivateEndpointConnectionPropertiesOutput; } +/** Properties of a private endpoint connection. */ export interface PrivateEndpointConnectionPropertiesOutput { /** The current provisioning state. */ - provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; + readonly provisioningState?: "Succeeded" | "Creating" | "Deleting" | "Failed"; /** The resource of private endpoint. */ privateEndpoint?: PrivateEndpointOutput; /** A collection of information about the state of the connection between service consumer and provider. */ privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput; } +/** Private endpoint which a connection belongs to. */ export interface PrivateEndpointOutput { /** The resource ID of the private endpoint */ id?: string; } +/** The state of a private link service connection. */ export interface PrivateLinkServiceConnectionStateOutput { /** The private link service connection status. */ status?: "Pending" | "Approved" | "Rejected" | "Disconnected"; @@ -1059,40 +1151,45 @@ export interface PrivateLinkServiceConnectionStateOutput { description?: string; } +/** A list of private link resources */ export interface PrivateLinkResourcesListResultOutput { /** The collection value. */ value?: Array; } +/** run command result. */ export interface RunCommandResultOutput { /** The command id. */ - id?: string; + readonly id?: string; /** Properties of command result. */ properties?: CommandResultPropertiesOutput; } +/** The results of a run command */ export interface CommandResultPropertiesOutput { /** provisioning State */ - provisioningState?: string; + readonly provisioningState?: string; /** The exit code of the command */ - exitCode?: number; + readonly exitCode?: number; /** The time when the command started. */ - startedAt?: string; + readonly startedAt?: string; /** The time when the command finished. */ - finishedAt?: string; + readonly finishedAt?: string; /** The command output. */ - logs?: string; + readonly logs?: string; /** An explanation of why provisioningState is set to failed (if so). */ - reason?: string; + readonly reason?: string; } +/** Collection of OutboundEnvironmentEndpoint */ export interface OutboundEnvironmentEndpointCollectionOutput { /** Collection of resources. */ value: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Egress endpoints which AKS agent nodes connect to for common purpose. */ export interface OutboundEnvironmentEndpointOutput { /** The category of endpoints accessed by the AKS agent node, e.g. azure-resource-management, apiserver, etc. */ category?: string; @@ -1100,6 +1197,7 @@ export interface OutboundEnvironmentEndpointOutput { endpoints?: Array; } +/** A domain name that AKS agent nodes are reaching at. */ export interface EndpointDependencyOutput { /** The domain name of the dependency. */ domainName?: string; @@ -1107,6 +1205,7 @@ export interface EndpointDependencyOutput { endpointDetails?: Array; } +/** connect information from the AKS agent nodes to a single endpoint. */ export interface EndpointDetailOutput { /** An IP Address that Domain Name currently resolves to. */ ipAddress?: string; @@ -1118,58 +1217,65 @@ export interface EndpointDetailOutput { description?: string; } +/** The response from the List Snapshots operation. */ export interface SnapshotListResultOutput { /** The list of snapshots. */ value?: Array; /** The URL to get the next set of snapshot results. */ - nextLink?: string; + readonly nextLink?: string; } +/** A node pool snapshot resource. */ export interface SnapshotOutput extends TrackedResourceOutput { /** Properties of a snapshot. */ properties?: SnapshotPropertiesOutput; } +/** Properties used to configure a node pool snapshot. */ export interface SnapshotPropertiesOutput { /** CreationData to be used to specify the source agent pool resource ID to create this snapshot. */ creationData?: CreationDataOutput; /** The type of a snapshot. The default is NodePool. */ snapshotType?: "NodePool" | "ManagedCluster"; /** The version of Kubernetes. */ - kubernetesVersion?: string; + readonly kubernetesVersion?: string; /** The version of node image. */ - nodeImageVersion?: string; + readonly nodeImageVersion?: string; /** The operating system type. The default is Linux. */ - osType?: "Linux" | "Windows"; + readonly osType?: "Linux" | "Windows"; /** Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated. */ - osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; + readonly osSku?: "Ubuntu" | "CBLMariner" | "Windows2019" | "Windows2022"; /** The size of the VM. */ - vmSize?: string; + readonly vmSize?: string; /** Whether to use a FIPS-enabled OS. */ - enableFIPS?: boolean; + readonly enableFIPS?: boolean; } +/** The response from the List Managed Cluster Snapshots operation. */ export interface ManagedClusterSnapshotListResultOutput { /** The list of managed cluster snapshots. */ value?: Array; /** The URL to get the next set of managed cluster snapshot results. */ - nextLink?: string; + readonly nextLink?: string; } +/** A managed cluster snapshot resource. */ export interface ManagedClusterSnapshotOutput extends TrackedResourceOutput { /** Properties of a managed cluster snapshot. */ properties?: ManagedClusterSnapshotPropertiesOutput; } +/** Properties for a managed cluster snapshot. */ export interface ManagedClusterSnapshotPropertiesOutput { /** CreationData to be used to specify the source resource ID to create this snapshot. */ creationData?: CreationDataOutput; /** The type of a snapshot. The default is NodePool. */ snapshotType?: "NodePool" | "ManagedCluster"; /** What the properties will be showed when getting managed cluster snapshot. Those properties are read-only. */ - managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshotOutput; + readonly managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshotOutput; } +/** managed cluster properties for snapshot, these properties are read only. */ export interface ManagedClusterPropertiesForSnapshotOutput { /** The current kubernetes version. */ kubernetesVersion?: string; @@ -1178,9 +1284,10 @@ export interface ManagedClusterPropertiesForSnapshotOutput { /** Whether the cluster has enabled Kubernetes Role-Based Access Control or not. */ enableRbac?: boolean; /** The current network profile. */ - networkProfile?: NetworkProfileForSnapshotOutput; + readonly networkProfile?: NetworkProfileForSnapshotOutput; } +/** network profile for managed cluster snapshot, these properties are read only. */ export interface NetworkProfileForSnapshotOutput { /** networkPlugin for managed cluster snapshot. */ networkPlugin?: "azure" | "kubenet" | "none"; @@ -1194,50 +1301,56 @@ export interface NetworkProfileForSnapshotOutput { loadBalancerSku?: "standard" | "basic"; } +/** List of trusted access roles */ export interface TrustedAccessRoleListResultOutput { /** Role list */ - value?: Array; + readonly value?: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Trusted access role definition. */ export interface TrustedAccessRoleOutput { /** Resource type of Azure resource */ - sourceResourceType?: string; + readonly sourceResourceType?: string; /** Name of role, name is unique under a source resource type */ - name?: string; + readonly name?: string; /** List of rules for the role. This maps to 'rules' property of [Kubernetes Cluster Role](https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/#ClusterRole). */ - rules?: Array; + readonly rules?: Array; } +/** Rule for trusted access role */ export interface TrustedAccessRoleRuleOutput { /** List of allowed verbs */ - verbs?: Array; + readonly verbs?: Array; /** List of allowed apiGroups */ - apiGroups?: Array; + readonly apiGroups?: Array; /** List of allowed resources */ - resources?: Array; + readonly resources?: Array; /** List of allowed names */ - resourceNames?: Array; + readonly resourceNames?: Array; /** List of allowed nonResourceURLs */ - nonResourceURLs?: Array; + readonly nonResourceURLs?: Array; } +/** List of trusted access role bindings */ export interface TrustedAccessRoleBindingListResultOutput { /** Role binding list */ value?: Array; /** Link to next page of resources. */ - nextLink?: string; + readonly nextLink?: string; } +/** Defines binding between a resource and role */ export interface TrustedAccessRoleBindingOutput extends ResourceOutput { /** Properties for trusted access role binding */ properties: TrustedAccessRoleBindingPropertiesOutput; } +/** Properties for trusted access role binding */ export interface TrustedAccessRoleBindingPropertiesOutput { /** The current provisioning state of trusted access role binding. */ - provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; + readonly provisioningState?: "Succeeded" | "Failed" | "Updating" | "Deleting"; /** The ARM resource ID of source resource that trusted access is configured for. */ sourceResourceId: string; /** A list of roles to bind, each item is a resource type qualified role name. For example: 'Microsoft.MachineLearningServices/workspaces/reader'. */ diff --git a/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts b/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts index 5d541b4e406d..9ea946d9d6c5 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/paginateHelper.ts @@ -1,11 +1,148 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { PagedAsyncIterableIterator, PagedResult } from "@azure/core-paging"; -import { getPagedAsyncIterator } from "@azure/core-paging"; import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; import { createRestError } from "@azure-rest/core-client"; +/** + * returns an async iterator that iterates over results. It also has a `byPage` + * method that returns pages of items at once. + * + * @param pagedResult - an object that specifies how to get pages. + * @returns a paged async iterator that iterates over results. + */ +function getPagedAsyncIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, + TLink = string, +>( + pagedResult: PagedResult, +): PagedAsyncIterableIterator { + const iter = getItemAsyncIterator(pagedResult); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: + pagedResult?.byPage ?? + (((settings?: PageSettings) => { + const { continuationToken } = settings ?? {}; + return getPageAsyncIterator(pagedResult, { + pageLink: continuationToken as unknown as TLink | undefined, + }); + }) as unknown as (settings?: TPageSettings) => AsyncIterableIterator), + }; +} + +async function* getItemAsyncIterator( + pagedResult: PagedResult, +): AsyncIterableIterator { + const pages = getPageAsyncIterator(pagedResult); + const firstVal = await pages.next(); + // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is + if (!Array.isArray(firstVal.value)) { + // can extract elements from this page + const { toElements } = pagedResult; + if (toElements) { + yield* toElements(firstVal.value) as TElement[]; + for await (const page of pages) { + yield* toElements(page) as TElement[]; + } + } else { + yield firstVal.value; + // `pages` is of type `AsyncIterableIterator` but TPage = TElement in this case + yield* pages as unknown as AsyncIterableIterator; + } + } else { + yield* firstVal.value; + for await (const page of pages) { + // pages is of type `AsyncIterableIterator` so `page` is of type `TPage`. In this branch, + // it must be the case that `TPage = TElement[]` + yield* page as unknown as TElement[]; + } + } +} + +async function* getPageAsyncIterator( + pagedResult: PagedResult, + options: { + pageLink?: TLink; + } = {}, +): AsyncIterableIterator { + const { pageLink } = options; + let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink); + if (!response) { + return; + } + yield response.page; + while (response.nextPageLink) { + response = await pagedResult.getPage(response.nextPageLink); + if (!response) { + return; + } + yield response.page; + } +} + +/** + * An interface that tracks the settings for paged iteration + */ +export interface PageSettings { + /** + * The token that keeps track of where to continue the iterator + */ + continuationToken?: string; +} + +/** + * An interface that allows async iterable iteration both to completion and by page. + */ +export interface PagedAsyncIterableIterator< + TElement, + TPage = TElement[], + TPageSettings = PageSettings, +> { + /** + * The next method, part of the iteration protocol + */ + next(): Promise>; + /** + * The connection to the async iterator, part of the iteration protocol + */ + [Symbol.asyncIterator](): PagedAsyncIterableIterator; + /** + * Return an AsyncIterableIterator that works a page at a time + */ + byPage: (settings?: TPageSettings) => AsyncIterableIterator; +} + +/** + * An interface that describes how to communicate with the service. + */ +interface PagedResult { + /** + * Link to the first page of results. + */ + firstPageLink: TLink; + /** + * A method that returns a page of results. + */ + getPage: (pageLink: TLink) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>; + /** + * a function to implement the `byPage` method on the paged async iterator. + */ + byPage?: (settings?: TPageSettings) => AsyncIterableIterator; + + /** + * A function to extract elements from a page. + */ + toElements?: (page: TPage) => unknown[]; +} + /** * Helper type to extract the type of an array */ @@ -14,10 +151,7 @@ export type GetArrayType = T extends Array ? TData : never; /** * The type of a custom function that defines how to get a page and a link to the next one if any. */ -export type GetPage = ( - pageLink: string, - maxPageSize?: number, -) => Promise<{ +export type GetPage = (pageLink: string) => Promise<{ page: TPage; nextPageLink?: string; }>; diff --git a/sdk/containerservice/arm-containerservice-rest/src/parameters.ts b/sdk/containerservice/arm-containerservice-rest/src/parameters.ts index ba3498d29067..f650c465c48f 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/parameters.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/parameters.ts @@ -3,19 +3,19 @@ import type { RequestParameters } from "@azure-rest/core-client"; import type { - AgentPool, - MaintenanceConfiguration, ManagedCluster, - ManagedClusterAADProfile, + TagsObject, ManagedClusterServicePrincipalProfile, - ManagedClusterSnapshot, + ManagedClusterAADProfile, + RunCommandRequest, + MaintenanceConfiguration, + AgentPool, PrivateEndpointConnection, PrivateLinkResource, - RunCommandRequest, Snapshot, - TagsObject, + ManagedClusterSnapshot, TrustedAccessRoleBinding, -} from "./models"; +} from "./models.js"; export type OperationsListParameters = RequestParameters; diff --git a/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts b/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts index d25daede0b1c..75a3d3db6e98 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/pollingHelper.ts @@ -2,14 +2,82 @@ // Licensed under the MIT License. import type { Client, HttpResponse } from "@azure-rest/core-client"; +import type { AbortSignalLike } from "@azure/abort-controller"; import type { - LongRunningOperation, - LroEngineOptions, - LroResponse, - PollOperationState, - PollerLike, + CancelOnProgress, + CreateHttpPollerOptions, + RunningOperation, + OperationResponse, + OperationState} from "@azure/core-lro"; +import { + createHttpPoller, } from "@azure/core-lro"; -import { LroEngine } from "@azure/core-lro"; + +/** + * A simple poller that can be used to poll a long running operation. + */ +export interface SimplePollerLike, TResult> { + /** + * Returns true if the poller has finished polling. + */ + isDone(): boolean; + /** + * Returns the state of the operation. + */ + getOperationState(): TState; + /** + * Returns the result value of the operation, + * regardless of the state of the poller. + * It can return undefined or an incomplete form of the final TResult value + * depending on the implementation. + */ + getResult(): TResult | undefined; + /** + * Returns a promise that will resolve once a single polling request finishes. + * It does this by calling the update method of the Poller's operation. + */ + poll(options?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Returns a promise that will resolve once the underlying operation is completed. + */ + pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Invokes the provided callback after each polling is completed, + * sending the current state of the poller's operation. + * + * It returns a method that can be used to stop receiving updates on the given callback function. + */ + onProgress(callback: (state: TState) => void): CancelOnProgress; + + /** + * Returns a promise that could be used for serialized version of the poller's operation + * by invoking the operation's serialize method. + */ + serialize(): Promise; + + /** + * Wait the poller to be submitted. + */ + submitted(): Promise; + + /** + * Returns a string representation of the poller's operation. Similar to serialize but returns a string. + * @deprecated Use serialize() instead. + */ + toString(): string; + + /** + * Stops the poller from continuing to poll. Please note this will only stop the client-side polling + * @deprecated Use abortSignal to stop polling instead. + */ + stopPolling(): void; + + /** + * Returns true if the poller is stopped. + * @deprecated Use abortSignal status to track this instead. + */ + isStopped(): boolean; +} /** * Helper function that builds a Poller object to help polling a long running operation. @@ -18,41 +86,100 @@ import { LroEngine } from "@azure/core-lro"; * @param options - Options to set a resume state or custom polling interval. * @returns - A poller object to poll for operation state updates and eventually get the final response. */ -export function getLongRunningPoller( +export async function getLongRunningPoller( client: Client, initialResponse: TResult, - options: LroEngineOptions> = {}, -): PollerLike, TResult> { - const poller: LongRunningOperation = { - requestMethod: initialResponse.request.method, - requestPath: initialResponse.request.url, + options: CreateHttpPollerOptions> = {}, +): Promise, TResult>> { + const abortController = new AbortController(); + const poller: RunningOperation = { sendInitialRequest: async () => { // In the case of Rest Clients we are building the LRO poller object from a response that's the reason // we are not triggering the initial request here, just extracting the information from the // response we were provided. return getLroResponse(initialResponse); }, - sendPollRequest: async (path) => { + sendPollRequest: async (path: string, pollOptions?: { abortSignal?: AbortSignalLike }) => { // This is the callback that is going to be called to poll the service // to get the latest status. We use the client provided and the polling path // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location // depending on the lro pattern that the service implements. If non is provided we default to the initial path. - const response = await client.pathUnchecked(path ?? initialResponse.request.url).get(); + function abortListener(): void { + abortController.abort(); + } + const inputAbortSignal = pollOptions?.abortSignal; + const abortSignal = abortController.signal; + if (inputAbortSignal?.aborted) { + abortController.abort(); + } else if (!abortSignal.aborted) { + inputAbortSignal?.addEventListener("abort", abortListener, { + once: true, + }); + } + let response; + try { + response = await client + .pathUnchecked(path ?? initialResponse.request.url) + .get({ abortSignal }); + } finally { + inputAbortSignal?.removeEventListener("abort", abortListener); + } const lroResponse = getLroResponse(response as TResult); lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; return lroResponse; }, }; - return new LroEngine(poller, options); + options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true; + const httpPoller = createHttpPoller(poller, options); + const simplePoller: SimplePollerLike, TResult> = { + isDone() { + return httpPoller.isDone; + }, + isStopped() { + return abortController.signal.aborted; + }, + getOperationState() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return httpPoller.operationState; + }, + getResult() { + return httpPoller.result; + }, + toString() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return JSON.stringify({ + state: httpPoller.operationState, + }); + }, + stopPolling() { + abortController.abort(); + }, + onProgress: httpPoller.onProgress, + poll: httpPoller.poll, + pollUntilDone: httpPoller.pollUntilDone, + serialize: httpPoller.serialize, + submitted: httpPoller.submitted, + }; + return simplePoller; } /** - * Converts a Rest Client response to a response that the LRO engine knows about + * Converts a Rest Client response to a response that the LRO implementation understands * @param response - a rest client http response - * @returns - An LRO response that the LRO engine can work with + * @returns - An LRO response that the LRO implementation understands */ -function getLroResponse(response: TResult): LroResponse { +function getLroResponse( + response: TResult, +): OperationResponse { if (Number.isNaN(response.status)) { throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); } diff --git a/sdk/containerservice/arm-containerservice-rest/src/responses.ts b/sdk/containerservice/arm-containerservice-rest/src/responses.ts index 07d29120561f..009fc7e8083b 100644 --- a/sdk/containerservice/arm-containerservice-rest/src/responses.ts +++ b/sdk/containerservice/arm-containerservice-rest/src/responses.ts @@ -4,34 +4,34 @@ import type { RawHttpHeaders } from "@azure/core-rest-pipeline"; import type { HttpResponse } from "@azure-rest/core-client"; import type { - AgentPoolAvailableVersionsOutput, - AgentPoolListResultOutput, - AgentPoolOutput, - AgentPoolUpgradeProfileOutput, + OperationListResultOutput, CloudErrorOutput, - CredentialResultsOutput, - MaintenanceConfigurationListResultOutput, - MaintenanceConfigurationOutput, - ManagedClusterAccessProfileOutput, + OSOptionProfileOutput, ManagedClusterListResultOutput, - ManagedClusterOutput, - ManagedClusterSnapshotListResultOutput, - ManagedClusterSnapshotOutput, ManagedClusterUpgradeProfileOutput, - OSOptionProfileOutput, - OperationListResultOutput, + ManagedClusterAccessProfileOutput, + CredentialResultsOutput, + ManagedClusterOutput, + RunCommandResultOutput, OutboundEnvironmentEndpointCollectionOutput, + MaintenanceConfigurationListResultOutput, + MaintenanceConfigurationOutput, + AgentPoolListResultOutput, + AgentPoolOutput, + AgentPoolUpgradeProfileOutput, + AgentPoolAvailableVersionsOutput, PrivateEndpointConnectionListResultOutput, PrivateEndpointConnectionOutput, - PrivateLinkResourceOutput, PrivateLinkResourcesListResultOutput, - RunCommandResultOutput, + PrivateLinkResourceOutput, SnapshotListResultOutput, SnapshotOutput, + ManagedClusterSnapshotListResultOutput, + ManagedClusterSnapshotOutput, + TrustedAccessRoleListResultOutput, TrustedAccessRoleBindingListResultOutput, TrustedAccessRoleBindingOutput, - TrustedAccessRoleListResultOutput, -} from "./outputModels"; +} from "./outputModels.js"; /** Gets a list of operations. */ export interface OperationsList200Response extends HttpResponse { @@ -40,7 +40,7 @@ export interface OperationsList200Response extends HttpResponse { } /** Gets a list of operations. */ -export interface OperationsListdefaultResponse extends HttpResponse { +export interface OperationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -52,7 +52,7 @@ export interface ManagedClustersGetOSOptions200Response extends HttpResponse { } /** Gets supported OS options in the specified subscription. */ -export interface ManagedClustersGetOSOptionsdefaultResponse extends HttpResponse { +export interface ManagedClustersGetOSOptionsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -64,7 +64,7 @@ export interface ManagedClustersList200Response extends HttpResponse { } /** Gets a list of managed clusters in the specified subscription. */ -export interface ManagedClustersListdefaultResponse extends HttpResponse { +export interface ManagedClustersListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -76,7 +76,7 @@ export interface ManagedClustersListByResourceGroup200Response extends HttpRespo } /** Lists managed clusters in the specified subscription and resource group. */ -export interface ManagedClustersListByResourceGroupdefaultResponse extends HttpResponse { +export interface ManagedClustersListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -88,7 +88,7 @@ export interface ManagedClustersGetUpgradeProfile200Response extends HttpRespons } /** Gets the upgrade profile of a managed cluster. */ -export interface ManagedClustersGetUpgradeProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersGetUpgradeProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -100,7 +100,7 @@ export interface ManagedClustersGetAccessProfile200Response extends HttpResponse } /** **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . */ -export interface ManagedClustersGetAccessProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersGetAccessProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -112,7 +112,7 @@ export interface ManagedClustersListClusterAdminCredentials200Response extends H } /** Lists the admin credentials of a managed cluster. */ -export interface ManagedClustersListClusterAdminCredentialsdefaultResponse extends HttpResponse { +export interface ManagedClustersListClusterAdminCredentialsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -124,7 +124,7 @@ export interface ManagedClustersListClusterUserCredentials200Response extends Ht } /** Lists the user credentials of a managed cluster. */ -export interface ManagedClustersListClusterUserCredentialsdefaultResponse extends HttpResponse { +export interface ManagedClustersListClusterUserCredentialsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -137,7 +137,7 @@ export interface ManagedClustersListClusterMonitoringUserCredentials200Response } /** Lists the cluster monitoring user credentials of a managed cluster. */ -export interface ManagedClustersListClusterMonitoringUserCredentialsdefaultResponse +export interface ManagedClustersListClusterMonitoringUserCredentialsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; @@ -150,7 +150,7 @@ export interface ManagedClustersGet200Response extends HttpResponse { } /** Gets a managed cluster. */ -export interface ManagedClustersGetdefaultResponse extends HttpResponse { +export interface ManagedClustersGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -168,7 +168,7 @@ export interface ManagedClustersCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a managed cluster. */ -export interface ManagedClustersCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ManagedClustersCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -180,7 +180,7 @@ export interface ManagedClustersUpdateTags200Response extends HttpResponse { } /** Updates tags on a managed cluster. */ -export interface ManagedClustersUpdateTagsdefaultResponse extends HttpResponse { +export interface ManagedClustersUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -188,17 +188,15 @@ export interface ManagedClustersUpdateTagsdefaultResponse extends HttpResponse { /** Deletes a managed cluster. */ export interface ManagedClustersDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes a managed cluster. */ export interface ManagedClustersDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a managed cluster. */ -export interface ManagedClustersDeletedefaultResponse extends HttpResponse { +export interface ManagedClustersDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -206,17 +204,15 @@ export interface ManagedClustersDeletedefaultResponse extends HttpResponse { /** This action cannot be performed on a cluster that is not using a service principal */ export interface ManagedClustersResetServicePrincipalProfile200Response extends HttpResponse { status: "200"; - body: Record; } /** This action cannot be performed on a cluster that is not using a service principal */ export interface ManagedClustersResetServicePrincipalProfile202Response extends HttpResponse { status: "202"; - body: Record; } /** This action cannot be performed on a cluster that is not using a service principal */ -export interface ManagedClustersResetServicePrincipalProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersResetServicePrincipalProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -224,17 +220,15 @@ export interface ManagedClustersResetServicePrincipalProfiledefaultResponse exte /** Reset the AAD Profile of a managed cluster. */ export interface ManagedClustersResetAADProfile200Response extends HttpResponse { status: "200"; - body: Record; } /** Reset the AAD Profile of a managed cluster. */ export interface ManagedClustersResetAADProfile202Response extends HttpResponse { status: "202"; - body: Record; } /** Reset the AAD Profile of a managed cluster. */ -export interface ManagedClustersResetAADProfiledefaultResponse extends HttpResponse { +export interface ManagedClustersResetAADProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -242,17 +236,15 @@ export interface ManagedClustersResetAADProfiledefaultResponse extends HttpRespo /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ export interface ManagedClustersRotateClusterCertificates202Response extends HttpResponse { status: "202"; - body: Record; } /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ export interface ManagedClustersRotateClusterCertificates204Response extends HttpResponse { status: "204"; - body: Record; } /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ -export interface ManagedClustersRotateClusterCertificatesdefaultResponse extends HttpResponse { +export interface ManagedClustersRotateClusterCertificatesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -260,17 +252,15 @@ export interface ManagedClustersRotateClusterCertificatesdefaultResponse extends /** Rotates the service account signing keys of a managed cluster. */ export interface ManagedClustersRotateServiceAccountSigningKeys202Response extends HttpResponse { status: "202"; - body: Record; } /** Rotates the service account signing keys of a managed cluster. */ export interface ManagedClustersRotateServiceAccountSigningKeys204Response extends HttpResponse { status: "204"; - body: Record; } /** Rotates the service account signing keys of a managed cluster. */ -export interface ManagedClustersRotateServiceAccountSigningKeysdefaultResponse +export interface ManagedClustersRotateServiceAccountSigningKeysDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; @@ -279,17 +269,15 @@ export interface ManagedClustersRotateServiceAccountSigningKeysdefaultResponse /** This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. */ export interface ManagedClustersStop202Response extends HttpResponse { status: "202"; - body: Record; } /** This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. */ export interface ManagedClustersStop204Response extends HttpResponse { status: "204"; - body: Record; } /** This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. */ -export interface ManagedClustersStopdefaultResponse extends HttpResponse { +export interface ManagedClustersStopDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -297,17 +285,15 @@ export interface ManagedClustersStopdefaultResponse extends HttpResponse { /** See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. */ export interface ManagedClustersStart202Response extends HttpResponse { status: "202"; - body: Record; } /** See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. */ export interface ManagedClustersStart204Response extends HttpResponse { status: "204"; - body: Record; } /** See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. */ -export interface ManagedClustersStartdefaultResponse extends HttpResponse { +export interface ManagedClustersStartDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -321,11 +307,10 @@ export interface ManagedClustersRunCommand200Response extends HttpResponse { /** AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). */ export interface ManagedClustersRunCommand202Response extends HttpResponse { status: "202"; - body: Record; } /** AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). */ -export interface ManagedClustersRunCommanddefaultResponse extends HttpResponse { +export interface ManagedClustersRunCommandDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -339,11 +324,10 @@ export interface ManagedClustersGetCommandResult200Response extends HttpResponse /** Gets the results of a command which has been run on the Managed Cluster. */ export interface ManagedClustersGetCommandResult202Response extends HttpResponse { status: "202"; - body: Record; } /** Gets the results of a command which has been run on the Managed Cluster. */ -export interface ManagedClustersGetCommandResultdefaultResponse extends HttpResponse { +export interface ManagedClustersGetCommandResultDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -356,7 +340,7 @@ export interface ManagedClustersListOutboundNetworkDependenciesEndpoints200Respo } /** Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. */ -export interface ManagedClustersListOutboundNetworkDependenciesEndpointsdefaultResponse +export interface ManagedClustersListOutboundNetworkDependenciesEndpointsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; @@ -369,7 +353,7 @@ export interface MaintenanceConfigurationsListByManagedCluster200Response extend } /** Gets a list of maintenance configurations in the specified managed cluster. */ -export interface MaintenanceConfigurationsListByManagedClusterdefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsListByManagedClusterDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -381,7 +365,7 @@ export interface MaintenanceConfigurationsGet200Response extends HttpResponse { } /** Gets the specified maintenance configuration of a managed cluster. */ -export interface MaintenanceConfigurationsGetdefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -393,7 +377,7 @@ export interface MaintenanceConfigurationsCreateOrUpdate200Response extends Http } /** Creates or updates a maintenance configuration in the specified managed cluster. */ -export interface MaintenanceConfigurationsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -401,17 +385,15 @@ export interface MaintenanceConfigurationsCreateOrUpdatedefaultResponse extends /** Deletes a maintenance configuration. */ export interface MaintenanceConfigurationsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a maintenance configuration. */ export interface MaintenanceConfigurationsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a maintenance configuration. */ -export interface MaintenanceConfigurationsDeletedefaultResponse extends HttpResponse { +export interface MaintenanceConfigurationsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -423,7 +405,7 @@ export interface AgentPoolsList200Response extends HttpResponse { } /** Gets a list of agent pools in the specified managed cluster. */ -export interface AgentPoolsListdefaultResponse extends HttpResponse { +export interface AgentPoolsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -435,7 +417,7 @@ export interface AgentPoolsGet200Response extends HttpResponse { } /** Gets the specified managed cluster agent pool. */ -export interface AgentPoolsGetdefaultResponse extends HttpResponse { +export interface AgentPoolsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -453,7 +435,7 @@ export interface AgentPoolsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates an agent pool in the specified managed cluster. */ -export interface AgentPoolsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface AgentPoolsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -461,17 +443,15 @@ export interface AgentPoolsCreateOrUpdatedefaultResponse extends HttpResponse { /** Deletes an agent pool in the specified managed cluster. */ export interface AgentPoolsDelete202Response extends HttpResponse { status: "202"; - body: Record; } /** Deletes an agent pool in the specified managed cluster. */ export interface AgentPoolsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes an agent pool in the specified managed cluster. */ -export interface AgentPoolsDeletedefaultResponse extends HttpResponse { +export interface AgentPoolsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -483,7 +463,7 @@ export interface AgentPoolsGetUpgradeProfile200Response extends HttpResponse { } /** Gets the upgrade profile for an agent pool. */ -export interface AgentPoolsGetUpgradeProfiledefaultResponse extends HttpResponse { +export interface AgentPoolsGetUpgradeProfileDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -497,7 +477,6 @@ export interface AgentPoolsGetAvailableAgentPoolVersions200Response extends Http /** Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade */ export interface AgentPoolsUpgradeNodeImageVersion200Response extends HttpResponse { status: "200"; - body: Record; } export interface AgentPoolsUpgradeNodeImageVersion202Headers { @@ -513,7 +492,7 @@ export interface AgentPoolsUpgradeNodeImageVersion202Response extends HttpRespon } /** Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade */ -export interface AgentPoolsUpgradeNodeImageVersiondefaultResponse extends HttpResponse { +export interface AgentPoolsUpgradeNodeImageVersionDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -525,7 +504,7 @@ export interface PrivateEndpointConnectionsList200Response extends HttpResponse } /** To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters */ -export interface PrivateEndpointConnectionsListdefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -537,7 +516,7 @@ export interface PrivateEndpointConnectionsGet200Response extends HttpResponse { } /** To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters */ -export interface PrivateEndpointConnectionsGetdefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -549,7 +528,7 @@ export interface PrivateEndpointConnectionsUpdate200Response extends HttpRespons } /** Updates a private endpoint connection. */ -export interface PrivateEndpointConnectionsUpdatedefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -557,17 +536,15 @@ export interface PrivateEndpointConnectionsUpdatedefaultResponse extends HttpRes /** Deletes a private endpoint connection. */ export interface PrivateEndpointConnectionsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a private endpoint connection. */ export interface PrivateEndpointConnectionsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a private endpoint connection. */ -export interface PrivateEndpointConnectionsDeletedefaultResponse extends HttpResponse { +export interface PrivateEndpointConnectionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -579,7 +556,7 @@ export interface PrivateLinkResourcesList200Response extends HttpResponse { } /** To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters */ -export interface PrivateLinkResourcesListdefaultResponse extends HttpResponse { +export interface PrivateLinkResourcesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -591,7 +568,7 @@ export interface ResolvePrivateLinkServiceIdPost200Response extends HttpResponse } /** Gets the private link service ID for the specified managed cluster. */ -export interface ResolvePrivateLinkServiceIdPostdefaultResponse extends HttpResponse { +export interface ResolvePrivateLinkServiceIdPostDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -603,7 +580,7 @@ export interface SnapshotsList200Response extends HttpResponse { } /** Gets a list of snapshots in the specified subscription. */ -export interface SnapshotsListdefaultResponse extends HttpResponse { +export interface SnapshotsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -615,7 +592,7 @@ export interface SnapshotsListByResourceGroup200Response extends HttpResponse { } /** Lists snapshots in the specified subscription and resource group. */ -export interface SnapshotsListByResourceGroupdefaultResponse extends HttpResponse { +export interface SnapshotsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -627,7 +604,7 @@ export interface SnapshotsGet200Response extends HttpResponse { } /** Gets a snapshot. */ -export interface SnapshotsGetdefaultResponse extends HttpResponse { +export interface SnapshotsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -645,7 +622,7 @@ export interface SnapshotsCreateOrUpdate201Response extends HttpResponse { } /** Creates or updates a snapshot. */ -export interface SnapshotsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface SnapshotsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -657,7 +634,7 @@ export interface SnapshotsUpdateTags200Response extends HttpResponse { } /** Updates tags on a snapshot. */ -export interface SnapshotsUpdateTagsdefaultResponse extends HttpResponse { +export interface SnapshotsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -665,17 +642,15 @@ export interface SnapshotsUpdateTagsdefaultResponse extends HttpResponse { /** Deletes a snapshot. */ export interface SnapshotsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a snapshot. */ export interface SnapshotsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a snapshot. */ -export interface SnapshotsDeletedefaultResponse extends HttpResponse { +export interface SnapshotsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -687,7 +662,7 @@ export interface ManagedClusterSnapshotsList200Response extends HttpResponse { } /** Gets a list of managed cluster snapshots in the specified subscription. */ -export interface ManagedClusterSnapshotsListdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -699,7 +674,7 @@ export interface ManagedClusterSnapshotsListByResourceGroup200Response extends H } /** Lists managed cluster snapshots in the specified subscription and resource group. */ -export interface ManagedClusterSnapshotsListByResourceGroupdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsListByResourceGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -711,7 +686,7 @@ export interface ManagedClusterSnapshotsGet200Response extends HttpResponse { } /** Gets a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsGetdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -729,7 +704,7 @@ export interface ManagedClusterSnapshotsCreateOrUpdate201Response extends HttpRe } /** Creates or updates a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -741,7 +716,7 @@ export interface ManagedClusterSnapshotsUpdateTags200Response extends HttpRespon } /** Updates tags on a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsUpdateTagsdefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsUpdateTagsDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -749,17 +724,15 @@ export interface ManagedClusterSnapshotsUpdateTagsdefaultResponse extends HttpRe /** Deletes a managed cluster snapshot. */ export interface ManagedClusterSnapshotsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Deletes a managed cluster snapshot. */ export interface ManagedClusterSnapshotsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Deletes a managed cluster snapshot. */ -export interface ManagedClusterSnapshotsDeletedefaultResponse extends HttpResponse { +export interface ManagedClusterSnapshotsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -771,7 +744,7 @@ export interface TrustedAccessRolesList200Response extends HttpResponse { } /** List supported trusted access roles. */ -export interface TrustedAccessRolesListdefaultResponse extends HttpResponse { +export interface TrustedAccessRolesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -783,7 +756,7 @@ export interface TrustedAccessRoleBindingsList200Response extends HttpResponse { } /** List trusted access role bindings. */ -export interface TrustedAccessRoleBindingsListdefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -795,7 +768,7 @@ export interface TrustedAccessRoleBindingsGet200Response extends HttpResponse { } /** Get a trusted access role binding. */ -export interface TrustedAccessRoleBindingsGetdefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -807,7 +780,7 @@ export interface TrustedAccessRoleBindingsCreateOrUpdate200Response extends Http } /** Create or update a trusted access role binding */ -export interface TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } @@ -815,17 +788,15 @@ export interface TrustedAccessRoleBindingsCreateOrUpdatedefaultResponse extends /** Delete a trusted access role binding. */ export interface TrustedAccessRoleBindingsDelete200Response extends HttpResponse { status: "200"; - body: Record; } /** Delete a trusted access role binding. */ export interface TrustedAccessRoleBindingsDelete204Response extends HttpResponse { status: "204"; - body: Record; } /** Delete a trusted access role binding. */ -export interface TrustedAccessRoleBindingsDeletedefaultResponse extends HttpResponse { +export interface TrustedAccessRoleBindingsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } diff --git a/sdk/containerservice/arm-containerservice-rest/swagger/README.md b/sdk/containerservice/arm-containerservice-rest/swagger/README.md index 5e5862b37237..002b20cb5fe3 100644 --- a/sdk/containerservice/arm-containerservice-rest/swagger/README.md +++ b/sdk/containerservice/arm-containerservice-rest/swagger/README.md @@ -5,6 +5,8 @@ ## Configuration ```yaml +flavor: azure +openapi-type: arm package-name: "@azure-rest/arm-containerservice" title: ContainerServiceClient description: Container Service Client @@ -20,5 +22,5 @@ rest-level-client: true security: AADToken security-scopes: "https://management.azure.com/.default" use-extension: - "@autorest/typescript": "6.0.0-rc.1" + "@autorest/typescript": "latest" ``` diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts b/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts index 8b03172d4e6b..0e1c9eddbfcb 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/containerservice-test.spec.ts @@ -3,16 +3,18 @@ import type { Recorder } from "@azure-tools/test-recorder"; import { env, isPlaybackMode } from "@azure-tools/test-recorder"; -import { assert } from "chai"; -import { createRecorder } from "./utils/recordedClient"; -import type { Context } from "mocha"; +import { createRecorder } from "./utils/recordedClient.js"; import { createTestCredential } from "@azure-tools/test-credential"; import type { ContainerServiceClient, ManagedClusterOutput, ManagedClusterUpgradeProfileOutput, -} from "../../src"; -import ContainerServiceManagementClient, { getLongRunningPoller, paginate } from "../../src"; +} from "../../src/index.js"; +import ContainerServiceManagementClient, { + getLongRunningPoller, + paginate, +} from "../../src/index.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; export const testPollingOptions = { intervalInMs: isPlaybackMode() ? 0 : undefined, @@ -28,8 +30,8 @@ describe("My test", () => { let resourceGroupName: string; let resourceName: string; - beforeEach(async function (this: Context) { - recorder = await createRecorder(this); + beforeEach(async function (ctx) { + recorder = await createRecorder(ctx); subscriptionId = env.SUBSCRIPTION_ID || ""; clientId = env.AZURE_CLIENT_ID || ""; secret = env.AZURE_CLIENT_SECRET || ""; @@ -83,7 +85,7 @@ describe("My test", () => { location: location, }, }); - const poller = getLongRunningPoller(client, initalResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initalResponse, testPollingOptions); const result = await poller.pollUntilDone(); console.log(result); assert.equal(result.status, "200"); @@ -144,7 +146,7 @@ describe("My test", () => { tags: { tier: "testing", archv3: "" }, }, }); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const res = await poller.pollUntilDone(); assert.equal(res.status, "200"); assert.equal( @@ -162,7 +164,7 @@ describe("My test", () => { resourceName, ) .delete(); - const poller = getLongRunningPoller(client, initialResponse, testPollingOptions); + const poller = await getLongRunningPoller(client, initialResponse, testPollingOptions); const res = await poller.pollUntilDone(); assert.isOk(res.status); const listInitialResponse = await client diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.browser.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.browser.ts deleted file mode 100644 index fc36ab244fad..000000000000 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.browser.ts +++ /dev/null @@ -1,2 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts deleted file mode 100644 index 866412f4082d..000000000000 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/env.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import * as dotenv from "dotenv"; - -dotenv.config(); diff --git a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts index d7508a2c1842..4e3e9b0d7b5e 100644 --- a/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts +++ b/sdk/containerservice/arm-containerservice-rest/test/public/utils/recordedClient.ts @@ -1,10 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - -import type { Context } from "mocha"; -import type { RecorderStartOptions } from "@azure-tools/test-recorder"; +import type { RecorderStartOptions, TestInfo } from "@azure-tools/test-recorder"; import { Recorder } from "@azure-tools/test-recorder"; -import "./env"; const envSetupForPlayback: Record = { ENDPOINT: "https://endpoint", @@ -27,8 +24,8 @@ const recorderEnvSetup: RecorderStartOptions = { * Should be called first in the test suite to make sure environment variables are * read before they are being used. */ -export async function createRecorder(context: Context): Promise { - const recorder = new Recorder(context.currentTest); +export async function createRecorder(context: TestInfo): Promise { + const recorder = new Recorder(context); await recorder.start(recorderEnvSetup); return recorder; } diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json new file mode 100644 index 000000000000..f772e6eb3b76 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.browser.config.json @@ -0,0 +1,10 @@ +{ + "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 + } +} diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.json index 33fd8ad7ee41..19ceb382b521 100644 --- a/sdk/containerservice/arm-containerservice-rest/tsconfig.json +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.json @@ -1,9 +1,13 @@ { - "extends": "../../../tsconfig", - "compilerOptions": { - "outDir": "./dist-esm", - "declarationDir": "./types", - "paths": { "@azure-rest/arm-containerservice": ["./src/index"] } - }, - "include": ["src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] + "references": [ + { + "path": "./tsconfig.src.json" + }, + { + "path": "./tsconfig.samples.json" + }, + { + "path": "./tsconfig.test.json" + } + ] } diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json new file mode 100644 index 000000000000..c9b282c45139 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.samples.json @@ -0,0 +1,8 @@ +{ + "extends": "../../../tsconfig.samples.base.json", + "compilerOptions": { + "paths": { + "@azure-rest/arm-containerservice": ["./dist/esm"] + } + } +} diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.src.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.src.json new file mode 100644 index 000000000000..bae70752dd38 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.src.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.lib.json" +} diff --git a/sdk/containerservice/arm-containerservice-rest/tsconfig.test.json b/sdk/containerservice/arm-containerservice-rest/tsconfig.test.json new file mode 100644 index 000000000000..290ca214aebc --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/tsconfig.test.json @@ -0,0 +1,3 @@ +{ + "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] +} diff --git a/sdk/containerservice/arm-containerservice-rest/vitest.browser.config.ts b/sdk/containerservice/arm-containerservice-rest/vitest.browser.config.ts new file mode 100644 index 000000000000..b48c61b2ef46 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/vitest.browser.config.ts @@ -0,0 +1,17 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.browser.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + include: [ + "dist-test/browser/test/**/*.spec.js", + ], + }, + }), +); diff --git a/sdk/containerservice/arm-containerservice-rest/vitest.config.ts b/sdk/containerservice/arm-containerservice-rest/vitest.config.ts new file mode 100644 index 000000000000..2a4750c84292 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/vitest.config.ts @@ -0,0 +1,15 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + hookTimeout: 1200000, + testTimeout: 1200000, + }, + }), +); diff --git a/sdk/containerservice/arm-containerservice-rest/vitest.esm.config.ts b/sdk/containerservice/arm-containerservice-rest/vitest.esm.config.ts new file mode 100644 index 000000000000..a70127279fc9 --- /dev/null +++ b/sdk/containerservice/arm-containerservice-rest/vitest.esm.config.ts @@ -0,0 +1,12 @@ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { mergeConfig } from "vitest/config"; +import vitestConfig from "./vitest.config.ts"; +import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; + +export default mergeConfig( + vitestConfig, + vitestEsmConfig +);