pulumi-azuredevops 3.8.0a1742224403__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 +20 -0
- pulumi_azuredevops/_inputs.py +1140 -1013
- 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 +120 -119
- 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 +23 -22
- pulumi_azuredevops/get_client_config.py +7 -6
- 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 +8 -7
- 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 +12 -11
- pulumi_azuredevops/get_user.py +14 -13
- pulumi_azuredevops/get_users.py +84 -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 +1118 -995
- 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 +169 -168
- pulumi_azuredevops/service_endpoint_azure_rm.py +195 -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.0a1742224403.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.0a1742224403.dist-info → pulumi_azuredevops-3.9.0.dist-info}/WHEEL +1 -1
- pulumi_azuredevops-3.8.0a1742224403.dist-info/RECORD +0 -153
- {pulumi_azuredevops-3.8.0a1742224403.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
|
@@ -19,18 +20,18 @@ __all__ = ['RepositoryPolicyMaxPathLengthArgs', 'RepositoryPolicyMaxPathLength']
|
|
19
20
|
@pulumi.input_type
|
20
21
|
class RepositoryPolicyMaxPathLengthArgs:
|
21
22
|
def __init__(__self__, *,
|
22
|
-
max_path_length: pulumi.Input[int],
|
23
|
-
project_id: pulumi.Input[str],
|
24
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
25
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
26
|
-
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
23
|
+
max_path_length: pulumi.Input[builtins.int],
|
24
|
+
project_id: pulumi.Input[builtins.str],
|
25
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
26
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
27
|
+
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
27
28
|
"""
|
28
29
|
The set of arguments for constructing a RepositoryPolicyMaxPathLength resource.
|
29
|
-
:param pulumi.Input[int] max_path_length: Block pushes that introduce paths that exceed the specified length.
|
30
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
31
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
32
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
33
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
30
|
+
:param pulumi.Input[builtins.int] max_path_length: Block pushes that introduce paths that exceed the specified length.
|
31
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
32
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
33
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
34
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
34
35
|
"""
|
35
36
|
pulumi.set(__self__, "max_path_length", max_path_length)
|
36
37
|
pulumi.set(__self__, "project_id", project_id)
|
@@ -43,80 +44,80 @@ class RepositoryPolicyMaxPathLengthArgs:
|
|
43
44
|
|
44
45
|
@property
|
45
46
|
@pulumi.getter(name="maxPathLength")
|
46
|
-
def max_path_length(self) -> pulumi.Input[int]:
|
47
|
+
def max_path_length(self) -> pulumi.Input[builtins.int]:
|
47
48
|
"""
|
48
49
|
Block pushes that introduce paths that exceed the specified length.
|
49
50
|
"""
|
50
51
|
return pulumi.get(self, "max_path_length")
|
51
52
|
|
52
53
|
@max_path_length.setter
|
53
|
-
def max_path_length(self, value: pulumi.Input[int]):
|
54
|
+
def max_path_length(self, value: pulumi.Input[builtins.int]):
|
54
55
|
pulumi.set(self, "max_path_length", value)
|
55
56
|
|
56
57
|
@property
|
57
58
|
@pulumi.getter(name="projectId")
|
58
|
-
def project_id(self) -> pulumi.Input[str]:
|
59
|
+
def project_id(self) -> pulumi.Input[builtins.str]:
|
59
60
|
"""
|
60
61
|
The ID of the project in which the policy will be created.
|
61
62
|
"""
|
62
63
|
return pulumi.get(self, "project_id")
|
63
64
|
|
64
65
|
@project_id.setter
|
65
|
-
def project_id(self, value: pulumi.Input[str]):
|
66
|
+
def project_id(self, value: pulumi.Input[builtins.str]):
|
66
67
|
pulumi.set(self, "project_id", value)
|
67
68
|
|
68
69
|
@property
|
69
70
|
@pulumi.getter
|
70
|
-
def blocking(self) -> Optional[pulumi.Input[bool]]:
|
71
|
+
def blocking(self) -> Optional[pulumi.Input[builtins.bool]]:
|
71
72
|
"""
|
72
73
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
73
74
|
"""
|
74
75
|
return pulumi.get(self, "blocking")
|
75
76
|
|
76
77
|
@blocking.setter
|
77
|
-
def blocking(self, value: Optional[pulumi.Input[bool]]):
|
78
|
+
def blocking(self, value: Optional[pulumi.Input[builtins.bool]]):
|
78
79
|
pulumi.set(self, "blocking", value)
|
79
80
|
|
80
81
|
@property
|
81
82
|
@pulumi.getter
|
82
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
83
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
83
84
|
"""
|
84
85
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
85
86
|
"""
|
86
87
|
return pulumi.get(self, "enabled")
|
87
88
|
|
88
89
|
@enabled.setter
|
89
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
90
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
90
91
|
pulumi.set(self, "enabled", value)
|
91
92
|
|
92
93
|
@property
|
93
94
|
@pulumi.getter(name="repositoryIds")
|
94
|
-
def repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
95
|
+
def repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
95
96
|
"""
|
96
97
|
Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
97
98
|
"""
|
98
99
|
return pulumi.get(self, "repository_ids")
|
99
100
|
|
100
101
|
@repository_ids.setter
|
101
|
-
def repository_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
102
|
+
def repository_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
102
103
|
pulumi.set(self, "repository_ids", value)
|
103
104
|
|
104
105
|
|
105
106
|
@pulumi.input_type
|
106
107
|
class _RepositoryPolicyMaxPathLengthState:
|
107
108
|
def __init__(__self__, *,
|
108
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
109
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
110
|
-
max_path_length: Optional[pulumi.Input[int]] = None,
|
111
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
112
|
-
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
109
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
110
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
111
|
+
max_path_length: Optional[pulumi.Input[builtins.int]] = None,
|
112
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
113
|
+
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
113
114
|
"""
|
114
115
|
Input properties used for looking up and filtering RepositoryPolicyMaxPathLength resources.
|
115
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
116
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
117
|
-
:param pulumi.Input[int] max_path_length: Block pushes that introduce paths that exceed the specified length.
|
118
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
119
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
116
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
117
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
118
|
+
:param pulumi.Input[builtins.int] max_path_length: Block pushes that introduce paths that exceed the specified length.
|
119
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
120
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
120
121
|
"""
|
121
122
|
if blocking is not None:
|
122
123
|
pulumi.set(__self__, "blocking", blocking)
|
@@ -131,62 +132,62 @@ class _RepositoryPolicyMaxPathLengthState:
|
|
131
132
|
|
132
133
|
@property
|
133
134
|
@pulumi.getter
|
134
|
-
def blocking(self) -> Optional[pulumi.Input[bool]]:
|
135
|
+
def blocking(self) -> Optional[pulumi.Input[builtins.bool]]:
|
135
136
|
"""
|
136
137
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
137
138
|
"""
|
138
139
|
return pulumi.get(self, "blocking")
|
139
140
|
|
140
141
|
@blocking.setter
|
141
|
-
def blocking(self, value: Optional[pulumi.Input[bool]]):
|
142
|
+
def blocking(self, value: Optional[pulumi.Input[builtins.bool]]):
|
142
143
|
pulumi.set(self, "blocking", value)
|
143
144
|
|
144
145
|
@property
|
145
146
|
@pulumi.getter
|
146
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
147
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
147
148
|
"""
|
148
149
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
149
150
|
"""
|
150
151
|
return pulumi.get(self, "enabled")
|
151
152
|
|
152
153
|
@enabled.setter
|
153
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
154
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
154
155
|
pulumi.set(self, "enabled", value)
|
155
156
|
|
156
157
|
@property
|
157
158
|
@pulumi.getter(name="maxPathLength")
|
158
|
-
def max_path_length(self) -> Optional[pulumi.Input[int]]:
|
159
|
+
def max_path_length(self) -> Optional[pulumi.Input[builtins.int]]:
|
159
160
|
"""
|
160
161
|
Block pushes that introduce paths that exceed the specified length.
|
161
162
|
"""
|
162
163
|
return pulumi.get(self, "max_path_length")
|
163
164
|
|
164
165
|
@max_path_length.setter
|
165
|
-
def max_path_length(self, value: Optional[pulumi.Input[int]]):
|
166
|
+
def max_path_length(self, value: Optional[pulumi.Input[builtins.int]]):
|
166
167
|
pulumi.set(self, "max_path_length", value)
|
167
168
|
|
168
169
|
@property
|
169
170
|
@pulumi.getter(name="projectId")
|
170
|
-
def project_id(self) -> Optional[pulumi.Input[str]]:
|
171
|
+
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
171
172
|
"""
|
172
173
|
The ID of the project in which the policy will be created.
|
173
174
|
"""
|
174
175
|
return pulumi.get(self, "project_id")
|
175
176
|
|
176
177
|
@project_id.setter
|
177
|
-
def project_id(self, value: Optional[pulumi.Input[str]]):
|
178
|
+
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
178
179
|
pulumi.set(self, "project_id", value)
|
179
180
|
|
180
181
|
@property
|
181
182
|
@pulumi.getter(name="repositoryIds")
|
182
|
-
def repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
183
|
+
def repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
183
184
|
"""
|
184
185
|
Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
185
186
|
"""
|
186
187
|
return pulumi.get(self, "repository_ids")
|
187
188
|
|
188
189
|
@repository_ids.setter
|
189
|
-
def repository_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
190
|
+
def repository_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
190
191
|
pulumi.set(self, "repository_ids", value)
|
191
192
|
|
192
193
|
|
@@ -195,11 +196,11 @@ class RepositoryPolicyMaxPathLength(pulumi.CustomResource):
|
|
195
196
|
def __init__(__self__,
|
196
197
|
resource_name: str,
|
197
198
|
opts: Optional[pulumi.ResourceOptions] = None,
|
198
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
199
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
200
|
-
max_path_length: Optional[pulumi.Input[int]] = None,
|
201
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
202
|
-
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
199
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
200
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
201
|
+
max_path_length: Optional[pulumi.Input[builtins.int]] = None,
|
202
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
203
|
+
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
203
204
|
__props__=None):
|
204
205
|
"""
|
205
206
|
Manage a max path length repository policy within Azure DevOps project.
|
@@ -264,11 +265,11 @@ class RepositoryPolicyMaxPathLength(pulumi.CustomResource):
|
|
264
265
|
|
265
266
|
:param str resource_name: The name of the resource.
|
266
267
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
267
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
268
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
269
|
-
:param pulumi.Input[int] max_path_length: Block pushes that introduce paths that exceed the specified length.
|
270
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
271
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
268
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
269
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
270
|
+
:param pulumi.Input[builtins.int] max_path_length: Block pushes that introduce paths that exceed the specified length.
|
271
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
272
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
272
273
|
"""
|
273
274
|
...
|
274
275
|
@overload
|
@@ -352,11 +353,11 @@ class RepositoryPolicyMaxPathLength(pulumi.CustomResource):
|
|
352
353
|
def _internal_init(__self__,
|
353
354
|
resource_name: str,
|
354
355
|
opts: Optional[pulumi.ResourceOptions] = None,
|
355
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
356
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
357
|
-
max_path_length: Optional[pulumi.Input[int]] = None,
|
358
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
359
|
-
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
356
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
357
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
358
|
+
max_path_length: Optional[pulumi.Input[builtins.int]] = None,
|
359
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
360
|
+
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
360
361
|
__props__=None):
|
361
362
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
362
363
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -385,11 +386,11 @@ class RepositoryPolicyMaxPathLength(pulumi.CustomResource):
|
|
385
386
|
def get(resource_name: str,
|
386
387
|
id: pulumi.Input[str],
|
387
388
|
opts: Optional[pulumi.ResourceOptions] = None,
|
388
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
389
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
390
|
-
max_path_length: Optional[pulumi.Input[int]] = None,
|
391
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
392
|
-
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'RepositoryPolicyMaxPathLength':
|
389
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
390
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
391
|
+
max_path_length: Optional[pulumi.Input[builtins.int]] = None,
|
392
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
393
|
+
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'RepositoryPolicyMaxPathLength':
|
393
394
|
"""
|
394
395
|
Get an existing RepositoryPolicyMaxPathLength resource's state with the given name, id, and optional extra
|
395
396
|
properties used to qualify the lookup.
|
@@ -397,11 +398,11 @@ class RepositoryPolicyMaxPathLength(pulumi.CustomResource):
|
|
397
398
|
:param str resource_name: The unique name of the resulting resource.
|
398
399
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
399
400
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
400
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
401
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
402
|
-
:param pulumi.Input[int] max_path_length: Block pushes that introduce paths that exceed the specified length.
|
403
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
404
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
401
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
402
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
403
|
+
:param pulumi.Input[builtins.int] max_path_length: Block pushes that introduce paths that exceed the specified length.
|
404
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
405
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
405
406
|
"""
|
406
407
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
407
408
|
|
@@ -416,7 +417,7 @@ class RepositoryPolicyMaxPathLength(pulumi.CustomResource):
|
|
416
417
|
|
417
418
|
@property
|
418
419
|
@pulumi.getter
|
419
|
-
def blocking(self) -> pulumi.Output[Optional[bool]]:
|
420
|
+
def blocking(self) -> pulumi.Output[Optional[builtins.bool]]:
|
420
421
|
"""
|
421
422
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
422
423
|
"""
|
@@ -424,7 +425,7 @@ class RepositoryPolicyMaxPathLength(pulumi.CustomResource):
|
|
424
425
|
|
425
426
|
@property
|
426
427
|
@pulumi.getter
|
427
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
428
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
428
429
|
"""
|
429
430
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
430
431
|
"""
|
@@ -432,7 +433,7 @@ class RepositoryPolicyMaxPathLength(pulumi.CustomResource):
|
|
432
433
|
|
433
434
|
@property
|
434
435
|
@pulumi.getter(name="maxPathLength")
|
435
|
-
def max_path_length(self) -> pulumi.Output[int]:
|
436
|
+
def max_path_length(self) -> pulumi.Output[builtins.int]:
|
436
437
|
"""
|
437
438
|
Block pushes that introduce paths that exceed the specified length.
|
438
439
|
"""
|
@@ -440,7 +441,7 @@ class RepositoryPolicyMaxPathLength(pulumi.CustomResource):
|
|
440
441
|
|
441
442
|
@property
|
442
443
|
@pulumi.getter(name="projectId")
|
443
|
-
def project_id(self) -> pulumi.Output[str]:
|
444
|
+
def project_id(self) -> pulumi.Output[builtins.str]:
|
444
445
|
"""
|
445
446
|
The ID of the project in which the policy will be created.
|
446
447
|
"""
|
@@ -448,7 +449,7 @@ class RepositoryPolicyMaxPathLength(pulumi.CustomResource):
|
|
448
449
|
|
449
450
|
@property
|
450
451
|
@pulumi.getter(name="repositoryIds")
|
451
|
-
def repository_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
452
|
+
def repository_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
452
453
|
"""
|
453
454
|
Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
454
455
|
"""
|
@@ -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
|
@@ -19,16 +20,16 @@ __all__ = ['RepositoryPolicyReservedNamesArgs', 'RepositoryPolicyReservedNames']
|
|
19
20
|
@pulumi.input_type
|
20
21
|
class RepositoryPolicyReservedNamesArgs:
|
21
22
|
def __init__(__self__, *,
|
22
|
-
project_id: pulumi.Input[str],
|
23
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
24
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
25
|
-
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
23
|
+
project_id: pulumi.Input[builtins.str],
|
24
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
25
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
26
|
+
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
26
27
|
"""
|
27
28
|
The set of arguments for constructing a RepositoryPolicyReservedNames resource.
|
28
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
29
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
30
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
31
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
29
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
30
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
31
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
32
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
32
33
|
"""
|
33
34
|
pulumi.set(__self__, "project_id", project_id)
|
34
35
|
if blocking is not None:
|
@@ -40,66 +41,66 @@ class RepositoryPolicyReservedNamesArgs:
|
|
40
41
|
|
41
42
|
@property
|
42
43
|
@pulumi.getter(name="projectId")
|
43
|
-
def project_id(self) -> pulumi.Input[str]:
|
44
|
+
def project_id(self) -> pulumi.Input[builtins.str]:
|
44
45
|
"""
|
45
46
|
The ID of the project in which the policy will be created.
|
46
47
|
"""
|
47
48
|
return pulumi.get(self, "project_id")
|
48
49
|
|
49
50
|
@project_id.setter
|
50
|
-
def project_id(self, value: pulumi.Input[str]):
|
51
|
+
def project_id(self, value: pulumi.Input[builtins.str]):
|
51
52
|
pulumi.set(self, "project_id", value)
|
52
53
|
|
53
54
|
@property
|
54
55
|
@pulumi.getter
|
55
|
-
def blocking(self) -> Optional[pulumi.Input[bool]]:
|
56
|
+
def blocking(self) -> Optional[pulumi.Input[builtins.bool]]:
|
56
57
|
"""
|
57
58
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
58
59
|
"""
|
59
60
|
return pulumi.get(self, "blocking")
|
60
61
|
|
61
62
|
@blocking.setter
|
62
|
-
def blocking(self, value: Optional[pulumi.Input[bool]]):
|
63
|
+
def blocking(self, value: Optional[pulumi.Input[builtins.bool]]):
|
63
64
|
pulumi.set(self, "blocking", value)
|
64
65
|
|
65
66
|
@property
|
66
67
|
@pulumi.getter
|
67
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
68
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
68
69
|
"""
|
69
70
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
70
71
|
"""
|
71
72
|
return pulumi.get(self, "enabled")
|
72
73
|
|
73
74
|
@enabled.setter
|
74
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
75
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
75
76
|
pulumi.set(self, "enabled", value)
|
76
77
|
|
77
78
|
@property
|
78
79
|
@pulumi.getter(name="repositoryIds")
|
79
|
-
def repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
80
|
+
def repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
80
81
|
"""
|
81
82
|
Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
82
83
|
"""
|
83
84
|
return pulumi.get(self, "repository_ids")
|
84
85
|
|
85
86
|
@repository_ids.setter
|
86
|
-
def repository_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
87
|
+
def repository_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
87
88
|
pulumi.set(self, "repository_ids", value)
|
88
89
|
|
89
90
|
|
90
91
|
@pulumi.input_type
|
91
92
|
class _RepositoryPolicyReservedNamesState:
|
92
93
|
def __init__(__self__, *,
|
93
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
94
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
95
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
96
|
-
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
94
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
95
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
96
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
97
|
+
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
97
98
|
"""
|
98
99
|
Input properties used for looking up and filtering RepositoryPolicyReservedNames resources.
|
99
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
100
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
101
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
102
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
100
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
101
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
102
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
103
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
103
104
|
"""
|
104
105
|
if blocking is not None:
|
105
106
|
pulumi.set(__self__, "blocking", blocking)
|
@@ -112,50 +113,50 @@ class _RepositoryPolicyReservedNamesState:
|
|
112
113
|
|
113
114
|
@property
|
114
115
|
@pulumi.getter
|
115
|
-
def blocking(self) -> Optional[pulumi.Input[bool]]:
|
116
|
+
def blocking(self) -> Optional[pulumi.Input[builtins.bool]]:
|
116
117
|
"""
|
117
118
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
118
119
|
"""
|
119
120
|
return pulumi.get(self, "blocking")
|
120
121
|
|
121
122
|
@blocking.setter
|
122
|
-
def blocking(self, value: Optional[pulumi.Input[bool]]):
|
123
|
+
def blocking(self, value: Optional[pulumi.Input[builtins.bool]]):
|
123
124
|
pulumi.set(self, "blocking", value)
|
124
125
|
|
125
126
|
@property
|
126
127
|
@pulumi.getter
|
127
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
128
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
128
129
|
"""
|
129
130
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
130
131
|
"""
|
131
132
|
return pulumi.get(self, "enabled")
|
132
133
|
|
133
134
|
@enabled.setter
|
134
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
135
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
135
136
|
pulumi.set(self, "enabled", value)
|
136
137
|
|
137
138
|
@property
|
138
139
|
@pulumi.getter(name="projectId")
|
139
|
-
def project_id(self) -> Optional[pulumi.Input[str]]:
|
140
|
+
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
140
141
|
"""
|
141
142
|
The ID of the project in which the policy will be created.
|
142
143
|
"""
|
143
144
|
return pulumi.get(self, "project_id")
|
144
145
|
|
145
146
|
@project_id.setter
|
146
|
-
def project_id(self, value: Optional[pulumi.Input[str]]):
|
147
|
+
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
147
148
|
pulumi.set(self, "project_id", value)
|
148
149
|
|
149
150
|
@property
|
150
151
|
@pulumi.getter(name="repositoryIds")
|
151
|
-
def repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
152
|
+
def repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
152
153
|
"""
|
153
154
|
Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
154
155
|
"""
|
155
156
|
return pulumi.get(self, "repository_ids")
|
156
157
|
|
157
158
|
@repository_ids.setter
|
158
|
-
def repository_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
159
|
+
def repository_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
159
160
|
pulumi.set(self, "repository_ids", value)
|
160
161
|
|
161
162
|
|
@@ -164,10 +165,10 @@ class RepositoryPolicyReservedNames(pulumi.CustomResource):
|
|
164
165
|
def __init__(__self__,
|
165
166
|
resource_name: str,
|
166
167
|
opts: Optional[pulumi.ResourceOptions] = None,
|
167
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
168
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
169
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
170
|
-
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
168
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
169
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
170
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
171
|
+
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
171
172
|
__props__=None):
|
172
173
|
"""
|
173
174
|
Manage a reserved names repository policy within Azure DevOps project. Block pushes that introduce files, folders, or branch names that include platform reserved names or incompatible characters.
|
@@ -230,10 +231,10 @@ class RepositoryPolicyReservedNames(pulumi.CustomResource):
|
|
230
231
|
|
231
232
|
:param str resource_name: The name of the resource.
|
232
233
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
233
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
234
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
235
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
236
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
234
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
235
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
236
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
237
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
237
238
|
"""
|
238
239
|
...
|
239
240
|
@overload
|
@@ -315,10 +316,10 @@ class RepositoryPolicyReservedNames(pulumi.CustomResource):
|
|
315
316
|
def _internal_init(__self__,
|
316
317
|
resource_name: str,
|
317
318
|
opts: Optional[pulumi.ResourceOptions] = None,
|
318
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
319
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
320
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
321
|
-
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
319
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
320
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
321
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
322
|
+
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
322
323
|
__props__=None):
|
323
324
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
324
325
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -344,10 +345,10 @@ class RepositoryPolicyReservedNames(pulumi.CustomResource):
|
|
344
345
|
def get(resource_name: str,
|
345
346
|
id: pulumi.Input[str],
|
346
347
|
opts: Optional[pulumi.ResourceOptions] = None,
|
347
|
-
blocking: Optional[pulumi.Input[bool]] = None,
|
348
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
349
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
350
|
-
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'RepositoryPolicyReservedNames':
|
348
|
+
blocking: Optional[pulumi.Input[builtins.bool]] = None,
|
349
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
350
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
351
|
+
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'RepositoryPolicyReservedNames':
|
351
352
|
"""
|
352
353
|
Get an existing RepositoryPolicyReservedNames resource's state with the given name, id, and optional extra
|
353
354
|
properties used to qualify the lookup.
|
@@ -355,10 +356,10 @@ class RepositoryPolicyReservedNames(pulumi.CustomResource):
|
|
355
356
|
:param str resource_name: The unique name of the resulting resource.
|
356
357
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
357
358
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
358
|
-
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
359
|
-
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
360
|
-
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
361
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
359
|
+
:param pulumi.Input[builtins.bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
360
|
+
:param pulumi.Input[builtins.bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
361
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project in which the policy will be created.
|
362
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
362
363
|
"""
|
363
364
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
364
365
|
|
@@ -372,7 +373,7 @@ class RepositoryPolicyReservedNames(pulumi.CustomResource):
|
|
372
373
|
|
373
374
|
@property
|
374
375
|
@pulumi.getter
|
375
|
-
def blocking(self) -> pulumi.Output[Optional[bool]]:
|
376
|
+
def blocking(self) -> pulumi.Output[Optional[builtins.bool]]:
|
376
377
|
"""
|
377
378
|
A flag indicating if the policy should be blocking. Defaults to `true`.
|
378
379
|
"""
|
@@ -380,7 +381,7 @@ class RepositoryPolicyReservedNames(pulumi.CustomResource):
|
|
380
381
|
|
381
382
|
@property
|
382
383
|
@pulumi.getter
|
383
|
-
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
384
|
+
def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
384
385
|
"""
|
385
386
|
A flag indicating if the policy should be enabled. Defaults to `true`.
|
386
387
|
"""
|
@@ -388,7 +389,7 @@ class RepositoryPolicyReservedNames(pulumi.CustomResource):
|
|
388
389
|
|
389
390
|
@property
|
390
391
|
@pulumi.getter(name="projectId")
|
391
|
-
def project_id(self) -> pulumi.Output[str]:
|
392
|
+
def project_id(self) -> pulumi.Output[builtins.str]:
|
392
393
|
"""
|
393
394
|
The ID of the project in which the policy will be created.
|
394
395
|
"""
|
@@ -396,7 +397,7 @@ class RepositoryPolicyReservedNames(pulumi.CustomResource):
|
|
396
397
|
|
397
398
|
@property
|
398
399
|
@pulumi.getter(name="repositoryIds")
|
399
|
-
def repository_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
400
|
+
def repository_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
400
401
|
"""
|
401
402
|
Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
402
403
|
"""
|