@pulumi/azuredevops 2.13.0 → 2.14.0-alpha.1698199311
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/agent/getPool.d.ts +0 -28
- package/agent/getPool.js +0 -28
- package/agent/getPool.js.map +1 -1
- package/agent/getPools.d.ts +0 -24
- package/agent/getPools.js +0 -24
- package/agent/getPools.js.map +1 -1
- package/agent/pool.d.ts +0 -11
- package/agent/pool.js +0 -11
- package/agent/pool.js.map +1 -1
- package/agent/queue.d.ts +0 -22
- package/agent/queue.js +0 -22
- package/agent/queue.js.map +1 -1
- package/areaPermissions.d.ts +0 -28
- package/areaPermissions.js +0 -28
- package/areaPermissions.js.map +1 -1
- package/branchPolicyAutoReviewers.d.ts +0 -34
- package/branchPolicyAutoReviewers.js +0 -34
- package/branchPolicyAutoReviewers.js.map +1 -1
- package/branchPolicyBuildValidation.d.ts +0 -52
- package/branchPolicyBuildValidation.js +0 -52
- package/branchPolicyBuildValidation.js.map +1 -1
- package/branchPolicyCommentResolution.d.ts +0 -36
- package/branchPolicyCommentResolution.js +0 -36
- package/branchPolicyCommentResolution.js.map +1 -1
- package/branchPolicyMergeTypes.d.ts +0 -40
- package/branchPolicyMergeTypes.js +0 -40
- package/branchPolicyMergeTypes.js.map +1 -1
- package/branchPolicyMinReviewers.d.ts +0 -42
- package/branchPolicyMinReviewers.js +0 -42
- package/branchPolicyMinReviewers.js.map +1 -1
- package/branchPolicyStatusCheck.d.ts +0 -49
- package/branchPolicyStatusCheck.js +0 -49
- package/branchPolicyStatusCheck.js.map +1 -1
- package/branchPolicyWorkItemLinking.d.ts +0 -36
- package/branchPolicyWorkItemLinking.js +0 -36
- package/branchPolicyWorkItemLinking.js.map +1 -1
- package/build/buildDefinition.d.ts +0 -120
- package/build/buildDefinition.js +0 -120
- package/build/buildDefinition.js.map +1 -1
- package/buildDefinition.d.ts +0 -120
- package/buildDefinition.js +0 -120
- package/buildDefinition.js.map +1 -1
- package/buildDefinitionPermissions.d.ts +0 -47
- package/buildDefinitionPermissions.js +0 -47
- package/buildDefinitionPermissions.js.map +1 -1
- package/buildFolder.d.ts +0 -18
- package/buildFolder.js +0 -18
- package/buildFolder.js.map +1 -1
- package/buildFolderPermissions.d.ts +0 -43
- package/buildFolderPermissions.js +0 -43
- package/buildFolderPermissions.js.map +1 -1
- package/checkApproval.d.ts +0 -17
- package/checkApproval.js +0 -17
- package/checkApproval.js.map +1 -1
- package/checkBranchControl.d.ts +0 -112
- package/checkBranchControl.js +0 -112
- package/checkBranchControl.js.map +1 -1
- package/checkBusinessHours.d.ts +0 -132
- package/checkBusinessHours.js +0 -132
- package/checkBusinessHours.js.map +1 -1
- package/checkExclusiveLock.d.ts +0 -37
- package/checkExclusiveLock.js +0 -37
- package/checkExclusiveLock.js.map +1 -1
- package/checkRequiredTemplate.d.ts +0 -53
- package/checkRequiredTemplate.js +0 -53
- package/checkRequiredTemplate.js.map +1 -1
- package/core/getClientConfig.d.ts +0 -20
- package/core/getClientConfig.js +0 -20
- package/core/getClientConfig.js.map +1 -1
- package/core/getProject.d.ts +0 -22
- package/core/getProject.js +0 -22
- package/core/getProject.js.map +1 -1
- package/core/getProjects.d.ts +0 -30
- package/core/getProjects.js +0 -30
- package/core/getProjects.js.map +1 -1
- package/core/project.d.ts +0 -17
- package/core/project.js +0 -17
- package/core/project.js.map +1 -1
- package/core/projectFeatures.d.ts +0 -20
- package/core/projectFeatures.js +0 -20
- package/core/projectFeatures.js.map +1 -1
- package/elasticPool.d.ts +0 -33
- package/elasticPool.js +0 -33
- package/elasticPool.js.map +1 -1
- package/entitlement/user.d.ts +0 -8
- package/entitlement/user.js +0 -8
- package/entitlement/user.js.map +1 -1
- package/environment.d.ts +0 -14
- package/environment.js +0 -14
- package/environment.js.map +1 -1
- package/getAgentQueue.d.ts +0 -38
- package/getAgentQueue.js +0 -38
- package/getAgentQueue.js.map +1 -1
- package/getArea.d.ts +0 -36
- package/getArea.js +0 -36
- package/getArea.js.map +1 -1
- package/getBuildDefinition.d.ts +0 -32
- package/getBuildDefinition.js +0 -32
- package/getBuildDefinition.js.map +1 -1
- package/getClientConfig.d.ts +0 -20
- package/getClientConfig.js +0 -20
- package/getClientConfig.js.map +1 -1
- package/getGitRepository.d.ts +0 -28
- package/getGitRepository.js +0 -28
- package/getGitRepository.js.map +1 -1
- package/getGroup.d.ts +0 -42
- package/getGroup.js +0 -42
- package/getGroup.js.map +1 -1
- package/getGroups.d.ts +0 -28
- package/getGroups.js +0 -28
- package/getGroups.js.map +1 -1
- package/getIteration.d.ts +0 -46
- package/getIteration.js +0 -46
- package/getIteration.js.map +1 -1
- package/getPool.d.ts +0 -28
- package/getPool.js +0 -28
- package/getPool.js.map +1 -1
- package/getPools.d.ts +0 -24
- package/getPools.js +0 -24
- package/getPools.js.map +1 -1
- package/getProject.d.ts +0 -22
- package/getProject.js +0 -22
- package/getProject.js.map +1 -1
- package/getProjects.d.ts +0 -30
- package/getProjects.js +0 -30
- package/getProjects.js.map +1 -1
- package/getRepositories.d.ts +0 -36
- package/getRepositories.js +0 -36
- package/getRepositories.js.map +1 -1
- package/getServiceEndpointAzureRM.d.ts +0 -60
- package/getServiceEndpointAzureRM.js +0 -60
- package/getServiceEndpointAzureRM.js.map +1 -1
- package/getServiceEndpointGithub.d.ts +0 -60
- package/getServiceEndpointGithub.js +0 -60
- package/getServiceEndpointGithub.js.map +1 -1
- package/getServiceendpointAzurecr.d.ts +0 -26
- package/getServiceendpointAzurecr.js +0 -26
- package/getServiceendpointAzurecr.js.map +1 -1
- package/getServiceendpointNpm.d.ts +0 -26
- package/getServiceendpointNpm.js +0 -26
- package/getServiceendpointNpm.js.map +1 -1
- package/getServiceendpointSonarcloud.d.ts +0 -26
- package/getServiceendpointSonarcloud.js +0 -26
- package/getServiceendpointSonarcloud.js.map +1 -1
- package/getTeam.d.ts +0 -34
- package/getTeam.js +0 -34
- package/getTeam.js.map +1 -1
- package/getTeams.d.ts +0 -24
- package/getTeams.js +0 -24
- package/getTeams.js.map +1 -1
- package/getUsers.d.ts +0 -62
- package/getUsers.js +0 -48
- package/getUsers.js.map +1 -1
- package/getVariableGroup.d.ts +0 -30
- package/getVariableGroup.js +0 -30
- package/getVariableGroup.js.map +1 -1
- package/gitPermissions.d.ts +0 -168
- package/gitPermissions.js +0 -168
- package/gitPermissions.js.map +1 -1
- package/gitRepositoryBranch.d.ts +0 -27
- package/gitRepositoryBranch.js +0 -27
- package/gitRepositoryBranch.js.map +1 -1
- package/gitRepositoryFile.d.ts +0 -26
- package/gitRepositoryFile.js +0 -26
- package/gitRepositoryFile.js.map +1 -1
- package/group.d.ts +0 -25
- package/group.js +0 -25
- package/group.js.map +1 -1
- package/groupEntitlement.d.ts +0 -17
- package/groupEntitlement.js +0 -17
- package/groupEntitlement.js.map +1 -1
- package/groupMembership.d.ts +0 -17
- package/groupMembership.js +0 -17
- package/groupMembership.js.map +1 -1
- package/identities/getGroup.d.ts +0 -42
- package/identities/getGroup.js +0 -42
- package/identities/getGroup.js.map +1 -1
- package/identities/getUsers.d.ts +0 -62
- package/identities/getUsers.js +0 -48
- package/identities/getUsers.js.map +1 -1
- package/identities/group.d.ts +0 -25
- package/identities/group.js +0 -25
- package/identities/group.js.map +1 -1
- package/identities/groupMembership.d.ts +0 -17
- package/identities/groupMembership.js +0 -17
- package/identities/groupMembership.js.map +1 -1
- package/iterativePermissions.d.ts +0 -36
- package/iterativePermissions.js +0 -36
- package/iterativePermissions.js.map +1 -1
- package/package.json +1 -1
- package/pipeline/variableGroup.d.ts +0 -71
- package/pipeline/variableGroup.js +0 -71
- package/pipeline/variableGroup.js.map +1 -1
- package/pipelineAuthorization.d.ts +0 -65
- package/pipelineAuthorization.js +0 -65
- package/pipelineAuthorization.js.map +1 -1
- package/policy/branchPolicyBuildValidation.d.ts +0 -52
- package/policy/branchPolicyBuildValidation.js +0 -52
- package/policy/branchPolicyBuildValidation.js.map +1 -1
- package/policy/branchPolicyMinReviewers.d.ts +0 -42
- package/policy/branchPolicyMinReviewers.js +0 -42
- package/policy/branchPolicyMinReviewers.js.map +1 -1
- package/pool.d.ts +0 -11
- package/pool.js +0 -11
- package/pool.js.map +1 -1
- package/project.d.ts +0 -17
- package/project.js +0 -17
- package/project.js.map +1 -1
- package/projectFeatures.d.ts +0 -20
- package/projectFeatures.js +0 -20
- package/projectFeatures.js.map +1 -1
- package/projectPermissions.d.ts +0 -27
- package/projectPermissions.js +0 -27
- package/projectPermissions.js.map +1 -1
- package/projectPipelineSettings.d.ts +0 -21
- package/projectPipelineSettings.js +0 -21
- package/projectPipelineSettings.js.map +1 -1
- package/queue.d.ts +0 -22
- package/queue.js +0 -22
- package/queue.js.map +1 -1
- package/repository/getRepositories.d.ts +0 -36
- package/repository/getRepositories.js +0 -36
- package/repository/getRepositories.js.map +1 -1
- package/repositoryPolicyAuthorEmailPattern.d.ts +0 -52
- package/repositoryPolicyAuthorEmailPattern.js +0 -52
- package/repositoryPolicyAuthorEmailPattern.js.map +1 -1
- package/repositoryPolicyCaseEnforcement.d.ts +0 -45
- package/repositoryPolicyCaseEnforcement.js +0 -45
- package/repositoryPolicyCaseEnforcement.js.map +1 -1
- package/repositoryPolicyCheckCredentials.d.ts +0 -43
- package/repositoryPolicyCheckCredentials.js +0 -43
- package/repositoryPolicyCheckCredentials.js.map +1 -1
- package/repositoryPolicyFilePathPattern.d.ts +0 -51
- package/repositoryPolicyFilePathPattern.js +0 -51
- package/repositoryPolicyFilePathPattern.js.map +1 -1
- package/repositoryPolicyMaxFileSize.d.ts +0 -45
- package/repositoryPolicyMaxFileSize.js +0 -45
- package/repositoryPolicyMaxFileSize.js.map +1 -1
- package/repositoryPolicyMaxPathLength.d.ts +0 -45
- package/repositoryPolicyMaxPathLength.js +0 -45
- package/repositoryPolicyMaxPathLength.js.map +1 -1
- package/repositoryPolicyReservedNames.d.ts +0 -43
- package/repositoryPolicyReservedNames.js +0 -43
- package/repositoryPolicyReservedNames.js.map +1 -1
- package/resourceAuthorization.d.ts +0 -25
- package/resourceAuthorization.js +0 -25
- package/resourceAuthorization.js.map +1 -1
- package/security/resourceAuthorization.d.ts +0 -25
- package/security/resourceAuthorization.js +0 -25
- package/security/resourceAuthorization.js.map +1 -1
- package/serviceEndpointArtifactory.d.ts +0 -45
- package/serviceEndpointArtifactory.js +0 -45
- package/serviceEndpointArtifactory.js.map +1 -1
- package/serviceEndpointAws.d.ts +0 -20
- package/serviceEndpointAws.js +0 -20
- package/serviceEndpointAws.js.map +1 -1
- package/serviceEndpointAzureDevOps.d.ts +0 -21
- package/serviceEndpointAzureDevOps.js +0 -21
- package/serviceEndpointAzureDevOps.js.map +1 -1
- package/serviceEndpointAzureEcr.d.ts +0 -23
- package/serviceEndpointAzureEcr.js +0 -23
- package/serviceEndpointAzureEcr.js.map +1 -1
- package/serviceEndpointAzureRM.d.ts +0 -156
- package/serviceEndpointAzureRM.js +0 -156
- package/serviceEndpointAzureRM.js.map +1 -1
- package/serviceEndpointBitBucket.d.ts +0 -20
- package/serviceEndpointBitBucket.js +0 -20
- package/serviceEndpointBitBucket.js.map +1 -1
- package/serviceEndpointDockerRegistry.d.ts +0 -31
- package/serviceEndpointDockerRegistry.js +0 -31
- package/serviceEndpointDockerRegistry.js.map +1 -1
- package/serviceEndpointGeneric.d.ts +0 -21
- package/serviceEndpointGeneric.js +0 -21
- package/serviceEndpointGeneric.js.map +1 -1
- package/serviceEndpointGenericGit.d.ts +0 -21
- package/serviceEndpointGenericGit.js +0 -21
- package/serviceEndpointGenericGit.js.map +1 -1
- package/serviceEndpointGitHub.d.ts +0 -56
- package/serviceEndpointGitHub.js +0 -56
- package/serviceEndpointGitHub.js.map +1 -1
- package/serviceEndpointGitHubEnterprise.d.ts +0 -22
- package/serviceEndpointGitHubEnterprise.js +0 -22
- package/serviceEndpointGitHubEnterprise.js.map +1 -1
- package/serviceEndpointNpm.d.ts +0 -20
- package/serviceEndpointNpm.js +0 -20
- package/serviceEndpointNpm.js.map +1 -1
- package/serviceEndpointPipeline.d.ts +0 -22
- package/serviceEndpointPipeline.js +0 -22
- package/serviceEndpointPipeline.js.map +1 -1
- package/serviceEndpointServiceFabric.d.ts +0 -72
- package/serviceEndpointServiceFabric.js +0 -72
- package/serviceEndpointServiceFabric.js.map +1 -1
- package/serviceEndpointSonarCloud.d.ts +0 -19
- package/serviceEndpointSonarCloud.js +0 -19
- package/serviceEndpointSonarCloud.js.map +1 -1
- package/serviceEndpointSonarQube.d.ts +0 -20
- package/serviceEndpointSonarQube.js +0 -20
- package/serviceEndpointSonarQube.js.map +1 -1
- package/serviceEndpointSsh.d.ts +0 -20
- package/serviceEndpointSsh.js +0 -20
- package/serviceEndpointSsh.js.map +1 -1
- package/serviceendpoint/azureRM.d.ts +0 -156
- package/serviceendpoint/azureRM.js +0 -156
- package/serviceendpoint/azureRM.js.map +1 -1
- package/serviceendpoint/bitBucket.d.ts +0 -20
- package/serviceendpoint/bitBucket.js +0 -20
- package/serviceendpoint/bitBucket.js.map +1 -1
- package/serviceendpoint/dockerRegistry.d.ts +0 -31
- package/serviceendpoint/dockerRegistry.js +0 -31
- package/serviceendpoint/dockerRegistry.js.map +1 -1
- package/serviceendpoint/gitHub.d.ts +0 -56
- package/serviceendpoint/gitHub.js +0 -56
- package/serviceendpoint/gitHub.js.map +1 -1
- package/serviceendpointArgocd.d.ts +0 -44
- package/serviceendpointArgocd.js +0 -44
- package/serviceendpointArgocd.js.map +1 -1
- package/serviceendpointGcpTerraform.d.ts +0 -22
- package/serviceendpointGcpTerraform.js +0 -22
- package/serviceendpointGcpTerraform.js.map +1 -1
- package/serviceendpointIncomingwebhook.d.ts +0 -22
- package/serviceendpointIncomingwebhook.js +0 -22
- package/serviceendpointIncomingwebhook.js.map +1 -1
- package/serviceendpointJenkins.d.ts +0 -23
- package/serviceendpointJenkins.js +0 -23
- package/serviceendpointJenkins.js.map +1 -1
- package/serviceendpointJfrogArtifactoryV2.d.ts +0 -45
- package/serviceendpointJfrogArtifactoryV2.js +0 -45
- package/serviceendpointJfrogArtifactoryV2.js.map +1 -1
- package/serviceendpointJfrogDistributionV2.d.ts +0 -45
- package/serviceendpointJfrogDistributionV2.js +0 -45
- package/serviceendpointJfrogDistributionV2.js.map +1 -1
- package/serviceendpointJfrogPlatformV2.d.ts +0 -45
- package/serviceendpointJfrogPlatformV2.js +0 -45
- package/serviceendpointJfrogPlatformV2.js.map +1 -1
- package/serviceendpointJfrogXrayV2.d.ts +0 -45
- package/serviceendpointJfrogXrayV2.js +0 -45
- package/serviceendpointJfrogXrayV2.js.map +1 -1
- package/serviceendpointMaven.d.ts +0 -49
- package/serviceendpointMaven.js +0 -49
- package/serviceendpointMaven.js.map +1 -1
- package/serviceendpointNexus.d.ts +0 -22
- package/serviceendpointNexus.js +0 -22
- package/serviceendpointNexus.js.map +1 -1
- package/serviceendpointNuget.d.ts +0 -19
- package/serviceendpointNuget.js +0 -19
- package/serviceendpointNuget.js.map +1 -1
- package/serviceendpointOctopusdeploy.d.ts +0 -20
- package/serviceendpointOctopusdeploy.js +0 -20
- package/serviceendpointOctopusdeploy.js.map +1 -1
- package/serviceendpointPermissions.d.ts +0 -48
- package/serviceendpointPermissions.js +0 -48
- package/serviceendpointPermissions.js.map +1 -1
- package/servicehookPermissions.d.ts +0 -27
- package/servicehookPermissions.js +0 -27
- package/servicehookPermissions.js.map +1 -1
- package/taggingPermissions.d.ts +0 -27
- package/taggingPermissions.js +0 -27
- package/taggingPermissions.js.map +1 -1
- package/team.d.ts +0 -26
- package/team.js +0 -26
- package/team.js.map +1 -1
- package/teamAdministrators.d.ts +0 -24
- package/teamAdministrators.js +0 -24
- package/teamAdministrators.js.map +1 -1
- package/teamMembers.d.ts +0 -24
- package/teamMembers.js +0 -24
- package/teamMembers.js.map +1 -1
- package/types/output.d.ts +0 -14
- package/user.d.ts +0 -8
- package/user.js +0 -8
- package/user.js.map +1 -1
- package/variableGroup.d.ts +0 -71
- package/variableGroup.js +0 -71
- package/variableGroup.js.map +1 -1
- package/workItemQueryPermissions.d.ts +0 -105
- package/workItemQueryPermissions.js +0 -105
- package/workItemQueryPermissions.js.map +1 -1
- package/workitem.d.ts +0 -43
- package/workitem.js +0 -43
- package/workitem.js.map +1 -1
- package/scripts/install-pulumi-plugin.js +0 -21
package/agent/getPool.d.ts
CHANGED
|
@@ -2,20 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to access information about an existing Agent Pool within Azure DevOps.
|
|
4
4
|
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
10
|
-
*
|
|
11
|
-
* const example = azuredevops.getPool({
|
|
12
|
-
* name: "Example Agent Pool",
|
|
13
|
-
* });
|
|
14
|
-
* export const name = example.then(example => example.name);
|
|
15
|
-
* export const poolType = example.then(example => example.poolType);
|
|
16
|
-
* export const autoProvision = example.then(example => example.autoProvision);
|
|
17
|
-
* export const autoUpdate = example.then(example => example.autoUpdate);
|
|
18
|
-
* ```
|
|
19
5
|
* ## Relevant Links
|
|
20
6
|
*
|
|
21
7
|
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
@@ -47,20 +33,6 @@ export interface GetPoolResult {
|
|
|
47
33
|
/**
|
|
48
34
|
* Use this data source to access information about an existing Agent Pool within Azure DevOps.
|
|
49
35
|
*
|
|
50
|
-
* ## Example Usage
|
|
51
|
-
*
|
|
52
|
-
* ```typescript
|
|
53
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
55
|
-
*
|
|
56
|
-
* const example = azuredevops.getPool({
|
|
57
|
-
* name: "Example Agent Pool",
|
|
58
|
-
* });
|
|
59
|
-
* export const name = example.then(example => example.name);
|
|
60
|
-
* export const poolType = example.then(example => example.poolType);
|
|
61
|
-
* export const autoProvision = example.then(example => example.autoProvision);
|
|
62
|
-
* export const autoUpdate = example.then(example => example.autoUpdate);
|
|
63
|
-
* ```
|
|
64
36
|
* ## Relevant Links
|
|
65
37
|
*
|
|
66
38
|
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
package/agent/getPool.js
CHANGED
|
@@ -8,20 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to access information about an existing Agent Pool within Azure DevOps.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
-
*
|
|
17
|
-
* const example = azuredevops.getPool({
|
|
18
|
-
* name: "Example Agent Pool",
|
|
19
|
-
* });
|
|
20
|
-
* export const name = example.then(example => example.name);
|
|
21
|
-
* export const poolType = example.then(example => example.poolType);
|
|
22
|
-
* export const autoProvision = example.then(example => example.autoProvision);
|
|
23
|
-
* export const autoUpdate = example.then(example => example.autoUpdate);
|
|
24
|
-
* ```
|
|
25
11
|
* ## Relevant Links
|
|
26
12
|
*
|
|
27
13
|
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
@@ -38,20 +24,6 @@ exports.getPool = getPool;
|
|
|
38
24
|
/**
|
|
39
25
|
* Use this data source to access information about an existing Agent Pool within Azure DevOps.
|
|
40
26
|
*
|
|
41
|
-
* ## Example Usage
|
|
42
|
-
*
|
|
43
|
-
* ```typescript
|
|
44
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
46
|
-
*
|
|
47
|
-
* const example = azuredevops.getPool({
|
|
48
|
-
* name: "Example Agent Pool",
|
|
49
|
-
* });
|
|
50
|
-
* export const name = example.then(example => example.name);
|
|
51
|
-
* export const poolType = example.then(example => example.poolType);
|
|
52
|
-
* export const autoProvision = example.then(example => example.autoProvision);
|
|
53
|
-
* export const autoUpdate = example.then(example => example.autoUpdate);
|
|
54
|
-
* ```
|
|
55
27
|
* ## Relevant Links
|
|
56
28
|
*
|
|
57
29
|
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
package/agent/getPool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPool.js","sourceRoot":"","sources":["../../agent/getPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getPool.js","sourceRoot":"","sources":["../../agent/getPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;GAMG;AACH,gGAAgG;AAChG,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,sGAAsG,CAAC,CAAA;IAEvH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0BAOC;AAyBD;;;;;;GAMG;AACH,gGAAgG;AAChG,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
package/agent/getPools.d.ts
CHANGED
|
@@ -3,18 +3,6 @@ import * as outputs from "../types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* Use this data source to access information about existing Agent Pools within Azure DevOps.
|
|
5
5
|
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
11
|
-
*
|
|
12
|
-
* const example = azuredevops.getPools({});
|
|
13
|
-
* export const agentPoolName = example.then(example => example.agentPools.map(__item => __item.name));
|
|
14
|
-
* export const autoProvision = example.then(example => example.agentPools.map(__item => __item.autoProvision));
|
|
15
|
-
* export const autoUpdate = example.then(example => example.agentPools.map(__item => __item.autoUpdate));
|
|
16
|
-
* export const poolType = example.then(example => example.agentPools.map(__item => __item.poolType));
|
|
17
|
-
* ```
|
|
18
6
|
* ## Relevant Links
|
|
19
7
|
*
|
|
20
8
|
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
@@ -37,18 +25,6 @@ export interface GetPoolsResult {
|
|
|
37
25
|
/**
|
|
38
26
|
* Use this data source to access information about existing Agent Pools within Azure DevOps.
|
|
39
27
|
*
|
|
40
|
-
* ## Example Usage
|
|
41
|
-
*
|
|
42
|
-
* ```typescript
|
|
43
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
45
|
-
*
|
|
46
|
-
* const example = azuredevops.getPools({});
|
|
47
|
-
* export const agentPoolName = example.then(example => example.agentPools.map(__item => __item.name));
|
|
48
|
-
* export const autoProvision = example.then(example => example.agentPools.map(__item => __item.autoProvision));
|
|
49
|
-
* export const autoUpdate = example.then(example => example.agentPools.map(__item => __item.autoUpdate));
|
|
50
|
-
* export const poolType = example.then(example => example.agentPools.map(__item => __item.poolType));
|
|
51
|
-
* ```
|
|
52
28
|
* ## Relevant Links
|
|
53
29
|
*
|
|
54
30
|
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
package/agent/getPools.js
CHANGED
|
@@ -8,18 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to access information about existing Agent Pools within Azure DevOps.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
-
*
|
|
17
|
-
* const example = azuredevops.getPools({});
|
|
18
|
-
* export const agentPoolName = example.then(example => example.agentPools.map(__item => __item.name));
|
|
19
|
-
* export const autoProvision = example.then(example => example.agentPools.map(__item => __item.autoProvision));
|
|
20
|
-
* export const autoUpdate = example.then(example => example.agentPools.map(__item => __item.autoUpdate));
|
|
21
|
-
* export const poolType = example.then(example => example.agentPools.map(__item => __item.poolType));
|
|
22
|
-
* ```
|
|
23
11
|
* ## Relevant Links
|
|
24
12
|
*
|
|
25
13
|
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
@@ -34,18 +22,6 @@ exports.getPools = getPools;
|
|
|
34
22
|
/**
|
|
35
23
|
* Use this data source to access information about existing Agent Pools within Azure DevOps.
|
|
36
24
|
*
|
|
37
|
-
* ## Example Usage
|
|
38
|
-
*
|
|
39
|
-
* ```typescript
|
|
40
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
42
|
-
*
|
|
43
|
-
* const example = azuredevops.getPools({});
|
|
44
|
-
* export const agentPoolName = example.then(example => example.agentPools.map(__item => __item.name));
|
|
45
|
-
* export const autoProvision = example.then(example => example.agentPools.map(__item => __item.autoProvision));
|
|
46
|
-
* export const autoUpdate = example.then(example => example.agentPools.map(__item => __item.autoUpdate));
|
|
47
|
-
* export const poolType = example.then(example => example.agentPools.map(__item => __item.poolType));
|
|
48
|
-
* ```
|
|
49
25
|
* ## Relevant Links
|
|
50
26
|
*
|
|
51
27
|
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
package/agent/getPools.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPools.js","sourceRoot":"","sources":["../../agent/getPools.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getPools.js","sourceRoot":"","sources":["../../agent/getPools.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;GAMG;AACH,kGAAkG;AAClG,SAAgB,QAAQ,CAAC,IAA2B;IAChD,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,yGAAyG,CAAC,CAAA;IAE1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE,EACnE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAeD;;;;;;GAMG;AACH,kGAAkG;AAClG,SAAgB,cAAc,CAAC,IAA2B;IACtD,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAA;AACxC,CAAC;AAFD,wCAEC"}
|
package/agent/pool.d.ts
CHANGED
|
@@ -2,17 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Manages an agent pool within Azure DevOps.
|
|
4
4
|
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
10
|
-
*
|
|
11
|
-
* const example = new azuredevops.Pool("example", {
|
|
12
|
-
* autoProvision: false,
|
|
13
|
-
* autoUpdate: false,
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
5
|
* ## Relevant Links
|
|
17
6
|
*
|
|
18
7
|
* - [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools?view=azure-devops-rest-7.0)
|
package/agent/pool.js
CHANGED
|
@@ -8,17 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages an agent pool within Azure DevOps.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
-
*
|
|
17
|
-
* const example = new azuredevops.Pool("example", {
|
|
18
|
-
* autoProvision: false,
|
|
19
|
-
* autoUpdate: false,
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
11
|
* ## Relevant Links
|
|
23
12
|
*
|
|
24
13
|
* - [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools?view=azure-devops-rest-7.0)
|
package/agent/pool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pool.js","sourceRoot":"","sources":["../../agent/pool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"pool.js","sourceRoot":"","sources":["../../agent/pool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6FAA6F,CAAC,CAAA;QAC9G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IA4BD,0FAA0F;IAC1F,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6FAA6F,CAAC,CAAA;QAC9G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAmC,CAAC;YACjD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA3EL,oBA4EC;AA7DG,gBAAgB;AACO,iBAAY,GAAG,6BAA6B,CAAC"}
|
package/agent/queue.d.ts
CHANGED
|
@@ -6,28 +6,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
* The created queue is not authorized for use by all pipelines in the project. However,
|
|
7
7
|
* the `azuredevops.ResourceAuthorization` resource can be used to grant authorization.
|
|
8
8
|
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
14
|
-
*
|
|
15
|
-
* const exampleProject = new azuredevops.Project("exampleProject", {});
|
|
16
|
-
* const examplePool = azuredevops.getPool({
|
|
17
|
-
* name: "example-pool",
|
|
18
|
-
* });
|
|
19
|
-
* const exampleQueue = new azuredevops.Queue("exampleQueue", {
|
|
20
|
-
* projectId: exampleProject.id,
|
|
21
|
-
* agentPoolId: examplePool.then(examplePool => examplePool.id),
|
|
22
|
-
* });
|
|
23
|
-
* // Grant access to queue to all pipelines in the project
|
|
24
|
-
* const exampleResourceAuthorization = new azuredevops.ResourceAuthorization("exampleResourceAuthorization", {
|
|
25
|
-
* projectId: exampleProject.id,
|
|
26
|
-
* resourceId: exampleQueue.id,
|
|
27
|
-
* type: "queue",
|
|
28
|
-
* authorized: true,
|
|
29
|
-
* });
|
|
30
|
-
* ```
|
|
31
9
|
* ## Relevant Links
|
|
32
10
|
*
|
|
33
11
|
* - [Azure DevOps Service REST API 7.0 - Agent Queues](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/queues?view=azure-devops-rest-7.0)
|
package/agent/queue.js
CHANGED
|
@@ -12,28 +12,6 @@ const utilities = require("../utilities");
|
|
|
12
12
|
* The created queue is not authorized for use by all pipelines in the project. However,
|
|
13
13
|
* the `azuredevops.ResourceAuthorization` resource can be used to grant authorization.
|
|
14
14
|
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
20
|
-
*
|
|
21
|
-
* const exampleProject = new azuredevops.Project("exampleProject", {});
|
|
22
|
-
* const examplePool = azuredevops.getPool({
|
|
23
|
-
* name: "example-pool",
|
|
24
|
-
* });
|
|
25
|
-
* const exampleQueue = new azuredevops.Queue("exampleQueue", {
|
|
26
|
-
* projectId: exampleProject.id,
|
|
27
|
-
* agentPoolId: examplePool.then(examplePool => examplePool.id),
|
|
28
|
-
* });
|
|
29
|
-
* // Grant access to queue to all pipelines in the project
|
|
30
|
-
* const exampleResourceAuthorization = new azuredevops.ResourceAuthorization("exampleResourceAuthorization", {
|
|
31
|
-
* projectId: exampleProject.id,
|
|
32
|
-
* resourceId: exampleQueue.id,
|
|
33
|
-
* type: "queue",
|
|
34
|
-
* authorized: true,
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
15
|
* ## Relevant Links
|
|
38
16
|
*
|
|
39
17
|
* - [Azure DevOps Service REST API 7.0 - Agent Queues](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/queues?view=azure-devops-rest-7.0)
|
package/agent/queue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../agent/queue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../agent/queue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gGAAgG,CAAC,CAAA;QACjH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,U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I,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AArEL,sBAsEC;AAvDG,gBAAgB;AACO,kBAAY,GAAG,+BAA+B,CAAC"}
|
package/areaPermissions.d.ts
CHANGED
|
@@ -9,34 +9,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* Permission for Areas within Azure DevOps can be applied on two different levels.
|
|
10
10
|
* Those levels are reflected by specifying (or omitting) values for the arguments `projectId` and `path`.
|
|
11
11
|
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
17
|
-
*
|
|
18
|
-
* const example = new azuredevops.Project("example", {
|
|
19
|
-
* workItemTemplate: "Agile",
|
|
20
|
-
* versionControl: "Git",
|
|
21
|
-
* visibility: "private",
|
|
22
|
-
* description: "Managed by Terraform",
|
|
23
|
-
* });
|
|
24
|
-
* const example-project-readers = azuredevops.getGroupOutput({
|
|
25
|
-
* projectId: example.id,
|
|
26
|
-
* name: "Readers",
|
|
27
|
-
* });
|
|
28
|
-
* const example_root_permissions = new azuredevops.AreaPermissions("example-root-permissions", {
|
|
29
|
-
* projectId: example.id,
|
|
30
|
-
* principal: example_project_readers.apply(example_project_readers => example_project_readers.id),
|
|
31
|
-
* path: "/",
|
|
32
|
-
* permissions: {
|
|
33
|
-
* CREATE_CHILDREN: "Deny",
|
|
34
|
-
* GENERIC_READ: "Allow",
|
|
35
|
-
* DELETE: "Deny",
|
|
36
|
-
* WORK_ITEM_READ: "Allow",
|
|
37
|
-
* },
|
|
38
|
-
* });
|
|
39
|
-
* ```
|
|
40
12
|
* ## Relevant Links
|
|
41
13
|
*
|
|
42
14
|
* * [Azure DevOps Service REST API 7.0 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-7.0)
|
package/areaPermissions.js
CHANGED
|
@@ -15,34 +15,6 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* Permission for Areas within Azure DevOps can be applied on two different levels.
|
|
16
16
|
* Those levels are reflected by specifying (or omitting) values for the arguments `projectId` and `path`.
|
|
17
17
|
*
|
|
18
|
-
* ## Example Usage
|
|
19
|
-
*
|
|
20
|
-
* ```typescript
|
|
21
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
23
|
-
*
|
|
24
|
-
* const example = new azuredevops.Project("example", {
|
|
25
|
-
* workItemTemplate: "Agile",
|
|
26
|
-
* versionControl: "Git",
|
|
27
|
-
* visibility: "private",
|
|
28
|
-
* description: "Managed by Terraform",
|
|
29
|
-
* });
|
|
30
|
-
* const example-project-readers = azuredevops.getGroupOutput({
|
|
31
|
-
* projectId: example.id,
|
|
32
|
-
* name: "Readers",
|
|
33
|
-
* });
|
|
34
|
-
* const example_root_permissions = new azuredevops.AreaPermissions("example-root-permissions", {
|
|
35
|
-
* projectId: example.id,
|
|
36
|
-
* principal: example_project_readers.apply(example_project_readers => example_project_readers.id),
|
|
37
|
-
* path: "/",
|
|
38
|
-
* permissions: {
|
|
39
|
-
* CREATE_CHILDREN: "Deny",
|
|
40
|
-
* GENERIC_READ: "Allow",
|
|
41
|
-
* DELETE: "Deny",
|
|
42
|
-
* WORK_ITEM_READ: "Allow",
|
|
43
|
-
* },
|
|
44
|
-
* });
|
|
45
|
-
* ```
|
|
46
18
|
* ## Relevant Links
|
|
47
19
|
*
|
|
48
20
|
* * [Azure DevOps Service REST API 7.0 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-7.0)
|
package/areaPermissions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"areaPermissions.js","sourceRoot":"","sources":["../areaPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"areaPermissions.js","sourceRoot":"","sources":["../areaPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA0CD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SA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AAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAjGL,0CAkGC;AApFG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -4,40 +4,6 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Manages required reviewer policy branch policy within Azure DevOps.
|
|
6
6
|
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
12
|
-
*
|
|
13
|
-
* const exampleProject = new azuredevops.Project("exampleProject", {});
|
|
14
|
-
* const exampleGit = new azuredevops.Git("exampleGit", {
|
|
15
|
-
* projectId: exampleProject.id,
|
|
16
|
-
* initialization: {
|
|
17
|
-
* initType: "Clean",
|
|
18
|
-
* },
|
|
19
|
-
* });
|
|
20
|
-
* const exampleUser = new azuredevops.User("exampleUser", {
|
|
21
|
-
* principalName: "mail@email.com",
|
|
22
|
-
* accountLicenseType: "basic",
|
|
23
|
-
* });
|
|
24
|
-
* const exampleBranchPolicyAutoReviewers = new azuredevops.BranchPolicyAutoReviewers("exampleBranchPolicyAutoReviewers", {
|
|
25
|
-
* projectId: exampleProject.id,
|
|
26
|
-
* enabled: true,
|
|
27
|
-
* blocking: true,
|
|
28
|
-
* settings: {
|
|
29
|
-
* autoReviewerIds: [exampleUser.id],
|
|
30
|
-
* submitterCanVote: false,
|
|
31
|
-
* message: "Auto reviewer",
|
|
32
|
-
* pathFilters: ["*/src/*.ts"],
|
|
33
|
-
* scopes: [{
|
|
34
|
-
* repositoryId: exampleGit.id,
|
|
35
|
-
* repositoryRef: exampleGit.defaultBranch,
|
|
36
|
-
* matchType: "Exact",
|
|
37
|
-
* }],
|
|
38
|
-
* },
|
|
39
|
-
* });
|
|
40
|
-
* ```
|
|
41
7
|
* ## Relevant Links
|
|
42
8
|
*
|
|
43
9
|
* - [Azure DevOps Service REST API 7.0 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-7.0)
|
|
@@ -8,40 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages required reviewer policy branch policy within Azure DevOps.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
-
*
|
|
17
|
-
* const exampleProject = new azuredevops.Project("exampleProject", {});
|
|
18
|
-
* const exampleGit = new azuredevops.Git("exampleGit", {
|
|
19
|
-
* projectId: exampleProject.id,
|
|
20
|
-
* initialization: {
|
|
21
|
-
* initType: "Clean",
|
|
22
|
-
* },
|
|
23
|
-
* });
|
|
24
|
-
* const exampleUser = new azuredevops.User("exampleUser", {
|
|
25
|
-
* principalName: "mail@email.com",
|
|
26
|
-
* accountLicenseType: "basic",
|
|
27
|
-
* });
|
|
28
|
-
* const exampleBranchPolicyAutoReviewers = new azuredevops.BranchPolicyAutoReviewers("exampleBranchPolicyAutoReviewers", {
|
|
29
|
-
* projectId: exampleProject.id,
|
|
30
|
-
* enabled: true,
|
|
31
|
-
* blocking: true,
|
|
32
|
-
* settings: {
|
|
33
|
-
* autoReviewerIds: [exampleUser.id],
|
|
34
|
-
* submitterCanVote: false,
|
|
35
|
-
* message: "Auto reviewer",
|
|
36
|
-
* pathFilters: ["*/src/*.ts"],
|
|
37
|
-
* scopes: [{
|
|
38
|
-
* repositoryId: exampleGit.id,
|
|
39
|
-
* repositoryRef: exampleGit.defaultBranch,
|
|
40
|
-
* matchType: "Exact",
|
|
41
|
-
* }],
|
|
42
|
-
* },
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
11
|
* ## Relevant Links
|
|
46
12
|
*
|
|
47
13
|
* - [Azure DevOps Service REST API 7.0 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-7.0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchPolicyAutoReviewers.js","sourceRoot":"","sources":["../branchPolicyAutoReviewers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"branchPolicyAutoReviewers.js","sourceRoot":"","sources":["../branchPolicyAutoReviewers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY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AAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AA7EL,8DA8EC;AAhEG,gBAAgB;AACO,sCAAY,GAAG,uEAAuE,CAAC"}
|
|
@@ -4,58 +4,6 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Manages a build validation branch policy within Azure DevOps.
|
|
6
6
|
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
12
|
-
*
|
|
13
|
-
* const exampleProject = new azuredevops.Project("exampleProject", {});
|
|
14
|
-
* const exampleGit = new azuredevops.Git("exampleGit", {
|
|
15
|
-
* projectId: exampleProject.id,
|
|
16
|
-
* initialization: {
|
|
17
|
-
* initType: "Clean",
|
|
18
|
-
* },
|
|
19
|
-
* });
|
|
20
|
-
* const exampleBuildDefinition = new azuredevops.BuildDefinition("exampleBuildDefinition", {
|
|
21
|
-
* projectId: exampleProject.id,
|
|
22
|
-
* repository: {
|
|
23
|
-
* repoType: "TfsGit",
|
|
24
|
-
* repoId: exampleGit.id,
|
|
25
|
-
* ymlPath: "azure-pipelines.yml",
|
|
26
|
-
* },
|
|
27
|
-
* });
|
|
28
|
-
* const exampleBranchPolicyBuildValidation = new azuredevops.BranchPolicyBuildValidation("exampleBranchPolicyBuildValidation", {
|
|
29
|
-
* projectId: exampleProject.id,
|
|
30
|
-
* enabled: true,
|
|
31
|
-
* blocking: true,
|
|
32
|
-
* settings: {
|
|
33
|
-
* displayName: "Example build validation policy",
|
|
34
|
-
* buildDefinitionId: exampleBuildDefinition.id,
|
|
35
|
-
* validDuration: 720,
|
|
36
|
-
* filenamePatterns: [
|
|
37
|
-
* "/WebApp/*",
|
|
38
|
-
* "!/WebApp/Tests/*",
|
|
39
|
-
* "*.cs",
|
|
40
|
-
* ],
|
|
41
|
-
* scopes: [
|
|
42
|
-
* {
|
|
43
|
-
* repositoryId: exampleGit.id,
|
|
44
|
-
* repositoryRef: exampleGit.defaultBranch,
|
|
45
|
-
* matchType: "Exact",
|
|
46
|
-
* },
|
|
47
|
-
* {
|
|
48
|
-
* repositoryId: exampleGit.id,
|
|
49
|
-
* repositoryRef: "refs/heads/releases",
|
|
50
|
-
* matchType: "Prefix",
|
|
51
|
-
* },
|
|
52
|
-
* {
|
|
53
|
-
* matchType: "DefaultBranch",
|
|
54
|
-
* },
|
|
55
|
-
* ],
|
|
56
|
-
* },
|
|
57
|
-
* });
|
|
58
|
-
* ```
|
|
59
7
|
* ## Relevant Links
|
|
60
8
|
*
|
|
61
9
|
* - [Azure DevOps Service REST API 7.0 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-7.0)
|
|
@@ -8,58 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages a build validation branch policy within Azure DevOps.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
-
*
|
|
17
|
-
* const exampleProject = new azuredevops.Project("exampleProject", {});
|
|
18
|
-
* const exampleGit = new azuredevops.Git("exampleGit", {
|
|
19
|
-
* projectId: exampleProject.id,
|
|
20
|
-
* initialization: {
|
|
21
|
-
* initType: "Clean",
|
|
22
|
-
* },
|
|
23
|
-
* });
|
|
24
|
-
* const exampleBuildDefinition = new azuredevops.BuildDefinition("exampleBuildDefinition", {
|
|
25
|
-
* projectId: exampleProject.id,
|
|
26
|
-
* repository: {
|
|
27
|
-
* repoType: "TfsGit",
|
|
28
|
-
* repoId: exampleGit.id,
|
|
29
|
-
* ymlPath: "azure-pipelines.yml",
|
|
30
|
-
* },
|
|
31
|
-
* });
|
|
32
|
-
* const exampleBranchPolicyBuildValidation = new azuredevops.BranchPolicyBuildValidation("exampleBranchPolicyBuildValidation", {
|
|
33
|
-
* projectId: exampleProject.id,
|
|
34
|
-
* enabled: true,
|
|
35
|
-
* blocking: true,
|
|
36
|
-
* settings: {
|
|
37
|
-
* displayName: "Example build validation policy",
|
|
38
|
-
* buildDefinitionId: exampleBuildDefinition.id,
|
|
39
|
-
* validDuration: 720,
|
|
40
|
-
* filenamePatterns: [
|
|
41
|
-
* "/WebApp/*",
|
|
42
|
-
* "!/WebApp/Tests/*",
|
|
43
|
-
* "*.cs",
|
|
44
|
-
* ],
|
|
45
|
-
* scopes: [
|
|
46
|
-
* {
|
|
47
|
-
* repositoryId: exampleGit.id,
|
|
48
|
-
* repositoryRef: exampleGit.defaultBranch,
|
|
49
|
-
* matchType: "Exact",
|
|
50
|
-
* },
|
|
51
|
-
* {
|
|
52
|
-
* repositoryId: exampleGit.id,
|
|
53
|
-
* repositoryRef: "refs/heads/releases",
|
|
54
|
-
* matchType: "Prefix",
|
|
55
|
-
* },
|
|
56
|
-
* {
|
|
57
|
-
* matchType: "DefaultBranch",
|
|
58
|
-
* },
|
|
59
|
-
* ],
|
|
60
|
-
* },
|
|
61
|
-
* });
|
|
62
|
-
* ```
|
|
63
11
|
* ## Relevant Links
|
|
64
12
|
*
|
|
65
13
|
* - [Azure DevOps Service REST API 7.0 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-7.0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchPolicyBuildValidation.js","sourceRoot":"","sources":["../branchPolicyBuildValidation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"branchPolicyBuildValidation.js","sourceRoot":"","sources":["../branchPolicyBuildValidation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAgF,EAAE,IAAmC;QAC3I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2D,CAAC;YAC1E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS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,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,4EAA4E,EAAE,CAAC,EAAE,CAAC;QACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AA/EL,kEAgFC;AAlEG,gBAAgB;AACO,wCAAY,GAAG,2EAA2E,CAAC"}
|
|
@@ -4,42 +4,6 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Configure a comment resolution policy for your branch within Azure DevOps project.
|
|
6
6
|
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
12
|
-
*
|
|
13
|
-
* const exampleProject = new azuredevops.Project("exampleProject", {});
|
|
14
|
-
* const exampleGit = new azuredevops.Git("exampleGit", {
|
|
15
|
-
* projectId: exampleProject.id,
|
|
16
|
-
* initialization: {
|
|
17
|
-
* initType: "Clean",
|
|
18
|
-
* },
|
|
19
|
-
* });
|
|
20
|
-
* const exampleBranchPolicyCommentResolution = new azuredevops.BranchPolicyCommentResolution("exampleBranchPolicyCommentResolution", {
|
|
21
|
-
* projectId: exampleProject.id,
|
|
22
|
-
* enabled: true,
|
|
23
|
-
* blocking: true,
|
|
24
|
-
* settings: {
|
|
25
|
-
* scopes: [
|
|
26
|
-
* {
|
|
27
|
-
* repositoryId: exampleGit.id,
|
|
28
|
-
* repositoryRef: exampleGit.defaultBranch,
|
|
29
|
-
* matchType: "Exact",
|
|
30
|
-
* },
|
|
31
|
-
* {
|
|
32
|
-
* repositoryId: exampleGit.id,
|
|
33
|
-
* repositoryRef: "refs/heads/releases",
|
|
34
|
-
* matchType: "Prefix",
|
|
35
|
-
* },
|
|
36
|
-
* {
|
|
37
|
-
* matchType: "DefaultBranch",
|
|
38
|
-
* },
|
|
39
|
-
* ],
|
|
40
|
-
* },
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
7
|
* ## Relevant Links
|
|
44
8
|
*
|
|
45
9
|
* - [Azure DevOps Service REST API 7.0 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-7.0)
|