@azure/arm-devcenter 1.0.0-beta.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -42
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +1413 -431
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/attachedNetworksCreateOrUpdateSample.js +14 -6
- package/dist-esm/samples-dev/attachedNetworksCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/attachedNetworksDeleteSample.js +13 -5
- package/dist-esm/samples-dev/attachedNetworksDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/attachedNetworksGetByDevCenterSample.js +12 -4
- package/dist-esm/samples-dev/attachedNetworksGetByDevCenterSample.js.map +1 -1
- package/dist-esm/samples-dev/attachedNetworksGetByProjectSample.js +13 -5
- package/dist-esm/samples-dev/attachedNetworksGetByProjectSample.js.map +1 -1
- package/dist-esm/samples-dev/attachedNetworksListByDevCenterSample.js +24 -9
- package/dist-esm/samples-dev/attachedNetworksListByDevCenterSample.js.map +1 -1
- package/dist-esm/samples-dev/attachedNetworksListByProjectSample.js +25 -10
- package/dist-esm/samples-dev/attachedNetworksListByProjectSample.js.map +1 -1
- package/dist-esm/samples-dev/catalogsCreateOrUpdateSample.js +19 -10
- package/dist-esm/samples-dev/catalogsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/catalogsDeleteSample.js +13 -5
- package/dist-esm/samples-dev/catalogsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/catalogsGetSample.js +13 -5
- package/dist-esm/samples-dev/catalogsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/catalogsListByDevCenterSample.js +24 -9
- package/dist-esm/samples-dev/catalogsListByDevCenterSample.js.map +1 -1
- package/dist-esm/samples-dev/catalogsSyncSample.js +13 -5
- package/dist-esm/samples-dev/catalogsSyncSample.js.map +1 -1
- package/dist-esm/samples-dev/catalogsUpdateSample.js +13 -5
- package/dist-esm/samples-dev/catalogsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.d.ts +2 -0
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +41 -0
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js.map +1 -0
- package/dist-esm/samples-dev/devBoxDefinitionsCreateOrUpdateSample.js +13 -5
- package/dist-esm/samples-dev/devBoxDefinitionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/devBoxDefinitionsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/devBoxDefinitionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/devBoxDefinitionsGetByProjectSample.js +12 -4
- package/dist-esm/samples-dev/devBoxDefinitionsGetByProjectSample.js.map +1 -1
- package/dist-esm/samples-dev/devBoxDefinitionsGetSample.js +12 -4
- package/dist-esm/samples-dev/devBoxDefinitionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/devBoxDefinitionsListByDevCenterSample.js +24 -9
- package/dist-esm/samples-dev/devBoxDefinitionsListByDevCenterSample.js.map +1 -1
- package/dist-esm/samples-dev/devBoxDefinitionsListByProjectSample.js +24 -9
- package/dist-esm/samples-dev/devBoxDefinitionsListByProjectSample.js.map +1 -1
- package/dist-esm/samples-dev/devBoxDefinitionsUpdateSample.js +12 -4
- package/dist-esm/samples-dev/devBoxDefinitionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/devCentersCreateOrUpdateSample.js +17 -8
- package/dist-esm/samples-dev/devCentersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/devCentersDeleteSample.js +12 -4
- package/dist-esm/samples-dev/devCentersDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/devCentersGetSample.js +12 -4
- package/dist-esm/samples-dev/devCentersGetSample.js.map +1 -1
- package/dist-esm/samples-dev/devCentersListByResourceGroupSample.js +24 -9
- package/dist-esm/samples-dev/devCentersListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/devCentersListBySubscriptionSample.js +23 -8
- package/dist-esm/samples-dev/devCentersListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/devCentersUpdateSample.js +12 -4
- package/dist-esm/samples-dev/devCentersUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentTypesCreateOrUpdateSample.js +13 -5
- package/dist-esm/samples-dev/environmentTypesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentTypesDeleteSample.js +13 -5
- package/dist-esm/samples-dev/environmentTypesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentTypesGetSample.js +13 -5
- package/dist-esm/samples-dev/environmentTypesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentTypesListByDevCenterSample.js +24 -9
- package/dist-esm/samples-dev/environmentTypesListByDevCenterSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentTypesUpdateSample.js +13 -5
- package/dist-esm/samples-dev/environmentTypesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/galleriesCreateOrUpdateSample.js +14 -6
- package/dist-esm/samples-dev/galleriesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/galleriesDeleteSample.js +13 -5
- package/dist-esm/samples-dev/galleriesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/galleriesGetSample.js +13 -5
- package/dist-esm/samples-dev/galleriesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/galleriesListByDevCenterSample.js +24 -9
- package/dist-esm/samples-dev/galleriesListByDevCenterSample.js.map +1 -1
- package/dist-esm/samples-dev/imageVersionsGetSample.js +13 -5
- package/dist-esm/samples-dev/imageVersionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/imageVersionsListByImageSample.js +24 -9
- package/dist-esm/samples-dev/imageVersionsListByImageSample.js.map +1 -1
- package/dist-esm/samples-dev/imagesGetSample.js +13 -5
- package/dist-esm/samples-dev/imagesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/imagesListByDevCenterSample.js +24 -9
- package/dist-esm/samples-dev/imagesListByDevCenterSample.js.map +1 -1
- package/dist-esm/samples-dev/imagesListByGallerySample.js +24 -9
- package/dist-esm/samples-dev/imagesListByGallerySample.js.map +1 -1
- package/dist-esm/samples-dev/networkConnectionsCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/networkConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/networkConnectionsDeleteSample.js +13 -5
- package/dist-esm/samples-dev/networkConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/networkConnectionsGetHealthDetailsSample.js +13 -5
- package/dist-esm/samples-dev/networkConnectionsGetHealthDetailsSample.js.map +1 -1
- package/dist-esm/samples-dev/networkConnectionsGetSample.js +12 -4
- package/dist-esm/samples-dev/networkConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/networkConnectionsListByResourceGroupSample.js +24 -9
- package/dist-esm/samples-dev/networkConnectionsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/networkConnectionsListBySubscriptionSample.js +23 -8
- package/dist-esm/samples-dev/networkConnectionsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/networkConnectionsListHealthDetailsSample.js +24 -9
- package/dist-esm/samples-dev/networkConnectionsListHealthDetailsSample.js.map +1 -1
- package/dist-esm/samples-dev/networkConnectionsListOutboundNetworkDependenciesEndpointsSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkConnectionsListOutboundNetworkDependenciesEndpointsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkConnectionsListOutboundNetworkDependenciesEndpointsSample.js +60 -0
- package/dist-esm/samples-dev/networkConnectionsListOutboundNetworkDependenciesEndpointsSample.js.map +1 -0
- package/dist-esm/samples-dev/networkConnectionsRunHealthChecksSample.js +13 -5
- package/dist-esm/samples-dev/networkConnectionsRunHealthChecksSample.js.map +1 -1
- package/dist-esm/samples-dev/networkConnectionsUpdateSample.js +12 -4
- package/dist-esm/samples-dev/networkConnectionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationStatusesGetSample.js +13 -5
- package/dist-esm/samples-dev/operationStatusesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +23 -8
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.js +16 -7
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/poolsDeleteSample.js +13 -5
- package/dist-esm/samples-dev/poolsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/poolsGetSample.js +34 -6
- package/dist-esm/samples-dev/poolsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/poolsListByProjectSample.js +25 -10
- package/dist-esm/samples-dev/poolsListByProjectSample.js.map +1 -1
- package/dist-esm/samples-dev/poolsRunHealthChecksSample.d.ts +2 -0
- package/dist-esm/samples-dev/poolsRunHealthChecksSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/poolsRunHealthChecksSample.js +40 -0
- package/dist-esm/samples-dev/poolsRunHealthChecksSample.js.map +1 -0
- package/dist-esm/samples-dev/poolsUpdateSample.js +14 -6
- package/dist-esm/samples-dev/poolsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/projectAllowedEnvironmentTypesGetSample.js +13 -5
- package/dist-esm/samples-dev/projectAllowedEnvironmentTypesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/projectAllowedEnvironmentTypesListSample.js +24 -9
- package/dist-esm/samples-dev/projectAllowedEnvironmentTypesListSample.js.map +1 -1
- package/dist-esm/samples-dev/projectEnvironmentTypesCreateOrUpdateSample.js +13 -5
- package/dist-esm/samples-dev/projectEnvironmentTypesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/projectEnvironmentTypesDeleteSample.js +13 -5
- package/dist-esm/samples-dev/projectEnvironmentTypesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/projectEnvironmentTypesGetSample.js +13 -5
- package/dist-esm/samples-dev/projectEnvironmentTypesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/projectEnvironmentTypesListSample.js +24 -9
- package/dist-esm/samples-dev/projectEnvironmentTypesListSample.js.map +1 -1
- package/dist-esm/samples-dev/projectEnvironmentTypesUpdateSample.js +13 -5
- package/dist-esm/samples-dev/projectEnvironmentTypesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +40 -6
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/projectsDeleteSample.js +13 -5
- package/dist-esm/samples-dev/projectsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/projectsGetSample.js +13 -5
- package/dist-esm/samples-dev/projectsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/projectsListByResourceGroupSample.js +24 -9
- package/dist-esm/samples-dev/projectsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/projectsListBySubscriptionSample.js +23 -8
- package/dist-esm/samples-dev/projectsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/projectsUpdateSample.js +13 -5
- package/dist-esm/samples-dev/projectsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/schedulesDeleteSample.js +12 -4
- package/dist-esm/samples-dev/schedulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/schedulesGetSample.js +12 -4
- package/dist-esm/samples-dev/schedulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/schedulesListByPoolSample.js +24 -9
- package/dist-esm/samples-dev/schedulesListByPoolSample.js.map +1 -1
- package/dist-esm/samples-dev/schedulesUpdateSample.js +12 -4
- package/dist-esm/samples-dev/schedulesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/skusListBySubscriptionSample.js +23 -8
- package/dist-esm/samples-dev/skusListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/usagesListByLocationSample.js +23 -8
- package/dist-esm/samples-dev/usagesListByLocationSample.js.map +1 -1
- package/dist-esm/src/devCenterClient.d.ts +2 -1
- package/dist-esm/src/devCenterClient.d.ts.map +1 -1
- package/dist-esm/src/devCenterClient.js +4 -3
- package/dist-esm/src/devCenterClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +460 -185
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +92 -10
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +9 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +329 -19
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +6 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/attachedNetworks.d.ts +3 -3
- package/dist-esm/src/operations/attachedNetworks.d.ts.map +1 -1
- package/dist-esm/src/operations/attachedNetworks.js +55 -35
- package/dist-esm/src/operations/attachedNetworks.js.map +1 -1
- package/dist-esm/src/operations/catalogs.d.ts +5 -5
- package/dist-esm/src/operations/catalogs.d.ts.map +1 -1
- package/dist-esm/src/operations/catalogs.js +50 -28
- package/dist-esm/src/operations/catalogs.js.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.d.ts +19 -0
- package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -0
- package/dist-esm/src/operations/checkNameAvailability.js +49 -0
- package/dist-esm/src/operations/checkNameAvailability.js.map +1 -0
- package/dist-esm/src/operations/devBoxDefinitions.d.ts +4 -4
- package/dist-esm/src/operations/devBoxDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operations/devBoxDefinitions.js +65 -29
- package/dist-esm/src/operations/devBoxDefinitions.js.map +1 -1
- package/dist-esm/src/operations/devCenters.d.ts +4 -4
- package/dist-esm/src/operations/devCenters.d.ts.map +1 -1
- package/dist-esm/src/operations/devCenters.js +53 -29
- package/dist-esm/src/operations/devCenters.js.map +1 -1
- package/dist-esm/src/operations/environmentTypes.js +12 -6
- package/dist-esm/src/operations/environmentTypes.js.map +1 -1
- package/dist-esm/src/operations/galleries.d.ts +3 -3
- package/dist-esm/src/operations/galleries.d.ts.map +1 -1
- package/dist-esm/src/operations/galleries.js +32 -18
- package/dist-esm/src/operations/galleries.js.map +1 -1
- package/dist-esm/src/operations/imageVersions.js +12 -6
- package/dist-esm/src/operations/imageVersions.js.map +1 -1
- package/dist-esm/src/operations/images.js +24 -12
- package/dist-esm/src/operations/images.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/networkConnections.d.ts +41 -6
- package/dist-esm/src/operations/networkConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/networkConnections.js +250 -37
- package/dist-esm/src/operations/networkConnections.js.map +1 -1
- package/dist-esm/src/operations/operations.js +12 -6
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/pools.d.ts +21 -5
- package/dist-esm/src/operations/pools.d.ts.map +1 -1
- package/dist-esm/src/operations/pools.js +122 -23
- package/dist-esm/src/operations/pools.js.map +1 -1
- package/dist-esm/src/operations/projectAllowedEnvironmentTypes.js +12 -6
- package/dist-esm/src/operations/projectAllowedEnvironmentTypes.js.map +1 -1
- package/dist-esm/src/operations/projectEnvironmentTypes.js +12 -6
- package/dist-esm/src/operations/projectEnvironmentTypes.js.map +1 -1
- package/dist-esm/src/operations/projects.d.ts +4 -4
- package/dist-esm/src/operations/projects.d.ts.map +1 -1
- package/dist-esm/src/operations/projects.js +53 -29
- package/dist-esm/src/operations/projects.js.map +1 -1
- package/dist-esm/src/operations/schedules.d.ts +4 -4
- package/dist-esm/src/operations/schedules.d.ts.map +1 -1
- package/dist-esm/src/operations/schedules.js +55 -23
- package/dist-esm/src/operations/schedules.js.map +1 -1
- package/dist-esm/src/operations/skus.js +12 -6
- package/dist-esm/src/operations/skus.js.map +1 -1
- package/dist-esm/src/operations/usages.js +12 -6
- package/dist-esm/src/operations/usages.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/attachedNetworks.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/attachedNetworks.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/catalogs.d.ts +5 -5
- package/dist-esm/src/operationsInterfaces/catalogs.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.js +9 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/devBoxDefinitions.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/devBoxDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/devCenters.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/devCenters.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/galleries.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/galleries.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/networkConnections.d.ts +22 -6
- package/dist-esm/src/operationsInterfaces/networkConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/pools.d.ts +21 -5
- package/dist-esm/src/operationsInterfaces/pools.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/projects.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/schedules.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/schedules.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/devcenter_examples.spec.js +24 -10
- package/dist-esm/test/devcenter_examples.spec.js.map +1 -1
- package/package.json +11 -10
- package/review/arm-devcenter.api.md +241 -82
- package/src/devCenterClient.ts +6 -2
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +410 -125
- package/src/models/mappers.ts +351 -18
- package/src/models/parameters.ts +7 -1
- package/src/operations/attachedNetworks.ts +30 -25
- package/src/operations/catalogs.ts +54 -45
- package/src/operations/checkNameAvailability.ts +68 -0
- package/src/operations/devBoxDefinitions.ts +56 -36
- package/src/operations/devCenters.ts +44 -36
- package/src/operations/environmentTypes.ts +0 -1
- package/src/operations/galleries.ts +30 -24
- package/src/operations/imageVersions.ts +0 -1
- package/src/operations/images.ts +0 -2
- package/src/operations/index.ts +1 -0
- package/src/operations/networkConnections.ts +292 -40
- package/src/operations/operations.ts +0 -1
- package/src/operations/pools.ts +156 -34
- package/src/operations/projectAllowedEnvironmentTypes.ts +0 -1
- package/src/operations/projectEnvironmentTypes.ts +0 -1
- package/src/operations/projects.ts +44 -36
- package/src/operations/schedules.ts +58 -35
- package/src/operations/skus.ts +0 -1
- package/src/operations/usages.ts +0 -1
- package/src/operationsInterfaces/attachedNetworks.ts +4 -4
- package/src/operationsInterfaces/catalogs.ts +7 -7
- package/src/operationsInterfaces/checkNameAvailability.ts +26 -0
- package/src/operationsInterfaces/devBoxDefinitions.ts +6 -6
- package/src/operationsInterfaces/devCenters.ts +6 -6
- package/src/operationsInterfaces/galleries.ts +4 -4
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/networkConnections.ts +33 -7
- package/src/operationsInterfaces/pools.ts +33 -6
- package/src/operationsInterfaces/projects.ts +6 -6
- package/src/operationsInterfaces/schedules.ts +6 -6
- package/src/pagingHelper.ts +4 -4
- package/types/arm-devcenter.d.ts +470 -124
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37,11 +37,11 @@ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipelin
|
|
|
37
37
|
*/
|
|
38
38
|
const pageMap = new WeakMap();
|
|
39
39
|
/**
|
|
40
|
-
* Given
|
|
41
|
-
* continuation token that can be used to begin paging from
|
|
40
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
41
|
+
* returns a continuation token that can be used to begin paging from
|
|
42
42
|
* that point later.
|
|
43
|
-
* @param page
|
|
44
|
-
* @returns The continuation token that can be passed into byPage().
|
|
43
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
44
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
45
45
|
*/
|
|
46
46
|
function getContinuationToken(page) {
|
|
47
47
|
var _a;
|
|
@@ -67,6 +67,42 @@ function setContinuationToken(page, continuationToken) {
|
|
|
67
67
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
68
68
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
69
69
|
*/
|
|
70
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
71
|
+
exports.KnownProvisioningState = void 0;
|
|
72
|
+
(function (KnownProvisioningState) {
|
|
73
|
+
/** NotSpecified */
|
|
74
|
+
KnownProvisioningState["NotSpecified"] = "NotSpecified";
|
|
75
|
+
/** Accepted */
|
|
76
|
+
KnownProvisioningState["Accepted"] = "Accepted";
|
|
77
|
+
/** Running */
|
|
78
|
+
KnownProvisioningState["Running"] = "Running";
|
|
79
|
+
/** Creating */
|
|
80
|
+
KnownProvisioningState["Creating"] = "Creating";
|
|
81
|
+
/** Created */
|
|
82
|
+
KnownProvisioningState["Created"] = "Created";
|
|
83
|
+
/** Updating */
|
|
84
|
+
KnownProvisioningState["Updating"] = "Updating";
|
|
85
|
+
/** Updated */
|
|
86
|
+
KnownProvisioningState["Updated"] = "Updated";
|
|
87
|
+
/** Deleting */
|
|
88
|
+
KnownProvisioningState["Deleting"] = "Deleting";
|
|
89
|
+
/** Deleted */
|
|
90
|
+
KnownProvisioningState["Deleted"] = "Deleted";
|
|
91
|
+
/** Succeeded */
|
|
92
|
+
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
93
|
+
/** Failed */
|
|
94
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
95
|
+
/** Canceled */
|
|
96
|
+
KnownProvisioningState["Canceled"] = "Canceled";
|
|
97
|
+
/** MovingResources */
|
|
98
|
+
KnownProvisioningState["MovingResources"] = "MovingResources";
|
|
99
|
+
/** TransientFailure */
|
|
100
|
+
KnownProvisioningState["TransientFailure"] = "TransientFailure";
|
|
101
|
+
/** RolloutInProgress */
|
|
102
|
+
KnownProvisioningState["RolloutInProgress"] = "RolloutInProgress";
|
|
103
|
+
/** StorageProvisioningFailed */
|
|
104
|
+
KnownProvisioningState["StorageProvisioningFailed"] = "StorageProvisioningFailed";
|
|
105
|
+
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
70
106
|
/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
|
|
71
107
|
exports.KnownManagedServiceIdentityType = void 0;
|
|
72
108
|
(function (KnownManagedServiceIdentityType) {
|
|
@@ -94,18 +130,18 @@ exports.KnownCreatedByType = void 0;
|
|
|
94
130
|
/** Known values of {@link HealthCheckStatus} that the service accepts. */
|
|
95
131
|
exports.KnownHealthCheckStatus = void 0;
|
|
96
132
|
(function (KnownHealthCheckStatus) {
|
|
133
|
+
/** Unknown */
|
|
134
|
+
KnownHealthCheckStatus["Unknown"] = "Unknown";
|
|
97
135
|
/** Pending */
|
|
98
136
|
KnownHealthCheckStatus["Pending"] = "Pending";
|
|
99
137
|
/** Running */
|
|
100
138
|
KnownHealthCheckStatus["Running"] = "Running";
|
|
101
139
|
/** Passed */
|
|
102
140
|
KnownHealthCheckStatus["Passed"] = "Passed";
|
|
103
|
-
/** Failed */
|
|
104
|
-
KnownHealthCheckStatus["Failed"] = "Failed";
|
|
105
141
|
/** Warning */
|
|
106
142
|
KnownHealthCheckStatus["Warning"] = "Warning";
|
|
107
|
-
/**
|
|
108
|
-
KnownHealthCheckStatus["
|
|
143
|
+
/** Failed */
|
|
144
|
+
KnownHealthCheckStatus["Failed"] = "Failed";
|
|
109
145
|
})(exports.KnownHealthCheckStatus || (exports.KnownHealthCheckStatus = {}));
|
|
110
146
|
/** Known values of {@link DomainJoinType} that the service accepts. */
|
|
111
147
|
exports.KnownDomainJoinType = void 0;
|
|
@@ -115,6 +151,14 @@ exports.KnownDomainJoinType = void 0;
|
|
|
115
151
|
/** AzureADJoin */
|
|
116
152
|
KnownDomainJoinType["AzureADJoin"] = "AzureADJoin";
|
|
117
153
|
})(exports.KnownDomainJoinType || (exports.KnownDomainJoinType = {}));
|
|
154
|
+
/** Known values of {@link HibernateSupport} that the service accepts. */
|
|
155
|
+
exports.KnownHibernateSupport = void 0;
|
|
156
|
+
(function (KnownHibernateSupport) {
|
|
157
|
+
/** Disabled */
|
|
158
|
+
KnownHibernateSupport["Disabled"] = "Disabled";
|
|
159
|
+
/** Enabled */
|
|
160
|
+
KnownHibernateSupport["Enabled"] = "Enabled";
|
|
161
|
+
})(exports.KnownHibernateSupport || (exports.KnownHibernateSupport = {}));
|
|
118
162
|
/** Known values of {@link CatalogSyncState} that the service accepts. */
|
|
119
163
|
exports.KnownCatalogSyncState = void 0;
|
|
120
164
|
(function (KnownCatalogSyncState) {
|
|
@@ -127,14 +171,14 @@ exports.KnownCatalogSyncState = void 0;
|
|
|
127
171
|
/** Canceled */
|
|
128
172
|
KnownCatalogSyncState["Canceled"] = "Canceled";
|
|
129
173
|
})(exports.KnownCatalogSyncState || (exports.KnownCatalogSyncState = {}));
|
|
130
|
-
/** Known values of {@link
|
|
131
|
-
exports.
|
|
132
|
-
(function (
|
|
174
|
+
/** Known values of {@link EnvironmentTypeEnableStatus} that the service accepts. */
|
|
175
|
+
exports.KnownEnvironmentTypeEnableStatus = void 0;
|
|
176
|
+
(function (KnownEnvironmentTypeEnableStatus) {
|
|
133
177
|
/** Enabled */
|
|
134
|
-
|
|
178
|
+
KnownEnvironmentTypeEnableStatus["Enabled"] = "Enabled";
|
|
135
179
|
/** Disabled */
|
|
136
|
-
|
|
137
|
-
})(exports.
|
|
180
|
+
KnownEnvironmentTypeEnableStatus["Disabled"] = "Disabled";
|
|
181
|
+
})(exports.KnownEnvironmentTypeEnableStatus || (exports.KnownEnvironmentTypeEnableStatus = {}));
|
|
138
182
|
/** Known values of {@link ImageValidationStatus} that the service accepts. */
|
|
139
183
|
exports.KnownImageValidationStatus = void 0;
|
|
140
184
|
(function (KnownImageValidationStatus) {
|
|
@@ -171,6 +215,28 @@ exports.KnownUsageUnit = void 0;
|
|
|
171
215
|
/** Count */
|
|
172
216
|
KnownUsageUnit["Count"] = "Count";
|
|
173
217
|
})(exports.KnownUsageUnit || (exports.KnownUsageUnit = {}));
|
|
218
|
+
/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
|
|
219
|
+
exports.KnownCheckNameAvailabilityReason = void 0;
|
|
220
|
+
(function (KnownCheckNameAvailabilityReason) {
|
|
221
|
+
/** Invalid */
|
|
222
|
+
KnownCheckNameAvailabilityReason["Invalid"] = "Invalid";
|
|
223
|
+
/** AlreadyExists */
|
|
224
|
+
KnownCheckNameAvailabilityReason["AlreadyExists"] = "AlreadyExists";
|
|
225
|
+
})(exports.KnownCheckNameAvailabilityReason || (exports.KnownCheckNameAvailabilityReason = {}));
|
|
226
|
+
/** Known values of {@link HealthStatus} that the service accepts. */
|
|
227
|
+
exports.KnownHealthStatus = void 0;
|
|
228
|
+
(function (KnownHealthStatus) {
|
|
229
|
+
/** Unknown */
|
|
230
|
+
KnownHealthStatus["Unknown"] = "Unknown";
|
|
231
|
+
/** Pending */
|
|
232
|
+
KnownHealthStatus["Pending"] = "Pending";
|
|
233
|
+
/** Healthy */
|
|
234
|
+
KnownHealthStatus["Healthy"] = "Healthy";
|
|
235
|
+
/** Warning */
|
|
236
|
+
KnownHealthStatus["Warning"] = "Warning";
|
|
237
|
+
/** Unhealthy */
|
|
238
|
+
KnownHealthStatus["Unhealthy"] = "Unhealthy";
|
|
239
|
+
})(exports.KnownHealthStatus || (exports.KnownHealthStatus = {}));
|
|
174
240
|
/** Known values of {@link LicenseType} that the service accepts. */
|
|
175
241
|
exports.KnownLicenseType = void 0;
|
|
176
242
|
(function (KnownLicenseType) {
|
|
@@ -185,6 +251,14 @@ exports.KnownLocalAdminStatus = void 0;
|
|
|
185
251
|
/** Enabled */
|
|
186
252
|
KnownLocalAdminStatus["Enabled"] = "Enabled";
|
|
187
253
|
})(exports.KnownLocalAdminStatus || (exports.KnownLocalAdminStatus = {}));
|
|
254
|
+
/** Known values of {@link StopOnDisconnectEnableStatus} that the service accepts. */
|
|
255
|
+
exports.KnownStopOnDisconnectEnableStatus = void 0;
|
|
256
|
+
(function (KnownStopOnDisconnectEnableStatus) {
|
|
257
|
+
/** Enabled */
|
|
258
|
+
KnownStopOnDisconnectEnableStatus["Enabled"] = "Enabled";
|
|
259
|
+
/** Disabled */
|
|
260
|
+
KnownStopOnDisconnectEnableStatus["Disabled"] = "Disabled";
|
|
261
|
+
})(exports.KnownStopOnDisconnectEnableStatus || (exports.KnownStopOnDisconnectEnableStatus = {}));
|
|
188
262
|
/** Known values of {@link ScheduledType} that the service accepts. */
|
|
189
263
|
exports.KnownScheduledType = void 0;
|
|
190
264
|
(function (KnownScheduledType) {
|
|
@@ -197,6 +271,14 @@ exports.KnownScheduledFrequency = void 0;
|
|
|
197
271
|
/** Daily */
|
|
198
272
|
KnownScheduledFrequency["Daily"] = "Daily";
|
|
199
273
|
})(exports.KnownScheduledFrequency || (exports.KnownScheduledFrequency = {}));
|
|
274
|
+
/** Known values of {@link ScheduleEnableStatus} that the service accepts. */
|
|
275
|
+
exports.KnownScheduleEnableStatus = void 0;
|
|
276
|
+
(function (KnownScheduleEnableStatus) {
|
|
277
|
+
/** Enabled */
|
|
278
|
+
KnownScheduleEnableStatus["Enabled"] = "Enabled";
|
|
279
|
+
/** Disabled */
|
|
280
|
+
KnownScheduleEnableStatus["Disabled"] = "Disabled";
|
|
281
|
+
})(exports.KnownScheduleEnableStatus || (exports.KnownScheduleEnableStatus = {}));
|
|
200
282
|
|
|
201
283
|
/*
|
|
202
284
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -493,6 +575,15 @@ const ProjectUpdateProperties = {
|
|
|
493
575
|
type: {
|
|
494
576
|
name: "String"
|
|
495
577
|
}
|
|
578
|
+
},
|
|
579
|
+
maxDevBoxesPerUser: {
|
|
580
|
+
constraints: {
|
|
581
|
+
InclusiveMinimum: 0
|
|
582
|
+
},
|
|
583
|
+
serializedName: "maxDevBoxesPerUser",
|
|
584
|
+
type: {
|
|
585
|
+
name: "Number"
|
|
586
|
+
}
|
|
496
587
|
}
|
|
497
588
|
}
|
|
498
589
|
}
|
|
@@ -1066,24 +1157,6 @@ const ImageReference = {
|
|
|
1066
1157
|
type: {
|
|
1067
1158
|
name: "String"
|
|
1068
1159
|
}
|
|
1069
|
-
},
|
|
1070
|
-
publisher: {
|
|
1071
|
-
serializedName: "publisher",
|
|
1072
|
-
type: {
|
|
1073
|
-
name: "String"
|
|
1074
|
-
}
|
|
1075
|
-
},
|
|
1076
|
-
offer: {
|
|
1077
|
-
serializedName: "offer",
|
|
1078
|
-
type: {
|
|
1079
|
-
name: "String"
|
|
1080
|
-
}
|
|
1081
|
-
},
|
|
1082
|
-
sku: {
|
|
1083
|
-
serializedName: "sku",
|
|
1084
|
-
type: {
|
|
1085
|
-
name: "String"
|
|
1086
|
-
}
|
|
1087
1160
|
}
|
|
1088
1161
|
}
|
|
1089
1162
|
}
|
|
@@ -1112,6 +1185,12 @@ const DevBoxDefinitionUpdateProperties = {
|
|
|
1112
1185
|
type: {
|
|
1113
1186
|
name: "String"
|
|
1114
1187
|
}
|
|
1188
|
+
},
|
|
1189
|
+
hibernateSupport: {
|
|
1190
|
+
serializedName: "hibernateSupport",
|
|
1191
|
+
type: {
|
|
1192
|
+
name: "String"
|
|
1193
|
+
}
|
|
1115
1194
|
}
|
|
1116
1195
|
}
|
|
1117
1196
|
}
|
|
@@ -1490,6 +1569,67 @@ const UsageName = {
|
|
|
1490
1569
|
}
|
|
1491
1570
|
}
|
|
1492
1571
|
};
|
|
1572
|
+
const CheckNameAvailabilityRequest = {
|
|
1573
|
+
type: {
|
|
1574
|
+
name: "Composite",
|
|
1575
|
+
className: "CheckNameAvailabilityRequest",
|
|
1576
|
+
modelProperties: {
|
|
1577
|
+
name: {
|
|
1578
|
+
serializedName: "name",
|
|
1579
|
+
type: {
|
|
1580
|
+
name: "String"
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
type: {
|
|
1584
|
+
serializedName: "type",
|
|
1585
|
+
type: {
|
|
1586
|
+
name: "String"
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
};
|
|
1592
|
+
const CheckNameAvailabilityResponse = {
|
|
1593
|
+
type: {
|
|
1594
|
+
name: "Composite",
|
|
1595
|
+
className: "CheckNameAvailabilityResponse",
|
|
1596
|
+
modelProperties: {
|
|
1597
|
+
nameAvailable: {
|
|
1598
|
+
serializedName: "nameAvailable",
|
|
1599
|
+
type: {
|
|
1600
|
+
name: "Boolean"
|
|
1601
|
+
}
|
|
1602
|
+
},
|
|
1603
|
+
reason: {
|
|
1604
|
+
serializedName: "reason",
|
|
1605
|
+
type: {
|
|
1606
|
+
name: "String"
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
message: {
|
|
1610
|
+
serializedName: "message",
|
|
1611
|
+
type: {
|
|
1612
|
+
name: "String"
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
};
|
|
1618
|
+
const ErrorResponse = {
|
|
1619
|
+
type: {
|
|
1620
|
+
name: "Composite",
|
|
1621
|
+
className: "ErrorResponse",
|
|
1622
|
+
modelProperties: {
|
|
1623
|
+
error: {
|
|
1624
|
+
serializedName: "error",
|
|
1625
|
+
type: {
|
|
1626
|
+
name: "Composite",
|
|
1627
|
+
className: "ErrorDetail"
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
};
|
|
1493
1633
|
const SkuListResult = {
|
|
1494
1634
|
type: {
|
|
1495
1635
|
name: "Composite",
|
|
@@ -1568,6 +1708,28 @@ const PoolListResult = {
|
|
|
1568
1708
|
}
|
|
1569
1709
|
}
|
|
1570
1710
|
};
|
|
1711
|
+
const HealthStatusDetail = {
|
|
1712
|
+
type: {
|
|
1713
|
+
name: "Composite",
|
|
1714
|
+
className: "HealthStatusDetail",
|
|
1715
|
+
modelProperties: {
|
|
1716
|
+
code: {
|
|
1717
|
+
serializedName: "code",
|
|
1718
|
+
readOnly: true,
|
|
1719
|
+
type: {
|
|
1720
|
+
name: "String"
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
message: {
|
|
1724
|
+
serializedName: "message",
|
|
1725
|
+
readOnly: true,
|
|
1726
|
+
type: {
|
|
1727
|
+
name: "String"
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
};
|
|
1571
1733
|
const PoolUpdateProperties = {
|
|
1572
1734
|
type: {
|
|
1573
1735
|
name: "Composite",
|
|
@@ -1596,6 +1758,33 @@ const PoolUpdateProperties = {
|
|
|
1596
1758
|
type: {
|
|
1597
1759
|
name: "String"
|
|
1598
1760
|
}
|
|
1761
|
+
},
|
|
1762
|
+
stopOnDisconnect: {
|
|
1763
|
+
serializedName: "stopOnDisconnect",
|
|
1764
|
+
type: {
|
|
1765
|
+
name: "Composite",
|
|
1766
|
+
className: "StopOnDisconnectConfiguration"
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
};
|
|
1772
|
+
const StopOnDisconnectConfiguration = {
|
|
1773
|
+
type: {
|
|
1774
|
+
name: "Composite",
|
|
1775
|
+
className: "StopOnDisconnectConfiguration",
|
|
1776
|
+
modelProperties: {
|
|
1777
|
+
status: {
|
|
1778
|
+
serializedName: "status",
|
|
1779
|
+
type: {
|
|
1780
|
+
name: "String"
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
gracePeriodMinutes: {
|
|
1784
|
+
serializedName: "gracePeriodMinutes",
|
|
1785
|
+
type: {
|
|
1786
|
+
name: "Number"
|
|
1787
|
+
}
|
|
1599
1788
|
}
|
|
1600
1789
|
}
|
|
1601
1790
|
}
|
|
@@ -1817,6 +2006,111 @@ const HealthCheck = {
|
|
|
1817
2006
|
}
|
|
1818
2007
|
}
|
|
1819
2008
|
};
|
|
2009
|
+
const OutboundEnvironmentEndpointCollection = {
|
|
2010
|
+
type: {
|
|
2011
|
+
name: "Composite",
|
|
2012
|
+
className: "OutboundEnvironmentEndpointCollection",
|
|
2013
|
+
modelProperties: {
|
|
2014
|
+
value: {
|
|
2015
|
+
serializedName: "value",
|
|
2016
|
+
readOnly: true,
|
|
2017
|
+
type: {
|
|
2018
|
+
name: "Sequence",
|
|
2019
|
+
element: {
|
|
2020
|
+
type: {
|
|
2021
|
+
name: "Composite",
|
|
2022
|
+
className: "OutboundEnvironmentEndpoint"
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
2027
|
+
nextLink: {
|
|
2028
|
+
serializedName: "nextLink",
|
|
2029
|
+
type: {
|
|
2030
|
+
name: "String"
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
};
|
|
2036
|
+
const OutboundEnvironmentEndpoint = {
|
|
2037
|
+
type: {
|
|
2038
|
+
name: "Composite",
|
|
2039
|
+
className: "OutboundEnvironmentEndpoint",
|
|
2040
|
+
modelProperties: {
|
|
2041
|
+
category: {
|
|
2042
|
+
serializedName: "category",
|
|
2043
|
+
readOnly: true,
|
|
2044
|
+
type: {
|
|
2045
|
+
name: "String"
|
|
2046
|
+
}
|
|
2047
|
+
},
|
|
2048
|
+
endpoints: {
|
|
2049
|
+
serializedName: "endpoints",
|
|
2050
|
+
readOnly: true,
|
|
2051
|
+
type: {
|
|
2052
|
+
name: "Sequence",
|
|
2053
|
+
element: {
|
|
2054
|
+
type: {
|
|
2055
|
+
name: "Composite",
|
|
2056
|
+
className: "EndpointDependency"
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
};
|
|
2064
|
+
const EndpointDependency = {
|
|
2065
|
+
type: {
|
|
2066
|
+
name: "Composite",
|
|
2067
|
+
className: "EndpointDependency",
|
|
2068
|
+
modelProperties: {
|
|
2069
|
+
domainName: {
|
|
2070
|
+
serializedName: "domainName",
|
|
2071
|
+
readOnly: true,
|
|
2072
|
+
type: {
|
|
2073
|
+
name: "String"
|
|
2074
|
+
}
|
|
2075
|
+
},
|
|
2076
|
+
description: {
|
|
2077
|
+
serializedName: "description",
|
|
2078
|
+
readOnly: true,
|
|
2079
|
+
type: {
|
|
2080
|
+
name: "String"
|
|
2081
|
+
}
|
|
2082
|
+
},
|
|
2083
|
+
endpointDetails: {
|
|
2084
|
+
serializedName: "endpointDetails",
|
|
2085
|
+
readOnly: true,
|
|
2086
|
+
type: {
|
|
2087
|
+
name: "Sequence",
|
|
2088
|
+
element: {
|
|
2089
|
+
type: {
|
|
2090
|
+
name: "Composite",
|
|
2091
|
+
className: "EndpointDetail"
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
};
|
|
2099
|
+
const EndpointDetail = {
|
|
2100
|
+
type: {
|
|
2101
|
+
name: "Composite",
|
|
2102
|
+
className: "EndpointDetail",
|
|
2103
|
+
modelProperties: {
|
|
2104
|
+
port: {
|
|
2105
|
+
serializedName: "port",
|
|
2106
|
+
readOnly: true,
|
|
2107
|
+
type: {
|
|
2108
|
+
name: "Number"
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
};
|
|
1820
2114
|
const TrackedResource = {
|
|
1821
2115
|
type: {
|
|
1822
2116
|
name: "Composite",
|
|
@@ -2116,6 +2410,14 @@ const ProjectUpdate = {
|
|
|
2116
2410
|
type: {
|
|
2117
2411
|
name: "String"
|
|
2118
2412
|
}
|
|
2413
|
+
}, maxDevBoxesPerUser: {
|
|
2414
|
+
constraints: {
|
|
2415
|
+
InclusiveMinimum: 0
|
|
2416
|
+
},
|
|
2417
|
+
serializedName: "properties.maxDevBoxesPerUser",
|
|
2418
|
+
type: {
|
|
2419
|
+
name: "Number"
|
|
2420
|
+
}
|
|
2119
2421
|
} })
|
|
2120
2422
|
}
|
|
2121
2423
|
};
|
|
@@ -2140,6 +2442,11 @@ const DevBoxDefinitionUpdate = {
|
|
|
2140
2442
|
type: {
|
|
2141
2443
|
name: "String"
|
|
2142
2444
|
}
|
|
2445
|
+
}, hibernateSupport: {
|
|
2446
|
+
serializedName: "properties.hibernateSupport",
|
|
2447
|
+
type: {
|
|
2448
|
+
name: "String"
|
|
2449
|
+
}
|
|
2143
2450
|
} })
|
|
2144
2451
|
}
|
|
2145
2452
|
};
|
|
@@ -2167,6 +2474,12 @@ const PoolUpdate = {
|
|
|
2167
2474
|
type: {
|
|
2168
2475
|
name: "String"
|
|
2169
2476
|
}
|
|
2477
|
+
}, stopOnDisconnect: {
|
|
2478
|
+
serializedName: "properties.stopOnDisconnect",
|
|
2479
|
+
type: {
|
|
2480
|
+
name: "Composite",
|
|
2481
|
+
className: "StopOnDisconnectConfiguration"
|
|
2482
|
+
}
|
|
2170
2483
|
} })
|
|
2171
2484
|
}
|
|
2172
2485
|
};
|
|
@@ -2244,6 +2557,12 @@ const ProjectProperties = {
|
|
|
2244
2557
|
type: {
|
|
2245
2558
|
name: "String"
|
|
2246
2559
|
}
|
|
2560
|
+
}, devCenterUri: {
|
|
2561
|
+
serializedName: "devCenterUri",
|
|
2562
|
+
readOnly: true,
|
|
2563
|
+
type: {
|
|
2564
|
+
name: "String"
|
|
2565
|
+
}
|
|
2247
2566
|
} })
|
|
2248
2567
|
}
|
|
2249
2568
|
};
|
|
@@ -2376,7 +2695,25 @@ const PoolProperties = {
|
|
|
2376
2695
|
type: {
|
|
2377
2696
|
name: "Composite",
|
|
2378
2697
|
className: "PoolProperties",
|
|
2379
|
-
modelProperties: Object.assign(Object.assign({}, PoolUpdateProperties.type.modelProperties), {
|
|
2698
|
+
modelProperties: Object.assign(Object.assign({}, PoolUpdateProperties.type.modelProperties), { healthStatus: {
|
|
2699
|
+
serializedName: "healthStatus",
|
|
2700
|
+
readOnly: true,
|
|
2701
|
+
type: {
|
|
2702
|
+
name: "String"
|
|
2703
|
+
}
|
|
2704
|
+
}, healthStatusDetails: {
|
|
2705
|
+
serializedName: "healthStatusDetails",
|
|
2706
|
+
readOnly: true,
|
|
2707
|
+
type: {
|
|
2708
|
+
name: "Sequence",
|
|
2709
|
+
element: {
|
|
2710
|
+
type: {
|
|
2711
|
+
name: "Composite",
|
|
2712
|
+
className: "HealthStatusDetail"
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
}, provisioningState: {
|
|
2380
2717
|
serializedName: "provisioningState",
|
|
2381
2718
|
readOnly: true,
|
|
2382
2719
|
type: {
|
|
@@ -2444,9 +2781,15 @@ const DevCenter = {
|
|
|
2444
2781
|
type: {
|
|
2445
2782
|
name: "String"
|
|
2446
2783
|
}
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
|
-
|
|
2784
|
+
}, devCenterUri: {
|
|
2785
|
+
serializedName: "properties.devCenterUri",
|
|
2786
|
+
readOnly: true,
|
|
2787
|
+
type: {
|
|
2788
|
+
name: "String"
|
|
2789
|
+
}
|
|
2790
|
+
} })
|
|
2791
|
+
}
|
|
2792
|
+
};
|
|
2450
2793
|
const Project = {
|
|
2451
2794
|
type: {
|
|
2452
2795
|
name: "Composite",
|
|
@@ -2461,12 +2804,26 @@ const Project = {
|
|
|
2461
2804
|
type: {
|
|
2462
2805
|
name: "String"
|
|
2463
2806
|
}
|
|
2807
|
+
}, maxDevBoxesPerUser: {
|
|
2808
|
+
constraints: {
|
|
2809
|
+
InclusiveMinimum: 0
|
|
2810
|
+
},
|
|
2811
|
+
serializedName: "properties.maxDevBoxesPerUser",
|
|
2812
|
+
type: {
|
|
2813
|
+
name: "Number"
|
|
2814
|
+
}
|
|
2464
2815
|
}, provisioningState: {
|
|
2465
2816
|
serializedName: "properties.provisioningState",
|
|
2466
2817
|
readOnly: true,
|
|
2467
2818
|
type: {
|
|
2468
2819
|
name: "String"
|
|
2469
2820
|
}
|
|
2821
|
+
}, devCenterUri: {
|
|
2822
|
+
serializedName: "properties.devCenterUri",
|
|
2823
|
+
readOnly: true,
|
|
2824
|
+
type: {
|
|
2825
|
+
name: "String"
|
|
2826
|
+
}
|
|
2470
2827
|
} })
|
|
2471
2828
|
}
|
|
2472
2829
|
};
|
|
@@ -2491,6 +2848,11 @@ const DevBoxDefinition = {
|
|
|
2491
2848
|
type: {
|
|
2492
2849
|
name: "String"
|
|
2493
2850
|
}
|
|
2851
|
+
}, hibernateSupport: {
|
|
2852
|
+
serializedName: "properties.hibernateSupport",
|
|
2853
|
+
type: {
|
|
2854
|
+
name: "String"
|
|
2855
|
+
}
|
|
2494
2856
|
}, provisioningState: {
|
|
2495
2857
|
serializedName: "properties.provisioningState",
|
|
2496
2858
|
readOnly: true,
|
|
@@ -2542,6 +2904,30 @@ const Pool = {
|
|
|
2542
2904
|
type: {
|
|
2543
2905
|
name: "String"
|
|
2544
2906
|
}
|
|
2907
|
+
}, stopOnDisconnect: {
|
|
2908
|
+
serializedName: "properties.stopOnDisconnect",
|
|
2909
|
+
type: {
|
|
2910
|
+
name: "Composite",
|
|
2911
|
+
className: "StopOnDisconnectConfiguration"
|
|
2912
|
+
}
|
|
2913
|
+
}, healthStatus: {
|
|
2914
|
+
serializedName: "properties.healthStatus",
|
|
2915
|
+
readOnly: true,
|
|
2916
|
+
type: {
|
|
2917
|
+
name: "String"
|
|
2918
|
+
}
|
|
2919
|
+
}, healthStatusDetails: {
|
|
2920
|
+
serializedName: "properties.healthStatusDetails",
|
|
2921
|
+
readOnly: true,
|
|
2922
|
+
type: {
|
|
2923
|
+
name: "Sequence",
|
|
2924
|
+
element: {
|
|
2925
|
+
type: {
|
|
2926
|
+
name: "Composite",
|
|
2927
|
+
className: "HealthStatusDetail"
|
|
2928
|
+
}
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2545
2931
|
}, provisioningState: {
|
|
2546
2932
|
serializedName: "properties.provisioningState",
|
|
2547
2933
|
readOnly: true,
|
|
@@ -2645,6 +3031,12 @@ const Image = {
|
|
|
2645
3031
|
type: {
|
|
2646
3032
|
name: "String"
|
|
2647
3033
|
}
|
|
3034
|
+
}, hibernateSupport: {
|
|
3035
|
+
serializedName: "properties.hibernateSupport",
|
|
3036
|
+
readOnly: true,
|
|
3037
|
+
type: {
|
|
3038
|
+
name: "String"
|
|
3039
|
+
}
|
|
2648
3040
|
} })
|
|
2649
3041
|
}
|
|
2650
3042
|
};
|
|
@@ -2731,16 +3123,25 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
2731
3123
|
ListUsagesResult: ListUsagesResult,
|
|
2732
3124
|
Usage: Usage,
|
|
2733
3125
|
UsageName: UsageName,
|
|
3126
|
+
CheckNameAvailabilityRequest: CheckNameAvailabilityRequest,
|
|
3127
|
+
CheckNameAvailabilityResponse: CheckNameAvailabilityResponse,
|
|
3128
|
+
ErrorResponse: ErrorResponse,
|
|
2734
3129
|
SkuListResult: SkuListResult,
|
|
2735
3130
|
Capability: Capability,
|
|
2736
3131
|
PoolListResult: PoolListResult,
|
|
3132
|
+
HealthStatusDetail: HealthStatusDetail,
|
|
2737
3133
|
PoolUpdateProperties: PoolUpdateProperties,
|
|
3134
|
+
StopOnDisconnectConfiguration: StopOnDisconnectConfiguration,
|
|
2738
3135
|
ScheduleListResult: ScheduleListResult,
|
|
2739
3136
|
ScheduleUpdateProperties: ScheduleUpdateProperties,
|
|
2740
3137
|
NetworkConnectionListResult: NetworkConnectionListResult,
|
|
2741
3138
|
NetworkConnectionUpdateProperties: NetworkConnectionUpdateProperties,
|
|
2742
3139
|
HealthCheckStatusDetailsListResult: HealthCheckStatusDetailsListResult,
|
|
2743
3140
|
HealthCheck: HealthCheck,
|
|
3141
|
+
OutboundEnvironmentEndpointCollection: OutboundEnvironmentEndpointCollection,
|
|
3142
|
+
OutboundEnvironmentEndpoint: OutboundEnvironmentEndpoint,
|
|
3143
|
+
EndpointDependency: EndpointDependency,
|
|
3144
|
+
EndpointDetail: EndpointDetail,
|
|
2744
3145
|
TrackedResource: TrackedResource,
|
|
2745
3146
|
AttachedNetworkConnection: AttachedNetworkConnection,
|
|
2746
3147
|
Gallery: Gallery,
|
|
@@ -2807,7 +3208,7 @@ const $host = {
|
|
|
2807
3208
|
const apiVersion = {
|
|
2808
3209
|
parameterPath: "apiVersion",
|
|
2809
3210
|
mapper: {
|
|
2810
|
-
defaultValue: "
|
|
3211
|
+
defaultValue: "2023-04-01",
|
|
2811
3212
|
isConstant: true,
|
|
2812
3213
|
serializedName: "api-version",
|
|
2813
3214
|
type: {
|
|
@@ -3039,6 +3440,10 @@ const operationId = {
|
|
|
3039
3440
|
}
|
|
3040
3441
|
}
|
|
3041
3442
|
};
|
|
3443
|
+
const nameAvailabilityRequest = {
|
|
3444
|
+
parameterPath: "nameAvailabilityRequest",
|
|
3445
|
+
mapper: CheckNameAvailabilityRequest
|
|
3446
|
+
};
|
|
3042
3447
|
const poolName = {
|
|
3043
3448
|
parameterPath: "poolName",
|
|
3044
3449
|
mapper: {
|
|
@@ -3106,25 +3511,17 @@ const body19 = {
|
|
|
3106
3511
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3107
3512
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3108
3513
|
*/
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
});
|
|
3121
|
-
}
|
|
3122
|
-
sendPollRequest(path) {
|
|
3123
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3124
|
-
const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
3125
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
3126
|
-
});
|
|
3127
|
-
}
|
|
3514
|
+
function createLroSpec(inputs) {
|
|
3515
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
3516
|
+
return {
|
|
3517
|
+
requestMethod: spec.httpMethod,
|
|
3518
|
+
requestPath: spec.path,
|
|
3519
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
3520
|
+
sendPollRequest: (path, options) => {
|
|
3521
|
+
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
3522
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
3523
|
+
}
|
|
3524
|
+
};
|
|
3128
3525
|
}
|
|
3129
3526
|
|
|
3130
3527
|
/*
|
|
@@ -3187,17 +3584,24 @@ class DevCentersImpl {
|
|
|
3187
3584
|
}
|
|
3188
3585
|
listBySubscriptionPagingAll(options) {
|
|
3189
3586
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
3190
|
-
var e_1,
|
|
3587
|
+
var _a, e_1, _b, _c;
|
|
3191
3588
|
try {
|
|
3192
|
-
for (var
|
|
3193
|
-
|
|
3194
|
-
|
|
3589
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
3590
|
+
_c = _f.value;
|
|
3591
|
+
_d = false;
|
|
3592
|
+
try {
|
|
3593
|
+
const page = _c;
|
|
3594
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3595
|
+
}
|
|
3596
|
+
finally {
|
|
3597
|
+
_d = true;
|
|
3598
|
+
}
|
|
3195
3599
|
}
|
|
3196
3600
|
}
|
|
3197
3601
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3198
3602
|
finally {
|
|
3199
3603
|
try {
|
|
3200
|
-
if (
|
|
3604
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3201
3605
|
}
|
|
3202
3606
|
finally { if (e_1) throw e_1.error; }
|
|
3203
3607
|
}
|
|
@@ -3247,17 +3651,24 @@ class DevCentersImpl {
|
|
|
3247
3651
|
}
|
|
3248
3652
|
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
3249
3653
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
3250
|
-
var e_2,
|
|
3654
|
+
var _a, e_2, _b, _c;
|
|
3251
3655
|
try {
|
|
3252
|
-
for (var
|
|
3253
|
-
|
|
3254
|
-
|
|
3656
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
3657
|
+
_c = _f.value;
|
|
3658
|
+
_d = false;
|
|
3659
|
+
try {
|
|
3660
|
+
const page = _c;
|
|
3661
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3662
|
+
}
|
|
3663
|
+
finally {
|
|
3664
|
+
_d = true;
|
|
3665
|
+
}
|
|
3255
3666
|
}
|
|
3256
3667
|
}
|
|
3257
3668
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
3258
3669
|
finally {
|
|
3259
3670
|
try {
|
|
3260
|
-
if (
|
|
3671
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3261
3672
|
}
|
|
3262
3673
|
finally { if (e_2) throw e_2.error; }
|
|
3263
3674
|
}
|
|
@@ -3299,7 +3710,7 @@ class DevCentersImpl {
|
|
|
3299
3710
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3300
3711
|
return this.client.sendOperationRequest(args, spec);
|
|
3301
3712
|
});
|
|
3302
|
-
const
|
|
3713
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3303
3714
|
var _a;
|
|
3304
3715
|
let currentRawResponse = undefined;
|
|
3305
3716
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -3318,11 +3729,15 @@ class DevCentersImpl {
|
|
|
3318
3729
|
}
|
|
3319
3730
|
};
|
|
3320
3731
|
});
|
|
3321
|
-
const lro =
|
|
3322
|
-
|
|
3323
|
-
|
|
3732
|
+
const lro = createLroSpec({
|
|
3733
|
+
sendOperationFn,
|
|
3734
|
+
args: { resourceGroupName, devCenterName, body, options },
|
|
3735
|
+
spec: createOrUpdateOperationSpec$a
|
|
3736
|
+
});
|
|
3737
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3738
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3324
3739
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3325
|
-
|
|
3740
|
+
resourceLocationConfig: "azure-async-operation"
|
|
3326
3741
|
});
|
|
3327
3742
|
yield poller.poll();
|
|
3328
3743
|
return poller;
|
|
@@ -3353,7 +3768,7 @@ class DevCentersImpl {
|
|
|
3353
3768
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3354
3769
|
return this.client.sendOperationRequest(args, spec);
|
|
3355
3770
|
});
|
|
3356
|
-
const
|
|
3771
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3357
3772
|
var _a;
|
|
3358
3773
|
let currentRawResponse = undefined;
|
|
3359
3774
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -3372,11 +3787,15 @@ class DevCentersImpl {
|
|
|
3372
3787
|
}
|
|
3373
3788
|
};
|
|
3374
3789
|
});
|
|
3375
|
-
const lro =
|
|
3376
|
-
|
|
3377
|
-
|
|
3790
|
+
const lro = createLroSpec({
|
|
3791
|
+
sendOperationFn,
|
|
3792
|
+
args: { resourceGroupName, devCenterName, body, options },
|
|
3793
|
+
spec: updateOperationSpec$8
|
|
3794
|
+
});
|
|
3795
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3796
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3378
3797
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3379
|
-
|
|
3798
|
+
resourceLocationConfig: "azure-async-operation"
|
|
3380
3799
|
});
|
|
3381
3800
|
yield poller.poll();
|
|
3382
3801
|
return poller;
|
|
@@ -3406,7 +3825,7 @@ class DevCentersImpl {
|
|
|
3406
3825
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3407
3826
|
return this.client.sendOperationRequest(args, spec);
|
|
3408
3827
|
});
|
|
3409
|
-
const
|
|
3828
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3410
3829
|
var _a;
|
|
3411
3830
|
let currentRawResponse = undefined;
|
|
3412
3831
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -3425,11 +3844,15 @@ class DevCentersImpl {
|
|
|
3425
3844
|
}
|
|
3426
3845
|
};
|
|
3427
3846
|
});
|
|
3428
|
-
const lro =
|
|
3429
|
-
|
|
3430
|
-
|
|
3847
|
+
const lro = createLroSpec({
|
|
3848
|
+
sendOperationFn,
|
|
3849
|
+
args: { resourceGroupName, devCenterName, options },
|
|
3850
|
+
spec: deleteOperationSpec$a
|
|
3851
|
+
});
|
|
3852
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3853
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3431
3854
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3432
|
-
|
|
3855
|
+
resourceLocationConfig: "azure-async-operation"
|
|
3433
3856
|
});
|
|
3434
3857
|
yield poller.poll();
|
|
3435
3858
|
return poller;
|
|
@@ -3466,7 +3889,7 @@ class DevCentersImpl {
|
|
|
3466
3889
|
}
|
|
3467
3890
|
}
|
|
3468
3891
|
// Operation Specifications
|
|
3469
|
-
const serializer$
|
|
3892
|
+
const serializer$i = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3470
3893
|
const listBySubscriptionOperationSpec$3 = {
|
|
3471
3894
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/devcenters",
|
|
3472
3895
|
httpMethod: "GET",
|
|
@@ -3481,7 +3904,7 @@ const listBySubscriptionOperationSpec$3 = {
|
|
|
3481
3904
|
queryParameters: [apiVersion, top],
|
|
3482
3905
|
urlParameters: [$host, subscriptionId],
|
|
3483
3906
|
headerParameters: [accept],
|
|
3484
|
-
serializer: serializer$
|
|
3907
|
+
serializer: serializer$i
|
|
3485
3908
|
};
|
|
3486
3909
|
const listByResourceGroupOperationSpec$2 = {
|
|
3487
3910
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters",
|
|
@@ -3501,7 +3924,7 @@ const listByResourceGroupOperationSpec$2 = {
|
|
|
3501
3924
|
resourceGroupName
|
|
3502
3925
|
],
|
|
3503
3926
|
headerParameters: [accept],
|
|
3504
|
-
serializer: serializer$
|
|
3927
|
+
serializer: serializer$i
|
|
3505
3928
|
};
|
|
3506
3929
|
const getOperationSpec$d = {
|
|
3507
3930
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}",
|
|
@@ -3522,7 +3945,7 @@ const getOperationSpec$d = {
|
|
|
3522
3945
|
devCenterName
|
|
3523
3946
|
],
|
|
3524
3947
|
headerParameters: [accept],
|
|
3525
|
-
serializer: serializer$
|
|
3948
|
+
serializer: serializer$i
|
|
3526
3949
|
};
|
|
3527
3950
|
const createOrUpdateOperationSpec$a = {
|
|
3528
3951
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}",
|
|
@@ -3554,7 +3977,7 @@ const createOrUpdateOperationSpec$a = {
|
|
|
3554
3977
|
],
|
|
3555
3978
|
headerParameters: [accept, contentType],
|
|
3556
3979
|
mediaType: "json",
|
|
3557
|
-
serializer: serializer$
|
|
3980
|
+
serializer: serializer$i
|
|
3558
3981
|
};
|
|
3559
3982
|
const updateOperationSpec$8 = {
|
|
3560
3983
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}",
|
|
@@ -3586,7 +4009,7 @@ const updateOperationSpec$8 = {
|
|
|
3586
4009
|
],
|
|
3587
4010
|
headerParameters: [accept, contentType],
|
|
3588
4011
|
mediaType: "json",
|
|
3589
|
-
serializer: serializer$
|
|
4012
|
+
serializer: serializer$i
|
|
3590
4013
|
};
|
|
3591
4014
|
const deleteOperationSpec$a = {
|
|
3592
4015
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}",
|
|
@@ -3608,7 +4031,7 @@ const deleteOperationSpec$a = {
|
|
|
3608
4031
|
devCenterName
|
|
3609
4032
|
],
|
|
3610
4033
|
headerParameters: [accept],
|
|
3611
|
-
serializer: serializer$
|
|
4034
|
+
serializer: serializer$i
|
|
3612
4035
|
};
|
|
3613
4036
|
const listBySubscriptionNextOperationSpec$3 = {
|
|
3614
4037
|
path: "{nextLink}",
|
|
@@ -3621,14 +4044,13 @@ const listBySubscriptionNextOperationSpec$3 = {
|
|
|
3621
4044
|
bodyMapper: CloudError
|
|
3622
4045
|
}
|
|
3623
4046
|
},
|
|
3624
|
-
queryParameters: [apiVersion, top],
|
|
3625
4047
|
urlParameters: [
|
|
3626
4048
|
$host,
|
|
3627
4049
|
subscriptionId,
|
|
3628
4050
|
nextLink
|
|
3629
4051
|
],
|
|
3630
4052
|
headerParameters: [accept],
|
|
3631
|
-
serializer: serializer$
|
|
4053
|
+
serializer: serializer$i
|
|
3632
4054
|
};
|
|
3633
4055
|
const listByResourceGroupNextOperationSpec$2 = {
|
|
3634
4056
|
path: "{nextLink}",
|
|
@@ -3641,7 +4063,6 @@ const listByResourceGroupNextOperationSpec$2 = {
|
|
|
3641
4063
|
bodyMapper: CloudError
|
|
3642
4064
|
}
|
|
3643
4065
|
},
|
|
3644
|
-
queryParameters: [apiVersion, top],
|
|
3645
4066
|
urlParameters: [
|
|
3646
4067
|
$host,
|
|
3647
4068
|
subscriptionId,
|
|
@@ -3649,7 +4070,7 @@ const listByResourceGroupNextOperationSpec$2 = {
|
|
|
3649
4070
|
nextLink
|
|
3650
4071
|
],
|
|
3651
4072
|
headerParameters: [accept],
|
|
3652
|
-
serializer: serializer$
|
|
4073
|
+
serializer: serializer$i
|
|
3653
4074
|
};
|
|
3654
4075
|
|
|
3655
4076
|
/*
|
|
@@ -3712,17 +4133,24 @@ class ProjectsImpl {
|
|
|
3712
4133
|
}
|
|
3713
4134
|
listBySubscriptionPagingAll(options) {
|
|
3714
4135
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
3715
|
-
var e_1,
|
|
4136
|
+
var _a, e_1, _b, _c;
|
|
3716
4137
|
try {
|
|
3717
|
-
for (var
|
|
3718
|
-
|
|
3719
|
-
|
|
4138
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
4139
|
+
_c = _f.value;
|
|
4140
|
+
_d = false;
|
|
4141
|
+
try {
|
|
4142
|
+
const page = _c;
|
|
4143
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4144
|
+
}
|
|
4145
|
+
finally {
|
|
4146
|
+
_d = true;
|
|
4147
|
+
}
|
|
3720
4148
|
}
|
|
3721
4149
|
}
|
|
3722
4150
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3723
4151
|
finally {
|
|
3724
4152
|
try {
|
|
3725
|
-
if (
|
|
4153
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3726
4154
|
}
|
|
3727
4155
|
finally { if (e_1) throw e_1.error; }
|
|
3728
4156
|
}
|
|
@@ -3772,17 +4200,24 @@ class ProjectsImpl {
|
|
|
3772
4200
|
}
|
|
3773
4201
|
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
3774
4202
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
3775
|
-
var e_2,
|
|
4203
|
+
var _a, e_2, _b, _c;
|
|
3776
4204
|
try {
|
|
3777
|
-
for (var
|
|
3778
|
-
|
|
3779
|
-
|
|
4205
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
4206
|
+
_c = _f.value;
|
|
4207
|
+
_d = false;
|
|
4208
|
+
try {
|
|
4209
|
+
const page = _c;
|
|
4210
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4211
|
+
}
|
|
4212
|
+
finally {
|
|
4213
|
+
_d = true;
|
|
4214
|
+
}
|
|
3780
4215
|
}
|
|
3781
4216
|
}
|
|
3782
4217
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
3783
4218
|
finally {
|
|
3784
4219
|
try {
|
|
3785
|
-
if (
|
|
4220
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3786
4221
|
}
|
|
3787
4222
|
finally { if (e_2) throw e_2.error; }
|
|
3788
4223
|
}
|
|
@@ -3824,7 +4259,7 @@ class ProjectsImpl {
|
|
|
3824
4259
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3825
4260
|
return this.client.sendOperationRequest(args, spec);
|
|
3826
4261
|
});
|
|
3827
|
-
const
|
|
4262
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3828
4263
|
var _a;
|
|
3829
4264
|
let currentRawResponse = undefined;
|
|
3830
4265
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -3843,11 +4278,15 @@ class ProjectsImpl {
|
|
|
3843
4278
|
}
|
|
3844
4279
|
};
|
|
3845
4280
|
});
|
|
3846
|
-
const lro =
|
|
3847
|
-
|
|
3848
|
-
|
|
4281
|
+
const lro = createLroSpec({
|
|
4282
|
+
sendOperationFn,
|
|
4283
|
+
args: { resourceGroupName, projectName, body, options },
|
|
4284
|
+
spec: createOrUpdateOperationSpec$9
|
|
4285
|
+
});
|
|
4286
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4287
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3849
4288
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3850
|
-
|
|
4289
|
+
resourceLocationConfig: "azure-async-operation"
|
|
3851
4290
|
});
|
|
3852
4291
|
yield poller.poll();
|
|
3853
4292
|
return poller;
|
|
@@ -3878,7 +4317,7 @@ class ProjectsImpl {
|
|
|
3878
4317
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3879
4318
|
return this.client.sendOperationRequest(args, spec);
|
|
3880
4319
|
});
|
|
3881
|
-
const
|
|
4320
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3882
4321
|
var _a;
|
|
3883
4322
|
let currentRawResponse = undefined;
|
|
3884
4323
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -3897,11 +4336,15 @@ class ProjectsImpl {
|
|
|
3897
4336
|
}
|
|
3898
4337
|
};
|
|
3899
4338
|
});
|
|
3900
|
-
const lro =
|
|
3901
|
-
|
|
3902
|
-
|
|
4339
|
+
const lro = createLroSpec({
|
|
4340
|
+
sendOperationFn,
|
|
4341
|
+
args: { resourceGroupName, projectName, body, options },
|
|
4342
|
+
spec: updateOperationSpec$7
|
|
4343
|
+
});
|
|
4344
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4345
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3903
4346
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3904
|
-
|
|
4347
|
+
resourceLocationConfig: "azure-async-operation"
|
|
3905
4348
|
});
|
|
3906
4349
|
yield poller.poll();
|
|
3907
4350
|
return poller;
|
|
@@ -3931,7 +4374,7 @@ class ProjectsImpl {
|
|
|
3931
4374
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3932
4375
|
return this.client.sendOperationRequest(args, spec);
|
|
3933
4376
|
});
|
|
3934
|
-
const
|
|
4377
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3935
4378
|
var _a;
|
|
3936
4379
|
let currentRawResponse = undefined;
|
|
3937
4380
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -3950,11 +4393,15 @@ class ProjectsImpl {
|
|
|
3950
4393
|
}
|
|
3951
4394
|
};
|
|
3952
4395
|
});
|
|
3953
|
-
const lro =
|
|
3954
|
-
|
|
3955
|
-
|
|
4396
|
+
const lro = createLroSpec({
|
|
4397
|
+
sendOperationFn,
|
|
4398
|
+
args: { resourceGroupName, projectName, options },
|
|
4399
|
+
spec: deleteOperationSpec$9
|
|
4400
|
+
});
|
|
4401
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4402
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3956
4403
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3957
|
-
|
|
4404
|
+
resourceLocationConfig: "azure-async-operation"
|
|
3958
4405
|
});
|
|
3959
4406
|
yield poller.poll();
|
|
3960
4407
|
return poller;
|
|
@@ -3991,7 +4438,7 @@ class ProjectsImpl {
|
|
|
3991
4438
|
}
|
|
3992
4439
|
}
|
|
3993
4440
|
// Operation Specifications
|
|
3994
|
-
const serializer$
|
|
4441
|
+
const serializer$h = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3995
4442
|
const listBySubscriptionOperationSpec$2 = {
|
|
3996
4443
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/projects",
|
|
3997
4444
|
httpMethod: "GET",
|
|
@@ -4006,7 +4453,7 @@ const listBySubscriptionOperationSpec$2 = {
|
|
|
4006
4453
|
queryParameters: [apiVersion, top],
|
|
4007
4454
|
urlParameters: [$host, subscriptionId],
|
|
4008
4455
|
headerParameters: [accept],
|
|
4009
|
-
serializer: serializer$
|
|
4456
|
+
serializer: serializer$h
|
|
4010
4457
|
};
|
|
4011
4458
|
const listByResourceGroupOperationSpec$1 = {
|
|
4012
4459
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects",
|
|
@@ -4026,7 +4473,7 @@ const listByResourceGroupOperationSpec$1 = {
|
|
|
4026
4473
|
resourceGroupName
|
|
4027
4474
|
],
|
|
4028
4475
|
headerParameters: [accept],
|
|
4029
|
-
serializer: serializer$
|
|
4476
|
+
serializer: serializer$h
|
|
4030
4477
|
};
|
|
4031
4478
|
const getOperationSpec$c = {
|
|
4032
4479
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}",
|
|
@@ -4047,7 +4494,7 @@ const getOperationSpec$c = {
|
|
|
4047
4494
|
projectName
|
|
4048
4495
|
],
|
|
4049
4496
|
headerParameters: [accept],
|
|
4050
|
-
serializer: serializer$
|
|
4497
|
+
serializer: serializer$h
|
|
4051
4498
|
};
|
|
4052
4499
|
const createOrUpdateOperationSpec$9 = {
|
|
4053
4500
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}",
|
|
@@ -4079,7 +4526,7 @@ const createOrUpdateOperationSpec$9 = {
|
|
|
4079
4526
|
],
|
|
4080
4527
|
headerParameters: [accept, contentType],
|
|
4081
4528
|
mediaType: "json",
|
|
4082
|
-
serializer: serializer$
|
|
4529
|
+
serializer: serializer$h
|
|
4083
4530
|
};
|
|
4084
4531
|
const updateOperationSpec$7 = {
|
|
4085
4532
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}",
|
|
@@ -4111,7 +4558,7 @@ const updateOperationSpec$7 = {
|
|
|
4111
4558
|
],
|
|
4112
4559
|
headerParameters: [accept, contentType],
|
|
4113
4560
|
mediaType: "json",
|
|
4114
|
-
serializer: serializer$
|
|
4561
|
+
serializer: serializer$h
|
|
4115
4562
|
};
|
|
4116
4563
|
const deleteOperationSpec$9 = {
|
|
4117
4564
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}",
|
|
@@ -4133,7 +4580,7 @@ const deleteOperationSpec$9 = {
|
|
|
4133
4580
|
projectName
|
|
4134
4581
|
],
|
|
4135
4582
|
headerParameters: [accept],
|
|
4136
|
-
serializer: serializer$
|
|
4583
|
+
serializer: serializer$h
|
|
4137
4584
|
};
|
|
4138
4585
|
const listBySubscriptionNextOperationSpec$2 = {
|
|
4139
4586
|
path: "{nextLink}",
|
|
@@ -4146,14 +4593,13 @@ const listBySubscriptionNextOperationSpec$2 = {
|
|
|
4146
4593
|
bodyMapper: CloudError
|
|
4147
4594
|
}
|
|
4148
4595
|
},
|
|
4149
|
-
queryParameters: [apiVersion, top],
|
|
4150
4596
|
urlParameters: [
|
|
4151
4597
|
$host,
|
|
4152
4598
|
subscriptionId,
|
|
4153
4599
|
nextLink
|
|
4154
4600
|
],
|
|
4155
4601
|
headerParameters: [accept],
|
|
4156
|
-
serializer: serializer$
|
|
4602
|
+
serializer: serializer$h
|
|
4157
4603
|
};
|
|
4158
4604
|
const listByResourceGroupNextOperationSpec$1 = {
|
|
4159
4605
|
path: "{nextLink}",
|
|
@@ -4166,7 +4612,6 @@ const listByResourceGroupNextOperationSpec$1 = {
|
|
|
4166
4612
|
bodyMapper: CloudError
|
|
4167
4613
|
}
|
|
4168
4614
|
},
|
|
4169
|
-
queryParameters: [apiVersion, top],
|
|
4170
4615
|
urlParameters: [
|
|
4171
4616
|
$host,
|
|
4172
4617
|
subscriptionId,
|
|
@@ -4174,7 +4619,7 @@ const listByResourceGroupNextOperationSpec$1 = {
|
|
|
4174
4619
|
nextLink
|
|
4175
4620
|
],
|
|
4176
4621
|
headerParameters: [accept],
|
|
4177
|
-
serializer: serializer$
|
|
4622
|
+
serializer: serializer$h
|
|
4178
4623
|
};
|
|
4179
4624
|
|
|
4180
4625
|
/*
|
|
@@ -4239,17 +4684,24 @@ class AttachedNetworksImpl {
|
|
|
4239
4684
|
}
|
|
4240
4685
|
listByProjectPagingAll(resourceGroupName, projectName, options) {
|
|
4241
4686
|
return tslib.__asyncGenerator(this, arguments, function* listByProjectPagingAll_1() {
|
|
4242
|
-
var e_1,
|
|
4687
|
+
var _a, e_1, _b, _c;
|
|
4243
4688
|
try {
|
|
4244
|
-
for (var
|
|
4245
|
-
|
|
4246
|
-
|
|
4689
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByProjectPagingPage(resourceGroupName, projectName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
4690
|
+
_c = _f.value;
|
|
4691
|
+
_d = false;
|
|
4692
|
+
try {
|
|
4693
|
+
const page = _c;
|
|
4694
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4695
|
+
}
|
|
4696
|
+
finally {
|
|
4697
|
+
_d = true;
|
|
4698
|
+
}
|
|
4247
4699
|
}
|
|
4248
4700
|
}
|
|
4249
4701
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4250
4702
|
finally {
|
|
4251
4703
|
try {
|
|
4252
|
-
if (
|
|
4704
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4253
4705
|
}
|
|
4254
4706
|
finally { if (e_1) throw e_1.error; }
|
|
4255
4707
|
}
|
|
@@ -4300,17 +4752,24 @@ class AttachedNetworksImpl {
|
|
|
4300
4752
|
}
|
|
4301
4753
|
listByDevCenterPagingAll(resourceGroupName, devCenterName, options) {
|
|
4302
4754
|
return tslib.__asyncGenerator(this, arguments, function* listByDevCenterPagingAll_1() {
|
|
4303
|
-
var e_2,
|
|
4755
|
+
var _a, e_2, _b, _c;
|
|
4304
4756
|
try {
|
|
4305
|
-
for (var
|
|
4306
|
-
|
|
4307
|
-
|
|
4757
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByDevCenterPagingPage(resourceGroupName, devCenterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
4758
|
+
_c = _f.value;
|
|
4759
|
+
_d = false;
|
|
4760
|
+
try {
|
|
4761
|
+
const page = _c;
|
|
4762
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4763
|
+
}
|
|
4764
|
+
finally {
|
|
4765
|
+
_d = true;
|
|
4766
|
+
}
|
|
4308
4767
|
}
|
|
4309
4768
|
}
|
|
4310
4769
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
4311
4770
|
finally {
|
|
4312
4771
|
try {
|
|
4313
|
-
if (
|
|
4772
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4314
4773
|
}
|
|
4315
4774
|
finally { if (e_2) throw e_2.error; }
|
|
4316
4775
|
}
|
|
@@ -4377,7 +4836,7 @@ class AttachedNetworksImpl {
|
|
|
4377
4836
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4378
4837
|
return this.client.sendOperationRequest(args, spec);
|
|
4379
4838
|
});
|
|
4380
|
-
const
|
|
4839
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4381
4840
|
var _a;
|
|
4382
4841
|
let currentRawResponse = undefined;
|
|
4383
4842
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -4396,17 +4855,21 @@ class AttachedNetworksImpl {
|
|
|
4396
4855
|
}
|
|
4397
4856
|
};
|
|
4398
4857
|
});
|
|
4399
|
-
const lro =
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4858
|
+
const lro = createLroSpec({
|
|
4859
|
+
sendOperationFn,
|
|
4860
|
+
args: {
|
|
4861
|
+
resourceGroupName,
|
|
4862
|
+
devCenterName,
|
|
4863
|
+
attachedNetworkConnectionName,
|
|
4864
|
+
body,
|
|
4865
|
+
options
|
|
4866
|
+
},
|
|
4867
|
+
spec: createOrUpdateOperationSpec$8
|
|
4868
|
+
});
|
|
4869
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4870
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4408
4871
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4409
|
-
|
|
4872
|
+
resourceLocationConfig: "azure-async-operation"
|
|
4410
4873
|
});
|
|
4411
4874
|
yield poller.poll();
|
|
4412
4875
|
return poller;
|
|
@@ -4438,7 +4901,7 @@ class AttachedNetworksImpl {
|
|
|
4438
4901
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4439
4902
|
return this.client.sendOperationRequest(args, spec);
|
|
4440
4903
|
});
|
|
4441
|
-
const
|
|
4904
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4442
4905
|
var _a;
|
|
4443
4906
|
let currentRawResponse = undefined;
|
|
4444
4907
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -4457,16 +4920,20 @@ class AttachedNetworksImpl {
|
|
|
4457
4920
|
}
|
|
4458
4921
|
};
|
|
4459
4922
|
});
|
|
4460
|
-
const lro =
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4923
|
+
const lro = createLroSpec({
|
|
4924
|
+
sendOperationFn,
|
|
4925
|
+
args: {
|
|
4926
|
+
resourceGroupName,
|
|
4927
|
+
devCenterName,
|
|
4928
|
+
attachedNetworkConnectionName,
|
|
4929
|
+
options
|
|
4930
|
+
},
|
|
4931
|
+
spec: deleteOperationSpec$8
|
|
4932
|
+
});
|
|
4933
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4934
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4468
4935
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4469
|
-
|
|
4936
|
+
resourceLocationConfig: "azure-async-operation"
|
|
4470
4937
|
});
|
|
4471
4938
|
yield poller.poll();
|
|
4472
4939
|
return poller;
|
|
@@ -4507,7 +4974,7 @@ class AttachedNetworksImpl {
|
|
|
4507
4974
|
}
|
|
4508
4975
|
}
|
|
4509
4976
|
// Operation Specifications
|
|
4510
|
-
const serializer$
|
|
4977
|
+
const serializer$g = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4511
4978
|
const listByProjectOperationSpec$2 = {
|
|
4512
4979
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/attachednetworks",
|
|
4513
4980
|
httpMethod: "GET",
|
|
@@ -4527,7 +4994,7 @@ const listByProjectOperationSpec$2 = {
|
|
|
4527
4994
|
projectName
|
|
4528
4995
|
],
|
|
4529
4996
|
headerParameters: [accept],
|
|
4530
|
-
serializer: serializer$
|
|
4997
|
+
serializer: serializer$g
|
|
4531
4998
|
};
|
|
4532
4999
|
const getByProjectOperationSpec$1 = {
|
|
4533
5000
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/attachednetworks/{attachedNetworkConnectionName}",
|
|
@@ -4549,7 +5016,7 @@ const getByProjectOperationSpec$1 = {
|
|
|
4549
5016
|
attachedNetworkConnectionName
|
|
4550
5017
|
],
|
|
4551
5018
|
headerParameters: [accept],
|
|
4552
|
-
serializer: serializer$
|
|
5019
|
+
serializer: serializer$g
|
|
4553
5020
|
};
|
|
4554
5021
|
const listByDevCenterOperationSpec$5 = {
|
|
4555
5022
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks",
|
|
@@ -4570,7 +5037,7 @@ const listByDevCenterOperationSpec$5 = {
|
|
|
4570
5037
|
devCenterName
|
|
4571
5038
|
],
|
|
4572
5039
|
headerParameters: [accept],
|
|
4573
|
-
serializer: serializer$
|
|
5040
|
+
serializer: serializer$g
|
|
4574
5041
|
};
|
|
4575
5042
|
const getByDevCenterOperationSpec = {
|
|
4576
5043
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}",
|
|
@@ -4592,7 +5059,7 @@ const getByDevCenterOperationSpec = {
|
|
|
4592
5059
|
attachedNetworkConnectionName
|
|
4593
5060
|
],
|
|
4594
5061
|
headerParameters: [accept],
|
|
4595
|
-
serializer: serializer$
|
|
5062
|
+
serializer: serializer$g
|
|
4596
5063
|
};
|
|
4597
5064
|
const createOrUpdateOperationSpec$8 = {
|
|
4598
5065
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}",
|
|
@@ -4625,7 +5092,7 @@ const createOrUpdateOperationSpec$8 = {
|
|
|
4625
5092
|
],
|
|
4626
5093
|
headerParameters: [accept, contentType],
|
|
4627
5094
|
mediaType: "json",
|
|
4628
|
-
serializer: serializer$
|
|
5095
|
+
serializer: serializer$g
|
|
4629
5096
|
};
|
|
4630
5097
|
const deleteOperationSpec$8 = {
|
|
4631
5098
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}",
|
|
@@ -4648,7 +5115,7 @@ const deleteOperationSpec$8 = {
|
|
|
4648
5115
|
attachedNetworkConnectionName
|
|
4649
5116
|
],
|
|
4650
5117
|
headerParameters: [accept],
|
|
4651
|
-
serializer: serializer$
|
|
5118
|
+
serializer: serializer$g
|
|
4652
5119
|
};
|
|
4653
5120
|
const listByProjectNextOperationSpec$2 = {
|
|
4654
5121
|
path: "{nextLink}",
|
|
@@ -4661,7 +5128,6 @@ const listByProjectNextOperationSpec$2 = {
|
|
|
4661
5128
|
bodyMapper: CloudError
|
|
4662
5129
|
}
|
|
4663
5130
|
},
|
|
4664
|
-
queryParameters: [apiVersion, top],
|
|
4665
5131
|
urlParameters: [
|
|
4666
5132
|
$host,
|
|
4667
5133
|
subscriptionId,
|
|
@@ -4670,7 +5136,7 @@ const listByProjectNextOperationSpec$2 = {
|
|
|
4670
5136
|
projectName
|
|
4671
5137
|
],
|
|
4672
5138
|
headerParameters: [accept],
|
|
4673
|
-
serializer: serializer$
|
|
5139
|
+
serializer: serializer$g
|
|
4674
5140
|
};
|
|
4675
5141
|
const listByDevCenterNextOperationSpec$5 = {
|
|
4676
5142
|
path: "{nextLink}",
|
|
@@ -4683,7 +5149,6 @@ const listByDevCenterNextOperationSpec$5 = {
|
|
|
4683
5149
|
bodyMapper: CloudError
|
|
4684
5150
|
}
|
|
4685
5151
|
},
|
|
4686
|
-
queryParameters: [apiVersion, top],
|
|
4687
5152
|
urlParameters: [
|
|
4688
5153
|
$host,
|
|
4689
5154
|
subscriptionId,
|
|
@@ -4692,7 +5157,7 @@ const listByDevCenterNextOperationSpec$5 = {
|
|
|
4692
5157
|
nextLink
|
|
4693
5158
|
],
|
|
4694
5159
|
headerParameters: [accept],
|
|
4695
|
-
serializer: serializer$
|
|
5160
|
+
serializer: serializer$g
|
|
4696
5161
|
};
|
|
4697
5162
|
|
|
4698
5163
|
/*
|
|
@@ -4757,17 +5222,24 @@ class GalleriesImpl {
|
|
|
4757
5222
|
}
|
|
4758
5223
|
listByDevCenterPagingAll(resourceGroupName, devCenterName, options) {
|
|
4759
5224
|
return tslib.__asyncGenerator(this, arguments, function* listByDevCenterPagingAll_1() {
|
|
4760
|
-
var e_1,
|
|
5225
|
+
var _a, e_1, _b, _c;
|
|
4761
5226
|
try {
|
|
4762
|
-
for (var
|
|
4763
|
-
|
|
4764
|
-
|
|
5227
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByDevCenterPagingPage(resourceGroupName, devCenterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
5228
|
+
_c = _f.value;
|
|
5229
|
+
_d = false;
|
|
5230
|
+
try {
|
|
5231
|
+
const page = _c;
|
|
5232
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5233
|
+
}
|
|
5234
|
+
finally {
|
|
5235
|
+
_d = true;
|
|
5236
|
+
}
|
|
4765
5237
|
}
|
|
4766
5238
|
}
|
|
4767
5239
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4768
5240
|
finally {
|
|
4769
5241
|
try {
|
|
4770
|
-
if (
|
|
5242
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4771
5243
|
}
|
|
4772
5244
|
finally { if (e_1) throw e_1.error; }
|
|
4773
5245
|
}
|
|
@@ -4805,7 +5277,7 @@ class GalleriesImpl {
|
|
|
4805
5277
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4806
5278
|
return this.client.sendOperationRequest(args, spec);
|
|
4807
5279
|
});
|
|
4808
|
-
const
|
|
5280
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4809
5281
|
var _a;
|
|
4810
5282
|
let currentRawResponse = undefined;
|
|
4811
5283
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -4824,11 +5296,15 @@ class GalleriesImpl {
|
|
|
4824
5296
|
}
|
|
4825
5297
|
};
|
|
4826
5298
|
});
|
|
4827
|
-
const lro =
|
|
4828
|
-
|
|
4829
|
-
|
|
5299
|
+
const lro = createLroSpec({
|
|
5300
|
+
sendOperationFn,
|
|
5301
|
+
args: { resourceGroupName, devCenterName, galleryName, body, options },
|
|
5302
|
+
spec: createOrUpdateOperationSpec$7
|
|
5303
|
+
});
|
|
5304
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5305
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4830
5306
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4831
|
-
|
|
5307
|
+
resourceLocationConfig: "azure-async-operation"
|
|
4832
5308
|
});
|
|
4833
5309
|
yield poller.poll();
|
|
4834
5310
|
return poller;
|
|
@@ -4860,7 +5336,7 @@ class GalleriesImpl {
|
|
|
4860
5336
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4861
5337
|
return this.client.sendOperationRequest(args, spec);
|
|
4862
5338
|
});
|
|
4863
|
-
const
|
|
5339
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4864
5340
|
var _a;
|
|
4865
5341
|
let currentRawResponse = undefined;
|
|
4866
5342
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -4879,11 +5355,15 @@ class GalleriesImpl {
|
|
|
4879
5355
|
}
|
|
4880
5356
|
};
|
|
4881
5357
|
});
|
|
4882
|
-
const lro =
|
|
4883
|
-
|
|
4884
|
-
|
|
5358
|
+
const lro = createLroSpec({
|
|
5359
|
+
sendOperationFn,
|
|
5360
|
+
args: { resourceGroupName, devCenterName, galleryName, options },
|
|
5361
|
+
spec: deleteOperationSpec$7
|
|
5362
|
+
});
|
|
5363
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5364
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4885
5365
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4886
|
-
|
|
5366
|
+
resourceLocationConfig: "azure-async-operation"
|
|
4887
5367
|
});
|
|
4888
5368
|
yield poller.poll();
|
|
4889
5369
|
return poller;
|
|
@@ -4914,7 +5394,7 @@ class GalleriesImpl {
|
|
|
4914
5394
|
}
|
|
4915
5395
|
}
|
|
4916
5396
|
// Operation Specifications
|
|
4917
|
-
const serializer$
|
|
5397
|
+
const serializer$f = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4918
5398
|
const listByDevCenterOperationSpec$4 = {
|
|
4919
5399
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries",
|
|
4920
5400
|
httpMethod: "GET",
|
|
@@ -4934,7 +5414,7 @@ const listByDevCenterOperationSpec$4 = {
|
|
|
4934
5414
|
devCenterName
|
|
4935
5415
|
],
|
|
4936
5416
|
headerParameters: [accept],
|
|
4937
|
-
serializer: serializer$
|
|
5417
|
+
serializer: serializer$f
|
|
4938
5418
|
};
|
|
4939
5419
|
const getOperationSpec$b = {
|
|
4940
5420
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}",
|
|
@@ -4956,7 +5436,7 @@ const getOperationSpec$b = {
|
|
|
4956
5436
|
galleryName
|
|
4957
5437
|
],
|
|
4958
5438
|
headerParameters: [accept],
|
|
4959
|
-
serializer: serializer$
|
|
5439
|
+
serializer: serializer$f
|
|
4960
5440
|
};
|
|
4961
5441
|
const createOrUpdateOperationSpec$7 = {
|
|
4962
5442
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}",
|
|
@@ -4989,7 +5469,7 @@ const createOrUpdateOperationSpec$7 = {
|
|
|
4989
5469
|
],
|
|
4990
5470
|
headerParameters: [accept, contentType],
|
|
4991
5471
|
mediaType: "json",
|
|
4992
|
-
serializer: serializer$
|
|
5472
|
+
serializer: serializer$f
|
|
4993
5473
|
};
|
|
4994
5474
|
const deleteOperationSpec$7 = {
|
|
4995
5475
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}",
|
|
@@ -5012,7 +5492,7 @@ const deleteOperationSpec$7 = {
|
|
|
5012
5492
|
galleryName
|
|
5013
5493
|
],
|
|
5014
5494
|
headerParameters: [accept],
|
|
5015
|
-
serializer: serializer$
|
|
5495
|
+
serializer: serializer$f
|
|
5016
5496
|
};
|
|
5017
5497
|
const listByDevCenterNextOperationSpec$4 = {
|
|
5018
5498
|
path: "{nextLink}",
|
|
@@ -5025,7 +5505,6 @@ const listByDevCenterNextOperationSpec$4 = {
|
|
|
5025
5505
|
bodyMapper: CloudError
|
|
5026
5506
|
}
|
|
5027
5507
|
},
|
|
5028
|
-
queryParameters: [apiVersion, top],
|
|
5029
5508
|
urlParameters: [
|
|
5030
5509
|
$host,
|
|
5031
5510
|
subscriptionId,
|
|
@@ -5034,7 +5513,7 @@ const listByDevCenterNextOperationSpec$4 = {
|
|
|
5034
5513
|
nextLink
|
|
5035
5514
|
],
|
|
5036
5515
|
headerParameters: [accept],
|
|
5037
|
-
serializer: serializer$
|
|
5516
|
+
serializer: serializer$f
|
|
5038
5517
|
};
|
|
5039
5518
|
|
|
5040
5519
|
/*
|
|
@@ -5099,17 +5578,24 @@ class ImagesImpl {
|
|
|
5099
5578
|
}
|
|
5100
5579
|
listByDevCenterPagingAll(resourceGroupName, devCenterName, options) {
|
|
5101
5580
|
return tslib.__asyncGenerator(this, arguments, function* listByDevCenterPagingAll_1() {
|
|
5102
|
-
var e_1,
|
|
5581
|
+
var _a, e_1, _b, _c;
|
|
5103
5582
|
try {
|
|
5104
|
-
for (var
|
|
5105
|
-
|
|
5106
|
-
|
|
5583
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByDevCenterPagingPage(resourceGroupName, devCenterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
5584
|
+
_c = _f.value;
|
|
5585
|
+
_d = false;
|
|
5586
|
+
try {
|
|
5587
|
+
const page = _c;
|
|
5588
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5589
|
+
}
|
|
5590
|
+
finally {
|
|
5591
|
+
_d = true;
|
|
5592
|
+
}
|
|
5107
5593
|
}
|
|
5108
5594
|
}
|
|
5109
5595
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
5110
5596
|
finally {
|
|
5111
5597
|
try {
|
|
5112
|
-
if (
|
|
5598
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
5113
5599
|
}
|
|
5114
5600
|
finally { if (e_1) throw e_1.error; }
|
|
5115
5601
|
}
|
|
@@ -5161,17 +5647,24 @@ class ImagesImpl {
|
|
|
5161
5647
|
}
|
|
5162
5648
|
listByGalleryPagingAll(resourceGroupName, devCenterName, galleryName, options) {
|
|
5163
5649
|
return tslib.__asyncGenerator(this, arguments, function* listByGalleryPagingAll_1() {
|
|
5164
|
-
var e_2,
|
|
5650
|
+
var _a, e_2, _b, _c;
|
|
5165
5651
|
try {
|
|
5166
|
-
for (var
|
|
5167
|
-
|
|
5168
|
-
|
|
5652
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByGalleryPagingPage(resourceGroupName, devCenterName, galleryName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
5653
|
+
_c = _f.value;
|
|
5654
|
+
_d = false;
|
|
5655
|
+
try {
|
|
5656
|
+
const page = _c;
|
|
5657
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5658
|
+
}
|
|
5659
|
+
finally {
|
|
5660
|
+
_d = true;
|
|
5661
|
+
}
|
|
5169
5662
|
}
|
|
5170
5663
|
}
|
|
5171
5664
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
5172
5665
|
finally {
|
|
5173
5666
|
try {
|
|
5174
|
-
if (
|
|
5667
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
5175
5668
|
}
|
|
5176
5669
|
finally { if (e_2) throw e_2.error; }
|
|
5177
5670
|
}
|
|
@@ -5230,7 +5723,7 @@ class ImagesImpl {
|
|
|
5230
5723
|
}
|
|
5231
5724
|
}
|
|
5232
5725
|
// Operation Specifications
|
|
5233
|
-
const serializer$
|
|
5726
|
+
const serializer$e = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5234
5727
|
const listByDevCenterOperationSpec$3 = {
|
|
5235
5728
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/images",
|
|
5236
5729
|
httpMethod: "GET",
|
|
@@ -5250,7 +5743,7 @@ const listByDevCenterOperationSpec$3 = {
|
|
|
5250
5743
|
devCenterName
|
|
5251
5744
|
],
|
|
5252
5745
|
headerParameters: [accept],
|
|
5253
|
-
serializer: serializer$
|
|
5746
|
+
serializer: serializer$e
|
|
5254
5747
|
};
|
|
5255
5748
|
const listByGalleryOperationSpec = {
|
|
5256
5749
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images",
|
|
@@ -5272,7 +5765,7 @@ const listByGalleryOperationSpec = {
|
|
|
5272
5765
|
galleryName
|
|
5273
5766
|
],
|
|
5274
5767
|
headerParameters: [accept],
|
|
5275
|
-
serializer: serializer$
|
|
5768
|
+
serializer: serializer$e
|
|
5276
5769
|
};
|
|
5277
5770
|
const getOperationSpec$a = {
|
|
5278
5771
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}",
|
|
@@ -5295,7 +5788,7 @@ const getOperationSpec$a = {
|
|
|
5295
5788
|
imageName
|
|
5296
5789
|
],
|
|
5297
5790
|
headerParameters: [accept],
|
|
5298
|
-
serializer: serializer$
|
|
5791
|
+
serializer: serializer$e
|
|
5299
5792
|
};
|
|
5300
5793
|
const listByDevCenterNextOperationSpec$3 = {
|
|
5301
5794
|
path: "{nextLink}",
|
|
@@ -5308,7 +5801,6 @@ const listByDevCenterNextOperationSpec$3 = {
|
|
|
5308
5801
|
bodyMapper: CloudError
|
|
5309
5802
|
}
|
|
5310
5803
|
},
|
|
5311
|
-
queryParameters: [apiVersion, top],
|
|
5312
5804
|
urlParameters: [
|
|
5313
5805
|
$host,
|
|
5314
5806
|
subscriptionId,
|
|
@@ -5317,7 +5809,7 @@ const listByDevCenterNextOperationSpec$3 = {
|
|
|
5317
5809
|
nextLink
|
|
5318
5810
|
],
|
|
5319
5811
|
headerParameters: [accept],
|
|
5320
|
-
serializer: serializer$
|
|
5812
|
+
serializer: serializer$e
|
|
5321
5813
|
};
|
|
5322
5814
|
const listByGalleryNextOperationSpec = {
|
|
5323
5815
|
path: "{nextLink}",
|
|
@@ -5330,7 +5822,6 @@ const listByGalleryNextOperationSpec = {
|
|
|
5330
5822
|
bodyMapper: CloudError
|
|
5331
5823
|
}
|
|
5332
5824
|
},
|
|
5333
|
-
queryParameters: [apiVersion, top],
|
|
5334
5825
|
urlParameters: [
|
|
5335
5826
|
$host,
|
|
5336
5827
|
subscriptionId,
|
|
@@ -5340,7 +5831,7 @@ const listByGalleryNextOperationSpec = {
|
|
|
5340
5831
|
galleryName
|
|
5341
5832
|
],
|
|
5342
5833
|
headerParameters: [accept],
|
|
5343
|
-
serializer: serializer$
|
|
5834
|
+
serializer: serializer$e
|
|
5344
5835
|
};
|
|
5345
5836
|
|
|
5346
5837
|
/*
|
|
@@ -5407,17 +5898,24 @@ class ImageVersionsImpl {
|
|
|
5407
5898
|
}
|
|
5408
5899
|
listByImagePagingAll(resourceGroupName, devCenterName, galleryName, imageName, options) {
|
|
5409
5900
|
return tslib.__asyncGenerator(this, arguments, function* listByImagePagingAll_1() {
|
|
5410
|
-
var e_1,
|
|
5901
|
+
var _a, e_1, _b, _c;
|
|
5411
5902
|
try {
|
|
5412
|
-
for (var
|
|
5413
|
-
|
|
5414
|
-
|
|
5903
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByImagePagingPage(resourceGroupName, devCenterName, galleryName, imageName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
5904
|
+
_c = _f.value;
|
|
5905
|
+
_d = false;
|
|
5906
|
+
try {
|
|
5907
|
+
const page = _c;
|
|
5908
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5909
|
+
}
|
|
5910
|
+
finally {
|
|
5911
|
+
_d = true;
|
|
5912
|
+
}
|
|
5415
5913
|
}
|
|
5416
5914
|
}
|
|
5417
5915
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
5418
5916
|
finally {
|
|
5419
5917
|
try {
|
|
5420
|
-
if (
|
|
5918
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
5421
5919
|
}
|
|
5422
5920
|
finally { if (e_1) throw e_1.error; }
|
|
5423
5921
|
}
|
|
@@ -5474,7 +5972,7 @@ class ImageVersionsImpl {
|
|
|
5474
5972
|
}
|
|
5475
5973
|
}
|
|
5476
5974
|
// Operation Specifications
|
|
5477
|
-
const serializer$
|
|
5975
|
+
const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5478
5976
|
const listByImageOperationSpec = {
|
|
5479
5977
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}/versions",
|
|
5480
5978
|
httpMethod: "GET",
|
|
@@ -5496,7 +5994,7 @@ const listByImageOperationSpec = {
|
|
|
5496
5994
|
imageName
|
|
5497
5995
|
],
|
|
5498
5996
|
headerParameters: [accept],
|
|
5499
|
-
serializer: serializer$
|
|
5997
|
+
serializer: serializer$d
|
|
5500
5998
|
};
|
|
5501
5999
|
const getOperationSpec$9 = {
|
|
5502
6000
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}/images/{imageName}/versions/{versionName}",
|
|
@@ -5520,7 +6018,7 @@ const getOperationSpec$9 = {
|
|
|
5520
6018
|
versionName
|
|
5521
6019
|
],
|
|
5522
6020
|
headerParameters: [accept],
|
|
5523
|
-
serializer: serializer$
|
|
6021
|
+
serializer: serializer$d
|
|
5524
6022
|
};
|
|
5525
6023
|
const listByImageNextOperationSpec = {
|
|
5526
6024
|
path: "{nextLink}",
|
|
@@ -5533,7 +6031,6 @@ const listByImageNextOperationSpec = {
|
|
|
5533
6031
|
bodyMapper: CloudError
|
|
5534
6032
|
}
|
|
5535
6033
|
},
|
|
5536
|
-
queryParameters: [apiVersion],
|
|
5537
6034
|
urlParameters: [
|
|
5538
6035
|
$host,
|
|
5539
6036
|
subscriptionId,
|
|
@@ -5544,7 +6041,7 @@ const listByImageNextOperationSpec = {
|
|
|
5544
6041
|
imageName
|
|
5545
6042
|
],
|
|
5546
6043
|
headerParameters: [accept],
|
|
5547
|
-
serializer: serializer$
|
|
6044
|
+
serializer: serializer$d
|
|
5548
6045
|
};
|
|
5549
6046
|
|
|
5550
6047
|
/*
|
|
@@ -5609,17 +6106,24 @@ class CatalogsImpl {
|
|
|
5609
6106
|
}
|
|
5610
6107
|
listByDevCenterPagingAll(resourceGroupName, devCenterName, options) {
|
|
5611
6108
|
return tslib.__asyncGenerator(this, arguments, function* listByDevCenterPagingAll_1() {
|
|
5612
|
-
var e_1,
|
|
6109
|
+
var _a, e_1, _b, _c;
|
|
5613
6110
|
try {
|
|
5614
|
-
for (var
|
|
5615
|
-
|
|
5616
|
-
|
|
6111
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByDevCenterPagingPage(resourceGroupName, devCenterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
6112
|
+
_c = _f.value;
|
|
6113
|
+
_d = false;
|
|
6114
|
+
try {
|
|
6115
|
+
const page = _c;
|
|
6116
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
6117
|
+
}
|
|
6118
|
+
finally {
|
|
6119
|
+
_d = true;
|
|
6120
|
+
}
|
|
5617
6121
|
}
|
|
5618
6122
|
}
|
|
5619
6123
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
5620
6124
|
finally {
|
|
5621
6125
|
try {
|
|
5622
|
-
if (
|
|
6126
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
5623
6127
|
}
|
|
5624
6128
|
finally { if (e_1) throw e_1.error; }
|
|
5625
6129
|
}
|
|
@@ -5657,7 +6161,7 @@ class CatalogsImpl {
|
|
|
5657
6161
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5658
6162
|
return this.client.sendOperationRequest(args, spec);
|
|
5659
6163
|
});
|
|
5660
|
-
const
|
|
6164
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5661
6165
|
var _a;
|
|
5662
6166
|
let currentRawResponse = undefined;
|
|
5663
6167
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5676,11 +6180,15 @@ class CatalogsImpl {
|
|
|
5676
6180
|
}
|
|
5677
6181
|
};
|
|
5678
6182
|
});
|
|
5679
|
-
const lro =
|
|
5680
|
-
|
|
5681
|
-
|
|
6183
|
+
const lro = createLroSpec({
|
|
6184
|
+
sendOperationFn,
|
|
6185
|
+
args: { resourceGroupName, devCenterName, catalogName, body, options },
|
|
6186
|
+
spec: createOrUpdateOperationSpec$6
|
|
6187
|
+
});
|
|
6188
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6189
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5682
6190
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5683
|
-
|
|
6191
|
+
resourceLocationConfig: "azure-async-operation"
|
|
5684
6192
|
});
|
|
5685
6193
|
yield poller.poll();
|
|
5686
6194
|
return poller;
|
|
@@ -5713,7 +6221,7 @@ class CatalogsImpl {
|
|
|
5713
6221
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5714
6222
|
return this.client.sendOperationRequest(args, spec);
|
|
5715
6223
|
});
|
|
5716
|
-
const
|
|
6224
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5717
6225
|
var _a;
|
|
5718
6226
|
let currentRawResponse = undefined;
|
|
5719
6227
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5732,11 +6240,15 @@ class CatalogsImpl {
|
|
|
5732
6240
|
}
|
|
5733
6241
|
};
|
|
5734
6242
|
});
|
|
5735
|
-
const lro =
|
|
5736
|
-
|
|
5737
|
-
|
|
6243
|
+
const lro = createLroSpec({
|
|
6244
|
+
sendOperationFn,
|
|
6245
|
+
args: { resourceGroupName, devCenterName, catalogName, body, options },
|
|
6246
|
+
spec: updateOperationSpec$6
|
|
6247
|
+
});
|
|
6248
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6249
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5738
6250
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5739
|
-
|
|
6251
|
+
resourceLocationConfig: "azure-async-operation"
|
|
5740
6252
|
});
|
|
5741
6253
|
yield poller.poll();
|
|
5742
6254
|
return poller;
|
|
@@ -5768,7 +6280,7 @@ class CatalogsImpl {
|
|
|
5768
6280
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5769
6281
|
return this.client.sendOperationRequest(args, spec);
|
|
5770
6282
|
});
|
|
5771
|
-
const
|
|
6283
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5772
6284
|
var _a;
|
|
5773
6285
|
let currentRawResponse = undefined;
|
|
5774
6286
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5787,11 +6299,15 @@ class CatalogsImpl {
|
|
|
5787
6299
|
}
|
|
5788
6300
|
};
|
|
5789
6301
|
});
|
|
5790
|
-
const lro =
|
|
5791
|
-
|
|
5792
|
-
|
|
6302
|
+
const lro = createLroSpec({
|
|
6303
|
+
sendOperationFn,
|
|
6304
|
+
args: { resourceGroupName, devCenterName, catalogName, options },
|
|
6305
|
+
spec: deleteOperationSpec$6
|
|
6306
|
+
});
|
|
6307
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6308
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5793
6309
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5794
|
-
|
|
6310
|
+
resourceLocationConfig: "azure-async-operation"
|
|
5795
6311
|
});
|
|
5796
6312
|
yield poller.poll();
|
|
5797
6313
|
return poller;
|
|
@@ -5822,7 +6338,7 @@ class CatalogsImpl {
|
|
|
5822
6338
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5823
6339
|
return this.client.sendOperationRequest(args, spec);
|
|
5824
6340
|
});
|
|
5825
|
-
const
|
|
6341
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5826
6342
|
var _a;
|
|
5827
6343
|
let currentRawResponse = undefined;
|
|
5828
6344
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5841,11 +6357,15 @@ class CatalogsImpl {
|
|
|
5841
6357
|
}
|
|
5842
6358
|
};
|
|
5843
6359
|
});
|
|
5844
|
-
const lro =
|
|
5845
|
-
|
|
5846
|
-
|
|
6360
|
+
const lro = createLroSpec({
|
|
6361
|
+
sendOperationFn,
|
|
6362
|
+
args: { resourceGroupName, devCenterName, catalogName, options },
|
|
6363
|
+
spec: syncOperationSpec
|
|
6364
|
+
});
|
|
6365
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6366
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5847
6367
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5848
|
-
|
|
6368
|
+
resourceLocationConfig: "azure-async-operation"
|
|
5849
6369
|
});
|
|
5850
6370
|
yield poller.poll();
|
|
5851
6371
|
return poller;
|
|
@@ -5876,7 +6396,7 @@ class CatalogsImpl {
|
|
|
5876
6396
|
}
|
|
5877
6397
|
}
|
|
5878
6398
|
// Operation Specifications
|
|
5879
|
-
const serializer$
|
|
6399
|
+
const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5880
6400
|
const listByDevCenterOperationSpec$2 = {
|
|
5881
6401
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs",
|
|
5882
6402
|
httpMethod: "GET",
|
|
@@ -5896,7 +6416,7 @@ const listByDevCenterOperationSpec$2 = {
|
|
|
5896
6416
|
devCenterName
|
|
5897
6417
|
],
|
|
5898
6418
|
headerParameters: [accept],
|
|
5899
|
-
serializer: serializer$
|
|
6419
|
+
serializer: serializer$c
|
|
5900
6420
|
};
|
|
5901
6421
|
const getOperationSpec$8 = {
|
|
5902
6422
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}",
|
|
@@ -5918,7 +6438,7 @@ const getOperationSpec$8 = {
|
|
|
5918
6438
|
catalogName
|
|
5919
6439
|
],
|
|
5920
6440
|
headerParameters: [accept],
|
|
5921
|
-
serializer: serializer$
|
|
6441
|
+
serializer: serializer$c
|
|
5922
6442
|
};
|
|
5923
6443
|
const createOrUpdateOperationSpec$6 = {
|
|
5924
6444
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}",
|
|
@@ -5951,7 +6471,7 @@ const createOrUpdateOperationSpec$6 = {
|
|
|
5951
6471
|
],
|
|
5952
6472
|
headerParameters: [accept, contentType],
|
|
5953
6473
|
mediaType: "json",
|
|
5954
|
-
serializer: serializer$
|
|
6474
|
+
serializer: serializer$c
|
|
5955
6475
|
};
|
|
5956
6476
|
const updateOperationSpec$6 = {
|
|
5957
6477
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}",
|
|
@@ -5984,7 +6504,7 @@ const updateOperationSpec$6 = {
|
|
|
5984
6504
|
],
|
|
5985
6505
|
headerParameters: [accept, contentType],
|
|
5986
6506
|
mediaType: "json",
|
|
5987
|
-
serializer: serializer$
|
|
6507
|
+
serializer: serializer$c
|
|
5988
6508
|
};
|
|
5989
6509
|
const deleteOperationSpec$6 = {
|
|
5990
6510
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}",
|
|
@@ -6007,7 +6527,7 @@ const deleteOperationSpec$6 = {
|
|
|
6007
6527
|
catalogName
|
|
6008
6528
|
],
|
|
6009
6529
|
headerParameters: [accept],
|
|
6010
|
-
serializer: serializer$
|
|
6530
|
+
serializer: serializer$c
|
|
6011
6531
|
};
|
|
6012
6532
|
const syncOperationSpec = {
|
|
6013
6533
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/catalogs/{catalogName}/sync",
|
|
@@ -6030,7 +6550,7 @@ const syncOperationSpec = {
|
|
|
6030
6550
|
catalogName
|
|
6031
6551
|
],
|
|
6032
6552
|
headerParameters: [accept],
|
|
6033
|
-
serializer: serializer$
|
|
6553
|
+
serializer: serializer$c
|
|
6034
6554
|
};
|
|
6035
6555
|
const listByDevCenterNextOperationSpec$2 = {
|
|
6036
6556
|
path: "{nextLink}",
|
|
@@ -6043,7 +6563,6 @@ const listByDevCenterNextOperationSpec$2 = {
|
|
|
6043
6563
|
bodyMapper: CloudError
|
|
6044
6564
|
}
|
|
6045
6565
|
},
|
|
6046
|
-
queryParameters: [apiVersion, top],
|
|
6047
6566
|
urlParameters: [
|
|
6048
6567
|
$host,
|
|
6049
6568
|
subscriptionId,
|
|
@@ -6052,7 +6571,7 @@ const listByDevCenterNextOperationSpec$2 = {
|
|
|
6052
6571
|
nextLink
|
|
6053
6572
|
],
|
|
6054
6573
|
headerParameters: [accept],
|
|
6055
|
-
serializer: serializer$
|
|
6574
|
+
serializer: serializer$c
|
|
6056
6575
|
};
|
|
6057
6576
|
|
|
6058
6577
|
/*
|
|
@@ -6117,17 +6636,24 @@ class EnvironmentTypesImpl {
|
|
|
6117
6636
|
}
|
|
6118
6637
|
listByDevCenterPagingAll(resourceGroupName, devCenterName, options) {
|
|
6119
6638
|
return tslib.__asyncGenerator(this, arguments, function* listByDevCenterPagingAll_1() {
|
|
6120
|
-
var e_1,
|
|
6639
|
+
var _a, e_1, _b, _c;
|
|
6121
6640
|
try {
|
|
6122
|
-
for (var
|
|
6123
|
-
|
|
6124
|
-
|
|
6641
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByDevCenterPagingPage(resourceGroupName, devCenterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
6642
|
+
_c = _f.value;
|
|
6643
|
+
_d = false;
|
|
6644
|
+
try {
|
|
6645
|
+
const page = _c;
|
|
6646
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
6647
|
+
}
|
|
6648
|
+
finally {
|
|
6649
|
+
_d = true;
|
|
6650
|
+
}
|
|
6125
6651
|
}
|
|
6126
6652
|
}
|
|
6127
6653
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
6128
6654
|
finally {
|
|
6129
6655
|
try {
|
|
6130
|
-
if (
|
|
6656
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
6131
6657
|
}
|
|
6132
6658
|
finally { if (e_1) throw e_1.error; }
|
|
6133
6659
|
}
|
|
@@ -6196,7 +6722,7 @@ class EnvironmentTypesImpl {
|
|
|
6196
6722
|
}
|
|
6197
6723
|
}
|
|
6198
6724
|
// Operation Specifications
|
|
6199
|
-
const serializer$
|
|
6725
|
+
const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6200
6726
|
const listByDevCenterOperationSpec$1 = {
|
|
6201
6727
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes",
|
|
6202
6728
|
httpMethod: "GET",
|
|
@@ -6216,7 +6742,7 @@ const listByDevCenterOperationSpec$1 = {
|
|
|
6216
6742
|
devCenterName
|
|
6217
6743
|
],
|
|
6218
6744
|
headerParameters: [accept],
|
|
6219
|
-
serializer: serializer$
|
|
6745
|
+
serializer: serializer$b
|
|
6220
6746
|
};
|
|
6221
6747
|
const getOperationSpec$7 = {
|
|
6222
6748
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes/{environmentTypeName}",
|
|
@@ -6238,7 +6764,7 @@ const getOperationSpec$7 = {
|
|
|
6238
6764
|
environmentTypeName
|
|
6239
6765
|
],
|
|
6240
6766
|
headerParameters: [accept],
|
|
6241
|
-
serializer: serializer$
|
|
6767
|
+
serializer: serializer$b
|
|
6242
6768
|
};
|
|
6243
6769
|
const createOrUpdateOperationSpec$5 = {
|
|
6244
6770
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes/{environmentTypeName}",
|
|
@@ -6262,7 +6788,7 @@ const createOrUpdateOperationSpec$5 = {
|
|
|
6262
6788
|
],
|
|
6263
6789
|
headerParameters: [accept, contentType],
|
|
6264
6790
|
mediaType: "json",
|
|
6265
|
-
serializer: serializer$
|
|
6791
|
+
serializer: serializer$b
|
|
6266
6792
|
};
|
|
6267
6793
|
const updateOperationSpec$5 = {
|
|
6268
6794
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes/{environmentTypeName}",
|
|
@@ -6286,7 +6812,7 @@ const updateOperationSpec$5 = {
|
|
|
6286
6812
|
],
|
|
6287
6813
|
headerParameters: [accept, contentType],
|
|
6288
6814
|
mediaType: "json",
|
|
6289
|
-
serializer: serializer$
|
|
6815
|
+
serializer: serializer$b
|
|
6290
6816
|
};
|
|
6291
6817
|
const deleteOperationSpec$5 = {
|
|
6292
6818
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/environmentTypes/{environmentTypeName}",
|
|
@@ -6307,7 +6833,7 @@ const deleteOperationSpec$5 = {
|
|
|
6307
6833
|
environmentTypeName
|
|
6308
6834
|
],
|
|
6309
6835
|
headerParameters: [accept],
|
|
6310
|
-
serializer: serializer$
|
|
6836
|
+
serializer: serializer$b
|
|
6311
6837
|
};
|
|
6312
6838
|
const listByDevCenterNextOperationSpec$1 = {
|
|
6313
6839
|
path: "{nextLink}",
|
|
@@ -6320,7 +6846,6 @@ const listByDevCenterNextOperationSpec$1 = {
|
|
|
6320
6846
|
bodyMapper: CloudError
|
|
6321
6847
|
}
|
|
6322
6848
|
},
|
|
6323
|
-
queryParameters: [apiVersion, top],
|
|
6324
6849
|
urlParameters: [
|
|
6325
6850
|
$host,
|
|
6326
6851
|
subscriptionId,
|
|
@@ -6329,7 +6854,7 @@ const listByDevCenterNextOperationSpec$1 = {
|
|
|
6329
6854
|
nextLink
|
|
6330
6855
|
],
|
|
6331
6856
|
headerParameters: [accept],
|
|
6332
|
-
serializer: serializer$
|
|
6857
|
+
serializer: serializer$b
|
|
6333
6858
|
};
|
|
6334
6859
|
|
|
6335
6860
|
/*
|
|
@@ -6394,17 +6919,24 @@ class ProjectAllowedEnvironmentTypesImpl {
|
|
|
6394
6919
|
}
|
|
6395
6920
|
listPagingAll(resourceGroupName, projectName, options) {
|
|
6396
6921
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
6397
|
-
var e_1,
|
|
6922
|
+
var _a, e_1, _b, _c;
|
|
6398
6923
|
try {
|
|
6399
|
-
for (var
|
|
6400
|
-
|
|
6401
|
-
|
|
6924
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, projectName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
6925
|
+
_c = _f.value;
|
|
6926
|
+
_d = false;
|
|
6927
|
+
try {
|
|
6928
|
+
const page = _c;
|
|
6929
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
6930
|
+
}
|
|
6931
|
+
finally {
|
|
6932
|
+
_d = true;
|
|
6933
|
+
}
|
|
6402
6934
|
}
|
|
6403
6935
|
}
|
|
6404
6936
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
6405
6937
|
finally {
|
|
6406
6938
|
try {
|
|
6407
|
-
if (
|
|
6939
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
6408
6940
|
}
|
|
6409
6941
|
finally { if (e_1) throw e_1.error; }
|
|
6410
6942
|
}
|
|
@@ -6441,7 +6973,7 @@ class ProjectAllowedEnvironmentTypesImpl {
|
|
|
6441
6973
|
}
|
|
6442
6974
|
}
|
|
6443
6975
|
// Operation Specifications
|
|
6444
|
-
const serializer$
|
|
6976
|
+
const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6445
6977
|
const listOperationSpec$2 = {
|
|
6446
6978
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/allowedEnvironmentTypes",
|
|
6447
6979
|
httpMethod: "GET",
|
|
@@ -6461,7 +6993,7 @@ const listOperationSpec$2 = {
|
|
|
6461
6993
|
projectName
|
|
6462
6994
|
],
|
|
6463
6995
|
headerParameters: [accept],
|
|
6464
|
-
serializer: serializer$
|
|
6996
|
+
serializer: serializer$a
|
|
6465
6997
|
};
|
|
6466
6998
|
const getOperationSpec$6 = {
|
|
6467
6999
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/allowedEnvironmentTypes/{environmentTypeName}",
|
|
@@ -6483,7 +7015,7 @@ const getOperationSpec$6 = {
|
|
|
6483
7015
|
environmentTypeName
|
|
6484
7016
|
],
|
|
6485
7017
|
headerParameters: [accept],
|
|
6486
|
-
serializer: serializer$
|
|
7018
|
+
serializer: serializer$a
|
|
6487
7019
|
};
|
|
6488
7020
|
const listNextOperationSpec$2 = {
|
|
6489
7021
|
path: "{nextLink}",
|
|
@@ -6496,7 +7028,6 @@ const listNextOperationSpec$2 = {
|
|
|
6496
7028
|
bodyMapper: CloudError
|
|
6497
7029
|
}
|
|
6498
7030
|
},
|
|
6499
|
-
queryParameters: [apiVersion, top],
|
|
6500
7031
|
urlParameters: [
|
|
6501
7032
|
$host,
|
|
6502
7033
|
subscriptionId,
|
|
@@ -6505,7 +7036,7 @@ const listNextOperationSpec$2 = {
|
|
|
6505
7036
|
projectName
|
|
6506
7037
|
],
|
|
6507
7038
|
headerParameters: [accept],
|
|
6508
|
-
serializer: serializer$
|
|
7039
|
+
serializer: serializer$a
|
|
6509
7040
|
};
|
|
6510
7041
|
|
|
6511
7042
|
/*
|
|
@@ -6570,17 +7101,24 @@ class ProjectEnvironmentTypesImpl {
|
|
|
6570
7101
|
}
|
|
6571
7102
|
listPagingAll(resourceGroupName, projectName, options) {
|
|
6572
7103
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
6573
|
-
var e_1,
|
|
7104
|
+
var _a, e_1, _b, _c;
|
|
6574
7105
|
try {
|
|
6575
|
-
for (var
|
|
6576
|
-
|
|
6577
|
-
|
|
7106
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, projectName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
7107
|
+
_c = _f.value;
|
|
7108
|
+
_d = false;
|
|
7109
|
+
try {
|
|
7110
|
+
const page = _c;
|
|
7111
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
7112
|
+
}
|
|
7113
|
+
finally {
|
|
7114
|
+
_d = true;
|
|
7115
|
+
}
|
|
6578
7116
|
}
|
|
6579
7117
|
}
|
|
6580
7118
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
6581
7119
|
finally {
|
|
6582
7120
|
try {
|
|
6583
|
-
if (
|
|
7121
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
6584
7122
|
}
|
|
6585
7123
|
finally { if (e_1) throw e_1.error; }
|
|
6586
7124
|
}
|
|
@@ -6649,7 +7187,7 @@ class ProjectEnvironmentTypesImpl {
|
|
|
6649
7187
|
}
|
|
6650
7188
|
}
|
|
6651
7189
|
// Operation Specifications
|
|
6652
|
-
const serializer$
|
|
7190
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6653
7191
|
const listOperationSpec$1 = {
|
|
6654
7192
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes",
|
|
6655
7193
|
httpMethod: "GET",
|
|
@@ -6669,7 +7207,7 @@ const listOperationSpec$1 = {
|
|
|
6669
7207
|
projectName
|
|
6670
7208
|
],
|
|
6671
7209
|
headerParameters: [accept],
|
|
6672
|
-
serializer: serializer$
|
|
7210
|
+
serializer: serializer$9
|
|
6673
7211
|
};
|
|
6674
7212
|
const getOperationSpec$5 = {
|
|
6675
7213
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes/{environmentTypeName}",
|
|
@@ -6691,7 +7229,7 @@ const getOperationSpec$5 = {
|
|
|
6691
7229
|
environmentTypeName
|
|
6692
7230
|
],
|
|
6693
7231
|
headerParameters: [accept],
|
|
6694
|
-
serializer: serializer$
|
|
7232
|
+
serializer: serializer$9
|
|
6695
7233
|
};
|
|
6696
7234
|
const createOrUpdateOperationSpec$4 = {
|
|
6697
7235
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes/{environmentTypeName}",
|
|
@@ -6715,7 +7253,7 @@ const createOrUpdateOperationSpec$4 = {
|
|
|
6715
7253
|
],
|
|
6716
7254
|
headerParameters: [accept, contentType],
|
|
6717
7255
|
mediaType: "json",
|
|
6718
|
-
serializer: serializer$
|
|
7256
|
+
serializer: serializer$9
|
|
6719
7257
|
};
|
|
6720
7258
|
const updateOperationSpec$4 = {
|
|
6721
7259
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes/{environmentTypeName}",
|
|
@@ -6739,7 +7277,7 @@ const updateOperationSpec$4 = {
|
|
|
6739
7277
|
],
|
|
6740
7278
|
headerParameters: [accept, contentType],
|
|
6741
7279
|
mediaType: "json",
|
|
6742
|
-
serializer: serializer$
|
|
7280
|
+
serializer: serializer$9
|
|
6743
7281
|
};
|
|
6744
7282
|
const deleteOperationSpec$4 = {
|
|
6745
7283
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/environmentTypes/{environmentTypeName}",
|
|
@@ -6760,7 +7298,7 @@ const deleteOperationSpec$4 = {
|
|
|
6760
7298
|
environmentTypeName
|
|
6761
7299
|
],
|
|
6762
7300
|
headerParameters: [accept],
|
|
6763
|
-
serializer: serializer$
|
|
7301
|
+
serializer: serializer$9
|
|
6764
7302
|
};
|
|
6765
7303
|
const listNextOperationSpec$1 = {
|
|
6766
7304
|
path: "{nextLink}",
|
|
@@ -6773,7 +7311,6 @@ const listNextOperationSpec$1 = {
|
|
|
6773
7311
|
bodyMapper: CloudError
|
|
6774
7312
|
}
|
|
6775
7313
|
},
|
|
6776
|
-
queryParameters: [apiVersion, top],
|
|
6777
7314
|
urlParameters: [
|
|
6778
7315
|
$host,
|
|
6779
7316
|
subscriptionId,
|
|
@@ -6782,7 +7319,7 @@ const listNextOperationSpec$1 = {
|
|
|
6782
7319
|
projectName
|
|
6783
7320
|
],
|
|
6784
7321
|
headerParameters: [accept],
|
|
6785
|
-
serializer: serializer$
|
|
7322
|
+
serializer: serializer$9
|
|
6786
7323
|
};
|
|
6787
7324
|
|
|
6788
7325
|
/*
|
|
@@ -6847,17 +7384,24 @@ class DevBoxDefinitionsImpl {
|
|
|
6847
7384
|
}
|
|
6848
7385
|
listByDevCenterPagingAll(resourceGroupName, devCenterName, options) {
|
|
6849
7386
|
return tslib.__asyncGenerator(this, arguments, function* listByDevCenterPagingAll_1() {
|
|
6850
|
-
var e_1,
|
|
7387
|
+
var _a, e_1, _b, _c;
|
|
6851
7388
|
try {
|
|
6852
|
-
for (var
|
|
6853
|
-
|
|
6854
|
-
|
|
7389
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByDevCenterPagingPage(resourceGroupName, devCenterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
7390
|
+
_c = _f.value;
|
|
7391
|
+
_d = false;
|
|
7392
|
+
try {
|
|
7393
|
+
const page = _c;
|
|
7394
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
7395
|
+
}
|
|
7396
|
+
finally {
|
|
7397
|
+
_d = true;
|
|
7398
|
+
}
|
|
6855
7399
|
}
|
|
6856
7400
|
}
|
|
6857
7401
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
6858
7402
|
finally {
|
|
6859
7403
|
try {
|
|
6860
|
-
if (
|
|
7404
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
6861
7405
|
}
|
|
6862
7406
|
finally { if (e_1) throw e_1.error; }
|
|
6863
7407
|
}
|
|
@@ -6908,17 +7452,24 @@ class DevBoxDefinitionsImpl {
|
|
|
6908
7452
|
}
|
|
6909
7453
|
listByProjectPagingAll(resourceGroupName, projectName, options) {
|
|
6910
7454
|
return tslib.__asyncGenerator(this, arguments, function* listByProjectPagingAll_1() {
|
|
6911
|
-
var e_2,
|
|
7455
|
+
var _a, e_2, _b, _c;
|
|
6912
7456
|
try {
|
|
6913
|
-
for (var
|
|
6914
|
-
|
|
6915
|
-
|
|
7457
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByProjectPagingPage(resourceGroupName, projectName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
7458
|
+
_c = _f.value;
|
|
7459
|
+
_d = false;
|
|
7460
|
+
try {
|
|
7461
|
+
const page = _c;
|
|
7462
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
7463
|
+
}
|
|
7464
|
+
finally {
|
|
7465
|
+
_d = true;
|
|
7466
|
+
}
|
|
6916
7467
|
}
|
|
6917
7468
|
}
|
|
6918
7469
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
6919
7470
|
finally {
|
|
6920
7471
|
try {
|
|
6921
|
-
if (
|
|
7472
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
6922
7473
|
}
|
|
6923
7474
|
finally { if (e_2) throw e_2.error; }
|
|
6924
7475
|
}
|
|
@@ -6956,7 +7507,7 @@ class DevBoxDefinitionsImpl {
|
|
|
6956
7507
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6957
7508
|
return this.client.sendOperationRequest(args, spec);
|
|
6958
7509
|
});
|
|
6959
|
-
const
|
|
7510
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6960
7511
|
var _a;
|
|
6961
7512
|
let currentRawResponse = undefined;
|
|
6962
7513
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -6975,11 +7526,21 @@ class DevBoxDefinitionsImpl {
|
|
|
6975
7526
|
}
|
|
6976
7527
|
};
|
|
6977
7528
|
});
|
|
6978
|
-
const lro =
|
|
6979
|
-
|
|
6980
|
-
|
|
7529
|
+
const lro = createLroSpec({
|
|
7530
|
+
sendOperationFn,
|
|
7531
|
+
args: {
|
|
7532
|
+
resourceGroupName,
|
|
7533
|
+
devCenterName,
|
|
7534
|
+
devBoxDefinitionName,
|
|
7535
|
+
body,
|
|
7536
|
+
options
|
|
7537
|
+
},
|
|
7538
|
+
spec: createOrUpdateOperationSpec$3
|
|
7539
|
+
});
|
|
7540
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7541
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6981
7542
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6982
|
-
|
|
7543
|
+
resourceLocationConfig: "azure-async-operation"
|
|
6983
7544
|
});
|
|
6984
7545
|
yield poller.poll();
|
|
6985
7546
|
return poller;
|
|
@@ -7012,7 +7573,7 @@ class DevBoxDefinitionsImpl {
|
|
|
7012
7573
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7013
7574
|
return this.client.sendOperationRequest(args, spec);
|
|
7014
7575
|
});
|
|
7015
|
-
const
|
|
7576
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7016
7577
|
var _a;
|
|
7017
7578
|
let currentRawResponse = undefined;
|
|
7018
7579
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -7031,11 +7592,21 @@ class DevBoxDefinitionsImpl {
|
|
|
7031
7592
|
}
|
|
7032
7593
|
};
|
|
7033
7594
|
});
|
|
7034
|
-
const lro =
|
|
7035
|
-
|
|
7036
|
-
|
|
7595
|
+
const lro = createLroSpec({
|
|
7596
|
+
sendOperationFn,
|
|
7597
|
+
args: {
|
|
7598
|
+
resourceGroupName,
|
|
7599
|
+
devCenterName,
|
|
7600
|
+
devBoxDefinitionName,
|
|
7601
|
+
body,
|
|
7602
|
+
options
|
|
7603
|
+
},
|
|
7604
|
+
spec: updateOperationSpec$3
|
|
7605
|
+
});
|
|
7606
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7607
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7037
7608
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7038
|
-
|
|
7609
|
+
resourceLocationConfig: "azure-async-operation"
|
|
7039
7610
|
});
|
|
7040
7611
|
yield poller.poll();
|
|
7041
7612
|
return poller;
|
|
@@ -7067,7 +7638,7 @@ class DevBoxDefinitionsImpl {
|
|
|
7067
7638
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7068
7639
|
return this.client.sendOperationRequest(args, spec);
|
|
7069
7640
|
});
|
|
7070
|
-
const
|
|
7641
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7071
7642
|
var _a;
|
|
7072
7643
|
let currentRawResponse = undefined;
|
|
7073
7644
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -7086,11 +7657,15 @@ class DevBoxDefinitionsImpl {
|
|
|
7086
7657
|
}
|
|
7087
7658
|
};
|
|
7088
7659
|
});
|
|
7089
|
-
const lro =
|
|
7090
|
-
|
|
7091
|
-
|
|
7660
|
+
const lro = createLroSpec({
|
|
7661
|
+
sendOperationFn,
|
|
7662
|
+
args: { resourceGroupName, devCenterName, devBoxDefinitionName, options },
|
|
7663
|
+
spec: deleteOperationSpec$3
|
|
7664
|
+
});
|
|
7665
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7666
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7092
7667
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7093
|
-
|
|
7668
|
+
resourceLocationConfig: "azure-async-operation"
|
|
7094
7669
|
});
|
|
7095
7670
|
yield poller.poll();
|
|
7096
7671
|
return poller;
|
|
@@ -7150,7 +7725,7 @@ class DevBoxDefinitionsImpl {
|
|
|
7150
7725
|
}
|
|
7151
7726
|
}
|
|
7152
7727
|
// Operation Specifications
|
|
7153
|
-
const serializer$
|
|
7728
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7154
7729
|
const listByDevCenterOperationSpec = {
|
|
7155
7730
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/devboxdefinitions",
|
|
7156
7731
|
httpMethod: "GET",
|
|
@@ -7170,7 +7745,7 @@ const listByDevCenterOperationSpec = {
|
|
|
7170
7745
|
devCenterName
|
|
7171
7746
|
],
|
|
7172
7747
|
headerParameters: [accept],
|
|
7173
|
-
serializer: serializer$
|
|
7748
|
+
serializer: serializer$8
|
|
7174
7749
|
};
|
|
7175
7750
|
const getOperationSpec$4 = {
|
|
7176
7751
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/devboxdefinitions/{devBoxDefinitionName}",
|
|
@@ -7192,7 +7767,7 @@ const getOperationSpec$4 = {
|
|
|
7192
7767
|
devBoxDefinitionName
|
|
7193
7768
|
],
|
|
7194
7769
|
headerParameters: [accept],
|
|
7195
|
-
serializer: serializer$
|
|
7770
|
+
serializer: serializer$8
|
|
7196
7771
|
};
|
|
7197
7772
|
const createOrUpdateOperationSpec$3 = {
|
|
7198
7773
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/devboxdefinitions/{devBoxDefinitionName}",
|
|
@@ -7225,7 +7800,7 @@ const createOrUpdateOperationSpec$3 = {
|
|
|
7225
7800
|
],
|
|
7226
7801
|
headerParameters: [accept, contentType],
|
|
7227
7802
|
mediaType: "json",
|
|
7228
|
-
serializer: serializer$
|
|
7803
|
+
serializer: serializer$8
|
|
7229
7804
|
};
|
|
7230
7805
|
const updateOperationSpec$3 = {
|
|
7231
7806
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/devboxdefinitions/{devBoxDefinitionName}",
|
|
@@ -7258,7 +7833,7 @@ const updateOperationSpec$3 = {
|
|
|
7258
7833
|
],
|
|
7259
7834
|
headerParameters: [accept, contentType],
|
|
7260
7835
|
mediaType: "json",
|
|
7261
|
-
serializer: serializer$
|
|
7836
|
+
serializer: serializer$8
|
|
7262
7837
|
};
|
|
7263
7838
|
const deleteOperationSpec$3 = {
|
|
7264
7839
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/devboxdefinitions/{devBoxDefinitionName}",
|
|
@@ -7281,7 +7856,7 @@ const deleteOperationSpec$3 = {
|
|
|
7281
7856
|
devBoxDefinitionName
|
|
7282
7857
|
],
|
|
7283
7858
|
headerParameters: [accept],
|
|
7284
|
-
serializer: serializer$
|
|
7859
|
+
serializer: serializer$8
|
|
7285
7860
|
};
|
|
7286
7861
|
const listByProjectOperationSpec$1 = {
|
|
7287
7862
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/devboxdefinitions",
|
|
@@ -7302,7 +7877,7 @@ const listByProjectOperationSpec$1 = {
|
|
|
7302
7877
|
projectName
|
|
7303
7878
|
],
|
|
7304
7879
|
headerParameters: [accept],
|
|
7305
|
-
serializer: serializer$
|
|
7880
|
+
serializer: serializer$8
|
|
7306
7881
|
};
|
|
7307
7882
|
const getByProjectOperationSpec = {
|
|
7308
7883
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/devboxdefinitions/{devBoxDefinitionName}",
|
|
@@ -7324,7 +7899,7 @@ const getByProjectOperationSpec = {
|
|
|
7324
7899
|
devBoxDefinitionName
|
|
7325
7900
|
],
|
|
7326
7901
|
headerParameters: [accept],
|
|
7327
|
-
serializer: serializer$
|
|
7902
|
+
serializer: serializer$8
|
|
7328
7903
|
};
|
|
7329
7904
|
const listByDevCenterNextOperationSpec = {
|
|
7330
7905
|
path: "{nextLink}",
|
|
@@ -7337,7 +7912,6 @@ const listByDevCenterNextOperationSpec = {
|
|
|
7337
7912
|
bodyMapper: CloudError
|
|
7338
7913
|
}
|
|
7339
7914
|
},
|
|
7340
|
-
queryParameters: [apiVersion, top],
|
|
7341
7915
|
urlParameters: [
|
|
7342
7916
|
$host,
|
|
7343
7917
|
subscriptionId,
|
|
@@ -7346,7 +7920,7 @@ const listByDevCenterNextOperationSpec = {
|
|
|
7346
7920
|
nextLink
|
|
7347
7921
|
],
|
|
7348
7922
|
headerParameters: [accept],
|
|
7349
|
-
serializer: serializer$
|
|
7923
|
+
serializer: serializer$8
|
|
7350
7924
|
};
|
|
7351
7925
|
const listByProjectNextOperationSpec$1 = {
|
|
7352
7926
|
path: "{nextLink}",
|
|
@@ -7359,7 +7933,6 @@ const listByProjectNextOperationSpec$1 = {
|
|
|
7359
7933
|
bodyMapper: CloudError
|
|
7360
7934
|
}
|
|
7361
7935
|
},
|
|
7362
|
-
queryParameters: [apiVersion, top],
|
|
7363
7936
|
urlParameters: [
|
|
7364
7937
|
$host,
|
|
7365
7938
|
subscriptionId,
|
|
@@ -7368,7 +7941,7 @@ const listByProjectNextOperationSpec$1 = {
|
|
|
7368
7941
|
projectName
|
|
7369
7942
|
],
|
|
7370
7943
|
headerParameters: [accept],
|
|
7371
|
-
serializer: serializer$
|
|
7944
|
+
serializer: serializer$8
|
|
7372
7945
|
};
|
|
7373
7946
|
|
|
7374
7947
|
/*
|
|
@@ -7431,17 +8004,24 @@ class OperationsImpl {
|
|
|
7431
8004
|
}
|
|
7432
8005
|
listPagingAll(options) {
|
|
7433
8006
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
7434
|
-
var e_1,
|
|
8007
|
+
var _a, e_1, _b, _c;
|
|
7435
8008
|
try {
|
|
7436
|
-
for (var
|
|
7437
|
-
|
|
7438
|
-
|
|
8009
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
8010
|
+
_c = _f.value;
|
|
8011
|
+
_d = false;
|
|
8012
|
+
try {
|
|
8013
|
+
const page = _c;
|
|
8014
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
8015
|
+
}
|
|
8016
|
+
finally {
|
|
8017
|
+
_d = true;
|
|
8018
|
+
}
|
|
7439
8019
|
}
|
|
7440
8020
|
}
|
|
7441
8021
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
7442
8022
|
finally {
|
|
7443
8023
|
try {
|
|
7444
|
-
if (
|
|
8024
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
7445
8025
|
}
|
|
7446
8026
|
finally { if (e_1) throw e_1.error; }
|
|
7447
8027
|
}
|
|
@@ -7464,7 +8044,7 @@ class OperationsImpl {
|
|
|
7464
8044
|
}
|
|
7465
8045
|
}
|
|
7466
8046
|
// Operation Specifications
|
|
7467
|
-
const serializer$
|
|
8047
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7468
8048
|
const listOperationSpec = {
|
|
7469
8049
|
path: "/providers/Microsoft.DevCenter/operations",
|
|
7470
8050
|
httpMethod: "GET",
|
|
@@ -7479,7 +8059,7 @@ const listOperationSpec = {
|
|
|
7479
8059
|
queryParameters: [apiVersion],
|
|
7480
8060
|
urlParameters: [$host],
|
|
7481
8061
|
headerParameters: [accept],
|
|
7482
|
-
serializer: serializer$
|
|
8062
|
+
serializer: serializer$7
|
|
7483
8063
|
};
|
|
7484
8064
|
const listNextOperationSpec = {
|
|
7485
8065
|
path: "{nextLink}",
|
|
@@ -7492,10 +8072,9 @@ const listNextOperationSpec = {
|
|
|
7492
8072
|
bodyMapper: CloudError
|
|
7493
8073
|
}
|
|
7494
8074
|
},
|
|
7495
|
-
queryParameters: [apiVersion],
|
|
7496
8075
|
urlParameters: [$host, nextLink],
|
|
7497
8076
|
headerParameters: [accept],
|
|
7498
|
-
serializer: serializer$
|
|
8077
|
+
serializer: serializer$7
|
|
7499
8078
|
};
|
|
7500
8079
|
|
|
7501
8080
|
/*
|
|
@@ -7525,7 +8104,7 @@ class OperationStatusesImpl {
|
|
|
7525
8104
|
}
|
|
7526
8105
|
}
|
|
7527
8106
|
// Operation Specifications
|
|
7528
|
-
const serializer$
|
|
8107
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7529
8108
|
const getOperationSpec$3 = {
|
|
7530
8109
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/locations/{location}/operationStatuses/{operationId}",
|
|
7531
8110
|
httpMethod: "GET",
|
|
@@ -7548,7 +8127,7 @@ const getOperationSpec$3 = {
|
|
|
7548
8127
|
operationId
|
|
7549
8128
|
],
|
|
7550
8129
|
headerParameters: [accept],
|
|
7551
|
-
serializer: serializer$
|
|
8130
|
+
serializer: serializer$6
|
|
7552
8131
|
};
|
|
7553
8132
|
|
|
7554
8133
|
/*
|
|
@@ -7612,17 +8191,24 @@ class UsagesImpl {
|
|
|
7612
8191
|
}
|
|
7613
8192
|
listByLocationPagingAll(location, options) {
|
|
7614
8193
|
return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingAll_1() {
|
|
7615
|
-
var e_1,
|
|
8194
|
+
var _a, e_1, _b, _c;
|
|
7616
8195
|
try {
|
|
7617
|
-
for (var
|
|
7618
|
-
|
|
7619
|
-
|
|
8196
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByLocationPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
8197
|
+
_c = _f.value;
|
|
8198
|
+
_d = false;
|
|
8199
|
+
try {
|
|
8200
|
+
const page = _c;
|
|
8201
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
8202
|
+
}
|
|
8203
|
+
finally {
|
|
8204
|
+
_d = true;
|
|
8205
|
+
}
|
|
7620
8206
|
}
|
|
7621
8207
|
}
|
|
7622
8208
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
7623
8209
|
finally {
|
|
7624
8210
|
try {
|
|
7625
|
-
if (
|
|
8211
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
7626
8212
|
}
|
|
7627
8213
|
finally { if (e_1) throw e_1.error; }
|
|
7628
8214
|
}
|
|
@@ -7647,7 +8233,7 @@ class UsagesImpl {
|
|
|
7647
8233
|
}
|
|
7648
8234
|
}
|
|
7649
8235
|
// Operation Specifications
|
|
7650
|
-
const serializer$
|
|
8236
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7651
8237
|
const listByLocationOperationSpec = {
|
|
7652
8238
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/locations/{location}/usages",
|
|
7653
8239
|
httpMethod: "GET",
|
|
@@ -7666,7 +8252,7 @@ const listByLocationOperationSpec = {
|
|
|
7666
8252
|
location
|
|
7667
8253
|
],
|
|
7668
8254
|
headerParameters: [accept],
|
|
7669
|
-
serializer: serializer$
|
|
8255
|
+
serializer: serializer$5
|
|
7670
8256
|
};
|
|
7671
8257
|
const listByLocationNextOperationSpec = {
|
|
7672
8258
|
path: "{nextLink}",
|
|
@@ -7679,7 +8265,6 @@ const listByLocationNextOperationSpec = {
|
|
|
7679
8265
|
bodyMapper: CloudError
|
|
7680
8266
|
}
|
|
7681
8267
|
},
|
|
7682
|
-
queryParameters: [apiVersion],
|
|
7683
8268
|
urlParameters: [
|
|
7684
8269
|
$host,
|
|
7685
8270
|
subscriptionId,
|
|
@@ -7687,6 +8272,52 @@ const listByLocationNextOperationSpec = {
|
|
|
7687
8272
|
location
|
|
7688
8273
|
],
|
|
7689
8274
|
headerParameters: [accept],
|
|
8275
|
+
serializer: serializer$5
|
|
8276
|
+
};
|
|
8277
|
+
|
|
8278
|
+
/*
|
|
8279
|
+
* Copyright (c) Microsoft Corporation.
|
|
8280
|
+
* Licensed under the MIT License.
|
|
8281
|
+
*
|
|
8282
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
8283
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8284
|
+
*/
|
|
8285
|
+
/** Class containing CheckNameAvailability operations. */
|
|
8286
|
+
class CheckNameAvailabilityImpl {
|
|
8287
|
+
/**
|
|
8288
|
+
* Initialize a new instance of the class CheckNameAvailability class.
|
|
8289
|
+
* @param client Reference to the service client
|
|
8290
|
+
*/
|
|
8291
|
+
constructor(client) {
|
|
8292
|
+
this.client = client;
|
|
8293
|
+
}
|
|
8294
|
+
/**
|
|
8295
|
+
* Check the availability of name for resource
|
|
8296
|
+
* @param nameAvailabilityRequest The required parameters for checking if resource name is available.
|
|
8297
|
+
* @param options The options parameters.
|
|
8298
|
+
*/
|
|
8299
|
+
execute(nameAvailabilityRequest, options) {
|
|
8300
|
+
return this.client.sendOperationRequest({ nameAvailabilityRequest, options }, executeOperationSpec);
|
|
8301
|
+
}
|
|
8302
|
+
}
|
|
8303
|
+
// Operation Specifications
|
|
8304
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8305
|
+
const executeOperationSpec = {
|
|
8306
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/checkNameAvailability",
|
|
8307
|
+
httpMethod: "POST",
|
|
8308
|
+
responses: {
|
|
8309
|
+
200: {
|
|
8310
|
+
bodyMapper: CheckNameAvailabilityResponse
|
|
8311
|
+
},
|
|
8312
|
+
default: {
|
|
8313
|
+
bodyMapper: ErrorResponse
|
|
8314
|
+
}
|
|
8315
|
+
},
|
|
8316
|
+
requestBody: nameAvailabilityRequest,
|
|
8317
|
+
queryParameters: [apiVersion],
|
|
8318
|
+
urlParameters: [$host, subscriptionId],
|
|
8319
|
+
headerParameters: [accept, contentType],
|
|
8320
|
+
mediaType: "json",
|
|
7690
8321
|
serializer: serializer$4
|
|
7691
8322
|
};
|
|
7692
8323
|
|
|
@@ -7750,17 +8381,24 @@ class SkusImpl {
|
|
|
7750
8381
|
}
|
|
7751
8382
|
listBySubscriptionPagingAll(options) {
|
|
7752
8383
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
7753
|
-
var e_1,
|
|
8384
|
+
var _a, e_1, _b, _c;
|
|
7754
8385
|
try {
|
|
7755
|
-
for (var
|
|
7756
|
-
|
|
7757
|
-
|
|
8386
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
8387
|
+
_c = _f.value;
|
|
8388
|
+
_d = false;
|
|
8389
|
+
try {
|
|
8390
|
+
const page = _c;
|
|
8391
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
8392
|
+
}
|
|
8393
|
+
finally {
|
|
8394
|
+
_d = true;
|
|
8395
|
+
}
|
|
7758
8396
|
}
|
|
7759
8397
|
}
|
|
7760
8398
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
7761
8399
|
finally {
|
|
7762
8400
|
try {
|
|
7763
|
-
if (
|
|
8401
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
7764
8402
|
}
|
|
7765
8403
|
finally { if (e_1) throw e_1.error; }
|
|
7766
8404
|
}
|
|
@@ -7811,7 +8449,6 @@ const listBySubscriptionNextOperationSpec$1 = {
|
|
|
7811
8449
|
bodyMapper: CloudError
|
|
7812
8450
|
}
|
|
7813
8451
|
},
|
|
7814
|
-
queryParameters: [apiVersion, top],
|
|
7815
8452
|
urlParameters: [
|
|
7816
8453
|
$host,
|
|
7817
8454
|
subscriptionId,
|
|
@@ -7883,17 +8520,24 @@ class PoolsImpl {
|
|
|
7883
8520
|
}
|
|
7884
8521
|
listByProjectPagingAll(resourceGroupName, projectName, options) {
|
|
7885
8522
|
return tslib.__asyncGenerator(this, arguments, function* listByProjectPagingAll_1() {
|
|
7886
|
-
var e_1,
|
|
8523
|
+
var _a, e_1, _b, _c;
|
|
7887
8524
|
try {
|
|
7888
|
-
for (var
|
|
7889
|
-
|
|
7890
|
-
|
|
8525
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByProjectPagingPage(resourceGroupName, projectName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
8526
|
+
_c = _f.value;
|
|
8527
|
+
_d = false;
|
|
8528
|
+
try {
|
|
8529
|
+
const page = _c;
|
|
8530
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
8531
|
+
}
|
|
8532
|
+
finally {
|
|
8533
|
+
_d = true;
|
|
8534
|
+
}
|
|
7891
8535
|
}
|
|
7892
8536
|
}
|
|
7893
8537
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
7894
8538
|
finally {
|
|
7895
8539
|
try {
|
|
7896
|
-
if (
|
|
8540
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
7897
8541
|
}
|
|
7898
8542
|
finally { if (e_1) throw e_1.error; }
|
|
7899
8543
|
}
|
|
@@ -7931,7 +8575,7 @@ class PoolsImpl {
|
|
|
7931
8575
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7932
8576
|
return this.client.sendOperationRequest(args, spec);
|
|
7933
8577
|
});
|
|
7934
|
-
const
|
|
8578
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7935
8579
|
var _a;
|
|
7936
8580
|
let currentRawResponse = undefined;
|
|
7937
8581
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -7950,11 +8594,15 @@ class PoolsImpl {
|
|
|
7950
8594
|
}
|
|
7951
8595
|
};
|
|
7952
8596
|
});
|
|
7953
|
-
const lro =
|
|
7954
|
-
|
|
7955
|
-
|
|
8597
|
+
const lro = createLroSpec({
|
|
8598
|
+
sendOperationFn,
|
|
8599
|
+
args: { resourceGroupName, projectName, poolName, body, options },
|
|
8600
|
+
spec: createOrUpdateOperationSpec$2
|
|
8601
|
+
});
|
|
8602
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8603
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7956
8604
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7957
|
-
|
|
8605
|
+
resourceLocationConfig: "azure-async-operation"
|
|
7958
8606
|
});
|
|
7959
8607
|
yield poller.poll();
|
|
7960
8608
|
return poller;
|
|
@@ -7987,7 +8635,7 @@ class PoolsImpl {
|
|
|
7987
8635
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7988
8636
|
return this.client.sendOperationRequest(args, spec);
|
|
7989
8637
|
});
|
|
7990
|
-
const
|
|
8638
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7991
8639
|
var _a;
|
|
7992
8640
|
let currentRawResponse = undefined;
|
|
7993
8641
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -8006,11 +8654,15 @@ class PoolsImpl {
|
|
|
8006
8654
|
}
|
|
8007
8655
|
};
|
|
8008
8656
|
});
|
|
8009
|
-
const lro =
|
|
8010
|
-
|
|
8011
|
-
|
|
8657
|
+
const lro = createLroSpec({
|
|
8658
|
+
sendOperationFn,
|
|
8659
|
+
args: { resourceGroupName, projectName, poolName, body, options },
|
|
8660
|
+
spec: updateOperationSpec$2
|
|
8661
|
+
});
|
|
8662
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8663
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8012
8664
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8013
|
-
|
|
8665
|
+
resourceLocationConfig: "azure-async-operation"
|
|
8014
8666
|
});
|
|
8015
8667
|
yield poller.poll();
|
|
8016
8668
|
return poller;
|
|
@@ -8042,7 +8694,7 @@ class PoolsImpl {
|
|
|
8042
8694
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8043
8695
|
return this.client.sendOperationRequest(args, spec);
|
|
8044
8696
|
});
|
|
8045
|
-
const
|
|
8697
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8046
8698
|
var _a;
|
|
8047
8699
|
let currentRawResponse = undefined;
|
|
8048
8700
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -8061,11 +8713,15 @@ class PoolsImpl {
|
|
|
8061
8713
|
}
|
|
8062
8714
|
};
|
|
8063
8715
|
});
|
|
8064
|
-
const lro =
|
|
8065
|
-
|
|
8066
|
-
|
|
8716
|
+
const lro = createLroSpec({
|
|
8717
|
+
sendOperationFn,
|
|
8718
|
+
args: { resourceGroupName, projectName, poolName, options },
|
|
8719
|
+
spec: deleteOperationSpec$2
|
|
8720
|
+
});
|
|
8721
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8722
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8067
8723
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8068
|
-
|
|
8724
|
+
resourceLocationConfig: "azure-async-operation"
|
|
8069
8725
|
});
|
|
8070
8726
|
yield poller.poll();
|
|
8071
8727
|
return poller;
|
|
@@ -8084,6 +8740,64 @@ class PoolsImpl {
|
|
|
8084
8740
|
return poller.pollUntilDone();
|
|
8085
8741
|
});
|
|
8086
8742
|
}
|
|
8743
|
+
/**
|
|
8744
|
+
* Triggers a refresh of the pool status.
|
|
8745
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8746
|
+
* @param projectName The name of the project.
|
|
8747
|
+
* @param poolName Name of the pool.
|
|
8748
|
+
* @param options The options parameters.
|
|
8749
|
+
*/
|
|
8750
|
+
beginRunHealthChecks(resourceGroupName, projectName, poolName, options) {
|
|
8751
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8752
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8753
|
+
return this.client.sendOperationRequest(args, spec);
|
|
8754
|
+
});
|
|
8755
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8756
|
+
var _a;
|
|
8757
|
+
let currentRawResponse = undefined;
|
|
8758
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
8759
|
+
const callback = (rawResponse, flatResponse) => {
|
|
8760
|
+
currentRawResponse = rawResponse;
|
|
8761
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
8762
|
+
};
|
|
8763
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
8764
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
8765
|
+
return {
|
|
8766
|
+
flatResponse,
|
|
8767
|
+
rawResponse: {
|
|
8768
|
+
statusCode: currentRawResponse.status,
|
|
8769
|
+
body: currentRawResponse.parsedBody,
|
|
8770
|
+
headers: currentRawResponse.headers.toJSON()
|
|
8771
|
+
}
|
|
8772
|
+
};
|
|
8773
|
+
});
|
|
8774
|
+
const lro = createLroSpec({
|
|
8775
|
+
sendOperationFn,
|
|
8776
|
+
args: { resourceGroupName, projectName, poolName, options },
|
|
8777
|
+
spec: runHealthChecksOperationSpec$1
|
|
8778
|
+
});
|
|
8779
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8780
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8781
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8782
|
+
resourceLocationConfig: "azure-async-operation"
|
|
8783
|
+
});
|
|
8784
|
+
yield poller.poll();
|
|
8785
|
+
return poller;
|
|
8786
|
+
});
|
|
8787
|
+
}
|
|
8788
|
+
/**
|
|
8789
|
+
* Triggers a refresh of the pool status.
|
|
8790
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8791
|
+
* @param projectName The name of the project.
|
|
8792
|
+
* @param poolName Name of the pool.
|
|
8793
|
+
* @param options The options parameters.
|
|
8794
|
+
*/
|
|
8795
|
+
beginRunHealthChecksAndWait(resourceGroupName, projectName, poolName, options) {
|
|
8796
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8797
|
+
const poller = yield this.beginRunHealthChecks(resourceGroupName, projectName, poolName, options);
|
|
8798
|
+
return poller.pollUntilDone();
|
|
8799
|
+
});
|
|
8800
|
+
}
|
|
8087
8801
|
/**
|
|
8088
8802
|
* ListByProjectNext
|
|
8089
8803
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -8229,6 +8943,29 @@ const deleteOperationSpec$2 = {
|
|
|
8229
8943
|
headerParameters: [accept],
|
|
8230
8944
|
serializer: serializer$2
|
|
8231
8945
|
};
|
|
8946
|
+
const runHealthChecksOperationSpec$1 = {
|
|
8947
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/runHealthChecks",
|
|
8948
|
+
httpMethod: "POST",
|
|
8949
|
+
responses: {
|
|
8950
|
+
200: {},
|
|
8951
|
+
201: {},
|
|
8952
|
+
202: {},
|
|
8953
|
+
204: {},
|
|
8954
|
+
default: {
|
|
8955
|
+
bodyMapper: CloudError
|
|
8956
|
+
}
|
|
8957
|
+
},
|
|
8958
|
+
queryParameters: [apiVersion],
|
|
8959
|
+
urlParameters: [
|
|
8960
|
+
$host,
|
|
8961
|
+
subscriptionId,
|
|
8962
|
+
resourceGroupName,
|
|
8963
|
+
projectName,
|
|
8964
|
+
poolName
|
|
8965
|
+
],
|
|
8966
|
+
headerParameters: [accept],
|
|
8967
|
+
serializer: serializer$2
|
|
8968
|
+
};
|
|
8232
8969
|
const listByProjectNextOperationSpec = {
|
|
8233
8970
|
path: "{nextLink}",
|
|
8234
8971
|
httpMethod: "GET",
|
|
@@ -8240,7 +8977,6 @@ const listByProjectNextOperationSpec = {
|
|
|
8240
8977
|
bodyMapper: CloudError
|
|
8241
8978
|
}
|
|
8242
8979
|
},
|
|
8243
|
-
queryParameters: [apiVersion, top],
|
|
8244
8980
|
urlParameters: [
|
|
8245
8981
|
$host,
|
|
8246
8982
|
subscriptionId,
|
|
@@ -8315,17 +9051,24 @@ class SchedulesImpl {
|
|
|
8315
9051
|
}
|
|
8316
9052
|
listByPoolPagingAll(resourceGroupName, projectName, poolName, options) {
|
|
8317
9053
|
return tslib.__asyncGenerator(this, arguments, function* listByPoolPagingAll_1() {
|
|
8318
|
-
var e_1,
|
|
9054
|
+
var _a, e_1, _b, _c;
|
|
8319
9055
|
try {
|
|
8320
|
-
for (var
|
|
8321
|
-
|
|
8322
|
-
|
|
9056
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByPoolPagingPage(resourceGroupName, projectName, poolName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
9057
|
+
_c = _f.value;
|
|
9058
|
+
_d = false;
|
|
9059
|
+
try {
|
|
9060
|
+
const page = _c;
|
|
9061
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
9062
|
+
}
|
|
9063
|
+
finally {
|
|
9064
|
+
_d = true;
|
|
9065
|
+
}
|
|
8323
9066
|
}
|
|
8324
9067
|
}
|
|
8325
9068
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
8326
9069
|
finally {
|
|
8327
9070
|
try {
|
|
8328
|
-
if (
|
|
9071
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
8329
9072
|
}
|
|
8330
9073
|
finally { if (e_1) throw e_1.error; }
|
|
8331
9074
|
}
|
|
@@ -8366,7 +9109,7 @@ class SchedulesImpl {
|
|
|
8366
9109
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8367
9110
|
return this.client.sendOperationRequest(args, spec);
|
|
8368
9111
|
});
|
|
8369
|
-
const
|
|
9112
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8370
9113
|
var _a;
|
|
8371
9114
|
let currentRawResponse = undefined;
|
|
8372
9115
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -8385,11 +9128,22 @@ class SchedulesImpl {
|
|
|
8385
9128
|
}
|
|
8386
9129
|
};
|
|
8387
9130
|
});
|
|
8388
|
-
const lro =
|
|
8389
|
-
|
|
8390
|
-
|
|
9131
|
+
const lro = createLroSpec({
|
|
9132
|
+
sendOperationFn,
|
|
9133
|
+
args: {
|
|
9134
|
+
resourceGroupName,
|
|
9135
|
+
projectName,
|
|
9136
|
+
poolName,
|
|
9137
|
+
scheduleName,
|
|
9138
|
+
body,
|
|
9139
|
+
options
|
|
9140
|
+
},
|
|
9141
|
+
spec: createOrUpdateOperationSpec$1
|
|
9142
|
+
});
|
|
9143
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9144
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8391
9145
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8392
|
-
|
|
9146
|
+
resourceLocationConfig: "azure-async-operation"
|
|
8393
9147
|
});
|
|
8394
9148
|
yield poller.poll();
|
|
8395
9149
|
return poller;
|
|
@@ -8424,7 +9178,7 @@ class SchedulesImpl {
|
|
|
8424
9178
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8425
9179
|
return this.client.sendOperationRequest(args, spec);
|
|
8426
9180
|
});
|
|
8427
|
-
const
|
|
9181
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8428
9182
|
var _a;
|
|
8429
9183
|
let currentRawResponse = undefined;
|
|
8430
9184
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -8443,11 +9197,22 @@ class SchedulesImpl {
|
|
|
8443
9197
|
}
|
|
8444
9198
|
};
|
|
8445
9199
|
});
|
|
8446
|
-
const lro =
|
|
8447
|
-
|
|
8448
|
-
|
|
9200
|
+
const lro = createLroSpec({
|
|
9201
|
+
sendOperationFn,
|
|
9202
|
+
args: {
|
|
9203
|
+
resourceGroupName,
|
|
9204
|
+
projectName,
|
|
9205
|
+
poolName,
|
|
9206
|
+
scheduleName,
|
|
9207
|
+
body,
|
|
9208
|
+
options
|
|
9209
|
+
},
|
|
9210
|
+
spec: updateOperationSpec$1
|
|
9211
|
+
});
|
|
9212
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9213
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8449
9214
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8450
|
-
|
|
9215
|
+
resourceLocationConfig: "azure-async-operation"
|
|
8451
9216
|
});
|
|
8452
9217
|
yield poller.poll();
|
|
8453
9218
|
return poller;
|
|
@@ -8481,7 +9246,7 @@ class SchedulesImpl {
|
|
|
8481
9246
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8482
9247
|
return this.client.sendOperationRequest(args, spec);
|
|
8483
9248
|
});
|
|
8484
|
-
const
|
|
9249
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8485
9250
|
var _a;
|
|
8486
9251
|
let currentRawResponse = undefined;
|
|
8487
9252
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -8500,11 +9265,15 @@ class SchedulesImpl {
|
|
|
8500
9265
|
}
|
|
8501
9266
|
};
|
|
8502
9267
|
});
|
|
8503
|
-
const lro =
|
|
8504
|
-
|
|
8505
|
-
|
|
9268
|
+
const lro = createLroSpec({
|
|
9269
|
+
sendOperationFn,
|
|
9270
|
+
args: { resourceGroupName, projectName, poolName, scheduleName, options },
|
|
9271
|
+
spec: deleteOperationSpec$1
|
|
9272
|
+
});
|
|
9273
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9274
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8506
9275
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8507
|
-
|
|
9276
|
+
resourceLocationConfig: "azure-async-operation"
|
|
8508
9277
|
});
|
|
8509
9278
|
yield poller.poll();
|
|
8510
9279
|
return poller;
|
|
@@ -8686,7 +9455,6 @@ const listByPoolNextOperationSpec = {
|
|
|
8686
9455
|
bodyMapper: CloudError
|
|
8687
9456
|
}
|
|
8688
9457
|
},
|
|
8689
|
-
queryParameters: [apiVersion, top],
|
|
8690
9458
|
urlParameters: [
|
|
8691
9459
|
$host,
|
|
8692
9460
|
subscriptionId,
|
|
@@ -8759,17 +9527,24 @@ class NetworkConnectionsImpl {
|
|
|
8759
9527
|
}
|
|
8760
9528
|
listBySubscriptionPagingAll(options) {
|
|
8761
9529
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
8762
|
-
var e_1,
|
|
9530
|
+
var _a, e_1, _b, _c;
|
|
8763
9531
|
try {
|
|
8764
|
-
for (var
|
|
8765
|
-
|
|
8766
|
-
|
|
9532
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
9533
|
+
_c = _f.value;
|
|
9534
|
+
_d = false;
|
|
9535
|
+
try {
|
|
9536
|
+
const page = _c;
|
|
9537
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
9538
|
+
}
|
|
9539
|
+
finally {
|
|
9540
|
+
_d = true;
|
|
9541
|
+
}
|
|
8767
9542
|
}
|
|
8768
9543
|
}
|
|
8769
9544
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
8770
9545
|
finally {
|
|
8771
9546
|
try {
|
|
8772
|
-
if (
|
|
9547
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
8773
9548
|
}
|
|
8774
9549
|
finally { if (e_1) throw e_1.error; }
|
|
8775
9550
|
}
|
|
@@ -8819,17 +9594,24 @@ class NetworkConnectionsImpl {
|
|
|
8819
9594
|
}
|
|
8820
9595
|
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
8821
9596
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
8822
|
-
var e_2,
|
|
9597
|
+
var _a, e_2, _b, _c;
|
|
8823
9598
|
try {
|
|
8824
|
-
for (var
|
|
8825
|
-
|
|
8826
|
-
|
|
9599
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
9600
|
+
_c = _f.value;
|
|
9601
|
+
_d = false;
|
|
9602
|
+
try {
|
|
9603
|
+
const page = _c;
|
|
9604
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
9605
|
+
}
|
|
9606
|
+
finally {
|
|
9607
|
+
_d = true;
|
|
9608
|
+
}
|
|
8827
9609
|
}
|
|
8828
9610
|
}
|
|
8829
9611
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
8830
9612
|
finally {
|
|
8831
9613
|
try {
|
|
8832
|
-
if (
|
|
9614
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
8833
9615
|
}
|
|
8834
9616
|
finally { if (e_2) throw e_2.error; }
|
|
8835
9617
|
}
|
|
@@ -8880,22 +9662,98 @@ class NetworkConnectionsImpl {
|
|
|
8880
9662
|
}
|
|
8881
9663
|
listHealthDetailsPagingAll(resourceGroupName, networkConnectionName, options) {
|
|
8882
9664
|
return tslib.__asyncGenerator(this, arguments, function* listHealthDetailsPagingAll_1() {
|
|
8883
|
-
var e_3,
|
|
9665
|
+
var _a, e_3, _b, _c;
|
|
8884
9666
|
try {
|
|
8885
|
-
for (var
|
|
8886
|
-
|
|
8887
|
-
|
|
9667
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listHealthDetailsPagingPage(resourceGroupName, networkConnectionName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
9668
|
+
_c = _f.value;
|
|
9669
|
+
_d = false;
|
|
9670
|
+
try {
|
|
9671
|
+
const page = _c;
|
|
9672
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
9673
|
+
}
|
|
9674
|
+
finally {
|
|
9675
|
+
_d = true;
|
|
9676
|
+
}
|
|
8888
9677
|
}
|
|
8889
9678
|
}
|
|
8890
9679
|
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
8891
9680
|
finally {
|
|
8892
9681
|
try {
|
|
8893
|
-
if (
|
|
9682
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
8894
9683
|
}
|
|
8895
9684
|
finally { if (e_3) throw e_3.error; }
|
|
8896
9685
|
}
|
|
8897
9686
|
});
|
|
8898
9687
|
}
|
|
9688
|
+
/**
|
|
9689
|
+
* Lists the endpoints that agents may call as part of Dev Box service administration. These FQDNs
|
|
9690
|
+
* should be allowed for outbound access in order for the Dev Box service to function.
|
|
9691
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9692
|
+
* @param networkConnectionName Name of the Network Connection that can be applied to a Pool.
|
|
9693
|
+
* @param options The options parameters.
|
|
9694
|
+
*/
|
|
9695
|
+
listOutboundNetworkDependenciesEndpoints(resourceGroupName, networkConnectionName, options) {
|
|
9696
|
+
const iter = this.listOutboundNetworkDependenciesEndpointsPagingAll(resourceGroupName, networkConnectionName, options);
|
|
9697
|
+
return {
|
|
9698
|
+
next() {
|
|
9699
|
+
return iter.next();
|
|
9700
|
+
},
|
|
9701
|
+
[Symbol.asyncIterator]() {
|
|
9702
|
+
return this;
|
|
9703
|
+
},
|
|
9704
|
+
byPage: (settings) => {
|
|
9705
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9706
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9707
|
+
}
|
|
9708
|
+
return this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, networkConnectionName, options, settings);
|
|
9709
|
+
}
|
|
9710
|
+
};
|
|
9711
|
+
}
|
|
9712
|
+
listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, networkConnectionName, options, settings) {
|
|
9713
|
+
return tslib.__asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingPage_1() {
|
|
9714
|
+
let result;
|
|
9715
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9716
|
+
if (!continuationToken) {
|
|
9717
|
+
result = yield tslib.__await(this._listOutboundNetworkDependenciesEndpoints(resourceGroupName, networkConnectionName, options));
|
|
9718
|
+
let page = result.value || [];
|
|
9719
|
+
continuationToken = result.nextLink;
|
|
9720
|
+
setContinuationToken(page, continuationToken);
|
|
9721
|
+
yield yield tslib.__await(page);
|
|
9722
|
+
}
|
|
9723
|
+
while (continuationToken) {
|
|
9724
|
+
result = yield tslib.__await(this._listOutboundNetworkDependenciesEndpointsNext(resourceGroupName, networkConnectionName, continuationToken, options));
|
|
9725
|
+
continuationToken = result.nextLink;
|
|
9726
|
+
let page = result.value || [];
|
|
9727
|
+
setContinuationToken(page, continuationToken);
|
|
9728
|
+
yield yield tslib.__await(page);
|
|
9729
|
+
}
|
|
9730
|
+
});
|
|
9731
|
+
}
|
|
9732
|
+
listOutboundNetworkDependenciesEndpointsPagingAll(resourceGroupName, networkConnectionName, options) {
|
|
9733
|
+
return tslib.__asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingAll_1() {
|
|
9734
|
+
var _a, e_4, _b, _c;
|
|
9735
|
+
try {
|
|
9736
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, networkConnectionName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
9737
|
+
_c = _f.value;
|
|
9738
|
+
_d = false;
|
|
9739
|
+
try {
|
|
9740
|
+
const page = _c;
|
|
9741
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
9742
|
+
}
|
|
9743
|
+
finally {
|
|
9744
|
+
_d = true;
|
|
9745
|
+
}
|
|
9746
|
+
}
|
|
9747
|
+
}
|
|
9748
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
9749
|
+
finally {
|
|
9750
|
+
try {
|
|
9751
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
9752
|
+
}
|
|
9753
|
+
finally { if (e_4) throw e_4.error; }
|
|
9754
|
+
}
|
|
9755
|
+
});
|
|
9756
|
+
}
|
|
8899
9757
|
/**
|
|
8900
9758
|
* Lists network connections in a subscription
|
|
8901
9759
|
* @param options The options parameters.
|
|
@@ -8932,7 +9790,7 @@ class NetworkConnectionsImpl {
|
|
|
8932
9790
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8933
9791
|
return this.client.sendOperationRequest(args, spec);
|
|
8934
9792
|
});
|
|
8935
|
-
const
|
|
9793
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8936
9794
|
var _a;
|
|
8937
9795
|
let currentRawResponse = undefined;
|
|
8938
9796
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -8951,11 +9809,15 @@ class NetworkConnectionsImpl {
|
|
|
8951
9809
|
}
|
|
8952
9810
|
};
|
|
8953
9811
|
});
|
|
8954
|
-
const lro =
|
|
8955
|
-
|
|
8956
|
-
|
|
9812
|
+
const lro = createLroSpec({
|
|
9813
|
+
sendOperationFn,
|
|
9814
|
+
args: { resourceGroupName, networkConnectionName, body, options },
|
|
9815
|
+
spec: createOrUpdateOperationSpec
|
|
9816
|
+
});
|
|
9817
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9818
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8957
9819
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8958
|
-
|
|
9820
|
+
resourceLocationConfig: "azure-async-operation"
|
|
8959
9821
|
});
|
|
8960
9822
|
yield poller.poll();
|
|
8961
9823
|
return poller;
|
|
@@ -8986,7 +9848,7 @@ class NetworkConnectionsImpl {
|
|
|
8986
9848
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8987
9849
|
return this.client.sendOperationRequest(args, spec);
|
|
8988
9850
|
});
|
|
8989
|
-
const
|
|
9851
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8990
9852
|
var _a;
|
|
8991
9853
|
let currentRawResponse = undefined;
|
|
8992
9854
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -9005,11 +9867,15 @@ class NetworkConnectionsImpl {
|
|
|
9005
9867
|
}
|
|
9006
9868
|
};
|
|
9007
9869
|
});
|
|
9008
|
-
const lro =
|
|
9009
|
-
|
|
9010
|
-
|
|
9870
|
+
const lro = createLroSpec({
|
|
9871
|
+
sendOperationFn,
|
|
9872
|
+
args: { resourceGroupName, networkConnectionName, body, options },
|
|
9873
|
+
spec: updateOperationSpec
|
|
9874
|
+
});
|
|
9875
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9876
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9011
9877
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9012
|
-
|
|
9878
|
+
resourceLocationConfig: "azure-async-operation"
|
|
9013
9879
|
});
|
|
9014
9880
|
yield poller.poll();
|
|
9015
9881
|
return poller;
|
|
@@ -9039,7 +9905,7 @@ class NetworkConnectionsImpl {
|
|
|
9039
9905
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9040
9906
|
return this.client.sendOperationRequest(args, spec);
|
|
9041
9907
|
});
|
|
9042
|
-
const
|
|
9908
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9043
9909
|
var _a;
|
|
9044
9910
|
let currentRawResponse = undefined;
|
|
9045
9911
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -9058,11 +9924,15 @@ class NetworkConnectionsImpl {
|
|
|
9058
9924
|
}
|
|
9059
9925
|
};
|
|
9060
9926
|
});
|
|
9061
|
-
const lro =
|
|
9062
|
-
|
|
9063
|
-
|
|
9927
|
+
const lro = createLroSpec({
|
|
9928
|
+
sendOperationFn,
|
|
9929
|
+
args: { resourceGroupName, networkConnectionName, options },
|
|
9930
|
+
spec: deleteOperationSpec
|
|
9931
|
+
});
|
|
9932
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9933
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9064
9934
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9065
|
-
|
|
9935
|
+
resourceLocationConfig: "azure-async-operation"
|
|
9066
9936
|
});
|
|
9067
9937
|
yield poller.poll();
|
|
9068
9938
|
return poller;
|
|
@@ -9105,8 +9975,66 @@ class NetworkConnectionsImpl {
|
|
|
9105
9975
|
* @param networkConnectionName Name of the Network Connection that can be applied to a Pool.
|
|
9106
9976
|
* @param options The options parameters.
|
|
9107
9977
|
*/
|
|
9108
|
-
|
|
9109
|
-
return
|
|
9978
|
+
beginRunHealthChecks(resourceGroupName, networkConnectionName, options) {
|
|
9979
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9980
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9981
|
+
return this.client.sendOperationRequest(args, spec);
|
|
9982
|
+
});
|
|
9983
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9984
|
+
var _a;
|
|
9985
|
+
let currentRawResponse = undefined;
|
|
9986
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9987
|
+
const callback = (rawResponse, flatResponse) => {
|
|
9988
|
+
currentRawResponse = rawResponse;
|
|
9989
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9990
|
+
};
|
|
9991
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9992
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
9993
|
+
return {
|
|
9994
|
+
flatResponse,
|
|
9995
|
+
rawResponse: {
|
|
9996
|
+
statusCode: currentRawResponse.status,
|
|
9997
|
+
body: currentRawResponse.parsedBody,
|
|
9998
|
+
headers: currentRawResponse.headers.toJSON()
|
|
9999
|
+
}
|
|
10000
|
+
};
|
|
10001
|
+
});
|
|
10002
|
+
const lro = createLroSpec({
|
|
10003
|
+
sendOperationFn,
|
|
10004
|
+
args: { resourceGroupName, networkConnectionName, options },
|
|
10005
|
+
spec: runHealthChecksOperationSpec
|
|
10006
|
+
});
|
|
10007
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
10008
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
10009
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
10010
|
+
resourceLocationConfig: "azure-async-operation"
|
|
10011
|
+
});
|
|
10012
|
+
yield poller.poll();
|
|
10013
|
+
return poller;
|
|
10014
|
+
});
|
|
10015
|
+
}
|
|
10016
|
+
/**
|
|
10017
|
+
* Triggers a new health check run. The execution and health check result can be tracked via the
|
|
10018
|
+
* network Connection health check details
|
|
10019
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
10020
|
+
* @param networkConnectionName Name of the Network Connection that can be applied to a Pool.
|
|
10021
|
+
* @param options The options parameters.
|
|
10022
|
+
*/
|
|
10023
|
+
beginRunHealthChecksAndWait(resourceGroupName, networkConnectionName, options) {
|
|
10024
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
10025
|
+
const poller = yield this.beginRunHealthChecks(resourceGroupName, networkConnectionName, options);
|
|
10026
|
+
return poller.pollUntilDone();
|
|
10027
|
+
});
|
|
10028
|
+
}
|
|
10029
|
+
/**
|
|
10030
|
+
* Lists the endpoints that agents may call as part of Dev Box service administration. These FQDNs
|
|
10031
|
+
* should be allowed for outbound access in order for the Dev Box service to function.
|
|
10032
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
10033
|
+
* @param networkConnectionName Name of the Network Connection that can be applied to a Pool.
|
|
10034
|
+
* @param options The options parameters.
|
|
10035
|
+
*/
|
|
10036
|
+
_listOutboundNetworkDependenciesEndpoints(resourceGroupName, networkConnectionName, options) {
|
|
10037
|
+
return this.client.sendOperationRequest({ resourceGroupName, networkConnectionName, options }, listOutboundNetworkDependenciesEndpointsOperationSpec);
|
|
9110
10038
|
}
|
|
9111
10039
|
/**
|
|
9112
10040
|
* ListBySubscriptionNext
|
|
@@ -9135,6 +10063,17 @@ class NetworkConnectionsImpl {
|
|
|
9135
10063
|
_listHealthDetailsNext(resourceGroupName, networkConnectionName, nextLink, options) {
|
|
9136
10064
|
return this.client.sendOperationRequest({ resourceGroupName, networkConnectionName, nextLink, options }, listHealthDetailsNextOperationSpec);
|
|
9137
10065
|
}
|
|
10066
|
+
/**
|
|
10067
|
+
* ListOutboundNetworkDependenciesEndpointsNext
|
|
10068
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
10069
|
+
* @param networkConnectionName Name of the Network Connection that can be applied to a Pool.
|
|
10070
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
10071
|
+
* ListOutboundNetworkDependenciesEndpoints method.
|
|
10072
|
+
* @param options The options parameters.
|
|
10073
|
+
*/
|
|
10074
|
+
_listOutboundNetworkDependenciesEndpointsNext(resourceGroupName, networkConnectionName, nextLink, options) {
|
|
10075
|
+
return this.client.sendOperationRequest({ resourceGroupName, networkConnectionName, nextLink, options }, listOutboundNetworkDependenciesEndpointsNextOperationSpec);
|
|
10076
|
+
}
|
|
9138
10077
|
}
|
|
9139
10078
|
// Operation Specifications
|
|
9140
10079
|
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -9328,6 +10267,9 @@ const runHealthChecksOperationSpec = {
|
|
|
9328
10267
|
httpMethod: "POST",
|
|
9329
10268
|
responses: {
|
|
9330
10269
|
200: {},
|
|
10270
|
+
201: {},
|
|
10271
|
+
202: {},
|
|
10272
|
+
204: {},
|
|
9331
10273
|
default: {
|
|
9332
10274
|
bodyMapper: CloudError
|
|
9333
10275
|
}
|
|
@@ -9342,6 +10284,27 @@ const runHealthChecksOperationSpec = {
|
|
|
9342
10284
|
headerParameters: [accept],
|
|
9343
10285
|
serializer
|
|
9344
10286
|
};
|
|
10287
|
+
const listOutboundNetworkDependenciesEndpointsOperationSpec = {
|
|
10288
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/outboundNetworkDependenciesEndpoints",
|
|
10289
|
+
httpMethod: "GET",
|
|
10290
|
+
responses: {
|
|
10291
|
+
200: {
|
|
10292
|
+
bodyMapper: OutboundEnvironmentEndpointCollection
|
|
10293
|
+
},
|
|
10294
|
+
default: {
|
|
10295
|
+
bodyMapper: CloudError
|
|
10296
|
+
}
|
|
10297
|
+
},
|
|
10298
|
+
queryParameters: [apiVersion, top],
|
|
10299
|
+
urlParameters: [
|
|
10300
|
+
$host,
|
|
10301
|
+
subscriptionId,
|
|
10302
|
+
resourceGroupName,
|
|
10303
|
+
networkConnectionName
|
|
10304
|
+
],
|
|
10305
|
+
headerParameters: [accept],
|
|
10306
|
+
serializer
|
|
10307
|
+
};
|
|
9345
10308
|
const listBySubscriptionNextOperationSpec = {
|
|
9346
10309
|
path: "{nextLink}",
|
|
9347
10310
|
httpMethod: "GET",
|
|
@@ -9353,7 +10316,6 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
9353
10316
|
bodyMapper: CloudError
|
|
9354
10317
|
}
|
|
9355
10318
|
},
|
|
9356
|
-
queryParameters: [apiVersion, top],
|
|
9357
10319
|
urlParameters: [
|
|
9358
10320
|
$host,
|
|
9359
10321
|
subscriptionId,
|
|
@@ -9373,7 +10335,6 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
9373
10335
|
bodyMapper: CloudError
|
|
9374
10336
|
}
|
|
9375
10337
|
},
|
|
9376
|
-
queryParameters: [apiVersion, top],
|
|
9377
10338
|
urlParameters: [
|
|
9378
10339
|
$host,
|
|
9379
10340
|
subscriptionId,
|
|
@@ -9394,7 +10355,27 @@ const listHealthDetailsNextOperationSpec = {
|
|
|
9394
10355
|
bodyMapper: CloudError
|
|
9395
10356
|
}
|
|
9396
10357
|
},
|
|
9397
|
-
|
|
10358
|
+
urlParameters: [
|
|
10359
|
+
$host,
|
|
10360
|
+
subscriptionId,
|
|
10361
|
+
resourceGroupName,
|
|
10362
|
+
nextLink,
|
|
10363
|
+
networkConnectionName
|
|
10364
|
+
],
|
|
10365
|
+
headerParameters: [accept],
|
|
10366
|
+
serializer
|
|
10367
|
+
};
|
|
10368
|
+
const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
|
|
10369
|
+
path: "{nextLink}",
|
|
10370
|
+
httpMethod: "GET",
|
|
10371
|
+
responses: {
|
|
10372
|
+
200: {
|
|
10373
|
+
bodyMapper: OutboundEnvironmentEndpointCollection
|
|
10374
|
+
},
|
|
10375
|
+
default: {
|
|
10376
|
+
bodyMapper: CloudError
|
|
10377
|
+
}
|
|
10378
|
+
},
|
|
9398
10379
|
urlParameters: [
|
|
9399
10380
|
$host,
|
|
9400
10381
|
subscriptionId,
|
|
@@ -9436,7 +10417,7 @@ class DevCenterClient extends coreClient__namespace.ServiceClient {
|
|
|
9436
10417
|
requestContentType: "application/json; charset=utf-8",
|
|
9437
10418
|
credential: credentials
|
|
9438
10419
|
};
|
|
9439
|
-
const packageDetails = `azsdk-js-arm-devcenter/1.0.0
|
|
10420
|
+
const packageDetails = `azsdk-js-arm-devcenter/1.0.0`;
|
|
9440
10421
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
9441
10422
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
9442
10423
|
: `${packageDetails}`;
|
|
@@ -9469,7 +10450,7 @@ class DevCenterClient extends coreClient__namespace.ServiceClient {
|
|
|
9469
10450
|
this.subscriptionId = subscriptionId;
|
|
9470
10451
|
// Assigning values to Constant parameters
|
|
9471
10452
|
this.$host = options.$host || "https://management.azure.com";
|
|
9472
|
-
this.apiVersion = options.apiVersion || "
|
|
10453
|
+
this.apiVersion = options.apiVersion || "2023-04-01";
|
|
9473
10454
|
this.devCenters = new DevCentersImpl(this);
|
|
9474
10455
|
this.projects = new ProjectsImpl(this);
|
|
9475
10456
|
this.attachedNetworks = new AttachedNetworksImpl(this);
|
|
@@ -9484,6 +10465,7 @@ class DevCenterClient extends coreClient__namespace.ServiceClient {
|
|
|
9484
10465
|
this.operations = new OperationsImpl(this);
|
|
9485
10466
|
this.operationStatuses = new OperationStatusesImpl(this);
|
|
9486
10467
|
this.usages = new UsagesImpl(this);
|
|
10468
|
+
this.checkNameAvailability = new CheckNameAvailabilityImpl(this);
|
|
9487
10469
|
this.skus = new SkusImpl(this);
|
|
9488
10470
|
this.pools = new PoolsImpl(this);
|
|
9489
10471
|
this.schedules = new SchedulesImpl(this);
|