pulumi-harness 0.5.0a1736314922__py3-none-any.whl → 0.5.0a1736435379__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.

Potentially problematic release.


This version of pulumi-harness might be problematic. Click here for more details.

@@ -426,6 +426,14 @@ _utilities.register(
426
426
  "harness:platform/bitbucketConnector:BitbucketConnector": "BitbucketConnector"
427
427
  }
428
428
  },
429
+ {
430
+ "pkg": "harness",
431
+ "mod": "platform/connectorAzureArtifacts",
432
+ "fqn": "pulumi_harness.platform",
433
+ "classes": {
434
+ "harness:platform/connectorAzureArtifacts:ConnectorAzureArtifacts": "ConnectorAzureArtifacts"
435
+ }
436
+ },
429
437
  {
430
438
  "pkg": "harness",
431
439
  "mod": "platform/connectorCustomSecretManager",
@@ -15,6 +15,7 @@ from .azure_cloud_cost_connector import *
15
15
  from .azure_cloud_provider_connector import *
16
16
  from .azure_key_vault_connector import *
17
17
  from .bitbucket_connector import *
18
+ from .connector_azure_artifacts import *
18
19
  from .connector_custom_secret_manager import *
19
20
  from .connector_customhealthsource import *
20
21
  from .connector_jdbc import *
@@ -77,6 +77,8 @@ __all__ = [
77
77
  'BitbucketConnectorCredentialsHttpArgsDict',
78
78
  'BitbucketConnectorCredentialsSshArgs',
79
79
  'BitbucketConnectorCredentialsSshArgsDict',
80
+ 'ConnectorAzureArtifactsCredentialsArgs',
81
+ 'ConnectorAzureArtifactsCredentialsArgsDict',
80
82
  'ConnectorCustomSecretManagerTemplateInputArgs',
81
83
  'ConnectorCustomSecretManagerTemplateInputArgsDict',
82
84
  'ConnectorCustomSecretManagerTemplateInputEnvironmentVariableArgs',
@@ -2414,6 +2416,37 @@ class BitbucketConnectorCredentialsSshArgs:
2414
2416
  pulumi.set(self, "ssh_key_ref", value)
2415
2417
 
2416
2418
 
2419
+ if not MYPY:
2420
+ class ConnectorAzureArtifactsCredentialsArgsDict(TypedDict):
2421
+ token_ref: pulumi.Input[str]
2422
+ """
2423
+ Reference to a secret containing the token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2424
+ """
2425
+ elif False:
2426
+ ConnectorAzureArtifactsCredentialsArgsDict: TypeAlias = Mapping[str, Any]
2427
+
2428
+ @pulumi.input_type
2429
+ class ConnectorAzureArtifactsCredentialsArgs:
2430
+ def __init__(__self__, *,
2431
+ token_ref: pulumi.Input[str]):
2432
+ """
2433
+ :param pulumi.Input[str] token_ref: Reference to a secret containing the token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2434
+ """
2435
+ pulumi.set(__self__, "token_ref", token_ref)
2436
+
2437
+ @property
2438
+ @pulumi.getter(name="tokenRef")
2439
+ def token_ref(self) -> pulumi.Input[str]:
2440
+ """
2441
+ Reference to a secret containing the token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2442
+ """
2443
+ return pulumi.get(self, "token_ref")
2444
+
2445
+ @token_ref.setter
2446
+ def token_ref(self, value: pulumi.Input[str]):
2447
+ pulumi.set(self, "token_ref", value)
2448
+
2449
+
2417
2450
  if not MYPY:
2418
2451
  class ConnectorCustomSecretManagerTemplateInputArgsDict(TypedDict):
2419
2452
  environment_variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectorCustomSecretManagerTemplateInputEnvironmentVariableArgsDict']]]]
@@ -0,0 +1,529 @@
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 copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['ConnectorAzureArtifactsArgs', 'ConnectorAzureArtifacts']
20
+
21
+ @pulumi.input_type
22
+ class ConnectorAzureArtifactsArgs:
23
+ def __init__(__self__, *,
24
+ credentials: pulumi.Input['ConnectorAzureArtifactsCredentialsArgs'],
25
+ identifier: pulumi.Input[str],
26
+ url: pulumi.Input[str],
27
+ delegate_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
28
+ description: Optional[pulumi.Input[str]] = None,
29
+ name: Optional[pulumi.Input[str]] = None,
30
+ org_id: Optional[pulumi.Input[str]] = None,
31
+ project_id: Optional[pulumi.Input[str]] = None,
32
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
33
+ """
34
+ The set of arguments for constructing a ConnectorAzureArtifacts resource.
35
+ :param pulumi.Input['ConnectorAzureArtifactsCredentialsArgs'] credentials: Credentials to use for authentication.
36
+ :param pulumi.Input[str] identifier: Unique identifier of the resource.
37
+ :param pulumi.Input[str] url: URL of the Azure Artifacts server.
38
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] delegate_selectors: Tags to filter delegates for connection.
39
+ :param pulumi.Input[str] description: Description of the resource.
40
+ :param pulumi.Input[str] name: Name of the resource.
41
+ :param pulumi.Input[str] org_id: Unique identifier of the organization.
42
+ :param pulumi.Input[str] project_id: Unique identifier of the project.
43
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags to associate with the resource.
44
+ """
45
+ pulumi.set(__self__, "credentials", credentials)
46
+ pulumi.set(__self__, "identifier", identifier)
47
+ pulumi.set(__self__, "url", url)
48
+ if delegate_selectors is not None:
49
+ pulumi.set(__self__, "delegate_selectors", delegate_selectors)
50
+ if description is not None:
51
+ pulumi.set(__self__, "description", description)
52
+ if name is not None:
53
+ pulumi.set(__self__, "name", name)
54
+ if org_id is not None:
55
+ pulumi.set(__self__, "org_id", org_id)
56
+ if project_id is not None:
57
+ pulumi.set(__self__, "project_id", project_id)
58
+ if tags is not None:
59
+ pulumi.set(__self__, "tags", tags)
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def credentials(self) -> pulumi.Input['ConnectorAzureArtifactsCredentialsArgs']:
64
+ """
65
+ Credentials to use for authentication.
66
+ """
67
+ return pulumi.get(self, "credentials")
68
+
69
+ @credentials.setter
70
+ def credentials(self, value: pulumi.Input['ConnectorAzureArtifactsCredentialsArgs']):
71
+ pulumi.set(self, "credentials", value)
72
+
73
+ @property
74
+ @pulumi.getter
75
+ def identifier(self) -> pulumi.Input[str]:
76
+ """
77
+ Unique identifier of the resource.
78
+ """
79
+ return pulumi.get(self, "identifier")
80
+
81
+ @identifier.setter
82
+ def identifier(self, value: pulumi.Input[str]):
83
+ pulumi.set(self, "identifier", value)
84
+
85
+ @property
86
+ @pulumi.getter
87
+ def url(self) -> pulumi.Input[str]:
88
+ """
89
+ URL of the Azure Artifacts server.
90
+ """
91
+ return pulumi.get(self, "url")
92
+
93
+ @url.setter
94
+ def url(self, value: pulumi.Input[str]):
95
+ pulumi.set(self, "url", value)
96
+
97
+ @property
98
+ @pulumi.getter(name="delegateSelectors")
99
+ def delegate_selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
100
+ """
101
+ Tags to filter delegates for connection.
102
+ """
103
+ return pulumi.get(self, "delegate_selectors")
104
+
105
+ @delegate_selectors.setter
106
+ def delegate_selectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
107
+ pulumi.set(self, "delegate_selectors", value)
108
+
109
+ @property
110
+ @pulumi.getter
111
+ def description(self) -> Optional[pulumi.Input[str]]:
112
+ """
113
+ Description of the resource.
114
+ """
115
+ return pulumi.get(self, "description")
116
+
117
+ @description.setter
118
+ def description(self, value: Optional[pulumi.Input[str]]):
119
+ pulumi.set(self, "description", value)
120
+
121
+ @property
122
+ @pulumi.getter
123
+ def name(self) -> Optional[pulumi.Input[str]]:
124
+ """
125
+ Name of the resource.
126
+ """
127
+ return pulumi.get(self, "name")
128
+
129
+ @name.setter
130
+ def name(self, value: Optional[pulumi.Input[str]]):
131
+ pulumi.set(self, "name", value)
132
+
133
+ @property
134
+ @pulumi.getter(name="orgId")
135
+ def org_id(self) -> Optional[pulumi.Input[str]]:
136
+ """
137
+ Unique identifier of the organization.
138
+ """
139
+ return pulumi.get(self, "org_id")
140
+
141
+ @org_id.setter
142
+ def org_id(self, value: Optional[pulumi.Input[str]]):
143
+ pulumi.set(self, "org_id", value)
144
+
145
+ @property
146
+ @pulumi.getter(name="projectId")
147
+ def project_id(self) -> Optional[pulumi.Input[str]]:
148
+ """
149
+ Unique identifier of the project.
150
+ """
151
+ return pulumi.get(self, "project_id")
152
+
153
+ @project_id.setter
154
+ def project_id(self, value: Optional[pulumi.Input[str]]):
155
+ pulumi.set(self, "project_id", value)
156
+
157
+ @property
158
+ @pulumi.getter
159
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
160
+ """
161
+ Tags to associate with the resource.
162
+ """
163
+ return pulumi.get(self, "tags")
164
+
165
+ @tags.setter
166
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
167
+ pulumi.set(self, "tags", value)
168
+
169
+
170
+ @pulumi.input_type
171
+ class _ConnectorAzureArtifactsState:
172
+ def __init__(__self__, *,
173
+ credentials: Optional[pulumi.Input['ConnectorAzureArtifactsCredentialsArgs']] = None,
174
+ delegate_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
175
+ description: Optional[pulumi.Input[str]] = None,
176
+ identifier: Optional[pulumi.Input[str]] = None,
177
+ name: Optional[pulumi.Input[str]] = None,
178
+ org_id: Optional[pulumi.Input[str]] = None,
179
+ project_id: Optional[pulumi.Input[str]] = None,
180
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
181
+ url: Optional[pulumi.Input[str]] = None):
182
+ """
183
+ Input properties used for looking up and filtering ConnectorAzureArtifacts resources.
184
+ :param pulumi.Input['ConnectorAzureArtifactsCredentialsArgs'] credentials: Credentials to use for authentication.
185
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] delegate_selectors: Tags to filter delegates for connection.
186
+ :param pulumi.Input[str] description: Description of the resource.
187
+ :param pulumi.Input[str] identifier: Unique identifier of the resource.
188
+ :param pulumi.Input[str] name: Name of the resource.
189
+ :param pulumi.Input[str] org_id: Unique identifier of the organization.
190
+ :param pulumi.Input[str] project_id: Unique identifier of the project.
191
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags to associate with the resource.
192
+ :param pulumi.Input[str] url: URL of the Azure Artifacts server.
193
+ """
194
+ if credentials is not None:
195
+ pulumi.set(__self__, "credentials", credentials)
196
+ if delegate_selectors is not None:
197
+ pulumi.set(__self__, "delegate_selectors", delegate_selectors)
198
+ if description is not None:
199
+ pulumi.set(__self__, "description", description)
200
+ if identifier is not None:
201
+ pulumi.set(__self__, "identifier", identifier)
202
+ if name is not None:
203
+ pulumi.set(__self__, "name", name)
204
+ if org_id is not None:
205
+ pulumi.set(__self__, "org_id", org_id)
206
+ if project_id is not None:
207
+ pulumi.set(__self__, "project_id", project_id)
208
+ if tags is not None:
209
+ pulumi.set(__self__, "tags", tags)
210
+ if url is not None:
211
+ pulumi.set(__self__, "url", url)
212
+
213
+ @property
214
+ @pulumi.getter
215
+ def credentials(self) -> Optional[pulumi.Input['ConnectorAzureArtifactsCredentialsArgs']]:
216
+ """
217
+ Credentials to use for authentication.
218
+ """
219
+ return pulumi.get(self, "credentials")
220
+
221
+ @credentials.setter
222
+ def credentials(self, value: Optional[pulumi.Input['ConnectorAzureArtifactsCredentialsArgs']]):
223
+ pulumi.set(self, "credentials", value)
224
+
225
+ @property
226
+ @pulumi.getter(name="delegateSelectors")
227
+ def delegate_selectors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
228
+ """
229
+ Tags to filter delegates for connection.
230
+ """
231
+ return pulumi.get(self, "delegate_selectors")
232
+
233
+ @delegate_selectors.setter
234
+ def delegate_selectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
235
+ pulumi.set(self, "delegate_selectors", value)
236
+
237
+ @property
238
+ @pulumi.getter
239
+ def description(self) -> Optional[pulumi.Input[str]]:
240
+ """
241
+ Description of the resource.
242
+ """
243
+ return pulumi.get(self, "description")
244
+
245
+ @description.setter
246
+ def description(self, value: Optional[pulumi.Input[str]]):
247
+ pulumi.set(self, "description", value)
248
+
249
+ @property
250
+ @pulumi.getter
251
+ def identifier(self) -> Optional[pulumi.Input[str]]:
252
+ """
253
+ Unique identifier of the resource.
254
+ """
255
+ return pulumi.get(self, "identifier")
256
+
257
+ @identifier.setter
258
+ def identifier(self, value: Optional[pulumi.Input[str]]):
259
+ pulumi.set(self, "identifier", value)
260
+
261
+ @property
262
+ @pulumi.getter
263
+ def name(self) -> Optional[pulumi.Input[str]]:
264
+ """
265
+ Name of the resource.
266
+ """
267
+ return pulumi.get(self, "name")
268
+
269
+ @name.setter
270
+ def name(self, value: Optional[pulumi.Input[str]]):
271
+ pulumi.set(self, "name", value)
272
+
273
+ @property
274
+ @pulumi.getter(name="orgId")
275
+ def org_id(self) -> Optional[pulumi.Input[str]]:
276
+ """
277
+ Unique identifier of the organization.
278
+ """
279
+ return pulumi.get(self, "org_id")
280
+
281
+ @org_id.setter
282
+ def org_id(self, value: Optional[pulumi.Input[str]]):
283
+ pulumi.set(self, "org_id", value)
284
+
285
+ @property
286
+ @pulumi.getter(name="projectId")
287
+ def project_id(self) -> Optional[pulumi.Input[str]]:
288
+ """
289
+ Unique identifier of the project.
290
+ """
291
+ return pulumi.get(self, "project_id")
292
+
293
+ @project_id.setter
294
+ def project_id(self, value: Optional[pulumi.Input[str]]):
295
+ pulumi.set(self, "project_id", value)
296
+
297
+ @property
298
+ @pulumi.getter
299
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
300
+ """
301
+ Tags to associate with the resource.
302
+ """
303
+ return pulumi.get(self, "tags")
304
+
305
+ @tags.setter
306
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
307
+ pulumi.set(self, "tags", value)
308
+
309
+ @property
310
+ @pulumi.getter
311
+ def url(self) -> Optional[pulumi.Input[str]]:
312
+ """
313
+ URL of the Azure Artifacts server.
314
+ """
315
+ return pulumi.get(self, "url")
316
+
317
+ @url.setter
318
+ def url(self, value: Optional[pulumi.Input[str]]):
319
+ pulumi.set(self, "url", value)
320
+
321
+
322
+ class ConnectorAzureArtifacts(pulumi.CustomResource):
323
+ @overload
324
+ def __init__(__self__,
325
+ resource_name: str,
326
+ opts: Optional[pulumi.ResourceOptions] = None,
327
+ credentials: Optional[pulumi.Input[Union['ConnectorAzureArtifactsCredentialsArgs', 'ConnectorAzureArtifactsCredentialsArgsDict']]] = None,
328
+ delegate_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
329
+ description: Optional[pulumi.Input[str]] = None,
330
+ identifier: Optional[pulumi.Input[str]] = None,
331
+ name: Optional[pulumi.Input[str]] = None,
332
+ org_id: Optional[pulumi.Input[str]] = None,
333
+ project_id: Optional[pulumi.Input[str]] = None,
334
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
335
+ url: Optional[pulumi.Input[str]] = None,
336
+ __props__=None):
337
+ """
338
+ Create a ConnectorAzureArtifacts resource with the given unique name, props, and options.
339
+ :param str resource_name: The name of the resource.
340
+ :param pulumi.ResourceOptions opts: Options for the resource.
341
+ :param pulumi.Input[Union['ConnectorAzureArtifactsCredentialsArgs', 'ConnectorAzureArtifactsCredentialsArgsDict']] credentials: Credentials to use for authentication.
342
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] delegate_selectors: Tags to filter delegates for connection.
343
+ :param pulumi.Input[str] description: Description of the resource.
344
+ :param pulumi.Input[str] identifier: Unique identifier of the resource.
345
+ :param pulumi.Input[str] name: Name of the resource.
346
+ :param pulumi.Input[str] org_id: Unique identifier of the organization.
347
+ :param pulumi.Input[str] project_id: Unique identifier of the project.
348
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags to associate with the resource.
349
+ :param pulumi.Input[str] url: URL of the Azure Artifacts server.
350
+ """
351
+ ...
352
+ @overload
353
+ def __init__(__self__,
354
+ resource_name: str,
355
+ args: ConnectorAzureArtifactsArgs,
356
+ opts: Optional[pulumi.ResourceOptions] = None):
357
+ """
358
+ Create a ConnectorAzureArtifacts resource with the given unique name, props, and options.
359
+ :param str resource_name: The name of the resource.
360
+ :param ConnectorAzureArtifactsArgs args: The arguments to use to populate this resource's properties.
361
+ :param pulumi.ResourceOptions opts: Options for the resource.
362
+ """
363
+ ...
364
+ def __init__(__self__, resource_name: str, *args, **kwargs):
365
+ resource_args, opts = _utilities.get_resource_args_opts(ConnectorAzureArtifactsArgs, pulumi.ResourceOptions, *args, **kwargs)
366
+ if resource_args is not None:
367
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
368
+ else:
369
+ __self__._internal_init(resource_name, *args, **kwargs)
370
+
371
+ def _internal_init(__self__,
372
+ resource_name: str,
373
+ opts: Optional[pulumi.ResourceOptions] = None,
374
+ credentials: Optional[pulumi.Input[Union['ConnectorAzureArtifactsCredentialsArgs', 'ConnectorAzureArtifactsCredentialsArgsDict']]] = None,
375
+ delegate_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
376
+ description: Optional[pulumi.Input[str]] = None,
377
+ identifier: Optional[pulumi.Input[str]] = None,
378
+ name: Optional[pulumi.Input[str]] = None,
379
+ org_id: Optional[pulumi.Input[str]] = None,
380
+ project_id: Optional[pulumi.Input[str]] = None,
381
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
382
+ url: Optional[pulumi.Input[str]] = None,
383
+ __props__=None):
384
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
385
+ if not isinstance(opts, pulumi.ResourceOptions):
386
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
387
+ if opts.id is None:
388
+ if __props__ is not None:
389
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
390
+ __props__ = ConnectorAzureArtifactsArgs.__new__(ConnectorAzureArtifactsArgs)
391
+
392
+ if credentials is None and not opts.urn:
393
+ raise TypeError("Missing required property 'credentials'")
394
+ __props__.__dict__["credentials"] = credentials
395
+ __props__.__dict__["delegate_selectors"] = delegate_selectors
396
+ __props__.__dict__["description"] = description
397
+ if identifier is None and not opts.urn:
398
+ raise TypeError("Missing required property 'identifier'")
399
+ __props__.__dict__["identifier"] = identifier
400
+ __props__.__dict__["name"] = name
401
+ __props__.__dict__["org_id"] = org_id
402
+ __props__.__dict__["project_id"] = project_id
403
+ __props__.__dict__["tags"] = tags
404
+ if url is None and not opts.urn:
405
+ raise TypeError("Missing required property 'url'")
406
+ __props__.__dict__["url"] = url
407
+ super(ConnectorAzureArtifacts, __self__).__init__(
408
+ 'harness:platform/connectorAzureArtifacts:ConnectorAzureArtifacts',
409
+ resource_name,
410
+ __props__,
411
+ opts)
412
+
413
+ @staticmethod
414
+ def get(resource_name: str,
415
+ id: pulumi.Input[str],
416
+ opts: Optional[pulumi.ResourceOptions] = None,
417
+ credentials: Optional[pulumi.Input[Union['ConnectorAzureArtifactsCredentialsArgs', 'ConnectorAzureArtifactsCredentialsArgsDict']]] = None,
418
+ delegate_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
419
+ description: Optional[pulumi.Input[str]] = None,
420
+ identifier: Optional[pulumi.Input[str]] = None,
421
+ name: Optional[pulumi.Input[str]] = None,
422
+ org_id: Optional[pulumi.Input[str]] = None,
423
+ project_id: Optional[pulumi.Input[str]] = None,
424
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
425
+ url: Optional[pulumi.Input[str]] = None) -> 'ConnectorAzureArtifacts':
426
+ """
427
+ Get an existing ConnectorAzureArtifacts resource's state with the given name, id, and optional extra
428
+ properties used to qualify the lookup.
429
+
430
+ :param str resource_name: The unique name of the resulting resource.
431
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
432
+ :param pulumi.ResourceOptions opts: Options for the resource.
433
+ :param pulumi.Input[Union['ConnectorAzureArtifactsCredentialsArgs', 'ConnectorAzureArtifactsCredentialsArgsDict']] credentials: Credentials to use for authentication.
434
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] delegate_selectors: Tags to filter delegates for connection.
435
+ :param pulumi.Input[str] description: Description of the resource.
436
+ :param pulumi.Input[str] identifier: Unique identifier of the resource.
437
+ :param pulumi.Input[str] name: Name of the resource.
438
+ :param pulumi.Input[str] org_id: Unique identifier of the organization.
439
+ :param pulumi.Input[str] project_id: Unique identifier of the project.
440
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags to associate with the resource.
441
+ :param pulumi.Input[str] url: URL of the Azure Artifacts server.
442
+ """
443
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
444
+
445
+ __props__ = _ConnectorAzureArtifactsState.__new__(_ConnectorAzureArtifactsState)
446
+
447
+ __props__.__dict__["credentials"] = credentials
448
+ __props__.__dict__["delegate_selectors"] = delegate_selectors
449
+ __props__.__dict__["description"] = description
450
+ __props__.__dict__["identifier"] = identifier
451
+ __props__.__dict__["name"] = name
452
+ __props__.__dict__["org_id"] = org_id
453
+ __props__.__dict__["project_id"] = project_id
454
+ __props__.__dict__["tags"] = tags
455
+ __props__.__dict__["url"] = url
456
+ return ConnectorAzureArtifacts(resource_name, opts=opts, __props__=__props__)
457
+
458
+ @property
459
+ @pulumi.getter
460
+ def credentials(self) -> pulumi.Output['outputs.ConnectorAzureArtifactsCredentials']:
461
+ """
462
+ Credentials to use for authentication.
463
+ """
464
+ return pulumi.get(self, "credentials")
465
+
466
+ @property
467
+ @pulumi.getter(name="delegateSelectors")
468
+ def delegate_selectors(self) -> pulumi.Output[Optional[Sequence[str]]]:
469
+ """
470
+ Tags to filter delegates for connection.
471
+ """
472
+ return pulumi.get(self, "delegate_selectors")
473
+
474
+ @property
475
+ @pulumi.getter
476
+ def description(self) -> pulumi.Output[Optional[str]]:
477
+ """
478
+ Description of the resource.
479
+ """
480
+ return pulumi.get(self, "description")
481
+
482
+ @property
483
+ @pulumi.getter
484
+ def identifier(self) -> pulumi.Output[str]:
485
+ """
486
+ Unique identifier of the resource.
487
+ """
488
+ return pulumi.get(self, "identifier")
489
+
490
+ @property
491
+ @pulumi.getter
492
+ def name(self) -> pulumi.Output[str]:
493
+ """
494
+ Name of the resource.
495
+ """
496
+ return pulumi.get(self, "name")
497
+
498
+ @property
499
+ @pulumi.getter(name="orgId")
500
+ def org_id(self) -> pulumi.Output[Optional[str]]:
501
+ """
502
+ Unique identifier of the organization.
503
+ """
504
+ return pulumi.get(self, "org_id")
505
+
506
+ @property
507
+ @pulumi.getter(name="projectId")
508
+ def project_id(self) -> pulumi.Output[Optional[str]]:
509
+ """
510
+ Unique identifier of the project.
511
+ """
512
+ return pulumi.get(self, "project_id")
513
+
514
+ @property
515
+ @pulumi.getter
516
+ def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
517
+ """
518
+ Tags to associate with the resource.
519
+ """
520
+ return pulumi.get(self, "tags")
521
+
522
+ @property
523
+ @pulumi.getter
524
+ def url(self) -> pulumi.Output[str]:
525
+ """
526
+ URL of the Azure Artifacts server.
527
+ """
528
+ return pulumi.get(self, "url")
529
+
@@ -47,6 +47,7 @@ __all__ = [
47
47
  'BitbucketConnectorCredentials',
48
48
  'BitbucketConnectorCredentialsHttp',
49
49
  'BitbucketConnectorCredentialsSsh',
50
+ 'ConnectorAzureArtifactsCredentials',
50
51
  'ConnectorCustomSecretManagerTemplateInput',
51
52
  'ConnectorCustomSecretManagerTemplateInputEnvironmentVariable',
52
53
  'ConnectorCustomhealthsourceHeader',
@@ -2094,6 +2095,41 @@ class BitbucketConnectorCredentialsSsh(dict):
2094
2095
  return pulumi.get(self, "ssh_key_ref")
2095
2096
 
2096
2097
 
2098
+ @pulumi.output_type
2099
+ class ConnectorAzureArtifactsCredentials(dict):
2100
+ @staticmethod
2101
+ def __key_warning(key: str):
2102
+ suggest = None
2103
+ if key == "tokenRef":
2104
+ suggest = "token_ref"
2105
+
2106
+ if suggest:
2107
+ pulumi.log.warn(f"Key '{key}' not found in ConnectorAzureArtifactsCredentials. Access the value via the '{suggest}' property getter instead.")
2108
+
2109
+ def __getitem__(self, key: str) -> Any:
2110
+ ConnectorAzureArtifactsCredentials.__key_warning(key)
2111
+ return super().__getitem__(key)
2112
+
2113
+ def get(self, key: str, default = None) -> Any:
2114
+ ConnectorAzureArtifactsCredentials.__key_warning(key)
2115
+ return super().get(key, default)
2116
+
2117
+ def __init__(__self__, *,
2118
+ token_ref: str):
2119
+ """
2120
+ :param str token_ref: Reference to a secret containing the token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2121
+ """
2122
+ pulumi.set(__self__, "token_ref", token_ref)
2123
+
2124
+ @property
2125
+ @pulumi.getter(name="tokenRef")
2126
+ def token_ref(self) -> str:
2127
+ """
2128
+ Reference to a secret containing the token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2129
+ """
2130
+ return pulumi.get(self, "token_ref")
2131
+
2132
+
2097
2133
  @pulumi.output_type
2098
2134
  class ConnectorCustomSecretManagerTemplateInput(dict):
2099
2135
  @staticmethod
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "harness",
4
- "version": "0.5.0-alpha.1736314922",
4
+ "version": "0.5.0-alpha.1736435379",
5
5
  "server": "github://api.github.com/pulumi"
6
6
  }
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: pulumi_harness
3
- Version: 0.5.0a1736314922
3
+ Version: 0.5.0a1736435379
4
4
  Summary: A Pulumi package for creating and managing Harness resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.pulumi.com
@@ -1,4 +1,4 @@
1
- pulumi_harness/__init__.py,sha256=T7gFUTaQ-qAPvSq2wgloUfi-QuT8SkzAwgQn_aYOMVM,29326
1
+ pulumi_harness/__init__.py,sha256=fy46rpBRvXjTdgPs-j_zKudPgQAyFXamgePEyAsvGEM,29550
2
2
  pulumi_harness/_inputs.py,sha256=DTDMsv0kS6BLARKEXj6p3hrXWw7BXh7L3mcP6ieUyoU,164064
3
3
  pulumi_harness/_utilities.py,sha256=-Td9PZAMy4oLgNXee-XjXTxV8b_JdKQv4Ir88r0CmnQ,10532
4
4
  pulumi_harness/add_user_to_group.py,sha256=hEPgIlXikqWtLZBSVLoHX3_ZLmFCv4I6cAdh7pIkMG0,8666
@@ -27,7 +27,7 @@ pulumi_harness/outputs.py,sha256=zSnE-7EcRiG_xoQGZ-pg0VqPmTBS4k2hu931VCIF4I4,127
27
27
  pulumi_harness/platform_api_key.py,sha256=XQJGZWCu8z9kovotS0jB2RPqLtJUmKkcXXNE73CyNWs,24200
28
28
  pulumi_harness/platform_ccm_filters.py,sha256=kxy__hXvfzz73396Ib4sqvY8pfyGj_h1zlUKjdYspy8,20332
29
29
  pulumi_harness/provider.py,sha256=CSgvveG2lRJQ6JDin3Wzs5iRapg2gr6U7yDeVHocWmA,11270
30
- pulumi_harness/pulumi-plugin.json,sha256=6uxYqUk9JYCuOzma3onstDqYOgXeQ_2jufCALwlpGg0,129
30
+ pulumi_harness/pulumi-plugin.json,sha256=BTS7IP1vyn9h-c9XgMv-AO0saild530ulQjHhogwlBA,129
31
31
  pulumi_harness/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  pulumi_harness/ssh_credential.py,sha256=Cf9eBWAmjZP5KKjN80drj7h3DWMOOaDs30hn4rFEpT0,18111
33
33
  pulumi_harness/user.py,sha256=iM-jru8z8DodmCbaMtzNnO1xg9s9Q27CIKevpszXkVE,18312
@@ -79,8 +79,8 @@ pulumi_harness/governance/get_rule_set.py,sha256=noizppuLkLaVq1jecQ5DFals9UMOiwJ
79
79
  pulumi_harness/governance/rule.py,sha256=zq8ralJggu3qdDgiRzp4j6hKIB2JWyMa-qN0Fh7Mssk,12418
80
80
  pulumi_harness/governance/rule_enforcement.py,sha256=rZ4Am51MBx8HTgIJ9UaUGIp-ZbMFrA51Th1ybXQSBBI,30639
81
81
  pulumi_harness/governance/rule_set.py,sha256=p3nfVUo_AVQjfEaYb34ylpZgZHZWb81TylpEeJo1Ekg,12499
82
- pulumi_harness/platform/__init__.py,sha256=l8DMI69JmVrpgQ7Vr9VLfIC5-nHWm9dVYrA8VYtS0D8,7380
83
- pulumi_harness/platform/_inputs.py,sha256=fcn2ykwbhsgUEyb1YhvJuGee24MFK30kketGczHELiE,928523
82
+ pulumi_harness/platform/__init__.py,sha256=MxzGv_6hG8F5C9KgSkftQr4ZeaK8na8xPuS6IfROGeI,7421
83
+ pulumi_harness/platform/_inputs.py,sha256=PR-sNSZKjmvm7r7Qw2Wh8yxTqJg1eBp7ipbyhEUqBDE,930229
84
84
  pulumi_harness/platform/app_dynamics_connector.py,sha256=ph5yRFplcp3ybUaW22Z1uPTOt_pRn-ZhmXlsgZSwWlY,30184
85
85
  pulumi_harness/platform/artifactory_connector.py,sha256=-67K4gI27Kl4d4eCxZoYIlxHzH66ULIA8s_7bMmbj7U,29378
86
86
  pulumi_harness/platform/aws_cc_connector.py,sha256=ZpfDbD4FQt_7ztFhH7bmGf64RV017KGiSWqhMRwpidM,30576
@@ -91,6 +91,7 @@ pulumi_harness/platform/azure_cloud_cost_connector.py,sha256=thmVxuvxMUW25TMirba
91
91
  pulumi_harness/platform/azure_cloud_provider_connector.py,sha256=TXrQhkl0gO34uHdRusRn0NEIhYrIjQkIZXy_tTWJK3c,35093
92
92
  pulumi_harness/platform/azure_key_vault_connector.py,sha256=E69BCRqdsfPSX4Kg29XzFoO8rZbrJV0uBVwpRb2vxiQ,34246
93
93
  pulumi_harness/platform/bitbucket_connector.py,sha256=PbEEmGU6QFrVX2m5c9ysQw2B9D_nmaRr2nvOqnY_UJo,31950
94
+ pulumi_harness/platform/connector_azure_artifacts.py,sha256=tfCCRDPlZTXCj1-hnHBOkXOBAwmsKb9947ifHx5GhJM,21884
94
95
  pulumi_harness/platform/connector_custom_secret_manager.py,sha256=wA9H-DAfFnnFfWAXYTNjXZO0x856vHsV-I9OrLQ8Gkk,39398
95
96
  pulumi_harness/platform/connector_customhealthsource.py,sha256=5zpXxs-DUju_EKBKJpMFW3F_sEU3ilzz5KEUI9Qq30A,33186
96
97
  pulumi_harness/platform/connector_jdbc.py,sha256=UlRspZdInbkL1vgKV2o6DgT-7rk2owJ6BsA8XOpwVHA,23618
@@ -254,7 +255,7 @@ pulumi_harness/platform/nexus_connector.py,sha256=A4qgeDn-IC6QbHpY9I1fQF9yeX8P3i
254
255
  pulumi_harness/platform/notification_rule.py,sha256=aw2y6UP90OehyenmrxznKjaEl3DfHwPd26P8AY7jdlk,20482
255
256
  pulumi_harness/platform/oci_helm_connector.py,sha256=6xTx-8S34ngfgh92VcGgJalmfkJNmoQD2E6NA06vYwA,24556
256
257
  pulumi_harness/platform/organization.py,sha256=dgpcVkEdb2_BkQ9B2bfpDb-p8Y1eW6Xnr_E4mkLseRo,12068
257
- pulumi_harness/platform/outputs.py,sha256=oTs0A4Apa0aYB6mfGFH3rsBMuVB4iEevPs87eu2UNIQ,949534
258
+ pulumi_harness/platform/outputs.py,sha256=4CWEueCzhsF9WP9fZ93ZegFW--ZljsO3pNlxWEcmXPI,951137
258
259
  pulumi_harness/platform/overrides.py,sha256=MFR60TQhKRDVVnfrxsp8Dz46Dsxyun_xMQvmI38U92c,27370
259
260
  pulumi_harness/platform/pagerduty_connector.py,sha256=p2h0nBESh5dPZV7lfR9rV39n_vwcsuWWYDLb1rJipp8,22761
260
261
  pulumi_harness/platform/pipeline.py,sha256=HW3yS504Rm70suBU8CYy9RP_nc425jZlEYcdvoJguZU,47460
@@ -304,7 +305,7 @@ pulumi_harness/service/outputs.py,sha256=jEI8NBaeHDnW-22YI9Yk-Sp5lvPelLoOnTBBgMZ
304
305
  pulumi_harness/service/ssh.py,sha256=FULtd3EFn_0pHthZzPwpUY26LFy1k178WBTBKPC_HEc,14924
305
306
  pulumi_harness/service/tanzu.py,sha256=AI3KuSH1y5_XPr6nxFjOIVpop_Mo4NvJbUc15ifDvT4,12965
306
307
  pulumi_harness/service/winrm.py,sha256=a1PCzjC8jAaYzhqPKghSS_iefY04xZszjpH9Vu78Blw,15056
307
- pulumi_harness-0.5.0a1736314922.dist-info/METADATA,sha256=CzJ_HxNww-5ss3VYXZtzAnla1Sh_k8eEsBIAzn3ejzM,1565
308
- pulumi_harness-0.5.0a1736314922.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
309
- pulumi_harness-0.5.0a1736314922.dist-info/top_level.txt,sha256=INN42KbPR49RnRJzIyLMbti8o6QRYA_eKubKhjPHqNk,15
310
- pulumi_harness-0.5.0a1736314922.dist-info/RECORD,,
308
+ pulumi_harness-0.5.0a1736435379.dist-info/METADATA,sha256=7vBF_GwpQ5S0uLMr8hDq1ZsraC3v6rXvc634ETnWmPs,1565
309
+ pulumi_harness-0.5.0a1736435379.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
310
+ pulumi_harness-0.5.0a1736435379.dist-info/top_level.txt,sha256=INN42KbPR49RnRJzIyLMbti8o6QRYA_eKubKhjPHqNk,15
311
+ pulumi_harness-0.5.0a1736435379.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.7.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5