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,23 +19,23 @@ __all__ = ['PipelineAuthorizationArgs', 'PipelineAuthorization']
|
|
20
19
|
@pulumi.input_type
|
21
20
|
class PipelineAuthorizationArgs:
|
22
21
|
def __init__(__self__, *,
|
23
|
-
project_id: pulumi.Input[
|
24
|
-
resource_id: pulumi.Input[
|
25
|
-
type: pulumi.Input[
|
26
|
-
pipeline_id: Optional[pulumi.Input[
|
27
|
-
pipeline_project_id: Optional[pulumi.Input[
|
22
|
+
project_id: pulumi.Input[_builtins.str],
|
23
|
+
resource_id: pulumi.Input[_builtins.str],
|
24
|
+
type: pulumi.Input[_builtins.str],
|
25
|
+
pipeline_id: Optional[pulumi.Input[_builtins.int]] = None,
|
26
|
+
pipeline_project_id: Optional[pulumi.Input[_builtins.str]] = None):
|
28
27
|
"""
|
29
28
|
The set of arguments for constructing a PipelineAuthorization resource.
|
30
|
-
:param pulumi.Input[
|
31
|
-
:param pulumi.Input[
|
32
|
-
:param pulumi.Input[
|
29
|
+
:param pulumi.Input[_builtins.str] project_id: The ID of the project. Changing this forces a new resource to be created
|
30
|
+
:param pulumi.Input[_builtins.str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
31
|
+
:param pulumi.Input[_builtins.str] type: The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
33
32
|
|
34
33
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
35
34
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
36
35
|
Typical process for connecting to GitHub:
|
37
36
|
**Pipeline <----> Service Connection(`endpoint`) <----> GitHub Repository**
|
38
|
-
:param pulumi.Input[
|
39
|
-
:param pulumi.Input[
|
37
|
+
:param pulumi.Input[_builtins.int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
38
|
+
:param pulumi.Input[_builtins.str] pipeline_project_id: The ID of the project where the pipeline exists. Defaults to `project_id` if not specified. Changing this forces a new resource to be created
|
40
39
|
"""
|
41
40
|
pulumi.set(__self__, "project_id", project_id)
|
42
41
|
pulumi.set(__self__, "resource_id", resource_id)
|
@@ -46,33 +45,33 @@ class PipelineAuthorizationArgs:
|
|
46
45
|
if pipeline_project_id is not None:
|
47
46
|
pulumi.set(__self__, "pipeline_project_id", pipeline_project_id)
|
48
47
|
|
49
|
-
@property
|
48
|
+
@_builtins.property
|
50
49
|
@pulumi.getter(name="projectId")
|
51
|
-
def project_id(self) -> pulumi.Input[
|
50
|
+
def project_id(self) -> pulumi.Input[_builtins.str]:
|
52
51
|
"""
|
53
52
|
The ID of the project. Changing this forces a new resource to be created
|
54
53
|
"""
|
55
54
|
return pulumi.get(self, "project_id")
|
56
55
|
|
57
56
|
@project_id.setter
|
58
|
-
def project_id(self, value: pulumi.Input[
|
57
|
+
def project_id(self, value: pulumi.Input[_builtins.str]):
|
59
58
|
pulumi.set(self, "project_id", value)
|
60
59
|
|
61
|
-
@property
|
60
|
+
@_builtins.property
|
62
61
|
@pulumi.getter(name="resourceId")
|
63
|
-
def resource_id(self) -> pulumi.Input[
|
62
|
+
def resource_id(self) -> pulumi.Input[_builtins.str]:
|
64
63
|
"""
|
65
64
|
The ID of the resource to authorize. Changing this forces a new resource to be created
|
66
65
|
"""
|
67
66
|
return pulumi.get(self, "resource_id")
|
68
67
|
|
69
68
|
@resource_id.setter
|
70
|
-
def resource_id(self, value: pulumi.Input[
|
69
|
+
def resource_id(self, value: pulumi.Input[_builtins.str]):
|
71
70
|
pulumi.set(self, "resource_id", value)
|
72
71
|
|
73
|
-
@property
|
72
|
+
@_builtins.property
|
74
73
|
@pulumi.getter
|
75
|
-
def type(self) -> pulumi.Input[
|
74
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
76
75
|
"""
|
77
76
|
The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
78
77
|
|
@@ -84,49 +83,49 @@ class PipelineAuthorizationArgs:
|
|
84
83
|
return pulumi.get(self, "type")
|
85
84
|
|
86
85
|
@type.setter
|
87
|
-
def type(self, value: pulumi.Input[
|
86
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
88
87
|
pulumi.set(self, "type", value)
|
89
88
|
|
90
|
-
@property
|
89
|
+
@_builtins.property
|
91
90
|
@pulumi.getter(name="pipelineId")
|
92
|
-
def pipeline_id(self) -> Optional[pulumi.Input[
|
91
|
+
def pipeline_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
93
92
|
"""
|
94
93
|
The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
95
94
|
"""
|
96
95
|
return pulumi.get(self, "pipeline_id")
|
97
96
|
|
98
97
|
@pipeline_id.setter
|
99
|
-
def pipeline_id(self, value: Optional[pulumi.Input[
|
98
|
+
def pipeline_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
100
99
|
pulumi.set(self, "pipeline_id", value)
|
101
100
|
|
102
|
-
@property
|
101
|
+
@_builtins.property
|
103
102
|
@pulumi.getter(name="pipelineProjectId")
|
104
|
-
def pipeline_project_id(self) -> Optional[pulumi.Input[
|
103
|
+
def pipeline_project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
105
104
|
"""
|
106
105
|
The ID of the project where the pipeline exists. Defaults to `project_id` if not specified. Changing this forces a new resource to be created
|
107
106
|
"""
|
108
107
|
return pulumi.get(self, "pipeline_project_id")
|
109
108
|
|
110
109
|
@pipeline_project_id.setter
|
111
|
-
def pipeline_project_id(self, value: Optional[pulumi.Input[
|
110
|
+
def pipeline_project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
112
111
|
pulumi.set(self, "pipeline_project_id", value)
|
113
112
|
|
114
113
|
|
115
114
|
@pulumi.input_type
|
116
115
|
class _PipelineAuthorizationState:
|
117
116
|
def __init__(__self__, *,
|
118
|
-
pipeline_id: Optional[pulumi.Input[
|
119
|
-
pipeline_project_id: Optional[pulumi.Input[
|
120
|
-
project_id: Optional[pulumi.Input[
|
121
|
-
resource_id: Optional[pulumi.Input[
|
122
|
-
type: Optional[pulumi.Input[
|
117
|
+
pipeline_id: Optional[pulumi.Input[_builtins.int]] = None,
|
118
|
+
pipeline_project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
119
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
120
|
+
resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
121
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
123
122
|
"""
|
124
123
|
Input properties used for looking up and filtering PipelineAuthorization resources.
|
125
|
-
:param pulumi.Input[
|
126
|
-
:param pulumi.Input[
|
127
|
-
:param pulumi.Input[
|
128
|
-
:param pulumi.Input[
|
129
|
-
:param pulumi.Input[
|
124
|
+
:param pulumi.Input[_builtins.int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
125
|
+
:param pulumi.Input[_builtins.str] pipeline_project_id: The ID of the project where the pipeline exists. Defaults to `project_id` if not specified. Changing this forces a new resource to be created
|
126
|
+
:param pulumi.Input[_builtins.str] project_id: The ID of the project. Changing this forces a new resource to be created
|
127
|
+
:param pulumi.Input[_builtins.str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
128
|
+
:param pulumi.Input[_builtins.str] type: The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
130
129
|
|
131
130
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
132
131
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -144,57 +143,57 @@ class _PipelineAuthorizationState:
|
|
144
143
|
if type is not None:
|
145
144
|
pulumi.set(__self__, "type", type)
|
146
145
|
|
147
|
-
@property
|
146
|
+
@_builtins.property
|
148
147
|
@pulumi.getter(name="pipelineId")
|
149
|
-
def pipeline_id(self) -> Optional[pulumi.Input[
|
148
|
+
def pipeline_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
150
149
|
"""
|
151
150
|
The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
152
151
|
"""
|
153
152
|
return pulumi.get(self, "pipeline_id")
|
154
153
|
|
155
154
|
@pipeline_id.setter
|
156
|
-
def pipeline_id(self, value: Optional[pulumi.Input[
|
155
|
+
def pipeline_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
157
156
|
pulumi.set(self, "pipeline_id", value)
|
158
157
|
|
159
|
-
@property
|
158
|
+
@_builtins.property
|
160
159
|
@pulumi.getter(name="pipelineProjectId")
|
161
|
-
def pipeline_project_id(self) -> Optional[pulumi.Input[
|
160
|
+
def pipeline_project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
162
161
|
"""
|
163
162
|
The ID of the project where the pipeline exists. Defaults to `project_id` if not specified. Changing this forces a new resource to be created
|
164
163
|
"""
|
165
164
|
return pulumi.get(self, "pipeline_project_id")
|
166
165
|
|
167
166
|
@pipeline_project_id.setter
|
168
|
-
def pipeline_project_id(self, value: Optional[pulumi.Input[
|
167
|
+
def pipeline_project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
169
168
|
pulumi.set(self, "pipeline_project_id", value)
|
170
169
|
|
171
|
-
@property
|
170
|
+
@_builtins.property
|
172
171
|
@pulumi.getter(name="projectId")
|
173
|
-
def project_id(self) -> Optional[pulumi.Input[
|
172
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
174
173
|
"""
|
175
174
|
The ID of the project. Changing this forces a new resource to be created
|
176
175
|
"""
|
177
176
|
return pulumi.get(self, "project_id")
|
178
177
|
|
179
178
|
@project_id.setter
|
180
|
-
def project_id(self, value: Optional[pulumi.Input[
|
179
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
181
180
|
pulumi.set(self, "project_id", value)
|
182
181
|
|
183
|
-
@property
|
182
|
+
@_builtins.property
|
184
183
|
@pulumi.getter(name="resourceId")
|
185
|
-
def resource_id(self) -> Optional[pulumi.Input[
|
184
|
+
def resource_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
186
185
|
"""
|
187
186
|
The ID of the resource to authorize. Changing this forces a new resource to be created
|
188
187
|
"""
|
189
188
|
return pulumi.get(self, "resource_id")
|
190
189
|
|
191
190
|
@resource_id.setter
|
192
|
-
def resource_id(self, value: Optional[pulumi.Input[
|
191
|
+
def resource_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
193
192
|
pulumi.set(self, "resource_id", value)
|
194
193
|
|
195
|
-
@property
|
194
|
+
@_builtins.property
|
196
195
|
@pulumi.getter
|
197
|
-
def type(self) -> Optional[pulumi.Input[
|
196
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
198
197
|
"""
|
199
198
|
The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
200
199
|
|
@@ -206,7 +205,7 @@ class _PipelineAuthorizationState:
|
|
206
205
|
return pulumi.get(self, "type")
|
207
206
|
|
208
207
|
@type.setter
|
209
|
-
def type(self, value: Optional[pulumi.Input[
|
208
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
210
209
|
pulumi.set(self, "type", value)
|
211
210
|
|
212
211
|
|
@@ -216,11 +215,11 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
216
215
|
def __init__(__self__,
|
217
216
|
resource_name: str,
|
218
217
|
opts: Optional[pulumi.ResourceOptions] = None,
|
219
|
-
pipeline_id: Optional[pulumi.Input[
|
220
|
-
pipeline_project_id: Optional[pulumi.Input[
|
221
|
-
project_id: Optional[pulumi.Input[
|
222
|
-
resource_id: Optional[pulumi.Input[
|
223
|
-
type: Optional[pulumi.Input[
|
218
|
+
pipeline_id: Optional[pulumi.Input[_builtins.int]] = None,
|
219
|
+
pipeline_project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
220
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
221
|
+
resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
222
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
224
223
|
__props__=None):
|
225
224
|
"""
|
226
225
|
Manage pipeline access permissions to resources.
|
@@ -298,11 +297,11 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
298
297
|
|
299
298
|
:param str resource_name: The name of the resource.
|
300
299
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
301
|
-
:param pulumi.Input[
|
302
|
-
:param pulumi.Input[
|
303
|
-
:param pulumi.Input[
|
304
|
-
:param pulumi.Input[
|
305
|
-
:param pulumi.Input[
|
300
|
+
:param pulumi.Input[_builtins.int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
301
|
+
:param pulumi.Input[_builtins.str] pipeline_project_id: The ID of the project where the pipeline exists. Defaults to `project_id` if not specified. Changing this forces a new resource to be created
|
302
|
+
:param pulumi.Input[_builtins.str] project_id: The ID of the project. Changing this forces a new resource to be created
|
303
|
+
:param pulumi.Input[_builtins.str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
304
|
+
:param pulumi.Input[_builtins.str] type: The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
306
305
|
|
307
306
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
308
307
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -404,11 +403,11 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
404
403
|
def _internal_init(__self__,
|
405
404
|
resource_name: str,
|
406
405
|
opts: Optional[pulumi.ResourceOptions] = None,
|
407
|
-
pipeline_id: Optional[pulumi.Input[
|
408
|
-
pipeline_project_id: Optional[pulumi.Input[
|
409
|
-
project_id: Optional[pulumi.Input[
|
410
|
-
resource_id: Optional[pulumi.Input[
|
411
|
-
type: Optional[pulumi.Input[
|
406
|
+
pipeline_id: Optional[pulumi.Input[_builtins.int]] = None,
|
407
|
+
pipeline_project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
408
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
409
|
+
resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
410
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
412
411
|
__props__=None):
|
413
412
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
414
413
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -439,11 +438,11 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
439
438
|
def get(resource_name: str,
|
440
439
|
id: pulumi.Input[str],
|
441
440
|
opts: Optional[pulumi.ResourceOptions] = None,
|
442
|
-
pipeline_id: Optional[pulumi.Input[
|
443
|
-
pipeline_project_id: Optional[pulumi.Input[
|
444
|
-
project_id: Optional[pulumi.Input[
|
445
|
-
resource_id: Optional[pulumi.Input[
|
446
|
-
type: Optional[pulumi.Input[
|
441
|
+
pipeline_id: Optional[pulumi.Input[_builtins.int]] = None,
|
442
|
+
pipeline_project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
443
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
444
|
+
resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
445
|
+
type: Optional[pulumi.Input[_builtins.str]] = None) -> 'PipelineAuthorization':
|
447
446
|
"""
|
448
447
|
Get an existing PipelineAuthorization resource's state with the given name, id, and optional extra
|
449
448
|
properties used to qualify the lookup.
|
@@ -451,11 +450,11 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
451
450
|
:param str resource_name: The unique name of the resulting resource.
|
452
451
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
453
452
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
454
|
-
:param pulumi.Input[
|
455
|
-
:param pulumi.Input[
|
456
|
-
:param pulumi.Input[
|
457
|
-
:param pulumi.Input[
|
458
|
-
:param pulumi.Input[
|
453
|
+
:param pulumi.Input[_builtins.int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
454
|
+
:param pulumi.Input[_builtins.str] pipeline_project_id: The ID of the project where the pipeline exists. Defaults to `project_id` if not specified. Changing this forces a new resource to be created
|
455
|
+
:param pulumi.Input[_builtins.str] project_id: The ID of the project. Changing this forces a new resource to be created
|
456
|
+
:param pulumi.Input[_builtins.str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
457
|
+
:param pulumi.Input[_builtins.str] type: The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
459
458
|
|
460
459
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
461
460
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -473,41 +472,41 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
473
472
|
__props__.__dict__["type"] = type
|
474
473
|
return PipelineAuthorization(resource_name, opts=opts, __props__=__props__)
|
475
474
|
|
476
|
-
@property
|
475
|
+
@_builtins.property
|
477
476
|
@pulumi.getter(name="pipelineId")
|
478
|
-
def pipeline_id(self) -> pulumi.Output[Optional[
|
477
|
+
def pipeline_id(self) -> pulumi.Output[Optional[_builtins.int]]:
|
479
478
|
"""
|
480
479
|
The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
481
480
|
"""
|
482
481
|
return pulumi.get(self, "pipeline_id")
|
483
482
|
|
484
|
-
@property
|
483
|
+
@_builtins.property
|
485
484
|
@pulumi.getter(name="pipelineProjectId")
|
486
|
-
def pipeline_project_id(self) -> pulumi.Output[Optional[
|
485
|
+
def pipeline_project_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
487
486
|
"""
|
488
487
|
The ID of the project where the pipeline exists. Defaults to `project_id` if not specified. Changing this forces a new resource to be created
|
489
488
|
"""
|
490
489
|
return pulumi.get(self, "pipeline_project_id")
|
491
490
|
|
492
|
-
@property
|
491
|
+
@_builtins.property
|
493
492
|
@pulumi.getter(name="projectId")
|
494
|
-
def project_id(self) -> pulumi.Output[
|
493
|
+
def project_id(self) -> pulumi.Output[_builtins.str]:
|
495
494
|
"""
|
496
495
|
The ID of the project. Changing this forces a new resource to be created
|
497
496
|
"""
|
498
497
|
return pulumi.get(self, "project_id")
|
499
498
|
|
500
|
-
@property
|
499
|
+
@_builtins.property
|
501
500
|
@pulumi.getter(name="resourceId")
|
502
|
-
def resource_id(self) -> pulumi.Output[
|
501
|
+
def resource_id(self) -> pulumi.Output[_builtins.str]:
|
503
502
|
"""
|
504
503
|
The ID of the resource to authorize. Changing this forces a new resource to be created
|
505
504
|
"""
|
506
505
|
return pulumi.get(self, "resource_id")
|
507
506
|
|
508
|
-
@property
|
507
|
+
@_builtins.property
|
509
508
|
@pulumi.getter
|
510
|
-
def type(self) -> pulumi.Output[
|
509
|
+
def type(self) -> pulumi.Output[_builtins.str]:
|
511
510
|
"""
|
512
511
|
The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
513
512
|
|