@azure/arm-oracledatabase 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 +12276 -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/autonomousDatabaseBackupsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsCreateOrUpdateSample.js +47 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsGetSample.js +40 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsListByAutonomousDatabaseSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsListByAutonomousDatabaseSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsListByAutonomousDatabaseSample.js +55 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsListByAutonomousDatabaseSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsUpdateSample.js +41 -0
- package/dist-esm/samples-dev/autonomousDatabaseBackupsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseCharacterSetsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseCharacterSetsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseCharacterSetsGetSample.js +39 -0
- package/dist-esm/samples-dev/autonomousDatabaseCharacterSetsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseCharacterSetsListByLocationSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseCharacterSetsListByLocationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseCharacterSetsListByLocationSample.js +54 -0
- package/dist-esm/samples-dev/autonomousDatabaseCharacterSetsListByLocationSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseNationalCharacterSetsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseNationalCharacterSetsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseNationalCharacterSetsGetSample.js +39 -0
- package/dist-esm/samples-dev/autonomousDatabaseNationalCharacterSetsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseNationalCharacterSetsListByLocationSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseNationalCharacterSetsListByLocationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseNationalCharacterSetsListByLocationSample.js +54 -0
- package/dist-esm/samples-dev/autonomousDatabaseNationalCharacterSetsListByLocationSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseVersionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseVersionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseVersionsGetSample.js +39 -0
- package/dist-esm/samples-dev/autonomousDatabaseVersionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseVersionsListByLocationSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabaseVersionsListByLocationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabaseVersionsListByLocationSample.js +54 -0
- package/dist-esm/samples-dev/autonomousDatabaseVersionsListByLocationSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabasesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesCreateOrUpdateSample.js +93 -0
- package/dist-esm/samples-dev/autonomousDatabasesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabasesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesDeleteSample.js +39 -0
- package/dist-esm/samples-dev/autonomousDatabasesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesFailoverSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabasesFailoverSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesFailoverSample.js +40 -0
- package/dist-esm/samples-dev/autonomousDatabasesFailoverSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesGenerateWalletSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabasesGenerateWalletSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesGenerateWalletSample.js +44 -0
- package/dist-esm/samples-dev/autonomousDatabasesGenerateWalletSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabasesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesGetSample.js +39 -0
- package/dist-esm/samples-dev/autonomousDatabasesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabasesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesListByResourceGroupSample.js +54 -0
- package/dist-esm/samples-dev/autonomousDatabasesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabasesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesListBySubscriptionSample.js +53 -0
- package/dist-esm/samples-dev/autonomousDatabasesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesSwitchoverSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabasesSwitchoverSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesSwitchoverSample.js +40 -0
- package/dist-esm/samples-dev/autonomousDatabasesSwitchoverSample.js.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/autonomousDatabasesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autonomousDatabasesUpdateSample.js +40 -0
- package/dist-esm/samples-dev/autonomousDatabasesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresAddStorageCapacitySample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresAddStorageCapacitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresAddStorageCapacitySample.js +39 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresAddStorageCapacitySample.js.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresCreateOrUpdateSample.js +50 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresDeleteSample.js +39 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresGetSample.js +39 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresGetSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresListByResourceGroupSample.js +54 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresListBySubscriptionSample.js +53 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresUpdateSample.js +40 -0
- package/dist-esm/samples-dev/cloudExadataInfrastructuresUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersAddVmsSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudVMClustersAddVmsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersAddVmsSample.js +40 -0
- package/dist-esm/samples-dev/cloudVMClustersAddVmsSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudVMClustersCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersCreateOrUpdateSample.js +80 -0
- package/dist-esm/samples-dev/cloudVMClustersCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudVMClustersDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersDeleteSample.js +39 -0
- package/dist-esm/samples-dev/cloudVMClustersDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudVMClustersGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersGetSample.js +39 -0
- package/dist-esm/samples-dev/cloudVMClustersGetSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudVMClustersListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersListByResourceGroupSample.js +54 -0
- package/dist-esm/samples-dev/cloudVMClustersListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudVMClustersListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersListBySubscriptionSample.js +53 -0
- package/dist-esm/samples-dev/cloudVMClustersListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersListPrivateIPAddressesSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudVMClustersListPrivateIPAddressesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersListPrivateIPAddressesSample.js +43 -0
- package/dist-esm/samples-dev/cloudVMClustersListPrivateIPAddressesSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersRemoveVmsSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudVMClustersRemoveVmsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersRemoveVmsSample.js +40 -0
- package/dist-esm/samples-dev/cloudVMClustersRemoveVmsSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudVMClustersUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudVMClustersUpdateSample.js +40 -0
- package/dist-esm/samples-dev/cloudVMClustersUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/dbNodesActionSample.d.ts +2 -0
- package/dist-esm/samples-dev/dbNodesActionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dbNodesActionSample.js +41 -0
- package/dist-esm/samples-dev/dbNodesActionSample.js.map +1 -0
- package/dist-esm/samples-dev/dbNodesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dbNodesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dbNodesGetSample.js +40 -0
- package/dist-esm/samples-dev/dbNodesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dbNodesListByCloudVMClusterSample.d.ts +2 -0
- package/dist-esm/samples-dev/dbNodesListByCloudVMClusterSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dbNodesListByCloudVMClusterSample.js +55 -0
- package/dist-esm/samples-dev/dbNodesListByCloudVMClusterSample.js.map +1 -0
- package/dist-esm/samples-dev/dbServersGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dbServersGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dbServersGetSample.js +40 -0
- package/dist-esm/samples-dev/dbServersGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dbServersListByCloudExadataInfrastructureSample.d.ts +2 -0
- package/dist-esm/samples-dev/dbServersListByCloudExadataInfrastructureSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dbServersListByCloudExadataInfrastructureSample.js +55 -0
- package/dist-esm/samples-dev/dbServersListByCloudExadataInfrastructureSample.js.map +1 -0
- package/dist-esm/samples-dev/dbSystemShapesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dbSystemShapesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dbSystemShapesGetSample.js +39 -0
- package/dist-esm/samples-dev/dbSystemShapesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dbSystemShapesListByLocationSample.d.ts +2 -0
- package/dist-esm/samples-dev/dbSystemShapesListByLocationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dbSystemShapesListByLocationSample.js +54 -0
- package/dist-esm/samples-dev/dbSystemShapesListByLocationSample.js.map +1 -0
- package/dist-esm/samples-dev/dnsPrivateViewsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dnsPrivateViewsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dnsPrivateViewsGetSample.js +39 -0
- package/dist-esm/samples-dev/dnsPrivateViewsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dnsPrivateViewsListByLocationSample.d.ts +2 -0
- package/dist-esm/samples-dev/dnsPrivateViewsListByLocationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dnsPrivateViewsListByLocationSample.js +54 -0
- package/dist-esm/samples-dev/dnsPrivateViewsListByLocationSample.js.map +1 -0
- package/dist-esm/samples-dev/dnsPrivateZonesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dnsPrivateZonesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dnsPrivateZonesGetSample.js +39 -0
- package/dist-esm/samples-dev/dnsPrivateZonesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dnsPrivateZonesListByLocationSample.d.ts +2 -0
- package/dist-esm/samples-dev/dnsPrivateZonesListByLocationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dnsPrivateZonesListByLocationSample.js +54 -0
- package/dist-esm/samples-dev/dnsPrivateZonesListByLocationSample.js.map +1 -0
- package/dist-esm/samples-dev/giVersionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/giVersionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/giVersionsGetSample.js +39 -0
- package/dist-esm/samples-dev/giVersionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/giVersionsListByLocationSample.d.ts +2 -0
- package/dist-esm/samples-dev/giVersionsListByLocationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/giVersionsListByLocationSample.js +54 -0
- package/dist-esm/samples-dev/giVersionsListByLocationSample.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 +53 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/oracleSubscriptionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsCreateOrUpdateSample.js +47 -0
- package/dist-esm/samples-dev/oracleSubscriptionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/oracleSubscriptionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsDeleteSample.js +37 -0
- package/dist-esm/samples-dev/oracleSubscriptionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/oracleSubscriptionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsGetSample.js +37 -0
- package/dist-esm/samples-dev/oracleSubscriptionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListActivationLinksSample.d.ts +2 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListActivationLinksSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListActivationLinksSample.js +37 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListActivationLinksSample.js.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListBySubscriptionSample.js +53 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListCloudAccountDetailsSample.d.ts +2 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListCloudAccountDetailsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListCloudAccountDetailsSample.js +37 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListCloudAccountDetailsSample.js.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListSaasSubscriptionDetailsSample.d.ts +2 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListSaasSubscriptionDetailsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListSaasSubscriptionDetailsSample.js +37 -0
- package/dist-esm/samples-dev/oracleSubscriptionsListSaasSubscriptionDetailsSample.js.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/oracleSubscriptionsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/oracleSubscriptionsUpdateSample.js +38 -0
- package/dist-esm/samples-dev/oracleSubscriptionsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesCreateOrUpdateSample.js +43 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesGetSample.js +40 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesListByCloudVMClusterSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesListByCloudVMClusterSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesListByCloudVMClusterSample.js +55 -0
- package/dist-esm/samples-dev/virtualNetworkAddressesListByCloudVMClusterSample.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +11 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +21 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +4050 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +660 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +134 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +5548 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +40 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +325 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/autonomousDatabaseBackups.d.ts +100 -0
- package/dist-esm/src/operations/autonomousDatabaseBackups.d.ts.map +1 -0
- package/dist-esm/src/operations/autonomousDatabaseBackups.js +472 -0
- package/dist-esm/src/operations/autonomousDatabaseBackups.js.map +1 -0
- package/dist-esm/src/operations/autonomousDatabaseCharacterSets.d.ts +42 -0
- package/dist-esm/src/operations/autonomousDatabaseCharacterSets.d.ts.map +1 -0
- package/dist-esm/src/operations/autonomousDatabaseCharacterSets.js +175 -0
- package/dist-esm/src/operations/autonomousDatabaseCharacterSets.js.map +1 -0
- package/dist-esm/src/operations/autonomousDatabaseNationalCharacterSets.d.ts +42 -0
- package/dist-esm/src/operations/autonomousDatabaseNationalCharacterSets.d.ts.map +1 -0
- package/dist-esm/src/operations/autonomousDatabaseNationalCharacterSets.js +175 -0
- package/dist-esm/src/operations/autonomousDatabaseNationalCharacterSets.js.map +1 -0
- package/dist-esm/src/operations/autonomousDatabaseVersions.d.ts +42 -0
- package/dist-esm/src/operations/autonomousDatabaseVersions.d.ts.map +1 -0
- package/dist-esm/src/operations/autonomousDatabaseVersions.js +175 -0
- package/dist-esm/src/operations/autonomousDatabaseVersions.js.map +1 -0
- package/dist-esm/src/operations/autonomousDatabases.d.ts +147 -0
- package/dist-esm/src/operations/autonomousDatabases.d.ts.map +1 -0
- package/dist-esm/src/operations/autonomousDatabases.js +767 -0
- package/dist-esm/src/operations/autonomousDatabases.js.map +1 -0
- package/dist-esm/src/operations/cloudExadataInfrastructures.d.ts +121 -0
- package/dist-esm/src/operations/cloudExadataInfrastructures.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudExadataInfrastructures.js +650 -0
- package/dist-esm/src/operations/cloudExadataInfrastructures.js.map +1 -0
- package/dist-esm/src/operations/cloudVmClusters.d.ts +147 -0
- package/dist-esm/src/operations/cloudVmClusters.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudVmClusters.js +777 -0
- package/dist-esm/src/operations/cloudVmClusters.js.map +1 -0
- package/dist-esm/src/operations/dbNodes.d.ts +65 -0
- package/dist-esm/src/operations/dbNodes.d.ts.map +1 -0
- package/dist-esm/src/operations/dbNodes.js +283 -0
- package/dist-esm/src/operations/dbNodes.js.map +1 -0
- package/dist-esm/src/operations/dbServers.d.ts +47 -0
- package/dist-esm/src/operations/dbServers.d.ts.map +1 -0
- package/dist-esm/src/operations/dbServers.js +188 -0
- package/dist-esm/src/operations/dbServers.js.map +1 -0
- package/dist-esm/src/operations/dbSystemShapes.d.ts +42 -0
- package/dist-esm/src/operations/dbSystemShapes.d.ts.map +1 -0
- package/dist-esm/src/operations/dbSystemShapes.js +175 -0
- package/dist-esm/src/operations/dbSystemShapes.js.map +1 -0
- package/dist-esm/src/operations/dnsPrivateViews.d.ts +42 -0
- package/dist-esm/src/operations/dnsPrivateViews.d.ts.map +1 -0
- package/dist-esm/src/operations/dnsPrivateViews.js +175 -0
- package/dist-esm/src/operations/dnsPrivateViews.js.map +1 -0
- package/dist-esm/src/operations/dnsPrivateZones.d.ts +42 -0
- package/dist-esm/src/operations/dnsPrivateZones.d.ts.map +1 -0
- package/dist-esm/src/operations/dnsPrivateZones.js +175 -0
- package/dist-esm/src/operations/dnsPrivateZones.js.map +1 -0
- package/dist-esm/src/operations/giVersions.d.ts +42 -0
- package/dist-esm/src/operations/giVersions.d.ts.map +1 -0
- package/dist-esm/src/operations/giVersions.js +175 -0
- package/dist-esm/src/operations/giVersions.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +17 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +24 -0
- package/dist-esm/src/operations/index.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 +133 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/oracleSubscriptions.d.ts +102 -0
- package/dist-esm/src/operations/oracleSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/oracleSubscriptions.js +632 -0
- package/dist-esm/src/operations/oracleSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/virtualNetworkAddresses.d.ts +81 -0
- package/dist-esm/src/operations/virtualNetworkAddresses.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualNetworkAddresses.js +382 -0
- package/dist-esm/src/operations/virtualNetworkAddresses.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseBackups.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseBackups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseBackups.js +9 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseBackups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseCharacterSets.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseCharacterSets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseCharacterSets.js +9 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseCharacterSets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseNationalCharacterSets.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseNationalCharacterSets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseNationalCharacterSets.js +9 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseNationalCharacterSets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseVersions.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseVersions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseVersions.js +9 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabaseVersions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabases.d.ts +111 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabases.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabases.js +9 -0
- package/dist-esm/src/operationsInterfaces/autonomousDatabases.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudExadataInfrastructures.d.ts +85 -0
- package/dist-esm/src/operationsInterfaces/cloudExadataInfrastructures.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudExadataInfrastructures.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudExadataInfrastructures.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudVmClusters.d.ts +111 -0
- package/dist-esm/src/operationsInterfaces/cloudVmClusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudVmClusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudVmClusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dbNodes.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/dbNodes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dbNodes.js +9 -0
- package/dist-esm/src/operationsInterfaces/dbNodes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dbServers.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/dbServers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dbServers.js +9 -0
- package/dist-esm/src/operationsInterfaces/dbServers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dbSystemShapes.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/dbSystemShapes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dbSystemShapes.js +9 -0
- package/dist-esm/src/operationsInterfaces/dbSystemShapes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnsPrivateViews.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/dnsPrivateViews.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnsPrivateViews.js +9 -0
- package/dist-esm/src/operationsInterfaces/dnsPrivateViews.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnsPrivateZones.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/dnsPrivateZones.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnsPrivateZones.js +9 -0
- package/dist-esm/src/operationsInterfaces/dnsPrivateZones.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/giVersions.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/giVersions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/giVersions.js +9 -0
- package/dist-esm/src/operationsInterfaces/giVersions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +24 -0
- package/dist-esm/src/operationsInterfaces/index.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/oracleSubscriptions.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/oracleSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/oracleSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/oracleSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkAddresses.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkAddresses.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkAddresses.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkAddresses.js.map +1 -0
- package/dist-esm/src/oracleDatabaseManagementClient.d.ts +35 -0
- package/dist-esm/src/oracleDatabaseManagementClient.d.ts.map +1 -0
- package/dist-esm/src/oracleDatabaseManagementClient.js +117 -0
- package/dist-esm/src/oracleDatabaseManagementClient.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/test/oracledatabase_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/oracledatabase_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/oracledatabase_operations_test.spec.js +70 -0
- package/dist-esm/test/oracledatabase_operations_test.spec.js.map +1 -0
- package/package.json +118 -0
- package/review/arm-oracledatabase.api.md +2534 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +42 -0
- package/src/models/index.ts +4524 -0
- package/src/models/mappers.ts +5770 -0
- package/src/models/parameters.ts +385 -0
- package/src/operations/autonomousDatabaseBackups.ts +664 -0
- package/src/operations/autonomousDatabaseCharacterSets.ts +215 -0
- package/src/operations/autonomousDatabaseNationalCharacterSets.ts +215 -0
- package/src/operations/autonomousDatabaseVersions.ts +215 -0
- package/src/operations/autonomousDatabases.ts +1032 -0
- package/src/operations/cloudExadataInfrastructures.ts +862 -0
- package/src/operations/cloudVmClusters.ts +1042 -0
- package/src/operations/dbNodes.ts +392 -0
- package/src/operations/dbServers.ts +252 -0
- package/src/operations/dbSystemShapes.ts +213 -0
- package/src/operations/dnsPrivateViews.ts +213 -0
- package/src/operations/dnsPrivateZones.ts +213 -0
- package/src/operations/giVersions.ts +213 -0
- package/src/operations/index.ts +24 -0
- package/src/operations/operations.ts +149 -0
- package/src/operations/oracleSubscriptions.ts +833 -0
- package/src/operations/virtualNetworkAddresses.ts +529 -0
- package/src/operationsInterfaces/autonomousDatabaseBackups.ts +153 -0
- package/src/operationsInterfaces/autonomousDatabaseCharacterSets.ts +40 -0
- package/src/operationsInterfaces/autonomousDatabaseNationalCharacterSets.ts +40 -0
- package/src/operationsInterfaces/autonomousDatabaseVersions.ts +40 -0
- package/src/operationsInterfaces/autonomousDatabases.ts +228 -0
- package/src/operationsInterfaces/cloudExadataInfrastructures.ts +174 -0
- package/src/operationsInterfaces/cloudVmClusters.ts +228 -0
- package/src/operationsInterfaces/dbNodes.ts +83 -0
- package/src/operationsInterfaces/dbServers.ts +44 -0
- package/src/operationsInterfaces/dbSystemShapes.ts +40 -0
- package/src/operationsInterfaces/dnsPrivateViews.ts +40 -0
- package/src/operationsInterfaces/dnsPrivateZones.ts +40 -0
- package/src/operationsInterfaces/giVersions.ts +40 -0
- package/src/operationsInterfaces/index.ts +24 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/oracleSubscriptions.ts +170 -0
- package/src/operationsInterfaces/virtualNetworkAddresses.ts +115 -0
- package/src/oracleDatabaseManagementClient.ts +209 -0
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +33 -0
- package/types/arm-oracledatabase.d.ts +5180 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,862 @@
|
|
|
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, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
+
import { CloudExadataInfrastructures } from "../operationsInterfaces";
|
|
12
|
+
import * as coreClient from "@azure/core-client";
|
|
13
|
+
import * as Mappers from "../models/mappers";
|
|
14
|
+
import * as Parameters from "../models/parameters";
|
|
15
|
+
import { OracleDatabaseManagementClient } from "../oracleDatabaseManagementClient";
|
|
16
|
+
import {
|
|
17
|
+
SimplePollerLike,
|
|
18
|
+
OperationState,
|
|
19
|
+
createHttpPoller,
|
|
20
|
+
} from "@azure/core-lro";
|
|
21
|
+
import { createLroSpec } from "../lroImpl";
|
|
22
|
+
import {
|
|
23
|
+
CloudExadataInfrastructure,
|
|
24
|
+
CloudExadataInfrastructuresListBySubscriptionNextOptionalParams,
|
|
25
|
+
CloudExadataInfrastructuresListBySubscriptionOptionalParams,
|
|
26
|
+
CloudExadataInfrastructuresListBySubscriptionResponse,
|
|
27
|
+
CloudExadataInfrastructuresListByResourceGroupNextOptionalParams,
|
|
28
|
+
CloudExadataInfrastructuresListByResourceGroupOptionalParams,
|
|
29
|
+
CloudExadataInfrastructuresListByResourceGroupResponse,
|
|
30
|
+
CloudExadataInfrastructuresGetOptionalParams,
|
|
31
|
+
CloudExadataInfrastructuresGetResponse,
|
|
32
|
+
CloudExadataInfrastructuresCreateOrUpdateOptionalParams,
|
|
33
|
+
CloudExadataInfrastructuresCreateOrUpdateResponse,
|
|
34
|
+
CloudExadataInfrastructureUpdate,
|
|
35
|
+
CloudExadataInfrastructuresUpdateOptionalParams,
|
|
36
|
+
CloudExadataInfrastructuresUpdateResponse,
|
|
37
|
+
CloudExadataInfrastructuresDeleteOptionalParams,
|
|
38
|
+
CloudExadataInfrastructuresDeleteResponse,
|
|
39
|
+
CloudExadataInfrastructuresAddStorageCapacityOptionalParams,
|
|
40
|
+
CloudExadataInfrastructuresAddStorageCapacityResponse,
|
|
41
|
+
CloudExadataInfrastructuresListBySubscriptionNextResponse,
|
|
42
|
+
CloudExadataInfrastructuresListByResourceGroupNextResponse,
|
|
43
|
+
} from "../models";
|
|
44
|
+
|
|
45
|
+
/// <reference lib="esnext.asynciterable" />
|
|
46
|
+
/** Class containing CloudExadataInfrastructures operations. */
|
|
47
|
+
export class CloudExadataInfrastructuresImpl
|
|
48
|
+
implements CloudExadataInfrastructures
|
|
49
|
+
{
|
|
50
|
+
private readonly client: OracleDatabaseManagementClient;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Initialize a new instance of the class CloudExadataInfrastructures class.
|
|
54
|
+
* @param client Reference to the service client
|
|
55
|
+
*/
|
|
56
|
+
constructor(client: OracleDatabaseManagementClient) {
|
|
57
|
+
this.client = client;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* List CloudExadataInfrastructure resources by subscription ID
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
public listBySubscription(
|
|
65
|
+
options?: CloudExadataInfrastructuresListBySubscriptionOptionalParams,
|
|
66
|
+
): PagedAsyncIterableIterator<CloudExadataInfrastructure> {
|
|
67
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
68
|
+
return {
|
|
69
|
+
next() {
|
|
70
|
+
return iter.next();
|
|
71
|
+
},
|
|
72
|
+
[Symbol.asyncIterator]() {
|
|
73
|
+
return this;
|
|
74
|
+
},
|
|
75
|
+
byPage: (settings?: PageSettings) => {
|
|
76
|
+
if (settings?.maxPageSize) {
|
|
77
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
78
|
+
}
|
|
79
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
private async *listBySubscriptionPagingPage(
|
|
85
|
+
options?: CloudExadataInfrastructuresListBySubscriptionOptionalParams,
|
|
86
|
+
settings?: PageSettings,
|
|
87
|
+
): AsyncIterableIterator<CloudExadataInfrastructure[]> {
|
|
88
|
+
let result: CloudExadataInfrastructuresListBySubscriptionResponse;
|
|
89
|
+
let continuationToken = settings?.continuationToken;
|
|
90
|
+
if (!continuationToken) {
|
|
91
|
+
result = await this._listBySubscription(options);
|
|
92
|
+
let page = result.value || [];
|
|
93
|
+
continuationToken = result.nextLink;
|
|
94
|
+
setContinuationToken(page, continuationToken);
|
|
95
|
+
yield page;
|
|
96
|
+
}
|
|
97
|
+
while (continuationToken) {
|
|
98
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
99
|
+
continuationToken = result.nextLink;
|
|
100
|
+
let page = result.value || [];
|
|
101
|
+
setContinuationToken(page, continuationToken);
|
|
102
|
+
yield page;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
private async *listBySubscriptionPagingAll(
|
|
107
|
+
options?: CloudExadataInfrastructuresListBySubscriptionOptionalParams,
|
|
108
|
+
): AsyncIterableIterator<CloudExadataInfrastructure> {
|
|
109
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
110
|
+
yield* page;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* List CloudExadataInfrastructure resources by resource group
|
|
116
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
public listByResourceGroup(
|
|
120
|
+
resourceGroupName: string,
|
|
121
|
+
options?: CloudExadataInfrastructuresListByResourceGroupOptionalParams,
|
|
122
|
+
): PagedAsyncIterableIterator<CloudExadataInfrastructure> {
|
|
123
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
124
|
+
return {
|
|
125
|
+
next() {
|
|
126
|
+
return iter.next();
|
|
127
|
+
},
|
|
128
|
+
[Symbol.asyncIterator]() {
|
|
129
|
+
return this;
|
|
130
|
+
},
|
|
131
|
+
byPage: (settings?: PageSettings) => {
|
|
132
|
+
if (settings?.maxPageSize) {
|
|
133
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
134
|
+
}
|
|
135
|
+
return this.listByResourceGroupPagingPage(
|
|
136
|
+
resourceGroupName,
|
|
137
|
+
options,
|
|
138
|
+
settings,
|
|
139
|
+
);
|
|
140
|
+
},
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
private async *listByResourceGroupPagingPage(
|
|
145
|
+
resourceGroupName: string,
|
|
146
|
+
options?: CloudExadataInfrastructuresListByResourceGroupOptionalParams,
|
|
147
|
+
settings?: PageSettings,
|
|
148
|
+
): AsyncIterableIterator<CloudExadataInfrastructure[]> {
|
|
149
|
+
let result: CloudExadataInfrastructuresListByResourceGroupResponse;
|
|
150
|
+
let continuationToken = settings?.continuationToken;
|
|
151
|
+
if (!continuationToken) {
|
|
152
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
153
|
+
let page = result.value || [];
|
|
154
|
+
continuationToken = result.nextLink;
|
|
155
|
+
setContinuationToken(page, continuationToken);
|
|
156
|
+
yield page;
|
|
157
|
+
}
|
|
158
|
+
while (continuationToken) {
|
|
159
|
+
result = await this._listByResourceGroupNext(
|
|
160
|
+
resourceGroupName,
|
|
161
|
+
continuationToken,
|
|
162
|
+
options,
|
|
163
|
+
);
|
|
164
|
+
continuationToken = result.nextLink;
|
|
165
|
+
let page = result.value || [];
|
|
166
|
+
setContinuationToken(page, continuationToken);
|
|
167
|
+
yield page;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
private async *listByResourceGroupPagingAll(
|
|
172
|
+
resourceGroupName: string,
|
|
173
|
+
options?: CloudExadataInfrastructuresListByResourceGroupOptionalParams,
|
|
174
|
+
): AsyncIterableIterator<CloudExadataInfrastructure> {
|
|
175
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
176
|
+
resourceGroupName,
|
|
177
|
+
options,
|
|
178
|
+
)) {
|
|
179
|
+
yield* page;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* List CloudExadataInfrastructure resources by subscription ID
|
|
185
|
+
* @param options The options parameters.
|
|
186
|
+
*/
|
|
187
|
+
private _listBySubscription(
|
|
188
|
+
options?: CloudExadataInfrastructuresListBySubscriptionOptionalParams,
|
|
189
|
+
): Promise<CloudExadataInfrastructuresListBySubscriptionResponse> {
|
|
190
|
+
return this.client.sendOperationRequest(
|
|
191
|
+
{ options },
|
|
192
|
+
listBySubscriptionOperationSpec,
|
|
193
|
+
);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* List CloudExadataInfrastructure resources by resource group
|
|
198
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
199
|
+
* @param options The options parameters.
|
|
200
|
+
*/
|
|
201
|
+
private _listByResourceGroup(
|
|
202
|
+
resourceGroupName: string,
|
|
203
|
+
options?: CloudExadataInfrastructuresListByResourceGroupOptionalParams,
|
|
204
|
+
): Promise<CloudExadataInfrastructuresListByResourceGroupResponse> {
|
|
205
|
+
return this.client.sendOperationRequest(
|
|
206
|
+
{ resourceGroupName, options },
|
|
207
|
+
listByResourceGroupOperationSpec,
|
|
208
|
+
);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Get a CloudExadataInfrastructure
|
|
213
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
214
|
+
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name
|
|
215
|
+
* @param options The options parameters.
|
|
216
|
+
*/
|
|
217
|
+
get(
|
|
218
|
+
resourceGroupName: string,
|
|
219
|
+
cloudexadatainfrastructurename: string,
|
|
220
|
+
options?: CloudExadataInfrastructuresGetOptionalParams,
|
|
221
|
+
): Promise<CloudExadataInfrastructuresGetResponse> {
|
|
222
|
+
return this.client.sendOperationRequest(
|
|
223
|
+
{ resourceGroupName, cloudexadatainfrastructurename, options },
|
|
224
|
+
getOperationSpec,
|
|
225
|
+
);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Create a CloudExadataInfrastructure
|
|
230
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
231
|
+
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name
|
|
232
|
+
* @param resource Resource create parameters.
|
|
233
|
+
* @param options The options parameters.
|
|
234
|
+
*/
|
|
235
|
+
async beginCreateOrUpdate(
|
|
236
|
+
resourceGroupName: string,
|
|
237
|
+
cloudexadatainfrastructurename: string,
|
|
238
|
+
resource: CloudExadataInfrastructure,
|
|
239
|
+
options?: CloudExadataInfrastructuresCreateOrUpdateOptionalParams,
|
|
240
|
+
): Promise<
|
|
241
|
+
SimplePollerLike<
|
|
242
|
+
OperationState<CloudExadataInfrastructuresCreateOrUpdateResponse>,
|
|
243
|
+
CloudExadataInfrastructuresCreateOrUpdateResponse
|
|
244
|
+
>
|
|
245
|
+
> {
|
|
246
|
+
const directSendOperation = async (
|
|
247
|
+
args: coreClient.OperationArguments,
|
|
248
|
+
spec: coreClient.OperationSpec,
|
|
249
|
+
): Promise<CloudExadataInfrastructuresCreateOrUpdateResponse> => {
|
|
250
|
+
return this.client.sendOperationRequest(args, spec);
|
|
251
|
+
};
|
|
252
|
+
const sendOperationFn = async (
|
|
253
|
+
args: coreClient.OperationArguments,
|
|
254
|
+
spec: coreClient.OperationSpec,
|
|
255
|
+
) => {
|
|
256
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
257
|
+
undefined;
|
|
258
|
+
const providedCallback = args.options?.onResponse;
|
|
259
|
+
const callback: coreClient.RawResponseCallback = (
|
|
260
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
261
|
+
flatResponse: unknown,
|
|
262
|
+
) => {
|
|
263
|
+
currentRawResponse = rawResponse;
|
|
264
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
265
|
+
};
|
|
266
|
+
const updatedArgs = {
|
|
267
|
+
...args,
|
|
268
|
+
options: {
|
|
269
|
+
...args.options,
|
|
270
|
+
onResponse: callback,
|
|
271
|
+
},
|
|
272
|
+
};
|
|
273
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
274
|
+
return {
|
|
275
|
+
flatResponse,
|
|
276
|
+
rawResponse: {
|
|
277
|
+
statusCode: currentRawResponse!.status,
|
|
278
|
+
body: currentRawResponse!.parsedBody,
|
|
279
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
280
|
+
},
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
const lro = createLroSpec({
|
|
285
|
+
sendOperationFn,
|
|
286
|
+
args: {
|
|
287
|
+
resourceGroupName,
|
|
288
|
+
cloudexadatainfrastructurename,
|
|
289
|
+
resource,
|
|
290
|
+
options,
|
|
291
|
+
},
|
|
292
|
+
spec: createOrUpdateOperationSpec,
|
|
293
|
+
});
|
|
294
|
+
const poller = await createHttpPoller<
|
|
295
|
+
CloudExadataInfrastructuresCreateOrUpdateResponse,
|
|
296
|
+
OperationState<CloudExadataInfrastructuresCreateOrUpdateResponse>
|
|
297
|
+
>(lro, {
|
|
298
|
+
restoreFrom: options?.resumeFrom,
|
|
299
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
300
|
+
resourceLocationConfig: "azure-async-operation",
|
|
301
|
+
});
|
|
302
|
+
await poller.poll();
|
|
303
|
+
return poller;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Create a CloudExadataInfrastructure
|
|
308
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
309
|
+
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name
|
|
310
|
+
* @param resource Resource create parameters.
|
|
311
|
+
* @param options The options parameters.
|
|
312
|
+
*/
|
|
313
|
+
async beginCreateOrUpdateAndWait(
|
|
314
|
+
resourceGroupName: string,
|
|
315
|
+
cloudexadatainfrastructurename: string,
|
|
316
|
+
resource: CloudExadataInfrastructure,
|
|
317
|
+
options?: CloudExadataInfrastructuresCreateOrUpdateOptionalParams,
|
|
318
|
+
): Promise<CloudExadataInfrastructuresCreateOrUpdateResponse> {
|
|
319
|
+
const poller = await this.beginCreateOrUpdate(
|
|
320
|
+
resourceGroupName,
|
|
321
|
+
cloudexadatainfrastructurename,
|
|
322
|
+
resource,
|
|
323
|
+
options,
|
|
324
|
+
);
|
|
325
|
+
return poller.pollUntilDone();
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Update a CloudExadataInfrastructure
|
|
330
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
331
|
+
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name
|
|
332
|
+
* @param properties The resource properties to be updated.
|
|
333
|
+
* @param options The options parameters.
|
|
334
|
+
*/
|
|
335
|
+
async beginUpdate(
|
|
336
|
+
resourceGroupName: string,
|
|
337
|
+
cloudexadatainfrastructurename: string,
|
|
338
|
+
properties: CloudExadataInfrastructureUpdate,
|
|
339
|
+
options?: CloudExadataInfrastructuresUpdateOptionalParams,
|
|
340
|
+
): Promise<
|
|
341
|
+
SimplePollerLike<
|
|
342
|
+
OperationState<CloudExadataInfrastructuresUpdateResponse>,
|
|
343
|
+
CloudExadataInfrastructuresUpdateResponse
|
|
344
|
+
>
|
|
345
|
+
> {
|
|
346
|
+
const directSendOperation = async (
|
|
347
|
+
args: coreClient.OperationArguments,
|
|
348
|
+
spec: coreClient.OperationSpec,
|
|
349
|
+
): Promise<CloudExadataInfrastructuresUpdateResponse> => {
|
|
350
|
+
return this.client.sendOperationRequest(args, spec);
|
|
351
|
+
};
|
|
352
|
+
const sendOperationFn = async (
|
|
353
|
+
args: coreClient.OperationArguments,
|
|
354
|
+
spec: coreClient.OperationSpec,
|
|
355
|
+
) => {
|
|
356
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
357
|
+
undefined;
|
|
358
|
+
const providedCallback = args.options?.onResponse;
|
|
359
|
+
const callback: coreClient.RawResponseCallback = (
|
|
360
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
361
|
+
flatResponse: unknown,
|
|
362
|
+
) => {
|
|
363
|
+
currentRawResponse = rawResponse;
|
|
364
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
365
|
+
};
|
|
366
|
+
const updatedArgs = {
|
|
367
|
+
...args,
|
|
368
|
+
options: {
|
|
369
|
+
...args.options,
|
|
370
|
+
onResponse: callback,
|
|
371
|
+
},
|
|
372
|
+
};
|
|
373
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
374
|
+
return {
|
|
375
|
+
flatResponse,
|
|
376
|
+
rawResponse: {
|
|
377
|
+
statusCode: currentRawResponse!.status,
|
|
378
|
+
body: currentRawResponse!.parsedBody,
|
|
379
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
380
|
+
},
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
const lro = createLroSpec({
|
|
385
|
+
sendOperationFn,
|
|
386
|
+
args: {
|
|
387
|
+
resourceGroupName,
|
|
388
|
+
cloudexadatainfrastructurename,
|
|
389
|
+
properties,
|
|
390
|
+
options,
|
|
391
|
+
},
|
|
392
|
+
spec: updateOperationSpec,
|
|
393
|
+
});
|
|
394
|
+
const poller = await createHttpPoller<
|
|
395
|
+
CloudExadataInfrastructuresUpdateResponse,
|
|
396
|
+
OperationState<CloudExadataInfrastructuresUpdateResponse>
|
|
397
|
+
>(lro, {
|
|
398
|
+
restoreFrom: options?.resumeFrom,
|
|
399
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
400
|
+
resourceLocationConfig: "location",
|
|
401
|
+
});
|
|
402
|
+
await poller.poll();
|
|
403
|
+
return poller;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Update a CloudExadataInfrastructure
|
|
408
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
409
|
+
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name
|
|
410
|
+
* @param properties The resource properties to be updated.
|
|
411
|
+
* @param options The options parameters.
|
|
412
|
+
*/
|
|
413
|
+
async beginUpdateAndWait(
|
|
414
|
+
resourceGroupName: string,
|
|
415
|
+
cloudexadatainfrastructurename: string,
|
|
416
|
+
properties: CloudExadataInfrastructureUpdate,
|
|
417
|
+
options?: CloudExadataInfrastructuresUpdateOptionalParams,
|
|
418
|
+
): Promise<CloudExadataInfrastructuresUpdateResponse> {
|
|
419
|
+
const poller = await this.beginUpdate(
|
|
420
|
+
resourceGroupName,
|
|
421
|
+
cloudexadatainfrastructurename,
|
|
422
|
+
properties,
|
|
423
|
+
options,
|
|
424
|
+
);
|
|
425
|
+
return poller.pollUntilDone();
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Delete a CloudExadataInfrastructure
|
|
430
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
431
|
+
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name
|
|
432
|
+
* @param options The options parameters.
|
|
433
|
+
*/
|
|
434
|
+
async beginDelete(
|
|
435
|
+
resourceGroupName: string,
|
|
436
|
+
cloudexadatainfrastructurename: string,
|
|
437
|
+
options?: CloudExadataInfrastructuresDeleteOptionalParams,
|
|
438
|
+
): Promise<
|
|
439
|
+
SimplePollerLike<
|
|
440
|
+
OperationState<CloudExadataInfrastructuresDeleteResponse>,
|
|
441
|
+
CloudExadataInfrastructuresDeleteResponse
|
|
442
|
+
>
|
|
443
|
+
> {
|
|
444
|
+
const directSendOperation = async (
|
|
445
|
+
args: coreClient.OperationArguments,
|
|
446
|
+
spec: coreClient.OperationSpec,
|
|
447
|
+
): Promise<CloudExadataInfrastructuresDeleteResponse> => {
|
|
448
|
+
return this.client.sendOperationRequest(args, spec);
|
|
449
|
+
};
|
|
450
|
+
const sendOperationFn = async (
|
|
451
|
+
args: coreClient.OperationArguments,
|
|
452
|
+
spec: coreClient.OperationSpec,
|
|
453
|
+
) => {
|
|
454
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
455
|
+
undefined;
|
|
456
|
+
const providedCallback = args.options?.onResponse;
|
|
457
|
+
const callback: coreClient.RawResponseCallback = (
|
|
458
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
459
|
+
flatResponse: unknown,
|
|
460
|
+
) => {
|
|
461
|
+
currentRawResponse = rawResponse;
|
|
462
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
463
|
+
};
|
|
464
|
+
const updatedArgs = {
|
|
465
|
+
...args,
|
|
466
|
+
options: {
|
|
467
|
+
...args.options,
|
|
468
|
+
onResponse: callback,
|
|
469
|
+
},
|
|
470
|
+
};
|
|
471
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
472
|
+
return {
|
|
473
|
+
flatResponse,
|
|
474
|
+
rawResponse: {
|
|
475
|
+
statusCode: currentRawResponse!.status,
|
|
476
|
+
body: currentRawResponse!.parsedBody,
|
|
477
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
478
|
+
},
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
const lro = createLroSpec({
|
|
483
|
+
sendOperationFn,
|
|
484
|
+
args: { resourceGroupName, cloudexadatainfrastructurename, options },
|
|
485
|
+
spec: deleteOperationSpec,
|
|
486
|
+
});
|
|
487
|
+
const poller = await createHttpPoller<
|
|
488
|
+
CloudExadataInfrastructuresDeleteResponse,
|
|
489
|
+
OperationState<CloudExadataInfrastructuresDeleteResponse>
|
|
490
|
+
>(lro, {
|
|
491
|
+
restoreFrom: options?.resumeFrom,
|
|
492
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
493
|
+
resourceLocationConfig: "location",
|
|
494
|
+
});
|
|
495
|
+
await poller.poll();
|
|
496
|
+
return poller;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* Delete a CloudExadataInfrastructure
|
|
501
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
502
|
+
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name
|
|
503
|
+
* @param options The options parameters.
|
|
504
|
+
*/
|
|
505
|
+
async beginDeleteAndWait(
|
|
506
|
+
resourceGroupName: string,
|
|
507
|
+
cloudexadatainfrastructurename: string,
|
|
508
|
+
options?: CloudExadataInfrastructuresDeleteOptionalParams,
|
|
509
|
+
): Promise<CloudExadataInfrastructuresDeleteResponse> {
|
|
510
|
+
const poller = await this.beginDelete(
|
|
511
|
+
resourceGroupName,
|
|
512
|
+
cloudexadatainfrastructurename,
|
|
513
|
+
options,
|
|
514
|
+
);
|
|
515
|
+
return poller.pollUntilDone();
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Perform add storage capacity on exadata infra
|
|
520
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
521
|
+
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name
|
|
522
|
+
* @param options The options parameters.
|
|
523
|
+
*/
|
|
524
|
+
async beginAddStorageCapacity(
|
|
525
|
+
resourceGroupName: string,
|
|
526
|
+
cloudexadatainfrastructurename: string,
|
|
527
|
+
options?: CloudExadataInfrastructuresAddStorageCapacityOptionalParams,
|
|
528
|
+
): Promise<
|
|
529
|
+
SimplePollerLike<
|
|
530
|
+
OperationState<CloudExadataInfrastructuresAddStorageCapacityResponse>,
|
|
531
|
+
CloudExadataInfrastructuresAddStorageCapacityResponse
|
|
532
|
+
>
|
|
533
|
+
> {
|
|
534
|
+
const directSendOperation = async (
|
|
535
|
+
args: coreClient.OperationArguments,
|
|
536
|
+
spec: coreClient.OperationSpec,
|
|
537
|
+
): Promise<CloudExadataInfrastructuresAddStorageCapacityResponse> => {
|
|
538
|
+
return this.client.sendOperationRequest(args, spec);
|
|
539
|
+
};
|
|
540
|
+
const sendOperationFn = async (
|
|
541
|
+
args: coreClient.OperationArguments,
|
|
542
|
+
spec: coreClient.OperationSpec,
|
|
543
|
+
) => {
|
|
544
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
545
|
+
undefined;
|
|
546
|
+
const providedCallback = args.options?.onResponse;
|
|
547
|
+
const callback: coreClient.RawResponseCallback = (
|
|
548
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
549
|
+
flatResponse: unknown,
|
|
550
|
+
) => {
|
|
551
|
+
currentRawResponse = rawResponse;
|
|
552
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
553
|
+
};
|
|
554
|
+
const updatedArgs = {
|
|
555
|
+
...args,
|
|
556
|
+
options: {
|
|
557
|
+
...args.options,
|
|
558
|
+
onResponse: callback,
|
|
559
|
+
},
|
|
560
|
+
};
|
|
561
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
562
|
+
return {
|
|
563
|
+
flatResponse,
|
|
564
|
+
rawResponse: {
|
|
565
|
+
statusCode: currentRawResponse!.status,
|
|
566
|
+
body: currentRawResponse!.parsedBody,
|
|
567
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
568
|
+
},
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
const lro = createLroSpec({
|
|
573
|
+
sendOperationFn,
|
|
574
|
+
args: { resourceGroupName, cloudexadatainfrastructurename, options },
|
|
575
|
+
spec: addStorageCapacityOperationSpec,
|
|
576
|
+
});
|
|
577
|
+
const poller = await createHttpPoller<
|
|
578
|
+
CloudExadataInfrastructuresAddStorageCapacityResponse,
|
|
579
|
+
OperationState<CloudExadataInfrastructuresAddStorageCapacityResponse>
|
|
580
|
+
>(lro, {
|
|
581
|
+
restoreFrom: options?.resumeFrom,
|
|
582
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
583
|
+
resourceLocationConfig: "location",
|
|
584
|
+
});
|
|
585
|
+
await poller.poll();
|
|
586
|
+
return poller;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Perform add storage capacity on exadata infra
|
|
591
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
592
|
+
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name
|
|
593
|
+
* @param options The options parameters.
|
|
594
|
+
*/
|
|
595
|
+
async beginAddStorageCapacityAndWait(
|
|
596
|
+
resourceGroupName: string,
|
|
597
|
+
cloudexadatainfrastructurename: string,
|
|
598
|
+
options?: CloudExadataInfrastructuresAddStorageCapacityOptionalParams,
|
|
599
|
+
): Promise<CloudExadataInfrastructuresAddStorageCapacityResponse> {
|
|
600
|
+
const poller = await this.beginAddStorageCapacity(
|
|
601
|
+
resourceGroupName,
|
|
602
|
+
cloudexadatainfrastructurename,
|
|
603
|
+
options,
|
|
604
|
+
);
|
|
605
|
+
return poller.pollUntilDone();
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* ListBySubscriptionNext
|
|
610
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
611
|
+
* @param options The options parameters.
|
|
612
|
+
*/
|
|
613
|
+
private _listBySubscriptionNext(
|
|
614
|
+
nextLink: string,
|
|
615
|
+
options?: CloudExadataInfrastructuresListBySubscriptionNextOptionalParams,
|
|
616
|
+
): Promise<CloudExadataInfrastructuresListBySubscriptionNextResponse> {
|
|
617
|
+
return this.client.sendOperationRequest(
|
|
618
|
+
{ nextLink, options },
|
|
619
|
+
listBySubscriptionNextOperationSpec,
|
|
620
|
+
);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* ListByResourceGroupNext
|
|
625
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
626
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
627
|
+
* @param options The options parameters.
|
|
628
|
+
*/
|
|
629
|
+
private _listByResourceGroupNext(
|
|
630
|
+
resourceGroupName: string,
|
|
631
|
+
nextLink: string,
|
|
632
|
+
options?: CloudExadataInfrastructuresListByResourceGroupNextOptionalParams,
|
|
633
|
+
): Promise<CloudExadataInfrastructuresListByResourceGroupNextResponse> {
|
|
634
|
+
return this.client.sendOperationRequest(
|
|
635
|
+
{ resourceGroupName, nextLink, options },
|
|
636
|
+
listByResourceGroupNextOperationSpec,
|
|
637
|
+
);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
// Operation Specifications
|
|
641
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
642
|
+
|
|
643
|
+
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
644
|
+
path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/cloudExadataInfrastructures",
|
|
645
|
+
httpMethod: "GET",
|
|
646
|
+
responses: {
|
|
647
|
+
200: {
|
|
648
|
+
bodyMapper: Mappers.CloudExadataInfrastructureListResult,
|
|
649
|
+
},
|
|
650
|
+
default: {
|
|
651
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
652
|
+
},
|
|
653
|
+
},
|
|
654
|
+
queryParameters: [Parameters.apiVersion],
|
|
655
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
656
|
+
headerParameters: [Parameters.accept],
|
|
657
|
+
serializer,
|
|
658
|
+
};
|
|
659
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
660
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures",
|
|
661
|
+
httpMethod: "GET",
|
|
662
|
+
responses: {
|
|
663
|
+
200: {
|
|
664
|
+
bodyMapper: Mappers.CloudExadataInfrastructureListResult,
|
|
665
|
+
},
|
|
666
|
+
default: {
|
|
667
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
queryParameters: [Parameters.apiVersion],
|
|
671
|
+
urlParameters: [
|
|
672
|
+
Parameters.$host,
|
|
673
|
+
Parameters.subscriptionId,
|
|
674
|
+
Parameters.resourceGroupName,
|
|
675
|
+
],
|
|
676
|
+
headerParameters: [Parameters.accept],
|
|
677
|
+
serializer,
|
|
678
|
+
};
|
|
679
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
680
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}",
|
|
681
|
+
httpMethod: "GET",
|
|
682
|
+
responses: {
|
|
683
|
+
200: {
|
|
684
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
685
|
+
},
|
|
686
|
+
default: {
|
|
687
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
688
|
+
},
|
|
689
|
+
},
|
|
690
|
+
queryParameters: [Parameters.apiVersion],
|
|
691
|
+
urlParameters: [
|
|
692
|
+
Parameters.$host,
|
|
693
|
+
Parameters.subscriptionId,
|
|
694
|
+
Parameters.resourceGroupName,
|
|
695
|
+
Parameters.cloudexadatainfrastructurename,
|
|
696
|
+
],
|
|
697
|
+
headerParameters: [Parameters.accept],
|
|
698
|
+
serializer,
|
|
699
|
+
};
|
|
700
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
701
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}",
|
|
702
|
+
httpMethod: "PUT",
|
|
703
|
+
responses: {
|
|
704
|
+
200: {
|
|
705
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
706
|
+
},
|
|
707
|
+
201: {
|
|
708
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
709
|
+
},
|
|
710
|
+
202: {
|
|
711
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
712
|
+
},
|
|
713
|
+
204: {
|
|
714
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
715
|
+
},
|
|
716
|
+
default: {
|
|
717
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
718
|
+
},
|
|
719
|
+
},
|
|
720
|
+
requestBody: Parameters.resource1,
|
|
721
|
+
queryParameters: [Parameters.apiVersion],
|
|
722
|
+
urlParameters: [
|
|
723
|
+
Parameters.$host,
|
|
724
|
+
Parameters.subscriptionId,
|
|
725
|
+
Parameters.resourceGroupName,
|
|
726
|
+
Parameters.cloudexadatainfrastructurename,
|
|
727
|
+
],
|
|
728
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
729
|
+
mediaType: "json",
|
|
730
|
+
serializer,
|
|
731
|
+
};
|
|
732
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
733
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}",
|
|
734
|
+
httpMethod: "PATCH",
|
|
735
|
+
responses: {
|
|
736
|
+
200: {
|
|
737
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
738
|
+
},
|
|
739
|
+
201: {
|
|
740
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
741
|
+
},
|
|
742
|
+
202: {
|
|
743
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
744
|
+
},
|
|
745
|
+
204: {
|
|
746
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
747
|
+
},
|
|
748
|
+
default: {
|
|
749
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
750
|
+
},
|
|
751
|
+
},
|
|
752
|
+
requestBody: Parameters.properties1,
|
|
753
|
+
queryParameters: [Parameters.apiVersion],
|
|
754
|
+
urlParameters: [
|
|
755
|
+
Parameters.$host,
|
|
756
|
+
Parameters.subscriptionId,
|
|
757
|
+
Parameters.resourceGroupName,
|
|
758
|
+
Parameters.cloudexadatainfrastructurename,
|
|
759
|
+
],
|
|
760
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
761
|
+
mediaType: "json",
|
|
762
|
+
serializer,
|
|
763
|
+
};
|
|
764
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
765
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}",
|
|
766
|
+
httpMethod: "DELETE",
|
|
767
|
+
responses: {
|
|
768
|
+
200: {
|
|
769
|
+
headersMapper: Mappers.CloudExadataInfrastructuresDeleteHeaders,
|
|
770
|
+
},
|
|
771
|
+
201: {
|
|
772
|
+
headersMapper: Mappers.CloudExadataInfrastructuresDeleteHeaders,
|
|
773
|
+
},
|
|
774
|
+
202: {
|
|
775
|
+
headersMapper: Mappers.CloudExadataInfrastructuresDeleteHeaders,
|
|
776
|
+
},
|
|
777
|
+
204: {
|
|
778
|
+
headersMapper: Mappers.CloudExadataInfrastructuresDeleteHeaders,
|
|
779
|
+
},
|
|
780
|
+
default: {
|
|
781
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
782
|
+
},
|
|
783
|
+
},
|
|
784
|
+
queryParameters: [Parameters.apiVersion],
|
|
785
|
+
urlParameters: [
|
|
786
|
+
Parameters.$host,
|
|
787
|
+
Parameters.subscriptionId,
|
|
788
|
+
Parameters.resourceGroupName,
|
|
789
|
+
Parameters.cloudexadatainfrastructurename,
|
|
790
|
+
],
|
|
791
|
+
headerParameters: [Parameters.accept],
|
|
792
|
+
serializer,
|
|
793
|
+
};
|
|
794
|
+
const addStorageCapacityOperationSpec: coreClient.OperationSpec = {
|
|
795
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/addStorageCapacity",
|
|
796
|
+
httpMethod: "POST",
|
|
797
|
+
responses: {
|
|
798
|
+
200: {
|
|
799
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
800
|
+
},
|
|
801
|
+
201: {
|
|
802
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
803
|
+
},
|
|
804
|
+
202: {
|
|
805
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
806
|
+
},
|
|
807
|
+
204: {
|
|
808
|
+
bodyMapper: Mappers.CloudExadataInfrastructure,
|
|
809
|
+
},
|
|
810
|
+
default: {
|
|
811
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
812
|
+
},
|
|
813
|
+
},
|
|
814
|
+
queryParameters: [Parameters.apiVersion],
|
|
815
|
+
urlParameters: [
|
|
816
|
+
Parameters.$host,
|
|
817
|
+
Parameters.subscriptionId,
|
|
818
|
+
Parameters.resourceGroupName,
|
|
819
|
+
Parameters.cloudexadatainfrastructurename,
|
|
820
|
+
],
|
|
821
|
+
headerParameters: [Parameters.accept],
|
|
822
|
+
serializer,
|
|
823
|
+
};
|
|
824
|
+
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
825
|
+
path: "{nextLink}",
|
|
826
|
+
httpMethod: "GET",
|
|
827
|
+
responses: {
|
|
828
|
+
200: {
|
|
829
|
+
bodyMapper: Mappers.CloudExadataInfrastructureListResult,
|
|
830
|
+
},
|
|
831
|
+
default: {
|
|
832
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
833
|
+
},
|
|
834
|
+
},
|
|
835
|
+
urlParameters: [
|
|
836
|
+
Parameters.$host,
|
|
837
|
+
Parameters.nextLink,
|
|
838
|
+
Parameters.subscriptionId,
|
|
839
|
+
],
|
|
840
|
+
headerParameters: [Parameters.accept],
|
|
841
|
+
serializer,
|
|
842
|
+
};
|
|
843
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
844
|
+
path: "{nextLink}",
|
|
845
|
+
httpMethod: "GET",
|
|
846
|
+
responses: {
|
|
847
|
+
200: {
|
|
848
|
+
bodyMapper: Mappers.CloudExadataInfrastructureListResult,
|
|
849
|
+
},
|
|
850
|
+
default: {
|
|
851
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
852
|
+
},
|
|
853
|
+
},
|
|
854
|
+
urlParameters: [
|
|
855
|
+
Parameters.$host,
|
|
856
|
+
Parameters.nextLink,
|
|
857
|
+
Parameters.subscriptionId,
|
|
858
|
+
Parameters.resourceGroupName,
|
|
859
|
+
],
|
|
860
|
+
headerParameters: [Parameters.accept],
|
|
861
|
+
serializer,
|
|
862
|
+
};
|