pulumi-azuredevops 3.8.0a1741843418__py3-none-any.whl → 3.9.0__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 +21 -0
- pulumi_azuredevops/_inputs.py +1492 -956
- pulumi_azuredevops/area_permissions.py +71 -70
- pulumi_azuredevops/branch_policy_auto_reviewers.py +43 -42
- pulumi_azuredevops/branch_policy_build_validation.py +43 -42
- pulumi_azuredevops/branch_policy_comment_resolution.py +43 -42
- pulumi_azuredevops/branch_policy_merge_types.py +43 -42
- pulumi_azuredevops/branch_policy_min_reviewers.py +43 -42
- pulumi_azuredevops/branch_policy_status_check.py +43 -42
- pulumi_azuredevops/branch_policy_work_item_linking.py +43 -42
- pulumi_azuredevops/build_definition.py +427 -91
- pulumi_azuredevops/build_definition_permissions.py +71 -70
- pulumi_azuredevops/build_folder.py +43 -42
- pulumi_azuredevops/build_folder_permissions.py +78 -70
- pulumi_azuredevops/check_approval.py +120 -119
- pulumi_azuredevops/check_branch_control.py +120 -119
- pulumi_azuredevops/check_business_hours.py +218 -217
- pulumi_azuredevops/check_exclusive_lock.py +64 -63
- pulumi_azuredevops/check_required_template.py +50 -49
- pulumi_azuredevops/check_rest_api.py +218 -217
- pulumi_azuredevops/config/__init__.py +1 -0
- pulumi_azuredevops/config/__init__.pyi +1 -0
- pulumi_azuredevops/config/vars.py +1 -0
- pulumi_azuredevops/dashboard.py +78 -77
- pulumi_azuredevops/elastic_pool.py +169 -168
- pulumi_azuredevops/environment.py +43 -42
- pulumi_azuredevops/environment_resource_kubernetes.py +99 -98
- pulumi_azuredevops/extension.py +426 -0
- pulumi_azuredevops/feed.py +29 -28
- pulumi_azuredevops/feed_permission.py +106 -77
- pulumi_azuredevops/feed_retention_policy.py +57 -56
- pulumi_azuredevops/get_agent_queue.py +13 -12
- pulumi_azuredevops/get_area.py +19 -18
- pulumi_azuredevops/get_build_definition.py +64 -21
- pulumi_azuredevops/get_client_config.py +64 -7
- pulumi_azuredevops/get_descriptor.py +8 -7
- pulumi_azuredevops/get_environment.py +18 -17
- pulumi_azuredevops/get_feed.py +17 -16
- pulumi_azuredevops/get_git_repository.py +20 -19
- pulumi_azuredevops/get_git_repository_file.py +201 -0
- pulumi_azuredevops/get_group.py +16 -15
- pulumi_azuredevops/get_group_membership.py +132 -0
- pulumi_azuredevops/get_groups.py +7 -6
- pulumi_azuredevops/get_identity_group.py +14 -13
- pulumi_azuredevops/get_identity_groups.py +7 -6
- pulumi_azuredevops/get_identity_users.py +14 -13
- pulumi_azuredevops/get_iteration.py +19 -18
- pulumi_azuredevops/get_pool.py +10 -9
- pulumi_azuredevops/get_pools.py +2 -1
- pulumi_azuredevops/get_project.py +18 -17
- pulumi_azuredevops/get_projects.py +12 -11
- pulumi_azuredevops/get_repositories.py +17 -16
- pulumi_azuredevops/get_securityrole_definitions.py +7 -6
- pulumi_azuredevops/get_service_endpoint_azure_rm.py +31 -30
- pulumi_azuredevops/get_service_endpoint_github.py +19 -18
- pulumi_azuredevops/get_service_principal.py +10 -9
- pulumi_azuredevops/get_serviceendpoint_azurecr.py +29 -28
- pulumi_azuredevops/get_serviceendpoint_bitbucket.py +19 -18
- pulumi_azuredevops/get_serviceendpoint_npm.py +20 -19
- pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +19 -18
- pulumi_azuredevops/get_storage_key.py +8 -7
- pulumi_azuredevops/get_team.py +21 -20
- pulumi_azuredevops/get_teams.py +14 -13
- pulumi_azuredevops/get_user.py +14 -13
- pulumi_azuredevops/get_users.py +88 -21
- pulumi_azuredevops/get_variable_group.py +14 -13
- pulumi_azuredevops/git.py +113 -112
- pulumi_azuredevops/git_permissions.py +85 -84
- pulumi_azuredevops/git_repository_branch.py +78 -77
- pulumi_azuredevops/git_repository_file.py +342 -85
- pulumi_azuredevops/group.py +134 -133
- pulumi_azuredevops/group_entitlement.py +85 -84
- pulumi_azuredevops/group_membership.py +43 -42
- pulumi_azuredevops/iterative_permissions.py +71 -70
- pulumi_azuredevops/library_permissions.py +57 -56
- pulumi_azuredevops/outputs.py +1569 -918
- pulumi_azuredevops/pipeline_authorization.py +71 -70
- pulumi_azuredevops/pool.py +57 -56
- pulumi_azuredevops/project.py +92 -91
- pulumi_azuredevops/project_features.py +25 -24
- pulumi_azuredevops/project_permissions.py +57 -56
- pulumi_azuredevops/project_pipeline_settings.py +99 -98
- pulumi_azuredevops/project_tags.py +29 -28
- pulumi_azuredevops/provider.py +157 -156
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/queue.py +43 -42
- pulumi_azuredevops/repository_policy_author_email_pattern.py +71 -70
- pulumi_azuredevops/repository_policy_case_enforcement.py +71 -70
- pulumi_azuredevops/repository_policy_check_credentials.py +57 -56
- pulumi_azuredevops/repository_policy_file_path_pattern.py +71 -70
- pulumi_azuredevops/repository_policy_max_file_size.py +71 -70
- pulumi_azuredevops/repository_policy_max_path_length.py +71 -70
- pulumi_azuredevops/repository_policy_reserved_names.py +57 -56
- pulumi_azuredevops/resource_authorization.py +71 -70
- pulumi_azuredevops/securityrole_assignment.py +57 -56
- pulumi_azuredevops/service_endpoint_artifactory.py +62 -61
- pulumi_azuredevops/service_endpoint_aws.py +144 -143
- pulumi_azuredevops/service_endpoint_azure_dev_ops.py +86 -85
- pulumi_azuredevops/service_endpoint_azure_ecr.py +175 -174
- pulumi_azuredevops/service_endpoint_azure_rm.py +203 -194
- pulumi_azuredevops/service_endpoint_bit_bucket.py +72 -71
- pulumi_azuredevops/service_endpoint_docker_registry.py +114 -113
- pulumi_azuredevops/service_endpoint_generic.py +86 -85
- pulumi_azuredevops/service_endpoint_generic_git.py +100 -99
- pulumi_azuredevops/service_endpoint_git_hub.py +44 -43
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +174 -82
- pulumi_azuredevops/service_endpoint_git_lab.py +86 -85
- pulumi_azuredevops/service_endpoint_kubernetes.py +72 -71
- pulumi_azuredevops/service_endpoint_npm.py +76 -75
- pulumi_azuredevops/service_endpoint_pipeline.py +58 -57
- pulumi_azuredevops/service_endpoint_service_fabric.py +58 -57
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +62 -61
- pulumi_azuredevops/service_endpoint_sonar_qube.py +76 -75
- pulumi_azuredevops/service_endpoint_ssh.py +114 -113
- pulumi_azuredevops/service_principal_entitlement.py +71 -70
- pulumi_azuredevops/serviceendpoint_argocd.py +62 -61
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +72 -71
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +114 -113
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +114 -113
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +142 -141
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +114 -113
- pulumi_azuredevops/serviceendpoint_externaltfs.py +58 -57
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +116 -115
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +86 -85
- pulumi_azuredevops/serviceendpoint_jenkins.py +100 -99
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_maven.py +72 -71
- pulumi_azuredevops/serviceendpoint_nexus.py +86 -85
- pulumi_azuredevops/serviceendpoint_nuget.py +114 -113
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +86 -85
- pulumi_azuredevops/serviceendpoint_openshift.py +688 -0
- pulumi_azuredevops/serviceendpoint_permissions.py +71 -70
- pulumi_azuredevops/serviceendpoint_snyk.py +72 -71
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +58 -57
- pulumi_azuredevops/servicehook_permissions.py +57 -56
- pulumi_azuredevops/servicehook_storage_queue_pipelines.py +85 -84
- pulumi_azuredevops/tagging_permissions.py +57 -56
- pulumi_azuredevops/team.py +78 -77
- pulumi_azuredevops/team_administrators.py +57 -56
- pulumi_azuredevops/team_members.py +57 -56
- pulumi_azuredevops/user.py +78 -77
- pulumi_azuredevops/variable_group.py +57 -56
- pulumi_azuredevops/variable_group_permissions.py +71 -70
- pulumi_azuredevops/wiki.py +99 -98
- pulumi_azuredevops/wiki_page.py +67 -66
- pulumi_azuredevops/work_item_query_permissions.py +71 -70
- pulumi_azuredevops/workitem.py +113 -112
- {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0.dist-info}/METADATA +2 -2
- pulumi_azuredevops-3.9.0.dist-info/RECORD +156 -0
- {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0.dist-info}/WHEEL +1 -1
- pulumi_azuredevops-3.8.0a1741843418.dist-info/RECORD +0 -152
- {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,16 +22,16 @@ __all__ = ['BranchPolicyMergeTypesArgs', 'BranchPolicyMergeTypes']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class BranchPolicyMergeTypesArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
project_id: pulumi.Input[str],
|
25
|
+
project_id: pulumi.Input[builtins.str],
|
25
26
|
settings: pulumi.Input['BranchPolicyMergeTypesSettingsArgs'],
|
26
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
27
|
-
enabled: Optional[pulumi.Input[bool]] = None):
|
27
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
28
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None):
|
28
29
|
"""
|
29
30
|
The set of arguments for constructing a BranchPolicyMergeTypes resource.
|
30
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
31
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
31
32
|
:param pulumi.Input['BranchPolicyMergeTypesSettingsArgs'] settings: A `settings` block as defined below. Configuration for the policy. This block must be defined exactly once.
|
32
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
33
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
33
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
34
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
34
35
|
"""
|
35
36
|
pulumi.set(__self__, "project_id", project_id)
|
36
37
|
pulumi.set(__self__, "settings", settings)
|
@@ -41,14 +42,14 @@ class BranchPolicyMergeTypesArgs:
|
|
41
42
|
|
42
43
|
@property
|
43
44
|
@pulumi.getter(name="projectId")
|
44
|
-
def project_id(self) -> pulumi.Input[str]:
|
45
|
+
def project_id(self) -> pulumi.Input[builtins.str]:
|
45
46
|
"""
|
46
47
|
The ID of the project in which the policy will be created.
|
47
48
|
"""
|
48
49
|
return pulumi.get(self, "project_id")
|
49
50
|
|
50
51
|
@project_id.setter
|
51
|
-
def project_id(self, value: pulumi.Input[str]):
|
52
|
+
def project_id(self, value: pulumi.Input[builtins.str]):
|
52
53
|
pulumi.set(self, "project_id", value)
|
53
54
|
|
54
55
|
@property
|
@@ -65,41 +66,41 @@ class BranchPolicyMergeTypesArgs:
|
|
65
66
|
|
66
67
|
@property
|
67
68
|
@pulumi.getter
|
68
|
-
def blocking(self) -> Optional[pulumi.Input[bool]]:
|
69
|
+
def blocking(self) -> Optional[pulumi.Input[builtins.bool]]:
|
69
70
|
"""
|
70
71
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
71
72
|
"""
|
72
73
|
return pulumi.get(self, "blocking")
|
73
74
|
|
74
75
|
@blocking.setter
|
75
|
-
def blocking(self, value: Optional[pulumi.Input[bool]]):
|
76
|
+
def blocking(self, value: Optional[pulumi.Input[builtins.bool]]):
|
76
77
|
pulumi.set(self, "blocking", value)
|
77
78
|
|
78
79
|
@property
|
79
80
|
@pulumi.getter
|
80
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
81
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
81
82
|
"""
|
82
83
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
83
84
|
"""
|
84
85
|
return pulumi.get(self, "enabled")
|
85
86
|
|
86
87
|
@enabled.setter
|
87
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
88
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
88
89
|
pulumi.set(self, "enabled", value)
|
89
90
|
|
90
91
|
|
91
92
|
@pulumi.input_type
|
92
93
|
class _BranchPolicyMergeTypesState:
|
93
94
|
def __init__(__self__, *,
|
94
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
95
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
96
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
95
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
96
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
97
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
97
98
|
settings: Optional[pulumi.Input['BranchPolicyMergeTypesSettingsArgs']] = None):
|
98
99
|
"""
|
99
100
|
Input properties used for looking up and filtering BranchPolicyMergeTypes resources.
|
100
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
101
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
102
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
101
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
102
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
103
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
103
104
|
:param pulumi.Input['BranchPolicyMergeTypesSettingsArgs'] settings: A `settings` block as defined below. Configuration for the policy. This block must be defined exactly once.
|
104
105
|
"""
|
105
106
|
if blocking is not None:
|
@@ -113,38 +114,38 @@ class _BranchPolicyMergeTypesState:
|
|
113
114
|
|
114
115
|
@property
|
115
116
|
@pulumi.getter
|
116
|
-
def blocking(self) -> Optional[pulumi.Input[bool]]:
|
117
|
+
def blocking(self) -> Optional[pulumi.Input[builtins.bool]]:
|
117
118
|
"""
|
118
119
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
119
120
|
"""
|
120
121
|
return pulumi.get(self, "blocking")
|
121
122
|
|
122
123
|
@blocking.setter
|
123
|
-
def blocking(self, value: Optional[pulumi.Input[bool]]):
|
124
|
+
def blocking(self, value: Optional[pulumi.Input[builtins.bool]]):
|
124
125
|
pulumi.set(self, "blocking", value)
|
125
126
|
|
126
127
|
@property
|
127
128
|
@pulumi.getter
|
128
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
129
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
129
130
|
"""
|
130
131
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
131
132
|
"""
|
132
133
|
return pulumi.get(self, "enabled")
|
133
134
|
|
134
135
|
@enabled.setter
|
135
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
136
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
136
137
|
pulumi.set(self, "enabled", value)
|
137
138
|
|
138
139
|
@property
|
139
140
|
@pulumi.getter(name="projectId")
|
140
|
-
def project_id(self) -> Optional[pulumi.Input[str]]:
|
141
|
+
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
141
142
|
"""
|
142
143
|
The ID of the project in which the policy will be created.
|
143
144
|
"""
|
144
145
|
return pulumi.get(self, "project_id")
|
145
146
|
|
146
147
|
@project_id.setter
|
147
|
-
def project_id(self, value: Optional[pulumi.Input[str]]):
|
148
|
+
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
148
149
|
pulumi.set(self, "project_id", value)
|
149
150
|
|
150
151
|
@property
|
@@ -165,9 +166,9 @@ class BranchPolicyMergeTypes(pulumi.CustomResource):
|
|
165
166
|
def __init__(__self__,
|
166
167
|
resource_name: str,
|
167
168
|
opts: Optional[pulumi.ResourceOptions] = None,
|
168
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
169
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
170
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
169
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
170
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
171
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
171
172
|
settings: Optional[pulumi.Input[Union['BranchPolicyMergeTypesSettingsArgs', 'BranchPolicyMergeTypesSettingsArgsDict']]] = None,
|
172
173
|
__props__=None):
|
173
174
|
"""
|
@@ -227,9 +228,9 @@ class BranchPolicyMergeTypes(pulumi.CustomResource):
|
|
227
228
|
|
228
229
|
:param str resource_name: The name of the resource.
|
229
230
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
230
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
231
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
232
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
231
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
232
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
233
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
233
234
|
:param pulumi.Input[Union['BranchPolicyMergeTypesSettingsArgs', 'BranchPolicyMergeTypesSettingsArgsDict']] settings: A `settings` block as defined below. Configuration for the policy. This block must be defined exactly once.
|
234
235
|
"""
|
235
236
|
...
|
@@ -308,9 +309,9 @@ class BranchPolicyMergeTypes(pulumi.CustomResource):
|
|
308
309
|
def _internal_init(__self__,
|
309
310
|
resource_name: str,
|
310
311
|
opts: Optional[pulumi.ResourceOptions] = None,
|
311
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
312
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
313
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
312
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
313
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
314
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
314
315
|
settings: Optional[pulumi.Input[Union['BranchPolicyMergeTypesSettingsArgs', 'BranchPolicyMergeTypesSettingsArgsDict']]] = None,
|
315
316
|
__props__=None):
|
316
317
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -339,9 +340,9 @@ class BranchPolicyMergeTypes(pulumi.CustomResource):
|
|
339
340
|
def get(resource_name: str,
|
340
341
|
id: pulumi.Input[str],
|
341
342
|
opts: Optional[pulumi.ResourceOptions] = None,
|
342
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
343
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
344
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
343
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
344
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
345
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
345
346
|
settings: Optional[pulumi.Input[Union['BranchPolicyMergeTypesSettingsArgs', 'BranchPolicyMergeTypesSettingsArgsDict']]] = None) -> 'BranchPolicyMergeTypes':
|
346
347
|
"""
|
347
348
|
Get an existing BranchPolicyMergeTypes resource's state with the given name, id, and optional extra
|
@@ -350,9 +351,9 @@ class BranchPolicyMergeTypes(pulumi.CustomResource):
|
|
350
351
|
:param str resource_name: The unique name of the resulting resource.
|
351
352
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
352
353
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
353
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
354
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
355
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
354
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
355
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
356
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
356
357
|
:param pulumi.Input[Union['BranchPolicyMergeTypesSettingsArgs', 'BranchPolicyMergeTypesSettingsArgsDict']] settings: A `settings` block as defined below. Configuration for the policy. This block must be defined exactly once.
|
357
358
|
"""
|
358
359
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -367,7 +368,7 @@ class BranchPolicyMergeTypes(pulumi.CustomResource):
|
|
367
368
|
|
368
369
|
@property
|
369
370
|
@pulumi.getter
|
370
|
-
def blocking(self) -> pulumi.Output[Optional[bool]]:
|
371
|
+
def blocking(self) -> pulumi.Output[Optional[builtins.bool]]:
|
371
372
|
"""
|
372
373
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
373
374
|
"""
|
@@ -375,7 +376,7 @@ class BranchPolicyMergeTypes(pulumi.CustomResource):
|
|
375
376
|
|
376
377
|
@property
|
377
378
|
@pulumi.getter
|
378
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
379
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
379
380
|
"""
|
380
381
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
381
382
|
"""
|
@@ -383,7 +384,7 @@ class BranchPolicyMergeTypes(pulumi.CustomResource):
|
|
383
384
|
|
384
385
|
@property
|
385
386
|
@pulumi.getter(name="projectId")
|
386
|
-
def project_id(self) -> pulumi.Output[str]:
|
387
|
+
def project_id(self) -> pulumi.Output[builtins.str]:
|
387
388
|
"""
|
388
389
|
The ID of the project in which the policy will be created.
|
389
390
|
"""
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,16 +22,16 @@ __all__ = ['BranchPolicyMinReviewersArgs', 'BranchPolicyMinReviewers']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class BranchPolicyMinReviewersArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
project_id: pulumi.Input[str],
|
25
|
+
project_id: pulumi.Input[builtins.str],
|
25
26
|
settings: pulumi.Input['BranchPolicyMinReviewersSettingsArgs'],
|
26
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
27
|
-
enabled: Optional[pulumi.Input[bool]] = None):
|
27
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
28
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None):
|
28
29
|
"""
|
29
30
|
The set of arguments for constructing a BranchPolicyMinReviewers resource.
|
30
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
31
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
31
32
|
:param pulumi.Input['BranchPolicyMinReviewersSettingsArgs'] settings: A `settings` block as defined below.. This block must be defined exactly once.
|
32
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
33
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
33
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
34
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
34
35
|
"""
|
35
36
|
pulumi.set(__self__, "project_id", project_id)
|
36
37
|
pulumi.set(__self__, "settings", settings)
|
@@ -41,14 +42,14 @@ class BranchPolicyMinReviewersArgs:
|
|
41
42
|
|
42
43
|
@property
|
43
44
|
@pulumi.getter(name="projectId")
|
44
|
-
def project_id(self) -> pulumi.Input[str]:
|
45
|
+
def project_id(self) -> pulumi.Input[builtins.str]:
|
45
46
|
"""
|
46
47
|
The ID of the project in which the policy will be created.
|
47
48
|
"""
|
48
49
|
return pulumi.get(self, "project_id")
|
49
50
|
|
50
51
|
@project_id.setter
|
51
|
-
def project_id(self, value: pulumi.Input[str]):
|
52
|
+
def project_id(self, value: pulumi.Input[builtins.str]):
|
52
53
|
pulumi.set(self, "project_id", value)
|
53
54
|
|
54
55
|
@property
|
@@ -65,41 +66,41 @@ class BranchPolicyMinReviewersArgs:
|
|
65
66
|
|
66
67
|
@property
|
67
68
|
@pulumi.getter
|
68
|
-
def blocking(self) -> Optional[pulumi.Input[bool]]:
|
69
|
+
def blocking(self) -> Optional[pulumi.Input[builtins.bool]]:
|
69
70
|
"""
|
70
71
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
71
72
|
"""
|
72
73
|
return pulumi.get(self, "blocking")
|
73
74
|
|
74
75
|
@blocking.setter
|
75
|
-
def blocking(self, value: Optional[pulumi.Input[bool]]):
|
76
|
+
def blocking(self, value: Optional[pulumi.Input[builtins.bool]]):
|
76
77
|
pulumi.set(self, "blocking", value)
|
77
78
|
|
78
79
|
@property
|
79
80
|
@pulumi.getter
|
80
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
81
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
81
82
|
"""
|
82
83
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
83
84
|
"""
|
84
85
|
return pulumi.get(self, "enabled")
|
85
86
|
|
86
87
|
@enabled.setter
|
87
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
88
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
88
89
|
pulumi.set(self, "enabled", value)
|
89
90
|
|
90
91
|
|
91
92
|
@pulumi.input_type
|
92
93
|
class _BranchPolicyMinReviewersState:
|
93
94
|
def __init__(__self__, *,
|
94
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
95
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
96
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
95
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
96
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
97
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
97
98
|
settings: Optional[pulumi.Input['BranchPolicyMinReviewersSettingsArgs']] = None):
|
98
99
|
"""
|
99
100
|
Input properties used for looking up and filtering BranchPolicyMinReviewers resources.
|
100
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
101
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
102
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
101
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
102
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
103
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
103
104
|
:param pulumi.Input['BranchPolicyMinReviewersSettingsArgs'] settings: A `settings` block as defined below.. This block must be defined exactly once.
|
104
105
|
"""
|
105
106
|
if blocking is not None:
|
@@ -113,38 +114,38 @@ class _BranchPolicyMinReviewersState:
|
|
113
114
|
|
114
115
|
@property
|
115
116
|
@pulumi.getter
|
116
|
-
def blocking(self) -> Optional[pulumi.Input[bool]]:
|
117
|
+
def blocking(self) -> Optional[pulumi.Input[builtins.bool]]:
|
117
118
|
"""
|
118
119
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
119
120
|
"""
|
120
121
|
return pulumi.get(self, "blocking")
|
121
122
|
|
122
123
|
@blocking.setter
|
123
|
-
def blocking(self, value: Optional[pulumi.Input[bool]]):
|
124
|
+
def blocking(self, value: Optional[pulumi.Input[builtins.bool]]):
|
124
125
|
pulumi.set(self, "blocking", value)
|
125
126
|
|
126
127
|
@property
|
127
128
|
@pulumi.getter
|
128
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
129
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
129
130
|
"""
|
130
131
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
131
132
|
"""
|
132
133
|
return pulumi.get(self, "enabled")
|
133
134
|
|
134
135
|
@enabled.setter
|
135
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
136
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
136
137
|
pulumi.set(self, "enabled", value)
|
137
138
|
|
138
139
|
@property
|
139
140
|
@pulumi.getter(name="projectId")
|
140
|
-
def project_id(self) -> Optional[pulumi.Input[str]]:
|
141
|
+
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
141
142
|
"""
|
142
143
|
The ID of the project in which the policy will be created.
|
143
144
|
"""
|
144
145
|
return pulumi.get(self, "project_id")
|
145
146
|
|
146
147
|
@project_id.setter
|
147
|
-
def project_id(self, value: Optional[pulumi.Input[str]]):
|
148
|
+
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
148
149
|
pulumi.set(self, "project_id", value)
|
149
150
|
|
150
151
|
@property
|
@@ -165,9 +166,9 @@ class BranchPolicyMinReviewers(pulumi.CustomResource):
|
|
165
166
|
def __init__(__self__,
|
166
167
|
resource_name: str,
|
167
168
|
opts: Optional[pulumi.ResourceOptions] = None,
|
168
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
169
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
170
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
169
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
170
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
171
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
171
172
|
settings: Optional[pulumi.Input[Union['BranchPolicyMinReviewersSettingsArgs', 'BranchPolicyMinReviewersSettingsArgsDict']]] = None,
|
172
173
|
__props__=None):
|
173
174
|
"""
|
@@ -229,9 +230,9 @@ class BranchPolicyMinReviewers(pulumi.CustomResource):
|
|
229
230
|
|
230
231
|
:param str resource_name: The name of the resource.
|
231
232
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
232
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
233
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
234
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
233
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
234
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
235
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
235
236
|
:param pulumi.Input[Union['BranchPolicyMinReviewersSettingsArgs', 'BranchPolicyMinReviewersSettingsArgsDict']] settings: A `settings` block as defined below.. This block must be defined exactly once.
|
236
237
|
"""
|
237
238
|
...
|
@@ -312,9 +313,9 @@ class BranchPolicyMinReviewers(pulumi.CustomResource):
|
|
312
313
|
def _internal_init(__self__,
|
313
314
|
resource_name: str,
|
314
315
|
opts: Optional[pulumi.ResourceOptions] = None,
|
315
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
316
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
317
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
316
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
317
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
318
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
318
319
|
settings: Optional[pulumi.Input[Union['BranchPolicyMinReviewersSettingsArgs', 'BranchPolicyMinReviewersSettingsArgsDict']]] = None,
|
319
320
|
__props__=None):
|
320
321
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -343,9 +344,9 @@ class BranchPolicyMinReviewers(pulumi.CustomResource):
|
|
343
344
|
def get(resource_name: str,
|
344
345
|
id: pulumi.Input[str],
|
345
346
|
opts: Optional[pulumi.ResourceOptions] = None,
|
346
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
347
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
348
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
347
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
348
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
349
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
349
350
|
settings: Optional[pulumi.Input[Union['BranchPolicyMinReviewersSettingsArgs', 'BranchPolicyMinReviewersSettingsArgsDict']]] = None) -> 'BranchPolicyMinReviewers':
|
350
351
|
"""
|
351
352
|
Get an existing BranchPolicyMinReviewers resource's state with the given name, id, and optional extra
|
@@ -354,9 +355,9 @@ class BranchPolicyMinReviewers(pulumi.CustomResource):
|
|
354
355
|
:param str resource_name: The unique name of the resulting resource.
|
355
356
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
356
357
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
357
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
358
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
359
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
358
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
359
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
360
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
360
361
|
:param pulumi.Input[Union['BranchPolicyMinReviewersSettingsArgs', 'BranchPolicyMinReviewersSettingsArgsDict']] settings: A `settings` block as defined below.. This block must be defined exactly once.
|
361
362
|
"""
|
362
363
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -371,7 +372,7 @@ class BranchPolicyMinReviewers(pulumi.CustomResource):
|
|
371
372
|
|
372
373
|
@property
|
373
374
|
@pulumi.getter
|
374
|
-
def blocking(self) -> pulumi.Output[Optional[bool]]:
|
375
|
+
def blocking(self) -> pulumi.Output[Optional[builtins.bool]]:
|
375
376
|
"""
|
376
377
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
377
378
|
"""
|
@@ -379,7 +380,7 @@ class BranchPolicyMinReviewers(pulumi.CustomResource):
|
|
379
380
|
|
380
381
|
@property
|
381
382
|
@pulumi.getter
|
382
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
383
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
383
384
|
"""
|
384
385
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
385
386
|
"""
|
@@ -387,7 +388,7 @@ class BranchPolicyMinReviewers(pulumi.CustomResource):
|
|
387
388
|
|
388
389
|
@property
|
389
390
|
@pulumi.getter(name="projectId")
|
390
|
-
def project_id(self) -> pulumi.Output[str]:
|
391
|
+
def project_id(self) -> pulumi.Output[builtins.str]:
|
391
392
|
"""
|
392
393
|
The ID of the project in which the policy will be created.
|
393
394
|
"""
|