@azure/arm-resources 6.0.1-alpha.20250522.1 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -9
- package/LICENSE +1 -1
- package/README.md +1 -2
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +112 -2
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +18 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +2 -0
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +162 -0
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/resourceManagementClient.js +2 -2
- package/dist/browser/resourceManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +112 -2
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +19 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +2 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +164 -2
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.js +1 -1
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/resourceManagementClient.js +2 -2
- package/dist/commonjs/resourceManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +112 -2
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +2 -0
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +162 -0
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.js +1 -1
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/resourceManagementClient.js +2 -2
- package/dist/esm/resourceManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +112 -2
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +18 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +2 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +162 -0
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.js +1 -1
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/resourceManagementClient.js +2 -2
- package/dist/react-native/resourceManagementClient.js.map +1 -1
- package/package.json +28 -30
- package/review/arm-resources.api.md +46 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,gBAAgB,IAAI,sBAAsB,EAC1C,sBAAsB,IAAI,4BAA4B,EACtD,gBAAgB,IAAI,sBAAsB,EAC1C,2BAA2B,IAAI,iCAAiC,EAChE,iBAAiB,IAAI,uBAAuB,EAC5C,eAAe,IAAI,qBAAqB,EACxC,aAAa,IAAI,mBAAmB,EACpC,sBAAsB,IAAI,4BAA4B,EACtD,qBAAqB,IAAI,2BAA2B,EACpD,YAAY,IAAI,kBAAkB,EAClC,iBAAiB,IAAI,uBAAuB,GAC7C,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE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B;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAA0B;IAC5C,aAAa,EAAE,SAAS;IACxB,MAAM,EAAE;QACN,cAAc,EAAE,SAAS;QACzB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n Deployment as DeploymentMapper,\n ScopedDeployment as ScopedDeploymentMapper,\n ScopedDeploymentWhatIf as ScopedDeploymentWhatIfMapper,\n DeploymentWhatIf as DeploymentWhatIfMapper,\n ProviderRegistrationRequest as ProviderRegistrationRequestMapper,\n ResourcesMoveInfo as ResourcesMoveInfoMapper,\n GenericResource as GenericResourceMapper,\n ResourceGroup as ResourceGroupMapper,\n ResourceGroupPatchable as ResourceGroupPatchableMapper,\n ExportTemplateRequest as ExportTemplateRequestMapper,\n TagsResource as TagsResourceMapper,\n TagsPatchResource as TagsPatchResourceMapper,\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 apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-11-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 scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const deploymentName: OperationURLParameter = {\n parameterPath: \"deploymentName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 64,\n MinLength: 1,\n },\n serializedName: \"deploymentName\",\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 parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: DeploymentMapper,\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 parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ScopedDeploymentMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ScopedDeploymentWhatIfMapper,\n};\n\nexport const groupId: OperationURLParameter = {\n parameterPath: \"groupId\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"groupId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\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 parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: DeploymentWhatIfMapper,\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const template: OperationParameter = {\n parameterPath: \"template\",\n mapper: {\n serializedName: \"template\",\n required: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n};\n\nexport const resourceProviderNamespace: OperationURLParameter = {\n parameterPath: \"resourceProviderNamespace\",\n mapper: {\n serializedName: \"resourceProviderNamespace\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const properties: OperationParameter = {\n parameterPath: [\"options\", \"properties\"],\n mapper: ProviderRegistrationRequestMapper,\n};\n\nexport const expand: OperationQueryParameter = {\n parameterPath: [\"options\", \"expand\"],\n mapper: {\n serializedName: \"$expand\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourcesMoveInfoMapper,\n};\n\nexport const sourceResourceGroupName: OperationURLParameter = {\n parameterPath: \"sourceResourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"sourceResourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parentResourcePath: OperationURLParameter = {\n parameterPath: \"parentResourcePath\",\n mapper: {\n serializedName: \"parentResourcePath\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceType: OperationURLParameter = {\n parameterPath: \"resourceType\",\n mapper: {\n serializedName: \"resourceType\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion1: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n serializedName: \"api-version\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: GenericResourceMapper,\n};\n\nexport const resourceId: OperationURLParameter = {\n parameterPath: \"resourceId\",\n mapper: {\n serializedName: \"resourceId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceGroupMapper,\n};\n\nexport const forceDeletionTypes: OperationQueryParameter = {\n parameterPath: [\"options\", \"forceDeletionTypes\"],\n mapper: {\n serializedName: \"forceDeletionTypes\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceGroupPatchableMapper,\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ExportTemplateRequestMapper,\n};\n\nexport const resourceGroupName1: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const tagName: OperationURLParameter = {\n parameterPath: \"tagName\",\n mapper: {\n serializedName: \"tagName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const tagValue: OperationURLParameter = {\n parameterPath: \"tagValue\",\n mapper: {\n serializedName: \"tagValue\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters9: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsResourceMapper,\n};\n\nexport const parameters10: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsPatchResourceMapper,\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,gBAAgB,IAAI,sBAAsB,EAC1C,sBAAsB,IAAI,4BAA4B,EACtD,gBAAgB,IAAI,sBAAsB,EAC1C,2BAA2B,IAAI,iCAAiC,EAChE,iBAAiB,IAAI,uBAAuB,EAC5C,eAAe,IAAI,qBAAqB,EACxC,aAAa,IAAI,mBAAmB,EACpC,sBAAsB,IAAI,4BAA4B,EACtD,qBAAqB,IAAI,2BAA2B,EACpD,YAAY,IAAI,kBAAkB,EAClC,iBAAiB,IAAI,uBAAuB,GAC7C,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GA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,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAA0B;IAC5C,aAAa,EAAE,SAAS;IACxB,MAAM,EAAE;QACN,cAAc,EAAE,SAAS;QACzB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n Deployment as DeploymentMapper,\n ScopedDeployment as ScopedDeploymentMapper,\n ScopedDeploymentWhatIf as ScopedDeploymentWhatIfMapper,\n DeploymentWhatIf as DeploymentWhatIfMapper,\n ProviderRegistrationRequest as ProviderRegistrationRequestMapper,\n ResourcesMoveInfo as ResourcesMoveInfoMapper,\n GenericResource as GenericResourceMapper,\n ResourceGroup as ResourceGroupMapper,\n ResourceGroupPatchable as ResourceGroupPatchableMapper,\n ExportTemplateRequest as ExportTemplateRequestMapper,\n TagsResource as TagsResourceMapper,\n TagsPatchResource as TagsPatchResourceMapper,\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 apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-03-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 scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const deploymentName: OperationURLParameter = {\n parameterPath: \"deploymentName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 64,\n MinLength: 1,\n },\n serializedName: \"deploymentName\",\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 parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: DeploymentMapper,\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 parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ScopedDeploymentMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ScopedDeploymentWhatIfMapper,\n};\n\nexport const groupId: OperationURLParameter = {\n parameterPath: \"groupId\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"groupId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\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 parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: DeploymentWhatIfMapper,\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const template: OperationParameter = {\n parameterPath: \"template\",\n mapper: {\n serializedName: \"template\",\n required: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n};\n\nexport const resourceProviderNamespace: OperationURLParameter = {\n parameterPath: \"resourceProviderNamespace\",\n mapper: {\n serializedName: \"resourceProviderNamespace\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const properties: OperationParameter = {\n parameterPath: [\"options\", \"properties\"],\n mapper: ProviderRegistrationRequestMapper,\n};\n\nexport const expand: OperationQueryParameter = {\n parameterPath: [\"options\", \"expand\"],\n mapper: {\n serializedName: \"$expand\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourcesMoveInfoMapper,\n};\n\nexport const sourceResourceGroupName: OperationURLParameter = {\n parameterPath: \"sourceResourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"sourceResourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parentResourcePath: OperationURLParameter = {\n parameterPath: \"parentResourcePath\",\n mapper: {\n serializedName: \"parentResourcePath\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceType: OperationURLParameter = {\n parameterPath: \"resourceType\",\n mapper: {\n serializedName: \"resourceType\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion1: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n serializedName: \"api-version\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: GenericResourceMapper,\n};\n\nexport const resourceId: OperationURLParameter = {\n parameterPath: \"resourceId\",\n mapper: {\n serializedName: \"resourceId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceGroupMapper,\n};\n\nexport const forceDeletionTypes: OperationQueryParameter = {\n parameterPath: [\"options\", \"forceDeletionTypes\"],\n mapper: {\n serializedName: \"forceDeletionTypes\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceGroupPatchableMapper,\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ExportTemplateRequestMapper,\n};\n\nexport const resourceGroupName1: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const tagName: OperationURLParameter = {\n parameterPath: \"tagName\",\n mapper: {\n serializedName: \"tagName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const tagValue: OperationURLParameter = {\n parameterPath: \"tagValue\",\n mapper: {\n serializedName: \"tagValue\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters9: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsResourceMapper,\n};\n\nexport const parameters10: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsPatchResourceMapper,\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
@@ -29,7 +29,7 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
|
|
|
29
29
|
requestContentType: "application/json; charset=utf-8",
|
|
30
30
|
credential: credentials,
|
|
31
31
|
};
|
|
32
|
-
const packageDetails = `azsdk-js-arm-resources/6.0
|
|
32
|
+
const packageDetails = `azsdk-js-arm-resources/6.1.0`;
|
|
33
33
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
34
34
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
35
35
|
: `${packageDetails}`;
|
|
@@ -62,7 +62,7 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
|
|
|
62
62
|
this.subscriptionId = subscriptionId;
|
|
63
63
|
// Assigning values to Constant parameters
|
|
64
64
|
this.$host = options.$host || "https://management.azure.com";
|
|
65
|
-
this.apiVersion = options.apiVersion || "
|
|
65
|
+
this.apiVersion = options.apiVersion || "2025-03-01";
|
|
66
66
|
this.operations = new OperationsImpl(this);
|
|
67
67
|
this.deployments = new DeploymentsImpl(this);
|
|
68
68
|
this.providers = new ProvidersImpl(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceManagementClient.js","sourceRoot":"","sources":["../../src/resourceManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,eAAe,EACf,aAAa,EACb,yBAAyB,EACzB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAa/B,MAAM,OAAO,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IAoBpE,YACE,WAAqC,EACrC,uBAAyE,EACzE,OAAgD;;QAEhD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YAChD,cAAc,GAAG,uBAAuB,CAAC;QAC3C,CAAC;aAAM,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YACvD,OAAO,GAAG,uBAAuB,CAAC;QACpC,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA2C;YACvD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,8BAA8B,CAAC;Q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KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAUF","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\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n DeploymentsImpl,\n ProvidersImpl,\n ProviderResourceTypesImpl,\n ResourcesImpl,\n ResourceGroupsImpl,\n TagsOperationsImpl,\n DeploymentOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n Deployments,\n Providers,\n ProviderResourceTypes,\n Resources,\n ResourceGroups,\n TagsOperations,\n DeploymentOperations,\n} from \"./operationsInterfaces/index.js\";\nimport { ResourceManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ResourceManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the ResourceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Microsoft Azure subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ResourceManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: ResourceManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: ResourceManagementClientOptionalParams | string,\n options?: ResourceManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ResourceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-resources/6.0
|
|
1
|
+
{"version":3,"file":"resourceManagementClient.js","sourceRoot":"","sources":["../../src/resourceManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,eAAe,EACf,aAAa,EACb,yBAAyB,EACzB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAa/B,MAAM,OAAO,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IAoBpE,YACE,WAAqC,EACrC,uBAAyE,EACzE,OAAgD;;QAEh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ent":["/*\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\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n DeploymentsImpl,\n ProvidersImpl,\n ProviderResourceTypesImpl,\n ResourcesImpl,\n ResourceGroupsImpl,\n TagsOperationsImpl,\n DeploymentOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n Deployments,\n Providers,\n ProviderResourceTypes,\n Resources,\n ResourceGroups,\n TagsOperations,\n DeploymentOperations,\n} from \"./operationsInterfaces/index.js\";\nimport { ResourceManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ResourceManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the ResourceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Microsoft Azure subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ResourceManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: ResourceManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: ResourceManagementClientOptionalParams | string,\n options?: ResourceManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ResourceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-resources/6.1.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-03-01\";\n this.operations = new OperationsImpl(this);\n this.deployments = new DeploymentsImpl(this);\n this.providers = new ProvidersImpl(this);\n this.providerResourceTypes = new ProviderResourceTypesImpl(this);\n this.resources = new ResourcesImpl(this);\n this.resourceGroups = new ResourceGroupsImpl(this);\n this.tagsOperations = new TagsOperationsImpl(this);\n this.deploymentOperations = new DeploymentOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n deployments: Deployments;\n providers: Providers;\n providerResourceTypes: ProviderResourceTypes;\n resources: Resources;\n resourceGroups: ResourceGroups;\n tagsOperations: TagsOperations;\n deploymentOperations: DeploymentOperations;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for ResourceManagementClient.",
|
|
6
|
-
"version": "6.
|
|
6
|
+
"version": "6.1.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=18.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@azure/abort-controller": "^2.1.2",
|
|
12
|
-
"@azure/core-auth": "^1.9.0",
|
|
13
|
-
"@azure/core-client": "^1.9.2",
|
|
14
11
|
"@azure/core-lro": "^2.5.4",
|
|
12
|
+
"@azure/abort-controller": "^2.1.2",
|
|
15
13
|
"@azure/core-paging": "^1.6.2",
|
|
14
|
+
"@azure/core-client": "^1.9.2",
|
|
15
|
+
"@azure/core-auth": "^1.9.0",
|
|
16
16
|
"@azure/core-rest-pipeline": "^1.19.0",
|
|
17
17
|
"tslib": "^2.8.1"
|
|
18
18
|
},
|
|
@@ -21,31 +21,30 @@
|
|
|
21
21
|
"azure",
|
|
22
22
|
"typescript",
|
|
23
23
|
"browser",
|
|
24
|
-
"isomorphic"
|
|
24
|
+
"isomorphic",
|
|
25
|
+
"cloud"
|
|
25
26
|
],
|
|
26
27
|
"license": "MIT",
|
|
27
28
|
"main": "./dist/commonjs/index.js",
|
|
28
29
|
"module": "./dist/esm/index.js",
|
|
29
30
|
"types": "./dist/commonjs/index.d.ts",
|
|
31
|
+
"type": "module",
|
|
30
32
|
"devDependencies": {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"@azure
|
|
34
|
-
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
33
|
+
"typescript": "~5.8.2",
|
|
34
|
+
"dotenv": "^16.0.0",
|
|
35
|
+
"@azure/dev-tool": "^1.0.0",
|
|
35
36
|
"@azure/identity": "^4.7.0",
|
|
36
37
|
"@azure/logger": "^1.1.4",
|
|
38
|
+
"@azure-tools/test-recorder": "^4.1.0",
|
|
39
|
+
"@azure-tools/test-credential": "^2.0.0",
|
|
40
|
+
"@azure-tools/test-utils-vitest": "^1.0.0",
|
|
37
41
|
"@types/node": "^18.0.0",
|
|
38
42
|
"@vitest/browser": "^3.0.9",
|
|
39
43
|
"@vitest/coverage-istanbul": "^3.0.9",
|
|
40
|
-
"dotenv": "^16.0.0",
|
|
41
44
|
"playwright": "^1.50.1",
|
|
42
|
-
"typescript": "~5.8.2",
|
|
43
45
|
"vitest": "^3.0.9"
|
|
44
46
|
},
|
|
45
|
-
"repository":
|
|
46
|
-
"type": "git",
|
|
47
|
-
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
48
|
-
},
|
|
47
|
+
"repository": "github:Azure/azure-sdk-for-js",
|
|
49
48
|
"bugs": {
|
|
50
49
|
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
51
50
|
},
|
|
@@ -53,7 +52,7 @@
|
|
|
53
52
|
"dist/",
|
|
54
53
|
"README.md",
|
|
55
54
|
"LICENSE",
|
|
56
|
-
"review
|
|
55
|
+
"review/*",
|
|
57
56
|
"CHANGELOG.md"
|
|
58
57
|
],
|
|
59
58
|
"scripts": {
|
|
@@ -83,18 +82,9 @@
|
|
|
83
82
|
]
|
|
84
83
|
},
|
|
85
84
|
"autoPublish": true,
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"productName": "",
|
|
89
|
-
"productSlugs": [
|
|
90
|
-
"azure"
|
|
91
|
-
],
|
|
92
|
-
"disableDocsMs": true,
|
|
93
|
-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-resources?view=azure-node-preview"
|
|
94
|
-
},
|
|
95
|
-
"type": "module",
|
|
85
|
+
"browser": "./dist/browser/index.js",
|
|
86
|
+
"react-native": "./dist/react-native/index.js",
|
|
96
87
|
"tshy": {
|
|
97
|
-
"project": "./tsconfig.src.json",
|
|
98
88
|
"exports": {
|
|
99
89
|
"./package.json": "./package.json",
|
|
100
90
|
".": "./src/index.ts"
|
|
@@ -107,10 +97,18 @@
|
|
|
107
97
|
"browser",
|
|
108
98
|
"react-native"
|
|
109
99
|
],
|
|
110
|
-
"selfLink": false
|
|
100
|
+
"selfLink": false,
|
|
101
|
+
"project": "./tsconfig.src.json"
|
|
102
|
+
},
|
|
103
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resources/arm-resources",
|
|
104
|
+
"//sampleConfiguration": {
|
|
105
|
+
"productName": "",
|
|
106
|
+
"productSlugs": [
|
|
107
|
+
"azure"
|
|
108
|
+
],
|
|
109
|
+
"disableDocsMs": true,
|
|
110
|
+
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-resources?view=azure-node-preview"
|
|
111
111
|
},
|
|
112
|
-
"browser": "./dist/browser/index.js",
|
|
113
|
-
"react-native": "./dist/react-native/index.js",
|
|
114
112
|
"exports": {
|
|
115
113
|
"./package.json": "./package.json",
|
|
116
114
|
".": {
|
|
@@ -127,6 +127,24 @@ export interface DeploymentExtendedFilter {
|
|
|
127
127
|
provisioningState?: string;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
// @public (undocumented)
|
|
131
|
+
export interface DeploymentExtensionConfigItem {
|
|
132
|
+
keyVaultReference?: KeyVaultParameterReference;
|
|
133
|
+
readonly type?: ExtensionConfigPropertyType;
|
|
134
|
+
value?: any;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// @public (undocumented)
|
|
138
|
+
export interface DeploymentExtensionDefinition {
|
|
139
|
+
readonly alias?: string;
|
|
140
|
+
readonly config?: {
|
|
141
|
+
[propertyName: string]: DeploymentExtensionConfigItem;
|
|
142
|
+
};
|
|
143
|
+
readonly configId?: string;
|
|
144
|
+
readonly name?: string;
|
|
145
|
+
readonly version?: string;
|
|
146
|
+
}
|
|
147
|
+
|
|
130
148
|
// @public
|
|
131
149
|
export interface DeploymentListResult {
|
|
132
150
|
readonly nextLink?: string;
|
|
@@ -297,6 +315,11 @@ export interface DeploymentParameter {
|
|
|
297
315
|
export interface DeploymentProperties {
|
|
298
316
|
debugSetting?: DebugSetting;
|
|
299
317
|
expressionEvaluationOptions?: ExpressionEvaluationOptions;
|
|
318
|
+
extensionConfigs?: {
|
|
319
|
+
[propertyName: string]: {
|
|
320
|
+
[propertyName: string]: DeploymentExtensionConfigItem;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
300
323
|
mode: DeploymentMode;
|
|
301
324
|
onErrorDeployment?: OnErrorDeployment;
|
|
302
325
|
parameters?: {
|
|
@@ -316,6 +339,7 @@ export interface DeploymentPropertiesExtended {
|
|
|
316
339
|
readonly diagnostics?: DeploymentDiagnosticsDefinition[];
|
|
317
340
|
readonly duration?: string;
|
|
318
341
|
readonly error?: ErrorResponse;
|
|
342
|
+
readonly extensions?: DeploymentExtensionDefinition[];
|
|
319
343
|
readonly mode?: DeploymentMode;
|
|
320
344
|
readonly onErrorDeployment?: OnErrorDeploymentExtended;
|
|
321
345
|
readonly outputResources?: ResourceReference[];
|
|
@@ -868,6 +892,9 @@ export interface ExtendedLocation {
|
|
|
868
892
|
// @public
|
|
869
893
|
export type ExtendedLocationType = string;
|
|
870
894
|
|
|
895
|
+
// @public
|
|
896
|
+
export type ExtensionConfigPropertyType = string;
|
|
897
|
+
|
|
871
898
|
// @public
|
|
872
899
|
export interface GenericResource extends Resource {
|
|
873
900
|
identity?: Identity;
|
|
@@ -964,6 +991,17 @@ export enum KnownExtendedLocationType {
|
|
|
964
991
|
EdgeZone = "EdgeZone"
|
|
965
992
|
}
|
|
966
993
|
|
|
994
|
+
// @public
|
|
995
|
+
export enum KnownExtensionConfigPropertyType {
|
|
996
|
+
Array = "Array",
|
|
997
|
+
Bool = "Bool",
|
|
998
|
+
Int = "Int",
|
|
999
|
+
Object = "Object",
|
|
1000
|
+
SecureObject = "SecureObject",
|
|
1001
|
+
SecureString = "SecureString",
|
|
1002
|
+
String = "String"
|
|
1003
|
+
}
|
|
1004
|
+
|
|
967
1005
|
// @public
|
|
968
1006
|
export enum KnownLevel {
|
|
969
1007
|
Error = "Error",
|
|
@@ -1463,7 +1501,11 @@ export interface ResourceProviderOperationDisplayProperties {
|
|
|
1463
1501
|
|
|
1464
1502
|
// @public
|
|
1465
1503
|
export interface ResourceReference {
|
|
1504
|
+
readonly apiVersion?: string;
|
|
1505
|
+
readonly extension?: DeploymentExtensionDefinition;
|
|
1466
1506
|
readonly id?: string;
|
|
1507
|
+
readonly identifiers?: Record<string, unknown>;
|
|
1508
|
+
readonly resourceType?: string;
|
|
1467
1509
|
}
|
|
1468
1510
|
|
|
1469
1511
|
// @public
|
|
@@ -1820,9 +1862,13 @@ export interface TagValue {
|
|
|
1820
1862
|
|
|
1821
1863
|
// @public
|
|
1822
1864
|
export interface TargetResource {
|
|
1865
|
+
apiVersion?: string;
|
|
1866
|
+
extension?: DeploymentExtensionDefinition;
|
|
1823
1867
|
id?: string;
|
|
1868
|
+
identifiers?: Record<string, unknown>;
|
|
1824
1869
|
resourceName?: string;
|
|
1825
1870
|
resourceType?: string;
|
|
1871
|
+
symbolicName?: string;
|
|
1826
1872
|
}
|
|
1827
1873
|
|
|
1828
1874
|
// @public
|