@pulumi/azuredevops 2.16.0-alpha.1710156155 → 3.0.0-alpha.1768022601
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/areaPermissions.d.ts +39 -40
- package/areaPermissions.js +18 -19
- package/areaPermissions.js.map +1 -1
- package/branchPolicyAutoReviewers.d.ts +10 -11
- package/branchPolicyAutoReviewers.js +19 -20
- package/branchPolicyAutoReviewers.js.map +1 -1
- package/branchPolicyBuildValidation.d.ts +13 -12
- package/branchPolicyBuildValidation.js +22 -21
- package/branchPolicyBuildValidation.js.map +1 -1
- package/branchPolicyCommentResolution.d.ts +9 -10
- package/branchPolicyCommentResolution.js +18 -19
- package/branchPolicyCommentResolution.js.map +1 -1
- package/branchPolicyMergeTypes.d.ts +10 -11
- package/branchPolicyMergeTypes.js +19 -20
- package/branchPolicyMergeTypes.js.map +1 -1
- package/branchPolicyMinReviewers.d.ts +7 -8
- package/branchPolicyMinReviewers.js +19 -22
- package/branchPolicyMinReviewers.js.map +1 -1
- package/branchPolicyStatusCheck.d.ts +12 -12
- package/branchPolicyStatusCheck.js +21 -21
- package/branchPolicyStatusCheck.js.map +1 -1
- package/branchPolicyWorkItemLinking.d.ts +9 -10
- package/branchPolicyWorkItemLinking.js +18 -19
- package/branchPolicyWorkItemLinking.js.map +1 -1
- package/buildDefinition.d.ts +243 -28
- package/buildDefinition.js +217 -50
- package/buildDefinition.js.map +1 -1
- package/buildDefinitionPermissions.d.ts +70 -63
- package/buildDefinitionPermissions.js +29 -28
- package/buildDefinitionPermissions.js.map +1 -1
- package/buildFolder.d.ts +4 -5
- package/buildFolder.js +14 -15
- package/buildFolder.js.map +1 -1
- package/buildFolderPermissions.d.ts +19 -18
- package/buildFolderPermissions.js +32 -34
- package/buildFolderPermissions.js.map +1 -1
- package/checkApproval.d.ts +16 -7
- package/checkApproval.js +32 -29
- package/checkApproval.js.map +1 -1
- package/checkBranchControl.d.ts +48 -45
- package/checkBranchControl.js +60 -63
- package/checkBranchControl.js.map +1 -1
- package/checkBusinessHours.d.ts +48 -45
- package/checkBusinessHours.js +77 -80
- package/checkBusinessHours.js.map +1 -1
- package/checkExclusiveLock.d.ts +46 -17
- package/checkExclusiveLock.js +50 -27
- package/checkExclusiveLock.js.map +1 -1
- package/checkRequiredTemplate.d.ts +21 -14
- package/checkRequiredTemplate.js +29 -28
- package/checkRequiredTemplate.js.map +1 -1
- package/checkRestApi.d.ts +300 -0
- package/checkRestApi.js +161 -0
- package/checkRestApi.js.map +1 -0
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +68 -0
- package/config/vars.js +104 -3
- package/config/vars.js.map +1 -1
- package/dashboard.d.ts +166 -0
- package/dashboard.js +124 -0
- package/dashboard.js.map +1 -0
- package/elasticPool.d.ts +21 -9
- package/elasticPool.js +40 -38
- package/elasticPool.js.map +1 -1
- package/environment.d.ts +7 -5
- package/environment.js +16 -14
- package/environment.js.map +1 -1
- package/environmentResourceKubernetes.d.ts +176 -0
- package/environmentResourceKubernetes.js +129 -0
- package/environmentResourceKubernetes.js.map +1 -0
- package/extension.d.ts +136 -0
- package/extension.js +95 -0
- package/extension.js.map +1 -0
- package/feed.d.ts +142 -0
- package/feed.js +115 -0
- package/feed.js.map +1 -0
- package/feedPermission.d.ts +146 -0
- package/feedPermission.js +110 -0
- package/feedPermission.js.map +1 -0
- package/feedRetentionPolicy.d.ts +144 -0
- package/feedRetentionPolicy.js +124 -0
- package/feedRetentionPolicy.js.map +1 -0
- package/getAgentQueue.d.ts +15 -17
- package/getAgentQueue.js +18 -16
- package/getAgentQueue.js.map +1 -1
- package/getArea.d.ts +10 -12
- package/getArea.js +15 -12
- package/getArea.js.map +1 -1
- package/getBuildDefinition.d.ts +21 -13
- package/getBuildDefinition.js +15 -14
- package/getBuildDefinition.js.map +1 -1
- package/getClientConfig.d.ts +20 -5
- package/getClientConfig.js +3 -6
- package/getClientConfig.js.map +1 -1
- package/getDescriptor.d.ts +73 -0
- package/getDescriptor.js +60 -0
- package/getDescriptor.js.map +1 -0
- package/getEnvironment.d.ts +57 -1
- package/getEnvironment.js +63 -2
- package/getEnvironment.js.map +1 -1
- package/getFeed.d.ts +128 -0
- package/getFeed.js +94 -0
- package/getFeed.js.map +1 -0
- package/getGitRepository.d.ts +16 -14
- package/getGitRepository.js +10 -8
- package/getGitRepository.js.map +1 -1
- package/getGitRepositoryFile.d.ts +114 -0
- package/getGitRepositoryFile.js +76 -0
- package/getGitRepositoryFile.js.map +1 -0
- package/getGroup.d.ts +36 -26
- package/getGroup.js +32 -22
- package/getGroup.js.map +1 -1
- package/getGroupMembership.d.ts +71 -0
- package/getGroupMembership.js +58 -0
- package/getGroupMembership.js.map +1 -0
- package/getGroups.d.ts +12 -12
- package/getGroups.js +14 -10
- package/getGroups.js.map +1 -1
- package/getIdentityGroup.d.ts +91 -0
- package/getIdentityGroup.js +64 -0
- package/getIdentityGroup.js.map +1 -0
- package/getIdentityGroups.d.ts +84 -0
- package/getIdentityGroups.js +72 -0
- package/getIdentityGroups.js.map +1 -0
- package/getIdentityUsers.d.ts +54 -0
- package/getIdentityUsers.js +30 -0
- package/getIdentityUsers.js.map +1 -0
- package/getIteration.d.ts +9 -11
- package/getIteration.js +15 -12
- package/getIteration.js.map +1 -1
- package/getPool.d.ts +15 -7
- package/getPool.js +7 -8
- package/getPool.js.map +1 -1
- package/getPools.d.ts +4 -8
- package/getPools.js +5 -8
- package/getPools.js.map +1 -1
- package/getProject.d.ts +34 -6
- package/getProject.js +17 -6
- package/getProject.js.map +1 -1
- package/getProjects.d.ts +5 -9
- package/getProjects.js +7 -6
- package/getProjects.js.map +1 -1
- package/getRepositories.d.ts +14 -10
- package/getRepositories.js +16 -10
- package/getRepositories.js.map +1 -1
- package/getSecurityroleDefinitions.d.ts +81 -0
- package/getSecurityroleDefinitions.js +60 -0
- package/getSecurityroleDefinitions.js.map +1 -0
- package/getServiceEndpointAzureRM.d.ts +25 -25
- package/getServiceEndpointAzureRM.js +7 -10
- package/getServiceEndpointAzureRM.js.map +1 -1
- package/getServiceEndpointGithub.d.ts +7 -15
- package/getServiceEndpointGithub.js +7 -10
- package/getServiceEndpointGithub.js.map +1 -1
- package/getServicePrincipal.d.ts +73 -0
- package/getServicePrincipal.js +52 -0
- package/getServicePrincipal.js.map +1 -0
- package/getServiceendpointAzurecr.d.ts +4 -8
- package/getServiceendpointAzurecr.js +9 -8
- package/getServiceendpointAzurecr.js.map +1 -1
- package/getServiceendpointBitbucket.d.ts +147 -0
- package/getServiceendpointBitbucket.js +108 -0
- package/getServiceendpointBitbucket.js.map +1 -0
- package/getServiceendpointDockerregistry.d.ts +159 -0
- package/getServiceendpointDockerregistry.js +100 -0
- package/getServiceendpointDockerregistry.js.map +1 -0
- package/getServiceendpointGenericV2.d.ts +86 -0
- package/getServiceendpointGenericV2.js +32 -0
- package/getServiceendpointGenericV2.js.map +1 -0
- package/getServiceendpointNpm.d.ts +6 -10
- package/getServiceendpointNpm.js +9 -8
- package/getServiceendpointNpm.js.map +1 -1
- package/getServiceendpointSonarcloud.d.ts +5 -9
- package/getServiceendpointSonarcloud.js +9 -8
- package/getServiceendpointSonarcloud.js.map +1 -1
- package/getStorageKey.d.ts +73 -0
- package/getStorageKey.js +60 -0
- package/getStorageKey.js.map +1 -0
- package/getTeam.d.ts +19 -14
- package/getTeam.js +15 -12
- package/getTeam.js.map +1 -1
- package/getTeams.d.ts +5 -10
- package/getTeams.js +9 -8
- package/getTeams.js.map +1 -1
- package/getUser.d.ts +99 -0
- package/getUser.js +62 -0
- package/getUser.js.map +1 -0
- package/getUsers.d.ts +70 -106
- package/getUsers.js +12 -70
- package/getUsers.js.map +1 -1
- package/getVariableGroup.d.ts +11 -15
- package/getVariableGroup.js +16 -16
- package/getVariableGroup.js.map +1 -1
- package/getWorkitemtrackingprocessProcess.d.ts +110 -0
- package/getWorkitemtrackingprocessProcess.js +62 -0
- package/getWorkitemtrackingprocessProcess.js.map +1 -0
- package/getWorkitemtrackingprocessProcesses.d.ts +70 -0
- package/getWorkitemtrackingprocessProcesses.js +58 -0
- package/getWorkitemtrackingprocessProcesses.js.map +1 -0
- package/getWorkitemtrackingprocessWorkitemtype.d.ts +112 -0
- package/getWorkitemtrackingprocessWorkitemtype.js +64 -0
- package/getWorkitemtrackingprocessWorkitemtype.js.map +1 -0
- package/getWorkitemtrackingprocessWorkitemtypes.d.ts +74 -0
- package/getWorkitemtrackingprocessWorkitemtypes.js +60 -0
- package/getWorkitemtrackingprocessWorkitemtypes.js.map +1 -0
- package/git.d.ts +15 -49
- package/git.js +22 -68
- package/git.js.map +1 -1
- package/gitPermissions.d.ts +45 -40
- package/gitPermissions.js +47 -48
- package/gitPermissions.js.map +1 -1
- package/gitRepositoryBranch.d.ts +17 -7
- package/gitRepositoryBranch.js +31 -21
- package/gitRepositoryBranch.js.map +1 -1
- package/gitRepositoryFile.d.ts +96 -12
- package/gitRepositoryFile.js +70 -23
- package/gitRepositoryFile.js.map +1 -1
- package/group.d.ts +24 -12
- package/group.js +29 -31
- package/group.js.map +1 -1
- package/groupEntitlement.d.ts +7 -13
- package/groupEntitlement.js +15 -21
- package/groupEntitlement.js.map +1 -1
- package/groupMembership.d.ts +26 -23
- package/groupMembership.js +15 -23
- package/groupMembership.js.map +1 -1
- package/index.d.ts +158 -14
- package/index.js +247 -27
- package/index.js.map +1 -1
- package/iterativePermissions.d.ts +24 -25
- package/iterativePermissions.js +18 -19
- package/iterativePermissions.js.map +1 -1
- package/libraryPermissions.d.ts +171 -0
- package/libraryPermissions.js +118 -0
- package/libraryPermissions.js.map +1 -0
- package/package.json +4 -3
- package/pipelineAuthorization.d.ts +50 -22
- package/pipelineAuthorization.js +35 -32
- package/pipelineAuthorization.js.map +1 -1
- package/pool.d.ts +3 -4
- package/pool.js +13 -16
- package/pool.js.map +1 -1
- package/project.d.ts +55 -34
- package/project.js +22 -24
- package/project.js.map +1 -1
- package/projectFeatures.d.ts +38 -21
- package/projectFeatures.js +10 -13
- package/projectFeatures.js.map +1 -1
- package/projectPermissions.d.ts +6 -7
- package/projectPermissions.js +16 -17
- package/projectPermissions.js.map +1 -1
- package/projectPipelineSettings.d.ts +17 -21
- package/projectPipelineSettings.js +22 -23
- package/projectPipelineSettings.js.map +1 -1
- package/projectTags.d.ts +97 -0
- package/projectTags.js +94 -0
- package/projectTags.js.map +1 -0
- package/provider.d.ts +134 -0
- package/provider.js +29 -5
- package/provider.js.map +1 -1
- package/queue.d.ts +13 -17
- package/queue.js +19 -22
- package/queue.js.map +1 -1
- package/repositoryPolicyAuthorEmailPattern.d.ts +19 -17
- package/repositoryPolicyAuthorEmailPattern.js +27 -28
- package/repositoryPolicyAuthorEmailPattern.js.map +1 -1
- package/repositoryPolicyCaseEnforcement.d.ts +13 -14
- package/repositoryPolicyCaseEnforcement.js +27 -28
- package/repositoryPolicyCaseEnforcement.js.map +1 -1
- package/repositoryPolicyCheckCredentials.d.ts +13 -14
- package/repositoryPolicyCheckCredentials.js +24 -25
- package/repositoryPolicyCheckCredentials.js.map +1 -1
- package/repositoryPolicyFilePathPattern.d.ts +10 -11
- package/repositoryPolicyFilePathPattern.js +24 -25
- package/repositoryPolicyFilePathPattern.js.map +1 -1
- package/repositoryPolicyMaxFileSize.d.ts +16 -17
- package/repositoryPolicyMaxFileSize.js +27 -28
- package/repositoryPolicyMaxFileSize.js.map +1 -1
- package/repositoryPolicyMaxPathLength.d.ts +13 -14
- package/repositoryPolicyMaxPathLength.js +27 -28
- package/repositoryPolicyMaxPathLength.js.map +1 -1
- package/repositoryPolicyReservedNames.d.ts +13 -14
- package/repositoryPolicyReservedNames.js +24 -25
- package/repositoryPolicyReservedNames.js.map +1 -1
- package/resourceAuthorization.d.ts +24 -25
- package/resourceAuthorization.js +24 -25
- package/resourceAuthorization.js.map +1 -1
- package/securityroleAssignment.d.ts +129 -0
- package/securityroleAssignment.js +112 -0
- package/securityroleAssignment.js.map +1 -0
- package/serviceEndpointArtifactory.d.ts +26 -25
- package/serviceEndpointArtifactory.js +33 -35
- package/serviceEndpointArtifactory.js.map +1 -1
- package/serviceEndpointAws.d.ts +23 -15
- package/serviceEndpointAws.js +33 -38
- package/serviceEndpointAws.js.map +1 -1
- package/serviceEndpointAzureDevOps.d.ts +9 -13
- package/serviceEndpointAzureDevOps.js +24 -34
- package/serviceEndpointAzureDevOps.js.map +1 -1
- package/serviceEndpointAzureEcr.d.ts +104 -18
- package/serviceEndpointAzureEcr.js +89 -49
- package/serviceEndpointAzureEcr.js.map +1 -1
- package/serviceEndpointAzureRM.d.ts +110 -56
- package/serviceEndpointAzureRM.js +113 -71
- package/serviceEndpointAzureRM.js.map +1 -1
- package/serviceEndpointBitBucket.d.ts +10 -14
- package/serviceEndpointBitBucket.js +24 -33
- package/serviceEndpointBitBucket.js.map +1 -1
- package/serviceEndpointDockerRegistry.d.ts +9 -13
- package/serviceEndpointDockerRegistry.js +29 -38
- package/serviceEndpointDockerRegistry.js.map +1 -1
- package/serviceEndpointGeneric.d.ts +7 -13
- package/serviceEndpointGeneric.js +26 -29
- package/serviceEndpointGeneric.js.map +1 -1
- package/serviceEndpointGenericGit.d.ts +8 -14
- package/serviceEndpointGenericGit.js +29 -32
- package/serviceEndpointGenericGit.js.map +1 -1
- package/serviceEndpointGitHub.d.ts +26 -23
- package/serviceEndpointGitHub.js +33 -38
- package/serviceEndpointGitHub.js.map +1 -1
- package/serviceEndpointGitHubEnterprise.d.ts +57 -15
- package/serviceEndpointGitHubEnterprise.js +50 -30
- package/serviceEndpointGitHubEnterprise.js.map +1 -1
- package/serviceEndpointGitLab.d.ts +143 -0
- package/serviceEndpointGitLab.js +116 -0
- package/serviceEndpointGitLab.js.map +1 -0
- package/serviceEndpointKubernetes.d.ts +84 -13
- package/serviceEndpointKubernetes.js +99 -27
- package/serviceEndpointKubernetes.js.map +1 -1
- package/serviceEndpointNpm.d.ts +8 -12
- package/serviceEndpointNpm.js +26 -27
- package/serviceEndpointNpm.js.map +1 -1
- package/serviceEndpointPipeline.d.ts +8 -12
- package/serviceEndpointPipeline.js +26 -27
- package/serviceEndpointPipeline.js.map +1 -1
- package/serviceEndpointServiceFabric.d.ts +45 -22
- package/serviceEndpointServiceFabric.js +36 -37
- package/serviceEndpointServiceFabric.js.map +1 -1
- package/serviceEndpointSonarCloud.d.ts +11 -15
- package/serviceEndpointSonarCloud.js +23 -24
- package/serviceEndpointSonarCloud.js.map +1 -1
- package/serviceEndpointSonarQube.d.ts +11 -15
- package/serviceEndpointSonarQube.js +26 -27
- package/serviceEndpointSonarQube.js.map +1 -1
- package/serviceEndpointSsh.d.ts +7 -13
- package/serviceEndpointSsh.js +31 -34
- package/serviceEndpointSsh.js.map +1 -1
- package/servicePrincipalEntitlement.d.ts +122 -0
- package/servicePrincipalEntitlement.js +84 -0
- package/servicePrincipalEntitlement.js.map +1 -0
- package/serviceendpointArgocd.d.ts +12 -17
- package/serviceendpointArgocd.js +31 -33
- package/serviceendpointArgocd.js.map +1 -1
- package/serviceendpointAzureServiceBus.d.ts +130 -0
- package/serviceendpointAzureServiceBus.js +110 -0
- package/serviceendpointAzureServiceBus.js.map +1 -0
- package/serviceendpointBlackDuck.d.ts +130 -0
- package/serviceendpointBlackDuck.js +110 -0
- package/serviceendpointBlackDuck.js.map +1 -0
- package/serviceendpointCheckmarxOne.d.ts +196 -0
- package/serviceendpointCheckmarxOne.js +137 -0
- package/serviceendpointCheckmarxOne.js.map +1 -0
- package/serviceendpointCheckmarxSast.d.ts +168 -0
- package/serviceendpointCheckmarxSast.js +121 -0
- package/serviceendpointCheckmarxSast.js.map +1 -0
- package/serviceendpointCheckmarxSca.d.ts +193 -0
- package/serviceendpointCheckmarxSca.js +135 -0
- package/serviceendpointCheckmarxSca.js.map +1 -0
- package/serviceendpointDynamicsLifecycleServices.d.ts +169 -0
- package/serviceendpointDynamicsLifecycleServices.js +128 -0
- package/serviceendpointDynamicsLifecycleServices.js.map +1 -0
- package/serviceendpointExternaltfs.d.ts +33 -8
- package/serviceendpointExternaltfs.js +48 -20
- package/serviceendpointExternaltfs.js.map +1 -1
- package/serviceendpointGcpTerraform.d.ts +14 -18
- package/serviceendpointGcpTerraform.js +30 -40
- package/serviceendpointGcpTerraform.js.map +1 -1
- package/serviceendpointGenericV2.d.ts +209 -0
- package/serviceendpointGenericV2.js +132 -0
- package/serviceendpointGenericV2.js.map +1 -0
- package/serviceendpointIncomingwebhook.d.ts +8 -12
- package/serviceendpointIncomingwebhook.js +25 -29
- package/serviceendpointIncomingwebhook.js.map +1 -1
- package/serviceendpointJenkins.d.ts +6 -10
- package/serviceendpointJenkins.js +29 -30
- package/serviceendpointJenkins.js.map +1 -1
- package/serviceendpointJfrogArtifactoryV2.d.ts +20 -25
- package/serviceendpointJfrogArtifactoryV2.js +33 -35
- package/serviceendpointJfrogArtifactoryV2.js.map +1 -1
- package/serviceendpointJfrogDistributionV2.d.ts +20 -25
- package/serviceendpointJfrogDistributionV2.js +33 -35
- package/serviceendpointJfrogDistributionV2.js.map +1 -1
- package/serviceendpointJfrogPlatformV2.d.ts +20 -25
- package/serviceendpointJfrogPlatformV2.js +33 -35
- package/serviceendpointJfrogPlatformV2.js.map +1 -1
- package/serviceendpointJfrogXrayV2.d.ts +20 -25
- package/serviceendpointJfrogXrayV2.js +33 -35
- package/serviceendpointJfrogXrayV2.js.map +1 -1
- package/serviceendpointMaven.d.ts +11 -16
- package/serviceendpointMaven.js +33 -35
- package/serviceendpointMaven.js.map +1 -1
- package/serviceendpointNexus.d.ts +6 -10
- package/serviceendpointNexus.js +27 -28
- package/serviceendpointNexus.js.map +1 -1
- package/serviceendpointNuget.d.ts +7 -11
- package/serviceendpointNuget.js +30 -31
- package/serviceendpointNuget.js.map +1 -1
- package/serviceendpointOctopusdeploy.d.ts +7 -11
- package/serviceendpointOctopusdeploy.js +27 -28
- package/serviceendpointOctopusdeploy.js.map +1 -1
- package/serviceendpointOpenshift.d.ts +227 -0
- package/serviceendpointOpenshift.js +157 -0
- package/serviceendpointOpenshift.js.map +1 -0
- package/serviceendpointPermissions.d.ts +33 -34
- package/serviceendpointPermissions.js +24 -25
- package/serviceendpointPermissions.js.map +1 -1
- package/serviceendpointSnyk.d.ts +130 -0
- package/serviceendpointSnyk.js +110 -0
- package/serviceendpointSnyk.js.map +1 -0
- package/serviceendpointVisualstudiomarketplace.d.ts +178 -0
- package/serviceendpointVisualstudiomarketplace.js +135 -0
- package/serviceendpointVisualstudiomarketplace.js.map +1 -0
- package/servicehookPermissions.d.ts +25 -26
- package/servicehookPermissions.js +16 -17
- package/servicehookPermissions.js.map +1 -1
- package/servicehookStorageQueuePipelines.d.ts +23 -20
- package/servicehookStorageQueuePipelines.js +45 -42
- package/servicehookStorageQueuePipelines.js.map +1 -1
- package/servicehookWebhookTfs.d.ts +311 -0
- package/servicehookWebhookTfs.js +213 -0
- package/servicehookWebhookTfs.js.map +1 -0
- package/taggingPermissions.d.ts +24 -25
- package/taggingPermissions.js +15 -16
- package/taggingPermissions.js.map +1 -1
- package/team.d.ts +44 -34
- package/team.js +34 -24
- package/team.js.map +1 -1
- package/teamAdministrators.d.ts +46 -31
- package/teamAdministrators.js +32 -20
- package/teamAdministrators.js.map +1 -1
- package/teamMembers.d.ts +33 -28
- package/teamMembers.js +22 -20
- package/teamMembers.js.map +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +599 -662
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +870 -770
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/user.d.ts +11 -3
- package/user.js +24 -18
- package/user.js.map +1 -1
- package/utilities.d.ts +0 -4
- package/utilities.js +20 -30
- package/utilities.js.map +1 -1
- package/variableGroup.d.ts +17 -16
- package/variableGroup.js +33 -34
- package/variableGroup.js.map +1 -1
- package/variableGroupPermissions.d.ts +193 -0
- package/variableGroupPermissions.js +133 -0
- package/variableGroupPermissions.js.map +1 -0
- package/variableGroupVariable.d.ts +158 -0
- package/variableGroupVariable.js +121 -0
- package/variableGroupVariable.js.map +1 -0
- package/wiki.d.ts +171 -0
- package/wiki.js +113 -0
- package/wiki.js.map +1 -0
- package/wikiPage.d.ts +117 -0
- package/wikiPage.js +99 -0
- package/wikiPage.js.map +1 -0
- package/workItemQueryPermissions.d.ts +13 -16
- package/workItemQueryPermissions.js +25 -28
- package/workItemQueryPermissions.js.map +1 -1
- package/workitem.d.ts +72 -13
- package/workitem.js +69 -34
- package/workitem.js.map +1 -1
- package/workitemquery.d.ts +225 -0
- package/workitemquery.js +192 -0
- package/workitemquery.js.map +1 -0
- package/workitemqueryFolder.d.ts +142 -0
- package/workitemqueryFolder.js +116 -0
- package/workitemqueryFolder.js.map +1 -0
- package/workitemtrackingprocessControl.d.ts +291 -0
- package/workitemtrackingprocessControl.js +174 -0
- package/workitemtrackingprocessControl.js.map +1 -0
- package/workitemtrackingprocessGroup.d.ts +237 -0
- package/workitemtrackingprocessGroup.js +181 -0
- package/workitemtrackingprocessGroup.js.map +1 -0
- package/workitemtrackingprocessProcess.d.ts +143 -0
- package/workitemtrackingprocessProcess.js +91 -0
- package/workitemtrackingprocessProcess.js.map +1 -0
- package/workitemtrackingprocessProcessPermissions.d.ts +192 -0
- package/workitemtrackingprocessProcessPermissions.js +124 -0
- package/workitemtrackingprocessProcessPermissions.js.map +1 -0
- package/workitemtrackingprocessWorkitemtype.d.ts +180 -0
- package/workitemtrackingprocessWorkitemtype.js +104 -0
- package/workitemtrackingprocessWorkitemtype.js.map +1 -0
- package/agent/getPool.d.ts +0 -84
- package/agent/getPool.js +0 -70
- package/agent/getPool.js.map +0 -1
- package/agent/getPools.d.ts +0 -63
- package/agent/getPools.js +0 -64
- package/agent/getPools.js.map +0 -1
- package/agent/index.d.ts +0 -12
- package/agent/index.js +0 -33
- package/agent/index.js.map +0 -1
- package/agent/pool.d.ts +0 -116
- package/agent/pool.js +0 -89
- package/agent/pool.js.map +0 -1
- package/agent/queue.d.ts +0 -147
- package/agent/queue.js +0 -121
- package/agent/queue.js.map +0 -1
- package/build/buildDefinition.d.ts +0 -344
- package/build/buildDefinition.js +0 -244
- package/build/buildDefinition.js.map +0 -1
- package/build/index.d.ts +0 -3
- package/build/index.js +0 -22
- package/build/index.js.map +0 -1
- package/core/getClientConfig.d.ts +0 -45
- package/core/getClientConfig.js +0 -50
- package/core/getClientConfig.js.map +0 -1
- package/core/getProject.d.ts +0 -92
- package/core/getProject.js +0 -66
- package/core/getProject.js.map +0 -1
- package/core/getProjects.d.ts +0 -107
- package/core/getProjects.js +0 -74
- package/core/getProjects.js.map +0 -1
- package/core/index.d.ts +0 -15
- package/core/index.js +0 -36
- package/core/index.js.map +0 -1
- package/core/project.d.ts +0 -188
- package/core/project.js +0 -111
- package/core/project.js.map +0 -1
- package/core/projectFeatures.d.ts +0 -120
- package/core/projectFeatures.js +0 -104
- package/core/projectFeatures.js.map +0 -1
- package/entitlement/index.d.ts +0 -3
- package/entitlement/index.js +0 -22
- package/entitlement/index.js.map +0 -1
- package/entitlement/user.d.ts +0 -140
- package/entitlement/user.js +0 -91
- package/entitlement/user.js.map +0 -1
- package/identities/getGroup.d.ts +0 -116
- package/identities/getGroup.js +0 -85
- package/identities/getGroup.js.map +0 -1
- package/identities/getUsers.d.ts +0 -196
- package/identities/getUsers.js +0 -103
- package/identities/getUsers.js.map +0 -1
- package/identities/group.d.ts +0 -206
- package/identities/group.js +0 -123
- package/identities/group.js.map +0 -1
- package/identities/groupMembership.d.ts +0 -122
- package/identities/groupMembership.js +0 -99
- package/identities/groupMembership.js.map +0 -1
- package/identities/index.d.ts +0 -12
- package/identities/index.js +0 -33
- package/identities/index.js.map +0 -1
- package/package.json.bak +0 -27
- package/pipeline/index.d.ts +0 -3
- package/pipeline/index.js +0 -22
- package/pipeline/index.js.map +0 -1
- package/pipeline/variableGroup.d.ts +0 -223
- package/pipeline/variableGroup.js +0 -180
- package/pipeline/variableGroup.js.map +0 -1
- package/policy/branchPolicyBuildValidation.d.ts +0 -159
- package/policy/branchPolicyBuildValidation.js +0 -136
- package/policy/branchPolicyBuildValidation.js.map +0 -1
- package/policy/branchPolicyMinReviewers.d.ts +0 -149
- package/policy/branchPolicyMinReviewers.js +0 -126
- package/policy/branchPolicyMinReviewers.js.map +0 -1
- package/policy/index.d.ts +0 -6
- package/policy/index.js +0 -27
- package/policy/index.js.map +0 -1
- package/repository/getRepositories.d.ts +0 -120
- package/repository/getRepositories.js +0 -83
- package/repository/getRepositories.js.map +0 -1
- package/repository/git.d.ts +0 -210
- package/repository/git.js +0 -141
- package/repository/git.js.map +0 -1
- package/repository/index.d.ts +0 -6
- package/repository/index.js +0 -25
- package/repository/index.js.map +0 -1
- package/security/index.d.ts +0 -3
- package/security/index.js +0 -22
- package/security/index.js.map +0 -1
- package/security/resourceAuthorization.d.ts +0 -136
- package/security/resourceAuthorization.js +0 -108
- package/security/resourceAuthorization.js.map +0 -1
- package/serviceendpoint/azureRM.d.ts +0 -392
- package/serviceendpoint/azureRM.js +0 -245
- package/serviceendpoint/azureRM.js.map +0 -1
- package/serviceendpoint/bitBucket.d.ts +0 -137
- package/serviceendpoint/bitBucket.js +0 -116
- package/serviceendpoint/bitBucket.js.map +0 -1
- package/serviceendpoint/dockerRegistry.d.ts +0 -185
- package/serviceendpoint/dockerRegistry.js +0 -134
- package/serviceendpoint/dockerRegistry.js.map +0 -1
- package/serviceendpoint/gitHub.d.ts +0 -170
- package/serviceendpoint/gitHub.js +0 -148
- package/serviceendpoint/gitHub.js.map +0 -1
- package/serviceendpoint/index.d.ts +0 -15
- package/serviceendpoint/index.js +0 -42
- package/serviceendpoint/index.js.map +0 -1
- package/serviceendpoint/kubernetes.d.ts +0 -148
- package/serviceendpoint/kubernetes.js +0 -93
- package/serviceendpoint/kubernetes.js.map +0 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@pulumi/azuredevops)
|
|
4
4
|
[](https://pypi.org/project/pulumi-azuredevops)
|
|
5
5
|
[](https://badge.fury.io/nu/pulumi.azuredevops)
|
|
6
|
-
[](https://pkg.go.dev/github.com/pulumi/pulumi-azuredevops/sdk/v3/go)
|
|
7
7
|
[](https://github.com/pulumi/pulumi-azuredevops/blob/master/LICENSE)
|
|
8
8
|
|
|
9
9
|
# Azure DevOps Resource Provider
|
|
@@ -36,7 +36,7 @@ To use from Python, install using `pip`:
|
|
|
36
36
|
|
|
37
37
|
To use from Go, use `go get` to grab the latest version of the library
|
|
38
38
|
|
|
39
|
-
$ go get github.com/pulumi/pulumi-azuredevops/sdk/
|
|
39
|
+
$ go get github.com/pulumi/pulumi-azuredevops/sdk/v3
|
|
40
40
|
|
|
41
41
|
## Configuration
|
|
42
42
|
|
package/areaPermissions.d.ts
CHANGED
|
@@ -11,18 +11,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
14
|
* ```typescript
|
|
16
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
16
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
18
17
|
*
|
|
19
18
|
* const example = new azuredevops.Project("example", {
|
|
19
|
+
* name: "Example Project",
|
|
20
20
|
* workItemTemplate: "Agile",
|
|
21
21
|
* versionControl: "Git",
|
|
22
22
|
* visibility: "private",
|
|
23
|
-
* description: "Managed by
|
|
23
|
+
* description: "Managed by Pulumi",
|
|
24
24
|
* });
|
|
25
|
-
* const
|
|
25
|
+
* const example_project_readers = azuredevops.getGroupOutput({
|
|
26
26
|
* projectId: example.id,
|
|
27
27
|
* name: "Readers",
|
|
28
28
|
* });
|
|
@@ -38,7 +38,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
38
38
|
* },
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
41
|
-
* <!--End PulumiCodeChooser -->
|
|
42
41
|
*
|
|
43
42
|
* ## Relevant Links
|
|
44
43
|
*
|
|
@@ -74,6 +73,18 @@ export declare class AreaPermissions extends pulumi.CustomResource {
|
|
|
74
73
|
readonly path: pulumi.Output<string | undefined>;
|
|
75
74
|
/**
|
|
76
75
|
* the permissions to assign. The following permissions are available.
|
|
76
|
+
*
|
|
77
|
+
* | Permission | Description |
|
|
78
|
+
* |------------------------|--------------------------------------|
|
|
79
|
+
* | GENERIC_READ | View permissions for this node |
|
|
80
|
+
* | GENERIC_WRITE | Edit this node |
|
|
81
|
+
* | CREATE_CHILDREN | Create child nodes |
|
|
82
|
+
* | DELETE | Delete this node |
|
|
83
|
+
* | WORK_ITEM_READ | View work items in this node |
|
|
84
|
+
* | WORK_ITEM_WRITE | Edit work items in this node |
|
|
85
|
+
* | MANAGE_TEST_PLANS | Manage test plans |
|
|
86
|
+
* | MANAGE_TEST_SUITES | Manage test suites |
|
|
87
|
+
* | WORK_ITEM_SAVE_COMMENT | Edit work item comments in this node |
|
|
77
88
|
*/
|
|
78
89
|
readonly permissions: pulumi.Output<{
|
|
79
90
|
[key: string]: string;
|
|
@@ -88,18 +99,6 @@ export declare class AreaPermissions extends pulumi.CustomResource {
|
|
|
88
99
|
readonly projectId: pulumi.Output<string>;
|
|
89
100
|
/**
|
|
90
101
|
* Replace (`true`) or merge (`false`) the permissions. Default: `true`.
|
|
91
|
-
*
|
|
92
|
-
* | Permission | Description |
|
|
93
|
-
* |------------------------|--------------------------------------|
|
|
94
|
-
* | GENERIC_READ | View permissions for this node |
|
|
95
|
-
* | GENERIC_WRITE | Edit this node |
|
|
96
|
-
* | CREATE_CHILDREN | Create child nodes |
|
|
97
|
-
* | DELETE | Delete this node |
|
|
98
|
-
* | WORK_ITEM_READ | View work items in this node |
|
|
99
|
-
* | WORK_ITEM_WRITE | Edit work items in this node |
|
|
100
|
-
* | MANAGE_TEST_PLANS | Manage test plans |
|
|
101
|
-
* | MANAGE_TEST_SUITES | Manage test suites |
|
|
102
|
-
* | WORK_ITEM_SAVE_COMMENT | Edit work item comments in this node |
|
|
103
102
|
*/
|
|
104
103
|
readonly replace: pulumi.Output<boolean | undefined>;
|
|
105
104
|
/**
|
|
@@ -121,6 +120,18 @@ export interface AreaPermissionsState {
|
|
|
121
120
|
path?: pulumi.Input<string>;
|
|
122
121
|
/**
|
|
123
122
|
* the permissions to assign. The following permissions are available.
|
|
123
|
+
*
|
|
124
|
+
* | Permission | Description |
|
|
125
|
+
* |------------------------|--------------------------------------|
|
|
126
|
+
* | GENERIC_READ | View permissions for this node |
|
|
127
|
+
* | GENERIC_WRITE | Edit this node |
|
|
128
|
+
* | CREATE_CHILDREN | Create child nodes |
|
|
129
|
+
* | DELETE | Delete this node |
|
|
130
|
+
* | WORK_ITEM_READ | View work items in this node |
|
|
131
|
+
* | WORK_ITEM_WRITE | Edit work items in this node |
|
|
132
|
+
* | MANAGE_TEST_PLANS | Manage test plans |
|
|
133
|
+
* | MANAGE_TEST_SUITES | Manage test suites |
|
|
134
|
+
* | WORK_ITEM_SAVE_COMMENT | Edit work item comments in this node |
|
|
124
135
|
*/
|
|
125
136
|
permissions?: pulumi.Input<{
|
|
126
137
|
[key: string]: pulumi.Input<string>;
|
|
@@ -135,18 +146,6 @@ export interface AreaPermissionsState {
|
|
|
135
146
|
projectId?: pulumi.Input<string>;
|
|
136
147
|
/**
|
|
137
148
|
* Replace (`true`) or merge (`false`) the permissions. Default: `true`.
|
|
138
|
-
*
|
|
139
|
-
* | Permission | Description |
|
|
140
|
-
* |------------------------|--------------------------------------|
|
|
141
|
-
* | GENERIC_READ | View permissions for this node |
|
|
142
|
-
* | GENERIC_WRITE | Edit this node |
|
|
143
|
-
* | CREATE_CHILDREN | Create child nodes |
|
|
144
|
-
* | DELETE | Delete this node |
|
|
145
|
-
* | WORK_ITEM_READ | View work items in this node |
|
|
146
|
-
* | WORK_ITEM_WRITE | Edit work items in this node |
|
|
147
|
-
* | MANAGE_TEST_PLANS | Manage test plans |
|
|
148
|
-
* | MANAGE_TEST_SUITES | Manage test suites |
|
|
149
|
-
* | WORK_ITEM_SAVE_COMMENT | Edit work item comments in this node |
|
|
150
149
|
*/
|
|
151
150
|
replace?: pulumi.Input<boolean>;
|
|
152
151
|
}
|
|
@@ -160,6 +159,18 @@ export interface AreaPermissionsArgs {
|
|
|
160
159
|
path?: pulumi.Input<string>;
|
|
161
160
|
/**
|
|
162
161
|
* the permissions to assign. The following permissions are available.
|
|
162
|
+
*
|
|
163
|
+
* | Permission | Description |
|
|
164
|
+
* |------------------------|--------------------------------------|
|
|
165
|
+
* | GENERIC_READ | View permissions for this node |
|
|
166
|
+
* | GENERIC_WRITE | Edit this node |
|
|
167
|
+
* | CREATE_CHILDREN | Create child nodes |
|
|
168
|
+
* | DELETE | Delete this node |
|
|
169
|
+
* | WORK_ITEM_READ | View work items in this node |
|
|
170
|
+
* | WORK_ITEM_WRITE | Edit work items in this node |
|
|
171
|
+
* | MANAGE_TEST_PLANS | Manage test plans |
|
|
172
|
+
* | MANAGE_TEST_SUITES | Manage test suites |
|
|
173
|
+
* | WORK_ITEM_SAVE_COMMENT | Edit work item comments in this node |
|
|
163
174
|
*/
|
|
164
175
|
permissions: pulumi.Input<{
|
|
165
176
|
[key: string]: pulumi.Input<string>;
|
|
@@ -174,18 +185,6 @@ export interface AreaPermissionsArgs {
|
|
|
174
185
|
projectId: pulumi.Input<string>;
|
|
175
186
|
/**
|
|
176
187
|
* Replace (`true`) or merge (`false`) the permissions. Default: `true`.
|
|
177
|
-
*
|
|
178
|
-
* | Permission | Description |
|
|
179
|
-
* |------------------------|--------------------------------------|
|
|
180
|
-
* | GENERIC_READ | View permissions for this node |
|
|
181
|
-
* | GENERIC_WRITE | Edit this node |
|
|
182
|
-
* | CREATE_CHILDREN | Create child nodes |
|
|
183
|
-
* | DELETE | Delete this node |
|
|
184
|
-
* | WORK_ITEM_READ | View work items in this node |
|
|
185
|
-
* | WORK_ITEM_WRITE | Edit work items in this node |
|
|
186
|
-
* | MANAGE_TEST_PLANS | Manage test plans |
|
|
187
|
-
* | MANAGE_TEST_SUITES | Manage test suites |
|
|
188
|
-
* | WORK_ITEM_SAVE_COMMENT | Edit work item comments in this node |
|
|
189
188
|
*/
|
|
190
189
|
replace?: pulumi.Input<boolean>;
|
|
191
190
|
}
|
package/areaPermissions.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.AreaPermissions = void 0;
|
|
@@ -17,18 +17,18 @@ const utilities = require("./utilities");
|
|
|
17
17
|
*
|
|
18
18
|
* ## Example Usage
|
|
19
19
|
*
|
|
20
|
-
* <!--Start PulumiCodeChooser -->
|
|
21
20
|
* ```typescript
|
|
22
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
22
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
24
23
|
*
|
|
25
24
|
* const example = new azuredevops.Project("example", {
|
|
25
|
+
* name: "Example Project",
|
|
26
26
|
* workItemTemplate: "Agile",
|
|
27
27
|
* versionControl: "Git",
|
|
28
28
|
* visibility: "private",
|
|
29
|
-
* description: "Managed by
|
|
29
|
+
* description: "Managed by Pulumi",
|
|
30
30
|
* });
|
|
31
|
-
* const
|
|
31
|
+
* const example_project_readers = azuredevops.getGroupOutput({
|
|
32
32
|
* projectId: example.id,
|
|
33
33
|
* name: "Readers",
|
|
34
34
|
* });
|
|
@@ -44,7 +44,6 @@ const utilities = require("./utilities");
|
|
|
44
44
|
* },
|
|
45
45
|
* });
|
|
46
46
|
* ```
|
|
47
|
-
* <!--End PulumiCodeChooser -->
|
|
48
47
|
*
|
|
49
48
|
* ## Relevant Links
|
|
50
49
|
*
|
|
@@ -69,7 +68,7 @@ class AreaPermissions extends pulumi.CustomResource {
|
|
|
69
68
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
70
69
|
*/
|
|
71
70
|
static get(name, id, state, opts) {
|
|
72
|
-
return new AreaPermissions(name, state,
|
|
71
|
+
return new AreaPermissions(name, state, { ...opts, id: id });
|
|
73
72
|
}
|
|
74
73
|
/**
|
|
75
74
|
* Returns true if the given object is an instance of AreaPermissions. This is designed to work even
|
|
@@ -86,28 +85,28 @@ class AreaPermissions extends pulumi.CustomResource {
|
|
|
86
85
|
opts = opts || {};
|
|
87
86
|
if (opts.id) {
|
|
88
87
|
const state = argsOrState;
|
|
89
|
-
resourceInputs["path"] = state
|
|
90
|
-
resourceInputs["permissions"] = state
|
|
91
|
-
resourceInputs["principal"] = state
|
|
92
|
-
resourceInputs["projectId"] = state
|
|
93
|
-
resourceInputs["replace"] = state
|
|
88
|
+
resourceInputs["path"] = state?.path;
|
|
89
|
+
resourceInputs["permissions"] = state?.permissions;
|
|
90
|
+
resourceInputs["principal"] = state?.principal;
|
|
91
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
92
|
+
resourceInputs["replace"] = state?.replace;
|
|
94
93
|
}
|
|
95
94
|
else {
|
|
96
95
|
const args = argsOrState;
|
|
97
|
-
if (
|
|
96
|
+
if (args?.permissions === undefined && !opts.urn) {
|
|
98
97
|
throw new Error("Missing required property 'permissions'");
|
|
99
98
|
}
|
|
100
|
-
if (
|
|
99
|
+
if (args?.principal === undefined && !opts.urn) {
|
|
101
100
|
throw new Error("Missing required property 'principal'");
|
|
102
101
|
}
|
|
103
|
-
if (
|
|
102
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
104
103
|
throw new Error("Missing required property 'projectId'");
|
|
105
104
|
}
|
|
106
|
-
resourceInputs["path"] = args
|
|
107
|
-
resourceInputs["permissions"] = args
|
|
108
|
-
resourceInputs["principal"] = args
|
|
109
|
-
resourceInputs["projectId"] = args
|
|
110
|
-
resourceInputs["replace"] = args
|
|
105
|
+
resourceInputs["path"] = args?.path;
|
|
106
|
+
resourceInputs["permissions"] = args?.permissions;
|
|
107
|
+
resourceInputs["principal"] = args?.principal;
|
|
108
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
109
|
+
resourceInputs["replace"] = args?.replace;
|
|
111
110
|
}
|
|
112
111
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
113
112
|
super(AreaPermissions.__pulumiType, name, resourceInputs, opts);
|
package/areaPermissions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"areaPermissions.js","sourceRoot":"","sources":["../areaPermissions.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"areaPermissions.js","sourceRoot":"","sources":["../areaPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;IA2CD,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,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;SAC9C;aAAM;YACH,MAAM,IAAI,GAAG,WAA8C,CAAC;YAC5D,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;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;;AAlGL,0CAmGC;AArFG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -6,24 +6,24 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
9
|
* ```typescript
|
|
11
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
11
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
13
12
|
*
|
|
14
|
-
* const
|
|
15
|
-
* const exampleGit = new azuredevops.Git("
|
|
16
|
-
* projectId:
|
|
13
|
+
* const example = new azuredevops.Project("example", {name: "Example Project"});
|
|
14
|
+
* const exampleGit = new azuredevops.Git("example", {
|
|
15
|
+
* projectId: example.id,
|
|
16
|
+
* name: "Example Repository",
|
|
17
17
|
* initialization: {
|
|
18
18
|
* initType: "Clean",
|
|
19
19
|
* },
|
|
20
20
|
* });
|
|
21
|
-
* const exampleUser = new azuredevops.User("
|
|
21
|
+
* const exampleUser = new azuredevops.User("example", {
|
|
22
22
|
* principalName: "mail@email.com",
|
|
23
23
|
* accountLicenseType: "basic",
|
|
24
24
|
* });
|
|
25
|
-
* const exampleBranchPolicyAutoReviewers = new azuredevops.BranchPolicyAutoReviewers("
|
|
26
|
-
* projectId:
|
|
25
|
+
* const exampleBranchPolicyAutoReviewers = new azuredevops.BranchPolicyAutoReviewers("example", {
|
|
26
|
+
* projectId: example.id,
|
|
27
27
|
* enabled: true,
|
|
28
28
|
* blocking: true,
|
|
29
29
|
* settings: {
|
|
@@ -39,7 +39,6 @@ import * as outputs from "./types/output";
|
|
|
39
39
|
* },
|
|
40
40
|
* });
|
|
41
41
|
* ```
|
|
42
|
-
* <!--End PulumiCodeChooser -->
|
|
43
42
|
*
|
|
44
43
|
* ## Relevant Links
|
|
45
44
|
*
|
|
@@ -82,7 +81,7 @@ export declare class BranchPolicyAutoReviewers extends pulumi.CustomResource {
|
|
|
82
81
|
*/
|
|
83
82
|
readonly projectId: pulumi.Output<string>;
|
|
84
83
|
/**
|
|
85
|
-
* Configuration for the policy. This block must be defined exactly once.
|
|
84
|
+
* A `settings` block as defined below. Configuration for the policy. This block must be defined exactly once.
|
|
86
85
|
*/
|
|
87
86
|
readonly settings: pulumi.Output<outputs.BranchPolicyAutoReviewersSettings>;
|
|
88
87
|
/**
|
|
@@ -111,7 +110,7 @@ export interface BranchPolicyAutoReviewersState {
|
|
|
111
110
|
*/
|
|
112
111
|
projectId?: pulumi.Input<string>;
|
|
113
112
|
/**
|
|
114
|
-
* Configuration for the policy. This block must be defined exactly once.
|
|
113
|
+
* A `settings` block as defined below. Configuration for the policy. This block must be defined exactly once.
|
|
115
114
|
*/
|
|
116
115
|
settings?: pulumi.Input<inputs.BranchPolicyAutoReviewersSettings>;
|
|
117
116
|
}
|
|
@@ -132,7 +131,7 @@ export interface BranchPolicyAutoReviewersArgs {
|
|
|
132
131
|
*/
|
|
133
132
|
projectId: pulumi.Input<string>;
|
|
134
133
|
/**
|
|
135
|
-
* Configuration for the policy. This block must be defined exactly once.
|
|
134
|
+
* A `settings` block as defined below. Configuration for the policy. This block must be defined exactly once.
|
|
136
135
|
*/
|
|
137
136
|
settings: pulumi.Input<inputs.BranchPolicyAutoReviewersSettings>;
|
|
138
137
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.BranchPolicyAutoReviewers = void 0;
|
|
@@ -10,24 +10,24 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
-
* <!--Start PulumiCodeChooser -->
|
|
14
13
|
* ```typescript
|
|
15
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
15
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
17
16
|
*
|
|
18
|
-
* const
|
|
19
|
-
* const exampleGit = new azuredevops.Git("
|
|
20
|
-
* projectId:
|
|
17
|
+
* const example = new azuredevops.Project("example", {name: "Example Project"});
|
|
18
|
+
* const exampleGit = new azuredevops.Git("example", {
|
|
19
|
+
* projectId: example.id,
|
|
20
|
+
* name: "Example Repository",
|
|
21
21
|
* initialization: {
|
|
22
22
|
* initType: "Clean",
|
|
23
23
|
* },
|
|
24
24
|
* });
|
|
25
|
-
* const exampleUser = new azuredevops.User("
|
|
25
|
+
* const exampleUser = new azuredevops.User("example", {
|
|
26
26
|
* principalName: "mail@email.com",
|
|
27
27
|
* accountLicenseType: "basic",
|
|
28
28
|
* });
|
|
29
|
-
* const exampleBranchPolicyAutoReviewers = new azuredevops.BranchPolicyAutoReviewers("
|
|
30
|
-
* projectId:
|
|
29
|
+
* const exampleBranchPolicyAutoReviewers = new azuredevops.BranchPolicyAutoReviewers("example", {
|
|
30
|
+
* projectId: example.id,
|
|
31
31
|
* enabled: true,
|
|
32
32
|
* blocking: true,
|
|
33
33
|
* settings: {
|
|
@@ -43,7 +43,6 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* },
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
|
46
|
-
* <!--End PulumiCodeChooser -->
|
|
47
46
|
*
|
|
48
47
|
* ## Relevant Links
|
|
49
48
|
*
|
|
@@ -68,7 +67,7 @@ class BranchPolicyAutoReviewers extends pulumi.CustomResource {
|
|
|
68
67
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
68
|
*/
|
|
70
69
|
static get(name, id, state, opts) {
|
|
71
|
-
return new BranchPolicyAutoReviewers(name, state,
|
|
70
|
+
return new BranchPolicyAutoReviewers(name, state, { ...opts, id: id });
|
|
72
71
|
}
|
|
73
72
|
/**
|
|
74
73
|
* Returns true if the given object is an instance of BranchPolicyAutoReviewers. This is designed to work even
|
|
@@ -85,23 +84,23 @@ class BranchPolicyAutoReviewers extends pulumi.CustomResource {
|
|
|
85
84
|
opts = opts || {};
|
|
86
85
|
if (opts.id) {
|
|
87
86
|
const state = argsOrState;
|
|
88
|
-
resourceInputs["blocking"] = state
|
|
89
|
-
resourceInputs["enabled"] = state
|
|
90
|
-
resourceInputs["projectId"] = state
|
|
91
|
-
resourceInputs["settings"] = state
|
|
87
|
+
resourceInputs["blocking"] = state?.blocking;
|
|
88
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
89
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
90
|
+
resourceInputs["settings"] = state?.settings;
|
|
92
91
|
}
|
|
93
92
|
else {
|
|
94
93
|
const args = argsOrState;
|
|
95
|
-
if (
|
|
94
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
96
95
|
throw new Error("Missing required property 'projectId'");
|
|
97
96
|
}
|
|
98
|
-
if (
|
|
97
|
+
if (args?.settings === undefined && !opts.urn) {
|
|
99
98
|
throw new Error("Missing required property 'settings'");
|
|
100
99
|
}
|
|
101
|
-
resourceInputs["blocking"] = args
|
|
102
|
-
resourceInputs["enabled"] = args
|
|
103
|
-
resourceInputs["projectId"] = args
|
|
104
|
-
resourceInputs["settings"] = args
|
|
100
|
+
resourceInputs["blocking"] = args?.blocking;
|
|
101
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
102
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
103
|
+
resourceInputs["settings"] = args?.settings;
|
|
105
104
|
}
|
|
106
105
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
106
|
super(BranchPolicyAutoReviewers.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchPolicyAutoReviewers.js","sourceRoot":"","sources":["../branchPolicyAutoReviewers.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"branchPolicyAutoReviewers.js","sourceRoot":"","sources":["../branchPolicyAutoReviewers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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,CAAC;IAC1E,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAAwD,CAAC;YACtE,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;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"}
|
|
@@ -6,33 +6,35 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
9
|
* ```typescript
|
|
11
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
11
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
13
12
|
*
|
|
14
|
-
* const
|
|
15
|
-
* const exampleGit = new azuredevops.Git("
|
|
16
|
-
* projectId:
|
|
13
|
+
* const example = new azuredevops.Project("example", {name: "Example Project"});
|
|
14
|
+
* const exampleGit = new azuredevops.Git("example", {
|
|
15
|
+
* projectId: example.id,
|
|
16
|
+
* name: "Example Repository",
|
|
17
17
|
* initialization: {
|
|
18
18
|
* initType: "Clean",
|
|
19
19
|
* },
|
|
20
20
|
* });
|
|
21
|
-
* const exampleBuildDefinition = new azuredevops.BuildDefinition("
|
|
22
|
-
* projectId:
|
|
21
|
+
* const exampleBuildDefinition = new azuredevops.BuildDefinition("example", {
|
|
22
|
+
* projectId: example.id,
|
|
23
|
+
* name: "Example Build Definition",
|
|
23
24
|
* repository: {
|
|
24
25
|
* repoType: "TfsGit",
|
|
25
26
|
* repoId: exampleGit.id,
|
|
26
27
|
* ymlPath: "azure-pipelines.yml",
|
|
27
28
|
* },
|
|
28
29
|
* });
|
|
29
|
-
* const exampleBranchPolicyBuildValidation = new azuredevops.BranchPolicyBuildValidation("
|
|
30
|
-
* projectId:
|
|
30
|
+
* const exampleBranchPolicyBuildValidation = new azuredevops.BranchPolicyBuildValidation("example", {
|
|
31
|
+
* projectId: example.id,
|
|
31
32
|
* enabled: true,
|
|
32
33
|
* blocking: true,
|
|
33
34
|
* settings: {
|
|
34
35
|
* displayName: "Example build validation policy",
|
|
35
36
|
* buildDefinitionId: exampleBuildDefinition.id,
|
|
37
|
+
* queueOnSourceUpdateOnly: true,
|
|
36
38
|
* validDuration: 720,
|
|
37
39
|
* filenamePatterns: [
|
|
38
40
|
* "/WebApp/*",
|
|
@@ -57,7 +59,6 @@ import * as outputs from "./types/output";
|
|
|
57
59
|
* },
|
|
58
60
|
* });
|
|
59
61
|
* ```
|
|
60
|
-
* <!--End PulumiCodeChooser -->
|
|
61
62
|
*
|
|
62
63
|
* ## Relevant Links
|
|
63
64
|
*
|
|
@@ -100,7 +101,7 @@ export declare class BranchPolicyBuildValidation extends pulumi.CustomResource {
|
|
|
100
101
|
*/
|
|
101
102
|
readonly projectId: pulumi.Output<string>;
|
|
102
103
|
/**
|
|
103
|
-
* Configuration for the policy. This block must be defined exactly once.
|
|
104
|
+
* A `settings` block as defined below. Configuration for the policy. This block must be defined exactly once.
|
|
104
105
|
*/
|
|
105
106
|
readonly settings: pulumi.Output<outputs.BranchPolicyBuildValidationSettings>;
|
|
106
107
|
/**
|
|
@@ -129,7 +130,7 @@ export interface BranchPolicyBuildValidationState {
|
|
|
129
130
|
*/
|
|
130
131
|
projectId?: pulumi.Input<string>;
|
|
131
132
|
/**
|
|
132
|
-
* Configuration for the policy. This block must be defined exactly once.
|
|
133
|
+
* A `settings` block as defined below. Configuration for the policy. This block must be defined exactly once.
|
|
133
134
|
*/
|
|
134
135
|
settings?: pulumi.Input<inputs.BranchPolicyBuildValidationSettings>;
|
|
135
136
|
}
|
|
@@ -150,7 +151,7 @@ export interface BranchPolicyBuildValidationArgs {
|
|
|
150
151
|
*/
|
|
151
152
|
projectId: pulumi.Input<string>;
|
|
152
153
|
/**
|
|
153
|
-
* Configuration for the policy. This block must be defined exactly once.
|
|
154
|
+
* A `settings` block as defined below. Configuration for the policy. This block must be defined exactly once.
|
|
154
155
|
*/
|
|
155
156
|
settings: pulumi.Input<inputs.BranchPolicyBuildValidationSettings>;
|
|
156
157
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.BranchPolicyBuildValidation = void 0;
|
|
@@ -10,33 +10,35 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
-
* <!--Start PulumiCodeChooser -->
|
|
14
13
|
* ```typescript
|
|
15
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
15
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
17
16
|
*
|
|
18
|
-
* const
|
|
19
|
-
* const exampleGit = new azuredevops.Git("
|
|
20
|
-
* projectId:
|
|
17
|
+
* const example = new azuredevops.Project("example", {name: "Example Project"});
|
|
18
|
+
* const exampleGit = new azuredevops.Git("example", {
|
|
19
|
+
* projectId: example.id,
|
|
20
|
+
* name: "Example Repository",
|
|
21
21
|
* initialization: {
|
|
22
22
|
* initType: "Clean",
|
|
23
23
|
* },
|
|
24
24
|
* });
|
|
25
|
-
* const exampleBuildDefinition = new azuredevops.BuildDefinition("
|
|
26
|
-
* projectId:
|
|
25
|
+
* const exampleBuildDefinition = new azuredevops.BuildDefinition("example", {
|
|
26
|
+
* projectId: example.id,
|
|
27
|
+
* name: "Example Build Definition",
|
|
27
28
|
* repository: {
|
|
28
29
|
* repoType: "TfsGit",
|
|
29
30
|
* repoId: exampleGit.id,
|
|
30
31
|
* ymlPath: "azure-pipelines.yml",
|
|
31
32
|
* },
|
|
32
33
|
* });
|
|
33
|
-
* const exampleBranchPolicyBuildValidation = new azuredevops.BranchPolicyBuildValidation("
|
|
34
|
-
* projectId:
|
|
34
|
+
* const exampleBranchPolicyBuildValidation = new azuredevops.BranchPolicyBuildValidation("example", {
|
|
35
|
+
* projectId: example.id,
|
|
35
36
|
* enabled: true,
|
|
36
37
|
* blocking: true,
|
|
37
38
|
* settings: {
|
|
38
39
|
* displayName: "Example build validation policy",
|
|
39
40
|
* buildDefinitionId: exampleBuildDefinition.id,
|
|
41
|
+
* queueOnSourceUpdateOnly: true,
|
|
40
42
|
* validDuration: 720,
|
|
41
43
|
* filenamePatterns: [
|
|
42
44
|
* "/WebApp/*",
|
|
@@ -61,7 +63,6 @@ const utilities = require("./utilities");
|
|
|
61
63
|
* },
|
|
62
64
|
* });
|
|
63
65
|
* ```
|
|
64
|
-
* <!--End PulumiCodeChooser -->
|
|
65
66
|
*
|
|
66
67
|
* ## Relevant Links
|
|
67
68
|
*
|
|
@@ -86,7 +87,7 @@ class BranchPolicyBuildValidation extends pulumi.CustomResource {
|
|
|
86
87
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
87
88
|
*/
|
|
88
89
|
static get(name, id, state, opts) {
|
|
89
|
-
return new BranchPolicyBuildValidation(name, state,
|
|
90
|
+
return new BranchPolicyBuildValidation(name, state, { ...opts, id: id });
|
|
90
91
|
}
|
|
91
92
|
/**
|
|
92
93
|
* Returns true if the given object is an instance of BranchPolicyBuildValidation. This is designed to work even
|
|
@@ -103,23 +104,23 @@ class BranchPolicyBuildValidation extends pulumi.CustomResource {
|
|
|
103
104
|
opts = opts || {};
|
|
104
105
|
if (opts.id) {
|
|
105
106
|
const state = argsOrState;
|
|
106
|
-
resourceInputs["blocking"] = state
|
|
107
|
-
resourceInputs["enabled"] = state
|
|
108
|
-
resourceInputs["projectId"] = state
|
|
109
|
-
resourceInputs["settings"] = state
|
|
107
|
+
resourceInputs["blocking"] = state?.blocking;
|
|
108
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
109
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
110
|
+
resourceInputs["settings"] = state?.settings;
|
|
110
111
|
}
|
|
111
112
|
else {
|
|
112
113
|
const args = argsOrState;
|
|
113
|
-
if (
|
|
114
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
114
115
|
throw new Error("Missing required property 'projectId'");
|
|
115
116
|
}
|
|
116
|
-
if (
|
|
117
|
+
if (args?.settings === undefined && !opts.urn) {
|
|
117
118
|
throw new Error("Missing required property 'settings'");
|
|
118
119
|
}
|
|
119
|
-
resourceInputs["blocking"] = args
|
|
120
|
-
resourceInputs["enabled"] = args
|
|
121
|
-
resourceInputs["projectId"] = args
|
|
122
|
-
resourceInputs["settings"] = args
|
|
120
|
+
resourceInputs["blocking"] = args?.blocking;
|
|
121
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
122
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
123
|
+
resourceInputs["settings"] = args?.settings;
|
|
123
124
|
}
|
|
124
125
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
125
126
|
const aliasOpts = { aliases: [{ type: "azuredevops:Policy/branchPolicyBuildValidation:BranchPolicyBuildValidation" }] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchPolicyBuildValidation.js","sourceRoot":"","sources":["../branchPolicyBuildValidation.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"branchPolicyBuildValidation.js","sourceRoot":"","sources":["../branchPolicyBuildValidation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAA0D,CAAC;YACxE,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,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"}
|