@azure/arm-advisor 3.2.0-alpha.20241216.1 → 3.2.0-alpha.20241219.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/README.md +4 -4
- package/{dist-esm/src → dist/commonjs}/advisorManagementClient.d.ts +2 -2
- package/dist/commonjs/advisorManagementClient.d.ts.map +1 -0
- package/dist/commonjs/advisorManagementClient.js +103 -0
- package/dist/commonjs/advisorManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/{dist-esm/src → dist/commonjs}/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +77 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.js +652 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.js +172 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/configurations.d.ts +3 -3
- package/dist/commonjs/operations/configurations.d.ts.map +1 -0
- package/dist/commonjs/operations/configurations.js +271 -0
- package/dist/commonjs/operations/configurations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +6 -0
- package/{dist-esm/src → dist/commonjs}/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +16 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/operations.d.ts +3 -3
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/recommendationMetadata.d.ts +3 -3
- package/dist/commonjs/operations/recommendationMetadata.d.ts.map +1 -0
- package/dist/commonjs/operations/recommendationMetadata.js +165 -0
- package/dist/commonjs/operations/recommendationMetadata.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/recommendations.d.ts +3 -3
- package/dist/commonjs/operations/recommendations.d.ts.map +1 -0
- package/dist/commonjs/operations/recommendations.js +215 -0
- package/dist/commonjs/operations/recommendations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/suppressions.d.ts +3 -3
- package/dist/commonjs/operations/suppressions.d.ts.map +1 -0
- package/dist/commonjs/operations/suppressions.js +247 -0
- package/dist/commonjs/operations/suppressions.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/configurations.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/configurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/configurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +16 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/recommendationMetadata.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/recommendationMetadata.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/recommendationMetadata.js +10 -0
- package/dist/commonjs/operationsInterfaces/recommendationMetadata.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/recommendations.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/recommendations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/recommendations.js +10 -0
- package/dist/commonjs/operationsInterfaces/recommendations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/suppressions.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/suppressions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/suppressions.js +10 -0
- package/dist/commonjs/operationsInterfaces/suppressions.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/advisorManagementClient.d.ts +25 -0
- package/dist/esm/advisorManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/advisorManagementClient.js +22 -26
- package/dist/esm/advisorManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/index.js +4 -4
- package/dist/esm/index.js.map +1 -0
- package/{types/arm-advisor.d.ts → dist/esm/models/index.d.ts} +466 -700
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +21 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/models/mappers.js +225 -225
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +19 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/models/parameters.js +48 -48
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/configurations.d.ts +62 -0
- package/dist/esm/operations/configurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/configurations.js +29 -41
- package/dist/esm/operations/configurations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +6 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/{dist-esm/src/operationsInterfaces → dist/esm/operations}/index.js +5 -5
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/operations.js +12 -12
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/recommendationMetadata.d.ts +38 -0
- package/dist/esm/operations/recommendationMetadata.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/recommendationMetadata.js +17 -17
- package/dist/esm/operations/recommendationMetadata.js.map +1 -0
- package/dist/esm/operations/recommendations.d.ts +57 -0
- package/dist/esm/operations/recommendations.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/recommendations.js +27 -44
- package/dist/esm/operations/recommendations.js.map +1 -0
- package/dist/esm/operations/suppressions.d.ts +65 -0
- package/dist/esm/operations/suppressions.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/suppressions.js +30 -38
- package/dist/esm/operations/suppressions.js.map +1 -0
- package/dist/esm/operationsInterfaces/configurations.d.ts +33 -0
- package/dist/esm/operationsInterfaces/configurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/configurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +6 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/{dist-esm/src/operations → dist/esm/operationsInterfaces}/index.js +5 -5
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/recommendationMetadata.d.ts +17 -0
- package/dist/esm/operationsInterfaces/recommendationMetadata.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/recommendationMetadata.js.map +1 -0
- package/dist/esm/operationsInterfaces/recommendations.d.ts +35 -0
- package/dist/esm/operationsInterfaces/recommendations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/recommendations.js.map +1 -0
- package/dist/esm/operationsInterfaces/suppressions.d.ts +43 -0
- package/dist/esm/operationsInterfaces/suppressions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/suppressions.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/package.json +51 -35
- package/dist/index.js +0 -2102
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.js +0 -58
- package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.js +0 -57
- package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsListByResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/configurationsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsListBySubscriptionSample.js +0 -52
- package/dist-esm/samples-dev/configurationsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationMetadataGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationMetadataGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationMetadataGetSample.js +0 -36
- package/dist-esm/samples-dev/recommendationMetadataGetSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationMetadataListSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationMetadataListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationMetadataListSample.js +0 -51
- package/dist-esm/samples-dev/recommendationMetadataListSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationsGenerateSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationsGenerateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationsGenerateSample.js +0 -36
- package/dist-esm/samples-dev/recommendationsGenerateSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.js +0 -37
- package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationsGetSample.js +0 -37
- package/dist-esm/samples-dev/recommendationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationsListSample.js +0 -54
- package/dist-esm/samples-dev/recommendationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/suppressionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/suppressionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/suppressionsCreateSample.js +0 -39
- package/dist-esm/samples-dev/suppressionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/suppressionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/suppressionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/suppressionsDeleteSample.js +0 -38
- package/dist-esm/samples-dev/suppressionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/suppressionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/suppressionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/suppressionsGetSample.js +0 -38
- package/dist-esm/samples-dev/suppressionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/suppressionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/suppressionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/suppressionsListSample.js +0 -52
- package/dist-esm/samples-dev/suppressionsListSample.js.map +0 -1
- package/dist-esm/src/advisorManagementClient.d.ts.map +0 -1
- package/dist-esm/src/advisorManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/configurations.d.ts.map +0 -1
- package/dist-esm/src/operations/configurations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/recommendationMetadata.d.ts.map +0 -1
- package/dist-esm/src/operations/recommendationMetadata.js.map +0 -1
- package/dist-esm/src/operations/recommendations.d.ts.map +0 -1
- package/dist-esm/src/operations/recommendations.js.map +0 -1
- package/dist-esm/src/operations/suppressions.d.ts.map +0 -1
- package/dist-esm/src/operations/suppressions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/recommendationMetadata.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/recommendationMetadata.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/recommendations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/recommendations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/suppressions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/suppressions.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/advisor_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/advisor_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/advisor_operations_test.spec.js +0 -77
- package/dist-esm/test/advisor_operations_test.spec.js.map +0 -1
- package/src/advisorManagementClient.ts +0 -174
- package/src/index.ts +0 -13
- package/src/models/index.ts +0 -538
- package/src/models/mappers.ts +0 -700
- package/src/models/parameters.ts +0 -194
- package/src/operations/configurations.ts +0 -336
- package/src/operations/index.ts +0 -13
- package/src/operations/operations.ts +0 -149
- package/src/operations/recommendationMetadata.ts +0 -186
- package/src/operations/recommendations.ts +0 -271
- package/src/operations/suppressions.ts +0 -304
- package/src/operationsInterfaces/configurations.ts +0 -65
- package/src/operationsInterfaces/index.ts +0 -13
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/recommendationMetadata.ts +0 -36
- package/src/operationsInterfaces/recommendations.ts +0 -63
- package/src/operationsInterfaces/suppressions.ts +0 -78
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/commonjs}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
- /package/{dist-esm/src → dist/esm}/models/index.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/configurations.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/recommendationMetadata.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/recommendations.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/suppressions.js +0 -0
- /package/{dist-esm/src → dist/esm}/pagingHelper.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,cAAc,GAA+B;IACxD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,gBAAgB;QAC3B,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,WAAW,EAAE;gBACX,cAAc,EAAE,wBAAwB;gBACxC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;YACD,mBAAmB,EAAE;gBACnB,cAAc,EAAE,gCAAgC;gBAChD,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qB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QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;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 MetadataEntity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MetadataEntity\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n displayName: {\n serializedName: \"properties.displayName\",\n type: {\n name: \"String\",\n },\n },\n dependsOn: {\n serializedName: \"properties.dependsOn\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n applicableScenarios: {\n serializedName: \"properties.applicableScenarios\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n supportedValues: {\n serializedName: \"properties.supportedValues\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MetadataSupportedValueDetail\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const MetadataSupportedValueDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MetadataSupportedValueDetail\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ARMErrorResponseBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ARMErrorResponseBody\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ArmErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ArmErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ARMErrorResponseBody\",\n },\n },\n },\n },\n};\n\nexport const MetadataEntityListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MetadataEntityListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MetadataEntity\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigData\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const DigestConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DigestConfig\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n actionGroupResourceId: {\n serializedName: \"actionGroupResourceId\",\n type: {\n name: \"String\",\n },\n },\n frequency: {\n serializedName: \"frequency\",\n type: {\n name: \"Number\",\n },\n },\n categories: {\n serializedName: \"categories\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n language: {\n serializedName: \"language\",\n type: {\n name: \"String\",\n },\n },\n state: {\n serializedName: \"state\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ResourceRecommendationBaseListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceRecommendationBaseListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceRecommendationBase\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ShortDescription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortDescription\",\n modelProperties: {\n problem: {\n serializedName: \"problem\",\n type: {\n name: \"String\",\n },\n },\n solution: {\n serializedName: \"solution\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ResourceMetadata: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceMetadata\",\n modelProperties: {\n resourceId: {\n serializedName: \"resourceId\",\n type: {\n name: \"String\",\n },\n },\n source: {\n serializedName: \"source\",\n type: {\n name: \"String\",\n },\n },\n action: {\n serializedName: \"action\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n },\n },\n singular: {\n serializedName: \"singular\",\n type: {\n name: \"String\",\n },\n },\n plural: {\n serializedName: \"plural\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const OperationEntityListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationEntityListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"OperationEntity\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const OperationEntity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationEntity\",\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: \"OperationDisplayInfo\",\n },\n },\n },\n },\n};\n\nexport const OperationDisplayInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplayInfo\",\n modelProperties: {\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\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 },\n },\n};\n\nexport const SuppressionContractListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SuppressionContractListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SuppressionContract\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ConfigData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigData\",\n modelProperties: {\n ...Resource.type.modelProperties,\n exclude: {\n serializedName: \"properties.exclude\",\n type: {\n name: \"Boolean\",\n },\n },\n lowCpuThreshold: {\n serializedName: \"properties.lowCpuThreshold\",\n type: {\n name: \"String\",\n },\n },\n digests: {\n serializedName: \"properties.digests\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DigestConfig\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ResourceRecommendationBase: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceRecommendationBase\",\n modelProperties: {\n ...Resource.type.modelProperties,\n category: {\n serializedName: \"properties.category\",\n type: {\n name: \"String\",\n },\n },\n impact: {\n serializedName: \"properties.impact\",\n type: {\n name: \"String\",\n },\n },\n impactedField: {\n serializedName: \"properties.impactedField\",\n type: {\n name: \"String\",\n },\n },\n impactedValue: {\n serializedName: \"properties.impactedValue\",\n type: {\n name: \"String\",\n },\n },\n lastUpdated: {\n serializedName: \"properties.lastUpdated\",\n type: {\n name: \"DateTime\",\n },\n },\n metadata: {\n serializedName: \"properties.metadata\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n },\n },\n recommendationTypeId: {\n serializedName: \"properties.recommendationTypeId\",\n type: {\n name: \"String\",\n },\n },\n risk: {\n serializedName: \"properties.risk\",\n type: {\n name: \"String\",\n },\n },\n shortDescription: {\n serializedName: \"properties.shortDescription\",\n type: {\n name: \"Composite\",\n className: \"ShortDescription\",\n },\n },\n suppressionIds: {\n serializedName: \"properties.suppressionIds\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Uuid\",\n },\n },\n },\n },\n extendedProperties: {\n serializedName: \"properties.extendedProperties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n resourceMetadata: {\n serializedName: \"properties.resourceMetadata\",\n type: {\n name: \"Composite\",\n className: \"ResourceMetadata\",\n },\n },\n description: {\n serializedName: \"properties.description\",\n type: {\n name: \"String\",\n },\n },\n label: {\n serializedName: \"properties.label\",\n type: {\n name: \"String\",\n },\n },\n learnMoreLink: {\n serializedName: \"properties.learnMoreLink\",\n type: {\n name: \"String\",\n },\n },\n potentialBenefits: {\n serializedName: \"properties.potentialBenefits\",\n type: {\n name: \"String\",\n },\n },\n actions: {\n serializedName: \"properties.actions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n },\n },\n },\n },\n remediation: {\n serializedName: \"properties.remediation\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n },\n },\n exposedMetadataProperties: {\n serializedName: \"properties.exposedMetadataProperties\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n },\n },\n },\n },\n};\n\nexport const SuppressionContract: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SuppressionContract\",\n modelProperties: {\n ...Resource.type.modelProperties,\n suppressionId: {\n serializedName: \"properties.suppressionId\",\n type: {\n name: \"String\",\n },\n },\n ttl: {\n serializedName: \"properties.ttl\",\n type: {\n name: \"String\",\n },\n },\n expirationTimeStamp: {\n serializedName: \"properties.expirationTimeStamp\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const RecommendationsGenerateHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RecommendationsGenerateHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const accept: OperationParameter;
|
|
3
|
+
export declare const $host: OperationURLParameter;
|
|
4
|
+
export declare const name: OperationURLParameter;
|
|
5
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
6
|
+
export declare const nextLink: OperationURLParameter;
|
|
7
|
+
export declare const subscriptionId: OperationURLParameter;
|
|
8
|
+
export declare const contentType: OperationParameter;
|
|
9
|
+
export declare const configContract: OperationParameter;
|
|
10
|
+
export declare const configurationName: OperationURLParameter;
|
|
11
|
+
export declare const resourceGroup: OperationURLParameter;
|
|
12
|
+
export declare const operationId: OperationURLParameter;
|
|
13
|
+
export declare const filter: OperationQueryParameter;
|
|
14
|
+
export declare const top: OperationQueryParameter;
|
|
15
|
+
export declare const skipToken: OperationQueryParameter;
|
|
16
|
+
export declare const resourceUri: OperationURLParameter;
|
|
17
|
+
export declare const recommendationId: OperationURLParameter;
|
|
18
|
+
export declare const suppressionContract: OperationParameter;
|
|
19
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAM5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,qBASlB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAG5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAS/B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAS3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBASzB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,uBAQpB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,uBAQjB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,uBAQvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBASzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,qBAS9B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,kBAGjC,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { ConfigData as ConfigDataMapper, SuppressionContract as SuppressionContractMapper } from "../models/mappers";
|
|
8
|
+
import { ConfigData as ConfigDataMapper, SuppressionContract as SuppressionContractMapper, } from "../models/mappers.js";
|
|
9
9
|
export const accept = {
|
|
10
10
|
parameterPath: "accept",
|
|
11
11
|
mapper: {
|
|
@@ -13,9 +13,9 @@ export const accept = {
|
|
|
13
13
|
isConstant: true,
|
|
14
14
|
serializedName: "Accept",
|
|
15
15
|
type: {
|
|
16
|
-
name: "String"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
16
|
+
name: "String",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
19
|
};
|
|
20
20
|
export const $host = {
|
|
21
21
|
parameterPath: "$host",
|
|
@@ -23,10 +23,10 @@ export const $host = {
|
|
|
23
23
|
serializedName: "$host",
|
|
24
24
|
required: true,
|
|
25
25
|
type: {
|
|
26
|
-
name: "String"
|
|
27
|
-
}
|
|
26
|
+
name: "String",
|
|
27
|
+
},
|
|
28
28
|
},
|
|
29
|
-
skipEncoding: true
|
|
29
|
+
skipEncoding: true,
|
|
30
30
|
};
|
|
31
31
|
export const name = {
|
|
32
32
|
parameterPath: "name",
|
|
@@ -34,9 +34,9 @@ export const name = {
|
|
|
34
34
|
serializedName: "name",
|
|
35
35
|
required: true,
|
|
36
36
|
type: {
|
|
37
|
-
name: "String"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
37
|
+
name: "String",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
40
|
};
|
|
41
41
|
export const apiVersion = {
|
|
42
42
|
parameterPath: "apiVersion",
|
|
@@ -45,9 +45,9 @@ export const apiVersion = {
|
|
|
45
45
|
isConstant: true,
|
|
46
46
|
serializedName: "api-version",
|
|
47
47
|
type: {
|
|
48
|
-
name: "String"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
48
|
+
name: "String",
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
51
|
};
|
|
52
52
|
export const nextLink = {
|
|
53
53
|
parameterPath: "nextLink",
|
|
@@ -55,10 +55,10 @@ export const nextLink = {
|
|
|
55
55
|
serializedName: "nextLink",
|
|
56
56
|
required: true,
|
|
57
57
|
type: {
|
|
58
|
-
name: "String"
|
|
59
|
-
}
|
|
58
|
+
name: "String",
|
|
59
|
+
},
|
|
60
60
|
},
|
|
61
|
-
skipEncoding: true
|
|
61
|
+
skipEncoding: true,
|
|
62
62
|
};
|
|
63
63
|
export const subscriptionId = {
|
|
64
64
|
parameterPath: "subscriptionId",
|
|
@@ -66,9 +66,9 @@ export const subscriptionId = {
|
|
|
66
66
|
serializedName: "subscriptionId",
|
|
67
67
|
required: true,
|
|
68
68
|
type: {
|
|
69
|
-
name: "String"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
69
|
+
name: "String",
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
72
|
};
|
|
73
73
|
export const contentType = {
|
|
74
74
|
parameterPath: ["options", "contentType"],
|
|
@@ -77,13 +77,13 @@ export const contentType = {
|
|
|
77
77
|
isConstant: true,
|
|
78
78
|
serializedName: "Content-Type",
|
|
79
79
|
type: {
|
|
80
|
-
name: "String"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
80
|
+
name: "String",
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
83
|
};
|
|
84
84
|
export const configContract = {
|
|
85
85
|
parameterPath: "configContract",
|
|
86
|
-
mapper: ConfigDataMapper
|
|
86
|
+
mapper: ConfigDataMapper,
|
|
87
87
|
};
|
|
88
88
|
export const configurationName = {
|
|
89
89
|
parameterPath: "configurationName",
|
|
@@ -91,9 +91,9 @@ export const configurationName = {
|
|
|
91
91
|
serializedName: "configurationName",
|
|
92
92
|
required: true,
|
|
93
93
|
type: {
|
|
94
|
-
name: "String"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
94
|
+
name: "String",
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
97
|
};
|
|
98
98
|
export const resourceGroup = {
|
|
99
99
|
parameterPath: "resourceGroup",
|
|
@@ -101,9 +101,9 @@ export const resourceGroup = {
|
|
|
101
101
|
serializedName: "resourceGroup",
|
|
102
102
|
required: true,
|
|
103
103
|
type: {
|
|
104
|
-
name: "String"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
104
|
+
name: "String",
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
107
|
};
|
|
108
108
|
export const operationId = {
|
|
109
109
|
parameterPath: "operationId",
|
|
@@ -111,36 +111,36 @@ export const operationId = {
|
|
|
111
111
|
serializedName: "operationId",
|
|
112
112
|
required: true,
|
|
113
113
|
type: {
|
|
114
|
-
name: "Uuid"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
114
|
+
name: "Uuid",
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
117
|
};
|
|
118
118
|
export const filter = {
|
|
119
119
|
parameterPath: ["options", "filter"],
|
|
120
120
|
mapper: {
|
|
121
121
|
serializedName: "$filter",
|
|
122
122
|
type: {
|
|
123
|
-
name: "String"
|
|
124
|
-
}
|
|
125
|
-
}
|
|
123
|
+
name: "String",
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
126
|
};
|
|
127
127
|
export const top = {
|
|
128
128
|
parameterPath: ["options", "top"],
|
|
129
129
|
mapper: {
|
|
130
130
|
serializedName: "$top",
|
|
131
131
|
type: {
|
|
132
|
-
name: "Number"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
132
|
+
name: "Number",
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
135
|
};
|
|
136
136
|
export const skipToken = {
|
|
137
137
|
parameterPath: ["options", "skipToken"],
|
|
138
138
|
mapper: {
|
|
139
139
|
serializedName: "$skipToken",
|
|
140
140
|
type: {
|
|
141
|
-
name: "String"
|
|
142
|
-
}
|
|
143
|
-
}
|
|
141
|
+
name: "String",
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
144
|
};
|
|
145
145
|
export const resourceUri = {
|
|
146
146
|
parameterPath: "resourceUri",
|
|
@@ -148,9 +148,9 @@ export const resourceUri = {
|
|
|
148
148
|
serializedName: "resourceUri",
|
|
149
149
|
required: true,
|
|
150
150
|
type: {
|
|
151
|
-
name: "String"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
151
|
+
name: "String",
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
154
|
};
|
|
155
155
|
export const recommendationId = {
|
|
156
156
|
parameterPath: "recommendationId",
|
|
@@ -158,12 +158,12 @@ export const recommendationId = {
|
|
|
158
158
|
serializedName: "recommendationId",
|
|
159
159
|
required: true,
|
|
160
160
|
type: {
|
|
161
|
-
name: "String"
|
|
162
|
-
}
|
|
163
|
-
}
|
|
161
|
+
name: "String",
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
164
|
};
|
|
165
165
|
export const suppressionContract = {
|
|
166
166
|
parameterPath: "suppressionContract",
|
|
167
|
-
mapper: SuppressionContractMapper
|
|
167
|
+
mapper: SuppressionContractMapper,
|
|
168
168
|
};
|
|
169
169
|
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,mBAAmB,IAAI,yBAAyB,GACjD,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI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QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA0B;IACrD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE;QACN,cAAc,EAAE,kBAAkB;QAClC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAuB;IACrD,aAAa,EAAE,qBAAqB;IACpC,MAAM,EAAE,yBAAyB;CAClC,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ConfigData as ConfigDataMapper,\n SuppressionContract as SuppressionContractMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const name: OperationURLParameter = {\n parameterPath: \"name\",\n mapper: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2020-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const configContract: OperationParameter = {\n parameterPath: \"configContract\",\n mapper: ConfigDataMapper,\n};\n\nexport const configurationName: OperationURLParameter = {\n parameterPath: \"configurationName\",\n mapper: {\n serializedName: \"configurationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroup: OperationURLParameter = {\n parameterPath: \"resourceGroup\",\n mapper: {\n serializedName: \"resourceGroup\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const skipToken: OperationQueryParameter = {\n parameterPath: [\"options\", \"skipToken\"],\n mapper: {\n serializedName: \"$skipToken\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceUri: OperationURLParameter = {\n parameterPath: \"resourceUri\",\n mapper: {\n serializedName: \"resourceUri\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const recommendationId: OperationURLParameter = {\n parameterPath: \"recommendationId\",\n mapper: {\n serializedName: \"recommendationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const suppressionContract: OperationParameter = {\n parameterPath: \"suppressionContract\",\n mapper: SuppressionContractMapper,\n};\n"]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Configurations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AdvisorManagementClient } from "../advisorManagementClient.js";
|
|
4
|
+
import { ConfigData, ConfigurationsListBySubscriptionOptionalParams, ConfigurationsListByResourceGroupOptionalParams, ConfigurationName, ConfigurationsCreateInSubscriptionOptionalParams, ConfigurationsCreateInSubscriptionResponse, ConfigurationsCreateInResourceGroupOptionalParams, ConfigurationsCreateInResourceGroupResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing Configurations operations. */
|
|
6
|
+
export declare class ConfigurationsImpl implements Configurations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Configurations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AdvisorManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
listBySubscription(options?: ConfigurationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConfigData>;
|
|
18
|
+
private listBySubscriptionPagingPage;
|
|
19
|
+
private listBySubscriptionPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Retrieve Azure Advisor configurations.
|
|
22
|
+
* @param resourceGroup The name of the Azure resource group.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
listByResourceGroup(resourceGroup: string, options?: ConfigurationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfigData>;
|
|
26
|
+
private listByResourceGroupPagingPage;
|
|
27
|
+
private listByResourceGroupPagingAll;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
private _listBySubscription;
|
|
33
|
+
/**
|
|
34
|
+
* Create/Overwrite Azure Advisor configuration and also delete all configurations of contained
|
|
35
|
+
* resource groups.
|
|
36
|
+
* @param configurationName Advisor configuration name. Value must be 'default'
|
|
37
|
+
* @param configContract The Azure Advisor configuration data structure.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
createInSubscription(configurationName: ConfigurationName, configContract: ConfigData, options?: ConfigurationsCreateInSubscriptionOptionalParams): Promise<ConfigurationsCreateInSubscriptionResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Retrieve Azure Advisor configurations.
|
|
43
|
+
* @param resourceGroup The name of the Azure resource group.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
private _listByResourceGroup;
|
|
47
|
+
/**
|
|
48
|
+
* Create/Overwrite Azure Advisor configuration.
|
|
49
|
+
* @param configurationName Advisor configuration name. Value must be 'default'
|
|
50
|
+
* @param resourceGroup The name of the Azure resource group.
|
|
51
|
+
* @param configContract The Azure Advisor configuration data structure.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
createInResourceGroup(configurationName: ConfigurationName, resourceGroup: string, configContract: ConfigData, options?: ConfigurationsCreateInResourceGroupOptionalParams): Promise<ConfigurationsCreateInResourceGroupResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* ListBySubscriptionNext
|
|
57
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
private _listBySubscriptionNext;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=configurations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurations.d.ts","sourceRoot":"","sources":["../../../src/operations/configurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAg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ated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing Configurations operations. */
|
|
15
15
|
export class ConfigurationsImpl {
|
|
@@ -38,7 +38,7 @@ export class ConfigurationsImpl {
|
|
|
38
38
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
39
|
}
|
|
40
40
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
41
|
-
}
|
|
41
|
+
},
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
listBySubscriptionPagingPage(options, settings) {
|
|
@@ -100,7 +100,7 @@ export class ConfigurationsImpl {
|
|
|
100
100
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
101
101
|
}
|
|
102
102
|
return this.listByResourceGroupPagingPage(resourceGroup, options, settings);
|
|
103
|
-
}
|
|
103
|
+
},
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
listByResourceGroupPagingPage(resourceGroup, options, _settings) {
|
|
@@ -181,69 +181,61 @@ const listBySubscriptionOperationSpec = {
|
|
|
181
181
|
httpMethod: "GET",
|
|
182
182
|
responses: {
|
|
183
183
|
200: {
|
|
184
|
-
bodyMapper: Mappers.ConfigurationListResult
|
|
184
|
+
bodyMapper: Mappers.ConfigurationListResult,
|
|
185
185
|
},
|
|
186
186
|
default: {
|
|
187
|
-
bodyMapper: Mappers.ArmErrorResponse
|
|
188
|
-
}
|
|
187
|
+
bodyMapper: Mappers.ArmErrorResponse,
|
|
188
|
+
},
|
|
189
189
|
},
|
|
190
190
|
queryParameters: [Parameters.apiVersion],
|
|
191
191
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
192
192
|
headerParameters: [Parameters.accept],
|
|
193
|
-
serializer
|
|
193
|
+
serializer,
|
|
194
194
|
};
|
|
195
195
|
const createInSubscriptionOperationSpec = {
|
|
196
196
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations/{configurationName}",
|
|
197
197
|
httpMethod: "PUT",
|
|
198
198
|
responses: {
|
|
199
199
|
200: {
|
|
200
|
-
bodyMapper: Mappers.ConfigData
|
|
200
|
+
bodyMapper: Mappers.ConfigData,
|
|
201
201
|
},
|
|
202
202
|
default: {
|
|
203
|
-
bodyMapper: Mappers.ArmErrorResponse
|
|
204
|
-
}
|
|
203
|
+
bodyMapper: Mappers.ArmErrorResponse,
|
|
204
|
+
},
|
|
205
205
|
},
|
|
206
206
|
requestBody: Parameters.configContract,
|
|
207
207
|
queryParameters: [Parameters.apiVersion],
|
|
208
|
-
urlParameters: [
|
|
209
|
-
Parameters.$host,
|
|
210
|
-
Parameters.subscriptionId,
|
|
211
|
-
Parameters.configurationName
|
|
212
|
-
],
|
|
208
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.configurationName],
|
|
213
209
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
214
210
|
mediaType: "json",
|
|
215
|
-
serializer
|
|
211
|
+
serializer,
|
|
216
212
|
};
|
|
217
213
|
const listByResourceGroupOperationSpec = {
|
|
218
214
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations",
|
|
219
215
|
httpMethod: "GET",
|
|
220
216
|
responses: {
|
|
221
217
|
200: {
|
|
222
|
-
bodyMapper: Mappers.ConfigurationListResult
|
|
218
|
+
bodyMapper: Mappers.ConfigurationListResult,
|
|
223
219
|
},
|
|
224
220
|
default: {
|
|
225
|
-
bodyMapper: Mappers.ArmErrorResponse
|
|
226
|
-
}
|
|
221
|
+
bodyMapper: Mappers.ArmErrorResponse,
|
|
222
|
+
},
|
|
227
223
|
},
|
|
228
224
|
queryParameters: [Parameters.apiVersion],
|
|
229
|
-
urlParameters: [
|
|
230
|
-
Parameters.$host,
|
|
231
|
-
Parameters.subscriptionId,
|
|
232
|
-
Parameters.resourceGroup
|
|
233
|
-
],
|
|
225
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroup],
|
|
234
226
|
headerParameters: [Parameters.accept],
|
|
235
|
-
serializer
|
|
227
|
+
serializer,
|
|
236
228
|
};
|
|
237
229
|
const createInResourceGroupOperationSpec = {
|
|
238
230
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations/{configurationName}",
|
|
239
231
|
httpMethod: "PUT",
|
|
240
232
|
responses: {
|
|
241
233
|
200: {
|
|
242
|
-
bodyMapper: Mappers.ConfigData
|
|
234
|
+
bodyMapper: Mappers.ConfigData,
|
|
243
235
|
},
|
|
244
236
|
default: {
|
|
245
|
-
bodyMapper: Mappers.ArmErrorResponse
|
|
246
|
-
}
|
|
237
|
+
bodyMapper: Mappers.ArmErrorResponse,
|
|
238
|
+
},
|
|
247
239
|
},
|
|
248
240
|
requestBody: Parameters.configContract,
|
|
249
241
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -251,29 +243,25 @@ const createInResourceGroupOperationSpec = {
|
|
|
251
243
|
Parameters.$host,
|
|
252
244
|
Parameters.subscriptionId,
|
|
253
245
|
Parameters.configurationName,
|
|
254
|
-
Parameters.resourceGroup
|
|
246
|
+
Parameters.resourceGroup,
|
|
255
247
|
],
|
|
256
248
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
257
249
|
mediaType: "json",
|
|
258
|
-
serializer
|
|
250
|
+
serializer,
|
|
259
251
|
};
|
|
260
252
|
const listBySubscriptionNextOperationSpec = {
|
|
261
253
|
path: "{nextLink}",
|
|
262
254
|
httpMethod: "GET",
|
|
263
255
|
responses: {
|
|
264
256
|
200: {
|
|
265
|
-
bodyMapper: Mappers.ConfigurationListResult
|
|
257
|
+
bodyMapper: Mappers.ConfigurationListResult,
|
|
266
258
|
},
|
|
267
259
|
default: {
|
|
268
|
-
bodyMapper: Mappers.ArmErrorResponse
|
|
269
|
-
}
|
|
260
|
+
bodyMapper: Mappers.ArmErrorResponse,
|
|
261
|
+
},
|
|
270
262
|
},
|
|
271
|
-
urlParameters: [
|
|
272
|
-
Parameters.$host,
|
|
273
|
-
Parameters.nextLink,
|
|
274
|
-
Parameters.subscriptionId
|
|
275
|
-
],
|
|
263
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
|
|
276
264
|
headerParameters: [Parameters.accept],
|
|
277
|
-
serializer
|
|
265
|
+
serializer,
|
|
278
266
|
};
|
|
279
267
|
//# sourceMappingURL=configurations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurations.js","sourceRoot":"","sources":["../../../src/operations/configurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAiBtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAwD;QAExD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,C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C,aAAa,CAAC;IACtF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EAAE,+HAA+H;IACrI,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,cAAc;IACtC,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,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IACjF,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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { Configurations } 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 { AdvisorManagementClient } from \"../advisorManagementClient.js\";\nimport {\n ConfigData,\n ConfigurationsListBySubscriptionNextOptionalParams,\n ConfigurationsListBySubscriptionOptionalParams,\n ConfigurationsListBySubscriptionResponse,\n ConfigurationsListByResourceGroupOptionalParams,\n ConfigurationsListByResourceGroupResponse,\n ConfigurationName,\n ConfigurationsCreateInSubscriptionOptionalParams,\n ConfigurationsCreateInSubscriptionResponse,\n ConfigurationsCreateInResourceGroupOptionalParams,\n ConfigurationsCreateInResourceGroupResponse,\n ConfigurationsListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Configurations operations. */\nexport class ConfigurationsImpl implements Configurations {\n private readonly client: AdvisorManagementClient;\n\n /**\n * Initialize a new instance of the class Configurations class.\n * @param client Reference to the service client\n */\n constructor(client: AdvisorManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ConfigurationsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ConfigData> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ConfigurationsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConfigData[]> {\n let result: ConfigurationsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ConfigurationsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ConfigData> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieve Azure Advisor configurations.\n * @param resourceGroup The name of the Azure resource group.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroup: string,\n options?: ConfigurationsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ConfigData> {\n const iter = this.listByResourceGroupPagingAll(resourceGroup, 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.listByResourceGroupPagingPage(resourceGroup, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroup: string,\n options?: ConfigurationsListByResourceGroupOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ConfigData[]> {\n let result: ConfigurationsListByResourceGroupResponse;\n result = await this._listByResourceGroup(resourceGroup, options);\n yield result.value || [];\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroup: string,\n options?: ConfigurationsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ConfigData> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroup, options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ConfigurationsListBySubscriptionOptionalParams,\n ): Promise<ConfigurationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);\n }\n\n /**\n * Create/Overwrite Azure Advisor configuration and also delete all configurations of contained\n * resource groups.\n * @param configurationName Advisor configuration name. Value must be 'default'\n * @param configContract The Azure Advisor configuration data structure.\n * @param options The options parameters.\n */\n createInSubscription(\n configurationName: ConfigurationName,\n configContract: ConfigData,\n options?: ConfigurationsCreateInSubscriptionOptionalParams,\n ): Promise<ConfigurationsCreateInSubscriptionResponse> {\n return this.client.sendOperationRequest(\n { configurationName, configContract, options },\n createInSubscriptionOperationSpec,\n );\n }\n\n /**\n * Retrieve Azure Advisor configurations.\n * @param resourceGroup The name of the Azure resource group.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroup: string,\n options?: ConfigurationsListByResourceGroupOptionalParams,\n ): Promise<ConfigurationsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroup, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Create/Overwrite Azure Advisor configuration.\n * @param configurationName Advisor configuration name. Value must be 'default'\n * @param resourceGroup The name of the Azure resource group.\n * @param configContract The Azure Advisor configuration data structure.\n * @param options The options parameters.\n */\n createInResourceGroup(\n configurationName: ConfigurationName,\n resourceGroup: string,\n configContract: ConfigData,\n options?: ConfigurationsCreateInResourceGroupOptionalParams,\n ): Promise<ConfigurationsCreateInResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { configurationName, resourceGroup, configContract, options },\n createInResourceGroupOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ConfigurationsListBySubscriptionNextOptionalParams,\n ): Promise<ConfigurationsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.ArmErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createInSubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations/{configurationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigData,\n },\n default: {\n bodyMapper: Mappers.ArmErrorResponse,\n },\n },\n requestBody: Parameters.configContract,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.configurationName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.ArmErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroup],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createInResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations/{configurationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigData,\n },\n default: {\n bodyMapper: Mappers.ArmErrorResponse,\n },\n },\n requestBody: Parameters.configContract,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.configurationName,\n Parameters.resourceGroup,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.ArmErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
export * from "./recommendationMetadata";
|
|
9
|
-
export * from "./configurations";
|
|
10
|
-
export * from "./recommendations";
|
|
11
|
-
export * from "./operations";
|
|
12
|
-
export * from "./suppressions";
|
|
8
|
+
export * from "./recommendationMetadata.js";
|
|
9
|
+
export * from "./configurations.js";
|
|
10
|
+
export * from "./recommendations.js";
|
|
11
|
+
export * from "./operations.js";
|
|
12
|
+
export * from "./suppressions.js";
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,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\nexport * from \"./recommendationMetadata.js\";\nexport * from \"./configurations.js\";\nexport * from \"./recommendations.js\";\nexport * from \"./operations.js\";\nexport * from \"./suppressions.js\";\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AdvisorManagementClient } from "../advisorManagementClient.js";
|
|
4
|
+
import { OperationEntity, OperationsListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing Operations operations. */
|
|
6
|
+
export declare class OperationsImpl implements Operations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Operations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AdvisorManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Lists all the available Advisor REST API operations.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Lists all the available Advisor REST API operations.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
/**
|
|
26
|
+
* ListNext
|
|
27
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _listNext;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=operations.d.ts.map
|