@azure/arm-visualstudio 4.0.0-beta.1 → 4.0.0-beta.3
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 +14 -4
- package/LICENSE +4 -4
- package/README.md +31 -11
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +3 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +22 -22
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +17 -7
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accounts.d.ts +3 -3
- package/dist/browser/operations/accounts.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accounts.js +3 -2
- package/dist/browser/operations/accounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/extensions.d.ts +3 -3
- package/dist/browser/operations/extensions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/extensions.js +3 -2
- package/dist/browser/operations/extensions.js.map +1 -0
- package/dist/browser/operations/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/projects.d.ts +3 -3
- package/dist/browser/operations/projects.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/projects.js +41 -38
- package/dist/browser/operations/projects.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.d.ts +1 -1
- package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/accounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/extensions.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.d.ts +1 -1
- package/dist/browser/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/projects.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/visualStudioResourceProviderClient.d.ts +4 -2
- package/dist/browser/visualStudioResourceProviderClient.d.ts.map +1 -0
- package/dist/browser/visualStudioResourceProviderClient.js +112 -0
- package/dist/browser/visualStudioResourceProviderClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +37 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +253 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +10 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +18 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +410 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +21 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +174 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/accounts.d.ts +57 -0
- package/dist/commonjs/operations/accounts.d.ts.map +1 -0
- package/dist/commonjs/operations/accounts.js +191 -0
- package/dist/commonjs/operations/accounts.js.map +1 -0
- package/dist/commonjs/operations/extensions.d.ts +54 -0
- package/dist/commonjs/operations/extensions.d.ts.map +1 -0
- package/dist/commonjs/operations/extensions.js +196 -0
- package/dist/commonjs/operations/extensions.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +5 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +15 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +18 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +48 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/projects.d.ts +77 -0
- package/dist/commonjs/operations/projects.d.ts.map +1 -0
- package/dist/commonjs/operations/projects.js +261 -0
- package/dist/commonjs/operations/projects.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/accounts.d.ts +49 -0
- package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/accounts.js +10 -0
- package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/extensions.d.ts +46 -0
- package/dist/commonjs/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/extensions.js +10 -0
- package/dist/commonjs/operationsInterfaces/extensions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/projects.d.ts +69 -0
- package/dist/commonjs/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/projects.js +10 -0
- package/dist/commonjs/operationsInterfaces/projects.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/commonjs/visualStudioResourceProviderClient.d.ts +23 -0
- package/dist/commonjs/visualStudioResourceProviderClient.d.ts.map +1 -0
- package/dist/commonjs/visualStudioResourceProviderClient.js +117 -0
- package/dist/commonjs/visualStudioResourceProviderClient.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +4 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +33 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +253 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +18 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +407 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +21 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +171 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/accounts.d.ts +57 -0
- package/dist/esm/operations/accounts.d.ts.map +1 -0
- package/dist/esm/operations/accounts.js +186 -0
- package/dist/esm/operations/accounts.js.map +1 -0
- package/dist/esm/operations/extensions.d.ts +54 -0
- package/dist/esm/operations/extensions.d.ts.map +1 -0
- package/dist/esm/operations/extensions.js +191 -0
- package/dist/esm/operations/extensions.js.map +1 -0
- package/dist/esm/operations/index.d.ts +5 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +12 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +18 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +43 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/projects.d.ts +77 -0
- package/dist/esm/operations/projects.d.ts.map +1 -0
- package/dist/esm/operations/projects.js +256 -0
- package/dist/esm/operations/projects.js.map +1 -0
- package/dist/esm/operationsInterfaces/accounts.d.ts +49 -0
- package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/accounts.js +9 -0
- package/dist/esm/operationsInterfaces/accounts.js.map +1 -0
- package/dist/esm/operationsInterfaces/extensions.d.ts +46 -0
- package/dist/esm/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/extensions.js +9 -0
- package/dist/esm/operationsInterfaces/extensions.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +5 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +12 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/projects.d.ts +69 -0
- package/dist/esm/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/projects.js +9 -0
- package/dist/esm/operationsInterfaces/projects.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/visualStudioResourceProviderClient.d.ts +23 -0
- package/dist/esm/visualStudioResourceProviderClient.d.ts.map +1 -0
- package/dist/esm/visualStudioResourceProviderClient.js +112 -0
- package/dist/esm/visualStudioResourceProviderClient.js.map +1 -0
- package/dist/react-native/index.d.ts +4 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +11 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +33 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +253 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +9 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +18 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +407 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +21 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +171 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/accounts.d.ts +57 -0
- package/dist/react-native/operations/accounts.d.ts.map +1 -0
- package/dist/react-native/operations/accounts.js +186 -0
- package/dist/react-native/operations/accounts.js.map +1 -0
- package/dist/react-native/operations/extensions.d.ts +54 -0
- package/dist/react-native/operations/extensions.d.ts.map +1 -0
- package/dist/react-native/operations/extensions.js +191 -0
- package/dist/react-native/operations/extensions.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +5 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +12 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +18 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +43 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/projects.d.ts +77 -0
- package/dist/react-native/operations/projects.d.ts.map +1 -0
- package/dist/react-native/operations/projects.js +256 -0
- package/dist/react-native/operations/projects.js.map +1 -0
- package/dist/react-native/operationsInterfaces/accounts.d.ts +49 -0
- package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/accounts.js +9 -0
- package/dist/react-native/operationsInterfaces/accounts.js.map +1 -0
- package/dist/react-native/operationsInterfaces/extensions.d.ts +46 -0
- package/dist/react-native/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/extensions.js +9 -0
- package/dist/react-native/operationsInterfaces/extensions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +12 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/projects.d.ts +69 -0
- package/dist/react-native/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/projects.js +9 -0
- package/dist/react-native/operationsInterfaces/projects.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/visualStudioResourceProviderClient.d.ts +23 -0
- package/dist/react-native/visualStudioResourceProviderClient.d.ts.map +1 -0
- package/dist/react-native/visualStudioResourceProviderClient.js +112 -0
- package/dist/react-native/visualStudioResourceProviderClient.js.map +1 -0
- package/package.json +100 -75
- package/review/{arm-visualstudio.api.md → arm-visualstudio-node.api.md} +6 -6
- package/LICENSE.txt +0 -21
- package/dist/index.js +0 -1332
- 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/checkAvailabilityOfAnAccountName.d.ts +0 -2
- package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.js +0 -33
- package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.js.map +0 -1
- package/dist-esm/samples-dev/createAProjectResource.d.ts +0 -2
- package/dist-esm/samples-dev/createAProjectResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAProjectResource.js +0 -43
- package/dist-esm/samples-dev/createAProjectResource.js.map +0 -1
- package/dist-esm/samples-dev/createAnAccountResource.d.ts +0 -2
- package/dist-esm/samples-dev/createAnAccountResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAnAccountResource.js +0 -32
- package/dist-esm/samples-dev/createAnAccountResource.js.map +0 -1
- package/dist-esm/samples-dev/createAnExtensionResource.d.ts +0 -2
- package/dist-esm/samples-dev/createAnExtensionResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAnExtensionResource.js +0 -44
- package/dist-esm/samples-dev/createAnExtensionResource.js.map +0 -1
- package/dist-esm/samples-dev/deleteAnAccountResource.d.ts +0 -2
- package/dist-esm/samples-dev/deleteAnAccountResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteAnAccountResource.js +0 -31
- package/dist-esm/samples-dev/deleteAnAccountResource.js.map +0 -1
- package/dist-esm/samples-dev/deleteAnExtensionResource.d.ts +0 -2
- package/dist-esm/samples-dev/deleteAnExtensionResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteAnExtensionResource.js +0 -32
- package/dist-esm/samples-dev/deleteAnExtensionResource.js.map +0 -1
- package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.js +0 -30
- package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.js +0 -31
- package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.d.ts +0 -2
- package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.js +0 -29
- package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.js.map +0 -1
- package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.d.ts +0 -2
- package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.js +0 -31
- package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.js.map +0 -1
- package/dist-esm/samples-dev/getAProjectResource.d.ts +0 -2
- package/dist-esm/samples-dev/getAProjectResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAProjectResource.js +0 -32
- package/dist-esm/samples-dev/getAProjectResource.js.map +0 -1
- package/dist-esm/samples-dev/getAnAccountResource.d.ts +0 -2
- package/dist-esm/samples-dev/getAnAccountResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAnAccountResource.js +0 -31
- package/dist-esm/samples-dev/getAnAccountResource.js.map +0 -1
- package/dist-esm/samples-dev/getAnExtensionResource.d.ts +0 -2
- package/dist-esm/samples-dev/getAnExtensionResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAnExtensionResource.js +0 -32
- package/dist-esm/samples-dev/getAnExtensionResource.js.map +0 -1
- package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.d.ts +0 -2
- package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.d.ts.map +0 -1
- package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.js +0 -36
- package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.js.map +0 -1
- package/dist-esm/samples-dev/updateAProjectResource.d.ts +0 -2
- package/dist-esm/samples-dev/updateAProjectResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateAProjectResource.js +0 -40
- package/dist-esm/samples-dev/updateAProjectResource.js.map +0 -1
- package/dist-esm/samples-dev/updateAnExtensionResource.d.ts +0 -2
- package/dist-esm/samples-dev/updateAnExtensionResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateAnExtensionResource.js +0 -44
- package/dist-esm/samples-dev/updateAnExtensionResource.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -4
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.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/accounts.d.ts.map +0 -1
- package/dist-esm/src/operations/accounts.js.map +0 -1
- package/dist-esm/src/operations/extensions.d.ts.map +0 -1
- package/dist-esm/src/operations/extensions.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -5
- 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/projects.d.ts.map +0 -1
- package/dist-esm/src/operations/projects.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/extensions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/projects.js.map +0 -1
- package/dist-esm/src/visualStudioResourceProviderClient.d.ts.map +0 -1
- package/dist-esm/src/visualStudioResourceProviderClient.js +0 -54
- package/dist-esm/src/visualStudioResourceProviderClient.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -188
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -298
- package/src/models/mappers.ts +0 -424
- package/src/models/parameters.ts +0 -201
- package/src/operations/accounts.ts +0 -261
- package/src/operations/extensions.ts +0 -259
- package/src/operations/index.ts +0 -12
- package/src/operations/operations.ts +0 -55
- package/src/operations/projects.ts +0 -356
- package/src/operationsInterfaces/accounts.ts +0 -96
- package/src/operationsInterfaces/extensions.ts +0 -91
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/operations.ts +0 -21
- package/src/operationsInterfaces/projects.ts +0 -128
- package/src/visualStudioResourceProviderClient.ts +0 -91
- package/tsconfig.json +0 -20
- package/types/arm-visualstudio.d.ts +0 -493
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/extensions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
3
|
-
## 4.0.0-beta.1 (2022-01-21)
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
## 4.0.0-beta.3 (Unreleased)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
### Bugs Fixed
|
|
10
|
+
|
|
11
|
+
### Other Changes
|
|
12
|
+
|
|
13
|
+
## 4.0.0-beta.2 (2022-12-14)
|
|
14
|
+
|
|
15
|
+
The package of @azure/arm-visualstudio is using our next generation design principles since version 4.0.0-beta.2, which contains breaking changes.
|
|
6
16
|
|
|
7
17
|
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
|
|
8
18
|
|
|
9
19
|
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
|
|
10
20
|
|
|
11
|
-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js
|
|
21
|
+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MIT License
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -2,20 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Visual Studio Resource Provider client.
|
|
4
4
|
|
|
5
|
-
Use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://
|
|
5
|
+
Use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://learn.microsoft.com/rest/api/index.
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/visualstudio/arm-visualstudio) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-visualstudio) |
|
|
9
|
-
[API reference documentation](https://
|
|
9
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-visualstudio?view=azure-node-preview) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
13
13
|
|
|
14
14
|
### Currently supported environments
|
|
15
15
|
|
|
16
|
-
- [LTS versions of Node.js](https://
|
|
16
|
+
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
|
|
17
17
|
- Latest versions of Safari, Chrome, Edge and Firefox.
|
|
18
18
|
|
|
19
|
+
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
|
|
20
|
+
|
|
19
21
|
### Prerequisites
|
|
20
22
|
|
|
21
23
|
- An [Azure subscription][azure_sub].
|
|
@@ -44,17 +46,34 @@ npm install @azure/identity
|
|
|
44
46
|
You will also need to **register a new AAD application and grant access to Azure Visual Studio Resource Provider** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
45
47
|
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
46
48
|
|
|
47
|
-
For more information about how to create an Azure AD Application check out [this guide](https://
|
|
49
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
50
|
+
|
|
51
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
52
|
+
|
|
53
|
+
```ts snippet:ReadmeSampleCreateClient_Node
|
|
54
|
+
import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
|
|
55
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
48
56
|
|
|
49
|
-
```javascript
|
|
50
|
-
const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio");
|
|
51
|
-
const { DefaultAzureCredential } = require("@azure/identity");
|
|
52
57
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
53
58
|
const client = new VisualStudioResourceProviderClient(new DefaultAzureCredential(), subscriptionId);
|
|
54
59
|
```
|
|
55
60
|
|
|
61
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
62
|
+
|
|
63
|
+
```ts snippet:ReadmeSampleCreateClient_Browser
|
|
64
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
65
|
+
import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
|
|
66
|
+
|
|
67
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
68
|
+
const credential = new InteractiveBrowserCredential({
|
|
69
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
70
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
71
|
+
});
|
|
72
|
+
const client = new VisualStudioResourceProviderClient(credential, subscriptionId);
|
|
73
|
+
```
|
|
56
74
|
|
|
57
75
|
### JavaScript Bundle
|
|
76
|
+
|
|
58
77
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
59
78
|
|
|
60
79
|
## Key concepts
|
|
@@ -69,8 +88,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
69
88
|
|
|
70
89
|
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
71
90
|
|
|
72
|
-
```
|
|
73
|
-
|
|
91
|
+
```ts snippet:SetLogLevel
|
|
92
|
+
import { setLogLevel } from "@azure/logger";
|
|
93
|
+
|
|
74
94
|
setLogLevel("info");
|
|
75
95
|
```
|
|
76
96
|
|
|
@@ -88,9 +108,9 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
88
108
|
|
|
89
109
|
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
90
110
|
|
|
91
|
-

|
|
92
111
|
|
|
93
|
-
|
|
112
|
+
|
|
113
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
94
114
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
95
115
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
96
116
|
[azure_portal]: https://portal.azure.com
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,cAAc,iCAAiC,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
|
-
export * from "./models";
|
|
9
|
-
export { VisualStudioResourceProviderClient } from "./visualStudioResourceProviderClient";
|
|
10
|
-
export * from "./operationsInterfaces";
|
|
8
|
+
export * from "./models/index.js";
|
|
9
|
+
export { VisualStudioResourceProviderClient } from "./visualStudioResourceProviderClient.js";
|
|
10
|
+
export * from "./operationsInterfaces/index.js";
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,cAAc,iCAAiC,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 \"./models/index.js\";\nexport { VisualStudioResourceProviderClient } from \"./visualStudioResourceProviderClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -5,8 +5,12 @@
|
|
|
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 { __awaiter, __rest } from "tslib";
|
|
9
8
|
export class LroImpl {
|
|
9
|
+
sendOperationFn;
|
|
10
|
+
args;
|
|
11
|
+
spec;
|
|
12
|
+
requestPath;
|
|
13
|
+
requestMethod;
|
|
10
14
|
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
11
15
|
this.sendOperationFn = sendOperationFn;
|
|
12
16
|
this.args = args;
|
|
@@ -14,15 +18,15 @@ export class LroImpl {
|
|
|
14
18
|
this.requestPath = requestPath;
|
|
15
19
|
this.requestMethod = requestMethod;
|
|
16
20
|
}
|
|
17
|
-
sendInitialRequest() {
|
|
18
|
-
return
|
|
19
|
-
return this.sendOperationFn(this.args, this.spec);
|
|
20
|
-
});
|
|
21
|
+
async sendInitialRequest() {
|
|
22
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
21
23
|
}
|
|
22
|
-
sendPollRequest(path) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
async sendPollRequest(path) {
|
|
25
|
+
const { requestBody, ...restSpec } = this.spec;
|
|
26
|
+
return this.sendOperationFn(this.args, {
|
|
27
|
+
...restSpec,
|
|
28
|
+
path,
|
|
29
|
+
httpMethod: "GET"
|
|
26
30
|
});
|
|
27
31
|
}
|
|
28
32
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,OAAO,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
|
|
@@ -128,50 +128,50 @@ export interface ProjectResourceListResult {
|
|
|
128
128
|
value?: ProjectResource[];
|
|
129
129
|
}
|
|
130
130
|
/** The response to an account resource GET request. */
|
|
131
|
-
export
|
|
131
|
+
export interface AccountResource extends Resource {
|
|
132
132
|
/** Resource properties. */
|
|
133
133
|
properties?: {
|
|
134
134
|
[propertyName: string]: string;
|
|
135
135
|
};
|
|
136
|
-
}
|
|
136
|
+
}
|
|
137
137
|
/** The response to an extension resource GET request. */
|
|
138
|
-
export
|
|
138
|
+
export interface ExtensionResource extends Resource {
|
|
139
139
|
/** The extension plan that was purchased. */
|
|
140
140
|
plan?: ExtensionResourcePlan;
|
|
141
141
|
/** Resource properties. */
|
|
142
142
|
properties?: {
|
|
143
143
|
[propertyName: string]: string;
|
|
144
144
|
};
|
|
145
|
-
}
|
|
145
|
+
}
|
|
146
146
|
/** A Visual Studio Team Services project resource. */
|
|
147
|
-
export
|
|
147
|
+
export interface ProjectResource extends Resource {
|
|
148
148
|
/** Key/value pair of resource properties. */
|
|
149
149
|
properties?: {
|
|
150
150
|
[propertyName: string]: string;
|
|
151
151
|
};
|
|
152
|
-
}
|
|
152
|
+
}
|
|
153
153
|
/** Defines values for AccountResourceRequestOperationType. */
|
|
154
|
-
export
|
|
154
|
+
export type AccountResourceRequestOperationType = "unknown" | "create" | "update" | "link";
|
|
155
155
|
/** Optional parameters. */
|
|
156
156
|
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
157
157
|
}
|
|
158
158
|
/** Contains response data for the list operation. */
|
|
159
|
-
export
|
|
159
|
+
export type OperationsListResponse = OperationListResult;
|
|
160
160
|
/** Optional parameters. */
|
|
161
161
|
export interface AccountsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
162
162
|
}
|
|
163
163
|
/** Contains response data for the checkNameAvailability operation. */
|
|
164
|
-
export
|
|
164
|
+
export type AccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
|
|
165
165
|
/** Optional parameters. */
|
|
166
166
|
export interface AccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
167
167
|
}
|
|
168
168
|
/** Contains response data for the listByResourceGroup operation. */
|
|
169
|
-
export
|
|
169
|
+
export type AccountsListByResourceGroupResponse = AccountResourceListResult;
|
|
170
170
|
/** Optional parameters. */
|
|
171
171
|
export interface AccountsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
172
172
|
}
|
|
173
173
|
/** Contains response data for the createOrUpdate operation. */
|
|
174
|
-
export
|
|
174
|
+
export type AccountsCreateOrUpdateResponse = AccountResource;
|
|
175
175
|
/** Optional parameters. */
|
|
176
176
|
export interface AccountsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
177
177
|
}
|
|
@@ -179,22 +179,22 @@ export interface AccountsDeleteOptionalParams extends coreClient.OperationOption
|
|
|
179
179
|
export interface AccountsGetOptionalParams extends coreClient.OperationOptions {
|
|
180
180
|
}
|
|
181
181
|
/** Contains response data for the get operation. */
|
|
182
|
-
export
|
|
182
|
+
export type AccountsGetResponse = AccountResource;
|
|
183
183
|
/** Optional parameters. */
|
|
184
184
|
export interface AccountsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
185
185
|
}
|
|
186
186
|
/** Contains response data for the update operation. */
|
|
187
|
-
export
|
|
187
|
+
export type AccountsUpdateResponse = AccountResource;
|
|
188
188
|
/** Optional parameters. */
|
|
189
189
|
export interface ExtensionsListByAccountOptionalParams extends coreClient.OperationOptions {
|
|
190
190
|
}
|
|
191
191
|
/** Contains response data for the listByAccount operation. */
|
|
192
|
-
export
|
|
192
|
+
export type ExtensionsListByAccountResponse = ExtensionResourceListResult;
|
|
193
193
|
/** Optional parameters. */
|
|
194
194
|
export interface ExtensionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
195
195
|
}
|
|
196
196
|
/** Contains response data for the create operation. */
|
|
197
|
-
export
|
|
197
|
+
export type ExtensionsCreateResponse = ExtensionResource;
|
|
198
198
|
/** Optional parameters. */
|
|
199
199
|
export interface ExtensionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
200
200
|
}
|
|
@@ -202,17 +202,17 @@ export interface ExtensionsDeleteOptionalParams extends coreClient.OperationOpti
|
|
|
202
202
|
export interface ExtensionsGetOptionalParams extends coreClient.OperationOptions {
|
|
203
203
|
}
|
|
204
204
|
/** Contains response data for the get operation. */
|
|
205
|
-
export
|
|
205
|
+
export type ExtensionsGetResponse = ExtensionResource;
|
|
206
206
|
/** Optional parameters. */
|
|
207
207
|
export interface ExtensionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
208
208
|
}
|
|
209
209
|
/** Contains response data for the update operation. */
|
|
210
|
-
export
|
|
210
|
+
export type ExtensionsUpdateResponse = ExtensionResource;
|
|
211
211
|
/** Optional parameters. */
|
|
212
212
|
export interface ProjectsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
213
213
|
}
|
|
214
214
|
/** Contains response data for the listByResourceGroup operation. */
|
|
215
|
-
export
|
|
215
|
+
export type ProjectsListByResourceGroupResponse = ProjectResourceListResult;
|
|
216
216
|
/** Optional parameters. */
|
|
217
217
|
export interface ProjectsCreateOptionalParams extends coreClient.OperationOptions {
|
|
218
218
|
/** This parameter is ignored and should be set to an empty string. */
|
|
@@ -223,24 +223,24 @@ export interface ProjectsCreateOptionalParams extends coreClient.OperationOption
|
|
|
223
223
|
resumeFrom?: string;
|
|
224
224
|
}
|
|
225
225
|
/** Contains response data for the create operation. */
|
|
226
|
-
export
|
|
226
|
+
export type ProjectsCreateResponse = ProjectResource;
|
|
227
227
|
/** Optional parameters. */
|
|
228
228
|
export interface ProjectsGetOptionalParams extends coreClient.OperationOptions {
|
|
229
229
|
}
|
|
230
230
|
/** Contains response data for the get operation. */
|
|
231
|
-
export
|
|
231
|
+
export type ProjectsGetResponse = ProjectResource;
|
|
232
232
|
/** Optional parameters. */
|
|
233
233
|
export interface ProjectsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
234
234
|
}
|
|
235
235
|
/** Contains response data for the update operation. */
|
|
236
|
-
export
|
|
236
|
+
export type ProjectsUpdateResponse = ProjectResource;
|
|
237
237
|
/** Optional parameters. */
|
|
238
238
|
export interface ProjectsGetJobStatusOptionalParams extends coreClient.OperationOptions {
|
|
239
239
|
/** The job identifier. */
|
|
240
240
|
jobId?: string;
|
|
241
241
|
}
|
|
242
242
|
/** Contains response data for the getJobStatus operation. */
|
|
243
|
-
export
|
|
243
|
+
export type ProjectsGetJobStatusResponse = ProjectResource;
|
|
244
244
|
/** Optional parameters. */
|
|
245
245
|
export interface VisualStudioResourceProviderClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
246
246
|
/** server parameter */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,2EAA2E;AAC3E,MAAM,WAAW,mBAAmB;IAClC,6DAA6D;IAC7D,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,qEAAqE;AACrE,MAAM,WAAW,SAAS;IACxB,gDAAgD;IAChD,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qEAAqE;AACrE,MAAM,WAAW,mBAAmB;IAClC,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,6DAA6D;AAC7D,MAAM,WAAW,8BAA8B;IAC7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vD,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC;AAErD,2BAA2B;AAC3B,MAAM,WAAW,kCACf,SAAQ,UAAU,CAAC,gBAAgB;IACnC,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,6DAA6D;AAC7D,MAAM,MAAM,4BAA4B,GAAG,eAAe,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,gDACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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\n/** Container for a list of operations supported by a resource provider. */\nexport interface OperationListResult {\n /** A list of operations supported by a resource provider. */\n value?: Operation[];\n}\n\n/** Properties of an operation supported by the resource provider. */\nexport interface Operation {\n /** The properties of the resource operation. */\n display?: OperationProperties;\n /** The name of the resource operation. */\n name?: string;\n}\n\n/** Properties of an operation supported by the resource provider. */\nexport interface OperationProperties {\n /** The description of the resource operation. */\n description?: string;\n /** The operation name. */\n operation?: string;\n /** The provider name. */\n provider?: string;\n /** The resource name. */\n resource?: string;\n}\n\n/** The body of a POST request to check name availability. */\nexport interface CheckNameAvailabilityParameter {\n /** The name of the resource to check availability for. */\n resourceName?: string;\n /** The type of resource to check availability for. */\n resourceType?: string;\n}\n\n/** The response to a name availability request. */\nexport interface CheckNameAvailabilityResult {\n /** The message describing the detailed reason. */\n message?: string;\n /** The value which indicates whether the provided name is available. */\n nameAvailable?: boolean;\n}\n\n/** The response to an account resource list GET request. */\nexport interface AccountResourceListResult {\n /** Array of resource details. */\n value?: AccountResource[];\n}\n\n/** A generic Azure Resource Manager resource. */\nexport interface Resource {\n /**\n * Unique identifier of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /** Resource location. */\n location?: string;\n /**\n * Resource name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /**\n * Resource type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** The response to an extension resource list GET request. */\nexport interface ExtensionResourceListResult {\n /** Array of extension resource details. */\n value?: ExtensionResource[];\n}\n\n/** Plan data for an extension resource. */\nexport interface ExtensionResourcePlan {\n /** Name of the plan. */\n name?: string;\n /** Product name. */\n product?: string;\n /** Optional: the promotion code associated with the plan. */\n promotionCode?: string;\n /** Name of the extension publisher. */\n publisher?: string;\n /** A string that uniquely identifies the plan version. */\n version?: string;\n}\n\n/** The body of an extension resource PUT request. */\nexport interface ExtensionResourceRequest {\n /** The Azure region of the Visual Studio account associated with this request (i.e 'southcentralus'.) */\n location?: string;\n /** Extended information about the plan being purchased for this extension resource. */\n plan?: ExtensionResourcePlan;\n /** A dictionary of extended properties. This property is currently unused. */\n properties?: { [propertyName: string]: string };\n /** A dictionary of user-defined tags to be stored with the extension resource. */\n tags?: { [propertyName: string]: string };\n}\n\n/** The body of a PUT request to modify a Visual Studio account resource. */\nexport interface AccountResourceRequest {\n /** The account name. */\n accountName?: string;\n /** The Azure instance location. */\n location?: string;\n /** The type of the operation. */\n operationType?: AccountResourceRequestOperationType;\n /** The custom properties of the resource. */\n properties?: { [propertyName: string]: string };\n /** The custom tags of the resource. */\n tags?: { [propertyName: string]: string };\n}\n\n/** The body of a Patch request to add tags to a Visual Studio account resource. */\nexport interface AccountTagRequest {\n /** The custom tags of the resource. */\n tags?: { [propertyName: string]: string };\n}\n\n/** The response to a request to list Team Services project resources in a resource group/account. */\nexport interface ProjectResourceListResult {\n /** List of project resource details. */\n value?: ProjectResource[];\n}\n\n/** The response to an account resource GET request. */\nexport interface AccountResource extends Resource {\n /** Resource properties. */\n properties?: { [propertyName: string]: string };\n}\n\n/** The response to an extension resource GET request. */\nexport interface ExtensionResource extends Resource {\n /** The extension plan that was purchased. */\n plan?: ExtensionResourcePlan;\n /** Resource properties. */\n properties?: { [propertyName: string]: string };\n}\n\n/** A Visual Studio Team Services project resource. */\nexport interface ProjectResource extends Resource {\n /** Key/value pair of resource properties. */\n properties?: { [propertyName: string]: string };\n}\n\n/** Defines values for AccountResourceRequestOperationType. */\nexport type AccountResourceRequestOperationType =\n | \"unknown\"\n | \"create\"\n | \"update\"\n | \"link\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface AccountsCheckNameAvailabilityOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the checkNameAvailability operation. */\nexport type AccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;\n\n/** Optional parameters. */\nexport interface AccountsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type AccountsListByResourceGroupResponse = AccountResourceListResult;\n\n/** Optional parameters. */\nexport interface AccountsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type AccountsCreateOrUpdateResponse = AccountResource;\n\n/** Optional parameters. */\nexport interface AccountsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface AccountsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type AccountsGetResponse = AccountResource;\n\n/** Optional parameters. */\nexport interface AccountsUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type AccountsUpdateResponse = AccountResource;\n\n/** Optional parameters. */\nexport interface ExtensionsListByAccountOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByAccount operation. */\nexport type ExtensionsListByAccountResponse = ExtensionResourceListResult;\n\n/** Optional parameters. */\nexport interface ExtensionsCreateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the create operation. */\nexport type ExtensionsCreateResponse = ExtensionResource;\n\n/** Optional parameters. */\nexport interface ExtensionsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ExtensionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ExtensionsGetResponse = ExtensionResource;\n\n/** Optional parameters. */\nexport interface ExtensionsUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type ExtensionsUpdateResponse = ExtensionResource;\n\n/** Optional parameters. */\nexport interface ProjectsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ProjectsListByResourceGroupResponse = ProjectResourceListResult;\n\n/** Optional parameters. */\nexport interface ProjectsCreateOptionalParams\n extends coreClient.OperationOptions {\n /** This parameter is ignored and should be set to an empty string. */\n validating?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type ProjectsCreateResponse = ProjectResource;\n\n/** Optional parameters. */\nexport interface ProjectsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ProjectsGetResponse = ProjectResource;\n\n/** Optional parameters. */\nexport interface ProjectsUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type ProjectsUpdateResponse = ProjectResource;\n\n/** Optional parameters. */\nexport interface ProjectsGetJobStatusOptionalParams\n extends coreClient.OperationOptions {\n /** The job identifier. */\n jobId?: string;\n}\n\n/** Contains response data for the getJobStatus operation. */\nexport type ProjectsGetJobStatusResponse = ProjectResource;\n\n/** Optional parameters. */\nexport interface VisualStudioResourceProviderClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
@@ -353,45 +353,55 @@ export const AccountResource = {
|
|
|
353
353
|
type: {
|
|
354
354
|
name: "Composite",
|
|
355
355
|
className: "AccountResource",
|
|
356
|
-
modelProperties:
|
|
356
|
+
modelProperties: {
|
|
357
|
+
...Resource.type.modelProperties,
|
|
358
|
+
properties: {
|
|
357
359
|
serializedName: "properties",
|
|
358
360
|
type: {
|
|
359
361
|
name: "Dictionary",
|
|
360
362
|
value: { type: { name: "String" } }
|
|
361
363
|
}
|
|
362
|
-
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
363
366
|
}
|
|
364
367
|
};
|
|
365
368
|
export const ExtensionResource = {
|
|
366
369
|
type: {
|
|
367
370
|
name: "Composite",
|
|
368
371
|
className: "ExtensionResource",
|
|
369
|
-
modelProperties:
|
|
372
|
+
modelProperties: {
|
|
373
|
+
...Resource.type.modelProperties,
|
|
374
|
+
plan: {
|
|
370
375
|
serializedName: "plan",
|
|
371
376
|
type: {
|
|
372
377
|
name: "Composite",
|
|
373
378
|
className: "ExtensionResourcePlan"
|
|
374
379
|
}
|
|
375
|
-
},
|
|
380
|
+
},
|
|
381
|
+
properties: {
|
|
376
382
|
serializedName: "properties",
|
|
377
383
|
type: {
|
|
378
384
|
name: "Dictionary",
|
|
379
385
|
value: { type: { name: "String" } }
|
|
380
386
|
}
|
|
381
|
-
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
382
389
|
}
|
|
383
390
|
};
|
|
384
391
|
export const ProjectResource = {
|
|
385
392
|
type: {
|
|
386
393
|
name: "Composite",
|
|
387
394
|
className: "ProjectResource",
|
|
388
|
-
modelProperties:
|
|
395
|
+
modelProperties: {
|
|
396
|
+
...Resource.type.modelProperties,
|
|
397
|
+
properties: {
|
|
389
398
|
serializedName: "properties",
|
|
390
399
|
type: {
|
|
391
400
|
name: "Dictionary",
|
|
392
401
|
value: { type: { name: "String" } }
|
|
393
402
|
}
|
|
394
|
-
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
395
405
|
}
|
|
396
406
|
};
|
|
397
407
|
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA+B;IACnD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,qBAAqB;iBACjC;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAA+B;I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,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,uBAAuB;iBACnC;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe;YAChC,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;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 OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationProperties\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationProperties\",\n modelProperties: {\n 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 CheckNameAvailabilityParameter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityParameter\",\n modelProperties: {\n resourceName: {\n serializedName: \"resourceName\",\n type: {\n name: \"String\"\n }\n },\n resourceType: {\n serializedName: \"resourceType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CheckNameAvailabilityResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityResult\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const AccountResourceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AccountResourceListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AccountResource\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ExtensionResourceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtensionResourceListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ExtensionResource\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ExtensionResourcePlan: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtensionResourcePlan\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n product: {\n serializedName: \"product\",\n type: {\n name: \"String\"\n }\n },\n promotionCode: {\n serializedName: \"promotionCode\",\n type: {\n name: \"String\"\n }\n },\n publisher: {\n serializedName: \"publisher\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ExtensionResourceRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtensionResourceRequest\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n plan: {\n serializedName: \"plan\",\n type: {\n name: \"Composite\",\n className: \"ExtensionResourcePlan\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const AccountResourceRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AccountResourceRequest\",\n modelProperties: {\n accountName: {\n serializedName: \"accountName\",\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n operationType: {\n serializedName: \"operationType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"unknown\", \"create\", \"update\", \"link\"]\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const AccountTagRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AccountTagRequest\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ProjectResourceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProjectResourceListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProjectResource\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const AccountResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AccountResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ExtensionResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtensionResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n plan: {\n serializedName: \"plan\",\n type: {\n name: \"Composite\",\n className: \"ExtensionResourcePlan\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ProjectResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProjectResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n"]}
|
|
@@ -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 { CheckNameAvailabilityParameter as CheckNameAvailabilityParameterMapper, AccountResourceRequest as AccountResourceRequestMapper, AccountTagRequest as AccountTagRequestMapper, ExtensionResourceRequest as ExtensionResourceRequestMapper, ProjectResource as ProjectResourceMapper } from "../models/mappers";
|
|
8
|
+
import { CheckNameAvailabilityParameter as CheckNameAvailabilityParameterMapper, AccountResourceRequest as AccountResourceRequestMapper, AccountTagRequest as AccountTagRequestMapper, ExtensionResourceRequest as ExtensionResourceRequestMapper, ProjectResource as ProjectResourceMapper } from "../models/mappers.js";
|
|
9
9
|
export const accept = {
|
|
10
10
|
parameterPath: "accept",
|
|
11
11
|
mapper: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,8BAA8B,IAAI,oCAAoC,EACtE,sBAAsB,IAAI,4BAA4B,EACtD,iBAAiB,IAAI,uBAAuB,EAC5C,wBAAwB,IAAI,8BAA8B,EAC1D,eAAe,IAAI,qBAAqB,EACzC,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,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EA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AAE,WAAW;IAC1B,MAAM,EAAE;QACN,cAAc,EAAE,WAAW;QAC3B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA4B;IAC5C,aAAa,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;IACnC,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;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 CheckNameAvailabilityParameter as CheckNameAvailabilityParameterMapper,\n AccountResourceRequest as AccountResourceRequestMapper,\n AccountTagRequest as AccountTagRequestMapper,\n ExtensionResourceRequest as ExtensionResourceRequestMapper,\n ProjectResource as ProjectResourceMapper\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 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 body: OperationParameter = {\n parameterPath: \"body\",\n mapper: CheckNameAvailabilityParameterMapper\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 apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2014-04-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body1: OperationParameter = {\n parameterPath: \"body\",\n mapper: AccountResourceRequestMapper\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 body2: OperationParameter = {\n parameterPath: \"body\",\n mapper: AccountTagRequestMapper\n};\n\nexport const accountResourceName: OperationURLParameter = {\n parameterPath: \"accountResourceName\",\n mapper: {\n serializedName: \"accountResourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body3: OperationParameter = {\n parameterPath: \"body\",\n mapper: ExtensionResourceRequestMapper\n};\n\nexport const extensionResourceName: OperationURLParameter = {\n parameterPath: \"extensionResourceName\",\n mapper: {\n serializedName: \"extensionResourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const rootResourceName: OperationURLParameter = {\n parameterPath: \"rootResourceName\",\n mapper: {\n serializedName: \"rootResourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body4: OperationParameter = {\n parameterPath: \"body\",\n mapper: ProjectResourceMapper\n};\n\nexport const validating: OperationQueryParameter = {\n parameterPath: [\"options\", \"validating\"],\n mapper: {\n serializedName: \"validating\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subContainerName: OperationURLParameter = {\n parameterPath: \"subContainerName\",\n mapper: {\n serializedName: \"subContainerName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const operation: OperationQueryParameter = {\n parameterPath: \"operation\",\n mapper: {\n serializedName: \"operation\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const jobId: OperationQueryParameter = {\n parameterPath: [\"options\", \"jobId\"],\n mapper: {\n serializedName: \"jobId\",\n type: {\n name: \"Uuid\"\n }\n }\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Accounts } from "../operationsInterfaces";
|
|
2
|
-
import { VisualStudioResourceProviderClient } from "../visualStudioResourceProviderClient";
|
|
3
|
-
import { CheckNameAvailabilityParameter, AccountsCheckNameAvailabilityOptionalParams, AccountsCheckNameAvailabilityResponse, AccountsListByResourceGroupOptionalParams, AccountsListByResourceGroupResponse, AccountResourceRequest, AccountsCreateOrUpdateOptionalParams, AccountsCreateOrUpdateResponse, AccountsDeleteOptionalParams, AccountsGetOptionalParams, AccountsGetResponse, AccountTagRequest, AccountsUpdateOptionalParams, AccountsUpdateResponse } from "../models";
|
|
1
|
+
import { Accounts } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { VisualStudioResourceProviderClient } from "../visualStudioResourceProviderClient.js";
|
|
3
|
+
import { CheckNameAvailabilityParameter, AccountsCheckNameAvailabilityOptionalParams, AccountsCheckNameAvailabilityResponse, AccountsListByResourceGroupOptionalParams, AccountsListByResourceGroupResponse, AccountResourceRequest, AccountsCreateOrUpdateOptionalParams, AccountsCreateOrUpdateResponse, AccountsDeleteOptionalParams, AccountsGetOptionalParams, AccountsGetResponse, AccountTagRequest, AccountsUpdateOptionalParams, AccountsUpdateResponse } from "../models/index.js";
|
|
4
4
|
/** Class containing Accounts operations. */
|
|
5
5
|
export declare class AccountsImpl implements Accounts {
|
|
6
6
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operations/accounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,kCAAkC,EAAE,M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EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAMnC"}
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
|
-
import * as Mappers from "../models/mappers";
|
|
10
|
-
import * as Parameters from "../models/parameters";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
11
|
/** Class containing Accounts operations. */
|
|
12
12
|
export class AccountsImpl {
|
|
13
|
+
client;
|
|
13
14
|
/**
|
|
14
15
|
* Initialize a new instance of the class Accounts class.
|
|
15
16
|
* @param client Reference to the service client
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operations/accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAmBtD,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IACN,MAAM,CAAqC;IAE5D;;;OAGG;IACH,YAAY,MAA0C;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,qBAAqB,CACnB,IAAoC,EACpC,OAAqD;QAErD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,IAAI,EAAE,OAAO,EAAE,EACjB,kCAAkC,CACnC,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAyB,EACzB,OAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAC9B,gCAAgC,CACjC,CAAC;IACJ,CAAC;IAED;;;;;;O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,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,4HAA4H;IAC9H,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,GAAG,EAAE,EAAE;KACR;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,4HAA4H;IAC9H,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,GAAG,EAAE,EAAE;KACR;IACD,WAAW,EAAE,UAAU,CAAC,KAAK;IAC7B,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,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { Accounts } 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 { VisualStudioResourceProviderClient } from \"../visualStudioResourceProviderClient.js\";\nimport {\n CheckNameAvailabilityParameter,\n AccountsCheckNameAvailabilityOptionalParams,\n AccountsCheckNameAvailabilityResponse,\n AccountsListByResourceGroupOptionalParams,\n AccountsListByResourceGroupResponse,\n AccountResourceRequest,\n AccountsCreateOrUpdateOptionalParams,\n AccountsCreateOrUpdateResponse,\n AccountsDeleteOptionalParams,\n AccountsGetOptionalParams,\n AccountsGetResponse,\n AccountTagRequest,\n AccountsUpdateOptionalParams,\n AccountsUpdateResponse\n} from \"../models/index.js\";\n\n/** Class containing Accounts operations. */\nexport class AccountsImpl implements Accounts {\n private readonly client: VisualStudioResourceProviderClient;\n\n /**\n * Initialize a new instance of the class Accounts class.\n * @param client Reference to the service client\n */\n constructor(client: VisualStudioResourceProviderClient) {\n this.client = client;\n }\n\n /**\n * Checks if the specified Visual Studio Team Services account name is available. Resource name can be\n * either an account name or an account name and PUID.\n * @param body Parameters describing the name to check availability for.\n * @param options The options parameters.\n */\n checkNameAvailability(\n body: CheckNameAvailabilityParameter,\n options?: AccountsCheckNameAvailabilityOptionalParams\n ): Promise<AccountsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { body, options },\n checkNameAvailabilityOperationSpec\n );\n }\n\n /**\n * Gets all Visual Studio Team Services account resources under the resource group linked to the\n * specified Azure subscription.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AccountsListByResourceGroupOptionalParams\n ): Promise<AccountsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Creates or updates a Visual Studio Team Services account resource.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param resourceName Name of the resource.\n * @param body The request data.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n body: AccountResourceRequest,\n options?: AccountsCreateOrUpdateOptionalParams\n ): Promise<AccountsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, body, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a Visual Studio Team Services account resource.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param resourceName Name of the resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n options?: AccountsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the Visual Studio Team Services account resource details.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param resourceName Name of the resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: AccountsGetOptionalParams\n ): Promise<AccountsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Updates tags for Visual Studio Team Services account resource.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param resourceName Name of the resource.\n * @param body The request data.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n body: AccountTagRequest,\n options?: AccountsUpdateOptionalParams\n ): Promise<AccountsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, body, options },\n updateOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/microsoft.visualstudio/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResult\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountResourceListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountResource\n },\n 404: {}\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountResource\n },\n 404: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountResource\n },\n 404: {}\n },\n requestBody: Parameters.body2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Extensions } from "../operationsInterfaces";
|
|
2
|
-
import { VisualStudioResourceProviderClient } from "../visualStudioResourceProviderClient";
|
|
3
|
-
import { ExtensionsListByAccountOptionalParams, ExtensionsListByAccountResponse, ExtensionResourceRequest, ExtensionsCreateOptionalParams, ExtensionsCreateResponse, ExtensionsDeleteOptionalParams, ExtensionsGetOptionalParams, ExtensionsGetResponse, ExtensionsUpdateOptionalParams, ExtensionsUpdateResponse } from "../models";
|
|
1
|
+
import { Extensions } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { VisualStudioResourceProviderClient } from "../visualStudioResourceProviderClient.js";
|
|
3
|
+
import { ExtensionsListByAccountOptionalParams, ExtensionsListByAccountResponse, ExtensionResourceRequest, ExtensionsCreateOptionalParams, ExtensionsCreateResponse, ExtensionsDeleteOptionalParams, ExtensionsGetOptionalParams, ExtensionsGetResponse, ExtensionsUpdateOptionalParams, ExtensionsUpdateResponse } from "../models/index.js";
|
|
4
4
|
/** Class containing Extensions operations. */
|
|
5
5
|
export declare class ExtensionsImpl implements Extensions {
|
|
6
6
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/operations/extensions.ts"],"names":[],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