pulumi-azuredevops 3.5.0a1735017670__py3-none-any.whl → 3.5.0a1735036089__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 +45 -0
- pulumi_azuredevops/_inputs.py +345 -68
- pulumi_azuredevops/build_definition.py +189 -16
- pulumi_azuredevops/get_service_endpoint_azure_rm.py +27 -13
- pulumi_azuredevops/git_permissions.py +7 -7
- pulumi_azuredevops/outputs.py +231 -48
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/securityrole_assignment.py +7 -7
- pulumi_azuredevops/service_endpoint_aws.py +84 -39
- pulumi_azuredevops/service_endpoint_azure_rm.py +75 -28
- pulumi_azuredevops/service_endpoint_bit_bucket.py +2 -2
- pulumi_azuredevops/service_endpoint_generic.py +2 -6
- pulumi_azuredevops/service_endpoint_git_lab.py +479 -0
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +429 -0
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +579 -0
- pulumi_azuredevops/serviceendpoint_snyk.py +429 -0
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +543 -0
- pulumi_azuredevops/user.py +22 -2
- {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.5.0a1735036089.dist-info}/METADATA +1 -1
- {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.5.0a1735036089.dist-info}/RECORD +22 -17
- {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.5.0a1735036089.dist-info}/WHEEL +0 -0
- {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.5.0a1735036089.dist-info}/top_level.txt +0 -0
pulumi_azuredevops/outputs.py
CHANGED
@@ -30,6 +30,8 @@ __all__ = [
|
|
30
30
|
'BranchPolicyStatusCheckSettingsScope',
|
31
31
|
'BranchPolicyWorkItemLinkingSettings',
|
32
32
|
'BranchPolicyWorkItemLinkingSettingsScope',
|
33
|
+
'BuildDefinitionBuildCompletionTrigger',
|
34
|
+
'BuildDefinitionBuildCompletionTriggerBranchFilter',
|
33
35
|
'BuildDefinitionCiTrigger',
|
34
36
|
'BuildDefinitionCiTriggerOverride',
|
35
37
|
'BuildDefinitionCiTriggerOverrideBranchFilter',
|
@@ -75,6 +77,8 @@ __all__ = [
|
|
75
77
|
'ServiceendpointJfrogXrayV2AuthenticationToken',
|
76
78
|
'ServiceendpointMavenAuthenticationBasic',
|
77
79
|
'ServiceendpointMavenAuthenticationToken',
|
80
|
+
'ServiceendpointVisualstudiomarketplaceAuthenticationBasic',
|
81
|
+
'ServiceendpointVisualstudiomarketplaceAuthenticationToken',
|
78
82
|
'ServicehookStorageQueuePipelinesRunStateChangedEvent',
|
79
83
|
'ServicehookStorageQueuePipelinesStageStateChangedEvent',
|
80
84
|
'VariableGroupKeyVault',
|
@@ -1174,6 +1178,85 @@ class BranchPolicyWorkItemLinkingSettingsScope(dict):
|
|
1174
1178
|
return pulumi.get(self, "repository_ref")
|
1175
1179
|
|
1176
1180
|
|
1181
|
+
@pulumi.output_type
|
1182
|
+
class BuildDefinitionBuildCompletionTrigger(dict):
|
1183
|
+
@staticmethod
|
1184
|
+
def __key_warning(key: str):
|
1185
|
+
suggest = None
|
1186
|
+
if key == "branchFilters":
|
1187
|
+
suggest = "branch_filters"
|
1188
|
+
elif key == "buildDefinitionId":
|
1189
|
+
suggest = "build_definition_id"
|
1190
|
+
|
1191
|
+
if suggest:
|
1192
|
+
pulumi.log.warn(f"Key '{key}' not found in BuildDefinitionBuildCompletionTrigger. Access the value via the '{suggest}' property getter instead.")
|
1193
|
+
|
1194
|
+
def __getitem__(self, key: str) -> Any:
|
1195
|
+
BuildDefinitionBuildCompletionTrigger.__key_warning(key)
|
1196
|
+
return super().__getitem__(key)
|
1197
|
+
|
1198
|
+
def get(self, key: str, default = None) -> Any:
|
1199
|
+
BuildDefinitionBuildCompletionTrigger.__key_warning(key)
|
1200
|
+
return super().get(key, default)
|
1201
|
+
|
1202
|
+
def __init__(__self__, *,
|
1203
|
+
branch_filters: Sequence['outputs.BuildDefinitionBuildCompletionTriggerBranchFilter'],
|
1204
|
+
build_definition_id: int):
|
1205
|
+
"""
|
1206
|
+
:param Sequence['BuildDefinitionBuildCompletionTriggerBranchFilterArgs'] branch_filters: The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1207
|
+
:param int build_definition_id: The ID of the build pipeline will be triggered.
|
1208
|
+
"""
|
1209
|
+
pulumi.set(__self__, "branch_filters", branch_filters)
|
1210
|
+
pulumi.set(__self__, "build_definition_id", build_definition_id)
|
1211
|
+
|
1212
|
+
@property
|
1213
|
+
@pulumi.getter(name="branchFilters")
|
1214
|
+
def branch_filters(self) -> Sequence['outputs.BuildDefinitionBuildCompletionTriggerBranchFilter']:
|
1215
|
+
"""
|
1216
|
+
The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1217
|
+
"""
|
1218
|
+
return pulumi.get(self, "branch_filters")
|
1219
|
+
|
1220
|
+
@property
|
1221
|
+
@pulumi.getter(name="buildDefinitionId")
|
1222
|
+
def build_definition_id(self) -> int:
|
1223
|
+
"""
|
1224
|
+
The ID of the build pipeline will be triggered.
|
1225
|
+
"""
|
1226
|
+
return pulumi.get(self, "build_definition_id")
|
1227
|
+
|
1228
|
+
|
1229
|
+
@pulumi.output_type
|
1230
|
+
class BuildDefinitionBuildCompletionTriggerBranchFilter(dict):
|
1231
|
+
def __init__(__self__, *,
|
1232
|
+
excludes: Optional[Sequence[str]] = None,
|
1233
|
+
includes: Optional[Sequence[str]] = None):
|
1234
|
+
"""
|
1235
|
+
:param Sequence[str] excludes: List of branch patterns to exclude.
|
1236
|
+
:param Sequence[str] includes: List of branch patterns to include.
|
1237
|
+
"""
|
1238
|
+
if excludes is not None:
|
1239
|
+
pulumi.set(__self__, "excludes", excludes)
|
1240
|
+
if includes is not None:
|
1241
|
+
pulumi.set(__self__, "includes", includes)
|
1242
|
+
|
1243
|
+
@property
|
1244
|
+
@pulumi.getter
|
1245
|
+
def excludes(self) -> Optional[Sequence[str]]:
|
1246
|
+
"""
|
1247
|
+
List of branch patterns to exclude.
|
1248
|
+
"""
|
1249
|
+
return pulumi.get(self, "excludes")
|
1250
|
+
|
1251
|
+
@property
|
1252
|
+
@pulumi.getter
|
1253
|
+
def includes(self) -> Optional[Sequence[str]]:
|
1254
|
+
"""
|
1255
|
+
List of branch patterns to include.
|
1256
|
+
"""
|
1257
|
+
return pulumi.get(self, "includes")
|
1258
|
+
|
1259
|
+
|
1177
1260
|
@pulumi.output_type
|
1178
1261
|
class BuildDefinitionCiTrigger(dict):
|
1179
1262
|
@staticmethod
|
@@ -1250,24 +1333,23 @@ class BuildDefinitionCiTriggerOverride(dict):
|
|
1250
1333
|
return super().get(key, default)
|
1251
1334
|
|
1252
1335
|
def __init__(__self__, *,
|
1336
|
+
branch_filters: Sequence['outputs.BuildDefinitionCiTriggerOverrideBranchFilter'],
|
1253
1337
|
batch: Optional[bool] = None,
|
1254
|
-
branch_filters: Optional[Sequence['outputs.BuildDefinitionCiTriggerOverrideBranchFilter']] = None,
|
1255
1338
|
max_concurrent_builds_per_branch: Optional[int] = None,
|
1256
1339
|
path_filters: Optional[Sequence['outputs.BuildDefinitionCiTriggerOverridePathFilter']] = None,
|
1257
1340
|
polling_interval: Optional[int] = None,
|
1258
1341
|
polling_job_id: Optional[str] = None):
|
1259
1342
|
"""
|
1343
|
+
:param Sequence['BuildDefinitionCiTriggerOverrideBranchFilterArgs'] branch_filters: The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1260
1344
|
:param bool batch: If you set batch to true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built. Defaults to `true`.
|
1261
|
-
:param Sequence['BuildDefinitionCiTriggerOverrideBranchFilterArgs'] branch_filters: The branches to include and exclude from the trigger.
|
1262
1345
|
:param int max_concurrent_builds_per_branch: The number of max builds per branch. Defaults to `1`.
|
1263
1346
|
:param Sequence['BuildDefinitionCiTriggerOverridePathFilterArgs'] path_filters: Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
|
1264
1347
|
:param int polling_interval: How often the external repository is polled. Defaults to `0`.
|
1265
1348
|
:param str polling_job_id: This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
|
1266
1349
|
"""
|
1350
|
+
pulumi.set(__self__, "branch_filters", branch_filters)
|
1267
1351
|
if batch is not None:
|
1268
1352
|
pulumi.set(__self__, "batch", batch)
|
1269
|
-
if branch_filters is not None:
|
1270
|
-
pulumi.set(__self__, "branch_filters", branch_filters)
|
1271
1353
|
if max_concurrent_builds_per_branch is not None:
|
1272
1354
|
pulumi.set(__self__, "max_concurrent_builds_per_branch", max_concurrent_builds_per_branch)
|
1273
1355
|
if path_filters is not None:
|
@@ -1278,20 +1360,20 @@ class BuildDefinitionCiTriggerOverride(dict):
|
|
1278
1360
|
pulumi.set(__self__, "polling_job_id", polling_job_id)
|
1279
1361
|
|
1280
1362
|
@property
|
1281
|
-
@pulumi.getter
|
1282
|
-
def
|
1363
|
+
@pulumi.getter(name="branchFilters")
|
1364
|
+
def branch_filters(self) -> Sequence['outputs.BuildDefinitionCiTriggerOverrideBranchFilter']:
|
1283
1365
|
"""
|
1284
|
-
|
1366
|
+
The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1285
1367
|
"""
|
1286
|
-
return pulumi.get(self, "
|
1368
|
+
return pulumi.get(self, "branch_filters")
|
1287
1369
|
|
1288
1370
|
@property
|
1289
|
-
@pulumi.getter
|
1290
|
-
def
|
1371
|
+
@pulumi.getter
|
1372
|
+
def batch(self) -> Optional[bool]:
|
1291
1373
|
"""
|
1292
|
-
|
1374
|
+
If you set batch to true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built. Defaults to `true`.
|
1293
1375
|
"""
|
1294
|
-
return pulumi.get(self, "
|
1376
|
+
return pulumi.get(self, "batch")
|
1295
1377
|
|
1296
1378
|
@property
|
1297
1379
|
@pulumi.getter(name="maxConcurrentBuildsPerBranch")
|
@@ -1558,10 +1640,10 @@ class BuildDefinitionPullRequestTriggerOverride(dict):
|
|
1558
1640
|
@staticmethod
|
1559
1641
|
def __key_warning(key: str):
|
1560
1642
|
suggest = None
|
1561
|
-
if key == "
|
1562
|
-
suggest = "auto_cancel"
|
1563
|
-
elif key == "branchFilters":
|
1643
|
+
if key == "branchFilters":
|
1564
1644
|
suggest = "branch_filters"
|
1645
|
+
elif key == "autoCancel":
|
1646
|
+
suggest = "auto_cancel"
|
1565
1647
|
elif key == "pathFilters":
|
1566
1648
|
suggest = "path_filters"
|
1567
1649
|
|
@@ -1577,36 +1659,35 @@ class BuildDefinitionPullRequestTriggerOverride(dict):
|
|
1577
1659
|
return super().get(key, default)
|
1578
1660
|
|
1579
1661
|
def __init__(__self__, *,
|
1662
|
+
branch_filters: Sequence['outputs.BuildDefinitionPullRequestTriggerOverrideBranchFilter'],
|
1580
1663
|
auto_cancel: Optional[bool] = None,
|
1581
|
-
branch_filters: Optional[Sequence['outputs.BuildDefinitionPullRequestTriggerOverrideBranchFilter']] = None,
|
1582
1664
|
path_filters: Optional[Sequence['outputs.BuildDefinitionPullRequestTriggerOverridePathFilter']] = None):
|
1583
1665
|
"""
|
1666
|
+
:param Sequence['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs'] branch_filters: The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1584
1667
|
:param bool auto_cancel: . Defaults to `true`.
|
1585
|
-
:param Sequence['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs'] branch_filters: The branches to include and exclude from the trigger.
|
1586
1668
|
:param Sequence['BuildDefinitionPullRequestTriggerOverridePathFilterArgs'] path_filters: Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
|
1587
1669
|
"""
|
1670
|
+
pulumi.set(__self__, "branch_filters", branch_filters)
|
1588
1671
|
if auto_cancel is not None:
|
1589
1672
|
pulumi.set(__self__, "auto_cancel", auto_cancel)
|
1590
|
-
if branch_filters is not None:
|
1591
|
-
pulumi.set(__self__, "branch_filters", branch_filters)
|
1592
1673
|
if path_filters is not None:
|
1593
1674
|
pulumi.set(__self__, "path_filters", path_filters)
|
1594
1675
|
|
1595
1676
|
@property
|
1596
|
-
@pulumi.getter(name="
|
1597
|
-
def
|
1677
|
+
@pulumi.getter(name="branchFilters")
|
1678
|
+
def branch_filters(self) -> Sequence['outputs.BuildDefinitionPullRequestTriggerOverrideBranchFilter']:
|
1598
1679
|
"""
|
1599
|
-
|
1680
|
+
The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1600
1681
|
"""
|
1601
|
-
return pulumi.get(self, "
|
1682
|
+
return pulumi.get(self, "branch_filters")
|
1602
1683
|
|
1603
1684
|
@property
|
1604
|
-
@pulumi.getter(name="
|
1605
|
-
def
|
1685
|
+
@pulumi.getter(name="autoCancel")
|
1686
|
+
def auto_cancel(self) -> Optional[bool]:
|
1606
1687
|
"""
|
1607
|
-
|
1688
|
+
. Defaults to `true`.
|
1608
1689
|
"""
|
1609
|
-
return pulumi.get(self, "
|
1690
|
+
return pulumi.get(self, "auto_cancel")
|
1610
1691
|
|
1611
1692
|
@property
|
1612
1693
|
@pulumi.getter(name="pathFilters")
|
@@ -1801,10 +1882,10 @@ class BuildDefinitionSchedule(dict):
|
|
1801
1882
|
@staticmethod
|
1802
1883
|
def __key_warning(key: str):
|
1803
1884
|
suggest = None
|
1804
|
-
if key == "
|
1805
|
-
suggest = "days_to_builds"
|
1806
|
-
elif key == "branchFilters":
|
1885
|
+
if key == "branchFilters":
|
1807
1886
|
suggest = "branch_filters"
|
1887
|
+
elif key == "daysToBuilds":
|
1888
|
+
suggest = "days_to_builds"
|
1808
1889
|
elif key == "scheduleJobId":
|
1809
1890
|
suggest = "schedule_job_id"
|
1810
1891
|
elif key == "scheduleOnlyWithChanges":
|
@@ -1828,16 +1909,16 @@ class BuildDefinitionSchedule(dict):
|
|
1828
1909
|
return super().get(key, default)
|
1829
1910
|
|
1830
1911
|
def __init__(__self__, *,
|
1912
|
+
branch_filters: Sequence['outputs.BuildDefinitionScheduleBranchFilter'],
|
1831
1913
|
days_to_builds: Sequence[str],
|
1832
|
-
branch_filters: Optional[Sequence['outputs.BuildDefinitionScheduleBranchFilter']] = None,
|
1833
1914
|
schedule_job_id: Optional[str] = None,
|
1834
1915
|
schedule_only_with_changes: Optional[bool] = None,
|
1835
1916
|
start_hours: Optional[int] = None,
|
1836
1917
|
start_minutes: Optional[int] = None,
|
1837
1918
|
time_zone: Optional[str] = None):
|
1838
1919
|
"""
|
1839
|
-
:param Sequence[str] days_to_builds: When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.
|
1840
1920
|
:param Sequence['BuildDefinitionScheduleBranchFilterArgs'] branch_filters: block supports the following:
|
1921
|
+
:param Sequence[str] days_to_builds: When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.
|
1841
1922
|
:param str schedule_job_id: The ID of the schedule job
|
1842
1923
|
:param bool schedule_only_with_changes: Schedule builds if the source or pipeline has changed. Defaults to `true`.
|
1843
1924
|
:param int start_hours: Build start hour. Defaults to `0`. Valid values: `0 ~ 23`.
|
@@ -1985,9 +2066,8 @@ class BuildDefinitionSchedule(dict):
|
|
1985
2066
|
`(UTC+13:00) Samoa`,
|
1986
2067
|
`(UTC+14:00) Kiritimati Island`.
|
1987
2068
|
"""
|
2069
|
+
pulumi.set(__self__, "branch_filters", branch_filters)
|
1988
2070
|
pulumi.set(__self__, "days_to_builds", days_to_builds)
|
1989
|
-
if branch_filters is not None:
|
1990
|
-
pulumi.set(__self__, "branch_filters", branch_filters)
|
1991
2071
|
if schedule_job_id is not None:
|
1992
2072
|
pulumi.set(__self__, "schedule_job_id", schedule_job_id)
|
1993
2073
|
if schedule_only_with_changes is not None:
|
@@ -2000,20 +2080,20 @@ class BuildDefinitionSchedule(dict):
|
|
2000
2080
|
pulumi.set(__self__, "time_zone", time_zone)
|
2001
2081
|
|
2002
2082
|
@property
|
2003
|
-
@pulumi.getter(name="
|
2004
|
-
def
|
2083
|
+
@pulumi.getter(name="branchFilters")
|
2084
|
+
def branch_filters(self) -> Sequence['outputs.BuildDefinitionScheduleBranchFilter']:
|
2005
2085
|
"""
|
2006
|
-
|
2086
|
+
block supports the following:
|
2007
2087
|
"""
|
2008
|
-
return pulumi.get(self, "
|
2088
|
+
return pulumi.get(self, "branch_filters")
|
2009
2089
|
|
2010
2090
|
@property
|
2011
|
-
@pulumi.getter(name="
|
2012
|
-
def
|
2091
|
+
@pulumi.getter(name="daysToBuilds")
|
2092
|
+
def days_to_builds(self) -> Sequence[str]:
|
2013
2093
|
"""
|
2014
|
-
|
2094
|
+
When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.
|
2015
2095
|
"""
|
2016
|
-
return pulumi.get(self, "
|
2096
|
+
return pulumi.get(self, "days_to_builds")
|
2017
2097
|
|
2018
2098
|
@property
|
2019
2099
|
@pulumi.getter(name="scheduleJobId")
|
@@ -2465,22 +2545,33 @@ class GitInitialization(dict):
|
|
2465
2545
|
|
2466
2546
|
def __init__(__self__, *,
|
2467
2547
|
init_type: str,
|
2548
|
+
password: Optional[str] = None,
|
2468
2549
|
service_connection_id: Optional[str] = None,
|
2469
2550
|
source_type: Optional[str] = None,
|
2470
|
-
source_url: Optional[str] = None
|
2551
|
+
source_url: Optional[str] = None,
|
2552
|
+
username: Optional[str] = None):
|
2471
2553
|
"""
|
2472
2554
|
:param str init_type: The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`.
|
2473
|
-
:param str
|
2555
|
+
:param str password: The password used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
2556
|
+
|
2557
|
+
~>**Note**
|
2558
|
+
At least `service_connection_id` or `username/password` needs to be set to import private repository.
|
2559
|
+
:param str service_connection_id: The ID of service connection used to authenticate to a private repository for import initialization. Conflicts with `username` and `password`.
|
2474
2560
|
:param str source_type: Type of the source repository. Used if the `init_type` is `Import`. Valid values: `Git`.
|
2475
2561
|
:param str source_url: The URL of the source repository. Used if the `init_type` is `Import`.
|
2562
|
+
:param str username: The username used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
2476
2563
|
"""
|
2477
2564
|
pulumi.set(__self__, "init_type", init_type)
|
2565
|
+
if password is not None:
|
2566
|
+
pulumi.set(__self__, "password", password)
|
2478
2567
|
if service_connection_id is not None:
|
2479
2568
|
pulumi.set(__self__, "service_connection_id", service_connection_id)
|
2480
2569
|
if source_type is not None:
|
2481
2570
|
pulumi.set(__self__, "source_type", source_type)
|
2482
2571
|
if source_url is not None:
|
2483
2572
|
pulumi.set(__self__, "source_url", source_url)
|
2573
|
+
if username is not None:
|
2574
|
+
pulumi.set(__self__, "username", username)
|
2484
2575
|
|
2485
2576
|
@property
|
2486
2577
|
@pulumi.getter(name="initType")
|
@@ -2490,11 +2581,22 @@ class GitInitialization(dict):
|
|
2490
2581
|
"""
|
2491
2582
|
return pulumi.get(self, "init_type")
|
2492
2583
|
|
2584
|
+
@property
|
2585
|
+
@pulumi.getter
|
2586
|
+
def password(self) -> Optional[str]:
|
2587
|
+
"""
|
2588
|
+
The password used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
2589
|
+
|
2590
|
+
~>**Note**
|
2591
|
+
At least `service_connection_id` or `username/password` needs to be set to import private repository.
|
2592
|
+
"""
|
2593
|
+
return pulumi.get(self, "password")
|
2594
|
+
|
2493
2595
|
@property
|
2494
2596
|
@pulumi.getter(name="serviceConnectionId")
|
2495
2597
|
def service_connection_id(self) -> Optional[str]:
|
2496
2598
|
"""
|
2497
|
-
The
|
2599
|
+
The ID of service connection used to authenticate to a private repository for import initialization. Conflicts with `username` and `password`.
|
2498
2600
|
"""
|
2499
2601
|
return pulumi.get(self, "service_connection_id")
|
2500
2602
|
|
@@ -2514,6 +2616,14 @@ class GitInitialization(dict):
|
|
2514
2616
|
"""
|
2515
2617
|
return pulumi.get(self, "source_url")
|
2516
2618
|
|
2619
|
+
@property
|
2620
|
+
@pulumi.getter
|
2621
|
+
def username(self) -> Optional[str]:
|
2622
|
+
"""
|
2623
|
+
The username used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
2624
|
+
"""
|
2625
|
+
return pulumi.get(self, "username")
|
2626
|
+
|
2517
2627
|
|
2518
2628
|
@pulumi.output_type
|
2519
2629
|
class ServiceEndpointArtifactoryAuthenticationBasic(dict):
|
@@ -2584,12 +2694,16 @@ class ServiceEndpointAzureEcrCredentials(dict):
|
|
2584
2694
|
class ServiceEndpointAzureRMCredentials(dict):
|
2585
2695
|
def __init__(__self__, *,
|
2586
2696
|
serviceprincipalid: str,
|
2697
|
+
serviceprincipalcertificate: Optional[str] = None,
|
2587
2698
|
serviceprincipalkey: Optional[str] = None):
|
2588
2699
|
"""
|
2589
|
-
:param str serviceprincipalid: The service principal application
|
2700
|
+
:param str serviceprincipalid: The service principal application ID
|
2701
|
+
:param str serviceprincipalcertificate: The service principal certificate. This not required if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`.
|
2590
2702
|
:param str serviceprincipalkey: The service principal secret. This not required if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`.
|
2591
2703
|
"""
|
2592
2704
|
pulumi.set(__self__, "serviceprincipalid", serviceprincipalid)
|
2705
|
+
if serviceprincipalcertificate is not None:
|
2706
|
+
pulumi.set(__self__, "serviceprincipalcertificate", serviceprincipalcertificate)
|
2593
2707
|
if serviceprincipalkey is not None:
|
2594
2708
|
pulumi.set(__self__, "serviceprincipalkey", serviceprincipalkey)
|
2595
2709
|
|
@@ -2597,10 +2711,18 @@ class ServiceEndpointAzureRMCredentials(dict):
|
|
2597
2711
|
@pulumi.getter
|
2598
2712
|
def serviceprincipalid(self) -> str:
|
2599
2713
|
"""
|
2600
|
-
The service principal application
|
2714
|
+
The service principal application ID
|
2601
2715
|
"""
|
2602
2716
|
return pulumi.get(self, "serviceprincipalid")
|
2603
2717
|
|
2718
|
+
@property
|
2719
|
+
@pulumi.getter
|
2720
|
+
def serviceprincipalcertificate(self) -> Optional[str]:
|
2721
|
+
"""
|
2722
|
+
The service principal certificate. This not required if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`.
|
2723
|
+
"""
|
2724
|
+
return pulumi.get(self, "serviceprincipalcertificate")
|
2725
|
+
|
2604
2726
|
@property
|
2605
2727
|
@pulumi.getter
|
2606
2728
|
def serviceprincipalkey(self) -> Optional[str]:
|
@@ -2925,6 +3047,8 @@ class ServiceEndpointKubernetesServiceAccount(dict):
|
|
2925
3047
|
suggest = None
|
2926
3048
|
if key == "caCert":
|
2927
3049
|
suggest = "ca_cert"
|
3050
|
+
elif key == "acceptUntrustedCerts":
|
3051
|
+
suggest = "accept_untrusted_certs"
|
2928
3052
|
|
2929
3053
|
if suggest:
|
2930
3054
|
pulumi.log.warn(f"Key '{key}' not found in ServiceEndpointKubernetesServiceAccount. Access the value via the '{suggest}' property getter instead.")
|
@@ -2939,13 +3063,17 @@ class ServiceEndpointKubernetesServiceAccount(dict):
|
|
2939
3063
|
|
2940
3064
|
def __init__(__self__, *,
|
2941
3065
|
ca_cert: str,
|
2942
|
-
token: str
|
3066
|
+
token: str,
|
3067
|
+
accept_untrusted_certs: Optional[bool] = None):
|
2943
3068
|
"""
|
2944
3069
|
:param str ca_cert: The certificate from a Kubernetes secret object.
|
2945
3070
|
:param str token: The token from a Kubernetes secret object.
|
3071
|
+
:param bool accept_untrusted_certs: Set this option to allow clients to accept a self-signed certificate. Defaults to `false`.
|
2946
3072
|
"""
|
2947
3073
|
pulumi.set(__self__, "ca_cert", ca_cert)
|
2948
3074
|
pulumi.set(__self__, "token", token)
|
3075
|
+
if accept_untrusted_certs is not None:
|
3076
|
+
pulumi.set(__self__, "accept_untrusted_certs", accept_untrusted_certs)
|
2949
3077
|
|
2950
3078
|
@property
|
2951
3079
|
@pulumi.getter(name="caCert")
|
@@ -2963,6 +3091,14 @@ class ServiceEndpointKubernetesServiceAccount(dict):
|
|
2963
3091
|
"""
|
2964
3092
|
return pulumi.get(self, "token")
|
2965
3093
|
|
3094
|
+
@property
|
3095
|
+
@pulumi.getter(name="acceptUntrustedCerts")
|
3096
|
+
def accept_untrusted_certs(self) -> Optional[bool]:
|
3097
|
+
"""
|
3098
|
+
Set this option to allow clients to accept a self-signed certificate. Defaults to `false`.
|
3099
|
+
"""
|
3100
|
+
return pulumi.get(self, "accept_untrusted_certs")
|
3101
|
+
|
2966
3102
|
|
2967
3103
|
@pulumi.output_type
|
2968
3104
|
class ServiceEndpointPipelineAuthPersonal(dict):
|
@@ -3539,6 +3675,53 @@ class ServiceendpointMavenAuthenticationToken(dict):
|
|
3539
3675
|
return pulumi.get(self, "token")
|
3540
3676
|
|
3541
3677
|
|
3678
|
+
@pulumi.output_type
|
3679
|
+
class ServiceendpointVisualstudiomarketplaceAuthenticationBasic(dict):
|
3680
|
+
def __init__(__self__, *,
|
3681
|
+
password: str,
|
3682
|
+
username: str):
|
3683
|
+
"""
|
3684
|
+
:param str password: The password of the marketplace.
|
3685
|
+
:param str username: The username of the marketplace.
|
3686
|
+
"""
|
3687
|
+
pulumi.set(__self__, "password", password)
|
3688
|
+
pulumi.set(__self__, "username", username)
|
3689
|
+
|
3690
|
+
@property
|
3691
|
+
@pulumi.getter
|
3692
|
+
def password(self) -> str:
|
3693
|
+
"""
|
3694
|
+
The password of the marketplace.
|
3695
|
+
"""
|
3696
|
+
return pulumi.get(self, "password")
|
3697
|
+
|
3698
|
+
@property
|
3699
|
+
@pulumi.getter
|
3700
|
+
def username(self) -> str:
|
3701
|
+
"""
|
3702
|
+
The username of the marketplace.
|
3703
|
+
"""
|
3704
|
+
return pulumi.get(self, "username")
|
3705
|
+
|
3706
|
+
|
3707
|
+
@pulumi.output_type
|
3708
|
+
class ServiceendpointVisualstudiomarketplaceAuthenticationToken(dict):
|
3709
|
+
def __init__(__self__, *,
|
3710
|
+
token: str):
|
3711
|
+
"""
|
3712
|
+
:param str token: The Personal Access Token.
|
3713
|
+
"""
|
3714
|
+
pulumi.set(__self__, "token", token)
|
3715
|
+
|
3716
|
+
@property
|
3717
|
+
@pulumi.getter
|
3718
|
+
def token(self) -> str:
|
3719
|
+
"""
|
3720
|
+
The Personal Access Token.
|
3721
|
+
"""
|
3722
|
+
return pulumi.get(self, "token")
|
3723
|
+
|
3724
|
+
|
3542
3725
|
@pulumi.output_type
|
3543
3726
|
class ServicehookStorageQueuePipelinesRunStateChangedEvent(dict):
|
3544
3727
|
@staticmethod
|
@@ -26,7 +26,7 @@ class SecurityroleAssignmentArgs:
|
|
26
26
|
"""
|
27
27
|
The set of arguments for constructing a SecurityroleAssignment resource.
|
28
28
|
:param pulumi.Input[str] identity_id: The ID of the identity to authorize.
|
29
|
-
:param pulumi.Input[str] resource_id: The ID of the resource on which the role is to be assigned.
|
29
|
+
:param pulumi.Input[str] resource_id: The ID of the resource on which the role is to be assigned. Changing this forces a new resource to be created.
|
30
30
|
:param pulumi.Input[str] role_name: Name of the role to assign.
|
31
31
|
:param pulumi.Input[str] scope: The scope in which this assignment should exist.
|
32
32
|
"""
|
@@ -51,7 +51,7 @@ class SecurityroleAssignmentArgs:
|
|
51
51
|
@pulumi.getter(name="resourceId")
|
52
52
|
def resource_id(self) -> pulumi.Input[str]:
|
53
53
|
"""
|
54
|
-
The ID of the resource on which the role is to be assigned.
|
54
|
+
The ID of the resource on which the role is to be assigned. Changing this forces a new resource to be created.
|
55
55
|
"""
|
56
56
|
return pulumi.get(self, "resource_id")
|
57
57
|
|
@@ -94,7 +94,7 @@ class _SecurityroleAssignmentState:
|
|
94
94
|
"""
|
95
95
|
Input properties used for looking up and filtering SecurityroleAssignment resources.
|
96
96
|
:param pulumi.Input[str] identity_id: The ID of the identity to authorize.
|
97
|
-
:param pulumi.Input[str] resource_id: The ID of the resource on which the role is to be assigned.
|
97
|
+
:param pulumi.Input[str] resource_id: The ID of the resource on which the role is to be assigned. Changing this forces a new resource to be created.
|
98
98
|
:param pulumi.Input[str] role_name: Name of the role to assign.
|
99
99
|
:param pulumi.Input[str] scope: The scope in which this assignment should exist.
|
100
100
|
"""
|
@@ -123,7 +123,7 @@ class _SecurityroleAssignmentState:
|
|
123
123
|
@pulumi.getter(name="resourceId")
|
124
124
|
def resource_id(self) -> Optional[pulumi.Input[str]]:
|
125
125
|
"""
|
126
|
-
The ID of the resource on which the role is to be assigned.
|
126
|
+
The ID of the resource on which the role is to be assigned. Changing this forces a new resource to be created.
|
127
127
|
"""
|
128
128
|
return pulumi.get(self, "resource_id")
|
129
129
|
|
@@ -172,7 +172,7 @@ class SecurityroleAssignment(pulumi.CustomResource):
|
|
172
172
|
:param str resource_name: The name of the resource.
|
173
173
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
174
174
|
:param pulumi.Input[str] identity_id: The ID of the identity to authorize.
|
175
|
-
:param pulumi.Input[str] resource_id: The ID of the resource on which the role is to be assigned.
|
175
|
+
:param pulumi.Input[str] resource_id: The ID of the resource on which the role is to be assigned. Changing this forces a new resource to be created.
|
176
176
|
:param pulumi.Input[str] role_name: Name of the role to assign.
|
177
177
|
:param pulumi.Input[str] scope: The scope in which this assignment should exist.
|
178
178
|
"""
|
@@ -247,7 +247,7 @@ class SecurityroleAssignment(pulumi.CustomResource):
|
|
247
247
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
248
248
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
249
249
|
:param pulumi.Input[str] identity_id: The ID of the identity to authorize.
|
250
|
-
:param pulumi.Input[str] resource_id: The ID of the resource on which the role is to be assigned.
|
250
|
+
:param pulumi.Input[str] resource_id: The ID of the resource on which the role is to be assigned. Changing this forces a new resource to be created.
|
251
251
|
:param pulumi.Input[str] role_name: Name of the role to assign.
|
252
252
|
:param pulumi.Input[str] scope: The scope in which this assignment should exist.
|
253
253
|
"""
|
@@ -273,7 +273,7 @@ class SecurityroleAssignment(pulumi.CustomResource):
|
|
273
273
|
@pulumi.getter(name="resourceId")
|
274
274
|
def resource_id(self) -> pulumi.Output[str]:
|
275
275
|
"""
|
276
|
-
The ID of the resource on which the role is to be assigned.
|
276
|
+
The ID of the resource on which the role is to be assigned. Changing this forces a new resource to be created.
|
277
277
|
"""
|
278
278
|
return pulumi.get(self, "resource_id")
|
279
279
|
|