@azure/arm-workloads 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +8926 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/monitorsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/monitorsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/monitorsCreateSample.js +40 -0
- package/dist-esm/samples-dev/monitorsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/monitorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/monitorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/monitorsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/monitorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/monitorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/monitorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/monitorsGetSample.js +31 -0
- package/dist-esm/samples-dev/monitorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/monitorsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/monitorsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/monitorsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/monitorsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/monitorsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/monitorsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/monitorsListSample.js +43 -0
- package/dist-esm/samples-dev/monitorsListSample.js.map +1 -0
- package/dist-esm/samples-dev/monitorsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/monitorsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/monitorsUpdateSample.js +54 -0
- package/dist-esm/samples-dev/monitorsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/phpWorkloadsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsCreateOrUpdateSample.js +111 -0
- package/dist-esm/samples-dev/phpWorkloadsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/phpWorkloadsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsDeleteSample.js +33 -0
- package/dist-esm/samples-dev/phpWorkloadsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/phpWorkloadsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsGetSample.js +31 -0
- package/dist-esm/samples-dev/phpWorkloadsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/phpWorkloadsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/phpWorkloadsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/phpWorkloadsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/phpWorkloadsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/phpWorkloadsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/phpWorkloadsUpdateSample.js +35 -0
- package/dist-esm/samples-dev/phpWorkloadsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/providerInstancesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerInstancesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerInstancesCreateSample.js +194 -0
- package/dist-esm/samples-dev/providerInstancesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/providerInstancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerInstancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerInstancesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/providerInstancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/providerInstancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerInstancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerInstancesGetSample.js +127 -0
- package/dist-esm/samples-dev/providerInstancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/providerInstancesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerInstancesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerInstancesListSample.js +45 -0
- package/dist-esm/samples-dev/providerInstancesListSample.js.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesCreateSample.js +37 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesGetSample.js +32 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesListSample.js +45 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesListSample.js.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesUpdateSample.js +36 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sapAvailabilityZoneDetailsSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapAvailabilityZoneDetailsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapAvailabilityZoneDetailsSample.js +47 -0
- package/dist-esm/samples-dev/sapAvailabilityZoneDetailsSample.js.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapCentralInstancesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesCreateSample.js +37 -0
- package/dist-esm/samples-dev/sapCentralInstancesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapCentralInstancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/sapCentralInstancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapCentralInstancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesGetSample.js +32 -0
- package/dist-esm/samples-dev/sapCentralInstancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapCentralInstancesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesListSample.js +45 -0
- package/dist-esm/samples-dev/sapCentralInstancesListSample.js.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapCentralInstancesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesUpdateSample.js +34 -0
- package/dist-esm/samples-dev/sapCentralInstancesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesCreateSample.js +34 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesGetSample.js +32 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesListSample.js +45 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesListSample.js.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesUpdateSample.js +34 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sapDiskConfigurationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapDiskConfigurationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapDiskConfigurationsSample.js +47 -0
- package/dist-esm/samples-dev/sapDiskConfigurationsSample.js.map +1 -0
- package/dist-esm/samples-dev/sapSizingRecommendationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapSizingRecommendationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapSizingRecommendationsSample.js +81 -0
- package/dist-esm/samples-dev/sapSizingRecommendationsSample.js.map +1 -0
- package/dist-esm/samples-dev/sapSupportedSkuSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapSupportedSkuSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapSupportedSkuSample.js +81 -0
- package/dist-esm/samples-dev/sapSupportedSkuSample.js.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapVirtualInstancesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesCreateSample.js +733 -0
- package/dist-esm/samples-dev/sapVirtualInstancesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapVirtualInstancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/sapVirtualInstancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapVirtualInstancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesGetSample.js +31 -0
- package/dist-esm/samples-dev/sapVirtualInstancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapVirtualInstancesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/sapVirtualInstancesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapVirtualInstancesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/sapVirtualInstancesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesStartSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapVirtualInstancesStartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesStartSample.js +31 -0
- package/dist-esm/samples-dev/sapVirtualInstancesStartSample.js.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesStopSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapVirtualInstancesStopSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesStopSample.js +33 -0
- package/dist-esm/samples-dev/sapVirtualInstancesStopSample.js.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapVirtualInstancesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapVirtualInstancesUpdateSample.js +36 -0
- package/dist-esm/samples-dev/sapVirtualInstancesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/skusListSample.d.ts +2 -0
- package/dist-esm/samples-dev/skusListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/skusListSample.js +43 -0
- package/dist-esm/samples-dev/skusListSample.js.map +1 -0
- package/dist-esm/samples-dev/wordpressInstancesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/wordpressInstancesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/wordpressInstancesCreateOrUpdateSample.js +36 -0
- package/dist-esm/samples-dev/wordpressInstancesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/wordpressInstancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/wordpressInstancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/wordpressInstancesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/wordpressInstancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/wordpressInstancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/wordpressInstancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/wordpressInstancesGetSample.js +31 -0
- package/dist-esm/samples-dev/wordpressInstancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/wordpressInstancesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/wordpressInstancesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/wordpressInstancesListSample.js +45 -0
- package/dist-esm/samples-dev/wordpressInstancesListSample.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2834 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +328 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +154 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +4161 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +37 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +262 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +11 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +18 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/monitors.d.ts +102 -0
- package/dist-esm/src/operations/monitors.d.ts.map +1 -0
- package/dist-esm/src/operations/monitors.js +466 -0
- package/dist-esm/src/operations/monitors.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/phpWorkloads.d.ts +99 -0
- package/dist-esm/src/operations/phpWorkloads.d.ts.map +1 -0
- package/dist-esm/src/operations/phpWorkloads.js +456 -0
- package/dist-esm/src/operations/phpWorkloads.js.map +1 -0
- package/dist-esm/src/operations/providerInstances.d.ts +88 -0
- package/dist-esm/src/operations/providerInstances.d.ts.map +1 -0
- package/dist-esm/src/operations/providerInstances.js +357 -0
- package/dist-esm/src/operations/providerInstances.js.map +1 -0
- package/dist-esm/src/operations/sAPApplicationServerInstances.d.ts +99 -0
- package/dist-esm/src/operations/sAPApplicationServerInstances.d.ts.map +1 -0
- package/dist-esm/src/operations/sAPApplicationServerInstances.js +454 -0
- package/dist-esm/src/operations/sAPApplicationServerInstances.js.map +1 -0
- package/dist-esm/src/operations/sAPCentralInstances.d.ts +106 -0
- package/dist-esm/src/operations/sAPCentralInstances.d.ts.map +1 -0
- package/dist-esm/src/operations/sAPCentralInstances.js +461 -0
- package/dist-esm/src/operations/sAPCentralInstances.js.map +1 -0
- package/dist-esm/src/operations/sAPDatabaseInstances.d.ts +106 -0
- package/dist-esm/src/operations/sAPDatabaseInstances.d.ts.map +1 -0
- package/dist-esm/src/operations/sAPDatabaseInstances.js +461 -0
- package/dist-esm/src/operations/sAPDatabaseInstances.js.map +1 -0
- package/dist-esm/src/operations/sAPVirtualInstances.d.ts +124 -0
- package/dist-esm/src/operations/sAPVirtualInstances.d.ts.map +1 -0
- package/dist-esm/src/operations/sAPVirtualInstances.js +627 -0
- package/dist-esm/src/operations/sAPVirtualInstances.js.map +1 -0
- package/dist-esm/src/operations/skus.d.ts +32 -0
- package/dist-esm/src/operations/skus.d.ts.map +1 -0
- package/dist-esm/src/operations/skus.js +124 -0
- package/dist-esm/src/operations/skus.js.map +1 -0
- package/dist-esm/src/operations/wordpressInstances.d.ts +69 -0
- package/dist-esm/src/operations/wordpressInstances.d.ts.map +1 -0
- package/dist-esm/src/operations/wordpressInstances.js +289 -0
- package/dist-esm/src/operations/wordpressInstances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +18 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/monitors.d.ts +65 -0
- package/dist-esm/src/operationsInterfaces/monitors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/monitors.js +9 -0
- package/dist-esm/src/operationsInterfaces/monitors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/phpWorkloads.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/phpWorkloads.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/phpWorkloads.js +9 -0
- package/dist-esm/src/operationsInterfaces/phpWorkloads.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/providerInstances.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/providerInstances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/providerInstances.js +9 -0
- package/dist-esm/src/operationsInterfaces/providerInstances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sAPApplicationServerInstances.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/sAPApplicationServerInstances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sAPApplicationServerInstances.js +9 -0
- package/dist-esm/src/operationsInterfaces/sAPApplicationServerInstances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sAPCentralInstances.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/sAPCentralInstances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sAPCentralInstances.js +9 -0
- package/dist-esm/src/operationsInterfaces/sAPCentralInstances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sAPDatabaseInstances.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/sAPDatabaseInstances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sAPDatabaseInstances.js +9 -0
- package/dist-esm/src/operationsInterfaces/sAPDatabaseInstances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sAPVirtualInstances.d.ts +88 -0
- package/dist-esm/src/operationsInterfaces/sAPVirtualInstances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sAPVirtualInstances.js +9 -0
- package/dist-esm/src/operationsInterfaces/sAPVirtualInstances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.js +9 -0
- package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/wordpressInstances.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/wordpressInstances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/wordpressInstances.js +9 -0
- package/dist-esm/src/operationsInterfaces/wordpressInstances.js.map +1 -0
- package/dist-esm/src/workloadsClient.d.ts +53 -0
- package/dist-esm/src/workloadsClient.d.ts.map +1 -0
- package/dist-esm/src/workloadsClient.js +231 -0
- package/dist-esm/src/workloadsClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +38 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +122 -0
- package/review/arm-workloads.api.md +2255 -0
- package/rollup.config.js +122 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +3223 -0
- package/src/models/mappers.ts +4538 -0
- package/src/models/parameters.ts +322 -0
- package/src/operations/index.ts +18 -0
- package/src/operations/monitors.ts +613 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/phpWorkloads.ts +600 -0
- package/src/operations/providerInstances.ts +496 -0
- package/src/operations/sAPApplicationServerInstances.ts +645 -0
- package/src/operations/sAPCentralInstances.ts +651 -0
- package/src/operations/sAPDatabaseInstances.ts +651 -0
- package/src/operations/sAPVirtualInstances.ts +850 -0
- package/src/operations/skus.ts +139 -0
- package/src/operations/wordpressInstances.ts +396 -0
- package/src/operationsInterfaces/index.ts +18 -0
- package/src/operationsInterfaces/monitors.ts +129 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/phpWorkloads.ts +121 -0
- package/src/operationsInterfaces/providerInstances.ts +121 -0
- package/src/operationsInterfaces/sAPApplicationServerInstances.ts +148 -0
- package/src/operationsInterfaces/sAPCentralInstances.ts +155 -0
- package/src/operationsInterfaces/sAPDatabaseInstances.ts +155 -0
- package/src/operationsInterfaces/sAPVirtualInstances.ts +178 -0
- package/src/operationsInterfaces/skus.ts +22 -0
- package/src/operationsInterfaces/wordpressInstances.ts +88 -0
- package/src/workloadsClient.ts +343 -0
- package/tsconfig.json +33 -0
- package/types/arm-workloads.d.ts +3791 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,850 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { SAPVirtualInstances } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
|
+
import * as Parameters from "../models/parameters";
|
|
14
|
+
import { WorkloadsClient } from "../workloadsClient";
|
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
+
import { LroImpl } from "../lroImpl";
|
|
17
|
+
import {
|
|
18
|
+
SAPVirtualInstance,
|
|
19
|
+
SAPVirtualInstancesListByResourceGroupNextOptionalParams,
|
|
20
|
+
SAPVirtualInstancesListByResourceGroupOptionalParams,
|
|
21
|
+
SAPVirtualInstancesListBySubscriptionNextOptionalParams,
|
|
22
|
+
SAPVirtualInstancesListBySubscriptionOptionalParams,
|
|
23
|
+
SAPVirtualInstancesCreateOptionalParams,
|
|
24
|
+
SAPVirtualInstancesCreateResponse,
|
|
25
|
+
SAPVirtualInstancesGetOptionalParams,
|
|
26
|
+
SAPVirtualInstancesGetResponse,
|
|
27
|
+
SAPVirtualInstancesUpdateOptionalParams,
|
|
28
|
+
SAPVirtualInstancesUpdateResponse,
|
|
29
|
+
SAPVirtualInstancesDeleteOptionalParams,
|
|
30
|
+
SAPVirtualInstancesDeleteResponse,
|
|
31
|
+
SAPVirtualInstancesListByResourceGroupResponse,
|
|
32
|
+
SAPVirtualInstancesListBySubscriptionResponse,
|
|
33
|
+
SAPVirtualInstancesStartOptionalParams,
|
|
34
|
+
SAPVirtualInstancesStartResponse,
|
|
35
|
+
SAPVirtualInstancesStopOptionalParams,
|
|
36
|
+
SAPVirtualInstancesStopResponse,
|
|
37
|
+
SAPVirtualInstancesListByResourceGroupNextResponse,
|
|
38
|
+
SAPVirtualInstancesListBySubscriptionNextResponse
|
|
39
|
+
} from "../models";
|
|
40
|
+
|
|
41
|
+
/// <reference lib="esnext.asynciterable" />
|
|
42
|
+
/** Class containing SAPVirtualInstances operations. */
|
|
43
|
+
export class SAPVirtualInstancesImpl implements SAPVirtualInstances {
|
|
44
|
+
private readonly client: WorkloadsClient;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Initialize a new instance of the class SAPVirtualInstances class.
|
|
48
|
+
* @param client Reference to the service client
|
|
49
|
+
*/
|
|
50
|
+
constructor(client: WorkloadsClient) {
|
|
51
|
+
this.client = client;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Gets all Virtual Instances for SAP in a resource group.
|
|
56
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
public listByResourceGroup(
|
|
60
|
+
resourceGroupName: string,
|
|
61
|
+
options?: SAPVirtualInstancesListByResourceGroupOptionalParams
|
|
62
|
+
): PagedAsyncIterableIterator<SAPVirtualInstance> {
|
|
63
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
64
|
+
return {
|
|
65
|
+
next() {
|
|
66
|
+
return iter.next();
|
|
67
|
+
},
|
|
68
|
+
[Symbol.asyncIterator]() {
|
|
69
|
+
return this;
|
|
70
|
+
},
|
|
71
|
+
byPage: () => {
|
|
72
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
private async *listByResourceGroupPagingPage(
|
|
78
|
+
resourceGroupName: string,
|
|
79
|
+
options?: SAPVirtualInstancesListByResourceGroupOptionalParams
|
|
80
|
+
): AsyncIterableIterator<SAPVirtualInstance[]> {
|
|
81
|
+
let result = await this._listByResourceGroup(resourceGroupName, options);
|
|
82
|
+
yield result.value || [];
|
|
83
|
+
let continuationToken = result.nextLink;
|
|
84
|
+
while (continuationToken) {
|
|
85
|
+
result = await this._listByResourceGroupNext(
|
|
86
|
+
resourceGroupName,
|
|
87
|
+
continuationToken,
|
|
88
|
+
options
|
|
89
|
+
);
|
|
90
|
+
continuationToken = result.nextLink;
|
|
91
|
+
yield result.value || [];
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
private async *listByResourceGroupPagingAll(
|
|
96
|
+
resourceGroupName: string,
|
|
97
|
+
options?: SAPVirtualInstancesListByResourceGroupOptionalParams
|
|
98
|
+
): AsyncIterableIterator<SAPVirtualInstance> {
|
|
99
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
100
|
+
resourceGroupName,
|
|
101
|
+
options
|
|
102
|
+
)) {
|
|
103
|
+
yield* page;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Gets all Virtual Instances for SAP in the subscription.
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
public listBySubscription(
|
|
112
|
+
options?: SAPVirtualInstancesListBySubscriptionOptionalParams
|
|
113
|
+
): PagedAsyncIterableIterator<SAPVirtualInstance> {
|
|
114
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
115
|
+
return {
|
|
116
|
+
next() {
|
|
117
|
+
return iter.next();
|
|
118
|
+
},
|
|
119
|
+
[Symbol.asyncIterator]() {
|
|
120
|
+
return this;
|
|
121
|
+
},
|
|
122
|
+
byPage: () => {
|
|
123
|
+
return this.listBySubscriptionPagingPage(options);
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
private async *listBySubscriptionPagingPage(
|
|
129
|
+
options?: SAPVirtualInstancesListBySubscriptionOptionalParams
|
|
130
|
+
): AsyncIterableIterator<SAPVirtualInstance[]> {
|
|
131
|
+
let result = await this._listBySubscription(options);
|
|
132
|
+
yield result.value || [];
|
|
133
|
+
let continuationToken = result.nextLink;
|
|
134
|
+
while (continuationToken) {
|
|
135
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
136
|
+
continuationToken = result.nextLink;
|
|
137
|
+
yield result.value || [];
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
private async *listBySubscriptionPagingAll(
|
|
142
|
+
options?: SAPVirtualInstancesListBySubscriptionOptionalParams
|
|
143
|
+
): AsyncIterableIterator<SAPVirtualInstance> {
|
|
144
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
145
|
+
yield* page;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Creates an Virtual Instance for SAP.
|
|
151
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
152
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
|
|
153
|
+
* @param options The options parameters.
|
|
154
|
+
*/
|
|
155
|
+
async beginCreate(
|
|
156
|
+
resourceGroupName: string,
|
|
157
|
+
sapVirtualInstanceName: string,
|
|
158
|
+
options?: SAPVirtualInstancesCreateOptionalParams
|
|
159
|
+
): Promise<
|
|
160
|
+
PollerLike<
|
|
161
|
+
PollOperationState<SAPVirtualInstancesCreateResponse>,
|
|
162
|
+
SAPVirtualInstancesCreateResponse
|
|
163
|
+
>
|
|
164
|
+
> {
|
|
165
|
+
const directSendOperation = async (
|
|
166
|
+
args: coreClient.OperationArguments,
|
|
167
|
+
spec: coreClient.OperationSpec
|
|
168
|
+
): Promise<SAPVirtualInstancesCreateResponse> => {
|
|
169
|
+
return this.client.sendOperationRequest(args, spec);
|
|
170
|
+
};
|
|
171
|
+
const sendOperation = async (
|
|
172
|
+
args: coreClient.OperationArguments,
|
|
173
|
+
spec: coreClient.OperationSpec
|
|
174
|
+
) => {
|
|
175
|
+
let currentRawResponse:
|
|
176
|
+
| coreClient.FullOperationResponse
|
|
177
|
+
| undefined = undefined;
|
|
178
|
+
const providedCallback = args.options?.onResponse;
|
|
179
|
+
const callback: coreClient.RawResponseCallback = (
|
|
180
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
181
|
+
flatResponse: unknown
|
|
182
|
+
) => {
|
|
183
|
+
currentRawResponse = rawResponse;
|
|
184
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
185
|
+
};
|
|
186
|
+
const updatedArgs = {
|
|
187
|
+
...args,
|
|
188
|
+
options: {
|
|
189
|
+
...args.options,
|
|
190
|
+
onResponse: callback
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
194
|
+
return {
|
|
195
|
+
flatResponse,
|
|
196
|
+
rawResponse: {
|
|
197
|
+
statusCode: currentRawResponse!.status,
|
|
198
|
+
body: currentRawResponse!.parsedBody,
|
|
199
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
const lro = new LroImpl(
|
|
205
|
+
sendOperation,
|
|
206
|
+
{ resourceGroupName, sapVirtualInstanceName, options },
|
|
207
|
+
createOperationSpec
|
|
208
|
+
);
|
|
209
|
+
const poller = new LroEngine(lro, {
|
|
210
|
+
resumeFrom: options?.resumeFrom,
|
|
211
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
212
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
213
|
+
});
|
|
214
|
+
await poller.poll();
|
|
215
|
+
return poller;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Creates an Virtual Instance for SAP.
|
|
220
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
221
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
|
|
222
|
+
* @param options The options parameters.
|
|
223
|
+
*/
|
|
224
|
+
async beginCreateAndWait(
|
|
225
|
+
resourceGroupName: string,
|
|
226
|
+
sapVirtualInstanceName: string,
|
|
227
|
+
options?: SAPVirtualInstancesCreateOptionalParams
|
|
228
|
+
): Promise<SAPVirtualInstancesCreateResponse> {
|
|
229
|
+
const poller = await this.beginCreate(
|
|
230
|
+
resourceGroupName,
|
|
231
|
+
sapVirtualInstanceName,
|
|
232
|
+
options
|
|
233
|
+
);
|
|
234
|
+
return poller.pollUntilDone();
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Gets an Virtual Instance for SAP.
|
|
239
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
240
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
|
|
241
|
+
* @param options The options parameters.
|
|
242
|
+
*/
|
|
243
|
+
get(
|
|
244
|
+
resourceGroupName: string,
|
|
245
|
+
sapVirtualInstanceName: string,
|
|
246
|
+
options?: SAPVirtualInstancesGetOptionalParams
|
|
247
|
+
): Promise<SAPVirtualInstancesGetResponse> {
|
|
248
|
+
return this.client.sendOperationRequest(
|
|
249
|
+
{ resourceGroupName, sapVirtualInstanceName, options },
|
|
250
|
+
getOperationSpec
|
|
251
|
+
);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Updates an Virtual Instance for SAP.
|
|
256
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
257
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
|
|
258
|
+
* @param options The options parameters.
|
|
259
|
+
*/
|
|
260
|
+
update(
|
|
261
|
+
resourceGroupName: string,
|
|
262
|
+
sapVirtualInstanceName: string,
|
|
263
|
+
options?: SAPVirtualInstancesUpdateOptionalParams
|
|
264
|
+
): Promise<SAPVirtualInstancesUpdateResponse> {
|
|
265
|
+
return this.client.sendOperationRequest(
|
|
266
|
+
{ resourceGroupName, sapVirtualInstanceName, options },
|
|
267
|
+
updateOperationSpec
|
|
268
|
+
);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Deletes an Virtual Instance for SAP.
|
|
273
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
274
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
|
|
275
|
+
* @param options The options parameters.
|
|
276
|
+
*/
|
|
277
|
+
async beginDelete(
|
|
278
|
+
resourceGroupName: string,
|
|
279
|
+
sapVirtualInstanceName: string,
|
|
280
|
+
options?: SAPVirtualInstancesDeleteOptionalParams
|
|
281
|
+
): Promise<
|
|
282
|
+
PollerLike<
|
|
283
|
+
PollOperationState<SAPVirtualInstancesDeleteResponse>,
|
|
284
|
+
SAPVirtualInstancesDeleteResponse
|
|
285
|
+
>
|
|
286
|
+
> {
|
|
287
|
+
const directSendOperation = async (
|
|
288
|
+
args: coreClient.OperationArguments,
|
|
289
|
+
spec: coreClient.OperationSpec
|
|
290
|
+
): Promise<SAPVirtualInstancesDeleteResponse> => {
|
|
291
|
+
return this.client.sendOperationRequest(args, spec);
|
|
292
|
+
};
|
|
293
|
+
const sendOperation = async (
|
|
294
|
+
args: coreClient.OperationArguments,
|
|
295
|
+
spec: coreClient.OperationSpec
|
|
296
|
+
) => {
|
|
297
|
+
let currentRawResponse:
|
|
298
|
+
| coreClient.FullOperationResponse
|
|
299
|
+
| undefined = undefined;
|
|
300
|
+
const providedCallback = args.options?.onResponse;
|
|
301
|
+
const callback: coreClient.RawResponseCallback = (
|
|
302
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
303
|
+
flatResponse: unknown
|
|
304
|
+
) => {
|
|
305
|
+
currentRawResponse = rawResponse;
|
|
306
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
307
|
+
};
|
|
308
|
+
const updatedArgs = {
|
|
309
|
+
...args,
|
|
310
|
+
options: {
|
|
311
|
+
...args.options,
|
|
312
|
+
onResponse: callback
|
|
313
|
+
}
|
|
314
|
+
};
|
|
315
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
316
|
+
return {
|
|
317
|
+
flatResponse,
|
|
318
|
+
rawResponse: {
|
|
319
|
+
statusCode: currentRawResponse!.status,
|
|
320
|
+
body: currentRawResponse!.parsedBody,
|
|
321
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
const lro = new LroImpl(
|
|
327
|
+
sendOperation,
|
|
328
|
+
{ resourceGroupName, sapVirtualInstanceName, options },
|
|
329
|
+
deleteOperationSpec
|
|
330
|
+
);
|
|
331
|
+
const poller = new LroEngine(lro, {
|
|
332
|
+
resumeFrom: options?.resumeFrom,
|
|
333
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
334
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
335
|
+
});
|
|
336
|
+
await poller.poll();
|
|
337
|
+
return poller;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Deletes an Virtual Instance for SAP.
|
|
342
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
343
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
|
|
344
|
+
* @param options The options parameters.
|
|
345
|
+
*/
|
|
346
|
+
async beginDeleteAndWait(
|
|
347
|
+
resourceGroupName: string,
|
|
348
|
+
sapVirtualInstanceName: string,
|
|
349
|
+
options?: SAPVirtualInstancesDeleteOptionalParams
|
|
350
|
+
): Promise<SAPVirtualInstancesDeleteResponse> {
|
|
351
|
+
const poller = await this.beginDelete(
|
|
352
|
+
resourceGroupName,
|
|
353
|
+
sapVirtualInstanceName,
|
|
354
|
+
options
|
|
355
|
+
);
|
|
356
|
+
return poller.pollUntilDone();
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Gets all Virtual Instances for SAP in a resource group.
|
|
361
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
362
|
+
* @param options The options parameters.
|
|
363
|
+
*/
|
|
364
|
+
private _listByResourceGroup(
|
|
365
|
+
resourceGroupName: string,
|
|
366
|
+
options?: SAPVirtualInstancesListByResourceGroupOptionalParams
|
|
367
|
+
): Promise<SAPVirtualInstancesListByResourceGroupResponse> {
|
|
368
|
+
return this.client.sendOperationRequest(
|
|
369
|
+
{ resourceGroupName, options },
|
|
370
|
+
listByResourceGroupOperationSpec
|
|
371
|
+
);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Gets all Virtual Instances for SAP in the subscription.
|
|
376
|
+
* @param options The options parameters.
|
|
377
|
+
*/
|
|
378
|
+
private _listBySubscription(
|
|
379
|
+
options?: SAPVirtualInstancesListBySubscriptionOptionalParams
|
|
380
|
+
): Promise<SAPVirtualInstancesListBySubscriptionResponse> {
|
|
381
|
+
return this.client.sendOperationRequest(
|
|
382
|
+
{ options },
|
|
383
|
+
listBySubscriptionOperationSpec
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Starts the SAP System.
|
|
389
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
390
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
|
|
391
|
+
* @param options The options parameters.
|
|
392
|
+
*/
|
|
393
|
+
async beginStart(
|
|
394
|
+
resourceGroupName: string,
|
|
395
|
+
sapVirtualInstanceName: string,
|
|
396
|
+
options?: SAPVirtualInstancesStartOptionalParams
|
|
397
|
+
): Promise<
|
|
398
|
+
PollerLike<
|
|
399
|
+
PollOperationState<SAPVirtualInstancesStartResponse>,
|
|
400
|
+
SAPVirtualInstancesStartResponse
|
|
401
|
+
>
|
|
402
|
+
> {
|
|
403
|
+
const directSendOperation = async (
|
|
404
|
+
args: coreClient.OperationArguments,
|
|
405
|
+
spec: coreClient.OperationSpec
|
|
406
|
+
): Promise<SAPVirtualInstancesStartResponse> => {
|
|
407
|
+
return this.client.sendOperationRequest(args, spec);
|
|
408
|
+
};
|
|
409
|
+
const sendOperation = async (
|
|
410
|
+
args: coreClient.OperationArguments,
|
|
411
|
+
spec: coreClient.OperationSpec
|
|
412
|
+
) => {
|
|
413
|
+
let currentRawResponse:
|
|
414
|
+
| coreClient.FullOperationResponse
|
|
415
|
+
| undefined = undefined;
|
|
416
|
+
const providedCallback = args.options?.onResponse;
|
|
417
|
+
const callback: coreClient.RawResponseCallback = (
|
|
418
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
419
|
+
flatResponse: unknown
|
|
420
|
+
) => {
|
|
421
|
+
currentRawResponse = rawResponse;
|
|
422
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
423
|
+
};
|
|
424
|
+
const updatedArgs = {
|
|
425
|
+
...args,
|
|
426
|
+
options: {
|
|
427
|
+
...args.options,
|
|
428
|
+
onResponse: callback
|
|
429
|
+
}
|
|
430
|
+
};
|
|
431
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
432
|
+
return {
|
|
433
|
+
flatResponse,
|
|
434
|
+
rawResponse: {
|
|
435
|
+
statusCode: currentRawResponse!.status,
|
|
436
|
+
body: currentRawResponse!.parsedBody,
|
|
437
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
const lro = new LroImpl(
|
|
443
|
+
sendOperation,
|
|
444
|
+
{ resourceGroupName, sapVirtualInstanceName, options },
|
|
445
|
+
startOperationSpec
|
|
446
|
+
);
|
|
447
|
+
const poller = new LroEngine(lro, {
|
|
448
|
+
resumeFrom: options?.resumeFrom,
|
|
449
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
450
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
451
|
+
});
|
|
452
|
+
await poller.poll();
|
|
453
|
+
return poller;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Starts the SAP System.
|
|
458
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
459
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
|
|
460
|
+
* @param options The options parameters.
|
|
461
|
+
*/
|
|
462
|
+
async beginStartAndWait(
|
|
463
|
+
resourceGroupName: string,
|
|
464
|
+
sapVirtualInstanceName: string,
|
|
465
|
+
options?: SAPVirtualInstancesStartOptionalParams
|
|
466
|
+
): Promise<SAPVirtualInstancesStartResponse> {
|
|
467
|
+
const poller = await this.beginStart(
|
|
468
|
+
resourceGroupName,
|
|
469
|
+
sapVirtualInstanceName,
|
|
470
|
+
options
|
|
471
|
+
);
|
|
472
|
+
return poller.pollUntilDone();
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Stops the SAP System.
|
|
477
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
478
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
|
|
479
|
+
* @param options The options parameters.
|
|
480
|
+
*/
|
|
481
|
+
async beginStop(
|
|
482
|
+
resourceGroupName: string,
|
|
483
|
+
sapVirtualInstanceName: string,
|
|
484
|
+
options?: SAPVirtualInstancesStopOptionalParams
|
|
485
|
+
): Promise<
|
|
486
|
+
PollerLike<
|
|
487
|
+
PollOperationState<SAPVirtualInstancesStopResponse>,
|
|
488
|
+
SAPVirtualInstancesStopResponse
|
|
489
|
+
>
|
|
490
|
+
> {
|
|
491
|
+
const directSendOperation = async (
|
|
492
|
+
args: coreClient.OperationArguments,
|
|
493
|
+
spec: coreClient.OperationSpec
|
|
494
|
+
): Promise<SAPVirtualInstancesStopResponse> => {
|
|
495
|
+
return this.client.sendOperationRequest(args, spec);
|
|
496
|
+
};
|
|
497
|
+
const sendOperation = async (
|
|
498
|
+
args: coreClient.OperationArguments,
|
|
499
|
+
spec: coreClient.OperationSpec
|
|
500
|
+
) => {
|
|
501
|
+
let currentRawResponse:
|
|
502
|
+
| coreClient.FullOperationResponse
|
|
503
|
+
| undefined = undefined;
|
|
504
|
+
const providedCallback = args.options?.onResponse;
|
|
505
|
+
const callback: coreClient.RawResponseCallback = (
|
|
506
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
507
|
+
flatResponse: unknown
|
|
508
|
+
) => {
|
|
509
|
+
currentRawResponse = rawResponse;
|
|
510
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
511
|
+
};
|
|
512
|
+
const updatedArgs = {
|
|
513
|
+
...args,
|
|
514
|
+
options: {
|
|
515
|
+
...args.options,
|
|
516
|
+
onResponse: callback
|
|
517
|
+
}
|
|
518
|
+
};
|
|
519
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
520
|
+
return {
|
|
521
|
+
flatResponse,
|
|
522
|
+
rawResponse: {
|
|
523
|
+
statusCode: currentRawResponse!.status,
|
|
524
|
+
body: currentRawResponse!.parsedBody,
|
|
525
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
const lro = new LroImpl(
|
|
531
|
+
sendOperation,
|
|
532
|
+
{ resourceGroupName, sapVirtualInstanceName, options },
|
|
533
|
+
stopOperationSpec
|
|
534
|
+
);
|
|
535
|
+
const poller = new LroEngine(lro, {
|
|
536
|
+
resumeFrom: options?.resumeFrom,
|
|
537
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
538
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
539
|
+
});
|
|
540
|
+
await poller.poll();
|
|
541
|
+
return poller;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Stops the SAP System.
|
|
546
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
547
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP.
|
|
548
|
+
* @param options The options parameters.
|
|
549
|
+
*/
|
|
550
|
+
async beginStopAndWait(
|
|
551
|
+
resourceGroupName: string,
|
|
552
|
+
sapVirtualInstanceName: string,
|
|
553
|
+
options?: SAPVirtualInstancesStopOptionalParams
|
|
554
|
+
): Promise<SAPVirtualInstancesStopResponse> {
|
|
555
|
+
const poller = await this.beginStop(
|
|
556
|
+
resourceGroupName,
|
|
557
|
+
sapVirtualInstanceName,
|
|
558
|
+
options
|
|
559
|
+
);
|
|
560
|
+
return poller.pollUntilDone();
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* ListByResourceGroupNext
|
|
565
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
566
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
567
|
+
* @param options The options parameters.
|
|
568
|
+
*/
|
|
569
|
+
private _listByResourceGroupNext(
|
|
570
|
+
resourceGroupName: string,
|
|
571
|
+
nextLink: string,
|
|
572
|
+
options?: SAPVirtualInstancesListByResourceGroupNextOptionalParams
|
|
573
|
+
): Promise<SAPVirtualInstancesListByResourceGroupNextResponse> {
|
|
574
|
+
return this.client.sendOperationRequest(
|
|
575
|
+
{ resourceGroupName, nextLink, options },
|
|
576
|
+
listByResourceGroupNextOperationSpec
|
|
577
|
+
);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* ListBySubscriptionNext
|
|
582
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
583
|
+
* @param options The options parameters.
|
|
584
|
+
*/
|
|
585
|
+
private _listBySubscriptionNext(
|
|
586
|
+
nextLink: string,
|
|
587
|
+
options?: SAPVirtualInstancesListBySubscriptionNextOptionalParams
|
|
588
|
+
): Promise<SAPVirtualInstancesListBySubscriptionNextResponse> {
|
|
589
|
+
return this.client.sendOperationRequest(
|
|
590
|
+
{ nextLink, options },
|
|
591
|
+
listBySubscriptionNextOperationSpec
|
|
592
|
+
);
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
// Operation Specifications
|
|
596
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
597
|
+
|
|
598
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
|
599
|
+
path:
|
|
600
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}",
|
|
601
|
+
httpMethod: "PUT",
|
|
602
|
+
responses: {
|
|
603
|
+
200: {
|
|
604
|
+
bodyMapper: Mappers.SAPVirtualInstance
|
|
605
|
+
},
|
|
606
|
+
201: {
|
|
607
|
+
bodyMapper: Mappers.SAPVirtualInstance
|
|
608
|
+
},
|
|
609
|
+
202: {
|
|
610
|
+
bodyMapper: Mappers.SAPVirtualInstance
|
|
611
|
+
},
|
|
612
|
+
204: {
|
|
613
|
+
bodyMapper: Mappers.SAPVirtualInstance
|
|
614
|
+
},
|
|
615
|
+
default: {
|
|
616
|
+
bodyMapper: Mappers.ErrorResponse
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
requestBody: Parameters.body,
|
|
620
|
+
queryParameters: [Parameters.apiVersion],
|
|
621
|
+
urlParameters: [
|
|
622
|
+
Parameters.$host,
|
|
623
|
+
Parameters.subscriptionId,
|
|
624
|
+
Parameters.resourceGroupName,
|
|
625
|
+
Parameters.sapVirtualInstanceName
|
|
626
|
+
],
|
|
627
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
628
|
+
mediaType: "json",
|
|
629
|
+
serializer
|
|
630
|
+
};
|
|
631
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
632
|
+
path:
|
|
633
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}",
|
|
634
|
+
httpMethod: "GET",
|
|
635
|
+
responses: {
|
|
636
|
+
200: {
|
|
637
|
+
bodyMapper: Mappers.SAPVirtualInstance
|
|
638
|
+
},
|
|
639
|
+
default: {
|
|
640
|
+
bodyMapper: Mappers.ErrorResponse
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
queryParameters: [Parameters.apiVersion],
|
|
644
|
+
urlParameters: [
|
|
645
|
+
Parameters.$host,
|
|
646
|
+
Parameters.subscriptionId,
|
|
647
|
+
Parameters.resourceGroupName,
|
|
648
|
+
Parameters.sapVirtualInstanceName
|
|
649
|
+
],
|
|
650
|
+
headerParameters: [Parameters.accept],
|
|
651
|
+
serializer
|
|
652
|
+
};
|
|
653
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
654
|
+
path:
|
|
655
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}",
|
|
656
|
+
httpMethod: "PATCH",
|
|
657
|
+
responses: {
|
|
658
|
+
200: {
|
|
659
|
+
bodyMapper: Mappers.SAPVirtualInstance
|
|
660
|
+
},
|
|
661
|
+
default: {
|
|
662
|
+
bodyMapper: Mappers.ErrorResponse
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
requestBody: Parameters.body1,
|
|
666
|
+
queryParameters: [Parameters.apiVersion],
|
|
667
|
+
urlParameters: [
|
|
668
|
+
Parameters.$host,
|
|
669
|
+
Parameters.subscriptionId,
|
|
670
|
+
Parameters.resourceGroupName,
|
|
671
|
+
Parameters.sapVirtualInstanceName
|
|
672
|
+
],
|
|
673
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
674
|
+
mediaType: "json",
|
|
675
|
+
serializer
|
|
676
|
+
};
|
|
677
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
678
|
+
path:
|
|
679
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}",
|
|
680
|
+
httpMethod: "DELETE",
|
|
681
|
+
responses: {
|
|
682
|
+
200: {
|
|
683
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
684
|
+
},
|
|
685
|
+
201: {
|
|
686
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
687
|
+
},
|
|
688
|
+
202: {
|
|
689
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
690
|
+
},
|
|
691
|
+
204: {
|
|
692
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
693
|
+
},
|
|
694
|
+
default: {
|
|
695
|
+
bodyMapper: Mappers.ErrorResponse
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
queryParameters: [Parameters.apiVersion],
|
|
699
|
+
urlParameters: [
|
|
700
|
+
Parameters.$host,
|
|
701
|
+
Parameters.subscriptionId,
|
|
702
|
+
Parameters.resourceGroupName,
|
|
703
|
+
Parameters.sapVirtualInstanceName
|
|
704
|
+
],
|
|
705
|
+
headerParameters: [Parameters.accept],
|
|
706
|
+
serializer
|
|
707
|
+
};
|
|
708
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
709
|
+
path:
|
|
710
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances",
|
|
711
|
+
httpMethod: "GET",
|
|
712
|
+
responses: {
|
|
713
|
+
200: {
|
|
714
|
+
bodyMapper: Mappers.SAPVirtualInstanceList
|
|
715
|
+
},
|
|
716
|
+
default: {
|
|
717
|
+
bodyMapper: Mappers.ErrorResponse
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
queryParameters: [Parameters.apiVersion],
|
|
721
|
+
urlParameters: [
|
|
722
|
+
Parameters.$host,
|
|
723
|
+
Parameters.subscriptionId,
|
|
724
|
+
Parameters.resourceGroupName
|
|
725
|
+
],
|
|
726
|
+
headerParameters: [Parameters.accept],
|
|
727
|
+
serializer
|
|
728
|
+
};
|
|
729
|
+
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
730
|
+
path:
|
|
731
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/sapVirtualInstances",
|
|
732
|
+
httpMethod: "GET",
|
|
733
|
+
responses: {
|
|
734
|
+
200: {
|
|
735
|
+
bodyMapper: Mappers.SAPVirtualInstanceList
|
|
736
|
+
},
|
|
737
|
+
default: {
|
|
738
|
+
bodyMapper: Mappers.ErrorResponse
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
queryParameters: [Parameters.apiVersion],
|
|
742
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
743
|
+
headerParameters: [Parameters.accept],
|
|
744
|
+
serializer
|
|
745
|
+
};
|
|
746
|
+
const startOperationSpec: coreClient.OperationSpec = {
|
|
747
|
+
path:
|
|
748
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/start",
|
|
749
|
+
httpMethod: "POST",
|
|
750
|
+
responses: {
|
|
751
|
+
200: {
|
|
752
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
753
|
+
},
|
|
754
|
+
201: {
|
|
755
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
756
|
+
},
|
|
757
|
+
202: {
|
|
758
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
759
|
+
},
|
|
760
|
+
204: {
|
|
761
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
762
|
+
},
|
|
763
|
+
default: {
|
|
764
|
+
bodyMapper: Mappers.ErrorResponse
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
queryParameters: [Parameters.apiVersion],
|
|
768
|
+
urlParameters: [
|
|
769
|
+
Parameters.$host,
|
|
770
|
+
Parameters.subscriptionId,
|
|
771
|
+
Parameters.resourceGroupName,
|
|
772
|
+
Parameters.sapVirtualInstanceName
|
|
773
|
+
],
|
|
774
|
+
headerParameters: [Parameters.accept],
|
|
775
|
+
serializer
|
|
776
|
+
};
|
|
777
|
+
const stopOperationSpec: coreClient.OperationSpec = {
|
|
778
|
+
path:
|
|
779
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/stop",
|
|
780
|
+
httpMethod: "POST",
|
|
781
|
+
responses: {
|
|
782
|
+
200: {
|
|
783
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
784
|
+
},
|
|
785
|
+
201: {
|
|
786
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
787
|
+
},
|
|
788
|
+
202: {
|
|
789
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
790
|
+
},
|
|
791
|
+
204: {
|
|
792
|
+
bodyMapper: Mappers.OperationStatusResult
|
|
793
|
+
},
|
|
794
|
+
default: {
|
|
795
|
+
bodyMapper: Mappers.ErrorResponse
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
requestBody: Parameters.body2,
|
|
799
|
+
queryParameters: [Parameters.apiVersion],
|
|
800
|
+
urlParameters: [
|
|
801
|
+
Parameters.$host,
|
|
802
|
+
Parameters.subscriptionId,
|
|
803
|
+
Parameters.resourceGroupName,
|
|
804
|
+
Parameters.sapVirtualInstanceName
|
|
805
|
+
],
|
|
806
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
807
|
+
mediaType: "json",
|
|
808
|
+
serializer
|
|
809
|
+
};
|
|
810
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
811
|
+
path: "{nextLink}",
|
|
812
|
+
httpMethod: "GET",
|
|
813
|
+
responses: {
|
|
814
|
+
200: {
|
|
815
|
+
bodyMapper: Mappers.SAPVirtualInstanceList
|
|
816
|
+
},
|
|
817
|
+
default: {
|
|
818
|
+
bodyMapper: Mappers.ErrorResponse
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
queryParameters: [Parameters.apiVersion],
|
|
822
|
+
urlParameters: [
|
|
823
|
+
Parameters.$host,
|
|
824
|
+
Parameters.subscriptionId,
|
|
825
|
+
Parameters.resourceGroupName,
|
|
826
|
+
Parameters.nextLink
|
|
827
|
+
],
|
|
828
|
+
headerParameters: [Parameters.accept],
|
|
829
|
+
serializer
|
|
830
|
+
};
|
|
831
|
+
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
832
|
+
path: "{nextLink}",
|
|
833
|
+
httpMethod: "GET",
|
|
834
|
+
responses: {
|
|
835
|
+
200: {
|
|
836
|
+
bodyMapper: Mappers.SAPVirtualInstanceList
|
|
837
|
+
},
|
|
838
|
+
default: {
|
|
839
|
+
bodyMapper: Mappers.ErrorResponse
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
queryParameters: [Parameters.apiVersion],
|
|
843
|
+
urlParameters: [
|
|
844
|
+
Parameters.$host,
|
|
845
|
+
Parameters.subscriptionId,
|
|
846
|
+
Parameters.nextLink
|
|
847
|
+
],
|
|
848
|
+
headerParameters: [Parameters.accept],
|
|
849
|
+
serializer
|
|
850
|
+
};
|