@azure/arm-workloads 1.0.0-beta.2 → 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 +3 -3
- package/dist/index.js +3677 -3904
- 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/monitorsCreateSample.js +12 -4
- package/dist-esm/samples-dev/monitorsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/monitorsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/monitorsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/monitorsGetSample.js +12 -4
- package/dist-esm/samples-dev/monitorsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/monitorsListByResourceGroupSample.js +24 -9
- package/dist-esm/samples-dev/monitorsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/monitorsListSample.js +23 -8
- package/dist-esm/samples-dev/monitorsListSample.js.map +1 -1
- package/dist-esm/samples-dev/monitorsUpdateSample.js +17 -8
- package/dist-esm/samples-dev/monitorsUpdateSample.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/providerInstancesCreateSample.js +250 -32
- package/dist-esm/samples-dev/providerInstancesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/providerInstancesDeleteSample.js +12 -4
- package/dist-esm/samples-dev/providerInstancesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/providerInstancesGetSample.js +37 -24
- package/dist-esm/samples-dev/providerInstancesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/providerInstancesListSample.js +24 -9
- package/dist-esm/samples-dev/providerInstancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesCreateSample.js +39 -6
- package/dist-esm/samples-dev/sapApplicationServerInstancesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesDeleteSample.js +14 -6
- package/dist-esm/samples-dev/sapApplicationServerInstancesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesGetSample.js +14 -6
- package/dist-esm/samples-dev/sapApplicationServerInstancesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesListSample.js +26 -11
- package/dist-esm/samples-dev/sapApplicationServerInstancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesStartInstanceSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesStartInstanceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesStartInstanceSample.js +40 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesStartInstanceSample.js.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesStopInstanceSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesStopInstanceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesStopInstanceSample.js +44 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesStopInstanceSample.js.map +1 -0
- package/dist-esm/samples-dev/sapApplicationServerInstancesUpdateSample.js +14 -6
- package/dist-esm/samples-dev/sapApplicationServerInstancesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sapAvailabilityZoneDetailsSample.js +19 -10
- package/dist-esm/samples-dev/sapAvailabilityZoneDetailsSample.js.map +1 -1
- package/dist-esm/samples-dev/sapCentralInstancesCreateSample.js +39 -6
- package/dist-esm/samples-dev/sapCentralInstancesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/sapCentralInstancesDeleteSample.js +14 -6
- package/dist-esm/samples-dev/sapCentralInstancesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sapCentralInstancesGetSample.js +14 -6
- package/dist-esm/samples-dev/sapCentralInstancesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sapCentralInstancesListSample.js +26 -11
- package/dist-esm/samples-dev/sapCentralInstancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sapCentralInstancesStartInstanceSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapCentralInstancesStartInstanceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesStartInstanceSample.js +40 -0
- package/dist-esm/samples-dev/sapCentralInstancesStartInstanceSample.js.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesStopInstanceSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapCentralInstancesStopInstanceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesStopInstanceSample.js +42 -0
- package/dist-esm/samples-dev/sapCentralInstancesStopInstanceSample.js.map +1 -0
- package/dist-esm/samples-dev/sapCentralInstancesUpdateSample.js +14 -6
- package/dist-esm/samples-dev/sapCentralInstancesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesCreateSample.js +36 -6
- package/dist-esm/samples-dev/sapDatabaseInstancesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesDeleteSample.js +14 -6
- package/dist-esm/samples-dev/sapDatabaseInstancesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesGetSample.js +14 -6
- package/dist-esm/samples-dev/sapDatabaseInstancesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesListSample.js +26 -11
- package/dist-esm/samples-dev/sapDatabaseInstancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesStartInstanceSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesStartInstanceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesStartInstanceSample.js +40 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesStartInstanceSample.js.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesStopInstanceSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesStopInstanceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesStopInstanceSample.js +42 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesStopInstanceSample.js.map +1 -0
- package/dist-esm/samples-dev/sapDatabaseInstancesUpdateSample.js +14 -6
- package/dist-esm/samples-dev/sapDatabaseInstancesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sapDiskConfigurationsSample.js +19 -10
- package/dist-esm/samples-dev/sapDiskConfigurationsSample.js.map +1 -1
- package/dist-esm/samples-dev/sapLandscapeMonitorCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorCreateSample.js +48 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorDeleteSample.js +39 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorGetSample.js +39 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorListSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorListSample.js +39 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorListSample.js.map +1 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorUpdateSample.js +48 -0
- package/dist-esm/samples-dev/sapLandscapeMonitorUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sapSizingRecommendationsSample.js +31 -20
- package/dist-esm/samples-dev/sapSizingRecommendationsSample.js.map +1 -1
- package/dist-esm/samples-dev/sapSupportedSkuSample.js +31 -20
- package/dist-esm/samples-dev/sapSupportedSkuSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesCreateSample.js +2121 -178
- package/dist-esm/samples-dev/sapVirtualInstancesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesDeleteSample.js +14 -6
- package/dist-esm/samples-dev/sapVirtualInstancesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesGetSample.js +14 -6
- package/dist-esm/samples-dev/sapVirtualInstancesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesListByResourceGroupSample.js +26 -11
- package/dist-esm/samples-dev/sapVirtualInstancesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesListBySubscriptionSample.js +25 -10
- package/dist-esm/samples-dev/sapVirtualInstancesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesStartSample.js +14 -6
- package/dist-esm/samples-dev/sapVirtualInstancesStartSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesStopSample.js +15 -7
- package/dist-esm/samples-dev/sapVirtualInstancesStopSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesUpdateSample.js +14 -6
- package/dist-esm/samples-dev/sapVirtualInstancesUpdateSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.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 +942 -1305
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +112 -246
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +51 -43
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1192 -1428
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -10
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +52 -82
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +2 -4
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +2 -4
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/monitors.d.ts +3 -3
- package/dist-esm/src/operations/monitors.d.ts.map +1 -1
- package/dist-esm/src/operations/monitors.js +83 -39
- package/dist-esm/src/operations/monitors.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +31 -13
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/providerInstances.d.ts +3 -3
- package/dist-esm/src/operations/providerInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/providerInstances.js +58 -31
- package/dist-esm/src/operations/providerInstances.js.map +1 -1
- package/dist-esm/src/operations/sAPApplicationServerInstances.d.ts +70 -35
- package/dist-esm/src/operations/sAPApplicationServerInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/sAPApplicationServerInstances.js +300 -77
- package/dist-esm/src/operations/sAPApplicationServerInstances.js.map +1 -1
- package/dist-esm/src/operations/sAPCentralInstances.d.ts +86 -42
- package/dist-esm/src/operations/sAPCentralInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/sAPCentralInstances.js +316 -84
- package/dist-esm/src/operations/sAPCentralInstances.js.map +1 -1
- package/dist-esm/src/operations/sAPDatabaseInstances.d.ts +78 -42
- package/dist-esm/src/operations/sAPDatabaseInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/sAPDatabaseInstances.js +308 -84
- package/dist-esm/src/operations/sAPDatabaseInstances.js.map +1 -1
- package/dist-esm/src/operations/sAPVirtualInstances.d.ts +31 -29
- package/dist-esm/src/operations/sAPVirtualInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/sAPVirtualInstances.js +125 -72
- package/dist-esm/src/operations/sAPVirtualInstances.js.map +1 -1
- package/dist-esm/src/operations/sapLandscapeMonitorOperations.d.ts +57 -0
- package/dist-esm/src/operations/sapLandscapeMonitorOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/sapLandscapeMonitorOperations.js +188 -0
- package/dist-esm/src/operations/sapLandscapeMonitorOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -4
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +2 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/monitors.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/monitors.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/providerInstances.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/providerInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sAPApplicationServerInstances.d.ts +66 -32
- package/dist-esm/src/operationsInterfaces/sAPApplicationServerInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sAPCentralInstances.d.ts +82 -39
- package/dist-esm/src/operationsInterfaces/sAPCentralInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sAPDatabaseInstances.d.ts +75 -39
- package/dist-esm/src/operationsInterfaces/sAPDatabaseInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sAPVirtualInstances.d.ts +29 -27
- package/dist-esm/src/operationsInterfaces/sAPVirtualInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sapLandscapeMonitorOperations.d.ts +49 -0
- package/dist-esm/src/operationsInterfaces/sapLandscapeMonitorOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{phpWorkloads.js → sapLandscapeMonitorOperations.js} +1 -1
- package/dist-esm/src/operationsInterfaces/sapLandscapeMonitorOperations.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/workloadsClient.d.ts +8 -9
- package/dist-esm/src/workloadsClient.d.ts.map +1 -1
- package/dist-esm/src/workloadsClient.js +33 -32
- package/dist-esm/src/workloadsClient.js.map +1 -1
- package/dist-esm/test/workloads_examples.js +116 -12
- package/dist-esm/test/workloads_examples.js.map +1 -1
- package/package.json +15 -13
- package/review/arm-workloads.api.md +384 -596
- package/src/index.ts +1 -0
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +1087 -1477
- package/src/models/mappers.ts +1334 -1553
- package/src/models/parameters.ts +58 -94
- package/src/operations/index.ts +2 -4
- package/src/operations/monitors.ts +81 -43
- package/src/operations/operations.ts +21 -9
- package/src/operations/providerInstances.ts +61 -33
- package/src/operations/sAPApplicationServerInstances.ts +382 -81
- package/src/operations/sAPCentralInstances.ts +398 -88
- package/src/operations/sAPDatabaseInstances.ts +390 -88
- package/src/operations/sAPVirtualInstances.ts +134 -89
- package/src/operations/sapLandscapeMonitorOperations.ts +254 -0
- package/src/operationsInterfaces/index.ts +2 -4
- package/src/operationsInterfaces/monitors.ts +5 -5
- package/src/operationsInterfaces/providerInstances.ts +5 -5
- package/src/operationsInterfaces/sAPApplicationServerInstances.ts +103 -35
- package/src/operationsInterfaces/sAPCentralInstances.ts +119 -42
- package/src/operationsInterfaces/sAPDatabaseInstances.ts +112 -42
- package/src/operationsInterfaces/sAPVirtualInstances.ts +33 -31
- package/src/operationsInterfaces/sapLandscapeMonitorOperations.ts +90 -0
- package/src/pagingHelper.ts +39 -0
- package/src/workloadsClient.ts +46 -45
- package/types/arm-workloads.d.ts +972 -1316
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/phpWorkloadsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/phpWorkloadsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsCreateOrUpdateSample.js +0 -111
- package/dist-esm/samples-dev/phpWorkloadsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/phpWorkloadsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsDeleteSample.js +0 -33
- package/dist-esm/samples-dev/phpWorkloadsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/phpWorkloadsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsGetSample.js +0 -31
- package/dist-esm/samples-dev/phpWorkloadsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/phpWorkloadsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/phpWorkloadsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/phpWorkloadsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/phpWorkloadsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/phpWorkloadsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/phpWorkloadsUpdateSample.js +0 -35
- package/dist-esm/samples-dev/phpWorkloadsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/skusListSample.d.ts +0 -2
- package/dist-esm/samples-dev/skusListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/skusListSample.js +0 -43
- package/dist-esm/samples-dev/skusListSample.js.map +0 -1
- package/dist-esm/samples-dev/wordpressInstancesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/wordpressInstancesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/wordpressInstancesCreateOrUpdateSample.js +0 -36
- package/dist-esm/samples-dev/wordpressInstancesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/wordpressInstancesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/wordpressInstancesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/wordpressInstancesDeleteSample.js +0 -31
- package/dist-esm/samples-dev/wordpressInstancesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/wordpressInstancesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/wordpressInstancesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/wordpressInstancesGetSample.js +0 -31
- package/dist-esm/samples-dev/wordpressInstancesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/wordpressInstancesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/wordpressInstancesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/wordpressInstancesListSample.js +0 -45
- package/dist-esm/samples-dev/wordpressInstancesListSample.js.map +0 -1
- package/dist-esm/src/operations/phpWorkloads.d.ts +0 -99
- package/dist-esm/src/operations/phpWorkloads.d.ts.map +0 -1
- package/dist-esm/src/operations/phpWorkloads.js +0 -455
- package/dist-esm/src/operations/phpWorkloads.js.map +0 -1
- package/dist-esm/src/operations/skus.d.ts +0 -32
- package/dist-esm/src/operations/skus.d.ts.map +0 -1
- package/dist-esm/src/operations/skus.js +0 -124
- package/dist-esm/src/operations/skus.js.map +0 -1
- package/dist-esm/src/operations/wordpressInstances.d.ts +0 -69
- package/dist-esm/src/operations/wordpressInstances.d.ts.map +0 -1
- package/dist-esm/src/operations/wordpressInstances.js +0 -288
- package/dist-esm/src/operations/wordpressInstances.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/phpWorkloads.d.ts +0 -63
- package/dist-esm/src/operationsInterfaces/phpWorkloads.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/phpWorkloads.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/skus.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/skus.js +0 -9
- package/dist-esm/src/operationsInterfaces/skus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/wordpressInstances.d.ts +0 -44
- package/dist-esm/src/operationsInterfaces/wordpressInstances.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/wordpressInstances.js +0 -9
- package/dist-esm/src/operationsInterfaces/wordpressInstances.js.map +0 -1
- package/src/operations/phpWorkloads.ts +0 -599
- package/src/operations/skus.ts +0 -139
- package/src/operations/wordpressInstances.ts +0 -395
- package/src/operationsInterfaces/phpWorkloads.ts +0 -121
- package/src/operationsInterfaces/skus.ts +0 -22
- package/src/operationsInterfaces/wordpressInstances.ts +0 -88
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { SAPVirtualInstances } from "../operationsInterfaces";
|
|
3
3
|
import { WorkloadsClient } from "../workloadsClient";
|
|
4
|
-
import {
|
|
4
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
5
|
import { SAPVirtualInstance, SAPVirtualInstancesListByResourceGroupOptionalParams, SAPVirtualInstancesListBySubscriptionOptionalParams, SAPVirtualInstancesCreateOptionalParams, SAPVirtualInstancesCreateResponse, SAPVirtualInstancesGetOptionalParams, SAPVirtualInstancesGetResponse, SAPVirtualInstancesUpdateOptionalParams, SAPVirtualInstancesUpdateResponse, SAPVirtualInstancesDeleteOptionalParams, SAPVirtualInstancesDeleteResponse, SAPVirtualInstancesStartOptionalParams, SAPVirtualInstancesStartResponse, SAPVirtualInstancesStopOptionalParams, SAPVirtualInstancesStopResponse } from "../models";
|
|
6
6
|
/** Class containing SAPVirtualInstances operations. */
|
|
7
7
|
export declare class SAPVirtualInstancesImpl implements SAPVirtualInstances {
|
|
@@ -12,7 +12,7 @@ export declare class SAPVirtualInstancesImpl implements SAPVirtualInstances {
|
|
|
12
12
|
*/
|
|
13
13
|
constructor(client: WorkloadsClient);
|
|
14
14
|
/**
|
|
15
|
-
* Gets all Virtual Instances for SAP in a
|
|
15
|
+
* Gets all Virtual Instances for SAP solutions resources in a Resource Group.
|
|
16
16
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
17
|
* @param options The options parameters.
|
|
18
18
|
*/
|
|
@@ -20,90 +20,92 @@ export declare class SAPVirtualInstancesImpl implements SAPVirtualInstances {
|
|
|
20
20
|
private listByResourceGroupPagingPage;
|
|
21
21
|
private listByResourceGroupPagingAll;
|
|
22
22
|
/**
|
|
23
|
-
* Gets all Virtual Instances for SAP in
|
|
23
|
+
* Gets all Virtual Instances for SAP solutions resources in a Subscription.
|
|
24
24
|
* @param options The options parameters.
|
|
25
25
|
*/
|
|
26
26
|
listBySubscription(options?: SAPVirtualInstancesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SAPVirtualInstance>;
|
|
27
27
|
private listBySubscriptionPagingPage;
|
|
28
28
|
private listBySubscriptionPagingAll;
|
|
29
29
|
/**
|
|
30
|
-
* Creates
|
|
30
|
+
* Creates a Virtual Instance for SAP solutions (VIS) resource
|
|
31
31
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
32
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
33
33
|
* @param options The options parameters.
|
|
34
34
|
*/
|
|
35
|
-
beginCreate(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesCreateOptionalParams): Promise<
|
|
35
|
+
beginCreate(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesCreateOptionalParams): Promise<SimplePollerLike<OperationState<SAPVirtualInstancesCreateResponse>, SAPVirtualInstancesCreateResponse>>;
|
|
36
36
|
/**
|
|
37
|
-
* Creates
|
|
37
|
+
* Creates a Virtual Instance for SAP solutions (VIS) resource
|
|
38
38
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
39
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
39
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
40
40
|
* @param options The options parameters.
|
|
41
41
|
*/
|
|
42
42
|
beginCreateAndWait(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesCreateOptionalParams): Promise<SAPVirtualInstancesCreateResponse>;
|
|
43
43
|
/**
|
|
44
|
-
* Gets
|
|
44
|
+
* Gets a Virtual Instance for SAP solutions resource
|
|
45
45
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
46
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
46
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
47
47
|
* @param options The options parameters.
|
|
48
48
|
*/
|
|
49
49
|
get(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesGetOptionalParams): Promise<SAPVirtualInstancesGetResponse>;
|
|
50
50
|
/**
|
|
51
|
-
* Updates
|
|
51
|
+
* Updates a Virtual Instance for SAP solutions resource
|
|
52
52
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
53
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
53
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
54
54
|
* @param options The options parameters.
|
|
55
55
|
*/
|
|
56
56
|
update(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesUpdateOptionalParams): Promise<SAPVirtualInstancesUpdateResponse>;
|
|
57
57
|
/**
|
|
58
|
-
* Deletes
|
|
58
|
+
* Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the
|
|
59
|
+
* associated Central Services Instance, Application Server Instances and Database Instance.
|
|
59
60
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
61
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
61
62
|
* @param options The options parameters.
|
|
62
63
|
*/
|
|
63
|
-
beginDelete(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesDeleteOptionalParams): Promise<
|
|
64
|
+
beginDelete(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<SAPVirtualInstancesDeleteResponse>, SAPVirtualInstancesDeleteResponse>>;
|
|
64
65
|
/**
|
|
65
|
-
* Deletes
|
|
66
|
+
* Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the
|
|
67
|
+
* associated Central Services Instance, Application Server Instances and Database Instance.
|
|
66
68
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
69
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
68
70
|
* @param options The options parameters.
|
|
69
71
|
*/
|
|
70
72
|
beginDeleteAndWait(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesDeleteOptionalParams): Promise<SAPVirtualInstancesDeleteResponse>;
|
|
71
73
|
/**
|
|
72
|
-
* Gets all Virtual Instances for SAP in a
|
|
74
|
+
* Gets all Virtual Instances for SAP solutions resources in a Resource Group.
|
|
73
75
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
76
|
* @param options The options parameters.
|
|
75
77
|
*/
|
|
76
78
|
private _listByResourceGroup;
|
|
77
79
|
/**
|
|
78
|
-
* Gets all Virtual Instances for SAP in
|
|
80
|
+
* Gets all Virtual Instances for SAP solutions resources in a Subscription.
|
|
79
81
|
* @param options The options parameters.
|
|
80
82
|
*/
|
|
81
83
|
private _listBySubscription;
|
|
82
84
|
/**
|
|
83
|
-
* Starts the SAP
|
|
85
|
+
* Starts the SAP application, that is the Central Services instance and Application server instances.
|
|
84
86
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
85
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
87
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
86
88
|
* @param options The options parameters.
|
|
87
89
|
*/
|
|
88
|
-
beginStart(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStartOptionalParams): Promise<
|
|
90
|
+
beginStart(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<SAPVirtualInstancesStartResponse>, SAPVirtualInstancesStartResponse>>;
|
|
89
91
|
/**
|
|
90
|
-
* Starts the SAP
|
|
92
|
+
* Starts the SAP application, that is the Central Services instance and Application server instances.
|
|
91
93
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
92
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
94
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
93
95
|
* @param options The options parameters.
|
|
94
96
|
*/
|
|
95
97
|
beginStartAndWait(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStartOptionalParams): Promise<SAPVirtualInstancesStartResponse>;
|
|
96
98
|
/**
|
|
97
|
-
* Stops the SAP
|
|
99
|
+
* Stops the SAP Application, that is the Application server instances and Central Services instance.
|
|
98
100
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
101
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
100
102
|
* @param options The options parameters.
|
|
101
103
|
*/
|
|
102
|
-
beginStop(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStopOptionalParams): Promise<
|
|
104
|
+
beginStop(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStopOptionalParams): Promise<SimplePollerLike<OperationState<SAPVirtualInstancesStopResponse>, SAPVirtualInstancesStopResponse>>;
|
|
103
105
|
/**
|
|
104
|
-
* Stops the SAP
|
|
106
|
+
* Stops the SAP Application, that is the Application server instances and Central Services instance.
|
|
105
107
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
106
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
108
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
107
109
|
* @param options The options parameters.
|
|
108
110
|
*/
|
|
109
111
|
beginStopAndWait(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStopOptionalParams): Promise<SAPVirtualInstancesStopResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sAPVirtualInstances.d.ts","sourceRoot":"","sources":["../../../src/operations/sAPVirtualInstances.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"sAPVirtualInstances.d.ts","sourceRoot":"","sources":["../../../src/operations/sAPVirtualInstances.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAI9D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,kBAAkB,EAElB,oDAAoD,EAGpD,mDAAmD,EAEnD,uCAAuC,EACvC,iCAAiC,EACjC,oCAAoC,EACpC,8BAA8B,EAC9B,uCAAuC,EACvC,iCAAiC,EACjC,uCAAuC,EACvC,iCAAiC,EACjC,sCAAsC,EACtC,gCAAgC,EAChC,qCAAqC,EACrC,+BAA+B,EAGhC,MAAM,WAAW,CAAC;AAGnB,uDAAuD;AACvD,qBAAa,uBAAwB,YAAW,mBAAmB;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,0BAA0B,CAAC,kBAAkB,CAAC;YAsBlC,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,kBAAkB,CAAC;YAkBlC,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;;OAKG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CACF;IAwDD;;;;;OAKG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAS7C;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAO7C;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CACF;IAyDD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAS7C;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;OAKG;IACG,UAAU,CACd,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gCAAgC,CAAC,EAChD,gCAAgC,CACjC,CACF;IAwDD;;;;;OAKG;IACG,iBAAiB,CACrB,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAS5C;;;;;OAKG;IACG,SAAS,CACb,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,+BAA+B,CAAC,EAC/C,+BAA+B,CAChC,CACF;IAwDD;;;;;OAKG;IACG,gBAAgB,CACpB,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAS3C;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
|
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
9
10
|
import * as coreClient from "@azure/core-client";
|
|
10
11
|
import * as Mappers from "../models/mappers";
|
|
11
12
|
import * as Parameters from "../models/parameters";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
13
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
14
|
+
import { createLroSpec } from "../lroImpl";
|
|
14
15
|
/// <reference lib="esnext.asynciterable" />
|
|
15
16
|
/** Class containing SAPVirtualInstances operations. */
|
|
16
17
|
export class SAPVirtualInstancesImpl {
|
|
@@ -22,7 +23,7 @@ export class SAPVirtualInstancesImpl {
|
|
|
22
23
|
this.client = client;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
25
|
-
* Gets all Virtual Instances for SAP in a
|
|
26
|
+
* Gets all Virtual Instances for SAP solutions resources in a Resource Group.
|
|
26
27
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
28
|
* @param options The options parameters.
|
|
28
29
|
*/
|
|
@@ -35,43 +36,61 @@ export class SAPVirtualInstancesImpl {
|
|
|
35
36
|
[Symbol.asyncIterator]() {
|
|
36
37
|
return this;
|
|
37
38
|
},
|
|
38
|
-
byPage: () => {
|
|
39
|
-
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
40
44
|
}
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
47
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
44
48
|
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
45
|
-
let result
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield yield __await(page);
|
|
57
|
+
}
|
|
48
58
|
while (continuationToken) {
|
|
49
59
|
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
50
60
|
continuationToken = result.nextLink;
|
|
51
|
-
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield yield __await(page);
|
|
52
64
|
}
|
|
53
65
|
});
|
|
54
66
|
}
|
|
55
67
|
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
56
68
|
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
57
|
-
var e_1,
|
|
69
|
+
var _a, e_1, _b, _c;
|
|
58
70
|
try {
|
|
59
|
-
for (var
|
|
60
|
-
|
|
61
|
-
|
|
71
|
+
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
|
|
72
|
+
_c = _f.value;
|
|
73
|
+
_d = false;
|
|
74
|
+
try {
|
|
75
|
+
const page = _c;
|
|
76
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
77
|
+
}
|
|
78
|
+
finally {
|
|
79
|
+
_d = true;
|
|
80
|
+
}
|
|
62
81
|
}
|
|
63
82
|
}
|
|
64
83
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
84
|
finally {
|
|
66
85
|
try {
|
|
67
|
-
if (
|
|
86
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
68
87
|
}
|
|
69
88
|
finally { if (e_1) throw e_1.error; }
|
|
70
89
|
}
|
|
71
90
|
});
|
|
72
91
|
}
|
|
73
92
|
/**
|
|
74
|
-
* Gets all Virtual Instances for SAP in
|
|
93
|
+
* Gets all Virtual Instances for SAP solutions resources in a Subscription.
|
|
75
94
|
* @param options The options parameters.
|
|
76
95
|
*/
|
|
77
96
|
listBySubscription(options) {
|
|
@@ -83,45 +102,63 @@ export class SAPVirtualInstancesImpl {
|
|
|
83
102
|
[Symbol.asyncIterator]() {
|
|
84
103
|
return this;
|
|
85
104
|
},
|
|
86
|
-
byPage: () => {
|
|
87
|
-
|
|
105
|
+
byPage: (settings) => {
|
|
106
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
107
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
108
|
+
}
|
|
109
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
88
110
|
}
|
|
89
111
|
};
|
|
90
112
|
}
|
|
91
|
-
listBySubscriptionPagingPage(options) {
|
|
113
|
+
listBySubscriptionPagingPage(options, settings) {
|
|
92
114
|
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
93
|
-
let result
|
|
94
|
-
|
|
95
|
-
|
|
115
|
+
let result;
|
|
116
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
117
|
+
if (!continuationToken) {
|
|
118
|
+
result = yield __await(this._listBySubscription(options));
|
|
119
|
+
let page = result.value || [];
|
|
120
|
+
continuationToken = result.nextLink;
|
|
121
|
+
setContinuationToken(page, continuationToken);
|
|
122
|
+
yield yield __await(page);
|
|
123
|
+
}
|
|
96
124
|
while (continuationToken) {
|
|
97
125
|
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
|
98
126
|
continuationToken = result.nextLink;
|
|
99
|
-
|
|
127
|
+
let page = result.value || [];
|
|
128
|
+
setContinuationToken(page, continuationToken);
|
|
129
|
+
yield yield __await(page);
|
|
100
130
|
}
|
|
101
131
|
});
|
|
102
132
|
}
|
|
103
133
|
listBySubscriptionPagingAll(options) {
|
|
104
134
|
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
105
|
-
var e_2,
|
|
135
|
+
var _a, e_2, _b, _c;
|
|
106
136
|
try {
|
|
107
|
-
for (var
|
|
108
|
-
|
|
109
|
-
|
|
137
|
+
for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
|
|
138
|
+
_c = _f.value;
|
|
139
|
+
_d = false;
|
|
140
|
+
try {
|
|
141
|
+
const page = _c;
|
|
142
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
143
|
+
}
|
|
144
|
+
finally {
|
|
145
|
+
_d = true;
|
|
146
|
+
}
|
|
110
147
|
}
|
|
111
148
|
}
|
|
112
149
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
113
150
|
finally {
|
|
114
151
|
try {
|
|
115
|
-
if (
|
|
152
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
116
153
|
}
|
|
117
154
|
finally { if (e_2) throw e_2.error; }
|
|
118
155
|
}
|
|
119
156
|
});
|
|
120
157
|
}
|
|
121
158
|
/**
|
|
122
|
-
* Creates
|
|
159
|
+
* Creates a Virtual Instance for SAP solutions (VIS) resource
|
|
123
160
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
124
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
161
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
125
162
|
* @param options The options parameters.
|
|
126
163
|
*/
|
|
127
164
|
beginCreate(resourceGroupName, sapVirtualInstanceName, options) {
|
|
@@ -129,7 +166,7 @@ export class SAPVirtualInstancesImpl {
|
|
|
129
166
|
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
130
167
|
return this.client.sendOperationRequest(args, spec);
|
|
131
168
|
});
|
|
132
|
-
const
|
|
169
|
+
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
133
170
|
var _a;
|
|
134
171
|
let currentRawResponse = undefined;
|
|
135
172
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -148,9 +185,13 @@ export class SAPVirtualInstancesImpl {
|
|
|
148
185
|
}
|
|
149
186
|
};
|
|
150
187
|
});
|
|
151
|
-
const lro =
|
|
152
|
-
|
|
153
|
-
|
|
188
|
+
const lro = createLroSpec({
|
|
189
|
+
sendOperationFn,
|
|
190
|
+
args: { resourceGroupName, sapVirtualInstanceName, options },
|
|
191
|
+
spec: createOperationSpec
|
|
192
|
+
});
|
|
193
|
+
const poller = yield createHttpPoller(lro, {
|
|
194
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
154
195
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
155
196
|
});
|
|
156
197
|
yield poller.poll();
|
|
@@ -158,9 +199,9 @@ export class SAPVirtualInstancesImpl {
|
|
|
158
199
|
});
|
|
159
200
|
}
|
|
160
201
|
/**
|
|
161
|
-
* Creates
|
|
202
|
+
* Creates a Virtual Instance for SAP solutions (VIS) resource
|
|
162
203
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
163
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
204
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
164
205
|
* @param options The options parameters.
|
|
165
206
|
*/
|
|
166
207
|
beginCreateAndWait(resourceGroupName, sapVirtualInstanceName, options) {
|
|
@@ -170,27 +211,28 @@ export class SAPVirtualInstancesImpl {
|
|
|
170
211
|
});
|
|
171
212
|
}
|
|
172
213
|
/**
|
|
173
|
-
* Gets
|
|
214
|
+
* Gets a Virtual Instance for SAP solutions resource
|
|
174
215
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
175
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
216
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
176
217
|
* @param options The options parameters.
|
|
177
218
|
*/
|
|
178
219
|
get(resourceGroupName, sapVirtualInstanceName, options) {
|
|
179
220
|
return this.client.sendOperationRequest({ resourceGroupName, sapVirtualInstanceName, options }, getOperationSpec);
|
|
180
221
|
}
|
|
181
222
|
/**
|
|
182
|
-
* Updates
|
|
223
|
+
* Updates a Virtual Instance for SAP solutions resource
|
|
183
224
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
184
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
225
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
185
226
|
* @param options The options parameters.
|
|
186
227
|
*/
|
|
187
228
|
update(resourceGroupName, sapVirtualInstanceName, options) {
|
|
188
229
|
return this.client.sendOperationRequest({ resourceGroupName, sapVirtualInstanceName, options }, updateOperationSpec);
|
|
189
230
|
}
|
|
190
231
|
/**
|
|
191
|
-
* Deletes
|
|
232
|
+
* Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the
|
|
233
|
+
* associated Central Services Instance, Application Server Instances and Database Instance.
|
|
192
234
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
193
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
235
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
194
236
|
* @param options The options parameters.
|
|
195
237
|
*/
|
|
196
238
|
beginDelete(resourceGroupName, sapVirtualInstanceName, options) {
|
|
@@ -198,7 +240,7 @@ export class SAPVirtualInstancesImpl {
|
|
|
198
240
|
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
199
241
|
return this.client.sendOperationRequest(args, spec);
|
|
200
242
|
});
|
|
201
|
-
const
|
|
243
|
+
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
202
244
|
var _a;
|
|
203
245
|
let currentRawResponse = undefined;
|
|
204
246
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -217,20 +259,25 @@ export class SAPVirtualInstancesImpl {
|
|
|
217
259
|
}
|
|
218
260
|
};
|
|
219
261
|
});
|
|
220
|
-
const lro =
|
|
221
|
-
|
|
222
|
-
|
|
262
|
+
const lro = createLroSpec({
|
|
263
|
+
sendOperationFn,
|
|
264
|
+
args: { resourceGroupName, sapVirtualInstanceName, options },
|
|
265
|
+
spec: deleteOperationSpec
|
|
266
|
+
});
|
|
267
|
+
const poller = yield createHttpPoller(lro, {
|
|
268
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
223
269
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
224
|
-
|
|
270
|
+
resourceLocationConfig: "azure-async-operation"
|
|
225
271
|
});
|
|
226
272
|
yield poller.poll();
|
|
227
273
|
return poller;
|
|
228
274
|
});
|
|
229
275
|
}
|
|
230
276
|
/**
|
|
231
|
-
* Deletes
|
|
277
|
+
* Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the
|
|
278
|
+
* associated Central Services Instance, Application Server Instances and Database Instance.
|
|
232
279
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
233
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
280
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
234
281
|
* @param options The options parameters.
|
|
235
282
|
*/
|
|
236
283
|
beginDeleteAndWait(resourceGroupName, sapVirtualInstanceName, options) {
|
|
@@ -240,7 +287,7 @@ export class SAPVirtualInstancesImpl {
|
|
|
240
287
|
});
|
|
241
288
|
}
|
|
242
289
|
/**
|
|
243
|
-
* Gets all Virtual Instances for SAP in a
|
|
290
|
+
* Gets all Virtual Instances for SAP solutions resources in a Resource Group.
|
|
244
291
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
245
292
|
* @param options The options parameters.
|
|
246
293
|
*/
|
|
@@ -248,16 +295,16 @@ export class SAPVirtualInstancesImpl {
|
|
|
248
295
|
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
249
296
|
}
|
|
250
297
|
/**
|
|
251
|
-
* Gets all Virtual Instances for SAP in
|
|
298
|
+
* Gets all Virtual Instances for SAP solutions resources in a Subscription.
|
|
252
299
|
* @param options The options parameters.
|
|
253
300
|
*/
|
|
254
301
|
_listBySubscription(options) {
|
|
255
302
|
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
256
303
|
}
|
|
257
304
|
/**
|
|
258
|
-
* Starts the SAP
|
|
305
|
+
* Starts the SAP application, that is the Central Services instance and Application server instances.
|
|
259
306
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
260
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
307
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
261
308
|
* @param options The options parameters.
|
|
262
309
|
*/
|
|
263
310
|
beginStart(resourceGroupName, sapVirtualInstanceName, options) {
|
|
@@ -265,7 +312,7 @@ export class SAPVirtualInstancesImpl {
|
|
|
265
312
|
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
266
313
|
return this.client.sendOperationRequest(args, spec);
|
|
267
314
|
});
|
|
268
|
-
const
|
|
315
|
+
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
269
316
|
var _a;
|
|
270
317
|
let currentRawResponse = undefined;
|
|
271
318
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -284,9 +331,13 @@ export class SAPVirtualInstancesImpl {
|
|
|
284
331
|
}
|
|
285
332
|
};
|
|
286
333
|
});
|
|
287
|
-
const lro =
|
|
288
|
-
|
|
289
|
-
|
|
334
|
+
const lro = createLroSpec({
|
|
335
|
+
sendOperationFn,
|
|
336
|
+
args: { resourceGroupName, sapVirtualInstanceName, options },
|
|
337
|
+
spec: startOperationSpec
|
|
338
|
+
});
|
|
339
|
+
const poller = yield createHttpPoller(lro, {
|
|
340
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
290
341
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
291
342
|
});
|
|
292
343
|
yield poller.poll();
|
|
@@ -294,9 +345,9 @@ export class SAPVirtualInstancesImpl {
|
|
|
294
345
|
});
|
|
295
346
|
}
|
|
296
347
|
/**
|
|
297
|
-
* Starts the SAP
|
|
348
|
+
* Starts the SAP application, that is the Central Services instance and Application server instances.
|
|
298
349
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
299
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
350
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
300
351
|
* @param options The options parameters.
|
|
301
352
|
*/
|
|
302
353
|
beginStartAndWait(resourceGroupName, sapVirtualInstanceName, options) {
|
|
@@ -306,9 +357,9 @@ export class SAPVirtualInstancesImpl {
|
|
|
306
357
|
});
|
|
307
358
|
}
|
|
308
359
|
/**
|
|
309
|
-
* Stops the SAP
|
|
360
|
+
* Stops the SAP Application, that is the Application server instances and Central Services instance.
|
|
310
361
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
311
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
362
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
312
363
|
* @param options The options parameters.
|
|
313
364
|
*/
|
|
314
365
|
beginStop(resourceGroupName, sapVirtualInstanceName, options) {
|
|
@@ -316,7 +367,7 @@ export class SAPVirtualInstancesImpl {
|
|
|
316
367
|
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
317
368
|
return this.client.sendOperationRequest(args, spec);
|
|
318
369
|
});
|
|
319
|
-
const
|
|
370
|
+
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
320
371
|
var _a;
|
|
321
372
|
let currentRawResponse = undefined;
|
|
322
373
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -335,9 +386,13 @@ export class SAPVirtualInstancesImpl {
|
|
|
335
386
|
}
|
|
336
387
|
};
|
|
337
388
|
});
|
|
338
|
-
const lro =
|
|
339
|
-
|
|
340
|
-
|
|
389
|
+
const lro = createLroSpec({
|
|
390
|
+
sendOperationFn,
|
|
391
|
+
args: { resourceGroupName, sapVirtualInstanceName, options },
|
|
392
|
+
spec: stopOperationSpec
|
|
393
|
+
});
|
|
394
|
+
const poller = yield createHttpPoller(lro, {
|
|
395
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
341
396
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
342
397
|
});
|
|
343
398
|
yield poller.poll();
|
|
@@ -345,9 +400,9 @@ export class SAPVirtualInstancesImpl {
|
|
|
345
400
|
});
|
|
346
401
|
}
|
|
347
402
|
/**
|
|
348
|
-
* Stops the SAP
|
|
403
|
+
* Stops the SAP Application, that is the Application server instances and Central Services instance.
|
|
349
404
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
350
|
-
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP
|
|
405
|
+
* @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource
|
|
351
406
|
* @param options The options parameters.
|
|
352
407
|
*/
|
|
353
408
|
beginStopAndWait(resourceGroupName, sapVirtualInstanceName, options) {
|
|
@@ -404,7 +459,7 @@ const createOperationSpec = {
|
|
|
404
459
|
Parameters.resourceGroupName,
|
|
405
460
|
Parameters.sapVirtualInstanceName
|
|
406
461
|
],
|
|
407
|
-
headerParameters: [Parameters.
|
|
462
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
408
463
|
mediaType: "json",
|
|
409
464
|
serializer
|
|
410
465
|
};
|
|
@@ -448,7 +503,7 @@ const updateOperationSpec = {
|
|
|
448
503
|
Parameters.resourceGroupName,
|
|
449
504
|
Parameters.sapVirtualInstanceName
|
|
450
505
|
],
|
|
451
|
-
headerParameters: [Parameters.
|
|
506
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
452
507
|
mediaType: "json",
|
|
453
508
|
serializer
|
|
454
509
|
};
|
|
@@ -576,7 +631,7 @@ const stopOperationSpec = {
|
|
|
576
631
|
Parameters.resourceGroupName,
|
|
577
632
|
Parameters.sapVirtualInstanceName
|
|
578
633
|
],
|
|
579
|
-
headerParameters: [Parameters.
|
|
634
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
580
635
|
mediaType: "json",
|
|
581
636
|
serializer
|
|
582
637
|
};
|
|
@@ -591,7 +646,6 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
591
646
|
bodyMapper: Mappers.ErrorResponse
|
|
592
647
|
}
|
|
593
648
|
},
|
|
594
|
-
queryParameters: [Parameters.apiVersion],
|
|
595
649
|
urlParameters: [
|
|
596
650
|
Parameters.$host,
|
|
597
651
|
Parameters.subscriptionId,
|
|
@@ -612,7 +666,6 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
612
666
|
bodyMapper: Mappers.ErrorResponse
|
|
613
667
|
}
|
|
614
668
|
},
|
|
615
|
-
queryParameters: [Parameters.apiVersion],
|
|
616
669
|
urlParameters: [
|
|
617
670
|
Parameters.$host,
|
|
618
671
|
Parameters.subscriptionId,
|