@azure/arm-securitydevops 1.0.0-beta.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/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +4908 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorCreateOrUpdateSample.js +43 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorDeleteSample.js +31 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorGetSample.js +31 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorStatsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorStatsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorStatsGetSample.js +31 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorStatsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorUpdateSample.js +38 -0
- package/dist-esm/samples-dev/azureDevOpsConnectorUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsOrgCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgCreateOrUpdateSample.js +35 -0
- package/dist-esm/samples-dev/azureDevOpsOrgCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsOrgGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgGetSample.js +32 -0
- package/dist-esm/samples-dev/azureDevOpsOrgGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgListSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsOrgListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgListSample.js +45 -0
- package/dist-esm/samples-dev/azureDevOpsOrgListSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsOrgUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsOrgUpdateSample.js +36 -0
- package/dist-esm/samples-dev/azureDevOpsOrgUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsProjectCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectCreateOrUpdateSample.js +36 -0
- package/dist-esm/samples-dev/azureDevOpsProjectCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsProjectGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectGetSample.js +33 -0
- package/dist-esm/samples-dev/azureDevOpsProjectGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectListSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsProjectListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectListSample.js +46 -0
- package/dist-esm/samples-dev/azureDevOpsProjectListSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsProjectUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsProjectUpdateSample.js +39 -0
- package/dist-esm/samples-dev/azureDevOpsProjectUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsRepoCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsRepoCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsRepoCreateOrUpdateSample.js +46 -0
- package/dist-esm/samples-dev/azureDevOpsRepoCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsRepoGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsRepoGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsRepoGetSample.js +34 -0
- package/dist-esm/samples-dev/azureDevOpsRepoGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsRepoListByConnectorSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsRepoListByConnectorSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsRepoListByConnectorSample.js +45 -0
- package/dist-esm/samples-dev/azureDevOpsRepoListByConnectorSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsRepoListSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsRepoListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsRepoListSample.js +47 -0
- package/dist-esm/samples-dev/azureDevOpsRepoListSample.js.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsRepoUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureDevOpsRepoUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureDevOpsRepoUpdateSample.js +36 -0
- package/dist-esm/samples-dev/azureDevOpsRepoUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubConnectorCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorCreateOrUpdateSample.js +35 -0
- package/dist-esm/samples-dev/gitHubConnectorCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubConnectorDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorDeleteSample.js +31 -0
- package/dist-esm/samples-dev/gitHubConnectorDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubConnectorGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorGetSample.js +31 -0
- package/dist-esm/samples-dev/gitHubConnectorGetSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubConnectorListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/gitHubConnectorListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubConnectorListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/gitHubConnectorListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorStatsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubConnectorStatsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorStatsGetSample.js +31 -0
- package/dist-esm/samples-dev/gitHubConnectorStatsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubConnectorUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubConnectorUpdateSample.js +36 -0
- package/dist-esm/samples-dev/gitHubConnectorUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnerCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubOwnerCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnerCreateOrUpdateSample.js +33 -0
- package/dist-esm/samples-dev/gitHubOwnerCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnerGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubOwnerGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnerGetSample.js +32 -0
- package/dist-esm/samples-dev/gitHubOwnerGetSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnerListSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubOwnerListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnerListSample.js +45 -0
- package/dist-esm/samples-dev/gitHubOwnerListSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnerUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubOwnerUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubOwnerUpdateSample.js +34 -0
- package/dist-esm/samples-dev/gitHubOwnerUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubRepoCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubRepoCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubRepoCreateOrUpdateSample.js +34 -0
- package/dist-esm/samples-dev/gitHubRepoCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubRepoGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubRepoGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubRepoGetSample.js +33 -0
- package/dist-esm/samples-dev/gitHubRepoGetSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubRepoListByConnectorSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubRepoListByConnectorSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubRepoListByConnectorSample.js +45 -0
- package/dist-esm/samples-dev/gitHubRepoListByConnectorSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubRepoListSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubRepoListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubRepoListSample.js +46 -0
- package/dist-esm/samples-dev/gitHubRepoListSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubRepoUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubRepoUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubRepoUpdateSample.js +35 -0
- package/dist-esm/samples-dev/gitHubRepoUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/microsoftSecurityDevOps.d.ts +29 -0
- package/dist-esm/src/microsoftSecurityDevOps.d.ts.map +1 -0
- package/dist-esm/src/microsoftSecurityDevOps.js +112 -0
- package/dist-esm/src/microsoftSecurityDevOps.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +833 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +80 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +45 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1102 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +30 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +217 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/azureDevOpsConnectorOperations.d.ts +103 -0
- package/dist-esm/src/operations/azureDevOpsConnectorOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/azureDevOpsConnectorOperations.js +508 -0
- package/dist-esm/src/operations/azureDevOpsConnectorOperations.js.map +1 -0
- package/dist-esm/src/operations/azureDevOpsConnectorStatsOperations.d.ts +20 -0
- package/dist-esm/src/operations/azureDevOpsConnectorStatsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/azureDevOpsConnectorStatsOperations.js +53 -0
- package/dist-esm/src/operations/azureDevOpsConnectorStatsOperations.js.map +1 -0
- package/dist-esm/src/operations/azureDevOpsOrgOperations.d.ts +79 -0
- package/dist-esm/src/operations/azureDevOpsOrgOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/azureDevOpsOrgOperations.js +360 -0
- package/dist-esm/src/operations/azureDevOpsOrgOperations.js.map +1 -0
- package/dist-esm/src/operations/azureDevOpsProjectOperations.d.ts +87 -0
- package/dist-esm/src/operations/azureDevOpsProjectOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/azureDevOpsProjectOperations.js +387 -0
- package/dist-esm/src/operations/azureDevOpsProjectOperations.js.map +1 -0
- package/dist-esm/src/operations/azureDevOpsRepoOperations.d.ts +117 -0
- package/dist-esm/src/operations/azureDevOpsRepoOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/azureDevOpsRepoOperations.js +515 -0
- package/dist-esm/src/operations/azureDevOpsRepoOperations.js.map +1 -0
- package/dist-esm/src/operations/gitHubConnectorOperations.d.ts +103 -0
- package/dist-esm/src/operations/gitHubConnectorOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/gitHubConnectorOperations.js +503 -0
- package/dist-esm/src/operations/gitHubConnectorOperations.js.map +1 -0
- package/dist-esm/src/operations/gitHubConnectorStatsOperations.d.ts +20 -0
- package/dist-esm/src/operations/gitHubConnectorStatsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/gitHubConnectorStatsOperations.js +53 -0
- package/dist-esm/src/operations/gitHubConnectorStatsOperations.js.map +1 -0
- package/dist-esm/src/operations/gitHubOwnerOperations.d.ts +81 -0
- package/dist-esm/src/operations/gitHubOwnerOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/gitHubOwnerOperations.js +352 -0
- package/dist-esm/src/operations/gitHubOwnerOperations.js.map +1 -0
- package/dist-esm/src/operations/gitHubRepoOperations.d.ts +113 -0
- package/dist-esm/src/operations/gitHubRepoOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/gitHubRepoOperations.js +496 -0
- package/dist-esm/src/operations/gitHubRepoOperations.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +11 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +18 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsConnectorOperations.d.ts +68 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsConnectorOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsConnectorOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsConnectorOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsConnectorStatsOperations.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsConnectorStatsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsConnectorStatsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsConnectorStatsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsOrgOperations.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsOrgOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsOrgOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsOrgOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsProjectOperations.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsProjectOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsProjectOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsProjectOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsRepoOperations.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsRepoOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsRepoOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/azureDevOpsRepoOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubConnectorOperations.d.ts +68 -0
- package/dist-esm/src/operationsInterfaces/gitHubConnectorOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubConnectorOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/gitHubConnectorOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubConnectorStatsOperations.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/gitHubConnectorStatsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubConnectorStatsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/gitHubConnectorStatsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubOwnerOperations.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/gitHubOwnerOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubOwnerOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/gitHubOwnerOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubRepoOperations.d.ts +69 -0
- package/dist-esm/src/operationsInterfaces/gitHubRepoOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gitHubRepoOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/gitHubRepoOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +18 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +38 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/dist-esm/test/securitydevops_examples.spec.d.ts +4 -0
- package/dist-esm/test/securitydevops_examples.spec.d.ts.map +1 -0
- package/dist-esm/test/securitydevops_examples.spec.js +117 -0
- package/dist-esm/test/securitydevops_examples.spec.js.map +1 -0
- package/package.json +121 -0
- package/review/arm-securitydevops.api.md +901 -0
- package/rollup.config.js +122 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/microsoftSecurityDevOps.ts +189 -0
- package/src/models/index.ts +1008 -0
- package/src/models/mappers.ts +1179 -0
- package/src/models/parameters.ts +258 -0
- package/src/operations/azureDevOpsConnectorOperations.ts +679 -0
- package/src/operations/azureDevOpsConnectorStatsOperations.ts +73 -0
- package/src/operations/azureDevOpsOrgOperations.ts +511 -0
- package/src/operations/azureDevOpsProjectOperations.ts +556 -0
- package/src/operations/azureDevOpsRepoOperations.ts +744 -0
- package/src/operations/gitHubConnectorOperations.ts +674 -0
- package/src/operations/gitHubConnectorStatsOperations.ts +73 -0
- package/src/operations/gitHubOwnerOperations.ts +503 -0
- package/src/operations/gitHubRepoOperations.ts +707 -0
- package/src/operations/index.ts +18 -0
- package/src/operations/operations.ts +137 -0
- package/src/operationsInterfaces/azureDevOpsConnectorOperations.ts +133 -0
- package/src/operationsInterfaces/azureDevOpsConnectorStatsOperations.ts +27 -0
- package/src/operationsInterfaces/azureDevOpsOrgOperations.ts +114 -0
- package/src/operationsInterfaces/azureDevOpsProjectOperations.ts +126 -0
- package/src/operationsInterfaces/azureDevOpsRepoOperations.ts +149 -0
- package/src/operationsInterfaces/gitHubConnectorOperations.ts +133 -0
- package/src/operationsInterfaces/gitHubConnectorStatsOperations.ts +27 -0
- package/src/operationsInterfaces/gitHubOwnerOperations.ts +115 -0
- package/src/operationsInterfaces/gitHubRepoOperations.ts +139 -0
- package/src/operationsInterfaces/index.ts +18 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/tsconfig.json +33 -0
- package/types/arm-securitydevops.d.ts +1477 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,1477 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
import { PollerLike } from '@azure/core-lro';
|
|
5
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
export declare interface ActionableRemediation {
|
|
8
|
+
state?: ActionableRemediationState;
|
|
9
|
+
severityLevels?: string[];
|
|
10
|
+
categories?: RuleCategory[];
|
|
11
|
+
/** Branch onboarding info. */
|
|
12
|
+
branchConfiguration?: TargetBranchConfiguration;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Defines values for ActionableRemediationState. \
|
|
17
|
+
* {@link KnownActionableRemediationState} can be used interchangeably with ActionableRemediationState,
|
|
18
|
+
* this enum contains the known values that the service supports.
|
|
19
|
+
* ### Known values supported by the service
|
|
20
|
+
* **None** \
|
|
21
|
+
* **Disabled** \
|
|
22
|
+
* **Enabled**
|
|
23
|
+
*/
|
|
24
|
+
export declare type ActionableRemediationState = string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Defines values for ActionType. \
|
|
28
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
29
|
+
* this enum contains the known values that the service supports.
|
|
30
|
+
* ### Known values supported by the service
|
|
31
|
+
* **Internal**
|
|
32
|
+
*/
|
|
33
|
+
export declare type ActionType = string;
|
|
34
|
+
|
|
35
|
+
export declare interface AuthorizationInfo {
|
|
36
|
+
/** Gets or sets one-time OAuth code to exchange for refresh and access tokens. */
|
|
37
|
+
code?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Defines values for AutoDiscovery. \
|
|
42
|
+
* {@link KnownAutoDiscovery} can be used interchangeably with AutoDiscovery,
|
|
43
|
+
* this enum contains the known values that the service supports.
|
|
44
|
+
* ### Known values supported by the service
|
|
45
|
+
* **Disabled** \
|
|
46
|
+
* **Enabled**
|
|
47
|
+
*/
|
|
48
|
+
export declare type AutoDiscovery = string;
|
|
49
|
+
|
|
50
|
+
export declare interface AzureDevOpsConnector extends TrackedResource {
|
|
51
|
+
properties?: AzureDevOpsConnectorProperties;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** Optional parameters. */
|
|
55
|
+
export declare interface AzureDevOpsConnectorCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
56
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
57
|
+
updateIntervalInMs?: number;
|
|
58
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
59
|
+
resumeFrom?: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
63
|
+
export declare type AzureDevOpsConnectorCreateOrUpdateResponse = AzureDevOpsConnector;
|
|
64
|
+
|
|
65
|
+
/** Optional parameters. */
|
|
66
|
+
export declare interface AzureDevOpsConnectorDeleteOptionalParams extends coreClient.OperationOptions {
|
|
67
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
68
|
+
updateIntervalInMs?: number;
|
|
69
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
70
|
+
resumeFrom?: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/** Optional parameters. */
|
|
74
|
+
export declare interface AzureDevOpsConnectorGetOptionalParams extends coreClient.OperationOptions {
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** Contains response data for the get operation. */
|
|
78
|
+
export declare type AzureDevOpsConnectorGetResponse = AzureDevOpsConnector;
|
|
79
|
+
|
|
80
|
+
/** Optional parameters. */
|
|
81
|
+
export declare interface AzureDevOpsConnectorListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
85
|
+
export declare type AzureDevOpsConnectorListByResourceGroupNextResponse = AzureDevOpsConnectorListResponse;
|
|
86
|
+
|
|
87
|
+
/** Optional parameters. */
|
|
88
|
+
export declare interface AzureDevOpsConnectorListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
92
|
+
export declare type AzureDevOpsConnectorListByResourceGroupResponse = AzureDevOpsConnectorListResponse;
|
|
93
|
+
|
|
94
|
+
/** Optional parameters. */
|
|
95
|
+
export declare interface AzureDevOpsConnectorListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
99
|
+
export declare type AzureDevOpsConnectorListBySubscriptionNextResponse = AzureDevOpsConnectorListResponse;
|
|
100
|
+
|
|
101
|
+
/** Optional parameters. */
|
|
102
|
+
export declare interface AzureDevOpsConnectorListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/** Contains response data for the listBySubscription operation. */
|
|
106
|
+
export declare type AzureDevOpsConnectorListBySubscriptionResponse = AzureDevOpsConnectorListResponse;
|
|
107
|
+
|
|
108
|
+
export declare interface AzureDevOpsConnectorListResponse {
|
|
109
|
+
/** Gets or sets list of resources. */
|
|
110
|
+
value?: AzureDevOpsConnector[];
|
|
111
|
+
/** Gets or sets next link to scroll over the results. */
|
|
112
|
+
nextLink?: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/** Interface representing a AzureDevOpsConnectorOperations. */
|
|
116
|
+
export declare interface AzureDevOpsConnectorOperations {
|
|
117
|
+
/**
|
|
118
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
119
|
+
* @param options The options parameters.
|
|
120
|
+
*/
|
|
121
|
+
listByResourceGroup(resourceGroupName: string, options?: AzureDevOpsConnectorListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureDevOpsConnector>;
|
|
122
|
+
/**
|
|
123
|
+
* Returns a list of monitored AzureDevOps Connectors.
|
|
124
|
+
* @param options The options parameters.
|
|
125
|
+
*/
|
|
126
|
+
listBySubscription(options?: AzureDevOpsConnectorListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureDevOpsConnector>;
|
|
127
|
+
/**
|
|
128
|
+
* Returns a monitored AzureDevOps Connector resource for a given ID.
|
|
129
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
130
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
131
|
+
* @param options The options parameters.
|
|
132
|
+
*/
|
|
133
|
+
get(resourceGroupName: string, azureDevOpsConnectorName: string, options?: AzureDevOpsConnectorGetOptionalParams): Promise<AzureDevOpsConnectorGetResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* Creates or updates an Azure DevOps Connector.
|
|
136
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
137
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
138
|
+
* @param azureDevOpsConnector Connector resource payload.
|
|
139
|
+
* @param options The options parameters.
|
|
140
|
+
*/
|
|
141
|
+
beginCreateOrUpdate(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsConnector: AzureDevOpsConnector, options?: AzureDevOpsConnectorCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureDevOpsConnectorCreateOrUpdateResponse>, AzureDevOpsConnectorCreateOrUpdateResponse>>;
|
|
142
|
+
/**
|
|
143
|
+
* Creates or updates an Azure DevOps Connector.
|
|
144
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
145
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
146
|
+
* @param azureDevOpsConnector Connector resource payload.
|
|
147
|
+
* @param options The options parameters.
|
|
148
|
+
*/
|
|
149
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsConnector: AzureDevOpsConnector, options?: AzureDevOpsConnectorCreateOrUpdateOptionalParams): Promise<AzureDevOpsConnectorCreateOrUpdateResponse>;
|
|
150
|
+
/**
|
|
151
|
+
* Update monitored AzureDevOps Connector details.
|
|
152
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
153
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
154
|
+
* @param options The options parameters.
|
|
155
|
+
*/
|
|
156
|
+
beginUpdate(resourceGroupName: string, azureDevOpsConnectorName: string, options?: AzureDevOpsConnectorUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureDevOpsConnectorUpdateResponse>, AzureDevOpsConnectorUpdateResponse>>;
|
|
157
|
+
/**
|
|
158
|
+
* Update monitored AzureDevOps Connector details.
|
|
159
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
160
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
161
|
+
* @param options The options parameters.
|
|
162
|
+
*/
|
|
163
|
+
beginUpdateAndWait(resourceGroupName: string, azureDevOpsConnectorName: string, options?: AzureDevOpsConnectorUpdateOptionalParams): Promise<AzureDevOpsConnectorUpdateResponse>;
|
|
164
|
+
/**
|
|
165
|
+
* Delete monitored AzureDevOps Connector details.
|
|
166
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
167
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
168
|
+
* @param options The options parameters.
|
|
169
|
+
*/
|
|
170
|
+
beginDelete(resourceGroupName: string, azureDevOpsConnectorName: string, options?: AzureDevOpsConnectorDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
171
|
+
/**
|
|
172
|
+
* Delete monitored AzureDevOps Connector details.
|
|
173
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
174
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
175
|
+
* @param options The options parameters.
|
|
176
|
+
*/
|
|
177
|
+
beginDeleteAndWait(resourceGroupName: string, azureDevOpsConnectorName: string, options?: AzureDevOpsConnectorDeleteOptionalParams): Promise<void>;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export declare interface AzureDevOpsConnectorProperties {
|
|
181
|
+
provisioningState?: ProvisioningState;
|
|
182
|
+
authorization?: AuthorizationInfo;
|
|
183
|
+
/** Gets or sets org onboarding information. */
|
|
184
|
+
orgs?: AzureDevOpsOrgMetadata[];
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export declare interface AzureDevOpsConnectorStats extends ProxyResource {
|
|
188
|
+
properties?: AzureDevOpsConnectorStatsProperties;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/** Optional parameters. */
|
|
192
|
+
export declare interface AzureDevOpsConnectorStatsGetOptionalParams extends coreClient.OperationOptions {
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/** Contains response data for the get operation. */
|
|
196
|
+
export declare type AzureDevOpsConnectorStatsGetResponse = AzureDevOpsConnectorStatsListResponse;
|
|
197
|
+
|
|
198
|
+
export declare interface AzureDevOpsConnectorStatsListResponse {
|
|
199
|
+
/** Gets or sets list of resources. */
|
|
200
|
+
value?: AzureDevOpsConnectorStats[];
|
|
201
|
+
/** Gets or sets next link to scroll over the results. */
|
|
202
|
+
nextLink?: string;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/** Interface representing a AzureDevOpsConnectorStatsOperations. */
|
|
206
|
+
export declare interface AzureDevOpsConnectorStatsOperations {
|
|
207
|
+
/**
|
|
208
|
+
* Returns the summary of the AzureDevOps Connector Stats.
|
|
209
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
210
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
211
|
+
* @param options The options parameters.
|
|
212
|
+
*/
|
|
213
|
+
get(resourceGroupName: string, azureDevOpsConnectorName: string, options?: AzureDevOpsConnectorStatsGetOptionalParams): Promise<AzureDevOpsConnectorStatsGetResponse>;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export declare interface AzureDevOpsConnectorStatsProperties {
|
|
217
|
+
provisioningState?: ProvisioningState;
|
|
218
|
+
/** Gets or sets orgs count. */
|
|
219
|
+
orgsCount?: number;
|
|
220
|
+
/** Gets or sets projects count. */
|
|
221
|
+
projectsCount?: number;
|
|
222
|
+
/** Gets or sets repos count. */
|
|
223
|
+
reposCount?: number;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/** Optional parameters. */
|
|
227
|
+
export declare interface AzureDevOpsConnectorUpdateOptionalParams extends coreClient.OperationOptions {
|
|
228
|
+
/** Connector resource payload. */
|
|
229
|
+
azureDevOpsConnector?: AzureDevOpsConnector;
|
|
230
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
231
|
+
updateIntervalInMs?: number;
|
|
232
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
233
|
+
resumeFrom?: string;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** Contains response data for the update operation. */
|
|
237
|
+
export declare type AzureDevOpsConnectorUpdateResponse = AzureDevOpsConnector;
|
|
238
|
+
|
|
239
|
+
/** Azure DevOps Org Proxy Resource. */
|
|
240
|
+
export declare interface AzureDevOpsOrg extends ProxyResource {
|
|
241
|
+
/** AzureDevOps Org properties. */
|
|
242
|
+
properties?: AzureDevOpsOrgProperties;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/** Optional parameters. */
|
|
246
|
+
export declare interface AzureDevOpsOrgCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
247
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
248
|
+
updateIntervalInMs?: number;
|
|
249
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
250
|
+
resumeFrom?: string;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
254
|
+
export declare type AzureDevOpsOrgCreateOrUpdateResponse = AzureDevOpsOrg;
|
|
255
|
+
|
|
256
|
+
/** Optional parameters. */
|
|
257
|
+
export declare interface AzureDevOpsOrgGetOptionalParams extends coreClient.OperationOptions {
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/** Contains response data for the get operation. */
|
|
261
|
+
export declare type AzureDevOpsOrgGetResponse = AzureDevOpsOrg;
|
|
262
|
+
|
|
263
|
+
/** Optional parameters. */
|
|
264
|
+
export declare interface AzureDevOpsOrgListNextOptionalParams extends coreClient.OperationOptions {
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/** Contains response data for the listNext operation. */
|
|
268
|
+
export declare type AzureDevOpsOrgListNextResponse = AzureDevOpsOrgListResponse;
|
|
269
|
+
|
|
270
|
+
/** Contains response data for the list operation. */
|
|
271
|
+
export declare type AzureDevOpsOrgListOperationResponse = AzureDevOpsOrgListResponse;
|
|
272
|
+
|
|
273
|
+
/** Optional parameters. */
|
|
274
|
+
export declare interface AzureDevOpsOrgListOptionalParams extends coreClient.OperationOptions {
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export declare interface AzureDevOpsOrgListResponse {
|
|
278
|
+
/** Gets or sets list of resources. */
|
|
279
|
+
value?: AzureDevOpsOrg[];
|
|
280
|
+
/** Gets or sets next link to scroll over the results. */
|
|
281
|
+
nextLink?: string;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** Org onboarding info. */
|
|
285
|
+
export declare interface AzureDevOpsOrgMetadata {
|
|
286
|
+
/** Gets or sets name of the AzureDevOps Org. */
|
|
287
|
+
name?: string;
|
|
288
|
+
autoDiscovery?: AutoDiscovery;
|
|
289
|
+
projects?: AzureDevOpsProjectMetadata[];
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/** Interface representing a AzureDevOpsOrgOperations. */
|
|
293
|
+
export declare interface AzureDevOpsOrgOperations {
|
|
294
|
+
/**
|
|
295
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
296
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
297
|
+
* @param options The options parameters.
|
|
298
|
+
*/
|
|
299
|
+
list(resourceGroupName: string, azureDevOpsConnectorName: string, options?: AzureDevOpsOrgListOptionalParams): PagedAsyncIterableIterator<AzureDevOpsOrg>;
|
|
300
|
+
/**
|
|
301
|
+
* Returns a monitored AzureDevOps Org resource for a given ID.
|
|
302
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
303
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
304
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
305
|
+
* @param options The options parameters.
|
|
306
|
+
*/
|
|
307
|
+
get(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, options?: AzureDevOpsOrgGetOptionalParams): Promise<AzureDevOpsOrgGetResponse>;
|
|
308
|
+
/**
|
|
309
|
+
* Creates or updates an Azure DevOps Org.
|
|
310
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
311
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
312
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
313
|
+
* @param azureDevOpsOrg Azure DevOps Org resource payload.
|
|
314
|
+
* @param options The options parameters.
|
|
315
|
+
*/
|
|
316
|
+
beginCreateOrUpdate(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsOrg: AzureDevOpsOrg, options?: AzureDevOpsOrgCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureDevOpsOrgCreateOrUpdateResponse>, AzureDevOpsOrgCreateOrUpdateResponse>>;
|
|
317
|
+
/**
|
|
318
|
+
* Creates or updates an Azure DevOps Org.
|
|
319
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
320
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
321
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
322
|
+
* @param azureDevOpsOrg Azure DevOps Org resource payload.
|
|
323
|
+
* @param options The options parameters.
|
|
324
|
+
*/
|
|
325
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsOrg: AzureDevOpsOrg, options?: AzureDevOpsOrgCreateOrUpdateOptionalParams): Promise<AzureDevOpsOrgCreateOrUpdateResponse>;
|
|
326
|
+
/**
|
|
327
|
+
* Update monitored AzureDevOps Org details.
|
|
328
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
329
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
330
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
331
|
+
* @param options The options parameters.
|
|
332
|
+
*/
|
|
333
|
+
beginUpdate(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, options?: AzureDevOpsOrgUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureDevOpsOrgUpdateResponse>, AzureDevOpsOrgUpdateResponse>>;
|
|
334
|
+
/**
|
|
335
|
+
* Update monitored AzureDevOps Org details.
|
|
336
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
337
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
338
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
339
|
+
* @param options The options parameters.
|
|
340
|
+
*/
|
|
341
|
+
beginUpdateAndWait(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, options?: AzureDevOpsOrgUpdateOptionalParams): Promise<AzureDevOpsOrgUpdateResponse>;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/** AzureDevOps Org properties. */
|
|
345
|
+
export declare interface AzureDevOpsOrgProperties {
|
|
346
|
+
provisioningState?: ProvisioningState;
|
|
347
|
+
autoDiscovery?: AutoDiscovery;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/** Optional parameters. */
|
|
351
|
+
export declare interface AzureDevOpsOrgUpdateOptionalParams extends coreClient.OperationOptions {
|
|
352
|
+
/** Azure DevOps Org resource payload. */
|
|
353
|
+
azureDevOpsOrg?: AzureDevOpsOrg;
|
|
354
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
355
|
+
updateIntervalInMs?: number;
|
|
356
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
357
|
+
resumeFrom?: string;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** Contains response data for the update operation. */
|
|
361
|
+
export declare type AzureDevOpsOrgUpdateResponse = AzureDevOpsOrg;
|
|
362
|
+
|
|
363
|
+
/** Azure DevOps Project Proxy Resource. */
|
|
364
|
+
export declare interface AzureDevOpsProject extends ProxyResource {
|
|
365
|
+
/** AzureDevOps Project properties. */
|
|
366
|
+
properties?: AzureDevOpsProjectProperties;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/** Optional parameters. */
|
|
370
|
+
export declare interface AzureDevOpsProjectCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
371
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
372
|
+
updateIntervalInMs?: number;
|
|
373
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
374
|
+
resumeFrom?: string;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
378
|
+
export declare type AzureDevOpsProjectCreateOrUpdateResponse = AzureDevOpsProject;
|
|
379
|
+
|
|
380
|
+
/** Optional parameters. */
|
|
381
|
+
export declare interface AzureDevOpsProjectGetOptionalParams extends coreClient.OperationOptions {
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/** Contains response data for the get operation. */
|
|
385
|
+
export declare type AzureDevOpsProjectGetResponse = AzureDevOpsProject;
|
|
386
|
+
|
|
387
|
+
/** Optional parameters. */
|
|
388
|
+
export declare interface AzureDevOpsProjectListNextOptionalParams extends coreClient.OperationOptions {
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
/** Contains response data for the listNext operation. */
|
|
392
|
+
export declare type AzureDevOpsProjectListNextResponse = AzureDevOpsProjectListResponse;
|
|
393
|
+
|
|
394
|
+
/** Contains response data for the list operation. */
|
|
395
|
+
export declare type AzureDevOpsProjectListOperationResponse = AzureDevOpsProjectListResponse;
|
|
396
|
+
|
|
397
|
+
/** Optional parameters. */
|
|
398
|
+
export declare interface AzureDevOpsProjectListOptionalParams extends coreClient.OperationOptions {
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export declare interface AzureDevOpsProjectListResponse {
|
|
402
|
+
/** Gets or sets list of resources. */
|
|
403
|
+
value?: AzureDevOpsProject[];
|
|
404
|
+
/** Gets or sets next link to scroll over the results. */
|
|
405
|
+
nextLink?: string;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/** Project onboarding info. */
|
|
409
|
+
export declare interface AzureDevOpsProjectMetadata {
|
|
410
|
+
/** Gets or sets name of the AzureDevOps Project. */
|
|
411
|
+
name?: string;
|
|
412
|
+
autoDiscovery?: AutoDiscovery;
|
|
413
|
+
/** Gets or sets repositories. */
|
|
414
|
+
repos?: string[];
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/** Interface representing a AzureDevOpsProjectOperations. */
|
|
418
|
+
export declare interface AzureDevOpsProjectOperations {
|
|
419
|
+
/**
|
|
420
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
421
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
422
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
423
|
+
* @param options The options parameters.
|
|
424
|
+
*/
|
|
425
|
+
list(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, options?: AzureDevOpsProjectListOptionalParams): PagedAsyncIterableIterator<AzureDevOpsProject>;
|
|
426
|
+
/**
|
|
427
|
+
* Returns a monitored AzureDevOps Project resource for a given ID.
|
|
428
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
429
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
430
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
431
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
432
|
+
* @param options The options parameters.
|
|
433
|
+
*/
|
|
434
|
+
get(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, options?: AzureDevOpsProjectGetOptionalParams): Promise<AzureDevOpsProjectGetResponse>;
|
|
435
|
+
/**
|
|
436
|
+
* Creates or updates an Azure DevOps Project.
|
|
437
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
438
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
439
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
440
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
441
|
+
* @param azureDevOpsProject Azure DevOps Org resource payload.
|
|
442
|
+
* @param options The options parameters.
|
|
443
|
+
*/
|
|
444
|
+
beginCreateOrUpdate(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, azureDevOpsProject: AzureDevOpsProject, options?: AzureDevOpsProjectCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureDevOpsProjectCreateOrUpdateResponse>, AzureDevOpsProjectCreateOrUpdateResponse>>;
|
|
445
|
+
/**
|
|
446
|
+
* Creates or updates an Azure DevOps Project.
|
|
447
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
448
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
449
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
450
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
451
|
+
* @param azureDevOpsProject Azure DevOps Org resource payload.
|
|
452
|
+
* @param options The options parameters.
|
|
453
|
+
*/
|
|
454
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, azureDevOpsProject: AzureDevOpsProject, options?: AzureDevOpsProjectCreateOrUpdateOptionalParams): Promise<AzureDevOpsProjectCreateOrUpdateResponse>;
|
|
455
|
+
/**
|
|
456
|
+
* Update monitored AzureDevOps Project details.
|
|
457
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
458
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
459
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
460
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
461
|
+
* @param options The options parameters.
|
|
462
|
+
*/
|
|
463
|
+
beginUpdate(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, options?: AzureDevOpsProjectUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureDevOpsProjectUpdateResponse>, AzureDevOpsProjectUpdateResponse>>;
|
|
464
|
+
/**
|
|
465
|
+
* Update monitored AzureDevOps Project details.
|
|
466
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
467
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
468
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
469
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
470
|
+
* @param options The options parameters.
|
|
471
|
+
*/
|
|
472
|
+
beginUpdateAndWait(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, options?: AzureDevOpsProjectUpdateOptionalParams): Promise<AzureDevOpsProjectUpdateResponse>;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/** AzureDevOps Project properties. */
|
|
476
|
+
export declare interface AzureDevOpsProjectProperties {
|
|
477
|
+
provisioningState?: ProvisioningState;
|
|
478
|
+
/** Gets or sets AzureDevOps Project Id. */
|
|
479
|
+
projectId?: string;
|
|
480
|
+
/** Gets or sets AzureDevOps Org Name. */
|
|
481
|
+
orgName?: string;
|
|
482
|
+
autoDiscovery?: AutoDiscovery;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/** Optional parameters. */
|
|
486
|
+
export declare interface AzureDevOpsProjectUpdateOptionalParams extends coreClient.OperationOptions {
|
|
487
|
+
/** Azure DevOps Org resource payload. */
|
|
488
|
+
azureDevOpsProject?: AzureDevOpsProject;
|
|
489
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
490
|
+
updateIntervalInMs?: number;
|
|
491
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
492
|
+
resumeFrom?: string;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/** Contains response data for the update operation. */
|
|
496
|
+
export declare type AzureDevOpsProjectUpdateResponse = AzureDevOpsProject;
|
|
497
|
+
|
|
498
|
+
/** Azure DevOps Repo Proxy Resource. */
|
|
499
|
+
export declare interface AzureDevOpsRepo extends ProxyResource {
|
|
500
|
+
/** AzureDevOps Repo properties. */
|
|
501
|
+
properties?: AzureDevOpsRepoProperties;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/** Optional parameters. */
|
|
505
|
+
export declare interface AzureDevOpsRepoCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
506
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
507
|
+
updateIntervalInMs?: number;
|
|
508
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
509
|
+
resumeFrom?: string;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
513
|
+
export declare type AzureDevOpsRepoCreateOrUpdateResponse = AzureDevOpsRepo;
|
|
514
|
+
|
|
515
|
+
/** Optional parameters. */
|
|
516
|
+
export declare interface AzureDevOpsRepoGetOptionalParams extends coreClient.OperationOptions {
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/** Contains response data for the get operation. */
|
|
520
|
+
export declare type AzureDevOpsRepoGetResponse = AzureDevOpsRepo;
|
|
521
|
+
|
|
522
|
+
/** Optional parameters. */
|
|
523
|
+
export declare interface AzureDevOpsRepoListByConnectorNextOptionalParams extends coreClient.OperationOptions {
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/** Contains response data for the listByConnectorNext operation. */
|
|
527
|
+
export declare type AzureDevOpsRepoListByConnectorNextResponse = AzureDevOpsRepoListResponse;
|
|
528
|
+
|
|
529
|
+
/** Optional parameters. */
|
|
530
|
+
export declare interface AzureDevOpsRepoListByConnectorOptionalParams extends coreClient.OperationOptions {
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
/** Contains response data for the listByConnector operation. */
|
|
534
|
+
export declare type AzureDevOpsRepoListByConnectorResponse = AzureDevOpsRepoListResponse;
|
|
535
|
+
|
|
536
|
+
/** Optional parameters. */
|
|
537
|
+
export declare interface AzureDevOpsRepoListNextOptionalParams extends coreClient.OperationOptions {
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/** Contains response data for the listNext operation. */
|
|
541
|
+
export declare type AzureDevOpsRepoListNextResponse = AzureDevOpsRepoListResponse;
|
|
542
|
+
|
|
543
|
+
/** Contains response data for the list operation. */
|
|
544
|
+
export declare type AzureDevOpsRepoListOperationResponse = AzureDevOpsRepoListResponse;
|
|
545
|
+
|
|
546
|
+
/** Optional parameters. */
|
|
547
|
+
export declare interface AzureDevOpsRepoListOptionalParams extends coreClient.OperationOptions {
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export declare interface AzureDevOpsRepoListResponse {
|
|
551
|
+
/** Gets or sets list of resources. */
|
|
552
|
+
value?: AzureDevOpsRepo[];
|
|
553
|
+
/** Gets or sets next link to scroll over the results. */
|
|
554
|
+
nextLink?: string;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/** Interface representing a AzureDevOpsRepoOperations. */
|
|
558
|
+
export declare interface AzureDevOpsRepoOperations {
|
|
559
|
+
/**
|
|
560
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
561
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
562
|
+
* @param options The options parameters.
|
|
563
|
+
*/
|
|
564
|
+
listByConnector(resourceGroupName: string, azureDevOpsConnectorName: string, options?: AzureDevOpsRepoListByConnectorOptionalParams): PagedAsyncIterableIterator<AzureDevOpsRepo>;
|
|
565
|
+
/**
|
|
566
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
567
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
568
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
569
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
570
|
+
* @param options The options parameters.
|
|
571
|
+
*/
|
|
572
|
+
list(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, options?: AzureDevOpsRepoListOptionalParams): PagedAsyncIterableIterator<AzureDevOpsRepo>;
|
|
573
|
+
/**
|
|
574
|
+
* Returns a monitored AzureDevOps Project resource for a given ID.
|
|
575
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
576
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
577
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
578
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
579
|
+
* @param azureDevOpsRepoName Name of the AzureDevOps Repo.
|
|
580
|
+
* @param options The options parameters.
|
|
581
|
+
*/
|
|
582
|
+
get(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, azureDevOpsRepoName: string, options?: AzureDevOpsRepoGetOptionalParams): Promise<AzureDevOpsRepoGetResponse>;
|
|
583
|
+
/**
|
|
584
|
+
* Updates an Azure DevOps Repo.
|
|
585
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
586
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
587
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
588
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
589
|
+
* @param azureDevOpsRepoName Name of the AzureDevOps Repo.
|
|
590
|
+
* @param azureDevOpsRepo Azure DevOps Repo resource payload.
|
|
591
|
+
* @param options The options parameters.
|
|
592
|
+
*/
|
|
593
|
+
beginCreateOrUpdate(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, azureDevOpsRepoName: string, azureDevOpsRepo: AzureDevOpsRepo, options?: AzureDevOpsRepoCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureDevOpsRepoCreateOrUpdateResponse>, AzureDevOpsRepoCreateOrUpdateResponse>>;
|
|
594
|
+
/**
|
|
595
|
+
* Updates an Azure DevOps Repo.
|
|
596
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
597
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
598
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
599
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
600
|
+
* @param azureDevOpsRepoName Name of the AzureDevOps Repo.
|
|
601
|
+
* @param azureDevOpsRepo Azure DevOps Repo resource payload.
|
|
602
|
+
* @param options The options parameters.
|
|
603
|
+
*/
|
|
604
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, azureDevOpsRepoName: string, azureDevOpsRepo: AzureDevOpsRepo, options?: AzureDevOpsRepoCreateOrUpdateOptionalParams): Promise<AzureDevOpsRepoCreateOrUpdateResponse>;
|
|
605
|
+
/**
|
|
606
|
+
* Update monitored AzureDevOps Project details.
|
|
607
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
608
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
609
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
610
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
611
|
+
* @param azureDevOpsRepoName Name of the AzureDevOps Repo.
|
|
612
|
+
* @param options The options parameters.
|
|
613
|
+
*/
|
|
614
|
+
beginUpdate(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, azureDevOpsRepoName: string, options?: AzureDevOpsRepoUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureDevOpsRepoUpdateResponse>, AzureDevOpsRepoUpdateResponse>>;
|
|
615
|
+
/**
|
|
616
|
+
* Update monitored AzureDevOps Project details.
|
|
617
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
618
|
+
* @param azureDevOpsConnectorName Name of the AzureDevOps Connector.
|
|
619
|
+
* @param azureDevOpsOrgName Name of the AzureDevOps Org.
|
|
620
|
+
* @param azureDevOpsProjectName Name of the AzureDevOps Project.
|
|
621
|
+
* @param azureDevOpsRepoName Name of the AzureDevOps Repo.
|
|
622
|
+
* @param options The options parameters.
|
|
623
|
+
*/
|
|
624
|
+
beginUpdateAndWait(resourceGroupName: string, azureDevOpsConnectorName: string, azureDevOpsOrgName: string, azureDevOpsProjectName: string, azureDevOpsRepoName: string, options?: AzureDevOpsRepoUpdateOptionalParams): Promise<AzureDevOpsRepoUpdateResponse>;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/** AzureDevOps Repo properties. */
|
|
628
|
+
export declare interface AzureDevOpsRepoProperties {
|
|
629
|
+
provisioningState?: ProvisioningState;
|
|
630
|
+
/** Gets or sets Azure DevOps repo id. */
|
|
631
|
+
repoId?: string;
|
|
632
|
+
/** Gets or sets AzureDevOps repo url. */
|
|
633
|
+
repoUrl?: string;
|
|
634
|
+
/** Gets or sets AzureDevOps Org Name. */
|
|
635
|
+
orgName?: string;
|
|
636
|
+
/** Gets or sets AzureDevOps Project Name. */
|
|
637
|
+
projectName?: string;
|
|
638
|
+
/** Gets or sets AzureDevOps repo visibility, whether it is public or private etc. */
|
|
639
|
+
visibility?: string;
|
|
640
|
+
actionableRemediation?: ActionableRemediation;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/** Optional parameters. */
|
|
644
|
+
export declare interface AzureDevOpsRepoUpdateOptionalParams extends coreClient.OperationOptions {
|
|
645
|
+
/** Azure DevOps Org resource payload. */
|
|
646
|
+
azureDevOpsRepo?: AzureDevOpsRepo;
|
|
647
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
648
|
+
updateIntervalInMs?: number;
|
|
649
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
650
|
+
resumeFrom?: string;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/** Contains response data for the update operation. */
|
|
654
|
+
export declare type AzureDevOpsRepoUpdateResponse = AzureDevOpsRepo;
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Defines values for CreatedByType. \
|
|
658
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
659
|
+
* this enum contains the known values that the service supports.
|
|
660
|
+
* ### Known values supported by the service
|
|
661
|
+
* **User** \
|
|
662
|
+
* **Application** \
|
|
663
|
+
* **ManagedIdentity** \
|
|
664
|
+
* **Key**
|
|
665
|
+
*/
|
|
666
|
+
export declare type CreatedByType = string;
|
|
667
|
+
|
|
668
|
+
/** The resource management error additional info. */
|
|
669
|
+
export declare interface ErrorAdditionalInfo {
|
|
670
|
+
/**
|
|
671
|
+
* The additional info type.
|
|
672
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
673
|
+
*/
|
|
674
|
+
readonly type?: string;
|
|
675
|
+
/**
|
|
676
|
+
* The additional info.
|
|
677
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
678
|
+
*/
|
|
679
|
+
readonly info?: Record<string, unknown>;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/** The error detail. */
|
|
683
|
+
export declare interface ErrorDetail {
|
|
684
|
+
/**
|
|
685
|
+
* The error code.
|
|
686
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
687
|
+
*/
|
|
688
|
+
readonly code?: string;
|
|
689
|
+
/**
|
|
690
|
+
* The error message.
|
|
691
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
692
|
+
*/
|
|
693
|
+
readonly message?: string;
|
|
694
|
+
/**
|
|
695
|
+
* The error target.
|
|
696
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
697
|
+
*/
|
|
698
|
+
readonly target?: string;
|
|
699
|
+
/**
|
|
700
|
+
* The error details.
|
|
701
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
702
|
+
*/
|
|
703
|
+
readonly details?: ErrorDetail[];
|
|
704
|
+
/**
|
|
705
|
+
* The error additional info.
|
|
706
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
707
|
+
*/
|
|
708
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
712
|
+
export declare interface ErrorResponse {
|
|
713
|
+
/** The error object. */
|
|
714
|
+
error?: ErrorDetail;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/** Represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors. */
|
|
718
|
+
export declare interface GitHubConnector extends TrackedResource {
|
|
719
|
+
/** Properties of the ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors. */
|
|
720
|
+
properties?: GitHubConnectorProperties;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/** Optional parameters. */
|
|
724
|
+
export declare interface GitHubConnectorCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
725
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
726
|
+
updateIntervalInMs?: number;
|
|
727
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
728
|
+
resumeFrom?: string;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
732
|
+
export declare type GitHubConnectorCreateOrUpdateResponse = GitHubConnector;
|
|
733
|
+
|
|
734
|
+
/** Optional parameters. */
|
|
735
|
+
export declare interface GitHubConnectorDeleteOptionalParams extends coreClient.OperationOptions {
|
|
736
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
737
|
+
updateIntervalInMs?: number;
|
|
738
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
739
|
+
resumeFrom?: string;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/** Optional parameters. */
|
|
743
|
+
export declare interface GitHubConnectorGetOptionalParams extends coreClient.OperationOptions {
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
/** Contains response data for the get operation. */
|
|
747
|
+
export declare type GitHubConnectorGetResponse = GitHubConnector;
|
|
748
|
+
|
|
749
|
+
/** Optional parameters. */
|
|
750
|
+
export declare interface GitHubConnectorListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
754
|
+
export declare type GitHubConnectorListByResourceGroupNextResponse = GitHubConnectorListResponse;
|
|
755
|
+
|
|
756
|
+
/** Optional parameters. */
|
|
757
|
+
export declare interface GitHubConnectorListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
761
|
+
export declare type GitHubConnectorListByResourceGroupResponse = GitHubConnectorListResponse;
|
|
762
|
+
|
|
763
|
+
/** Optional parameters. */
|
|
764
|
+
export declare interface GitHubConnectorListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
768
|
+
export declare type GitHubConnectorListBySubscriptionNextResponse = GitHubConnectorListResponse;
|
|
769
|
+
|
|
770
|
+
/** Optional parameters. */
|
|
771
|
+
export declare interface GitHubConnectorListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
/** Contains response data for the listBySubscription operation. */
|
|
775
|
+
export declare type GitHubConnectorListBySubscriptionResponse = GitHubConnectorListResponse;
|
|
776
|
+
|
|
777
|
+
export declare interface GitHubConnectorListResponse {
|
|
778
|
+
/** Gets or sets list of resources. */
|
|
779
|
+
value?: GitHubConnector[];
|
|
780
|
+
/** Gets or sets next link to scroll over the results. */
|
|
781
|
+
nextLink?: string;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/** Interface representing a GitHubConnectorOperations. */
|
|
785
|
+
export declare interface GitHubConnectorOperations {
|
|
786
|
+
/**
|
|
787
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
788
|
+
* @param options The options parameters.
|
|
789
|
+
*/
|
|
790
|
+
listByResourceGroup(resourceGroupName: string, options?: GitHubConnectorListByResourceGroupOptionalParams): PagedAsyncIterableIterator<GitHubConnector>;
|
|
791
|
+
/**
|
|
792
|
+
* Returns a list of monitored GitHub Connectors.
|
|
793
|
+
* @param options The options parameters.
|
|
794
|
+
*/
|
|
795
|
+
listBySubscription(options?: GitHubConnectorListBySubscriptionOptionalParams): PagedAsyncIterableIterator<GitHubConnector>;
|
|
796
|
+
/**
|
|
797
|
+
* Returns a monitored GitHub Connector resource for a given ID.
|
|
798
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
799
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
800
|
+
* @param options The options parameters.
|
|
801
|
+
*/
|
|
802
|
+
get(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorGetOptionalParams): Promise<GitHubConnectorGetResponse>;
|
|
803
|
+
/**
|
|
804
|
+
* Create or update a monitored GitHub Connector resource.
|
|
805
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
806
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
807
|
+
* @param gitHubConnector Connector resource payload.
|
|
808
|
+
* @param options The options parameters.
|
|
809
|
+
*/
|
|
810
|
+
beginCreateOrUpdate(resourceGroupName: string, gitHubConnectorName: string, gitHubConnector: GitHubConnector, options?: GitHubConnectorCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubConnectorCreateOrUpdateResponse>, GitHubConnectorCreateOrUpdateResponse>>;
|
|
811
|
+
/**
|
|
812
|
+
* Create or update a monitored GitHub Connector resource.
|
|
813
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
814
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
815
|
+
* @param gitHubConnector Connector resource payload.
|
|
816
|
+
* @param options The options parameters.
|
|
817
|
+
*/
|
|
818
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, gitHubConnector: GitHubConnector, options?: GitHubConnectorCreateOrUpdateOptionalParams): Promise<GitHubConnectorCreateOrUpdateResponse>;
|
|
819
|
+
/**
|
|
820
|
+
* Update monitored GitHub Connector details.
|
|
821
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
822
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
823
|
+
* @param options The options parameters.
|
|
824
|
+
*/
|
|
825
|
+
beginUpdate(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubConnectorUpdateResponse>, GitHubConnectorUpdateResponse>>;
|
|
826
|
+
/**
|
|
827
|
+
* Update monitored GitHub Connector details.
|
|
828
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
829
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
830
|
+
* @param options The options parameters.
|
|
831
|
+
*/
|
|
832
|
+
beginUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorUpdateOptionalParams): Promise<GitHubConnectorUpdateResponse>;
|
|
833
|
+
/**
|
|
834
|
+
* Delete monitored GitHub Connector details.
|
|
835
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
836
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
837
|
+
* @param options The options parameters.
|
|
838
|
+
*/
|
|
839
|
+
beginDelete(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
840
|
+
/**
|
|
841
|
+
* Delete monitored GitHub Connector details.
|
|
842
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
843
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
844
|
+
* @param options The options parameters.
|
|
845
|
+
*/
|
|
846
|
+
beginDeleteAndWait(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorDeleteOptionalParams): Promise<void>;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/** Properties of the ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors. */
|
|
850
|
+
export declare interface GitHubConnectorProperties {
|
|
851
|
+
provisioningState?: ProvisioningState;
|
|
852
|
+
/** Gets or sets one-time OAuth code to exchange for refresh and access tokens. */
|
|
853
|
+
code?: string;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
export declare interface GitHubConnectorStats extends ProxyResource {
|
|
857
|
+
properties?: GitHubConnectorStatsProperties;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
/** Optional parameters. */
|
|
861
|
+
export declare interface GitHubConnectorStatsGetOptionalParams extends coreClient.OperationOptions {
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
/** Contains response data for the get operation. */
|
|
865
|
+
export declare type GitHubConnectorStatsGetResponse = GitHubConnectorStatsListResponse;
|
|
866
|
+
|
|
867
|
+
export declare interface GitHubConnectorStatsListResponse {
|
|
868
|
+
/** Gets or sets list of resources. */
|
|
869
|
+
value?: GitHubConnectorStats[];
|
|
870
|
+
/** Gets or sets next link to scroll over the results. */
|
|
871
|
+
nextLink?: string;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/** Interface representing a GitHubConnectorStatsOperations. */
|
|
875
|
+
export declare interface GitHubConnectorStatsOperations {
|
|
876
|
+
/**
|
|
877
|
+
* Returns the summary of the GitHub Connector Stats.
|
|
878
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
879
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
880
|
+
* @param options The options parameters.
|
|
881
|
+
*/
|
|
882
|
+
get(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubConnectorStatsGetOptionalParams): Promise<GitHubConnectorStatsGetResponse>;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
export declare interface GitHubConnectorStatsProperties {
|
|
886
|
+
provisioningState?: ProvisioningState;
|
|
887
|
+
/** Gets or sets owners count. */
|
|
888
|
+
ownersCount?: number;
|
|
889
|
+
/** Gets or sets repos count. */
|
|
890
|
+
reposCount?: number;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
/** Optional parameters. */
|
|
894
|
+
export declare interface GitHubConnectorUpdateOptionalParams extends coreClient.OperationOptions {
|
|
895
|
+
/** Connector resource payload. */
|
|
896
|
+
gitHubConnector?: GitHubConnector;
|
|
897
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
898
|
+
updateIntervalInMs?: number;
|
|
899
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
900
|
+
resumeFrom?: string;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
/** Contains response data for the update operation. */
|
|
904
|
+
export declare type GitHubConnectorUpdateResponse = GitHubConnector;
|
|
905
|
+
|
|
906
|
+
/** GitHub repo owner Proxy Resource. */
|
|
907
|
+
export declare interface GitHubOwner extends ProxyResource {
|
|
908
|
+
/** GitHub Repo Owner properties. */
|
|
909
|
+
properties?: GitHubOwnerProperties;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/** Optional parameters. */
|
|
913
|
+
export declare interface GitHubOwnerCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
914
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
915
|
+
updateIntervalInMs?: number;
|
|
916
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
917
|
+
resumeFrom?: string;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
921
|
+
export declare type GitHubOwnerCreateOrUpdateResponse = GitHubOwner;
|
|
922
|
+
|
|
923
|
+
/** Optional parameters. */
|
|
924
|
+
export declare interface GitHubOwnerGetOptionalParams extends coreClient.OperationOptions {
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
/** Contains response data for the get operation. */
|
|
928
|
+
export declare type GitHubOwnerGetResponse = GitHubOwner;
|
|
929
|
+
|
|
930
|
+
/** Optional parameters. */
|
|
931
|
+
export declare interface GitHubOwnerListNextOptionalParams extends coreClient.OperationOptions {
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
/** Contains response data for the listNext operation. */
|
|
935
|
+
export declare type GitHubOwnerListNextResponse = GitHubOwnerListResponse;
|
|
936
|
+
|
|
937
|
+
/** Contains response data for the list operation. */
|
|
938
|
+
export declare type GitHubOwnerListOperationResponse = GitHubOwnerListResponse;
|
|
939
|
+
|
|
940
|
+
/** Optional parameters. */
|
|
941
|
+
export declare interface GitHubOwnerListOptionalParams extends coreClient.OperationOptions {
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
export declare interface GitHubOwnerListResponse {
|
|
945
|
+
/** Gets or sets list of resources. */
|
|
946
|
+
value?: GitHubOwner[];
|
|
947
|
+
/** Gets or sets next link to scroll over the results. */
|
|
948
|
+
nextLink?: string;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/** Interface representing a GitHubOwnerOperations. */
|
|
952
|
+
export declare interface GitHubOwnerOperations {
|
|
953
|
+
/**
|
|
954
|
+
* Returns a list of monitored GitHub owners.
|
|
955
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
956
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
957
|
+
* @param options The options parameters.
|
|
958
|
+
*/
|
|
959
|
+
list(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubOwnerListOptionalParams): PagedAsyncIterableIterator<GitHubOwner>;
|
|
960
|
+
/**
|
|
961
|
+
* Returns a monitored GitHub repository.
|
|
962
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
963
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
964
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
965
|
+
* @param options The options parameters.
|
|
966
|
+
*/
|
|
967
|
+
get(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, options?: GitHubOwnerGetOptionalParams): Promise<GitHubOwnerGetResponse>;
|
|
968
|
+
/**
|
|
969
|
+
* Create or update a monitored GitHub owner.
|
|
970
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
971
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
972
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
973
|
+
* @param gitHubOwner Github owner.
|
|
974
|
+
* @param options The options parameters.
|
|
975
|
+
*/
|
|
976
|
+
beginCreateOrUpdate(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubOwner: GitHubOwner, options?: GitHubOwnerCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubOwnerCreateOrUpdateResponse>, GitHubOwnerCreateOrUpdateResponse>>;
|
|
977
|
+
/**
|
|
978
|
+
* Create or update a monitored GitHub owner.
|
|
979
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
980
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
981
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
982
|
+
* @param gitHubOwner Github owner.
|
|
983
|
+
* @param options The options parameters.
|
|
984
|
+
*/
|
|
985
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubOwner: GitHubOwner, options?: GitHubOwnerCreateOrUpdateOptionalParams): Promise<GitHubOwnerCreateOrUpdateResponse>;
|
|
986
|
+
/**
|
|
987
|
+
* Patch a monitored GitHub repository.
|
|
988
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
989
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
990
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
991
|
+
* @param options The options parameters.
|
|
992
|
+
*/
|
|
993
|
+
beginUpdate(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, options?: GitHubOwnerUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubOwnerUpdateResponse>, GitHubOwnerUpdateResponse>>;
|
|
994
|
+
/**
|
|
995
|
+
* Patch a monitored GitHub repository.
|
|
996
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
997
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
998
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
999
|
+
* @param options The options parameters.
|
|
1000
|
+
*/
|
|
1001
|
+
beginUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, options?: GitHubOwnerUpdateOptionalParams): Promise<GitHubOwnerUpdateResponse>;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
/** GitHub Repo Owner properties. */
|
|
1005
|
+
export declare interface GitHubOwnerProperties {
|
|
1006
|
+
provisioningState?: ProvisioningState;
|
|
1007
|
+
/** Gets or sets gitHub owner url. */
|
|
1008
|
+
ownerUrl?: string;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/** Optional parameters. */
|
|
1012
|
+
export declare interface GitHubOwnerUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1013
|
+
/** Github owner. */
|
|
1014
|
+
gitHubOwner?: GitHubOwner;
|
|
1015
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1016
|
+
updateIntervalInMs?: number;
|
|
1017
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1018
|
+
resumeFrom?: string;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
/** Contains response data for the update operation. */
|
|
1022
|
+
export declare type GitHubOwnerUpdateResponse = GitHubOwner;
|
|
1023
|
+
|
|
1024
|
+
/** GitHub repo Proxy Resource. */
|
|
1025
|
+
export declare interface GitHubRepo extends ProxyResource {
|
|
1026
|
+
/** GitHub Repo properties. */
|
|
1027
|
+
properties?: GitHubRepoProperties;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/** Optional parameters. */
|
|
1031
|
+
export declare interface GitHubRepoCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1032
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1033
|
+
updateIntervalInMs?: number;
|
|
1034
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1035
|
+
resumeFrom?: string;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1039
|
+
export declare type GitHubRepoCreateOrUpdateResponse = GitHubRepo;
|
|
1040
|
+
|
|
1041
|
+
/** Optional parameters. */
|
|
1042
|
+
export declare interface GitHubRepoGetOptionalParams extends coreClient.OperationOptions {
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/** Contains response data for the get operation. */
|
|
1046
|
+
export declare type GitHubRepoGetResponse = GitHubRepo;
|
|
1047
|
+
|
|
1048
|
+
/** Optional parameters. */
|
|
1049
|
+
export declare interface GitHubRepoListByConnectorNextOptionalParams extends coreClient.OperationOptions {
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
/** Contains response data for the listByConnectorNext operation. */
|
|
1053
|
+
export declare type GitHubRepoListByConnectorNextResponse = GitHubRepoListResponse;
|
|
1054
|
+
|
|
1055
|
+
/** Optional parameters. */
|
|
1056
|
+
export declare interface GitHubRepoListByConnectorOptionalParams extends coreClient.OperationOptions {
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/** Contains response data for the listByConnector operation. */
|
|
1060
|
+
export declare type GitHubRepoListByConnectorResponse = GitHubRepoListResponse;
|
|
1061
|
+
|
|
1062
|
+
/** Optional parameters. */
|
|
1063
|
+
export declare interface GitHubRepoListNextOptionalParams extends coreClient.OperationOptions {
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
/** Contains response data for the listNext operation. */
|
|
1067
|
+
export declare type GitHubRepoListNextResponse = GitHubRepoListResponse;
|
|
1068
|
+
|
|
1069
|
+
/** Contains response data for the list operation. */
|
|
1070
|
+
export declare type GitHubRepoListOperationResponse = GitHubRepoListResponse;
|
|
1071
|
+
|
|
1072
|
+
/** Optional parameters. */
|
|
1073
|
+
export declare interface GitHubRepoListOptionalParams extends coreClient.OperationOptions {
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
export declare interface GitHubRepoListResponse {
|
|
1077
|
+
/** Gets or sets list of resources. */
|
|
1078
|
+
value?: GitHubRepo[];
|
|
1079
|
+
/** Gets or sets next link to scroll over the results. */
|
|
1080
|
+
nextLink?: string;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
/** Interface representing a GitHubRepoOperations. */
|
|
1084
|
+
export declare interface GitHubRepoOperations {
|
|
1085
|
+
/**
|
|
1086
|
+
* Returns a list of monitored GitHub repositories.
|
|
1087
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1088
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
1089
|
+
* @param options The options parameters.
|
|
1090
|
+
*/
|
|
1091
|
+
listByConnector(resourceGroupName: string, gitHubConnectorName: string, options?: GitHubRepoListByConnectorOptionalParams): PagedAsyncIterableIterator<GitHubRepo>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Returns a list of monitored GitHub repositories.
|
|
1094
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1095
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
1096
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
1097
|
+
* @param options The options parameters.
|
|
1098
|
+
*/
|
|
1099
|
+
list(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, options?: GitHubRepoListOptionalParams): PagedAsyncIterableIterator<GitHubRepo>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Returns a monitored GitHub repository.
|
|
1102
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1103
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
1104
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
1105
|
+
* @param gitHubRepoName Name of the GitHub Repo.
|
|
1106
|
+
* @param options The options parameters.
|
|
1107
|
+
*/
|
|
1108
|
+
get(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubRepoName: string, options?: GitHubRepoGetOptionalParams): Promise<GitHubRepoGetResponse>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Create or update a monitored GitHub repository.
|
|
1111
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1112
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
1113
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
1114
|
+
* @param gitHubRepoName Name of the GitHub Repo.
|
|
1115
|
+
* @param gitHubRepo Github repo.
|
|
1116
|
+
* @param options The options parameters.
|
|
1117
|
+
*/
|
|
1118
|
+
beginCreateOrUpdate(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubRepoName: string, gitHubRepo: GitHubRepo, options?: GitHubRepoCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubRepoCreateOrUpdateResponse>, GitHubRepoCreateOrUpdateResponse>>;
|
|
1119
|
+
/**
|
|
1120
|
+
* Create or update a monitored GitHub repository.
|
|
1121
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1122
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
1123
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
1124
|
+
* @param gitHubRepoName Name of the GitHub Repo.
|
|
1125
|
+
* @param gitHubRepo Github repo.
|
|
1126
|
+
* @param options The options parameters.
|
|
1127
|
+
*/
|
|
1128
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubRepoName: string, gitHubRepo: GitHubRepo, options?: GitHubRepoCreateOrUpdateOptionalParams): Promise<GitHubRepoCreateOrUpdateResponse>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Patch a monitored GitHub repository.
|
|
1131
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1132
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
1133
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
1134
|
+
* @param gitHubRepoName Name of the GitHub Repo.
|
|
1135
|
+
* @param options The options parameters.
|
|
1136
|
+
*/
|
|
1137
|
+
beginUpdate(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubRepoName: string, options?: GitHubRepoUpdateOptionalParams): Promise<PollerLike<PollOperationState<GitHubRepoUpdateResponse>, GitHubRepoUpdateResponse>>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Patch a monitored GitHub repository.
|
|
1140
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1141
|
+
* @param gitHubConnectorName Name of the GitHub Connector.
|
|
1142
|
+
* @param gitHubOwnerName Name of the GitHub Owner.
|
|
1143
|
+
* @param gitHubRepoName Name of the GitHub Repo.
|
|
1144
|
+
* @param options The options parameters.
|
|
1145
|
+
*/
|
|
1146
|
+
beginUpdateAndWait(resourceGroupName: string, gitHubConnectorName: string, gitHubOwnerName: string, gitHubRepoName: string, options?: GitHubRepoUpdateOptionalParams): Promise<GitHubRepoUpdateResponse>;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/** GitHub Repo properties. */
|
|
1150
|
+
export declare interface GitHubRepoProperties {
|
|
1151
|
+
provisioningState?: ProvisioningState;
|
|
1152
|
+
/** Gets or sets gitHub repo account id. */
|
|
1153
|
+
accountId?: number;
|
|
1154
|
+
/** Gets or sets gitHub repo url. */
|
|
1155
|
+
repoUrl?: string;
|
|
1156
|
+
/** Gets or sets GitHub Owner Name. */
|
|
1157
|
+
ownerName?: string;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
export declare interface GitHubReposProperties {
|
|
1161
|
+
provisioningState?: ProvisioningState;
|
|
1162
|
+
/** Gets or sets gitHub repo account id. */
|
|
1163
|
+
accountId?: number;
|
|
1164
|
+
/** Gets or sets gitHub repo name. */
|
|
1165
|
+
repoName?: string;
|
|
1166
|
+
/** Gets or sets gitHub repo url. */
|
|
1167
|
+
repoUrl?: string;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
/** Optional parameters. */
|
|
1171
|
+
export declare interface GitHubRepoUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1172
|
+
/** Github repo. */
|
|
1173
|
+
gitHubRepo?: GitHubRepo;
|
|
1174
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1175
|
+
updateIntervalInMs?: number;
|
|
1176
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1177
|
+
resumeFrom?: string;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
/** Contains response data for the update operation. */
|
|
1181
|
+
export declare type GitHubRepoUpdateResponse = GitHubRepo;
|
|
1182
|
+
|
|
1183
|
+
/** Known values of {@link ActionableRemediationState} that the service accepts. */
|
|
1184
|
+
export declare enum KnownActionableRemediationState {
|
|
1185
|
+
/** None */
|
|
1186
|
+
None = "None",
|
|
1187
|
+
/** Disabled */
|
|
1188
|
+
Disabled = "Disabled",
|
|
1189
|
+
/** Enabled */
|
|
1190
|
+
Enabled = "Enabled"
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
1194
|
+
export declare enum KnownActionType {
|
|
1195
|
+
/** Internal */
|
|
1196
|
+
Internal = "Internal"
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
/** Known values of {@link AutoDiscovery} that the service accepts. */
|
|
1200
|
+
export declare enum KnownAutoDiscovery {
|
|
1201
|
+
/** Disabled */
|
|
1202
|
+
Disabled = "Disabled",
|
|
1203
|
+
/** Enabled */
|
|
1204
|
+
Enabled = "Enabled"
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
1208
|
+
export declare enum KnownCreatedByType {
|
|
1209
|
+
/** User */
|
|
1210
|
+
User = "User",
|
|
1211
|
+
/** Application */
|
|
1212
|
+
Application = "Application",
|
|
1213
|
+
/** ManagedIdentity */
|
|
1214
|
+
ManagedIdentity = "ManagedIdentity",
|
|
1215
|
+
/** Key */
|
|
1216
|
+
Key = "Key"
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
1220
|
+
export declare enum KnownOrigin {
|
|
1221
|
+
/** User */
|
|
1222
|
+
User = "user",
|
|
1223
|
+
/** System */
|
|
1224
|
+
System = "system",
|
|
1225
|
+
/** UserSystem */
|
|
1226
|
+
UserSystem = "user,system"
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
1230
|
+
export declare enum KnownProvisioningState {
|
|
1231
|
+
/** Succeeded */
|
|
1232
|
+
Succeeded = "Succeeded",
|
|
1233
|
+
/** Failed */
|
|
1234
|
+
Failed = "Failed",
|
|
1235
|
+
/** Canceled */
|
|
1236
|
+
Canceled = "Canceled"
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/** Known values of {@link RuleCategory} that the service accepts. */
|
|
1240
|
+
export declare enum KnownRuleCategory {
|
|
1241
|
+
/** Code */
|
|
1242
|
+
Code = "Code",
|
|
1243
|
+
/** Artifacts */
|
|
1244
|
+
Artifacts = "Artifacts",
|
|
1245
|
+
/** Dependencies */
|
|
1246
|
+
Dependencies = "Dependencies",
|
|
1247
|
+
/** Secrets */
|
|
1248
|
+
Secrets = "Secrets",
|
|
1249
|
+
/** IaC */
|
|
1250
|
+
IaC = "IaC",
|
|
1251
|
+
/** Containers */
|
|
1252
|
+
Containers = "Containers"
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
export declare class MicrosoftSecurityDevOps extends coreClient.ServiceClient {
|
|
1256
|
+
$host: string;
|
|
1257
|
+
subscriptionId: string;
|
|
1258
|
+
apiVersion: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* Initializes a new instance of the MicrosoftSecurityDevOps class.
|
|
1261
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1262
|
+
* @param subscriptionId The ID of the target subscription.
|
|
1263
|
+
* @param options The parameter options
|
|
1264
|
+
*/
|
|
1265
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftSecurityDevOpsOptionalParams);
|
|
1266
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
1267
|
+
private addCustomApiVersionPolicy;
|
|
1268
|
+
azureDevOpsConnectorOperations: AzureDevOpsConnectorOperations;
|
|
1269
|
+
azureDevOpsRepoOperations: AzureDevOpsRepoOperations;
|
|
1270
|
+
azureDevOpsConnectorStatsOperations: AzureDevOpsConnectorStatsOperations;
|
|
1271
|
+
azureDevOpsOrgOperations: AzureDevOpsOrgOperations;
|
|
1272
|
+
azureDevOpsProjectOperations: AzureDevOpsProjectOperations;
|
|
1273
|
+
gitHubConnectorOperations: GitHubConnectorOperations;
|
|
1274
|
+
gitHubRepoOperations: GitHubRepoOperations;
|
|
1275
|
+
gitHubConnectorStatsOperations: GitHubConnectorStatsOperations;
|
|
1276
|
+
gitHubOwnerOperations: GitHubOwnerOperations;
|
|
1277
|
+
operations: Operations;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
/** Optional parameters. */
|
|
1281
|
+
export declare interface MicrosoftSecurityDevOpsOptionalParams extends coreClient.ServiceClientOptions {
|
|
1282
|
+
/** server parameter */
|
|
1283
|
+
$host?: string;
|
|
1284
|
+
/** Api Version */
|
|
1285
|
+
apiVersion?: string;
|
|
1286
|
+
/** Overrides client endpoint. */
|
|
1287
|
+
endpoint?: string;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
1291
|
+
export declare interface Operation {
|
|
1292
|
+
/**
|
|
1293
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
1294
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1295
|
+
*/
|
|
1296
|
+
readonly name?: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
1299
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1300
|
+
*/
|
|
1301
|
+
readonly isDataAction?: boolean;
|
|
1302
|
+
/** Localized display information for this particular operation. */
|
|
1303
|
+
display?: OperationDisplay;
|
|
1304
|
+
/**
|
|
1305
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
1306
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1307
|
+
*/
|
|
1308
|
+
readonly origin?: Origin;
|
|
1309
|
+
/**
|
|
1310
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
1311
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1312
|
+
*/
|
|
1313
|
+
readonly actionType?: ActionType;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
/** Localized display information for this particular operation. */
|
|
1317
|
+
export declare interface OperationDisplay {
|
|
1318
|
+
/**
|
|
1319
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
1320
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1321
|
+
*/
|
|
1322
|
+
readonly provider?: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
1325
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1326
|
+
*/
|
|
1327
|
+
readonly resource?: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
1330
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1331
|
+
*/
|
|
1332
|
+
readonly operation?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
1335
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1336
|
+
*/
|
|
1337
|
+
readonly description?: string;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
1341
|
+
export declare interface OperationListResult {
|
|
1342
|
+
/**
|
|
1343
|
+
* List of operations supported by the resource provider
|
|
1344
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1345
|
+
*/
|
|
1346
|
+
readonly value?: Operation[];
|
|
1347
|
+
/**
|
|
1348
|
+
* URL to get the next set of operation list results (if there are any).
|
|
1349
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1350
|
+
*/
|
|
1351
|
+
readonly nextLink?: string;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
/** Interface representing a Operations. */
|
|
1355
|
+
export declare interface Operations {
|
|
1356
|
+
/**
|
|
1357
|
+
* Returns list of operations supported by the Microsoft.SecurityDevOps provider.
|
|
1358
|
+
* @param options The options parameters.
|
|
1359
|
+
*/
|
|
1360
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
/** Optional parameters. */
|
|
1364
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
/** Contains response data for the listNext operation. */
|
|
1368
|
+
export declare type OperationsListNextResponse = OperationListResult;
|
|
1369
|
+
|
|
1370
|
+
/** Optional parameters. */
|
|
1371
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
/** Contains response data for the list operation. */
|
|
1375
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* Defines values for Origin. \
|
|
1379
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
1380
|
+
* this enum contains the known values that the service supports.
|
|
1381
|
+
* ### Known values supported by the service
|
|
1382
|
+
* **user** \
|
|
1383
|
+
* **system** \
|
|
1384
|
+
* **user,system**
|
|
1385
|
+
*/
|
|
1386
|
+
export declare type Origin = string;
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Defines values for ProvisioningState. \
|
|
1390
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
1391
|
+
* this enum contains the known values that the service supports.
|
|
1392
|
+
* ### Known values supported by the service
|
|
1393
|
+
* **Succeeded** \
|
|
1394
|
+
* **Failed** \
|
|
1395
|
+
* **Canceled**
|
|
1396
|
+
*/
|
|
1397
|
+
export declare type ProvisioningState = string;
|
|
1398
|
+
|
|
1399
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
1400
|
+
export declare interface ProxyResource extends Resource {
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
1404
|
+
export declare interface Resource {
|
|
1405
|
+
/**
|
|
1406
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
1407
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1408
|
+
*/
|
|
1409
|
+
readonly id?: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* The name of the resource
|
|
1412
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1413
|
+
*/
|
|
1414
|
+
readonly name?: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
1417
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1418
|
+
*/
|
|
1419
|
+
readonly type?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
1422
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1423
|
+
*/
|
|
1424
|
+
readonly systemData?: SystemData;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
/**
|
|
1428
|
+
* Defines values for RuleCategory. \
|
|
1429
|
+
* {@link KnownRuleCategory} can be used interchangeably with RuleCategory,
|
|
1430
|
+
* this enum contains the known values that the service supports.
|
|
1431
|
+
* ### Known values supported by the service
|
|
1432
|
+
* **Code** \
|
|
1433
|
+
* **Artifacts** \
|
|
1434
|
+
* **Dependencies** \
|
|
1435
|
+
* **Secrets** \
|
|
1436
|
+
* **IaC** \
|
|
1437
|
+
* **Containers**
|
|
1438
|
+
*/
|
|
1439
|
+
export declare type RuleCategory = string;
|
|
1440
|
+
|
|
1441
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
1442
|
+
export declare interface SystemData {
|
|
1443
|
+
/** The identity that created the resource. */
|
|
1444
|
+
createdBy?: string;
|
|
1445
|
+
/** The type of identity that created the resource. */
|
|
1446
|
+
createdByType?: CreatedByType;
|
|
1447
|
+
/** The timestamp of resource creation (UTC). */
|
|
1448
|
+
createdAt?: Date;
|
|
1449
|
+
/** The identity that last modified the resource. */
|
|
1450
|
+
lastModifiedBy?: string;
|
|
1451
|
+
/** The type of identity that last modified the resource. */
|
|
1452
|
+
lastModifiedByType?: CreatedByType;
|
|
1453
|
+
/** The timestamp of resource last modification (UTC) */
|
|
1454
|
+
lastModifiedAt?: Date;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
/** Branch onboarding info. */
|
|
1458
|
+
export declare interface TargetBranchConfiguration {
|
|
1459
|
+
/**
|
|
1460
|
+
* Gets or sets branches that should have annotations.
|
|
1461
|
+
*
|
|
1462
|
+
* For Ignite, we will be supporting a single default branch configuration in the UX.
|
|
1463
|
+
*/
|
|
1464
|
+
names?: string[];
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
1468
|
+
export declare interface TrackedResource extends Resource {
|
|
1469
|
+
/** Resource tags. */
|
|
1470
|
+
tags?: {
|
|
1471
|
+
[propertyName: string]: string;
|
|
1472
|
+
};
|
|
1473
|
+
/** The geo-location where the resource lives */
|
|
1474
|
+
location: string;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
export { }
|