@azure/arm-maintenance 1.0.0-alpha.20250718.1 → 1.0.0-alpha.20250721.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/dist/browser/maintenanceManagementClient.js +25 -5
- package/dist/browser/maintenanceManagementClient.js.map +1 -1
- package/dist/browser/models/mappers.js +47 -22
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/applyUpdateForResourceGroup.js +10 -27
- package/dist/browser/operations/applyUpdateForResourceGroup.js.map +1 -1
- package/dist/browser/operations/applyUpdates.js +10 -27
- package/dist/browser/operations/applyUpdates.js.map +1 -1
- package/dist/browser/operations/configurationAssignments.js +19 -53
- package/dist/browser/operations/configurationAssignments.js.map +1 -1
- package/dist/browser/operations/configurationAssignmentsForResourceGroup.js +1 -0
- package/dist/browser/operations/configurationAssignmentsForResourceGroup.js.map +1 -1
- package/dist/browser/operations/configurationAssignmentsForSubscriptions.js +1 -0
- package/dist/browser/operations/configurationAssignmentsForSubscriptions.js.map +1 -1
- package/dist/browser/operations/configurationAssignmentsWithinSubscription.js +10 -27
- package/dist/browser/operations/configurationAssignmentsWithinSubscription.js.map +1 -1
- package/dist/browser/operations/maintenanceConfigurations.js +10 -27
- package/dist/browser/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/browser/operations/maintenanceConfigurationsForResourceGroup.js +10 -27
- package/dist/browser/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
- package/dist/browser/operations/operations.js +10 -27
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/publicMaintenanceConfigurations.js +10 -27
- package/dist/browser/operations/publicMaintenanceConfigurations.js.map +1 -1
- package/dist/browser/operations/scheduledEvent.js +1 -0
- package/dist/browser/operations/scheduledEvent.js.map +1 -1
- package/dist/browser/operations/updates.js +19 -53
- package/dist/browser/operations/updates.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/maintenanceManagementClient.js +25 -5
- package/dist/commonjs/maintenanceManagementClient.js.map +1 -1
- package/dist/commonjs/models/mappers.js +47 -22
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/applyUpdateForResourceGroup.js +10 -26
- package/dist/commonjs/operations/applyUpdateForResourceGroup.js.map +1 -1
- package/dist/commonjs/operations/applyUpdates.js +10 -26
- package/dist/commonjs/operations/applyUpdates.js.map +1 -1
- package/dist/commonjs/operations/configurationAssignments.js +19 -52
- package/dist/commonjs/operations/configurationAssignments.js.map +1 -1
- package/dist/commonjs/operations/configurationAssignmentsForResourceGroup.js +1 -0
- package/dist/commonjs/operations/configurationAssignmentsForResourceGroup.js.map +1 -1
- package/dist/commonjs/operations/configurationAssignmentsForSubscriptions.js +1 -0
- package/dist/commonjs/operations/configurationAssignmentsForSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/configurationAssignmentsWithinSubscription.js +10 -26
- package/dist/commonjs/operations/configurationAssignmentsWithinSubscription.js.map +1 -1
- package/dist/commonjs/operations/maintenanceConfigurations.js +10 -26
- package/dist/commonjs/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/commonjs/operations/maintenanceConfigurationsForResourceGroup.js +10 -26
- package/dist/commonjs/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
- package/dist/commonjs/operations/operations.js +10 -26
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/publicMaintenanceConfigurations.js +10 -26
- package/dist/commonjs/operations/publicMaintenanceConfigurations.js.map +1 -1
- package/dist/commonjs/operations/scheduledEvent.js +1 -0
- package/dist/commonjs/operations/scheduledEvent.js.map +1 -1
- package/dist/commonjs/operations/updates.js +19 -52
- package/dist/commonjs/operations/updates.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/esm/maintenanceManagementClient.js +25 -5
- package/dist/esm/maintenanceManagementClient.js.map +1 -1
- package/dist/esm/models/mappers.js +47 -22
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/applyUpdateForResourceGroup.js +10 -27
- package/dist/esm/operations/applyUpdateForResourceGroup.js.map +1 -1
- package/dist/esm/operations/applyUpdates.js +10 -27
- package/dist/esm/operations/applyUpdates.js.map +1 -1
- package/dist/esm/operations/configurationAssignments.js +19 -53
- package/dist/esm/operations/configurationAssignments.js.map +1 -1
- package/dist/esm/operations/configurationAssignmentsForResourceGroup.js +1 -0
- package/dist/esm/operations/configurationAssignmentsForResourceGroup.js.map +1 -1
- package/dist/esm/operations/configurationAssignmentsForSubscriptions.js +1 -0
- package/dist/esm/operations/configurationAssignmentsForSubscriptions.js.map +1 -1
- package/dist/esm/operations/configurationAssignmentsWithinSubscription.js +10 -27
- package/dist/esm/operations/configurationAssignmentsWithinSubscription.js.map +1 -1
- package/dist/esm/operations/maintenanceConfigurations.js +10 -27
- package/dist/esm/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/esm/operations/maintenanceConfigurationsForResourceGroup.js +10 -27
- package/dist/esm/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
- package/dist/esm/operations/operations.js +10 -27
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/publicMaintenanceConfigurations.js +10 -27
- package/dist/esm/operations/publicMaintenanceConfigurations.js.map +1 -1
- package/dist/esm/operations/scheduledEvent.js +1 -0
- package/dist/esm/operations/scheduledEvent.js.map +1 -1
- package/dist/esm/operations/updates.js +19 -53
- package/dist/esm/operations/updates.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/maintenanceManagementClient.js +25 -5
- package/dist/react-native/maintenanceManagementClient.js.map +1 -1
- package/dist/react-native/models/mappers.js +47 -22
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/applyUpdateForResourceGroup.js +10 -27
- package/dist/react-native/operations/applyUpdateForResourceGroup.js.map +1 -1
- package/dist/react-native/operations/applyUpdates.js +10 -27
- package/dist/react-native/operations/applyUpdates.js.map +1 -1
- package/dist/react-native/operations/configurationAssignments.js +19 -53
- package/dist/react-native/operations/configurationAssignments.js.map +1 -1
- package/dist/react-native/operations/configurationAssignmentsForResourceGroup.js +1 -0
- package/dist/react-native/operations/configurationAssignmentsForResourceGroup.js.map +1 -1
- package/dist/react-native/operations/configurationAssignmentsForSubscriptions.js +1 -0
- package/dist/react-native/operations/configurationAssignmentsForSubscriptions.js.map +1 -1
- package/dist/react-native/operations/configurationAssignmentsWithinSubscription.js +10 -27
- package/dist/react-native/operations/configurationAssignmentsWithinSubscription.js.map +1 -1
- package/dist/react-native/operations/maintenanceConfigurations.js +10 -27
- package/dist/react-native/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/react-native/operations/maintenanceConfigurationsForResourceGroup.js +10 -27
- package/dist/react-native/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
- package/dist/react-native/operations/operations.js +10 -27
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/publicMaintenanceConfigurations.js +10 -27
- package/dist/react-native/operations/publicMaintenanceConfigurations.js.map +1 -1
- package/dist/react-native/operations/scheduledEvent.js +1 -0
- package/dist/react-native/operations/scheduledEvent.js.map +1 -1
- package/dist/react-native/operations/updates.js +19 -53
- package/dist/react-native/operations/updates.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA+B;QAC1C,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBAC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I,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,cAAc,EAAE;gBACd,cAAc,EAAE,2BAA2B;gBAC3C,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF,GACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB;QACpC,eAAe,kCACV,QAAQ,CAAC,IAAI,CAAC,eAAe,KAChC,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,0BAA0B,EAAE;gBAC1B,cAAc,EAAE,uCAAuC;gBACvD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,yCAAyC;iBACrD;aACF,GACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ScheduledEventApproveResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ScheduledEventApproveResponse\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MaintenanceError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MaintenanceError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListMaintenanceConfigurationsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListMaintenanceConfigurationsResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MaintenanceConfiguration\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const InputPatchConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputPatchConfiguration\",\n modelProperties: {\n rebootSetting: {\n defaultValue: \"IfRequired\",\n serializedName: \"rebootSetting\",\n type: {\n name: \"String\",\n },\n },\n windowsParameters: {\n serializedName: \"windowsParameters\",\n type: {\n name: \"Composite\",\n className: \"InputWindowsParameters\",\n },\n },\n linuxParameters: {\n serializedName: \"linuxParameters\",\n type: {\n name: \"Composite\",\n className: \"InputLinuxParameters\",\n },\n },\n },\n },\n};\n\nexport const InputWindowsParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputWindowsParameters\",\n modelProperties: {\n kbNumbersToExclude: {\n serializedName: \"kbNumbersToExclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n kbNumbersToInclude: {\n serializedName: \"kbNumbersToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n classificationsToInclude: {\n serializedName: \"classificationsToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n excludeKbsRequiringReboot: {\n serializedName: \"excludeKbsRequiringReboot\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const InputLinuxParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputLinuxParameters\",\n modelProperties: {\n packageNameMasksToExclude: {\n serializedName: \"packageNameMasksToExclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n packageNameMasksToInclude: {\n serializedName: \"packageNameMasksToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n classificationsToInclude: {\n serializedName: \"classificationsToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationAssignmentFilterProperties: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignmentFilterProperties\",\n modelProperties: {\n resourceTypes: {\n serializedName: \"resourceTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n resourceGroups: {\n serializedName: \"resourceGroups\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n osTypes: {\n serializedName: \"osTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n locations: {\n serializedName: \"locations\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n tagSettings: {\n serializedName: \"tagSettings\",\n type: {\n name: \"Composite\",\n className: \"TagSettingsProperties\",\n },\n },\n },\n },\n };\n\nexport const TagSettingsProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TagSettingsProperties\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Sequence\", element: { type: { name: \"String\" } } },\n },\n },\n },\n filterOperator: {\n serializedName: \"filterOperator\",\n type: {\n name: \"Enum\",\n allowedValues: [\"All\", \"Any\"],\n },\n },\n },\n },\n};\n\nexport const ListConfigurationAssignmentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListConfigurationAssignmentsResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignment\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ListApplyUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListApplyUpdate\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplyUpdate\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const OperationsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationInfo\",\n },\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const OperationInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationInfo\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListUpdatesResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListUpdatesResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Update\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Update: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Update\",\n modelProperties: {\n maintenanceScope: {\n serializedName: \"maintenanceScope\",\n type: {\n name: \"String\",\n },\n },\n impactType: {\n serializedName: \"impactType\",\n type: {\n name: \"String\",\n },\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\",\n },\n },\n impactDurationInSec: {\n serializedName: \"impactDurationInSec\",\n type: {\n name: \"Number\",\n },\n },\n notBefore: {\n serializedName: \"notBefore\",\n type: {\n name: \"DateTime\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MaintenanceConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MaintenanceConfiguration\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n namespace: {\n serializedName: \"properties.namespace\",\n type: {\n name: \"String\",\n },\n },\n extensionProperties: {\n serializedName: \"properties.extensionProperties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n maintenanceScope: {\n serializedName: \"properties.maintenanceScope\",\n type: {\n name: \"String\",\n },\n },\n visibility: {\n serializedName: \"properties.visibility\",\n type: {\n name: \"String\",\n },\n },\n installPatches: {\n serializedName: \"properties.installPatches\",\n type: {\n name: \"Composite\",\n className: \"InputPatchConfiguration\",\n },\n },\n startDateTime: {\n serializedName: \"properties.maintenanceWindow.startDateTime\",\n type: {\n name: \"String\",\n },\n },\n expirationDateTime: {\n serializedName: \"properties.maintenanceWindow.expirationDateTime\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"properties.maintenanceWindow.duration\",\n type: {\n name: \"String\",\n },\n },\n timeZone: {\n serializedName: \"properties.maintenanceWindow.timeZone\",\n type: {\n name: \"String\",\n },\n },\n recurEvery: {\n serializedName: \"properties.maintenanceWindow.recurEvery\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ApplyUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplyUpdate\",\n modelProperties: {\n ...Resource.type.modelProperties,\n status: {\n serializedName: \"properties.status\",\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n lastUpdateTime: {\n serializedName: \"properties.lastUpdateTime\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignment\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n maintenanceConfigurationId: {\n serializedName: \"properties.maintenanceConfigurationId\",\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n filter: {\n serializedName: \"properties.filter\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignmentFilterProperties\",\n },\n },\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA+B;QAC1C,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB;QAC7B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,cAAc;iBAC1B;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA+B;IACtD,IAAI,EAAE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,EAAE,yBAAyB;QACpC,eAAe,EAAE;YACf,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe;YAChC,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,0BAA0B,EAAE;gBAC1B,cAAc,EAAE,uCAAuC;gBACvD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,yCAAyC;iBACrD;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ScheduledEventApproveResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ScheduledEventApproveResponse\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MaintenanceError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MaintenanceError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListMaintenanceConfigurationsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListMaintenanceConfigurationsResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MaintenanceConfiguration\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const InputPatchConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputPatchConfiguration\",\n modelProperties: {\n rebootSetting: {\n defaultValue: \"IfRequired\",\n serializedName: \"rebootSetting\",\n type: {\n name: \"String\",\n },\n },\n windowsParameters: {\n serializedName: \"windowsParameters\",\n type: {\n name: \"Composite\",\n className: \"InputWindowsParameters\",\n },\n },\n linuxParameters: {\n serializedName: \"linuxParameters\",\n type: {\n name: \"Composite\",\n className: \"InputLinuxParameters\",\n },\n },\n },\n },\n};\n\nexport const InputWindowsParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputWindowsParameters\",\n modelProperties: {\n kbNumbersToExclude: {\n serializedName: \"kbNumbersToExclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n kbNumbersToInclude: {\n serializedName: \"kbNumbersToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n classificationsToInclude: {\n serializedName: \"classificationsToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n excludeKbsRequiringReboot: {\n serializedName: \"excludeKbsRequiringReboot\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const InputLinuxParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputLinuxParameters\",\n modelProperties: {\n packageNameMasksToExclude: {\n serializedName: \"packageNameMasksToExclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n packageNameMasksToInclude: {\n serializedName: \"packageNameMasksToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n classificationsToInclude: {\n serializedName: \"classificationsToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationAssignmentFilterProperties: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignmentFilterProperties\",\n modelProperties: {\n resourceTypes: {\n serializedName: \"resourceTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n resourceGroups: {\n serializedName: \"resourceGroups\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n osTypes: {\n serializedName: \"osTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n locations: {\n serializedName: \"locations\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n tagSettings: {\n serializedName: \"tagSettings\",\n type: {\n name: \"Composite\",\n className: \"TagSettingsProperties\",\n },\n },\n },\n },\n };\n\nexport const TagSettingsProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TagSettingsProperties\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Sequence\", element: { type: { name: \"String\" } } },\n },\n },\n },\n filterOperator: {\n serializedName: \"filterOperator\",\n type: {\n name: \"Enum\",\n allowedValues: [\"All\", \"Any\"],\n },\n },\n },\n },\n};\n\nexport const ListConfigurationAssignmentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListConfigurationAssignmentsResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignment\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ListApplyUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListApplyUpdate\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplyUpdate\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const OperationsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationInfo\",\n },\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const OperationInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationInfo\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListUpdatesResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListUpdatesResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Update\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Update: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Update\",\n modelProperties: {\n maintenanceScope: {\n serializedName: \"maintenanceScope\",\n type: {\n name: \"String\",\n },\n },\n impactType: {\n serializedName: \"impactType\",\n type: {\n name: \"String\",\n },\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\",\n },\n },\n impactDurationInSec: {\n serializedName: \"impactDurationInSec\",\n type: {\n name: \"Number\",\n },\n },\n notBefore: {\n serializedName: \"notBefore\",\n type: {\n name: \"DateTime\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MaintenanceConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MaintenanceConfiguration\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n namespace: {\n serializedName: \"properties.namespace\",\n type: {\n name: \"String\",\n },\n },\n extensionProperties: {\n serializedName: \"properties.extensionProperties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n maintenanceScope: {\n serializedName: \"properties.maintenanceScope\",\n type: {\n name: \"String\",\n },\n },\n visibility: {\n serializedName: \"properties.visibility\",\n type: {\n name: \"String\",\n },\n },\n installPatches: {\n serializedName: \"properties.installPatches\",\n type: {\n name: \"Composite\",\n className: \"InputPatchConfiguration\",\n },\n },\n startDateTime: {\n serializedName: \"properties.maintenanceWindow.startDateTime\",\n type: {\n name: \"String\",\n },\n },\n expirationDateTime: {\n serializedName: \"properties.maintenanceWindow.expirationDateTime\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"properties.maintenanceWindow.duration\",\n type: {\n name: \"String\",\n },\n },\n timeZone: {\n serializedName: \"properties.maintenanceWindow.timeZone\",\n type: {\n name: \"String\",\n },\n },\n recurEvery: {\n serializedName: \"properties.maintenanceWindow.recurEvery\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ApplyUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplyUpdate\",\n modelProperties: {\n ...Resource.type.modelProperties,\n status: {\n serializedName: \"properties.status\",\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n lastUpdateTime: {\n serializedName: \"properties.lastUpdateTime\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignment\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n maintenanceConfigurationId: {\n serializedName: \"properties.maintenanceConfigurationId\",\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n filter: {\n serializedName: \"properties.filter\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignmentFilterProperties\",\n },\n },\n },\n },\n};\n"]}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as Mappers from "../models/mappers.js";
|
|
11
10
|
import * as Parameters from "../models/parameters.js";
|
|
12
11
|
/// <reference lib="esnext.asynciterable" />
|
|
13
12
|
/** Class containing ApplyUpdateForResourceGroup operations. */
|
|
14
13
|
export class ApplyUpdateForResourceGroupImpl {
|
|
14
|
+
client;
|
|
15
15
|
/**
|
|
16
16
|
* Initialize a new instance of the class ApplyUpdateForResourceGroup class.
|
|
17
17
|
* @param client Reference to the service client
|
|
@@ -34,39 +34,22 @@ export class ApplyUpdateForResourceGroupImpl {
|
|
|
34
34
|
return this;
|
|
35
35
|
},
|
|
36
36
|
byPage: (settings) => {
|
|
37
|
-
if (settings
|
|
37
|
+
if (settings?.maxPageSize) {
|
|
38
38
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
39
|
}
|
|
40
40
|
return this.listPagingPage(resourceGroupName, options, settings);
|
|
41
41
|
},
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
listPagingPage(resourceGroupName, options, _settings) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
yield yield __await(result.value || []);
|
|
49
|
-
});
|
|
44
|
+
async *listPagingPage(resourceGroupName, options, _settings) {
|
|
45
|
+
let result;
|
|
46
|
+
result = await this._list(resourceGroupName, options);
|
|
47
|
+
yield result.value || [];
|
|
50
48
|
}
|
|
51
|
-
listPagingAll(resourceGroupName, options) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
56
|
-
_c = _f.value;
|
|
57
|
-
_d = false;
|
|
58
|
-
const page = _c;
|
|
59
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
63
|
-
finally {
|
|
64
|
-
try {
|
|
65
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
66
|
-
}
|
|
67
|
-
finally { if (e_1) throw e_1.error; }
|
|
68
|
-
}
|
|
69
|
-
});
|
|
49
|
+
async *listPagingAll(resourceGroupName, options) {
|
|
50
|
+
for await (const page of this.listPagingPage(resourceGroupName, options)) {
|
|
51
|
+
yield* page;
|
|
52
|
+
}
|
|
70
53
|
}
|
|
71
54
|
/**
|
|
72
55
|
* Get Configuration records within a subscription and resource group
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyUpdateForResourceGroup.js","sourceRoot":"","sources":["../../../src/operations/applyUpdateForResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"applyUpdateForResourceGroup.js","sourceRoot":"","sources":["../../../src/operations/applyUpdateForResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,+DAA+D;AAC/D,MAAM,OAAO,+BAA+B;IAGzB,MAAM,CAA8B;IAErD;;;OAG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,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,iHAAiH;IACvH,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { ApplyUpdateForResourceGroup } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MaintenanceManagementClient } from \"../maintenanceManagementClient.js\";\nimport {\n ApplyUpdate,\n ApplyUpdateForResourceGroupListOptionalParams,\n ApplyUpdateForResourceGroupListResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ApplyUpdateForResourceGroup operations. */\nexport class ApplyUpdateForResourceGroupImpl\n implements ApplyUpdateForResourceGroup\n{\n private readonly client: MaintenanceManagementClient;\n\n /**\n * Initialize a new instance of the class ApplyUpdateForResourceGroup class.\n * @param client Reference to the service client\n */\n constructor(client: MaintenanceManagementClient) {\n this.client = client;\n }\n\n /**\n * Get Configuration records within a subscription and resource group\n * @param resourceGroupName Resource Group Name\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n options?: ApplyUpdateForResourceGroupListOptionalParams,\n ): PagedAsyncIterableIterator<ApplyUpdate> {\n const iter = this.listPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n options?: ApplyUpdateForResourceGroupListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ApplyUpdate[]> {\n let result: ApplyUpdateForResourceGroupListResponse;\n result = await this._list(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n options?: ApplyUpdateForResourceGroupListOptionalParams,\n ): AsyncIterableIterator<ApplyUpdate> {\n for await (const page of this.listPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Get Configuration records within a subscription and resource group\n * @param resourceGroupName Resource Group Name\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n options?: ApplyUpdateForResourceGroupListOptionalParams,\n ): Promise<ApplyUpdateForResourceGroupListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/applyUpdates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as Mappers from "../models/mappers.js";
|
|
11
10
|
import * as Parameters from "../models/parameters.js";
|
|
12
11
|
/// <reference lib="esnext.asynciterable" />
|
|
13
12
|
/** Class containing ApplyUpdates operations. */
|
|
14
13
|
export class ApplyUpdatesImpl {
|
|
14
|
+
client;
|
|
15
15
|
/**
|
|
16
16
|
* Initialize a new instance of the class ApplyUpdates class.
|
|
17
17
|
* @param client Reference to the service client
|
|
@@ -33,39 +33,22 @@ export class ApplyUpdatesImpl {
|
|
|
33
33
|
return this;
|
|
34
34
|
},
|
|
35
35
|
byPage: (settings) => {
|
|
36
|
-
if (settings
|
|
36
|
+
if (settings?.maxPageSize) {
|
|
37
37
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
38
38
|
}
|
|
39
39
|
return this.listPagingPage(options, settings);
|
|
40
40
|
},
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
listPagingPage(options, _settings) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
yield yield __await(result.value || []);
|
|
48
|
-
});
|
|
43
|
+
async *listPagingPage(options, _settings) {
|
|
44
|
+
let result;
|
|
45
|
+
result = await this._list(options);
|
|
46
|
+
yield result.value || [];
|
|
49
47
|
}
|
|
50
|
-
listPagingAll(options) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
55
|
-
_c = _f.value;
|
|
56
|
-
_d = false;
|
|
57
|
-
const page = _c;
|
|
58
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
-
finally {
|
|
63
|
-
try {
|
|
64
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
65
|
-
}
|
|
66
|
-
finally { if (e_1) throw e_1.error; }
|
|
67
|
-
}
|
|
68
|
-
});
|
|
48
|
+
async *listPagingAll(options) {
|
|
49
|
+
for await (const page of this.listPagingPage(options)) {
|
|
50
|
+
yield* page;
|
|
51
|
+
}
|
|
69
52
|
}
|
|
70
53
|
/**
|
|
71
54
|
* Track maintenance updates to resource with parent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyUpdates.js","sourceRoot":"","sources":["../../../src/operations/applyUpdates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAkBtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI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A6B;IAC5D,IAAI,EAAE,gLAAgL;IACtL,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,8EAA8E;IACpF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { ApplyUpdates } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MaintenanceManagementClient } from \"../maintenanceManagementClient.js\";\nimport {\n ApplyUpdate,\n ApplyUpdatesListOptionalParams,\n ApplyUpdatesListResponse,\n ApplyUpdatesGetParentOptionalParams,\n ApplyUpdatesGetParentResponse,\n ApplyUpdatesGetOptionalParams,\n ApplyUpdatesGetResponse,\n ApplyUpdatesCreateOrUpdateOrCancelOptionalParams,\n ApplyUpdatesCreateOrUpdateOrCancelResponse,\n ApplyUpdatesCreateOrUpdateParentOptionalParams,\n ApplyUpdatesCreateOrUpdateParentResponse,\n ApplyUpdatesCreateOrUpdateOptionalParams,\n ApplyUpdatesCreateOrUpdateResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ApplyUpdates operations. */\nexport class ApplyUpdatesImpl implements ApplyUpdates {\n private readonly client: MaintenanceManagementClient;\n\n /**\n * Initialize a new instance of the class ApplyUpdates class.\n * @param client Reference to the service client\n */\n constructor(client: MaintenanceManagementClient) {\n this.client = client;\n }\n\n /**\n * Get Configuration records within a subscription\n * @param options The options parameters.\n */\n public list(\n options?: ApplyUpdatesListOptionalParams,\n ): PagedAsyncIterableIterator<ApplyUpdate> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ApplyUpdatesListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ApplyUpdate[]> {\n let result: ApplyUpdatesListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: ApplyUpdatesListOptionalParams,\n ): AsyncIterableIterator<ApplyUpdate> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Track maintenance updates to resource with parent\n * @param resourceGroupName Resource group name\n * @param providerName Resource provider name\n * @param resourceParentType Resource parent type\n * @param resourceParentName Resource parent identifier\n * @param resourceType Resource type\n * @param resourceName Resource identifier\n * @param applyUpdateName applyUpdate Id\n * @param options The options parameters.\n */\n getParent(\n resourceGroupName: string,\n providerName: string,\n resourceParentType: string,\n resourceParentName: string,\n resourceType: string,\n resourceName: string,\n applyUpdateName: string,\n options?: ApplyUpdatesGetParentOptionalParams,\n ): Promise<ApplyUpdatesGetParentResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceParentType,\n resourceParentName,\n resourceType,\n resourceName,\n applyUpdateName,\n options,\n },\n getParentOperationSpec,\n );\n }\n\n /**\n * Track maintenance updates to resource\n * @param resourceGroupName Resource group name\n * @param providerName Resource provider name\n * @param resourceType Resource type\n * @param resourceName Resource identifier\n * @param applyUpdateName applyUpdate Id\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n applyUpdateName: string,\n options?: ApplyUpdatesGetOptionalParams,\n ): Promise<ApplyUpdatesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceType,\n resourceName,\n applyUpdateName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Apply maintenance updates to resource\n * @param resourceGroupName Resource group name\n * @param providerName Resource provider name\n * @param resourceType Resource type\n * @param resourceName Resource identifier\n * @param applyUpdateName ApplyUpdate name\n * @param applyUpdate The ApplyUpdate\n * @param options The options parameters.\n */\n createOrUpdateOrCancel(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n applyUpdateName: string,\n applyUpdate: ApplyUpdate,\n options?: ApplyUpdatesCreateOrUpdateOrCancelOptionalParams,\n ): Promise<ApplyUpdatesCreateOrUpdateOrCancelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceType,\n resourceName,\n applyUpdateName,\n applyUpdate,\n options,\n },\n createOrUpdateOrCancelOperationSpec,\n );\n }\n\n /**\n * Apply maintenance updates to resource with parent\n * @param resourceGroupName Resource group name\n * @param providerName Resource provider name\n * @param resourceParentType Resource parent type\n * @param resourceParentName Resource parent identifier\n * @param resourceType Resource type\n * @param resourceName Resource identifier\n * @param options The options parameters.\n */\n createOrUpdateParent(\n resourceGroupName: string,\n providerName: string,\n resourceParentType: string,\n resourceParentName: string,\n resourceType: string,\n resourceName: string,\n options?: ApplyUpdatesCreateOrUpdateParentOptionalParams,\n ): Promise<ApplyUpdatesCreateOrUpdateParentResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceParentType,\n resourceParentName,\n resourceType,\n resourceName,\n options,\n },\n createOrUpdateParentOperationSpec,\n );\n }\n\n /**\n * Apply maintenance updates to resource\n * @param resourceGroupName Resource group name\n * @param providerName Resource provider name\n * @param resourceType Resource type\n * @param resourceName Resource identifier\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n options?: ApplyUpdatesCreateOrUpdateOptionalParams,\n ): Promise<ApplyUpdatesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, providerName, resourceType, resourceName, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Get Configuration records within a subscription\n * @param options The options parameters.\n */\n private _list(\n options?: ApplyUpdatesListOptionalParams,\n ): Promise<ApplyUpdatesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getParentOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.providerName,\n Parameters.resourceParentType,\n Parameters.resourceParentName,\n Parameters.applyUpdateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.providerName,\n Parameters.applyUpdateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOrCancelOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n 201: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n requestBody: Parameters.applyUpdate,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.providerName,\n Parameters.applyUpdateName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst createOrUpdateParentOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n 201: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.providerName,\n Parameters.resourceParentType,\n Parameters.resourceParentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n 201: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.providerName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/applyUpdates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"applyUpdates.js","sour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D,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { ApplyUpdates } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MaintenanceManagementClient } from \"../maintenanceManagementClient.js\";\nimport {\n ApplyUpdate,\n ApplyUpdatesListOptionalParams,\n ApplyUpdatesListResponse,\n ApplyUpdatesGetParentOptionalParams,\n ApplyUpdatesGetParentResponse,\n ApplyUpdatesGetOptionalParams,\n ApplyUpdatesGetResponse,\n ApplyUpdatesCreateOrUpdateOrCancelOptionalParams,\n ApplyUpdatesCreateOrUpdateOrCancelResponse,\n ApplyUpdatesCreateOrUpdateParentOptionalParams,\n ApplyUpdatesCreateOrUpdateParentResponse,\n ApplyUpdatesCreateOrUpdateOptionalParams,\n ApplyUpdatesCreateOrUpdateResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ApplyUpdates operations. */\nexport class ApplyUpdatesImpl implements ApplyUpdates {\n private readonly client: MaintenanceManagementClient;\n\n /**\n * Initialize a new instance of the class ApplyUpdates class.\n * @param client Reference to the service client\n */\n constructor(client: MaintenanceManagementClient) {\n this.client = client;\n }\n\n /**\n * Get Configuration records within a subscription\n * @param options The options parameters.\n */\n public list(\n options?: ApplyUpdatesListOptionalParams,\n ): PagedAsyncIterableIterator<ApplyUpdate> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ApplyUpdatesListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ApplyUpdate[]> {\n let result: ApplyUpdatesListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: ApplyUpdatesListOptionalParams,\n ): AsyncIterableIterator<ApplyUpdate> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Track maintenance updates to resource with parent\n * @param resourceGroupName Resource group name\n * @param providerName Resource provider name\n * @param resourceParentType Resource parent type\n * @param resourceParentName Resource parent identifier\n * @param resourceType Resource type\n * @param resourceName Resource identifier\n * @param applyUpdateName applyUpdate Id\n * @param options The options parameters.\n */\n getParent(\n resourceGroupName: string,\n providerName: string,\n resourceParentType: string,\n resourceParentName: string,\n resourceType: string,\n resourceName: string,\n applyUpdateName: string,\n options?: ApplyUpdatesGetParentOptionalParams,\n ): Promise<ApplyUpdatesGetParentResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceParentType,\n resourceParentName,\n resourceType,\n resourceName,\n applyUpdateName,\n options,\n },\n getParentOperationSpec,\n );\n }\n\n /**\n * Track maintenance updates to resource\n * @param resourceGroupName Resource group name\n * @param providerName Resource provider name\n * @param resourceType Resource type\n * @param resourceName Resource identifier\n * @param applyUpdateName applyUpdate Id\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n applyUpdateName: string,\n options?: ApplyUpdatesGetOptionalParams,\n ): Promise<ApplyUpdatesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceType,\n resourceName,\n applyUpdateName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Apply maintenance updates to resource\n * @param resourceGroupName Resource group name\n * @param providerName Resource provider name\n * @param resourceType Resource type\n * @param resourceName Resource identifier\n * @param applyUpdateName ApplyUpdate name\n * @param applyUpdate The ApplyUpdate\n * @param options The options parameters.\n */\n createOrUpdateOrCancel(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n applyUpdateName: string,\n applyUpdate: ApplyUpdate,\n options?: ApplyUpdatesCreateOrUpdateOrCancelOptionalParams,\n ): Promise<ApplyUpdatesCreateOrUpdateOrCancelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceType,\n resourceName,\n applyUpdateName,\n applyUpdate,\n options,\n },\n createOrUpdateOrCancelOperationSpec,\n );\n }\n\n /**\n * Apply maintenance updates to resource with parent\n * @param resourceGroupName Resource group name\n * @param providerName Resource provider name\n * @param resourceParentType Resource parent type\n * @param resourceParentName Resource parent identifier\n * @param resourceType Resource type\n * @param resourceName Resource identifier\n * @param options The options parameters.\n */\n createOrUpdateParent(\n resourceGroupName: string,\n providerName: string,\n resourceParentType: string,\n resourceParentName: string,\n resourceType: string,\n resourceName: string,\n options?: ApplyUpdatesCreateOrUpdateParentOptionalParams,\n ): Promise<ApplyUpdatesCreateOrUpdateParentResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceParentType,\n resourceParentName,\n resourceType,\n resourceName,\n options,\n },\n createOrUpdateParentOperationSpec,\n );\n }\n\n /**\n * Apply maintenance updates to resource\n * @param resourceGroupName Resource group name\n * @param providerName Resource provider name\n * @param resourceType Resource type\n * @param resourceName Resource identifier\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n options?: ApplyUpdatesCreateOrUpdateOptionalParams,\n ): Promise<ApplyUpdatesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, providerName, resourceType, resourceName, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Get Configuration records within a subscription\n * @param options The options parameters.\n */\n private _list(\n options?: ApplyUpdatesListOptionalParams,\n ): Promise<ApplyUpdatesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getParentOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.providerName,\n Parameters.resourceParentType,\n Parameters.resourceParentName,\n Parameters.applyUpdateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.providerName,\n Parameters.applyUpdateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOrCancelOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n 201: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n requestBody: Parameters.applyUpdate,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.providerName,\n Parameters.applyUpdateName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst createOrUpdateParentOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n 201: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.providerName,\n Parameters.resourceParentType,\n Parameters.resourceParentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n 201: {\n bodyMapper: Mappers.ApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.resourceGroupName1,\n Parameters.providerName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/applyUpdates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as Mappers from "../models/mappers.js";
|
|
11
10
|
import * as Parameters from "../models/parameters.js";
|
|
12
11
|
/// <reference lib="esnext.asynciterable" />
|
|
13
12
|
/** Class containing ConfigurationAssignments operations. */
|
|
14
13
|
export class ConfigurationAssignmentsImpl {
|
|
14
|
+
client;
|
|
15
15
|
/**
|
|
16
16
|
* Initialize a new instance of the class ConfigurationAssignments class.
|
|
17
17
|
* @param client Reference to the service client
|
|
@@ -39,39 +39,22 @@ export class ConfigurationAssignmentsImpl {
|
|
|
39
39
|
return this;
|
|
40
40
|
},
|
|
41
41
|
byPage: (settings) => {
|
|
42
|
-
if (settings
|
|
42
|
+
if (settings?.maxPageSize) {
|
|
43
43
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
44
|
}
|
|
45
45
|
return this.listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options, settings);
|
|
46
46
|
},
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options, _settings) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
yield yield __await(result.value || []);
|
|
54
|
-
});
|
|
49
|
+
async *listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options, _settings) {
|
|
50
|
+
let result;
|
|
51
|
+
result = await this._listParent(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options);
|
|
52
|
+
yield result.value || [];
|
|
55
53
|
}
|
|
56
|
-
listParentPagingAll(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
for (var _d = true, _e = __asyncValues(this.listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
61
|
-
_c = _f.value;
|
|
62
|
-
_d = false;
|
|
63
|
-
const page = _c;
|
|
64
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
68
|
-
finally {
|
|
69
|
-
try {
|
|
70
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
71
|
-
}
|
|
72
|
-
finally { if (e_1) throw e_1.error; }
|
|
73
|
-
}
|
|
74
|
-
});
|
|
54
|
+
async *listParentPagingAll(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options) {
|
|
55
|
+
for await (const page of this.listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options)) {
|
|
56
|
+
yield* page;
|
|
57
|
+
}
|
|
75
58
|
}
|
|
76
59
|
/**
|
|
77
60
|
* List configurationAssignments for resource.
|
|
@@ -91,39 +74,22 @@ export class ConfigurationAssignmentsImpl {
|
|
|
91
74
|
return this;
|
|
92
75
|
},
|
|
93
76
|
byPage: (settings) => {
|
|
94
|
-
if (settings
|
|
77
|
+
if (settings?.maxPageSize) {
|
|
95
78
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
96
79
|
}
|
|
97
80
|
return this.listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options, settings);
|
|
98
81
|
},
|
|
99
82
|
};
|
|
100
83
|
}
|
|
101
|
-
listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options, _settings) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
yield yield __await(result.value || []);
|
|
106
|
-
});
|
|
84
|
+
async *listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options, _settings) {
|
|
85
|
+
let result;
|
|
86
|
+
result = await this._list(resourceGroupName, providerName, resourceType, resourceName, options);
|
|
87
|
+
yield result.value || [];
|
|
107
88
|
}
|
|
108
|
-
listPagingAll(resourceGroupName, providerName, resourceType, resourceName, options) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
113
|
-
_c = _f.value;
|
|
114
|
-
_d = false;
|
|
115
|
-
const page = _c;
|
|
116
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
120
|
-
finally {
|
|
121
|
-
try {
|
|
122
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
123
|
-
}
|
|
124
|
-
finally { if (e_2) throw e_2.error; }
|
|
125
|
-
}
|
|
126
|
-
});
|
|
89
|
+
async *listPagingAll(resourceGroupName, providerName, resourceType, resourceName, options) {
|
|
90
|
+
for await (const page of this.listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options)) {
|
|
91
|
+
yield* page;
|
|
92
|
+
}
|
|
127
93
|
}
|
|
128
94
|
/**
|
|
129
95
|
* Get configuration assignment for resource..
|