pulumi-azuredevops 3.9.0a1745292941__py3-none-any.whl → 3.10.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 +10 -0
- pulumi_azuredevops/_inputs.py +54 -0
- pulumi_azuredevops/area_permissions.py +1 -0
- pulumi_azuredevops/branch_policy_auto_reviewers.py +1 -0
- pulumi_azuredevops/branch_policy_build_validation.py +1 -0
- pulumi_azuredevops/branch_policy_comment_resolution.py +1 -0
- pulumi_azuredevops/branch_policy_merge_types.py +1 -0
- pulumi_azuredevops/branch_policy_min_reviewers.py +1 -0
- pulumi_azuredevops/branch_policy_status_check.py +1 -0
- pulumi_azuredevops/branch_policy_work_item_linking.py +1 -0
- pulumi_azuredevops/build_definition.py +1 -0
- pulumi_azuredevops/build_definition_permissions.py +1 -0
- pulumi_azuredevops/build_folder.py +1 -0
- pulumi_azuredevops/build_folder_permissions.py +1 -0
- pulumi_azuredevops/check_approval.py +1 -0
- pulumi_azuredevops/check_branch_control.py +1 -0
- pulumi_azuredevops/check_business_hours.py +1 -0
- pulumi_azuredevops/check_exclusive_lock.py +1 -0
- pulumi_azuredevops/check_required_template.py +1 -0
- pulumi_azuredevops/check_rest_api.py +1 -0
- pulumi_azuredevops/dashboard.py +1 -0
- pulumi_azuredevops/elastic_pool.py +1 -0
- pulumi_azuredevops/environment.py +1 -0
- pulumi_azuredevops/environment_resource_kubernetes.py +1 -0
- pulumi_azuredevops/extension.py +1 -0
- pulumi_azuredevops/feed.py +1 -0
- pulumi_azuredevops/feed_permission.py +1 -0
- pulumi_azuredevops/feed_retention_policy.py +1 -0
- pulumi_azuredevops/get_group.py +1 -1
- pulumi_azuredevops/get_serviceendpoint_dockerregistry.py +282 -0
- pulumi_azuredevops/git.py +1 -0
- pulumi_azuredevops/git_permissions.py +22 -0
- pulumi_azuredevops/git_repository_branch.py +1 -0
- pulumi_azuredevops/git_repository_file.py +1 -0
- pulumi_azuredevops/group.py +1 -0
- pulumi_azuredevops/group_entitlement.py +1 -0
- pulumi_azuredevops/group_membership.py +1 -0
- pulumi_azuredevops/iterative_permissions.py +1 -0
- pulumi_azuredevops/library_permissions.py +1 -0
- pulumi_azuredevops/outputs.py +34 -2
- pulumi_azuredevops/pipeline_authorization.py +1 -0
- pulumi_azuredevops/pool.py +1 -0
- pulumi_azuredevops/project.py +1 -0
- pulumi_azuredevops/project_features.py +1 -0
- pulumi_azuredevops/project_permissions.py +1 -0
- pulumi_azuredevops/project_pipeline_settings.py +1 -0
- pulumi_azuredevops/project_tags.py +1 -0
- pulumi_azuredevops/provider.py +21 -0
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/queue.py +1 -0
- pulumi_azuredevops/repository_policy_author_email_pattern.py +1 -0
- pulumi_azuredevops/repository_policy_case_enforcement.py +1 -0
- pulumi_azuredevops/repository_policy_check_credentials.py +1 -0
- pulumi_azuredevops/repository_policy_file_path_pattern.py +1 -0
- pulumi_azuredevops/repository_policy_max_file_size.py +1 -0
- pulumi_azuredevops/repository_policy_max_path_length.py +1 -0
- pulumi_azuredevops/repository_policy_reserved_names.py +1 -0
- pulumi_azuredevops/resource_authorization.py +1 -0
- pulumi_azuredevops/securityrole_assignment.py +1 -0
- pulumi_azuredevops/service_endpoint_artifactory.py +1 -0
- pulumi_azuredevops/service_endpoint_aws.py +1 -0
- pulumi_azuredevops/service_endpoint_azure_dev_ops.py +1 -0
- pulumi_azuredevops/service_endpoint_azure_ecr.py +1 -0
- pulumi_azuredevops/service_endpoint_azure_rm.py +1 -0
- pulumi_azuredevops/service_endpoint_bit_bucket.py +1 -0
- pulumi_azuredevops/service_endpoint_docker_registry.py +1 -0
- pulumi_azuredevops/service_endpoint_generic.py +1 -0
- pulumi_azuredevops/service_endpoint_generic_git.py +1 -0
- pulumi_azuredevops/service_endpoint_git_hub.py +1 -0
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +1 -0
- pulumi_azuredevops/service_endpoint_git_lab.py +1 -0
- pulumi_azuredevops/service_endpoint_kubernetes.py +1 -0
- pulumi_azuredevops/service_endpoint_npm.py +1 -0
- pulumi_azuredevops/service_endpoint_pipeline.py +1 -0
- pulumi_azuredevops/service_endpoint_service_fabric.py +1 -0
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +1 -0
- pulumi_azuredevops/service_endpoint_sonar_qube.py +1 -0
- pulumi_azuredevops/service_endpoint_ssh.py +1 -0
- pulumi_azuredevops/service_principal_entitlement.py +1 -0
- pulumi_azuredevops/serviceendpoint_argocd.py +1 -0
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +1 -0
- pulumi_azuredevops/serviceendpoint_black_duck.py +417 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +1 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +1 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +1 -0
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +1 -0
- pulumi_azuredevops/serviceendpoint_externaltfs.py +1 -0
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +8 -7
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +1 -0
- pulumi_azuredevops/serviceendpoint_jenkins.py +1 -0
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +1 -0
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +1 -0
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +1 -0
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +1 -0
- pulumi_azuredevops/serviceendpoint_maven.py +1 -0
- pulumi_azuredevops/serviceendpoint_nexus.py +1 -0
- pulumi_azuredevops/serviceendpoint_nuget.py +1 -0
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +1 -0
- pulumi_azuredevops/serviceendpoint_openshift.py +1 -0
- pulumi_azuredevops/serviceendpoint_permissions.py +1 -0
- pulumi_azuredevops/serviceendpoint_snyk.py +1 -0
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +1 -0
- pulumi_azuredevops/servicehook_permissions.py +1 -0
- pulumi_azuredevops/servicehook_storage_queue_pipelines.py +1 -0
- pulumi_azuredevops/tagging_permissions.py +1 -0
- pulumi_azuredevops/team.py +1 -0
- pulumi_azuredevops/team_administrators.py +1 -0
- pulumi_azuredevops/team_members.py +1 -0
- pulumi_azuredevops/user.py +1 -0
- pulumi_azuredevops/variable_group.py +1 -0
- pulumi_azuredevops/variable_group_permissions.py +1 -0
- pulumi_azuredevops/wiki.py +1 -0
- pulumi_azuredevops/wiki_page.py +1 -0
- pulumi_azuredevops/work_item_query_permissions.py +1 -0
- pulumi_azuredevops/workitem.py +166 -4
- {pulumi_azuredevops-3.9.0a1745292941.dist-info → pulumi_azuredevops-3.10.0.dist-info}/METADATA +3 -3
- pulumi_azuredevops-3.10.0.dist-info/RECORD +158 -0
- {pulumi_azuredevops-3.9.0a1745292941.dist-info → pulumi_azuredevops-3.10.0.dist-info}/WHEEL +1 -1
- pulumi_azuredevops-3.9.0a1745292941.dist-info/RECORD +0 -156
- {pulumi_azuredevops-3.9.0a1745292941.dist-info → pulumi_azuredevops-3.10.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,417 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from . import _utilities
|
17
|
+
|
18
|
+
__all__ = ['ServiceendpointBlackDuckArgs', 'ServiceendpointBlackDuck']
|
19
|
+
|
20
|
+
@pulumi.input_type
|
21
|
+
class ServiceendpointBlackDuckArgs:
|
22
|
+
def __init__(__self__, *,
|
23
|
+
api_token: pulumi.Input[builtins.str],
|
24
|
+
project_id: pulumi.Input[builtins.str],
|
25
|
+
server_url: pulumi.Input[builtins.str],
|
26
|
+
service_endpoint_name: pulumi.Input[builtins.str],
|
27
|
+
description: Optional[pulumi.Input[builtins.str]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a ServiceendpointBlackDuck resource.
|
30
|
+
:param pulumi.Input[builtins.str] api_token: The API token of the Black Duck Detect.
|
31
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
32
|
+
:param pulumi.Input[builtins.str] server_url: The server URL of the Black Duck Detect.
|
33
|
+
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint name.
|
34
|
+
"""
|
35
|
+
pulumi.set(__self__, "api_token", api_token)
|
36
|
+
pulumi.set(__self__, "project_id", project_id)
|
37
|
+
pulumi.set(__self__, "server_url", server_url)
|
38
|
+
pulumi.set(__self__, "service_endpoint_name", service_endpoint_name)
|
39
|
+
if description is not None:
|
40
|
+
pulumi.set(__self__, "description", description)
|
41
|
+
|
42
|
+
@property
|
43
|
+
@pulumi.getter(name="apiToken")
|
44
|
+
def api_token(self) -> pulumi.Input[builtins.str]:
|
45
|
+
"""
|
46
|
+
The API token of the Black Duck Detect.
|
47
|
+
"""
|
48
|
+
return pulumi.get(self, "api_token")
|
49
|
+
|
50
|
+
@api_token.setter
|
51
|
+
def api_token(self, value: pulumi.Input[builtins.str]):
|
52
|
+
pulumi.set(self, "api_token", value)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="projectId")
|
56
|
+
def project_id(self) -> pulumi.Input[builtins.str]:
|
57
|
+
"""
|
58
|
+
The ID of the project.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "project_id")
|
61
|
+
|
62
|
+
@project_id.setter
|
63
|
+
def project_id(self, value: pulumi.Input[builtins.str]):
|
64
|
+
pulumi.set(self, "project_id", value)
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="serverUrl")
|
68
|
+
def server_url(self) -> pulumi.Input[builtins.str]:
|
69
|
+
"""
|
70
|
+
The server URL of the Black Duck Detect.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "server_url")
|
73
|
+
|
74
|
+
@server_url.setter
|
75
|
+
def server_url(self, value: pulumi.Input[builtins.str]):
|
76
|
+
pulumi.set(self, "server_url", value)
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="serviceEndpointName")
|
80
|
+
def service_endpoint_name(self) -> pulumi.Input[builtins.str]:
|
81
|
+
"""
|
82
|
+
The Service Endpoint name.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "service_endpoint_name")
|
85
|
+
|
86
|
+
@service_endpoint_name.setter
|
87
|
+
def service_endpoint_name(self, value: pulumi.Input[builtins.str]):
|
88
|
+
pulumi.set(self, "service_endpoint_name", value)
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
93
|
+
return pulumi.get(self, "description")
|
94
|
+
|
95
|
+
@description.setter
|
96
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
97
|
+
pulumi.set(self, "description", value)
|
98
|
+
|
99
|
+
|
100
|
+
@pulumi.input_type
|
101
|
+
class _ServiceendpointBlackDuckState:
|
102
|
+
def __init__(__self__, *,
|
103
|
+
api_token: Optional[pulumi.Input[builtins.str]] = None,
|
104
|
+
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
105
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
106
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
107
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
108
|
+
service_endpoint_name: Optional[pulumi.Input[builtins.str]] = None):
|
109
|
+
"""
|
110
|
+
Input properties used for looking up and filtering ServiceendpointBlackDuck resources.
|
111
|
+
:param pulumi.Input[builtins.str] api_token: The API token of the Black Duck Detect.
|
112
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
113
|
+
:param pulumi.Input[builtins.str] server_url: The server URL of the Black Duck Detect.
|
114
|
+
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint name.
|
115
|
+
"""
|
116
|
+
if api_token is not None:
|
117
|
+
pulumi.set(__self__, "api_token", api_token)
|
118
|
+
if authorization is not None:
|
119
|
+
pulumi.set(__self__, "authorization", authorization)
|
120
|
+
if description is not None:
|
121
|
+
pulumi.set(__self__, "description", description)
|
122
|
+
if project_id is not None:
|
123
|
+
pulumi.set(__self__, "project_id", project_id)
|
124
|
+
if server_url is not None:
|
125
|
+
pulumi.set(__self__, "server_url", server_url)
|
126
|
+
if service_endpoint_name is not None:
|
127
|
+
pulumi.set(__self__, "service_endpoint_name", service_endpoint_name)
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="apiToken")
|
131
|
+
def api_token(self) -> Optional[pulumi.Input[builtins.str]]:
|
132
|
+
"""
|
133
|
+
The API token of the Black Duck Detect.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "api_token")
|
136
|
+
|
137
|
+
@api_token.setter
|
138
|
+
def api_token(self, value: Optional[pulumi.Input[builtins.str]]):
|
139
|
+
pulumi.set(self, "api_token", value)
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter
|
143
|
+
def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
144
|
+
return pulumi.get(self, "authorization")
|
145
|
+
|
146
|
+
@authorization.setter
|
147
|
+
def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
148
|
+
pulumi.set(self, "authorization", value)
|
149
|
+
|
150
|
+
@property
|
151
|
+
@pulumi.getter
|
152
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
153
|
+
return pulumi.get(self, "description")
|
154
|
+
|
155
|
+
@description.setter
|
156
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
157
|
+
pulumi.set(self, "description", value)
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter(name="projectId")
|
161
|
+
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
162
|
+
"""
|
163
|
+
The ID of the project.
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "project_id")
|
166
|
+
|
167
|
+
@project_id.setter
|
168
|
+
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
169
|
+
pulumi.set(self, "project_id", value)
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter(name="serverUrl")
|
173
|
+
def server_url(self) -> Optional[pulumi.Input[builtins.str]]:
|
174
|
+
"""
|
175
|
+
The server URL of the Black Duck Detect.
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "server_url")
|
178
|
+
|
179
|
+
@server_url.setter
|
180
|
+
def server_url(self, value: Optional[pulumi.Input[builtins.str]]):
|
181
|
+
pulumi.set(self, "server_url", value)
|
182
|
+
|
183
|
+
@property
|
184
|
+
@pulumi.getter(name="serviceEndpointName")
|
185
|
+
def service_endpoint_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
186
|
+
"""
|
187
|
+
The Service Endpoint name.
|
188
|
+
"""
|
189
|
+
return pulumi.get(self, "service_endpoint_name")
|
190
|
+
|
191
|
+
@service_endpoint_name.setter
|
192
|
+
def service_endpoint_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
193
|
+
pulumi.set(self, "service_endpoint_name", value)
|
194
|
+
|
195
|
+
|
196
|
+
@pulumi.type_token("azuredevops:index/serviceendpointBlackDuck:ServiceendpointBlackDuck")
|
197
|
+
class ServiceendpointBlackDuck(pulumi.CustomResource):
|
198
|
+
@overload
|
199
|
+
def __init__(__self__,
|
200
|
+
resource_name: str,
|
201
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
202
|
+
api_token: Optional[pulumi.Input[builtins.str]] = None,
|
203
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
204
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
205
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
206
|
+
service_endpoint_name: Optional[pulumi.Input[builtins.str]] = None,
|
207
|
+
__props__=None):
|
208
|
+
"""
|
209
|
+
Manages a Black Duck service endpoint within Azure DevOps. Using this service endpoint requires you to install: [Black Duck Detect](https://marketplace.visualstudio.com/items?itemName=blackduck.blackduck-detect)
|
210
|
+
|
211
|
+
## Example Usage
|
212
|
+
|
213
|
+
```python
|
214
|
+
import pulumi
|
215
|
+
import pulumi_azuredevops as azuredevops
|
216
|
+
|
217
|
+
example = azuredevops.Project("example",
|
218
|
+
name="Example Project",
|
219
|
+
visibility="private",
|
220
|
+
version_control="Git",
|
221
|
+
work_item_template="Agile",
|
222
|
+
description="Managed by Pulumi")
|
223
|
+
example_serviceendpoint_black_duck = azuredevops.ServiceendpointBlackDuck("example",
|
224
|
+
project_id=example.id,
|
225
|
+
server_url="https://blackduck.com/",
|
226
|
+
api_token="token",
|
227
|
+
service_endpoint_name="Example Black Duck",
|
228
|
+
description="Managed by Pulumi")
|
229
|
+
```
|
230
|
+
|
231
|
+
## Relevant Links
|
232
|
+
|
233
|
+
- [Azure DevOps Service REST API 7.0 - Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)
|
234
|
+
|
235
|
+
## Import
|
236
|
+
|
237
|
+
Azure DevOps Black Duck Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
238
|
+
|
239
|
+
```sh
|
240
|
+
$ pulumi import azuredevops:index/serviceendpointBlackDuck:ServiceendpointBlackDuck example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
241
|
+
```
|
242
|
+
|
243
|
+
:param str resource_name: The name of the resource.
|
244
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
245
|
+
:param pulumi.Input[builtins.str] api_token: The API token of the Black Duck Detect.
|
246
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
247
|
+
:param pulumi.Input[builtins.str] server_url: The server URL of the Black Duck Detect.
|
248
|
+
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint name.
|
249
|
+
"""
|
250
|
+
...
|
251
|
+
@overload
|
252
|
+
def __init__(__self__,
|
253
|
+
resource_name: str,
|
254
|
+
args: ServiceendpointBlackDuckArgs,
|
255
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
256
|
+
"""
|
257
|
+
Manages a Black Duck service endpoint within Azure DevOps. Using this service endpoint requires you to install: [Black Duck Detect](https://marketplace.visualstudio.com/items?itemName=blackduck.blackduck-detect)
|
258
|
+
|
259
|
+
## Example Usage
|
260
|
+
|
261
|
+
```python
|
262
|
+
import pulumi
|
263
|
+
import pulumi_azuredevops as azuredevops
|
264
|
+
|
265
|
+
example = azuredevops.Project("example",
|
266
|
+
name="Example Project",
|
267
|
+
visibility="private",
|
268
|
+
version_control="Git",
|
269
|
+
work_item_template="Agile",
|
270
|
+
description="Managed by Pulumi")
|
271
|
+
example_serviceendpoint_black_duck = azuredevops.ServiceendpointBlackDuck("example",
|
272
|
+
project_id=example.id,
|
273
|
+
server_url="https://blackduck.com/",
|
274
|
+
api_token="token",
|
275
|
+
service_endpoint_name="Example Black Duck",
|
276
|
+
description="Managed by Pulumi")
|
277
|
+
```
|
278
|
+
|
279
|
+
## Relevant Links
|
280
|
+
|
281
|
+
- [Azure DevOps Service REST API 7.0 - Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)
|
282
|
+
|
283
|
+
## Import
|
284
|
+
|
285
|
+
Azure DevOps Black Duck Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
286
|
+
|
287
|
+
```sh
|
288
|
+
$ pulumi import azuredevops:index/serviceendpointBlackDuck:ServiceendpointBlackDuck example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
289
|
+
```
|
290
|
+
|
291
|
+
:param str resource_name: The name of the resource.
|
292
|
+
:param ServiceendpointBlackDuckArgs args: The arguments to use to populate this resource's properties.
|
293
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
294
|
+
"""
|
295
|
+
...
|
296
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
297
|
+
resource_args, opts = _utilities.get_resource_args_opts(ServiceendpointBlackDuckArgs, pulumi.ResourceOptions, *args, **kwargs)
|
298
|
+
if resource_args is not None:
|
299
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
300
|
+
else:
|
301
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
302
|
+
|
303
|
+
def _internal_init(__self__,
|
304
|
+
resource_name: str,
|
305
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
306
|
+
api_token: Optional[pulumi.Input[builtins.str]] = None,
|
307
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
308
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
309
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
310
|
+
service_endpoint_name: Optional[pulumi.Input[builtins.str]] = None,
|
311
|
+
__props__=None):
|
312
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
313
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
314
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
315
|
+
if opts.id is None:
|
316
|
+
if __props__ is not None:
|
317
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
318
|
+
__props__ = ServiceendpointBlackDuckArgs.__new__(ServiceendpointBlackDuckArgs)
|
319
|
+
|
320
|
+
if api_token is None and not opts.urn:
|
321
|
+
raise TypeError("Missing required property 'api_token'")
|
322
|
+
__props__.__dict__["api_token"] = None if api_token is None else pulumi.Output.secret(api_token)
|
323
|
+
__props__.__dict__["description"] = description
|
324
|
+
if project_id is None and not opts.urn:
|
325
|
+
raise TypeError("Missing required property 'project_id'")
|
326
|
+
__props__.__dict__["project_id"] = project_id
|
327
|
+
if server_url is None and not opts.urn:
|
328
|
+
raise TypeError("Missing required property 'server_url'")
|
329
|
+
__props__.__dict__["server_url"] = server_url
|
330
|
+
if service_endpoint_name is None and not opts.urn:
|
331
|
+
raise TypeError("Missing required property 'service_endpoint_name'")
|
332
|
+
__props__.__dict__["service_endpoint_name"] = service_endpoint_name
|
333
|
+
__props__.__dict__["authorization"] = None
|
334
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiToken"])
|
335
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
336
|
+
super(ServiceendpointBlackDuck, __self__).__init__(
|
337
|
+
'azuredevops:index/serviceendpointBlackDuck:ServiceendpointBlackDuck',
|
338
|
+
resource_name,
|
339
|
+
__props__,
|
340
|
+
opts)
|
341
|
+
|
342
|
+
@staticmethod
|
343
|
+
def get(resource_name: str,
|
344
|
+
id: pulumi.Input[str],
|
345
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
346
|
+
api_token: Optional[pulumi.Input[builtins.str]] = None,
|
347
|
+
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
348
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
349
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
350
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
351
|
+
service_endpoint_name: Optional[pulumi.Input[builtins.str]] = None) -> 'ServiceendpointBlackDuck':
|
352
|
+
"""
|
353
|
+
Get an existing ServiceendpointBlackDuck resource's state with the given name, id, and optional extra
|
354
|
+
properties used to qualify the lookup.
|
355
|
+
|
356
|
+
:param str resource_name: The unique name of the resulting resource.
|
357
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
358
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
359
|
+
:param pulumi.Input[builtins.str] api_token: The API token of the Black Duck Detect.
|
360
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
361
|
+
:param pulumi.Input[builtins.str] server_url: The server URL of the Black Duck Detect.
|
362
|
+
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint name.
|
363
|
+
"""
|
364
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
365
|
+
|
366
|
+
__props__ = _ServiceendpointBlackDuckState.__new__(_ServiceendpointBlackDuckState)
|
367
|
+
|
368
|
+
__props__.__dict__["api_token"] = api_token
|
369
|
+
__props__.__dict__["authorization"] = authorization
|
370
|
+
__props__.__dict__["description"] = description
|
371
|
+
__props__.__dict__["project_id"] = project_id
|
372
|
+
__props__.__dict__["server_url"] = server_url
|
373
|
+
__props__.__dict__["service_endpoint_name"] = service_endpoint_name
|
374
|
+
return ServiceendpointBlackDuck(resource_name, opts=opts, __props__=__props__)
|
375
|
+
|
376
|
+
@property
|
377
|
+
@pulumi.getter(name="apiToken")
|
378
|
+
def api_token(self) -> pulumi.Output[builtins.str]:
|
379
|
+
"""
|
380
|
+
The API token of the Black Duck Detect.
|
381
|
+
"""
|
382
|
+
return pulumi.get(self, "api_token")
|
383
|
+
|
384
|
+
@property
|
385
|
+
@pulumi.getter
|
386
|
+
def authorization(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
387
|
+
return pulumi.get(self, "authorization")
|
388
|
+
|
389
|
+
@property
|
390
|
+
@pulumi.getter
|
391
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
392
|
+
return pulumi.get(self, "description")
|
393
|
+
|
394
|
+
@property
|
395
|
+
@pulumi.getter(name="projectId")
|
396
|
+
def project_id(self) -> pulumi.Output[builtins.str]:
|
397
|
+
"""
|
398
|
+
The ID of the project.
|
399
|
+
"""
|
400
|
+
return pulumi.get(self, "project_id")
|
401
|
+
|
402
|
+
@property
|
403
|
+
@pulumi.getter(name="serverUrl")
|
404
|
+
def server_url(self) -> pulumi.Output[builtins.str]:
|
405
|
+
"""
|
406
|
+
The server URL of the Black Duck Detect.
|
407
|
+
"""
|
408
|
+
return pulumi.get(self, "server_url")
|
409
|
+
|
410
|
+
@property
|
411
|
+
@pulumi.getter(name="serviceEndpointName")
|
412
|
+
def service_endpoint_name(self) -> pulumi.Output[builtins.str]:
|
413
|
+
"""
|
414
|
+
The Service Endpoint name.
|
415
|
+
"""
|
416
|
+
return pulumi.get(self, "service_endpoint_name")
|
417
|
+
|
@@ -298,6 +298,7 @@ class _ServiceendpointCheckmarxOneState:
|
|
298
298
|
pulumi.set(self, "service_endpoint_name", value)
|
299
299
|
|
300
300
|
|
301
|
+
@pulumi.type_token("azuredevops:index/serviceendpointCheckmarxOne:ServiceendpointCheckmarxOne")
|
301
302
|
class ServiceendpointCheckmarxOne(pulumi.CustomResource):
|
302
303
|
@overload
|
303
304
|
def __init__(__self__,
|
@@ -288,6 +288,7 @@ class _ServiceendpointCheckmarxSastState:
|
|
288
288
|
pulumi.set(self, "username", value)
|
289
289
|
|
290
290
|
|
291
|
+
@pulumi.type_token("azuredevops:index/serviceendpointCheckmarxSast:ServiceendpointCheckmarxSast")
|
291
292
|
class ServiceendpointCheckmarxSast(pulumi.CustomResource):
|
292
293
|
@overload
|
293
294
|
def __init__(__self__,
|
@@ -349,6 +349,7 @@ class _ServiceendpointCheckmarxScaState:
|
|
349
349
|
pulumi.set(self, "web_app_url", value)
|
350
350
|
|
351
351
|
|
352
|
+
@pulumi.type_token("azuredevops:index/serviceendpointCheckmarxSca:ServiceendpointCheckmarxSca")
|
352
353
|
class ServiceendpointCheckmarxSca(pulumi.CustomResource):
|
353
354
|
@overload
|
354
355
|
def __init__(__self__,
|
@@ -286,6 +286,7 @@ class _ServiceendpointDynamicsLifecycleServicesState:
|
|
286
286
|
pulumi.set(self, "username", value)
|
287
287
|
|
288
288
|
|
289
|
+
@pulumi.type_token("azuredevops:index/serviceendpointDynamicsLifecycleServices:ServiceendpointDynamicsLifecycleServices")
|
289
290
|
class ServiceendpointDynamicsLifecycleServices(pulumi.CustomResource):
|
290
291
|
@overload
|
291
292
|
def __init__(__self__,
|
@@ -195,6 +195,7 @@ class _ServiceendpointExternaltfsState:
|
|
195
195
|
pulumi.set(self, "service_endpoint_name", value)
|
196
196
|
|
197
197
|
|
198
|
+
@pulumi.type_token("azuredevops:index/serviceendpointExternaltfs:ServiceendpointExternaltfs")
|
198
199
|
class ServiceendpointExternaltfs(pulumi.CustomResource):
|
199
200
|
@overload
|
200
201
|
def __init__(__self__,
|
@@ -31,7 +31,7 @@ class ServiceendpointGcpTerraformArgs:
|
|
31
31
|
"""
|
32
32
|
The set of arguments for constructing a ServiceendpointGcpTerraform resource.
|
33
33
|
:param pulumi.Input[builtins.str] gcp_project_id: GCP project associated with the Service Connection.
|
34
|
-
:param pulumi.Input[builtins.str] private_key: The
|
34
|
+
:param pulumi.Input[builtins.str] private_key: The Private Key for connecting to the endpoint.
|
35
35
|
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
36
36
|
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint name.
|
37
37
|
:param pulumi.Input[builtins.str] token_uri: The token uri field in the JSON key file for creating the JSON Web Token.
|
@@ -66,7 +66,7 @@ class ServiceendpointGcpTerraformArgs:
|
|
66
66
|
@pulumi.getter(name="privateKey")
|
67
67
|
def private_key(self) -> pulumi.Input[builtins.str]:
|
68
68
|
"""
|
69
|
-
The
|
69
|
+
The Private Key for connecting to the endpoint.
|
70
70
|
"""
|
71
71
|
return pulumi.get(self, "private_key")
|
72
72
|
|
@@ -160,7 +160,7 @@ class _ServiceendpointGcpTerraformState:
|
|
160
160
|
Input properties used for looking up and filtering ServiceendpointGcpTerraform resources.
|
161
161
|
:param pulumi.Input[builtins.str] client_email: The client email field in the JSON key file for creating the JSON Web Token.
|
162
162
|
:param pulumi.Input[builtins.str] gcp_project_id: GCP project associated with the Service Connection.
|
163
|
-
:param pulumi.Input[builtins.str] private_key: The
|
163
|
+
:param pulumi.Input[builtins.str] private_key: The Private Key for connecting to the endpoint.
|
164
164
|
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
165
165
|
:param pulumi.Input[builtins.str] scope: Scope to be provided.
|
166
166
|
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint name.
|
@@ -231,7 +231,7 @@ class _ServiceendpointGcpTerraformState:
|
|
231
231
|
@pulumi.getter(name="privateKey")
|
232
232
|
def private_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
233
233
|
"""
|
234
|
-
The
|
234
|
+
The Private Key for connecting to the endpoint.
|
235
235
|
"""
|
236
236
|
return pulumi.get(self, "private_key")
|
237
237
|
|
@@ -288,6 +288,7 @@ class _ServiceendpointGcpTerraformState:
|
|
288
288
|
pulumi.set(self, "token_uri", value)
|
289
289
|
|
290
290
|
|
291
|
+
@pulumi.type_token("azuredevops:index/serviceendpointGcpTerraform:ServiceendpointGcpTerraform")
|
291
292
|
class ServiceendpointGcpTerraform(pulumi.CustomResource):
|
292
293
|
@overload
|
293
294
|
def __init__(__self__,
|
@@ -341,7 +342,7 @@ class ServiceendpointGcpTerraform(pulumi.CustomResource):
|
|
341
342
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
342
343
|
:param pulumi.Input[builtins.str] client_email: The client email field in the JSON key file for creating the JSON Web Token.
|
343
344
|
:param pulumi.Input[builtins.str] gcp_project_id: GCP project associated with the Service Connection.
|
344
|
-
:param pulumi.Input[builtins.str] private_key: The
|
345
|
+
:param pulumi.Input[builtins.str] private_key: The Private Key for connecting to the endpoint.
|
345
346
|
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
346
347
|
:param pulumi.Input[builtins.str] scope: Scope to be provided.
|
347
348
|
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint name.
|
@@ -469,7 +470,7 @@ class ServiceendpointGcpTerraform(pulumi.CustomResource):
|
|
469
470
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
470
471
|
:param pulumi.Input[builtins.str] client_email: The client email field in the JSON key file for creating the JSON Web Token.
|
471
472
|
:param pulumi.Input[builtins.str] gcp_project_id: GCP project associated with the Service Connection.
|
472
|
-
:param pulumi.Input[builtins.str] private_key: The
|
473
|
+
:param pulumi.Input[builtins.str] private_key: The Private Key for connecting to the endpoint.
|
473
474
|
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
474
475
|
:param pulumi.Input[builtins.str] scope: Scope to be provided.
|
475
476
|
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint name.
|
@@ -520,7 +521,7 @@ class ServiceendpointGcpTerraform(pulumi.CustomResource):
|
|
520
521
|
@pulumi.getter(name="privateKey")
|
521
522
|
def private_key(self) -> pulumi.Output[builtins.str]:
|
522
523
|
"""
|
523
|
-
The
|
524
|
+
The Private Key for connecting to the endpoint.
|
524
525
|
"""
|
525
526
|
return pulumi.get(self, "private_key")
|
526
527
|
|
@@ -226,6 +226,7 @@ class _ServiceendpointIncomingwebhookState:
|
|
226
226
|
pulumi.set(self, "webhook_name", value)
|
227
227
|
|
228
228
|
|
229
|
+
@pulumi.type_token("azuredevops:index/serviceendpointIncomingwebhook:ServiceendpointIncomingwebhook")
|
229
230
|
class ServiceendpointIncomingwebhook(pulumi.CustomResource):
|
230
231
|
@overload
|
231
232
|
def __init__(__self__,
|
@@ -256,6 +256,7 @@ class _ServiceendpointJenkinsState:
|
|
256
256
|
pulumi.set(self, "username", value)
|
257
257
|
|
258
258
|
|
259
|
+
@pulumi.type_token("azuredevops:index/serviceendpointJenkins:ServiceendpointJenkins")
|
259
260
|
class ServiceendpointJenkins(pulumi.CustomResource):
|
260
261
|
@overload
|
261
262
|
def __init__(__self__,
|
@@ -244,6 +244,7 @@ class _ServiceendpointJfrogArtifactoryV2State:
|
|
244
244
|
pulumi.set(self, "url", value)
|
245
245
|
|
246
246
|
|
247
|
+
@pulumi.type_token("azuredevops:index/serviceendpointJfrogArtifactoryV2:ServiceendpointJfrogArtifactoryV2")
|
247
248
|
class ServiceendpointJfrogArtifactoryV2(pulumi.CustomResource):
|
248
249
|
@overload
|
249
250
|
def __init__(__self__,
|
@@ -244,6 +244,7 @@ class _ServiceendpointJfrogDistributionV2State:
|
|
244
244
|
pulumi.set(self, "url", value)
|
245
245
|
|
246
246
|
|
247
|
+
@pulumi.type_token("azuredevops:index/serviceendpointJfrogDistributionV2:ServiceendpointJfrogDistributionV2")
|
247
248
|
class ServiceendpointJfrogDistributionV2(pulumi.CustomResource):
|
248
249
|
@overload
|
249
250
|
def __init__(__self__,
|
@@ -244,6 +244,7 @@ class _ServiceendpointJfrogPlatformV2State:
|
|
244
244
|
pulumi.set(self, "url", value)
|
245
245
|
|
246
246
|
|
247
|
+
@pulumi.type_token("azuredevops:index/serviceendpointJfrogPlatformV2:ServiceendpointJfrogPlatformV2")
|
247
248
|
class ServiceendpointJfrogPlatformV2(pulumi.CustomResource):
|
248
249
|
@overload
|
249
250
|
def __init__(__self__,
|
@@ -244,6 +244,7 @@ class _ServiceendpointJfrogXrayV2State:
|
|
244
244
|
pulumi.set(self, "url", value)
|
245
245
|
|
246
246
|
|
247
|
+
@pulumi.type_token("azuredevops:index/serviceendpointJfrogXrayV2:ServiceendpointJfrogXrayV2")
|
247
248
|
class ServiceendpointJfrogXrayV2(pulumi.CustomResource):
|
248
249
|
@overload
|
249
250
|
def __init__(__self__,
|
@@ -259,6 +259,7 @@ class _ServiceendpointMavenState:
|
|
259
259
|
pulumi.set(self, "url", value)
|
260
260
|
|
261
261
|
|
262
|
+
@pulumi.type_token("azuredevops:index/serviceendpointMaven:ServiceendpointMaven")
|
262
263
|
class ServiceendpointMaven(pulumi.CustomResource):
|
263
264
|
@overload
|
264
265
|
def __init__(__self__,
|
@@ -224,6 +224,7 @@ class _ServiceendpointNexusState:
|
|
224
224
|
pulumi.set(self, "username", value)
|
225
225
|
|
226
226
|
|
227
|
+
@pulumi.type_token("azuredevops:index/serviceendpointNexus:ServiceendpointNexus")
|
227
228
|
class ServiceendpointNexus(pulumi.CustomResource):
|
228
229
|
@overload
|
229
230
|
def __init__(__self__,
|
@@ -298,6 +298,7 @@ class _ServiceendpointNugetState:
|
|
298
298
|
pulumi.set(self, "username", value)
|
299
299
|
|
300
300
|
|
301
|
+
@pulumi.type_token("azuredevops:index/serviceendpointNuget:ServiceendpointNuget")
|
301
302
|
class ServiceendpointNuget(pulumi.CustomResource):
|
302
303
|
@overload
|
303
304
|
def __init__(__self__,
|
@@ -225,6 +225,7 @@ class _ServiceendpointOctopusdeployState:
|
|
225
225
|
pulumi.set(self, "url", value)
|
226
226
|
|
227
227
|
|
228
|
+
@pulumi.type_token("azuredevops:index/serviceendpointOctopusdeploy:ServiceendpointOctopusdeploy")
|
228
229
|
class ServiceendpointOctopusdeploy(pulumi.CustomResource):
|
229
230
|
@overload
|
230
231
|
def __init__(__self__,
|
@@ -325,6 +325,7 @@ class _ServiceendpointOpenshiftState:
|
|
325
325
|
pulumi.set(self, "service_endpoint_name", value)
|
326
326
|
|
327
327
|
|
328
|
+
@pulumi.type_token("azuredevops:index/serviceendpointOpenshift:ServiceendpointOpenshift")
|
328
329
|
class ServiceendpointOpenshift(pulumi.CustomResource):
|
329
330
|
@overload
|
330
331
|
def __init__(__self__,
|
@@ -222,6 +222,7 @@ class _ServiceendpointPermissionsState:
|
|
222
222
|
pulumi.set(self, "serviceendpoint_id", value)
|
223
223
|
|
224
224
|
|
225
|
+
@pulumi.type_token("azuredevops:index/serviceendpointPermissions:ServiceendpointPermissions")
|
225
226
|
class ServiceendpointPermissions(pulumi.CustomResource):
|
226
227
|
@overload
|
227
228
|
def __init__(__self__,
|
@@ -193,6 +193,7 @@ class _ServiceendpointSnykState:
|
|
193
193
|
pulumi.set(self, "service_endpoint_name", value)
|
194
194
|
|
195
195
|
|
196
|
+
@pulumi.type_token("azuredevops:index/serviceendpointSnyk:ServiceendpointSnyk")
|
196
197
|
class ServiceendpointSnyk(pulumi.CustomResource):
|
197
198
|
@overload
|
198
199
|
def __init__(__self__,
|
@@ -236,6 +236,7 @@ class _ServiceendpointVisualstudiomarketplaceState:
|
|
236
236
|
pulumi.set(self, "url", value)
|
237
237
|
|
238
238
|
|
239
|
+
@pulumi.type_token("azuredevops:index/serviceendpointVisualstudiomarketplace:ServiceendpointVisualstudiomarketplace")
|
239
240
|
class ServiceendpointVisualstudiomarketplace(pulumi.CustomResource):
|
240
241
|
@overload
|
241
242
|
def __init__(__self__,
|