@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
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
/** Class containing Accounts operations. */
|
|
5
|
+
export declare class AccountsImpl implements Accounts {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class Accounts class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: VisualStudioResourceProviderClient);
|
|
12
|
+
/**
|
|
13
|
+
* Checks if the specified Visual Studio Team Services account name is available. Resource name can be
|
|
14
|
+
* either an account name or an account name and PUID.
|
|
15
|
+
* @param body Parameters describing the name to check availability for.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
checkNameAvailability(body: CheckNameAvailabilityParameter, options?: AccountsCheckNameAvailabilityOptionalParams): Promise<AccountsCheckNameAvailabilityResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets all Visual Studio Team Services account resources under the resource group linked to the
|
|
21
|
+
* specified Azure subscription.
|
|
22
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): Promise<AccountsListByResourceGroupResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Creates or updates a Visual Studio Team Services account resource.
|
|
28
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
29
|
+
* @param resourceName Name of the resource.
|
|
30
|
+
* @param body The request data.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
createOrUpdate(resourceGroupName: string, resourceName: string, body: AccountResourceRequest, options?: AccountsCreateOrUpdateOptionalParams): Promise<AccountsCreateOrUpdateResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Deletes a Visual Studio Team Services account resource.
|
|
36
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
37
|
+
* @param resourceName Name of the resource.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
delete(resourceGroupName: string, resourceName: string, options?: AccountsDeleteOptionalParams): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Gets the Visual Studio Team Services account resource details.
|
|
43
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
44
|
+
* @param resourceName Name of the resource.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
get(resourceGroupName: string, resourceName: string, options?: AccountsGetOptionalParams): Promise<AccountsGetResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Updates tags for Visual Studio Team Services account resource.
|
|
50
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
51
|
+
* @param resourceName Name of the resource.
|
|
52
|
+
* @param body The request data.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
update(resourceGroupName: string, resourceName: string, body: AccountTagRequest, options?: AccountsUpdateOptionalParams): Promise<AccountsUpdateResponse>;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=accounts.d.ts.map
|
|
@@ -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,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EACL,8BAA8B,EAC9B,2CAA2C,EAC3C,qCAAqC,EACrC,yCAAyC,EACzC,mCAAmC,EACnC,sBAAsB,EACtB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqC;IAE5D;;;OAGG;gBACS,MAAM,EAAE,kCAAkC;IAItD;;;;;OAKG;IACH,qBAAqB,CACnB,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAO/B;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAMnC"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/** Class containing Accounts operations. */
|
|
12
|
+
export class AccountsImpl {
|
|
13
|
+
client;
|
|
14
|
+
/**
|
|
15
|
+
* Initialize a new instance of the class Accounts class.
|
|
16
|
+
* @param client Reference to the service client
|
|
17
|
+
*/
|
|
18
|
+
constructor(client) {
|
|
19
|
+
this.client = client;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Checks if the specified Visual Studio Team Services account name is available. Resource name can be
|
|
23
|
+
* either an account name or an account name and PUID.
|
|
24
|
+
* @param body Parameters describing the name to check availability for.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
checkNameAvailability(body, options) {
|
|
28
|
+
return this.client.sendOperationRequest({ body, options }, checkNameAvailabilityOperationSpec);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Gets all Visual Studio Team Services account resources under the resource group linked to the
|
|
32
|
+
* specified Azure subscription.
|
|
33
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
37
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Creates or updates a Visual Studio Team Services account resource.
|
|
41
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
42
|
+
* @param resourceName Name of the resource.
|
|
43
|
+
* @param body The request data.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
createOrUpdate(resourceGroupName, resourceName, body, options) {
|
|
47
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, body, options }, createOrUpdateOperationSpec);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Deletes a Visual Studio Team Services account resource.
|
|
51
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
52
|
+
* @param resourceName Name of the resource.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
delete(resourceGroupName, resourceName, options) {
|
|
56
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Gets the Visual Studio Team Services account resource details.
|
|
60
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
61
|
+
* @param resourceName Name of the resource.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
get(resourceGroupName, resourceName, options) {
|
|
65
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Updates tags for Visual Studio Team Services account resource.
|
|
69
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
70
|
+
* @param resourceName Name of the resource.
|
|
71
|
+
* @param body The request data.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
update(resourceGroupName, resourceName, body, options) {
|
|
75
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, body, options }, updateOperationSpec);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
// Operation Specifications
|
|
79
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
80
|
+
const checkNameAvailabilityOperationSpec = {
|
|
81
|
+
path: "/subscriptions/{subscriptionId}/providers/microsoft.visualstudio/checkNameAvailability",
|
|
82
|
+
httpMethod: "POST",
|
|
83
|
+
responses: {
|
|
84
|
+
200: {
|
|
85
|
+
bodyMapper: Mappers.CheckNameAvailabilityResult
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
requestBody: Parameters.body,
|
|
89
|
+
queryParameters: [Parameters.apiVersion],
|
|
90
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
91
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
92
|
+
mediaType: "json",
|
|
93
|
+
serializer
|
|
94
|
+
};
|
|
95
|
+
const listByResourceGroupOperationSpec = {
|
|
96
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account",
|
|
97
|
+
httpMethod: "GET",
|
|
98
|
+
responses: {
|
|
99
|
+
200: {
|
|
100
|
+
bodyMapper: Mappers.AccountResourceListResult
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
queryParameters: [Parameters.apiVersion],
|
|
104
|
+
urlParameters: [
|
|
105
|
+
Parameters.$host,
|
|
106
|
+
Parameters.subscriptionId,
|
|
107
|
+
Parameters.resourceGroupName
|
|
108
|
+
],
|
|
109
|
+
headerParameters: [Parameters.accept],
|
|
110
|
+
serializer
|
|
111
|
+
};
|
|
112
|
+
const createOrUpdateOperationSpec = {
|
|
113
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}",
|
|
114
|
+
httpMethod: "PUT",
|
|
115
|
+
responses: {
|
|
116
|
+
200: {
|
|
117
|
+
bodyMapper: Mappers.AccountResource
|
|
118
|
+
},
|
|
119
|
+
404: {}
|
|
120
|
+
},
|
|
121
|
+
requestBody: Parameters.body1,
|
|
122
|
+
queryParameters: [Parameters.apiVersion],
|
|
123
|
+
urlParameters: [
|
|
124
|
+
Parameters.$host,
|
|
125
|
+
Parameters.subscriptionId,
|
|
126
|
+
Parameters.resourceGroupName,
|
|
127
|
+
Parameters.resourceName
|
|
128
|
+
],
|
|
129
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
130
|
+
mediaType: "json",
|
|
131
|
+
serializer
|
|
132
|
+
};
|
|
133
|
+
const deleteOperationSpec = {
|
|
134
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}",
|
|
135
|
+
httpMethod: "DELETE",
|
|
136
|
+
responses: { 200: {} },
|
|
137
|
+
queryParameters: [Parameters.apiVersion],
|
|
138
|
+
urlParameters: [
|
|
139
|
+
Parameters.$host,
|
|
140
|
+
Parameters.subscriptionId,
|
|
141
|
+
Parameters.resourceGroupName,
|
|
142
|
+
Parameters.resourceName
|
|
143
|
+
],
|
|
144
|
+
serializer
|
|
145
|
+
};
|
|
146
|
+
const getOperationSpec = {
|
|
147
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}",
|
|
148
|
+
httpMethod: "GET",
|
|
149
|
+
responses: {
|
|
150
|
+
200: {
|
|
151
|
+
bodyMapper: Mappers.AccountResource
|
|
152
|
+
},
|
|
153
|
+
404: {}
|
|
154
|
+
},
|
|
155
|
+
queryParameters: [Parameters.apiVersion],
|
|
156
|
+
urlParameters: [
|
|
157
|
+
Parameters.$host,
|
|
158
|
+
Parameters.subscriptionId,
|
|
159
|
+
Parameters.resourceGroupName,
|
|
160
|
+
Parameters.resourceName
|
|
161
|
+
],
|
|
162
|
+
headerParameters: [Parameters.accept],
|
|
163
|
+
serializer
|
|
164
|
+
};
|
|
165
|
+
const updateOperationSpec = {
|
|
166
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{resourceName}",
|
|
167
|
+
httpMethod: "PATCH",
|
|
168
|
+
responses: {
|
|
169
|
+
200: {
|
|
170
|
+
bodyMapper: Mappers.AccountResource
|
|
171
|
+
},
|
|
172
|
+
404: {}
|
|
173
|
+
},
|
|
174
|
+
requestBody: Parameters.body2,
|
|
175
|
+
queryParameters: [Parameters.apiVersion],
|
|
176
|
+
urlParameters: [
|
|
177
|
+
Parameters.$host,
|
|
178
|
+
Parameters.subscriptionId,
|
|
179
|
+
Parameters.resourceGroupName,
|
|
180
|
+
Parameters.resourceName
|
|
181
|
+
],
|
|
182
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
183
|
+
mediaType: "json",
|
|
184
|
+
serializer
|
|
185
|
+
};
|
|
186
|
+
//# sourceMappingURL=accounts.js.map
|
|
@@ -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;I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E;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"]}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
/** Class containing Extensions operations. */
|
|
5
|
+
export declare class ExtensionsImpl implements Extensions {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class Extensions class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: VisualStudioResourceProviderClient);
|
|
12
|
+
/**
|
|
13
|
+
* Gets the details of the extension resources created within the resource group.
|
|
14
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
15
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listByAccount(resourceGroupName: string, accountResourceName: string, options?: ExtensionsListByAccountOptionalParams): Promise<ExtensionsListByAccountResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Registers the extension with a Visual Studio Team Services account.
|
|
21
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
22
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
23
|
+
* @param extensionResourceName The name of the extension.
|
|
24
|
+
* @param body An object containing additional information related to the extension request.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
create(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, body: ExtensionResourceRequest, options?: ExtensionsCreateOptionalParams): Promise<ExtensionsCreateResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Removes an extension resource registration for a Visual Studio Team Services account.
|
|
30
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
31
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
32
|
+
* @param extensionResourceName The name of the extension.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
delete(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: ExtensionsDeleteOptionalParams): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Gets the details of an extension associated with a Visual Studio Team Services account resource.
|
|
38
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
39
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
40
|
+
* @param extensionResourceName The name of the extension.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
get(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, options?: ExtensionsGetOptionalParams): Promise<ExtensionsGetResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Updates an existing extension registration for the Visual Studio Team Services account.
|
|
46
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
47
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
48
|
+
* @param extensionResourceName The name of the extension.
|
|
49
|
+
* @param body An object containing additional information related to the extension request.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
update(resourceGroupName: string, accountResourceName: string, extensionResourceName: string, body: ExtensionResourceRequest, options?: ExtensionsUpdateOptionalParams): Promise<ExtensionsUpdateResponse>;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=extensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/operations/extensions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EACL,qCAAqC,EACrC,+BAA+B,EAC/B,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqC;IAE5D;;;OAGG;gBACS,MAAM,EAAE,kCAAkC;IAItD;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAapC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAYhB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAYjC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;CAYrC"}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/** Class containing Extensions operations. */
|
|
12
|
+
export class ExtensionsImpl {
|
|
13
|
+
client;
|
|
14
|
+
/**
|
|
15
|
+
* Initialize a new instance of the class Extensions class.
|
|
16
|
+
* @param client Reference to the service client
|
|
17
|
+
*/
|
|
18
|
+
constructor(client) {
|
|
19
|
+
this.client = client;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Gets the details of the extension resources created within the resource group.
|
|
23
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
24
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
listByAccount(resourceGroupName, accountResourceName, options) {
|
|
28
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountResourceName, options }, listByAccountOperationSpec);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Registers the extension with a Visual Studio Team Services account.
|
|
32
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
33
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
34
|
+
* @param extensionResourceName The name of the extension.
|
|
35
|
+
* @param body An object containing additional information related to the extension request.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
create(resourceGroupName, accountResourceName, extensionResourceName, body, options) {
|
|
39
|
+
return this.client.sendOperationRequest({
|
|
40
|
+
resourceGroupName,
|
|
41
|
+
accountResourceName,
|
|
42
|
+
extensionResourceName,
|
|
43
|
+
body,
|
|
44
|
+
options
|
|
45
|
+
}, createOperationSpec);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Removes an extension resource registration for a Visual Studio Team Services account.
|
|
49
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
50
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
51
|
+
* @param extensionResourceName The name of the extension.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
delete(resourceGroupName, accountResourceName, extensionResourceName, options) {
|
|
55
|
+
return this.client.sendOperationRequest({
|
|
56
|
+
resourceGroupName,
|
|
57
|
+
accountResourceName,
|
|
58
|
+
extensionResourceName,
|
|
59
|
+
options
|
|
60
|
+
}, deleteOperationSpec);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Gets the details of an extension associated with a Visual Studio Team Services account resource.
|
|
64
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
65
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
66
|
+
* @param extensionResourceName The name of the extension.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
get(resourceGroupName, accountResourceName, extensionResourceName, options) {
|
|
70
|
+
return this.client.sendOperationRequest({
|
|
71
|
+
resourceGroupName,
|
|
72
|
+
accountResourceName,
|
|
73
|
+
extensionResourceName,
|
|
74
|
+
options
|
|
75
|
+
}, getOperationSpec);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Updates an existing extension registration for the Visual Studio Team Services account.
|
|
79
|
+
* @param resourceGroupName Name of the resource group within the Azure subscription.
|
|
80
|
+
* @param accountResourceName The name of the Visual Studio Team Services account resource.
|
|
81
|
+
* @param extensionResourceName The name of the extension.
|
|
82
|
+
* @param body An object containing additional information related to the extension request.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
update(resourceGroupName, accountResourceName, extensionResourceName, body, options) {
|
|
86
|
+
return this.client.sendOperationRequest({
|
|
87
|
+
resourceGroupName,
|
|
88
|
+
accountResourceName,
|
|
89
|
+
extensionResourceName,
|
|
90
|
+
body,
|
|
91
|
+
options
|
|
92
|
+
}, updateOperationSpec);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
// Operation Specifications
|
|
96
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
97
|
+
const listByAccountOperationSpec = {
|
|
98
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension",
|
|
99
|
+
httpMethod: "GET",
|
|
100
|
+
responses: {
|
|
101
|
+
200: {
|
|
102
|
+
bodyMapper: Mappers.ExtensionResourceListResult
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
queryParameters: [Parameters.apiVersion],
|
|
106
|
+
urlParameters: [
|
|
107
|
+
Parameters.$host,
|
|
108
|
+
Parameters.subscriptionId,
|
|
109
|
+
Parameters.resourceGroupName,
|
|
110
|
+
Parameters.accountResourceName
|
|
111
|
+
],
|
|
112
|
+
headerParameters: [Parameters.accept],
|
|
113
|
+
serializer
|
|
114
|
+
};
|
|
115
|
+
const createOperationSpec = {
|
|
116
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}",
|
|
117
|
+
httpMethod: "PUT",
|
|
118
|
+
responses: {
|
|
119
|
+
200: {
|
|
120
|
+
bodyMapper: Mappers.ExtensionResource
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
requestBody: Parameters.body3,
|
|
124
|
+
queryParameters: [Parameters.apiVersion],
|
|
125
|
+
urlParameters: [
|
|
126
|
+
Parameters.$host,
|
|
127
|
+
Parameters.subscriptionId,
|
|
128
|
+
Parameters.resourceGroupName,
|
|
129
|
+
Parameters.accountResourceName,
|
|
130
|
+
Parameters.extensionResourceName
|
|
131
|
+
],
|
|
132
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
133
|
+
mediaType: "json",
|
|
134
|
+
serializer
|
|
135
|
+
};
|
|
136
|
+
const deleteOperationSpec = {
|
|
137
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}",
|
|
138
|
+
httpMethod: "DELETE",
|
|
139
|
+
responses: { 200: {} },
|
|
140
|
+
queryParameters: [Parameters.apiVersion],
|
|
141
|
+
urlParameters: [
|
|
142
|
+
Parameters.$host,
|
|
143
|
+
Parameters.subscriptionId,
|
|
144
|
+
Parameters.resourceGroupName,
|
|
145
|
+
Parameters.accountResourceName,
|
|
146
|
+
Parameters.extensionResourceName
|
|
147
|
+
],
|
|
148
|
+
serializer
|
|
149
|
+
};
|
|
150
|
+
const getOperationSpec = {
|
|
151
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}",
|
|
152
|
+
httpMethod: "GET",
|
|
153
|
+
responses: {
|
|
154
|
+
200: {
|
|
155
|
+
bodyMapper: Mappers.ExtensionResource
|
|
156
|
+
},
|
|
157
|
+
404: {}
|
|
158
|
+
},
|
|
159
|
+
queryParameters: [Parameters.apiVersion],
|
|
160
|
+
urlParameters: [
|
|
161
|
+
Parameters.$host,
|
|
162
|
+
Parameters.subscriptionId,
|
|
163
|
+
Parameters.resourceGroupName,
|
|
164
|
+
Parameters.accountResourceName,
|
|
165
|
+
Parameters.extensionResourceName
|
|
166
|
+
],
|
|
167
|
+
headerParameters: [Parameters.accept],
|
|
168
|
+
serializer
|
|
169
|
+
};
|
|
170
|
+
const updateOperationSpec = {
|
|
171
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}",
|
|
172
|
+
httpMethod: "PATCH",
|
|
173
|
+
responses: {
|
|
174
|
+
200: {
|
|
175
|
+
bodyMapper: Mappers.ExtensionResource
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
requestBody: Parameters.body3,
|
|
179
|
+
queryParameters: [Parameters.apiVersion],
|
|
180
|
+
urlParameters: [
|
|
181
|
+
Parameters.$host,
|
|
182
|
+
Parameters.subscriptionId,
|
|
183
|
+
Parameters.resourceGroupName,
|
|
184
|
+
Parameters.accountResourceName,
|
|
185
|
+
Parameters.extensionResourceName
|
|
186
|
+
],
|
|
187
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
188
|
+
mediaType: "json",
|
|
189
|
+
serializer
|
|
190
|
+
};
|
|
191
|
+
//# sourceMappingURL=extensions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../src/operations/extensions.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;AAetD,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAqC;IAE5D;;;OAGG;IACH,YAAY,MAA0C;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,aAAa,CACX,iBAAyB,EACzB,mBAA2B,EAC3B,OAA+C;QAE/C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,OAAO,EAAE,EACnD,0BAA0B,CAC3B,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAyB,EACzB,mBAA2B,EAC3B,qBAA6B,EAC7B,IAA8B,EAC9B,OAAwC;QAExC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,mBAAmB;YACnB,qBAAqB;YACrB,IAAI;YACJ,OAAO;SACR,EACD,mBAAmB,CACpB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,iBAAyB,EACzB,mBAA2B,EAC3B,qBAA6B,EAC7B,OAAwC;QAExC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,mBAAmB;YACnB,qBAAqB;YACrB,OAAO;SACR,EACD,mBAAmB,CACpB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,GAAG,CACD,iBAAyB,EACzB,mBAA2B,EAC3B,qBAA6B,EAC7B,OAAqC;QAEr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AAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,qBAAqB;KACjC;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 { Extensions } 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 ExtensionsListByAccountOptionalParams,\n ExtensionsListByAccountResponse,\n ExtensionResourceRequest,\n ExtensionsCreateOptionalParams,\n ExtensionsCreateResponse,\n ExtensionsDeleteOptionalParams,\n ExtensionsGetOptionalParams,\n ExtensionsGetResponse,\n ExtensionsUpdateOptionalParams,\n ExtensionsUpdateResponse\n} from \"../models/index.js\";\n\n/** Class containing Extensions operations. */\nexport class ExtensionsImpl implements Extensions {\n private readonly client: VisualStudioResourceProviderClient;\n\n /**\n * Initialize a new instance of the class Extensions class.\n * @param client Reference to the service client\n */\n constructor(client: VisualStudioResourceProviderClient) {\n this.client = client;\n }\n\n /**\n * Gets the details of the extension resources created within the resource group.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param accountResourceName The name of the Visual Studio Team Services account resource.\n * @param options The options parameters.\n */\n listByAccount(\n resourceGroupName: string,\n accountResourceName: string,\n options?: ExtensionsListByAccountOptionalParams\n ): Promise<ExtensionsListByAccountResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountResourceName, options },\n listByAccountOperationSpec\n );\n }\n\n /**\n * Registers the extension with a Visual Studio Team Services account.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param accountResourceName The name of the Visual Studio Team Services account resource.\n * @param extensionResourceName The name of the extension.\n * @param body An object containing additional information related to the extension request.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n accountResourceName: string,\n extensionResourceName: string,\n body: ExtensionResourceRequest,\n options?: ExtensionsCreateOptionalParams\n ): Promise<ExtensionsCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountResourceName,\n extensionResourceName,\n body,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Removes an extension resource registration for a Visual Studio Team Services account.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param accountResourceName The name of the Visual Studio Team Services account resource.\n * @param extensionResourceName The name of the extension.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountResourceName: string,\n extensionResourceName: string,\n options?: ExtensionsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountResourceName,\n extensionResourceName,\n options\n },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the details of an extension associated with a Visual Studio Team Services account resource.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param accountResourceName The name of the Visual Studio Team Services account resource.\n * @param extensionResourceName The name of the extension.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountResourceName: string,\n extensionResourceName: string,\n options?: ExtensionsGetOptionalParams\n ): Promise<ExtensionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountResourceName,\n extensionResourceName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Updates an existing extension registration for the Visual Studio Team Services account.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param accountResourceName The name of the Visual Studio Team Services account resource.\n * @param extensionResourceName The name of the extension.\n * @param body An object containing additional information related to the extension request.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountResourceName: string,\n extensionResourceName: string,\n body: ExtensionResourceRequest,\n options?: ExtensionsUpdateOptionalParams\n ): Promise<ExtensionsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountResourceName,\n extensionResourceName,\n body,\n options\n },\n updateOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByAccountOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExtensionResourceListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExtensionResource\n }\n },\n requestBody: Parameters.body3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountResourceName,\n Parameters.extensionResourceName\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/{accountResourceName}/extension/{extensionResourceName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountResourceName,\n Parameters.extensionResourceName\n ],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExtensionResource\n },\n 404: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountResourceName,\n Parameters.extensionResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account/{accountResourceName}/extension/{extensionResourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExtensionResource\n }\n },\n requestBody: Parameters.body3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountResourceName,\n Parameters.extensionResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./accounts.js";
|
|
10
|
+
export * from "./extensions.js";
|
|
11
|
+
export * from "./projects.js";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,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 \"./operations.js\";\nexport * from \"./accounts.js\";\nexport * from \"./extensions.js\";\nexport * from \"./projects.js\";\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { VisualStudioResourceProviderClient } from "../visualStudioResourceProviderClient.js";
|
|
3
|
+
import { OperationsListOptionalParams, OperationsListResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing Operations operations. */
|
|
5
|
+
export declare class OperationsImpl implements Operations {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class Operations class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: VisualStudioResourceProviderClient);
|
|
12
|
+
/**
|
|
13
|
+
* Gets the details of all operations possible on the Microsoft.VisualStudio resource provider.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqC;IAE5D;;;OAGG;gBACS,MAAM,EAAE,kCAAkC;IAItD;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAGnC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/** Class containing Operations operations. */
|
|
12
|
+
export class OperationsImpl {
|
|
13
|
+
client;
|
|
14
|
+
/**
|
|
15
|
+
* Initialize a new instance of the class Operations class.
|
|
16
|
+
* @param client Reference to the service client
|
|
17
|
+
*/
|
|
18
|
+
constructor(client) {
|
|
19
|
+
this.client = client;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Gets the details of all operations possible on the Microsoft.VisualStudio resource provider.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
list(options) {
|
|
26
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
// Operation Specifications
|
|
30
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
31
|
+
const listOperationSpec = {
|
|
32
|
+
path: "/providers/microsoft.visualstudio/operations",
|
|
33
|
+
httpMethod: "GET",
|
|
34
|
+
responses: {
|
|
35
|
+
200: {
|
|
36
|
+
bodyMapper: Mappers.OperationListResult
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
urlParameters: [Parameters.$host],
|
|
40
|
+
headerParameters: [Parameters.accept],
|
|
41
|
+
serializer
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=operations.js.map
|