pulumi-azuredevops 3.11.0a1752902824__py3-none-any.whl → 3.11.0a1753397508__py3-none-any.whl
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.
- pulumi_azuredevops/__init__.py +1 -1
- pulumi_azuredevops/_inputs.py +1246 -1247
- pulumi_azuredevops/area_permissions.py +86 -87
- pulumi_azuredevops/branch_policy_auto_reviewers.py +55 -56
- pulumi_azuredevops/branch_policy_build_validation.py +55 -56
- pulumi_azuredevops/branch_policy_comment_resolution.py +55 -56
- pulumi_azuredevops/branch_policy_merge_types.py +55 -56
- pulumi_azuredevops/branch_policy_min_reviewers.py +55 -56
- pulumi_azuredevops/branch_policy_status_check.py +55 -56
- pulumi_azuredevops/branch_policy_work_item_linking.py +55 -56
- pulumi_azuredevops/build_definition.py +170 -171
- pulumi_azuredevops/build_definition_permissions.py +86 -87
- pulumi_azuredevops/build_folder.py +52 -53
- pulumi_azuredevops/build_folder_permissions.py +86 -87
- pulumi_azuredevops/check_approval.py +146 -147
- pulumi_azuredevops/check_branch_control.py +146 -147
- pulumi_azuredevops/check_business_hours.py +265 -266
- pulumi_azuredevops/check_exclusive_lock.py +78 -79
- pulumi_azuredevops/check_required_template.py +64 -65
- pulumi_azuredevops/check_rest_api.py +265 -266
- pulumi_azuredevops/config/__init__.py +1 -1
- pulumi_azuredevops/config/__init__.pyi +1 -2
- pulumi_azuredevops/config/vars.py +22 -23
- pulumi_azuredevops/dashboard.py +95 -96
- pulumi_azuredevops/elastic_pool.py +205 -206
- pulumi_azuredevops/environment.py +52 -53
- pulumi_azuredevops/environment_resource_kubernetes.py +120 -121
- pulumi_azuredevops/extension.py +96 -97
- pulumi_azuredevops/feed.py +38 -39
- pulumi_azuredevops/feed_permission.py +95 -96
- pulumi_azuredevops/feed_retention_policy.py +69 -70
- pulumi_azuredevops/get_agent_queue.py +17 -18
- pulumi_azuredevops/get_area.py +26 -27
- pulumi_azuredevops/get_build_definition.py +39 -40
- pulumi_azuredevops/get_client_config.py +13 -14
- pulumi_azuredevops/get_descriptor.py +11 -12
- pulumi_azuredevops/get_environment.py +23 -24
- pulumi_azuredevops/get_feed.py +21 -22
- pulumi_azuredevops/get_git_repository.py +31 -32
- pulumi_azuredevops/get_git_repository_file.py +31 -32
- pulumi_azuredevops/get_group.py +23 -24
- pulumi_azuredevops/get_group_membership.py +11 -12
- pulumi_azuredevops/get_groups.py +10 -11
- pulumi_azuredevops/get_identity_group.py +19 -20
- pulumi_azuredevops/get_identity_groups.py +10 -11
- pulumi_azuredevops/get_identity_users.py +19 -20
- pulumi_azuredevops/get_iteration.py +26 -27
- pulumi_azuredevops/get_pool.py +15 -16
- pulumi_azuredevops/get_pools.py +4 -5
- pulumi_azuredevops/get_project.py +27 -28
- pulumi_azuredevops/get_projects.py +16 -17
- pulumi_azuredevops/get_repositories.py +22 -23
- pulumi_azuredevops/get_securityrole_definitions.py +10 -11
- pulumi_azuredevops/get_service_endpoint_azure_rm.py +49 -50
- pulumi_azuredevops/get_service_endpoint_github.py +25 -26
- pulumi_azuredevops/get_service_principal.py +15 -16
- pulumi_azuredevops/get_serviceendpoint_azurecr.py +45 -46
- pulumi_azuredevops/get_serviceendpoint_bitbucket.py +25 -26
- pulumi_azuredevops/get_serviceendpoint_dockerregistry.py +35 -36
- pulumi_azuredevops/get_serviceendpoint_npm.py +27 -28
- pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +25 -26
- pulumi_azuredevops/get_storage_key.py +11 -12
- pulumi_azuredevops/get_team.py +29 -30
- pulumi_azuredevops/get_teams.py +16 -17
- pulumi_azuredevops/get_user.py +23 -24
- pulumi_azuredevops/get_users.py +29 -30
- pulumi_azuredevops/get_variable_group.py +21 -22
- pulumi_azuredevops/git.py +143 -144
- pulumi_azuredevops/git_permissions.py +103 -104
- pulumi_azuredevops/git_repository_branch.py +95 -96
- pulumi_azuredevops/git_repository_file.py +171 -172
- pulumi_azuredevops/group.py +166 -167
- pulumi_azuredevops/group_entitlement.py +104 -105
- pulumi_azuredevops/group_membership.py +52 -53
- pulumi_azuredevops/iterative_permissions.py +86 -87
- pulumi_azuredevops/library_permissions.py +69 -70
- pulumi_azuredevops/outputs.py +1361 -1362
- pulumi_azuredevops/pipeline_authorization.py +86 -87
- pulumi_azuredevops/pool.py +69 -70
- pulumi_azuredevops/project.py +112 -113
- pulumi_azuredevops/project_features.py +31 -32
- pulumi_azuredevops/project_permissions.py +69 -70
- pulumi_azuredevops/project_pipeline_settings.py +120 -121
- pulumi_azuredevops/project_tags.py +35 -36
- pulumi_azuredevops/provider.py +198 -199
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/queue.py +52 -53
- pulumi_azuredevops/repository_policy_author_email_pattern.py +86 -87
- pulumi_azuredevops/repository_policy_case_enforcement.py +86 -87
- pulumi_azuredevops/repository_policy_check_credentials.py +69 -70
- pulumi_azuredevops/repository_policy_file_path_pattern.py +86 -87
- pulumi_azuredevops/repository_policy_max_file_size.py +86 -87
- pulumi_azuredevops/repository_policy_max_path_length.py +86 -87
- pulumi_azuredevops/repository_policy_reserved_names.py +69 -70
- pulumi_azuredevops/resource_authorization.py +86 -87
- pulumi_azuredevops/securityrole_assignment.py +69 -70
- pulumi_azuredevops/service_endpoint_artifactory.py +82 -83
- pulumi_azuredevops/service_endpoint_aws.py +174 -175
- pulumi_azuredevops/service_endpoint_azure_dev_ops.py +106 -107
- pulumi_azuredevops/service_endpoint_azure_ecr.py +215 -216
- pulumi_azuredevops/service_endpoint_azure_rm.py +245 -246
- pulumi_azuredevops/service_endpoint_bit_bucket.py +89 -90
- pulumi_azuredevops/service_endpoint_docker_registry.py +140 -141
- pulumi_azuredevops/service_endpoint_generic.py +106 -107
- pulumi_azuredevops/service_endpoint_generic_git.py +123 -124
- pulumi_azuredevops/service_endpoint_git_hub.py +61 -62
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +78 -79
- pulumi_azuredevops/service_endpoint_git_lab.py +106 -107
- pulumi_azuredevops/service_endpoint_kubernetes.py +98 -99
- pulumi_azuredevops/service_endpoint_npm.py +93 -94
- pulumi_azuredevops/service_endpoint_pipeline.py +75 -76
- pulumi_azuredevops/service_endpoint_service_fabric.py +81 -82
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +76 -77
- pulumi_azuredevops/service_endpoint_sonar_qube.py +93 -94
- pulumi_azuredevops/service_endpoint_ssh.py +140 -141
- pulumi_azuredevops/service_principal_entitlement.py +87 -88
- pulumi_azuredevops/serviceendpoint_argocd.py +82 -83
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +89 -90
- pulumi_azuredevops/serviceendpoint_black_duck.py +89 -90
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +140 -141
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +140 -141
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +174 -175
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +140 -141
- pulumi_azuredevops/serviceendpoint_externaltfs.py +75 -76
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +140 -141
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +106 -107
- pulumi_azuredevops/serviceendpoint_jenkins.py +123 -124
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +82 -83
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +82 -83
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +82 -83
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +82 -83
- pulumi_azuredevops/serviceendpoint_maven.py +95 -96
- pulumi_azuredevops/serviceendpoint_nexus.py +106 -107
- pulumi_azuredevops/serviceendpoint_nuget.py +140 -141
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +106 -107
- pulumi_azuredevops/serviceendpoint_openshift.py +115 -116
- pulumi_azuredevops/serviceendpoint_permissions.py +86 -87
- pulumi_azuredevops/serviceendpoint_snyk.py +89 -90
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +78 -79
- pulumi_azuredevops/servicehook_permissions.py +69 -70
- pulumi_azuredevops/servicehook_storage_queue_pipelines.py +109 -110
- pulumi_azuredevops/tagging_permissions.py +69 -70
- pulumi_azuredevops/team.py +95 -96
- pulumi_azuredevops/team_administrators.py +69 -70
- pulumi_azuredevops/team_members.py +69 -70
- pulumi_azuredevops/user.py +95 -96
- pulumi_azuredevops/variable_group.py +75 -76
- pulumi_azuredevops/variable_group_permissions.py +86 -87
- pulumi_azuredevops/wiki.py +121 -122
- pulumi_azuredevops/wiki_page.py +82 -83
- pulumi_azuredevops/work_item_query_permissions.py +86 -87
- pulumi_azuredevops/workitem.py +165 -166
- {pulumi_azuredevops-3.11.0a1752902824.dist-info → pulumi_azuredevops-3.11.0a1753397508.dist-info}/METADATA +1 -1
- pulumi_azuredevops-3.11.0a1753397508.dist-info/RECORD +158 -0
- pulumi_azuredevops-3.11.0a1752902824.dist-info/RECORD +0 -158
- {pulumi_azuredevops-3.11.0a1752902824.dist-info → pulumi_azuredevops-3.11.0a1753397508.dist-info}/WHEEL +0 -0
- {pulumi_azuredevops-3.11.0a1752902824.dist-info → pulumi_azuredevops-3.11.0a1753397508.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -20,24 +19,24 @@ __all__ = ['CheckBranchControlArgs', 'CheckBranchControl']
|
|
20
19
|
@pulumi.input_type
|
21
20
|
class CheckBranchControlArgs:
|
22
21
|
def __init__(__self__, *,
|
23
|
-
project_id: pulumi.Input[
|
24
|
-
target_resource_id: pulumi.Input[
|
25
|
-
target_resource_type: pulumi.Input[
|
26
|
-
allowed_branches: Optional[pulumi.Input[
|
27
|
-
display_name: Optional[pulumi.Input[
|
28
|
-
ignore_unknown_protection_status: Optional[pulumi.Input[
|
29
|
-
timeout: Optional[pulumi.Input[
|
30
|
-
verify_branch_protection: Optional[pulumi.Input[
|
22
|
+
project_id: pulumi.Input[_builtins.str],
|
23
|
+
target_resource_id: pulumi.Input[_builtins.str],
|
24
|
+
target_resource_type: pulumi.Input[_builtins.str],
|
25
|
+
allowed_branches: Optional[pulumi.Input[_builtins.str]] = None,
|
26
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
27
|
+
ignore_unknown_protection_status: Optional[pulumi.Input[_builtins.bool]] = None,
|
28
|
+
timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
29
|
+
verify_branch_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
31
30
|
"""
|
32
31
|
The set of arguments for constructing a CheckBranchControl resource.
|
33
|
-
:param pulumi.Input[
|
34
|
-
:param pulumi.Input[
|
35
|
-
:param pulumi.Input[
|
36
|
-
:param pulumi.Input[
|
37
|
-
:param pulumi.Input[
|
38
|
-
:param pulumi.Input[
|
39
|
-
:param pulumi.Input[
|
40
|
-
:param pulumi.Input[
|
32
|
+
:param pulumi.Input[_builtins.str] project_id: The project ID.
|
33
|
+
:param pulumi.Input[_builtins.str] target_resource_id: The ID of the resource being protected by the check.
|
34
|
+
:param pulumi.Input[_builtins.str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
|
35
|
+
:param pulumi.Input[_builtins.str] allowed_branches: The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify ` * ` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
|
36
|
+
:param pulumi.Input[_builtins.str] display_name: The name of the branch control check displayed in the web UI.
|
37
|
+
:param pulumi.Input[_builtins.bool] ignore_unknown_protection_status: Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
|
38
|
+
:param pulumi.Input[_builtins.int] timeout: The timeout in minutes for the branch control check. Defaults to `1440`.
|
39
|
+
:param pulumi.Input[_builtins.bool] verify_branch_protection: Validate the branches being deployed are protected. Defaults to `false`.
|
41
40
|
"""
|
42
41
|
pulumi.set(__self__, "project_id", project_id)
|
43
42
|
pulumi.set(__self__, "target_resource_id", target_resource_id)
|
@@ -53,126 +52,126 @@ class CheckBranchControlArgs:
|
|
53
52
|
if verify_branch_protection is not None:
|
54
53
|
pulumi.set(__self__, "verify_branch_protection", verify_branch_protection)
|
55
54
|
|
56
|
-
@property
|
55
|
+
@_builtins.property
|
57
56
|
@pulumi.getter(name="projectId")
|
58
|
-
def project_id(self) -> pulumi.Input[
|
57
|
+
def project_id(self) -> pulumi.Input[_builtins.str]:
|
59
58
|
"""
|
60
59
|
The project ID.
|
61
60
|
"""
|
62
61
|
return pulumi.get(self, "project_id")
|
63
62
|
|
64
63
|
@project_id.setter
|
65
|
-
def project_id(self, value: pulumi.Input[
|
64
|
+
def project_id(self, value: pulumi.Input[_builtins.str]):
|
66
65
|
pulumi.set(self, "project_id", value)
|
67
66
|
|
68
|
-
@property
|
67
|
+
@_builtins.property
|
69
68
|
@pulumi.getter(name="targetResourceId")
|
70
|
-
def target_resource_id(self) -> pulumi.Input[
|
69
|
+
def target_resource_id(self) -> pulumi.Input[_builtins.str]:
|
71
70
|
"""
|
72
71
|
The ID of the resource being protected by the check.
|
73
72
|
"""
|
74
73
|
return pulumi.get(self, "target_resource_id")
|
75
74
|
|
76
75
|
@target_resource_id.setter
|
77
|
-
def target_resource_id(self, value: pulumi.Input[
|
76
|
+
def target_resource_id(self, value: pulumi.Input[_builtins.str]):
|
78
77
|
pulumi.set(self, "target_resource_id", value)
|
79
78
|
|
80
|
-
@property
|
79
|
+
@_builtins.property
|
81
80
|
@pulumi.getter(name="targetResourceType")
|
82
|
-
def target_resource_type(self) -> pulumi.Input[
|
81
|
+
def target_resource_type(self) -> pulumi.Input[_builtins.str]:
|
83
82
|
"""
|
84
83
|
The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
|
85
84
|
"""
|
86
85
|
return pulumi.get(self, "target_resource_type")
|
87
86
|
|
88
87
|
@target_resource_type.setter
|
89
|
-
def target_resource_type(self, value: pulumi.Input[
|
88
|
+
def target_resource_type(self, value: pulumi.Input[_builtins.str]):
|
90
89
|
pulumi.set(self, "target_resource_type", value)
|
91
90
|
|
92
|
-
@property
|
91
|
+
@_builtins.property
|
93
92
|
@pulumi.getter(name="allowedBranches")
|
94
|
-
def allowed_branches(self) -> Optional[pulumi.Input[
|
93
|
+
def allowed_branches(self) -> Optional[pulumi.Input[_builtins.str]]:
|
95
94
|
"""
|
96
95
|
The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify ` * ` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
|
97
96
|
"""
|
98
97
|
return pulumi.get(self, "allowed_branches")
|
99
98
|
|
100
99
|
@allowed_branches.setter
|
101
|
-
def allowed_branches(self, value: Optional[pulumi.Input[
|
100
|
+
def allowed_branches(self, value: Optional[pulumi.Input[_builtins.str]]):
|
102
101
|
pulumi.set(self, "allowed_branches", value)
|
103
102
|
|
104
|
-
@property
|
103
|
+
@_builtins.property
|
105
104
|
@pulumi.getter(name="displayName")
|
106
|
-
def display_name(self) -> Optional[pulumi.Input[
|
105
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
107
106
|
"""
|
108
107
|
The name of the branch control check displayed in the web UI.
|
109
108
|
"""
|
110
109
|
return pulumi.get(self, "display_name")
|
111
110
|
|
112
111
|
@display_name.setter
|
113
|
-
def display_name(self, value: Optional[pulumi.Input[
|
112
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
114
113
|
pulumi.set(self, "display_name", value)
|
115
114
|
|
116
|
-
@property
|
115
|
+
@_builtins.property
|
117
116
|
@pulumi.getter(name="ignoreUnknownProtectionStatus")
|
118
|
-
def ignore_unknown_protection_status(self) -> Optional[pulumi.Input[
|
117
|
+
def ignore_unknown_protection_status(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
119
118
|
"""
|
120
119
|
Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
|
121
120
|
"""
|
122
121
|
return pulumi.get(self, "ignore_unknown_protection_status")
|
123
122
|
|
124
123
|
@ignore_unknown_protection_status.setter
|
125
|
-
def ignore_unknown_protection_status(self, value: Optional[pulumi.Input[
|
124
|
+
def ignore_unknown_protection_status(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
126
125
|
pulumi.set(self, "ignore_unknown_protection_status", value)
|
127
126
|
|
128
|
-
@property
|
127
|
+
@_builtins.property
|
129
128
|
@pulumi.getter
|
130
|
-
def timeout(self) -> Optional[pulumi.Input[
|
129
|
+
def timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
131
130
|
"""
|
132
131
|
The timeout in minutes for the branch control check. Defaults to `1440`.
|
133
132
|
"""
|
134
133
|
return pulumi.get(self, "timeout")
|
135
134
|
|
136
135
|
@timeout.setter
|
137
|
-
def timeout(self, value: Optional[pulumi.Input[
|
136
|
+
def timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
138
137
|
pulumi.set(self, "timeout", value)
|
139
138
|
|
140
|
-
@property
|
139
|
+
@_builtins.property
|
141
140
|
@pulumi.getter(name="verifyBranchProtection")
|
142
|
-
def verify_branch_protection(self) -> Optional[pulumi.Input[
|
141
|
+
def verify_branch_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
143
142
|
"""
|
144
143
|
Validate the branches being deployed are protected. Defaults to `false`.
|
145
144
|
"""
|
146
145
|
return pulumi.get(self, "verify_branch_protection")
|
147
146
|
|
148
147
|
@verify_branch_protection.setter
|
149
|
-
def verify_branch_protection(self, value: Optional[pulumi.Input[
|
148
|
+
def verify_branch_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
150
149
|
pulumi.set(self, "verify_branch_protection", value)
|
151
150
|
|
152
151
|
|
153
152
|
@pulumi.input_type
|
154
153
|
class _CheckBranchControlState:
|
155
154
|
def __init__(__self__, *,
|
156
|
-
allowed_branches: Optional[pulumi.Input[
|
157
|
-
display_name: Optional[pulumi.Input[
|
158
|
-
ignore_unknown_protection_status: Optional[pulumi.Input[
|
159
|
-
project_id: Optional[pulumi.Input[
|
160
|
-
target_resource_id: Optional[pulumi.Input[
|
161
|
-
target_resource_type: Optional[pulumi.Input[
|
162
|
-
timeout: Optional[pulumi.Input[
|
163
|
-
verify_branch_protection: Optional[pulumi.Input[
|
164
|
-
version: Optional[pulumi.Input[
|
155
|
+
allowed_branches: Optional[pulumi.Input[_builtins.str]] = None,
|
156
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
157
|
+
ignore_unknown_protection_status: Optional[pulumi.Input[_builtins.bool]] = None,
|
158
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
159
|
+
target_resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
160
|
+
target_resource_type: Optional[pulumi.Input[_builtins.str]] = None,
|
161
|
+
timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
162
|
+
verify_branch_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
163
|
+
version: Optional[pulumi.Input[_builtins.int]] = None):
|
165
164
|
"""
|
166
165
|
Input properties used for looking up and filtering CheckBranchControl resources.
|
167
|
-
:param pulumi.Input[
|
168
|
-
:param pulumi.Input[
|
169
|
-
:param pulumi.Input[
|
170
|
-
:param pulumi.Input[
|
171
|
-
:param pulumi.Input[
|
172
|
-
:param pulumi.Input[
|
173
|
-
:param pulumi.Input[
|
174
|
-
:param pulumi.Input[
|
175
|
-
:param pulumi.Input[
|
166
|
+
:param pulumi.Input[_builtins.str] allowed_branches: The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify ` * ` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
|
167
|
+
:param pulumi.Input[_builtins.str] display_name: The name of the branch control check displayed in the web UI.
|
168
|
+
:param pulumi.Input[_builtins.bool] ignore_unknown_protection_status: Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
|
169
|
+
:param pulumi.Input[_builtins.str] project_id: The project ID.
|
170
|
+
:param pulumi.Input[_builtins.str] target_resource_id: The ID of the resource being protected by the check.
|
171
|
+
:param pulumi.Input[_builtins.str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
|
172
|
+
:param pulumi.Input[_builtins.int] timeout: The timeout in minutes for the branch control check. Defaults to `1440`.
|
173
|
+
:param pulumi.Input[_builtins.bool] verify_branch_protection: Validate the branches being deployed are protected. Defaults to `false`.
|
174
|
+
:param pulumi.Input[_builtins.int] version: The version of the check.
|
176
175
|
"""
|
177
176
|
if allowed_branches is not None:
|
178
177
|
pulumi.set(__self__, "allowed_branches", allowed_branches)
|
@@ -193,112 +192,112 @@ class _CheckBranchControlState:
|
|
193
192
|
if version is not None:
|
194
193
|
pulumi.set(__self__, "version", version)
|
195
194
|
|
196
|
-
@property
|
195
|
+
@_builtins.property
|
197
196
|
@pulumi.getter(name="allowedBranches")
|
198
|
-
def allowed_branches(self) -> Optional[pulumi.Input[
|
197
|
+
def allowed_branches(self) -> Optional[pulumi.Input[_builtins.str]]:
|
199
198
|
"""
|
200
199
|
The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify ` * ` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
|
201
200
|
"""
|
202
201
|
return pulumi.get(self, "allowed_branches")
|
203
202
|
|
204
203
|
@allowed_branches.setter
|
205
|
-
def allowed_branches(self, value: Optional[pulumi.Input[
|
204
|
+
def allowed_branches(self, value: Optional[pulumi.Input[_builtins.str]]):
|
206
205
|
pulumi.set(self, "allowed_branches", value)
|
207
206
|
|
208
|
-
@property
|
207
|
+
@_builtins.property
|
209
208
|
@pulumi.getter(name="displayName")
|
210
|
-
def display_name(self) -> Optional[pulumi.Input[
|
209
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
211
210
|
"""
|
212
211
|
The name of the branch control check displayed in the web UI.
|
213
212
|
"""
|
214
213
|
return pulumi.get(self, "display_name")
|
215
214
|
|
216
215
|
@display_name.setter
|
217
|
-
def display_name(self, value: Optional[pulumi.Input[
|
216
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
218
217
|
pulumi.set(self, "display_name", value)
|
219
218
|
|
220
|
-
@property
|
219
|
+
@_builtins.property
|
221
220
|
@pulumi.getter(name="ignoreUnknownProtectionStatus")
|
222
|
-
def ignore_unknown_protection_status(self) -> Optional[pulumi.Input[
|
221
|
+
def ignore_unknown_protection_status(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
223
222
|
"""
|
224
223
|
Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
|
225
224
|
"""
|
226
225
|
return pulumi.get(self, "ignore_unknown_protection_status")
|
227
226
|
|
228
227
|
@ignore_unknown_protection_status.setter
|
229
|
-
def ignore_unknown_protection_status(self, value: Optional[pulumi.Input[
|
228
|
+
def ignore_unknown_protection_status(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
230
229
|
pulumi.set(self, "ignore_unknown_protection_status", value)
|
231
230
|
|
232
|
-
@property
|
231
|
+
@_builtins.property
|
233
232
|
@pulumi.getter(name="projectId")
|
234
|
-
def project_id(self) -> Optional[pulumi.Input[
|
233
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
235
234
|
"""
|
236
235
|
The project ID.
|
237
236
|
"""
|
238
237
|
return pulumi.get(self, "project_id")
|
239
238
|
|
240
239
|
@project_id.setter
|
241
|
-
def project_id(self, value: Optional[pulumi.Input[
|
240
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
242
241
|
pulumi.set(self, "project_id", value)
|
243
242
|
|
244
|
-
@property
|
243
|
+
@_builtins.property
|
245
244
|
@pulumi.getter(name="targetResourceId")
|
246
|
-
def target_resource_id(self) -> Optional[pulumi.Input[
|
245
|
+
def target_resource_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
247
246
|
"""
|
248
247
|
The ID of the resource being protected by the check.
|
249
248
|
"""
|
250
249
|
return pulumi.get(self, "target_resource_id")
|
251
250
|
|
252
251
|
@target_resource_id.setter
|
253
|
-
def target_resource_id(self, value: Optional[pulumi.Input[
|
252
|
+
def target_resource_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
254
253
|
pulumi.set(self, "target_resource_id", value)
|
255
254
|
|
256
|
-
@property
|
255
|
+
@_builtins.property
|
257
256
|
@pulumi.getter(name="targetResourceType")
|
258
|
-
def target_resource_type(self) -> Optional[pulumi.Input[
|
257
|
+
def target_resource_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
259
258
|
"""
|
260
259
|
The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
|
261
260
|
"""
|
262
261
|
return pulumi.get(self, "target_resource_type")
|
263
262
|
|
264
263
|
@target_resource_type.setter
|
265
|
-
def target_resource_type(self, value: Optional[pulumi.Input[
|
264
|
+
def target_resource_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
266
265
|
pulumi.set(self, "target_resource_type", value)
|
267
266
|
|
268
|
-
@property
|
267
|
+
@_builtins.property
|
269
268
|
@pulumi.getter
|
270
|
-
def timeout(self) -> Optional[pulumi.Input[
|
269
|
+
def timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
271
270
|
"""
|
272
271
|
The timeout in minutes for the branch control check. Defaults to `1440`.
|
273
272
|
"""
|
274
273
|
return pulumi.get(self, "timeout")
|
275
274
|
|
276
275
|
@timeout.setter
|
277
|
-
def timeout(self, value: Optional[pulumi.Input[
|
276
|
+
def timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
278
277
|
pulumi.set(self, "timeout", value)
|
279
278
|
|
280
|
-
@property
|
279
|
+
@_builtins.property
|
281
280
|
@pulumi.getter(name="verifyBranchProtection")
|
282
|
-
def verify_branch_protection(self) -> Optional[pulumi.Input[
|
281
|
+
def verify_branch_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
283
282
|
"""
|
284
283
|
Validate the branches being deployed are protected. Defaults to `false`.
|
285
284
|
"""
|
286
285
|
return pulumi.get(self, "verify_branch_protection")
|
287
286
|
|
288
287
|
@verify_branch_protection.setter
|
289
|
-
def verify_branch_protection(self, value: Optional[pulumi.Input[
|
288
|
+
def verify_branch_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
290
289
|
pulumi.set(self, "verify_branch_protection", value)
|
291
290
|
|
292
|
-
@property
|
291
|
+
@_builtins.property
|
293
292
|
@pulumi.getter
|
294
|
-
def version(self) -> Optional[pulumi.Input[
|
293
|
+
def version(self) -> Optional[pulumi.Input[_builtins.int]]:
|
295
294
|
"""
|
296
295
|
The version of the check.
|
297
296
|
"""
|
298
297
|
return pulumi.get(self, "version")
|
299
298
|
|
300
299
|
@version.setter
|
301
|
-
def version(self, value: Optional[pulumi.Input[
|
300
|
+
def version(self, value: Optional[pulumi.Input[_builtins.int]]):
|
302
301
|
pulumi.set(self, "version", value)
|
303
302
|
|
304
303
|
|
@@ -308,14 +307,14 @@ class CheckBranchControl(pulumi.CustomResource):
|
|
308
307
|
def __init__(__self__,
|
309
308
|
resource_name: str,
|
310
309
|
opts: Optional[pulumi.ResourceOptions] = None,
|
311
|
-
allowed_branches: Optional[pulumi.Input[
|
312
|
-
display_name: Optional[pulumi.Input[
|
313
|
-
ignore_unknown_protection_status: Optional[pulumi.Input[
|
314
|
-
project_id: Optional[pulumi.Input[
|
315
|
-
target_resource_id: Optional[pulumi.Input[
|
316
|
-
target_resource_type: Optional[pulumi.Input[
|
317
|
-
timeout: Optional[pulumi.Input[
|
318
|
-
verify_branch_protection: Optional[pulumi.Input[
|
310
|
+
allowed_branches: Optional[pulumi.Input[_builtins.str]] = None,
|
311
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
312
|
+
ignore_unknown_protection_status: Optional[pulumi.Input[_builtins.bool]] = None,
|
313
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
314
|
+
target_resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
315
|
+
target_resource_type: Optional[pulumi.Input[_builtins.str]] = None,
|
316
|
+
timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
317
|
+
verify_branch_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
319
318
|
__props__=None):
|
320
319
|
"""
|
321
320
|
Manages a branch control check on a resource within Azure DevOps.
|
@@ -448,14 +447,14 @@ class CheckBranchControl(pulumi.CustomResource):
|
|
448
447
|
|
449
448
|
:param str resource_name: The name of the resource.
|
450
449
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
451
|
-
:param pulumi.Input[
|
452
|
-
:param pulumi.Input[
|
453
|
-
:param pulumi.Input[
|
454
|
-
:param pulumi.Input[
|
455
|
-
:param pulumi.Input[
|
456
|
-
:param pulumi.Input[
|
457
|
-
:param pulumi.Input[
|
458
|
-
:param pulumi.Input[
|
450
|
+
:param pulumi.Input[_builtins.str] allowed_branches: The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify ` * ` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
|
451
|
+
:param pulumi.Input[_builtins.str] display_name: The name of the branch control check displayed in the web UI.
|
452
|
+
:param pulumi.Input[_builtins.bool] ignore_unknown_protection_status: Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
|
453
|
+
:param pulumi.Input[_builtins.str] project_id: The project ID.
|
454
|
+
:param pulumi.Input[_builtins.str] target_resource_id: The ID of the resource being protected by the check.
|
455
|
+
:param pulumi.Input[_builtins.str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
|
456
|
+
:param pulumi.Input[_builtins.int] timeout: The timeout in minutes for the branch control check. Defaults to `1440`.
|
457
|
+
:param pulumi.Input[_builtins.bool] verify_branch_protection: Validate the branches being deployed are protected. Defaults to `false`.
|
459
458
|
"""
|
460
459
|
...
|
461
460
|
@overload
|
@@ -607,14 +606,14 @@ class CheckBranchControl(pulumi.CustomResource):
|
|
607
606
|
def _internal_init(__self__,
|
608
607
|
resource_name: str,
|
609
608
|
opts: Optional[pulumi.ResourceOptions] = None,
|
610
|
-
allowed_branches: Optional[pulumi.Input[
|
611
|
-
display_name: Optional[pulumi.Input[
|
612
|
-
ignore_unknown_protection_status: Optional[pulumi.Input[
|
613
|
-
project_id: Optional[pulumi.Input[
|
614
|
-
target_resource_id: Optional[pulumi.Input[
|
615
|
-
target_resource_type: Optional[pulumi.Input[
|
616
|
-
timeout: Optional[pulumi.Input[
|
617
|
-
verify_branch_protection: Optional[pulumi.Input[
|
609
|
+
allowed_branches: Optional[pulumi.Input[_builtins.str]] = None,
|
610
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
611
|
+
ignore_unknown_protection_status: Optional[pulumi.Input[_builtins.bool]] = None,
|
612
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
613
|
+
target_resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
614
|
+
target_resource_type: Optional[pulumi.Input[_builtins.str]] = None,
|
615
|
+
timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
616
|
+
verify_branch_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
618
617
|
__props__=None):
|
619
618
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
620
619
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -649,15 +648,15 @@ class CheckBranchControl(pulumi.CustomResource):
|
|
649
648
|
def get(resource_name: str,
|
650
649
|
id: pulumi.Input[str],
|
651
650
|
opts: Optional[pulumi.ResourceOptions] = None,
|
652
|
-
allowed_branches: Optional[pulumi.Input[
|
653
|
-
display_name: Optional[pulumi.Input[
|
654
|
-
ignore_unknown_protection_status: Optional[pulumi.Input[
|
655
|
-
project_id: Optional[pulumi.Input[
|
656
|
-
target_resource_id: Optional[pulumi.Input[
|
657
|
-
target_resource_type: Optional[pulumi.Input[
|
658
|
-
timeout: Optional[pulumi.Input[
|
659
|
-
verify_branch_protection: Optional[pulumi.Input[
|
660
|
-
version: Optional[pulumi.Input[
|
651
|
+
allowed_branches: Optional[pulumi.Input[_builtins.str]] = None,
|
652
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
653
|
+
ignore_unknown_protection_status: Optional[pulumi.Input[_builtins.bool]] = None,
|
654
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
655
|
+
target_resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
656
|
+
target_resource_type: Optional[pulumi.Input[_builtins.str]] = None,
|
657
|
+
timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
658
|
+
verify_branch_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
659
|
+
version: Optional[pulumi.Input[_builtins.int]] = None) -> 'CheckBranchControl':
|
661
660
|
"""
|
662
661
|
Get an existing CheckBranchControl resource's state with the given name, id, and optional extra
|
663
662
|
properties used to qualify the lookup.
|
@@ -665,15 +664,15 @@ class CheckBranchControl(pulumi.CustomResource):
|
|
665
664
|
:param str resource_name: The unique name of the resulting resource.
|
666
665
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
667
666
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
668
|
-
:param pulumi.Input[
|
669
|
-
:param pulumi.Input[
|
670
|
-
:param pulumi.Input[
|
671
|
-
:param pulumi.Input[
|
672
|
-
:param pulumi.Input[
|
673
|
-
:param pulumi.Input[
|
674
|
-
:param pulumi.Input[
|
675
|
-
:param pulumi.Input[
|
676
|
-
:param pulumi.Input[
|
667
|
+
:param pulumi.Input[_builtins.str] allowed_branches: The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify ` * ` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
|
668
|
+
:param pulumi.Input[_builtins.str] display_name: The name of the branch control check displayed in the web UI.
|
669
|
+
:param pulumi.Input[_builtins.bool] ignore_unknown_protection_status: Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
|
670
|
+
:param pulumi.Input[_builtins.str] project_id: The project ID.
|
671
|
+
:param pulumi.Input[_builtins.str] target_resource_id: The ID of the resource being protected by the check.
|
672
|
+
:param pulumi.Input[_builtins.str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
|
673
|
+
:param pulumi.Input[_builtins.int] timeout: The timeout in minutes for the branch control check. Defaults to `1440`.
|
674
|
+
:param pulumi.Input[_builtins.bool] verify_branch_protection: Validate the branches being deployed are protected. Defaults to `false`.
|
675
|
+
:param pulumi.Input[_builtins.int] version: The version of the check.
|
677
676
|
"""
|
678
677
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
679
678
|
|
@@ -690,73 +689,73 @@ class CheckBranchControl(pulumi.CustomResource):
|
|
690
689
|
__props__.__dict__["version"] = version
|
691
690
|
return CheckBranchControl(resource_name, opts=opts, __props__=__props__)
|
692
691
|
|
693
|
-
@property
|
692
|
+
@_builtins.property
|
694
693
|
@pulumi.getter(name="allowedBranches")
|
695
|
-
def allowed_branches(self) -> pulumi.Output[Optional[
|
694
|
+
def allowed_branches(self) -> pulumi.Output[Optional[_builtins.str]]:
|
696
695
|
"""
|
697
696
|
The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify ` * ` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
|
698
697
|
"""
|
699
698
|
return pulumi.get(self, "allowed_branches")
|
700
699
|
|
701
|
-
@property
|
700
|
+
@_builtins.property
|
702
701
|
@pulumi.getter(name="displayName")
|
703
|
-
def display_name(self) -> pulumi.Output[Optional[
|
702
|
+
def display_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
704
703
|
"""
|
705
704
|
The name of the branch control check displayed in the web UI.
|
706
705
|
"""
|
707
706
|
return pulumi.get(self, "display_name")
|
708
707
|
|
709
|
-
@property
|
708
|
+
@_builtins.property
|
710
709
|
@pulumi.getter(name="ignoreUnknownProtectionStatus")
|
711
|
-
def ignore_unknown_protection_status(self) -> pulumi.Output[Optional[
|
710
|
+
def ignore_unknown_protection_status(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
712
711
|
"""
|
713
712
|
Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
|
714
713
|
"""
|
715
714
|
return pulumi.get(self, "ignore_unknown_protection_status")
|
716
715
|
|
717
|
-
@property
|
716
|
+
@_builtins.property
|
718
717
|
@pulumi.getter(name="projectId")
|
719
|
-
def project_id(self) -> pulumi.Output[
|
718
|
+
def project_id(self) -> pulumi.Output[_builtins.str]:
|
720
719
|
"""
|
721
720
|
The project ID.
|
722
721
|
"""
|
723
722
|
return pulumi.get(self, "project_id")
|
724
723
|
|
725
|
-
@property
|
724
|
+
@_builtins.property
|
726
725
|
@pulumi.getter(name="targetResourceId")
|
727
|
-
def target_resource_id(self) -> pulumi.Output[
|
726
|
+
def target_resource_id(self) -> pulumi.Output[_builtins.str]:
|
728
727
|
"""
|
729
728
|
The ID of the resource being protected by the check.
|
730
729
|
"""
|
731
730
|
return pulumi.get(self, "target_resource_id")
|
732
731
|
|
733
|
-
@property
|
732
|
+
@_builtins.property
|
734
733
|
@pulumi.getter(name="targetResourceType")
|
735
|
-
def target_resource_type(self) -> pulumi.Output[
|
734
|
+
def target_resource_type(self) -> pulumi.Output[_builtins.str]:
|
736
735
|
"""
|
737
736
|
The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
|
738
737
|
"""
|
739
738
|
return pulumi.get(self, "target_resource_type")
|
740
739
|
|
741
|
-
@property
|
740
|
+
@_builtins.property
|
742
741
|
@pulumi.getter
|
743
|
-
def timeout(self) -> pulumi.Output[Optional[
|
742
|
+
def timeout(self) -> pulumi.Output[Optional[_builtins.int]]:
|
744
743
|
"""
|
745
744
|
The timeout in minutes for the branch control check. Defaults to `1440`.
|
746
745
|
"""
|
747
746
|
return pulumi.get(self, "timeout")
|
748
747
|
|
749
|
-
@property
|
748
|
+
@_builtins.property
|
750
749
|
@pulumi.getter(name="verifyBranchProtection")
|
751
|
-
def verify_branch_protection(self) -> pulumi.Output[Optional[
|
750
|
+
def verify_branch_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
752
751
|
"""
|
753
752
|
Validate the branches being deployed are protected. Defaults to `false`.
|
754
753
|
"""
|
755
754
|
return pulumi.get(self, "verify_branch_protection")
|
756
755
|
|
757
|
-
@property
|
756
|
+
@_builtins.property
|
758
757
|
@pulumi.getter
|
759
|
-
def version(self) -> pulumi.Output[
|
758
|
+
def version(self) -> pulumi.Output[_builtins.int]:
|
760
759
|
"""
|
761
760
|
The version of the check.
|
762
761
|
"""
|