@azure/arm-visualstudio 4.0.0-alpha.20250116.1 → 4.0.0-alpha.20250120.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- 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/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- 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 +2 -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 +2 -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 +2 -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 +35 -40
- 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 +2 -2
- package/dist/browser/visualStudioResourceProviderClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/visualStudioResourceProviderClient.js +15 -18
- 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 +29 -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 +400 -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 +190 -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 +195 -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 +47 -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 +255 -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/dist/commonjs/visualStudioResourceProviderClient.d.ts +23 -0
- package/dist/commonjs/visualStudioResourceProviderClient.d.ts.map +1 -0
- package/dist/commonjs/visualStudioResourceProviderClient.js +105 -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 +25 -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 +397 -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 +185 -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 +190 -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 +42 -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 +250 -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 +100 -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 +25 -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 +397 -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 +185 -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 +190 -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 +42 -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 +250 -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 +100 -0
- package/dist/react-native/visualStudioResourceProviderClient.js.map +1 -0
- package/package.json +69 -40
- package/dist/index.js +0 -1402
- 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/accountsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js +0 -33
- package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +0 -38
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsDeleteSample.js +0 -31
- package/dist-esm/samples-dev/accountsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsGetSample.js +0 -31
- package/dist-esm/samples-dev/accountsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +0 -30
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsUpdateSample.js +0 -32
- package/dist-esm/samples-dev/accountsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsCreateSample.js +0 -44
- package/dist-esm/samples-dev/extensionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsDeleteSample.js +0 -32
- package/dist-esm/samples-dev/extensionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsGetSample.js +0 -32
- package/dist-esm/samples-dev/extensionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsListByAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsListByAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsListByAccountSample.js +0 -31
- package/dist-esm/samples-dev/extensionsListByAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsUpdateSample.js +0 -44
- package/dist-esm/samples-dev/extensionsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -29
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/projectsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/projectsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/projectsCreateSample.js +0 -43
- package/dist-esm/samples-dev/projectsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/projectsGetJobStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/projectsGetJobStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/projectsGetJobStatusSample.js +0 -36
- package/dist-esm/samples-dev/projectsGetJobStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/projectsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/projectsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/projectsGetSample.js +0 -32
- package/dist-esm/samples-dev/projectsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/projectsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/projectsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/projectsListByResourceGroupSample.js +0 -31
- package/dist-esm/samples-dev/projectsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/projectsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/projectsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/projectsUpdateSample.js +0 -40
- package/dist-esm/samples-dev/projectsUpdateSample.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 +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/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.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 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -299
- 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 -358
- 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 -156
- package/tsconfig.json +0 -33
- package/types/arm-visualstudio.d.ts +0 -495
- /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.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.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/mappers.js +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/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.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 {\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/** Interface representing a Accounts. */\nexport interface Accounts {\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 /**\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 /**\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 /**\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 /**\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 /**\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}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtensionsListByAccountOptionalParams, ExtensionsListByAccountResponse, ExtensionResourceRequest, ExtensionsCreateOptionalParams, ExtensionsCreateResponse, ExtensionsDeleteOptionalParams, ExtensionsGetOptionalParams, ExtensionsGetResponse, ExtensionsUpdateOptionalParams, ExtensionsUpdateResponse } from "../models";
|
|
1
|
+
import { ExtensionsListByAccountOptionalParams, ExtensionsListByAccountResponse, ExtensionResourceRequest, ExtensionsCreateOptionalParams, ExtensionsCreateResponse, ExtensionsDeleteOptionalParams, ExtensionsGetOptionalParams, ExtensionsGetResponse, ExtensionsUpdateOptionalParams, ExtensionsUpdateResponse } from "../models/index.js";
|
|
2
2
|
/** Interface representing a Extensions. */
|
|
3
3
|
export interface Extensions {
|
|
4
4
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensions.ts"],"names":[],"mappings":"AAQA,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,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;;;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,CAAC;IACrC;;;;;;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,CAAC;IACjB;;;;;;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,CAAC;IAClC;;;;;;;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,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensions.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 {\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/** Interface representing a Extensions. */\nexport interface Extensions {\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 /**\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 /**\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 /**\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 /**\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}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -5,8 +5,8 @@
|
|
|
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 "./operations";
|
|
9
|
-
export * from "./accounts";
|
|
10
|
-
export * from "./extensions";
|
|
11
|
-
export * from "./projects";
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./accounts.js";
|
|
10
|
+
export * from "./extensions.js";
|
|
11
|
+
export * from "./projects.js";
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/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 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;CAC/E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.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 {\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Gets the details of all operations possible on the Microsoft.VisualStudio resource provider.\n * @param options The options parameters.\n */\n list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
2
|
-
import { ProjectsListByResourceGroupOptionalParams, ProjectsListByResourceGroupResponse, ProjectResource, ProjectsCreateOptionalParams, ProjectsCreateResponse, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsUpdateOptionalParams, ProjectsUpdateResponse, ProjectsGetJobStatusOptionalParams, ProjectsGetJobStatusResponse } from "../models";
|
|
2
|
+
import { ProjectsListByResourceGroupOptionalParams, ProjectsListByResourceGroupResponse, ProjectResource, ProjectsCreateOptionalParams, ProjectsCreateResponse, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsUpdateOptionalParams, ProjectsUpdateResponse, ProjectsGetJobStatusOptionalParams, ProjectsGetJobStatusResponse } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Projects. */
|
|
4
4
|
export interface Projects {
|
|
5
5
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/projects.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,yCAAyC,EACzC,mCAAmC,EACnC,eAAe,EACf,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAE5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;;;;;;;OAYG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,sBAAsB,CAAC,EAC1C,sBAAsB,CACvB,CACF,CAAC;IACF;;;;;;;;;;;;OAYG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;;;OAQG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,MAAM,EACxB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;CAC1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/projects.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 { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n ProjectsListByResourceGroupOptionalParams,\n ProjectsListByResourceGroupResponse,\n ProjectResource,\n ProjectsCreateOptionalParams,\n ProjectsCreateResponse,\n ProjectsGetOptionalParams,\n ProjectsGetResponse,\n ProjectsUpdateOptionalParams,\n ProjectsUpdateResponse,\n ProjectsGetJobStatusOptionalParams,\n ProjectsGetJobStatusResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Projects. */\nexport interface Projects {\n /**\n * Gets all Visual Studio Team Services project resources created in the specified Team Services\n * account.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n rootResourceName: string,\n options?: ProjectsListByResourceGroupOptionalParams\n ): Promise<ProjectsListByResourceGroupResponse>;\n /**\n * Creates a Team Services project in the collection with the specified name. 'VersionControlOption'\n * and 'ProcessTemplateId' must be specified in the resource properties. Valid values for\n * VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId:\n * 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC,\n * 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process\n * templates).\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param resourceName Name of the Team Services project.\n * @param body The request data.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n rootResourceName: string,\n resourceName: string,\n body: ProjectResource,\n options?: ProjectsCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ProjectsCreateResponse>,\n ProjectsCreateResponse\n >\n >;\n /**\n * Creates a Team Services project in the collection with the specified name. 'VersionControlOption'\n * and 'ProcessTemplateId' must be specified in the resource properties. Valid values for\n * VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId:\n * 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC,\n * 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process\n * templates).\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param resourceName Name of the Team Services project.\n * @param body The request data.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n rootResourceName: string,\n resourceName: string,\n body: ProjectResource,\n options?: ProjectsCreateOptionalParams\n ): Promise<ProjectsCreateResponse>;\n /**\n * Gets the details of a Team Services project resource.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param resourceName Name of the Team Services project.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n rootResourceName: string,\n resourceName: string,\n options?: ProjectsGetOptionalParams\n ): Promise<ProjectsGetResponse>;\n /**\n * Updates the tags of the specified Team Services project.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param resourceName Name of the Team Services project.\n * @param body The request data.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n rootResourceName: string,\n resourceName: string,\n body: ProjectResource,\n options?: ProjectsUpdateOptionalParams\n ): Promise<ProjectsUpdateResponse>;\n /**\n * Gets the status of the project resource creation job.\n * @param resourceGroupName Name of the resource group within the Azure subscription.\n * @param rootResourceName Name of the Team Services account.\n * @param resourceName Name of the Team Services project.\n * @param subContainerName This parameter should be set to the resourceName.\n * @param operation The operation type. The only supported value is 'put'.\n * @param options The options parameters.\n */\n getJobStatus(\n resourceGroupName: string,\n rootResourceName: string,\n resourceName: string,\n subContainerName: string,\n operation: string,\n options?: ProjectsGetJobStatusOptionalParams\n ): Promise<ProjectsGetJobStatusResponse>;\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Operations, Accounts, Extensions, Projects } from "./operationsInterfaces";
|
|
4
|
-
import { VisualStudioResourceProviderClientOptionalParams } from "./models";
|
|
3
|
+
import { Operations, Accounts, Extensions, Projects } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { VisualStudioResourceProviderClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class VisualStudioResourceProviderClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
subscriptionId: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visualStudioResourceProviderClient.d.ts","sourceRoot":"","sources":["../../src/visualStudioResourceProviderClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,UAAU,EACV,QAAQ,EACR,UAAU,EACV,QAAQ,EACT,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,gDAAgD,EAAE,MAAM,mBAAmB,CAAC;AAErF,qBAAa,kCAAmC,SAAQ,UAAU,CAAC,aAAa;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gDAAgD;IA+E5D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { OperationsImpl, AccountsImpl, ExtensionsImpl, ProjectsImpl } from "./operations";
|
|
10
|
+
import { OperationsImpl, AccountsImpl, ExtensionsImpl, ProjectsImpl } from "./operations/index.js";
|
|
12
11
|
export class VisualStudioResourceProviderClient extends coreClient.ServiceClient {
|
|
13
12
|
/**
|
|
14
13
|
* Initializes a new instance of the VisualStudioResourceProviderClient class.
|
|
@@ -79,22 +78,20 @@ export class VisualStudioResourceProviderClient extends coreClient.ServiceClient
|
|
|
79
78
|
}
|
|
80
79
|
const apiVersionPolicy = {
|
|
81
80
|
name: "CustomApiVersionPolicy",
|
|
82
|
-
sendRequest(request, next) {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
return next(request);
|
|
97
|
-
});
|
|
81
|
+
async sendRequest(request, next) {
|
|
82
|
+
const param = request.url.split("?");
|
|
83
|
+
if (param.length > 1) {
|
|
84
|
+
const newParams = param[1].split("&").map((item) => {
|
|
85
|
+
if (item.indexOf("api-version") > -1) {
|
|
86
|
+
return "api-version=" + apiVersion;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
return item;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
93
|
+
}
|
|
94
|
+
return next(request);
|
|
98
95
|
}
|
|
99
96
|
};
|
|
100
97
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visualStudioResourceProviderClient.js","sourceRoot":"","sources":["../../src/visualStudioResourceProviderClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,YAAY,EACZ,cAAc,EACd,YAAY,EACb,MAAM,uBAAuB,CAAC;AAS/B,MAAM,OAAO,kCAAmC,SAAQ,UAAU,CAAC,aAAa;IAK9E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA0D;;QAE1D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAqD;YACjE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,wCAAwC,CAAC;QAChE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EACN,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,GACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAA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cesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n AccountsImpl,\n ExtensionsImpl,\n ProjectsImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n Accounts,\n Extensions,\n Projects\n} from \"./operationsInterfaces/index.js\";\nimport { VisualStudioResourceProviderClientOptionalParams } from \"./models/index.js\";\n\nexport class VisualStudioResourceProviderClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the VisualStudioResourceProviderClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Azure subscription identifier.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: VisualStudioResourceProviderClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: VisualStudioResourceProviderClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-visualstudio/4.0.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2014-04-01-preview\";\n this.operations = new OperationsImpl(this);\n this.accounts = new AccountsImpl(this);\n this.extensions = new ExtensionsImpl(this);\n this.projects = new ProjectsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n accounts: Accounts;\n extensions: Extensions;\n projects: Projects;\n}\n"]}
|
|
@@ -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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.VisualStudioResourceProviderClient = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
tslib_1.__exportStar(require("./models/index.js"), exports);
|
|
13
|
+
var visualStudioResourceProviderClient_js_1 = require("./visualStudioResourceProviderClient.js");
|
|
14
|
+
Object.defineProperty(exports, "VisualStudioResourceProviderClient", { enumerable: true, get: function () { return visualStudioResourceProviderClient_js_1.VisualStudioResourceProviderClient; } });
|
|
15
|
+
tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4DAAkC;AAClC,iGAA6F;AAApF,2JAAA,kCAAkC,OAAA;AAC3C,0EAAgD","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"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
+
export declare class LroImpl<T> implements LongRunningOperation<T> {
|
|
3
|
+
private sendOperationFn;
|
|
4
|
+
private args;
|
|
5
|
+
private spec;
|
|
6
|
+
requestPath: string;
|
|
7
|
+
requestMethod: string;
|
|
8
|
+
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
|
9
|
+
readonly requestBody?: unknown;
|
|
10
|
+
readonly path?: string;
|
|
11
|
+
readonly httpMethod: string;
|
|
12
|
+
} & Record<string, any>, requestPath?: string, requestMethod?: string);
|
|
13
|
+
sendInitialRequest(): Promise<LroResponse<T>>;
|
|
14
|
+
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.LroImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
class LroImpl {
|
|
13
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
14
|
+
this.sendOperationFn = sendOperationFn;
|
|
15
|
+
this.args = args;
|
|
16
|
+
this.spec = spec;
|
|
17
|
+
this.requestPath = requestPath;
|
|
18
|
+
this.requestMethod = requestMethod;
|
|
19
|
+
}
|
|
20
|
+
async sendInitialRequest() {
|
|
21
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
22
|
+
}
|
|
23
|
+
async sendPollRequest(path) {
|
|
24
|
+
const _a = this.spec, { requestBody } = _a, restSpec = tslib_1.__rest(_a, ["requestBody"]);
|
|
25
|
+
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.LroImpl = LroImpl;
|
|
29
|
+
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,MAAa,OAAO;IAClB,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,KAA+B,IAAI,CAAC,IAAI,EAAxC,EAAE,WAAW,OAA2B,EAAtB,QAAQ,sBAA1B,eAA4B,CAAY,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,kCAChC,QAAQ,KACX,IAAI,EACJ,UAAU,EAAE,KAAK,IACjB,CAAC;IACL,CAAC;CACF;AAvBD,0BAuBC","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"]}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
/** Container for a list of operations supported by a resource provider. */
|
|
3
|
+
export interface OperationListResult {
|
|
4
|
+
/** A list of operations supported by a resource provider. */
|
|
5
|
+
value?: Operation[];
|
|
6
|
+
}
|
|
7
|
+
/** Properties of an operation supported by the resource provider. */
|
|
8
|
+
export interface Operation {
|
|
9
|
+
/** The properties of the resource operation. */
|
|
10
|
+
display?: OperationProperties;
|
|
11
|
+
/** The name of the resource operation. */
|
|
12
|
+
name?: string;
|
|
13
|
+
}
|
|
14
|
+
/** Properties of an operation supported by the resource provider. */
|
|
15
|
+
export interface OperationProperties {
|
|
16
|
+
/** The description of the resource operation. */
|
|
17
|
+
description?: string;
|
|
18
|
+
/** The operation name. */
|
|
19
|
+
operation?: string;
|
|
20
|
+
/** The provider name. */
|
|
21
|
+
provider?: string;
|
|
22
|
+
/** The resource name. */
|
|
23
|
+
resource?: string;
|
|
24
|
+
}
|
|
25
|
+
/** The body of a POST request to check name availability. */
|
|
26
|
+
export interface CheckNameAvailabilityParameter {
|
|
27
|
+
/** The name of the resource to check availability for. */
|
|
28
|
+
resourceName?: string;
|
|
29
|
+
/** The type of resource to check availability for. */
|
|
30
|
+
resourceType?: string;
|
|
31
|
+
}
|
|
32
|
+
/** The response to a name availability request. */
|
|
33
|
+
export interface CheckNameAvailabilityResult {
|
|
34
|
+
/** The message describing the detailed reason. */
|
|
35
|
+
message?: string;
|
|
36
|
+
/** The value which indicates whether the provided name is available. */
|
|
37
|
+
nameAvailable?: boolean;
|
|
38
|
+
}
|
|
39
|
+
/** The response to an account resource list GET request. */
|
|
40
|
+
export interface AccountResourceListResult {
|
|
41
|
+
/** Array of resource details. */
|
|
42
|
+
value?: AccountResource[];
|
|
43
|
+
}
|
|
44
|
+
/** A generic Azure Resource Manager resource. */
|
|
45
|
+
export interface Resource {
|
|
46
|
+
/**
|
|
47
|
+
* Unique identifier of the resource.
|
|
48
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
49
|
+
*/
|
|
50
|
+
readonly id?: string;
|
|
51
|
+
/** Resource location. */
|
|
52
|
+
location?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Resource name.
|
|
55
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
56
|
+
*/
|
|
57
|
+
readonly name?: string;
|
|
58
|
+
/** Resource tags. */
|
|
59
|
+
tags?: {
|
|
60
|
+
[propertyName: string]: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Resource type.
|
|
64
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
65
|
+
*/
|
|
66
|
+
readonly type?: string;
|
|
67
|
+
}
|
|
68
|
+
/** The response to an extension resource list GET request. */
|
|
69
|
+
export interface ExtensionResourceListResult {
|
|
70
|
+
/** Array of extension resource details. */
|
|
71
|
+
value?: ExtensionResource[];
|
|
72
|
+
}
|
|
73
|
+
/** Plan data for an extension resource. */
|
|
74
|
+
export interface ExtensionResourcePlan {
|
|
75
|
+
/** Name of the plan. */
|
|
76
|
+
name?: string;
|
|
77
|
+
/** Product name. */
|
|
78
|
+
product?: string;
|
|
79
|
+
/** Optional: the promotion code associated with the plan. */
|
|
80
|
+
promotionCode?: string;
|
|
81
|
+
/** Name of the extension publisher. */
|
|
82
|
+
publisher?: string;
|
|
83
|
+
/** A string that uniquely identifies the plan version. */
|
|
84
|
+
version?: string;
|
|
85
|
+
}
|
|
86
|
+
/** The body of an extension resource PUT request. */
|
|
87
|
+
export interface ExtensionResourceRequest {
|
|
88
|
+
/** The Azure region of the Visual Studio account associated with this request (i.e 'southcentralus'.) */
|
|
89
|
+
location?: string;
|
|
90
|
+
/** Extended information about the plan being purchased for this extension resource. */
|
|
91
|
+
plan?: ExtensionResourcePlan;
|
|
92
|
+
/** A dictionary of extended properties. This property is currently unused. */
|
|
93
|
+
properties?: {
|
|
94
|
+
[propertyName: string]: string;
|
|
95
|
+
};
|
|
96
|
+
/** A dictionary of user-defined tags to be stored with the extension resource. */
|
|
97
|
+
tags?: {
|
|
98
|
+
[propertyName: string]: string;
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
/** The body of a PUT request to modify a Visual Studio account resource. */
|
|
102
|
+
export interface AccountResourceRequest {
|
|
103
|
+
/** The account name. */
|
|
104
|
+
accountName?: string;
|
|
105
|
+
/** The Azure instance location. */
|
|
106
|
+
location?: string;
|
|
107
|
+
/** The type of the operation. */
|
|
108
|
+
operationType?: AccountResourceRequestOperationType;
|
|
109
|
+
/** The custom properties of the resource. */
|
|
110
|
+
properties?: {
|
|
111
|
+
[propertyName: string]: string;
|
|
112
|
+
};
|
|
113
|
+
/** The custom tags of the resource. */
|
|
114
|
+
tags?: {
|
|
115
|
+
[propertyName: string]: string;
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
/** The body of a Patch request to add tags to a Visual Studio account resource. */
|
|
119
|
+
export interface AccountTagRequest {
|
|
120
|
+
/** The custom tags of the resource. */
|
|
121
|
+
tags?: {
|
|
122
|
+
[propertyName: string]: string;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
/** The response to a request to list Team Services project resources in a resource group/account. */
|
|
126
|
+
export interface ProjectResourceListResult {
|
|
127
|
+
/** List of project resource details. */
|
|
128
|
+
value?: ProjectResource[];
|
|
129
|
+
}
|
|
130
|
+
/** The response to an account resource GET request. */
|
|
131
|
+
export interface AccountResource extends Resource {
|
|
132
|
+
/** Resource properties. */
|
|
133
|
+
properties?: {
|
|
134
|
+
[propertyName: string]: string;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
/** The response to an extension resource GET request. */
|
|
138
|
+
export interface ExtensionResource extends Resource {
|
|
139
|
+
/** The extension plan that was purchased. */
|
|
140
|
+
plan?: ExtensionResourcePlan;
|
|
141
|
+
/** Resource properties. */
|
|
142
|
+
properties?: {
|
|
143
|
+
[propertyName: string]: string;
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
/** A Visual Studio Team Services project resource. */
|
|
147
|
+
export interface ProjectResource extends Resource {
|
|
148
|
+
/** Key/value pair of resource properties. */
|
|
149
|
+
properties?: {
|
|
150
|
+
[propertyName: string]: string;
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
/** Defines values for AccountResourceRequestOperationType. */
|
|
154
|
+
export type AccountResourceRequestOperationType = "unknown" | "create" | "update" | "link";
|
|
155
|
+
/** Optional parameters. */
|
|
156
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
157
|
+
}
|
|
158
|
+
/** Contains response data for the list operation. */
|
|
159
|
+
export type OperationsListResponse = OperationListResult;
|
|
160
|
+
/** Optional parameters. */
|
|
161
|
+
export interface AccountsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
162
|
+
}
|
|
163
|
+
/** Contains response data for the checkNameAvailability operation. */
|
|
164
|
+
export type AccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
|
|
165
|
+
/** Optional parameters. */
|
|
166
|
+
export interface AccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
167
|
+
}
|
|
168
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
169
|
+
export type AccountsListByResourceGroupResponse = AccountResourceListResult;
|
|
170
|
+
/** Optional parameters. */
|
|
171
|
+
export interface AccountsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
172
|
+
}
|
|
173
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
174
|
+
export type AccountsCreateOrUpdateResponse = AccountResource;
|
|
175
|
+
/** Optional parameters. */
|
|
176
|
+
export interface AccountsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
177
|
+
}
|
|
178
|
+
/** Optional parameters. */
|
|
179
|
+
export interface AccountsGetOptionalParams extends coreClient.OperationOptions {
|
|
180
|
+
}
|
|
181
|
+
/** Contains response data for the get operation. */
|
|
182
|
+
export type AccountsGetResponse = AccountResource;
|
|
183
|
+
/** Optional parameters. */
|
|
184
|
+
export interface AccountsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
185
|
+
}
|
|
186
|
+
/** Contains response data for the update operation. */
|
|
187
|
+
export type AccountsUpdateResponse = AccountResource;
|
|
188
|
+
/** Optional parameters. */
|
|
189
|
+
export interface ExtensionsListByAccountOptionalParams extends coreClient.OperationOptions {
|
|
190
|
+
}
|
|
191
|
+
/** Contains response data for the listByAccount operation. */
|
|
192
|
+
export type ExtensionsListByAccountResponse = ExtensionResourceListResult;
|
|
193
|
+
/** Optional parameters. */
|
|
194
|
+
export interface ExtensionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
195
|
+
}
|
|
196
|
+
/** Contains response data for the create operation. */
|
|
197
|
+
export type ExtensionsCreateResponse = ExtensionResource;
|
|
198
|
+
/** Optional parameters. */
|
|
199
|
+
export interface ExtensionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
200
|
+
}
|
|
201
|
+
/** Optional parameters. */
|
|
202
|
+
export interface ExtensionsGetOptionalParams extends coreClient.OperationOptions {
|
|
203
|
+
}
|
|
204
|
+
/** Contains response data for the get operation. */
|
|
205
|
+
export type ExtensionsGetResponse = ExtensionResource;
|
|
206
|
+
/** Optional parameters. */
|
|
207
|
+
export interface ExtensionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
208
|
+
}
|
|
209
|
+
/** Contains response data for the update operation. */
|
|
210
|
+
export type ExtensionsUpdateResponse = ExtensionResource;
|
|
211
|
+
/** Optional parameters. */
|
|
212
|
+
export interface ProjectsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
213
|
+
}
|
|
214
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
215
|
+
export type ProjectsListByResourceGroupResponse = ProjectResourceListResult;
|
|
216
|
+
/** Optional parameters. */
|
|
217
|
+
export interface ProjectsCreateOptionalParams extends coreClient.OperationOptions {
|
|
218
|
+
/** This parameter is ignored and should be set to an empty string. */
|
|
219
|
+
validating?: string;
|
|
220
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
221
|
+
updateIntervalInMs?: number;
|
|
222
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
223
|
+
resumeFrom?: string;
|
|
224
|
+
}
|
|
225
|
+
/** Contains response data for the create operation. */
|
|
226
|
+
export type ProjectsCreateResponse = ProjectResource;
|
|
227
|
+
/** Optional parameters. */
|
|
228
|
+
export interface ProjectsGetOptionalParams extends coreClient.OperationOptions {
|
|
229
|
+
}
|
|
230
|
+
/** Contains response data for the get operation. */
|
|
231
|
+
export type ProjectsGetResponse = ProjectResource;
|
|
232
|
+
/** Optional parameters. */
|
|
233
|
+
export interface ProjectsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
234
|
+
}
|
|
235
|
+
/** Contains response data for the update operation. */
|
|
236
|
+
export type ProjectsUpdateResponse = ProjectResource;
|
|
237
|
+
/** Optional parameters. */
|
|
238
|
+
export interface ProjectsGetJobStatusOptionalParams extends coreClient.OperationOptions {
|
|
239
|
+
/** The job identifier. */
|
|
240
|
+
jobId?: string;
|
|
241
|
+
}
|
|
242
|
+
/** Contains response data for the getJobStatus operation. */
|
|
243
|
+
export type ProjectsGetJobStatusResponse = ProjectResource;
|
|
244
|
+
/** Optional parameters. */
|
|
245
|
+
export interface VisualStudioResourceProviderClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
246
|
+
/** server parameter */
|
|
247
|
+
$host?: string;
|
|
248
|
+
/** Api Version */
|
|
249
|
+
apiVersion?: string;
|
|
250
|
+
/** Overrides client endpoint. */
|
|
251
|
+
endpoint?: string;
|
|
252
|
+
}
|
|
253
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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;IAC7C,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,mDAAmD;AACnD,MAAM,WAAW,2BAA2B;IAC1C,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,iCAAiC;IACjC,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;CAC3B;AAED,iDAAiD;AACjD,MAAM,WAAW,QAAQ;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,C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AAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -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"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
export declare const OperationListResult: coreClient.CompositeMapper;
|
|
3
|
+
export declare const Operation: coreClient.CompositeMapper;
|
|
4
|
+
export declare const OperationProperties: coreClient.CompositeMapper;
|
|
5
|
+
export declare const CheckNameAvailabilityParameter: coreClient.CompositeMapper;
|
|
6
|
+
export declare const CheckNameAvailabilityResult: coreClient.CompositeMapper;
|
|
7
|
+
export declare const AccountResourceListResult: coreClient.CompositeMapper;
|
|
8
|
+
export declare const Resource: coreClient.CompositeMapper;
|
|
9
|
+
export declare const ExtensionResourceListResult: coreClient.CompositeMapper;
|
|
10
|
+
export declare const ExtensionResourcePlan: coreClient.CompositeMapper;
|
|
11
|
+
export declare const ExtensionResourceRequest: coreClient.CompositeMapper;
|
|
12
|
+
export declare const AccountResourceRequest: coreClient.CompositeMapper;
|
|
13
|
+
export declare const AccountTagRequest: coreClient.CompositeMapper;
|
|
14
|
+
export declare const ProjectResourceListResult: coreClient.CompositeMapper;
|
|
15
|
+
export declare const AccountResource: coreClient.CompositeMapper;
|
|
16
|
+
export declare const ExtensionResource: coreClient.CompositeMapper;
|
|
17
|
+
export declare const ProjectResource: coreClient.CompositeMapper;
|
|
18
|
+
//# sourceMappingURL=mappers.d.ts.map
|