@azure/arm-guestconfiguration 1.0.0-alpha.20250718.1 → 1.0.0-alpha.20250730.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/guestConfigurationClient.js +22 -5
- package/dist/browser/guestConfigurationClient.js.map +1 -1
- package/dist/browser/models/mappers.js +10 -4
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/guestConfigurationAssignmentReports.js +1 -0
- package/dist/browser/operations/guestConfigurationAssignmentReports.js.map +1 -1
- package/dist/browser/operations/guestConfigurationAssignmentReportsVmss.js +10 -27
- package/dist/browser/operations/guestConfigurationAssignmentReportsVmss.js.map +1 -1
- package/dist/browser/operations/guestConfigurationAssignments.js +28 -79
- package/dist/browser/operations/guestConfigurationAssignments.js.map +1 -1
- package/dist/browser/operations/guestConfigurationAssignmentsVmss.js +10 -27
- package/dist/browser/operations/guestConfigurationAssignmentsVmss.js.map +1 -1
- package/dist/browser/operations/guestConfigurationConnectedVMwarevSphereAssignments.js +10 -27
- package/dist/browser/operations/guestConfigurationConnectedVMwarevSphereAssignments.js.map +1 -1
- package/dist/browser/operations/guestConfigurationConnectedVMwarevSphereAssignmentsReports.js +1 -0
- package/dist/browser/operations/guestConfigurationConnectedVMwarevSphereAssignmentsReports.js.map +1 -1
- package/dist/browser/operations/guestConfigurationHcrpAssignmentReports.js +1 -0
- package/dist/browser/operations/guestConfigurationHcrpAssignmentReports.js.map +1 -1
- package/dist/browser/operations/guestConfigurationHcrpAssignments.js +10 -27
- package/dist/browser/operations/guestConfigurationHcrpAssignments.js.map +1 -1
- package/dist/browser/operations/operations.js +10 -27
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/guestConfigurationClient.js +22 -5
- package/dist/commonjs/guestConfigurationClient.js.map +1 -1
- package/dist/commonjs/models/mappers.js +10 -4
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/guestConfigurationAssignmentReports.js +1 -0
- package/dist/commonjs/operations/guestConfigurationAssignmentReports.js.map +1 -1
- package/dist/commonjs/operations/guestConfigurationAssignmentReportsVmss.js +10 -26
- package/dist/commonjs/operations/guestConfigurationAssignmentReportsVmss.js.map +1 -1
- package/dist/commonjs/operations/guestConfigurationAssignments.js +28 -78
- package/dist/commonjs/operations/guestConfigurationAssignments.js.map +1 -1
- package/dist/commonjs/operations/guestConfigurationAssignmentsVmss.js +10 -26
- package/dist/commonjs/operations/guestConfigurationAssignmentsVmss.js.map +1 -1
- package/dist/commonjs/operations/guestConfigurationConnectedVMwarevSphereAssignments.js +10 -26
- package/dist/commonjs/operations/guestConfigurationConnectedVMwarevSphereAssignments.js.map +1 -1
- package/dist/commonjs/operations/guestConfigurationConnectedVMwarevSphereAssignmentsReports.js +1 -0
- package/dist/commonjs/operations/guestConfigurationConnectedVMwarevSphereAssignmentsReports.js.map +1 -1
- package/dist/commonjs/operations/guestConfigurationHcrpAssignmentReports.js +1 -0
- package/dist/commonjs/operations/guestConfigurationHcrpAssignmentReports.js.map +1 -1
- package/dist/commonjs/operations/guestConfigurationHcrpAssignments.js +10 -26
- package/dist/commonjs/operations/guestConfigurationHcrpAssignments.js.map +1 -1
- package/dist/commonjs/operations/operations.js +10 -26
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/guestConfigurationClient.js +22 -5
- package/dist/esm/guestConfigurationClient.js.map +1 -1
- package/dist/esm/models/mappers.js +10 -4
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/guestConfigurationAssignmentReports.js +1 -0
- package/dist/esm/operations/guestConfigurationAssignmentReports.js.map +1 -1
- package/dist/esm/operations/guestConfigurationAssignmentReportsVmss.js +10 -27
- package/dist/esm/operations/guestConfigurationAssignmentReportsVmss.js.map +1 -1
- package/dist/esm/operations/guestConfigurationAssignments.js +28 -79
- package/dist/esm/operations/guestConfigurationAssignments.js.map +1 -1
- package/dist/esm/operations/guestConfigurationAssignmentsVmss.js +10 -27
- package/dist/esm/operations/guestConfigurationAssignmentsVmss.js.map +1 -1
- package/dist/esm/operations/guestConfigurationConnectedVMwarevSphereAssignments.js +10 -27
- package/dist/esm/operations/guestConfigurationConnectedVMwarevSphereAssignments.js.map +1 -1
- package/dist/esm/operations/guestConfigurationConnectedVMwarevSphereAssignmentsReports.js +1 -0
- package/dist/esm/operations/guestConfigurationConnectedVMwarevSphereAssignmentsReports.js.map +1 -1
- package/dist/esm/operations/guestConfigurationHcrpAssignmentReports.js +1 -0
- package/dist/esm/operations/guestConfigurationHcrpAssignmentReports.js.map +1 -1
- package/dist/esm/operations/guestConfigurationHcrpAssignments.js +10 -27
- package/dist/esm/operations/guestConfigurationHcrpAssignments.js.map +1 -1
- package/dist/esm/operations/operations.js +10 -27
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/guestConfigurationClient.js +22 -5
- package/dist/react-native/guestConfigurationClient.js.map +1 -1
- package/dist/react-native/models/mappers.js +10 -4
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/guestConfigurationAssignmentReports.js +1 -0
- package/dist/react-native/operations/guestConfigurationAssignmentReports.js.map +1 -1
- package/dist/react-native/operations/guestConfigurationAssignmentReportsVmss.js +10 -27
- package/dist/react-native/operations/guestConfigurationAssignmentReportsVmss.js.map +1 -1
- package/dist/react-native/operations/guestConfigurationAssignments.js +28 -79
- package/dist/react-native/operations/guestConfigurationAssignments.js.map +1 -1
- package/dist/react-native/operations/guestConfigurationAssignmentsVmss.js +10 -27
- package/dist/react-native/operations/guestConfigurationAssignmentsVmss.js.map +1 -1
- package/dist/react-native/operations/guestConfigurationConnectedVMwarevSphereAssignments.js +10 -27
- package/dist/react-native/operations/guestConfigurationConnectedVMwarevSphereAssignments.js.map +1 -1
- package/dist/react-native/operations/guestConfigurationConnectedVMwarevSphereAssignmentsReports.js +1 -0
- package/dist/react-native/operations/guestConfigurationConnectedVMwarevSphereAssignmentsReports.js.map +1 -1
- package/dist/react-native/operations/guestConfigurationHcrpAssignmentReports.js +1 -0
- package/dist/react-native/operations/guestConfigurationHcrpAssignmentReports.js.map +1 -1
- package/dist/react-native/operations/guestConfigurationHcrpAssignments.js +10 -27
- package/dist/react-native/operations/guestConfigurationHcrpAssignments.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/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-guestconfiguration-node.api.md +579 -579
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,sCAAsC,GACjD;IACE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wCAAwC;QACnD,eAAe,EAAE;YACf,gBAAgB,EAAE;gBAChB,cAAc,EAAE,kBAAkB;gBAClC,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,kBAAkB,EAAE;gBAClB,cAAc,EAAE,oBAAoB;gBACpC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,8BAA8B;iBAC1C;aACF;YACD,gBAAgB,EAAE;gBAChB,cAAc,EAAE,kBAAkB;gBAClC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,2BAA2B,EAAE;gBAC3B,cAAc,EAAE,6BAA6B;gBAC7C,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IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,oBACV,gBAAQ,CAAC,IAAI,CAAC,eAAe,CACjC;KACF;CACF,CAAC;AAEW,QAAA,4BAA4B,GAA+B;IACtE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,8BAA8B;QACzC,eAAe,kCACV,qBAAa,CAAC,IAAI,CAAC,eAAe,KACrC,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,wCAAwC;iBACpD;aACF,EACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,YAAY;iBACxB;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 GuestConfigurationAssignmentProperties: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentProperties\",\n modelProperties: {\n targetResourceId: {\n serializedName: \"targetResourceId\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n guestConfiguration: {\n serializedName: \"guestConfiguration\",\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationNavigation\",\n },\n },\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n lastComplianceStatusChecked: {\n serializedName: \"lastComplianceStatusChecked\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"DateTime\",\n },\n },\n latestReportId: {\n serializedName: \"latestReportId\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n parameterHash: {\n serializedName: \"parameterHash\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n latestAssignmentReport: {\n serializedName: \"latestAssignmentReport\",\n type: {\n name: \"Composite\",\n className: \"AssignmentReport\",\n },\n },\n context: {\n serializedName: \"context\",\n type: {\n name: \"String\",\n },\n },\n assignmentHash: {\n serializedName: \"assignmentHash\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n resourceType: {\n serializedName: \"resourceType\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n vmssVMList: {\n serializedName: \"vmssVMList\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"VmssvmInfo\",\n },\n },\n },\n },\n },\n },\n };\n\nexport const GuestConfigurationNavigation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationNavigation\",\n modelProperties: {\n kind: {\n serializedName: \"kind\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"version\",\n type: {\n name: \"String\",\n },\n },\n contentUri: {\n serializedName: \"contentUri\",\n type: {\n name: \"String\",\n },\n },\n contentHash: {\n serializedName: \"contentHash\",\n type: {\n name: \"String\",\n },\n },\n assignmentType: {\n serializedName: \"assignmentType\",\n type: {\n name: \"String\",\n },\n },\n assignmentSource: {\n serializedName: \"assignmentSource\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n contentType: {\n serializedName: \"contentType\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n configurationParameter: {\n serializedName: \"configurationParameter\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationParameter\",\n },\n },\n },\n },\n configurationProtectedParameter: {\n serializedName: \"configurationProtectedParameter\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationParameter\",\n },\n },\n },\n },\n configurationSetting: {\n serializedName: \"configurationSetting\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationParameter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationParameter\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationSetting: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\",\n modelProperties: {\n configurationMode: {\n serializedName: \"configurationMode\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n allowModuleOverwrite: {\n serializedName: \"allowModuleOverwrite\",\n readOnly: true,\n type: {\n name: \"Boolean\",\n },\n },\n actionAfterReboot: {\n serializedName: \"actionAfterReboot\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n refreshFrequencyMins: {\n defaultValue: 30,\n serializedName: \"refreshFrequencyMins\",\n readOnly: true,\n type: {\n name: \"Number\",\n },\n },\n rebootIfNeeded: {\n serializedName: \"rebootIfNeeded\",\n readOnly: true,\n type: {\n name: \"Boolean\",\n },\n },\n configurationModeFrequencyMins: {\n defaultValue: 15,\n serializedName: \"configurationModeFrequencyMins\",\n readOnly: true,\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const AssignmentReport: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AssignmentReport\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n reportId: {\n serializedName: \"reportId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n assignment: {\n serializedName: \"assignment\",\n type: {\n name: \"Composite\",\n className: \"AssignmentInfo\",\n },\n },\n vm: {\n serializedName: \"vm\",\n type: {\n name: \"Composite\",\n className: \"VMInfo\",\n },\n },\n startTime: {\n serializedName: \"startTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n endTime: {\n serializedName: \"endTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n operationType: {\n serializedName: \"operationType\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n resources: {\n serializedName: \"resources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportResource\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const AssignmentInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AssignmentInfo\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n configuration: {\n serializedName: \"configuration\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationInfo\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationInfo\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"version\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const VMInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VMInfo\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n uuid: {\n serializedName: \"uuid\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const AssignmentReportResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportResource\",\n modelProperties: {\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"resourceId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n reasons: {\n serializedName: \"reasons\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportResourceComplianceReason\",\n },\n },\n },\n },\n properties: {\n serializedName: \"properties\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n },\n },\n};\n\nexport const AssignmentReportResourceComplianceReason: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportResourceComplianceReason\",\n modelProperties: {\n phrase: {\n serializedName: \"phrase\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n };\n\nexport const VmssvmInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VmssvmInfo\",\n modelProperties: {\n vmId: {\n serializedName: \"vmId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n vmResourceId: {\n serializedName: \"vmResourceId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n latestReportId: {\n serializedName: \"latestReportId\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n lastComplianceChecked: {\n serializedName: \"lastComplianceChecked\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"DateTime\",\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 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 type: {\n name: \"String\",\n },\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponseError\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponseError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponseError\",\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 GuestConfigurationAssignmentList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignment\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const GuestConfigurationAssignmentReportList: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentReportList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentReport\",\n },\n },\n },\n },\n },\n },\n };\n\nexport const GuestConfigurationAssignmentReport: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentReport\",\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 properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentReportProperties\",\n },\n },\n },\n },\n};\n\nexport const GuestConfigurationAssignmentReportProperties: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentReportProperties\",\n modelProperties: {\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n reportId: {\n serializedName: \"reportId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n assignment: {\n serializedName: \"assignment\",\n type: {\n name: \"Composite\",\n className: \"AssignmentInfo\",\n },\n },\n vm: {\n serializedName: \"vm\",\n type: {\n name: \"Composite\",\n className: \"VMInfo\",\n },\n },\n startTime: {\n serializedName: \"startTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n endTime: {\n serializedName: \"endTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Composite\",\n className: \"AssignmentReportDetails\",\n },\n },\n vmssResourceId: {\n serializedName: \"vmssResourceId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n };\n\nexport const AssignmentReportDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportDetails\",\n modelProperties: {\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n startTime: {\n serializedName: \"startTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n endTime: {\n serializedName: \"endTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n jobId: {\n serializedName: \"jobId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n operationType: {\n serializedName: \"operationType\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n resources: {\n serializedName: \"resources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportResource\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const OperationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationList\",\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: \"OperationDisplay\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"OperationProperties\",\n },\n },\n },\n },\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\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 OperationProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationProperties\",\n modelProperties: {\n statusCode: {\n serializedName: \"statusCode\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n },\n },\n};\n\nexport const GuestConfigurationAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignment\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentProperties\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,sCAAsC,GACjD;IACE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wCAAwC;QACnD,eAAe,EAAE;YACf,gBAAgB,EAAE;gBAChB,cAAc,EAAE,kBAAkB;gBAClC,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,kBAAkB,EAAE;gBAClB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AAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,wCAAwC;iBACpD;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,YAAY;iBACxB;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 GuestConfigurationAssignmentProperties: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentProperties\",\n modelProperties: {\n targetResourceId: {\n serializedName: \"targetResourceId\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n guestConfiguration: {\n serializedName: \"guestConfiguration\",\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationNavigation\",\n },\n },\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n lastComplianceStatusChecked: {\n serializedName: \"lastComplianceStatusChecked\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"DateTime\",\n },\n },\n latestReportId: {\n serializedName: \"latestReportId\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n parameterHash: {\n serializedName: \"parameterHash\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n latestAssignmentReport: {\n serializedName: \"latestAssignmentReport\",\n type: {\n name: \"Composite\",\n className: \"AssignmentReport\",\n },\n },\n context: {\n serializedName: \"context\",\n type: {\n name: \"String\",\n },\n },\n assignmentHash: {\n serializedName: \"assignmentHash\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n resourceType: {\n serializedName: \"resourceType\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n vmssVMList: {\n serializedName: \"vmssVMList\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"VmssvmInfo\",\n },\n },\n },\n },\n },\n },\n };\n\nexport const GuestConfigurationNavigation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationNavigation\",\n modelProperties: {\n kind: {\n serializedName: \"kind\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"version\",\n type: {\n name: \"String\",\n },\n },\n contentUri: {\n serializedName: \"contentUri\",\n type: {\n name: \"String\",\n },\n },\n contentHash: {\n serializedName: \"contentHash\",\n type: {\n name: \"String\",\n },\n },\n assignmentType: {\n serializedName: \"assignmentType\",\n type: {\n name: \"String\",\n },\n },\n assignmentSource: {\n serializedName: \"assignmentSource\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n contentType: {\n serializedName: \"contentType\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n configurationParameter: {\n serializedName: \"configurationParameter\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationParameter\",\n },\n },\n },\n },\n configurationProtectedParameter: {\n serializedName: \"configurationProtectedParameter\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationParameter\",\n },\n },\n },\n },\n configurationSetting: {\n serializedName: \"configurationSetting\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationParameter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationParameter\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationSetting: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\",\n modelProperties: {\n configurationMode: {\n serializedName: \"configurationMode\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n allowModuleOverwrite: {\n serializedName: \"allowModuleOverwrite\",\n readOnly: true,\n type: {\n name: \"Boolean\",\n },\n },\n actionAfterReboot: {\n serializedName: \"actionAfterReboot\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n refreshFrequencyMins: {\n defaultValue: 30,\n serializedName: \"refreshFrequencyMins\",\n readOnly: true,\n type: {\n name: \"Number\",\n },\n },\n rebootIfNeeded: {\n serializedName: \"rebootIfNeeded\",\n readOnly: true,\n type: {\n name: \"Boolean\",\n },\n },\n configurationModeFrequencyMins: {\n defaultValue: 15,\n serializedName: \"configurationModeFrequencyMins\",\n readOnly: true,\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const AssignmentReport: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AssignmentReport\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n reportId: {\n serializedName: \"reportId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n assignment: {\n serializedName: \"assignment\",\n type: {\n name: \"Composite\",\n className: \"AssignmentInfo\",\n },\n },\n vm: {\n serializedName: \"vm\",\n type: {\n name: \"Composite\",\n className: \"VMInfo\",\n },\n },\n startTime: {\n serializedName: \"startTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n endTime: {\n serializedName: \"endTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n operationType: {\n serializedName: \"operationType\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n resources: {\n serializedName: \"resources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportResource\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const AssignmentInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AssignmentInfo\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n configuration: {\n serializedName: \"configuration\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationInfo\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationInfo\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"version\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const VMInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VMInfo\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n uuid: {\n serializedName: \"uuid\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const AssignmentReportResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportResource\",\n modelProperties: {\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"resourceId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n reasons: {\n serializedName: \"reasons\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportResourceComplianceReason\",\n },\n },\n },\n },\n properties: {\n serializedName: \"properties\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n },\n },\n};\n\nexport const AssignmentReportResourceComplianceReason: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportResourceComplianceReason\",\n modelProperties: {\n phrase: {\n serializedName: \"phrase\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n };\n\nexport const VmssvmInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VmssvmInfo\",\n modelProperties: {\n vmId: {\n serializedName: \"vmId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n vmResourceId: {\n serializedName: \"vmResourceId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n latestReportId: {\n serializedName: \"latestReportId\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n lastComplianceChecked: {\n serializedName: \"lastComplianceChecked\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"DateTime\",\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 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 type: {\n name: \"String\",\n },\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponseError\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponseError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponseError\",\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 GuestConfigurationAssignmentList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignment\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const GuestConfigurationAssignmentReportList: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentReportList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentReport\",\n },\n },\n },\n },\n },\n },\n };\n\nexport const GuestConfigurationAssignmentReport: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentReport\",\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 properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentReportProperties\",\n },\n },\n },\n },\n};\n\nexport const GuestConfigurationAssignmentReportProperties: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentReportProperties\",\n modelProperties: {\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n reportId: {\n serializedName: \"reportId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n assignment: {\n serializedName: \"assignment\",\n type: {\n name: \"Composite\",\n className: \"AssignmentInfo\",\n },\n },\n vm: {\n serializedName: \"vm\",\n type: {\n name: \"Composite\",\n className: \"VMInfo\",\n },\n },\n startTime: {\n serializedName: \"startTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n endTime: {\n serializedName: \"endTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Composite\",\n className: \"AssignmentReportDetails\",\n },\n },\n vmssResourceId: {\n serializedName: \"vmssResourceId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n };\n\nexport const AssignmentReportDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportDetails\",\n modelProperties: {\n complianceStatus: {\n serializedName: \"complianceStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n startTime: {\n serializedName: \"startTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n endTime: {\n serializedName: \"endTime\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n jobId: {\n serializedName: \"jobId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n operationType: {\n serializedName: \"operationType\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n resources: {\n serializedName: \"resources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AssignmentReportResource\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const OperationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationList\",\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: \"OperationDisplay\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"OperationProperties\",\n },\n },\n },\n },\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\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 OperationProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationProperties\",\n modelProperties: {\n statusCode: {\n serializedName: \"statusCode\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n },\n },\n};\n\nexport const GuestConfigurationAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignment\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"GuestConfigurationAssignmentProperties\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n"]}
|
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing GuestConfigurationAssignmentReports operations. */
|
|
16
16
|
class GuestConfigurationAssignmentReportsImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class GuestConfigurationAssignmentReports class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guestConfigurationAssignmentReports.js","sourceRoot":"","sources":["../../../src/operations/guestConfigurationAssignmentReports.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAStD,uEAAuE;AACvE,MAAa,uCAAuC;
|
|
1
|
+
{"version":3,"file":"guestConfigurationAssignmentReports.js","sourceRoot":"","sources":["../../../src/operations/guestConfigurationAssignmentReports.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAStD,uEAAuE;AACvE,MAAa,uCAAuC;IAGjC,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,iBAAyB,EACzB,gCAAwC,EACxC,MAAc,EACd,OAA+D;QAE/D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,gCAAgC,EAAE,MAAM,EAAE,OAAO,EAAE,EACxE,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,iBAAyB,EACzB,gCAAwC,EACxC,QAAgB,EAChB,MAAc,EACd,OAA8D;QAE9D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,gCAAgC;YAChC,QAAQ;YACR,MAAM;YACN,OAAO;SACR,EACD,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AA1DD,0FA0DC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,yOAAyO;IAC/O,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sCAAsC;SAC3D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,gCAAgC;QAC3C,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,MAAM;KAClB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,oPAAoP;IAC1P,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kCAAkC;SACvD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,gCAAgC;QAC3C,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,QAAQ;KACpB;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 { GuestConfigurationAssignmentReports } 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 { GuestConfigurationClient } from \"../guestConfigurationClient.js\";\nimport {\n GuestConfigurationAssignmentReportsListOptionalParams,\n GuestConfigurationAssignmentReportsListResponse,\n GuestConfigurationAssignmentReportsGetOptionalParams,\n GuestConfigurationAssignmentReportsGetResponse,\n} from \"../models/index.js\";\n\n/** Class containing GuestConfigurationAssignmentReports operations. */\nexport class GuestConfigurationAssignmentReportsImpl\n implements GuestConfigurationAssignmentReports\n{\n private readonly client: GuestConfigurationClient;\n\n /**\n * Initialize a new instance of the class GuestConfigurationAssignmentReports class.\n * @param client Reference to the service client\n */\n constructor(client: GuestConfigurationClient) {\n this.client = client;\n }\n\n /**\n * List all reports for the guest configuration assignment, latest report first.\n * @param resourceGroupName The resource group name.\n * @param guestConfigurationAssignmentName The guest configuration assignment name.\n * @param vmName The name of the virtual machine.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n guestConfigurationAssignmentName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentReportsListOptionalParams,\n ): Promise<GuestConfigurationAssignmentReportsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, guestConfigurationAssignmentName, vmName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a report for the guest configuration assignment, by reportId.\n * @param resourceGroupName The resource group name.\n * @param guestConfigurationAssignmentName The guest configuration assignment name.\n * @param reportId The GUID for the guest configuration assignment report.\n * @param vmName The name of the virtual machine.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n guestConfigurationAssignmentName: string,\n reportId: string,\n vmName: string,\n options?: GuestConfigurationAssignmentReportsGetOptionalParams,\n ): Promise<GuestConfigurationAssignmentReportsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n guestConfigurationAssignmentName,\n reportId,\n vmName,\n options,\n },\n getOperationSpec,\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.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}/reports\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignmentReportList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.guestConfigurationAssignmentName,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}/reports/{reportId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignmentReport,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.guestConfigurationAssignmentName,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmName,\n Parameters.reportId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -15,6 +15,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing GuestConfigurationAssignmentReportsVmss operations. */
|
|
17
17
|
class GuestConfigurationAssignmentReportsVmssImpl {
|
|
18
|
+
client;
|
|
18
19
|
/**
|
|
19
20
|
* Initialize a new instance of the class GuestConfigurationAssignmentReportsVmss class.
|
|
20
21
|
* @param client Reference to the service client
|
|
@@ -39,39 +40,22 @@ class GuestConfigurationAssignmentReportsVmssImpl {
|
|
|
39
40
|
return this;
|
|
40
41
|
},
|
|
41
42
|
byPage: (settings) => {
|
|
42
|
-
if (settings
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
43
44
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
45
|
}
|
|
45
46
|
return this.listPagingPage(resourceGroupName, vmssName, name, options, settings);
|
|
46
47
|
},
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
listPagingPage(resourceGroupName, vmssName, name, options, _settings) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
yield yield tslib_1.__await(result.value || []);
|
|
54
|
-
});
|
|
50
|
+
async *listPagingPage(resourceGroupName, vmssName, name, options, _settings) {
|
|
51
|
+
let result;
|
|
52
|
+
result = await this._list(resourceGroupName, vmssName, name, options);
|
|
53
|
+
yield result.value || [];
|
|
55
54
|
}
|
|
56
|
-
listPagingAll(resourceGroupName, vmssName, name, options) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, vmssName, name, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
61
|
-
_c = _f.value;
|
|
62
|
-
_d = false;
|
|
63
|
-
const page = _c;
|
|
64
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__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 tslib_1.__await(_b.call(_e));
|
|
71
|
-
}
|
|
72
|
-
finally { if (e_1) throw e_1.error; }
|
|
73
|
-
}
|
|
74
|
-
});
|
|
55
|
+
async *listPagingAll(resourceGroupName, vmssName, name, options) {
|
|
56
|
+
for await (const page of this.listPagingPage(resourceGroupName, vmssName, name, options)) {
|
|
57
|
+
yield* page;
|
|
58
|
+
}
|
|
75
59
|
}
|
|
76
60
|
/**
|
|
77
61
|
* List all reports for the VMSS guest configuration assignment, latest report first.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guestConfigurationAssignmentReportsVmss.js","sourceRoot":"","sources":["../../../src/operations/guestConfigurationAssignmentReportsVmss.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,2EAA2E;AAC3E,MAAa,2CAA2C;
|
|
1
|
+
{"version":3,"file":"guestConfigurationAssignmentReportsVmss.js","sourceRoot":"","sources":["../../../src/operations/guestConfigurationAssignmentReportsVmss.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,2EAA2E;AAC3E,MAAa,2CAA2C;IAGrC,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,iBAAyB,EACzB,QAAgB,EAChB,IAAY,EACZ,OAAmE;QAEnE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC5E,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,QAAQ,EAAE,WAAW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,CACjB,CAAC;IACJ,CAAC;CACF;AApHD,kGAoHC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,uNAAuN;IAC7N,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sCAAsC;SAC3D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,IAAI;KAChB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,4NAA4N;IAClO,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kCAAkC;SACvD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,EAAE;KACd;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 { GuestConfigurationAssignmentReportsVmss } 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 { GuestConfigurationClient } from \"../guestConfigurationClient.js\";\nimport {\n GuestConfigurationAssignmentReport,\n GuestConfigurationAssignmentReportsVmssListOptionalParams,\n GuestConfigurationAssignmentReportsVmssListResponse,\n GuestConfigurationAssignmentReportsVmssGetOptionalParams,\n GuestConfigurationAssignmentReportsVmssGetResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing GuestConfigurationAssignmentReportsVmss operations. */\nexport class GuestConfigurationAssignmentReportsVmssImpl\n implements GuestConfigurationAssignmentReportsVmss\n{\n private readonly client: GuestConfigurationClient;\n\n /**\n * Initialize a new instance of the class GuestConfigurationAssignmentReportsVmss class.\n * @param client Reference to the service client\n */\n constructor(client: GuestConfigurationClient) {\n this.client = client;\n }\n\n /**\n * List all reports for the VMSS guest configuration assignment, latest report first.\n * @param resourceGroupName The resource group name.\n * @param vmssName The name of the virtual machine scale set.\n * @param name The guest configuration assignment name.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n vmssName: string,\n name: string,\n options?: GuestConfigurationAssignmentReportsVmssListOptionalParams,\n ): PagedAsyncIterableIterator<GuestConfigurationAssignmentReport> {\n const iter = this.listPagingAll(resourceGroupName, vmssName, name, 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(\n resourceGroupName,\n vmssName,\n name,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n vmssName: string,\n name: string,\n options?: GuestConfigurationAssignmentReportsVmssListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<GuestConfigurationAssignmentReport[]> {\n let result: GuestConfigurationAssignmentReportsVmssListResponse;\n result = await this._list(resourceGroupName, vmssName, name, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n vmssName: string,\n name: string,\n options?: GuestConfigurationAssignmentReportsVmssListOptionalParams,\n ): AsyncIterableIterator<GuestConfigurationAssignmentReport> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n vmssName,\n name,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List all reports for the VMSS guest configuration assignment, latest report first.\n * @param resourceGroupName The resource group name.\n * @param vmssName The name of the virtual machine scale set.\n * @param name The guest configuration assignment name.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n vmssName: string,\n name: string,\n options?: GuestConfigurationAssignmentReportsVmssListOptionalParams,\n ): Promise<GuestConfigurationAssignmentReportsVmssListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vmssName, name, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a report for the VMSS guest configuration assignment, by reportId.\n * @param resourceGroupName The resource group name.\n * @param vmssName The name of the virtual machine scale set.\n * @param name The guest configuration assignment name.\n * @param id The GUID for the guest configuration assignment report.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vmssName: string,\n name: string,\n id: string,\n options?: GuestConfigurationAssignmentReportsVmssGetOptionalParams,\n ): Promise<GuestConfigurationAssignmentReportsVmssGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vmssName, name, id, options },\n getOperationSpec,\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.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}/reports\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignmentReportList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmssName,\n Parameters.name,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}/reports/{id}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignmentReport,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmssName,\n Parameters.name,\n Parameters.id,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -15,6 +15,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing GuestConfigurationAssignments operations. */
|
|
17
17
|
class GuestConfigurationAssignmentsImpl {
|
|
18
|
+
client;
|
|
18
19
|
/**
|
|
19
20
|
* Initialize a new instance of the class GuestConfigurationAssignments class.
|
|
20
21
|
* @param client Reference to the service client
|
|
@@ -36,39 +37,22 @@ class GuestConfigurationAssignmentsImpl {
|
|
|
36
37
|
return this;
|
|
37
38
|
},
|
|
38
39
|
byPage: (settings) => {
|
|
39
|
-
if (settings
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
40
41
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
42
|
}
|
|
42
43
|
return this.subscriptionListPagingPage(options, settings);
|
|
43
44
|
},
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
|
-
subscriptionListPagingPage(options, _settings) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
yield yield tslib_1.__await(result.value || []);
|
|
51
|
-
});
|
|
47
|
+
async *subscriptionListPagingPage(options, _settings) {
|
|
48
|
+
let result;
|
|
49
|
+
result = await this._subscriptionList(options);
|
|
50
|
+
yield result.value || [];
|
|
52
51
|
}
|
|
53
|
-
subscriptionListPagingAll(options) {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.subscriptionListPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
58
|
-
_c = _f.value;
|
|
59
|
-
_d = false;
|
|
60
|
-
const page = _c;
|
|
61
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
-
finally {
|
|
66
|
-
try {
|
|
67
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
68
|
-
}
|
|
69
|
-
finally { if (e_1) throw e_1.error; }
|
|
70
|
-
}
|
|
71
|
-
});
|
|
52
|
+
async *subscriptionListPagingAll(options) {
|
|
53
|
+
for await (const page of this.subscriptionListPagingPage(options)) {
|
|
54
|
+
yield* page;
|
|
55
|
+
}
|
|
72
56
|
}
|
|
73
57
|
/**
|
|
74
58
|
* List all guest configuration assignments for a resource group.
|
|
@@ -85,39 +69,22 @@ class GuestConfigurationAssignmentsImpl {
|
|
|
85
69
|
return this;
|
|
86
70
|
},
|
|
87
71
|
byPage: (settings) => {
|
|
88
|
-
if (settings
|
|
72
|
+
if (settings?.maxPageSize) {
|
|
89
73
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
90
74
|
}
|
|
91
75
|
return this.rGListPagingPage(resourceGroupName, options, settings);
|
|
92
76
|
},
|
|
93
77
|
};
|
|
94
78
|
}
|
|
95
|
-
rGListPagingPage(resourceGroupName, options, _settings) {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
yield yield tslib_1.__await(result.value || []);
|
|
100
|
-
});
|
|
79
|
+
async *rGListPagingPage(resourceGroupName, options, _settings) {
|
|
80
|
+
let result;
|
|
81
|
+
result = await this._rGList(resourceGroupName, options);
|
|
82
|
+
yield result.value || [];
|
|
101
83
|
}
|
|
102
|
-
rGListPagingAll(resourceGroupName, options) {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.rGListPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
107
|
-
_c = _f.value;
|
|
108
|
-
_d = false;
|
|
109
|
-
const page = _c;
|
|
110
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
114
|
-
finally {
|
|
115
|
-
try {
|
|
116
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
117
|
-
}
|
|
118
|
-
finally { if (e_2) throw e_2.error; }
|
|
119
|
-
}
|
|
120
|
-
});
|
|
84
|
+
async *rGListPagingAll(resourceGroupName, options) {
|
|
85
|
+
for await (const page of this.rGListPagingPage(resourceGroupName, options)) {
|
|
86
|
+
yield* page;
|
|
87
|
+
}
|
|
121
88
|
}
|
|
122
89
|
/**
|
|
123
90
|
* List all guest configuration assignments for a virtual machine.
|
|
@@ -135,39 +102,22 @@ class GuestConfigurationAssignmentsImpl {
|
|
|
135
102
|
return this;
|
|
136
103
|
},
|
|
137
104
|
byPage: (settings) => {
|
|
138
|
-
if (settings
|
|
105
|
+
if (settings?.maxPageSize) {
|
|
139
106
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
140
107
|
}
|
|
141
108
|
return this.listPagingPage(resourceGroupName, vmName, options, settings);
|
|
142
109
|
},
|
|
143
110
|
};
|
|
144
111
|
}
|
|
145
|
-
listPagingPage(resourceGroupName, vmName, options, _settings) {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
yield yield tslib_1.__await(result.value || []);
|
|
150
|
-
});
|
|
112
|
+
async *listPagingPage(resourceGroupName, vmName, options, _settings) {
|
|
113
|
+
let result;
|
|
114
|
+
result = await this._list(resourceGroupName, vmName, options);
|
|
115
|
+
yield result.value || [];
|
|
151
116
|
}
|
|
152
|
-
listPagingAll(resourceGroupName, vmName, options) {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, vmName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
157
|
-
_c = _f.value;
|
|
158
|
-
_d = false;
|
|
159
|
-
const page = _c;
|
|
160
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
164
|
-
finally {
|
|
165
|
-
try {
|
|
166
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
167
|
-
}
|
|
168
|
-
finally { if (e_3) throw e_3.error; }
|
|
169
|
-
}
|
|
170
|
-
});
|
|
117
|
+
async *listPagingAll(resourceGroupName, vmName, options) {
|
|
118
|
+
for await (const page of this.listPagingPage(resourceGroupName, vmName, options)) {
|
|
119
|
+
yield* page;
|
|
120
|
+
}
|
|
171
121
|
}
|
|
172
122
|
/**
|
|
173
123
|
* Creates an association between a VM and guest configuration
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guestConfigurationAssignments.js","sourceRoot":"","sources":["../../../src/operations/guestConfigurationAssignments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAiBtD,4CAA4C;AAC5C,iEAAiE;AACjE,MAAa,iCAAiC;IAK5C;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,oBAAoB,CACzB,OAAqE;QAErE,MAAM,IAAI,GAAG,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC;QACrD,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,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,0BAA0B,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC5D,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,0BAA0B,CACvC,OAAqE,EACrE,SAAwB;;YAExB,IAAI,MAA6D,CAAC;YAClE,MAAM,GAAG,sBAAM,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAA,CAAC;YAC/C,4BAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;QAC3B,CAAC;KAAA;IAEc,yBAAyB,CACtC,OAAqE;;;;gBAErE,KAAyB,eAAA,KAAA,sBAAA,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAA,IAAA,uEAAE,CAAC;oBAA3C,cAAwC;oBAAxC,WAAwC;oBAAtD,MAAM,IAA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C,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,8LAA8L;IACpM,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,MAAM;KAClB;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 { GuestConfigurationAssignments } 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 { GuestConfigurationClient } from \"../guestConfigurationClient.js\";\nimport {\n GuestConfigurationAssignment,\n GuestConfigurationAssignmentsSubscriptionListOptionalParams,\n GuestConfigurationAssignmentsSubscriptionListResponse,\n GuestConfigurationAssignmentsRGListOptionalParams,\n GuestConfigurationAssignmentsRGListResponse,\n GuestConfigurationAssignmentsListOptionalParams,\n GuestConfigurationAssignmentsListResponse,\n GuestConfigurationAssignmentsCreateOrUpdateOptionalParams,\n GuestConfigurationAssignmentsCreateOrUpdateResponse,\n GuestConfigurationAssignmentsGetOptionalParams,\n GuestConfigurationAssignmentsGetResponse,\n GuestConfigurationAssignmentsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing GuestConfigurationAssignments operations. */\nexport class GuestConfigurationAssignmentsImpl\n implements GuestConfigurationAssignments\n{\n private readonly client: GuestConfigurationClient;\n\n /**\n * Initialize a new instance of the class GuestConfigurationAssignments class.\n * @param client Reference to the service client\n */\n constructor(client: GuestConfigurationClient) {\n this.client = client;\n }\n\n /**\n * List all guest configuration assignments for a subscription.\n * @param options The options parameters.\n */\n public listSubscriptionList(\n options?: GuestConfigurationAssignmentsSubscriptionListOptionalParams,\n ): PagedAsyncIterableIterator<GuestConfigurationAssignment> {\n const iter = this.subscriptionListPagingAll(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.subscriptionListPagingPage(options, settings);\n },\n };\n }\n\n private async *subscriptionListPagingPage(\n options?: GuestConfigurationAssignmentsSubscriptionListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<GuestConfigurationAssignment[]> {\n let result: GuestConfigurationAssignmentsSubscriptionListResponse;\n result = await this._subscriptionList(options);\n yield result.value || [];\n }\n\n private async *subscriptionListPagingAll(\n options?: GuestConfigurationAssignmentsSubscriptionListOptionalParams,\n ): AsyncIterableIterator<GuestConfigurationAssignment> {\n for await (const page of this.subscriptionListPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List all guest configuration assignments for a resource group.\n * @param resourceGroupName The resource group name.\n * @param options The options parameters.\n */\n public listRGList(\n resourceGroupName: string,\n options?: GuestConfigurationAssignmentsRGListOptionalParams,\n ): PagedAsyncIterableIterator<GuestConfigurationAssignment> {\n const iter = this.rGListPagingAll(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.rGListPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *rGListPagingPage(\n resourceGroupName: string,\n options?: GuestConfigurationAssignmentsRGListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<GuestConfigurationAssignment[]> {\n let result: GuestConfigurationAssignmentsRGListResponse;\n result = await this._rGList(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *rGListPagingAll(\n resourceGroupName: string,\n options?: GuestConfigurationAssignmentsRGListOptionalParams,\n ): AsyncIterableIterator<GuestConfigurationAssignment> {\n for await (const page of this.rGListPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List all guest configuration assignments for a virtual machine.\n * @param resourceGroupName The resource group name.\n * @param vmName The name of the virtual machine.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsListOptionalParams,\n ): PagedAsyncIterableIterator<GuestConfigurationAssignment> {\n const iter = this.listPagingAll(resourceGroupName, vmName, 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(\n resourceGroupName,\n vmName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<GuestConfigurationAssignment[]> {\n let result: GuestConfigurationAssignmentsListResponse;\n result = await this._list(resourceGroupName, vmName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsListOptionalParams,\n ): AsyncIterableIterator<GuestConfigurationAssignment> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n vmName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates an association between a VM and guest configuration\n * @param guestConfigurationAssignmentName Name of the guest configuration assignment.\n * @param resourceGroupName The resource group name.\n * @param vmName The name of the virtual machine.\n * @param parameters Parameters supplied to the create or update guest configuration assignment.\n * @param options The options parameters.\n */\n createOrUpdate(\n guestConfigurationAssignmentName: string,\n resourceGroupName: string,\n vmName: string,\n parameters: GuestConfigurationAssignment,\n options?: GuestConfigurationAssignmentsCreateOrUpdateOptionalParams,\n ): Promise<GuestConfigurationAssignmentsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n guestConfigurationAssignmentName,\n resourceGroupName,\n vmName,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Get information about a guest configuration assignment\n * @param resourceGroupName The resource group name.\n * @param guestConfigurationAssignmentName The guest configuration assignment name.\n * @param vmName The name of the virtual machine.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n guestConfigurationAssignmentName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsGetOptionalParams,\n ): Promise<GuestConfigurationAssignmentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, guestConfigurationAssignmentName, vmName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Delete a guest configuration assignment\n * @param resourceGroupName The resource group name.\n * @param guestConfigurationAssignmentName Name of the guest configuration assignment\n * @param vmName The name of the virtual machine.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n guestConfigurationAssignmentName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, guestConfigurationAssignmentName, vmName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * List all guest configuration assignments for a subscription.\n * @param options The options parameters.\n */\n private _subscriptionList(\n options?: GuestConfigurationAssignmentsSubscriptionListOptionalParams,\n ): Promise<GuestConfigurationAssignmentsSubscriptionListResponse> {\n return this.client.sendOperationRequest(\n { options },\n subscriptionListOperationSpec,\n );\n }\n\n /**\n * List all guest configuration assignments for a resource group.\n * @param resourceGroupName The resource group name.\n * @param options The options parameters.\n */\n private _rGList(\n resourceGroupName: string,\n options?: GuestConfigurationAssignmentsRGListOptionalParams,\n ): Promise<GuestConfigurationAssignmentsRGListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n rGListOperationSpec,\n );\n }\n\n /**\n * List all guest configuration assignments for a virtual machine.\n * @param resourceGroupName The resource group name.\n * @param vmName The name of the virtual machine.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsListOptionalParams,\n ): Promise<GuestConfigurationAssignmentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vmName, options },\n listOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignment,\n },\n 201: {\n bodyMapper: Mappers.GuestConfigurationAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.guestConfigurationAssignmentName,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.guestConfigurationAssignmentName,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.guestConfigurationAssignmentName,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst subscriptionListOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignmentList,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst rGListOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignmentList,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignmentList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"guestConfigurationAssignments.js","sourceRoot":"","sources":["../../../src/operations/guestConfigurationAssignments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAiBtD,4CAA4C;AAC5C,iEAAiE;AACjE,MAAa,iCAAiC;IAG3B,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,oBAAoB,CACzB,OAAqE;QAErE,MAAM,IAAI,GAAG,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC;QACrD,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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,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,8LAA8L;IACpM,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,MAAM;KAClB;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 { GuestConfigurationAssignments } 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 { GuestConfigurationClient } from \"../guestConfigurationClient.js\";\nimport {\n GuestConfigurationAssignment,\n GuestConfigurationAssignmentsSubscriptionListOptionalParams,\n GuestConfigurationAssignmentsSubscriptionListResponse,\n GuestConfigurationAssignmentsRGListOptionalParams,\n GuestConfigurationAssignmentsRGListResponse,\n GuestConfigurationAssignmentsListOptionalParams,\n GuestConfigurationAssignmentsListResponse,\n GuestConfigurationAssignmentsCreateOrUpdateOptionalParams,\n GuestConfigurationAssignmentsCreateOrUpdateResponse,\n GuestConfigurationAssignmentsGetOptionalParams,\n GuestConfigurationAssignmentsGetResponse,\n GuestConfigurationAssignmentsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing GuestConfigurationAssignments operations. */\nexport class GuestConfigurationAssignmentsImpl\n implements GuestConfigurationAssignments\n{\n private readonly client: GuestConfigurationClient;\n\n /**\n * Initialize a new instance of the class GuestConfigurationAssignments class.\n * @param client Reference to the service client\n */\n constructor(client: GuestConfigurationClient) {\n this.client = client;\n }\n\n /**\n * List all guest configuration assignments for a subscription.\n * @param options The options parameters.\n */\n public listSubscriptionList(\n options?: GuestConfigurationAssignmentsSubscriptionListOptionalParams,\n ): PagedAsyncIterableIterator<GuestConfigurationAssignment> {\n const iter = this.subscriptionListPagingAll(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.subscriptionListPagingPage(options, settings);\n },\n };\n }\n\n private async *subscriptionListPagingPage(\n options?: GuestConfigurationAssignmentsSubscriptionListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<GuestConfigurationAssignment[]> {\n let result: GuestConfigurationAssignmentsSubscriptionListResponse;\n result = await this._subscriptionList(options);\n yield result.value || [];\n }\n\n private async *subscriptionListPagingAll(\n options?: GuestConfigurationAssignmentsSubscriptionListOptionalParams,\n ): AsyncIterableIterator<GuestConfigurationAssignment> {\n for await (const page of this.subscriptionListPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List all guest configuration assignments for a resource group.\n * @param resourceGroupName The resource group name.\n * @param options The options parameters.\n */\n public listRGList(\n resourceGroupName: string,\n options?: GuestConfigurationAssignmentsRGListOptionalParams,\n ): PagedAsyncIterableIterator<GuestConfigurationAssignment> {\n const iter = this.rGListPagingAll(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.rGListPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *rGListPagingPage(\n resourceGroupName: string,\n options?: GuestConfigurationAssignmentsRGListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<GuestConfigurationAssignment[]> {\n let result: GuestConfigurationAssignmentsRGListResponse;\n result = await this._rGList(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *rGListPagingAll(\n resourceGroupName: string,\n options?: GuestConfigurationAssignmentsRGListOptionalParams,\n ): AsyncIterableIterator<GuestConfigurationAssignment> {\n for await (const page of this.rGListPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List all guest configuration assignments for a virtual machine.\n * @param resourceGroupName The resource group name.\n * @param vmName The name of the virtual machine.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsListOptionalParams,\n ): PagedAsyncIterableIterator<GuestConfigurationAssignment> {\n const iter = this.listPagingAll(resourceGroupName, vmName, 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(\n resourceGroupName,\n vmName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<GuestConfigurationAssignment[]> {\n let result: GuestConfigurationAssignmentsListResponse;\n result = await this._list(resourceGroupName, vmName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsListOptionalParams,\n ): AsyncIterableIterator<GuestConfigurationAssignment> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n vmName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates an association between a VM and guest configuration\n * @param guestConfigurationAssignmentName Name of the guest configuration assignment.\n * @param resourceGroupName The resource group name.\n * @param vmName The name of the virtual machine.\n * @param parameters Parameters supplied to the create or update guest configuration assignment.\n * @param options The options parameters.\n */\n createOrUpdate(\n guestConfigurationAssignmentName: string,\n resourceGroupName: string,\n vmName: string,\n parameters: GuestConfigurationAssignment,\n options?: GuestConfigurationAssignmentsCreateOrUpdateOptionalParams,\n ): Promise<GuestConfigurationAssignmentsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n guestConfigurationAssignmentName,\n resourceGroupName,\n vmName,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Get information about a guest configuration assignment\n * @param resourceGroupName The resource group name.\n * @param guestConfigurationAssignmentName The guest configuration assignment name.\n * @param vmName The name of the virtual machine.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n guestConfigurationAssignmentName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsGetOptionalParams,\n ): Promise<GuestConfigurationAssignmentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, guestConfigurationAssignmentName, vmName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Delete a guest configuration assignment\n * @param resourceGroupName The resource group name.\n * @param guestConfigurationAssignmentName Name of the guest configuration assignment\n * @param vmName The name of the virtual machine.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n guestConfigurationAssignmentName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, guestConfigurationAssignmentName, vmName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * List all guest configuration assignments for a subscription.\n * @param options The options parameters.\n */\n private _subscriptionList(\n options?: GuestConfigurationAssignmentsSubscriptionListOptionalParams,\n ): Promise<GuestConfigurationAssignmentsSubscriptionListResponse> {\n return this.client.sendOperationRequest(\n { options },\n subscriptionListOperationSpec,\n );\n }\n\n /**\n * List all guest configuration assignments for a resource group.\n * @param resourceGroupName The resource group name.\n * @param options The options parameters.\n */\n private _rGList(\n resourceGroupName: string,\n options?: GuestConfigurationAssignmentsRGListOptionalParams,\n ): Promise<GuestConfigurationAssignmentsRGListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n rGListOperationSpec,\n );\n }\n\n /**\n * List all guest configuration assignments for a virtual machine.\n * @param resourceGroupName The resource group name.\n * @param vmName The name of the virtual machine.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n vmName: string,\n options?: GuestConfigurationAssignmentsListOptionalParams,\n ): Promise<GuestConfigurationAssignmentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vmName, options },\n listOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignment,\n },\n 201: {\n bodyMapper: Mappers.GuestConfigurationAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.guestConfigurationAssignmentName,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.guestConfigurationAssignmentName,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.guestConfigurationAssignmentName,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst subscriptionListOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignmentList,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst rGListOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignmentList,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GuestConfigurationAssignmentList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vmName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|