pulumi-azuredevops 3.5.0a1735017670__py3-none-any.whl → 3.6.0a1735363298__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.6.0a1735363298.dist-info}/METADATA +1 -1
- {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.6.0a1735363298.dist-info}/RECORD +22 -17
- {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.6.0a1735363298.dist-info}/WHEEL +0 -0
- {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.6.0a1735363298.dist-info}/top_level.txt +0 -0
pulumi_azuredevops/_inputs.py
CHANGED
@@ -43,6 +43,10 @@ __all__ = [
|
|
43
43
|
'BranchPolicyWorkItemLinkingSettingsArgsDict',
|
44
44
|
'BranchPolicyWorkItemLinkingSettingsScopeArgs',
|
45
45
|
'BranchPolicyWorkItemLinkingSettingsScopeArgsDict',
|
46
|
+
'BuildDefinitionBuildCompletionTriggerArgs',
|
47
|
+
'BuildDefinitionBuildCompletionTriggerArgsDict',
|
48
|
+
'BuildDefinitionBuildCompletionTriggerBranchFilterArgs',
|
49
|
+
'BuildDefinitionBuildCompletionTriggerBranchFilterArgsDict',
|
46
50
|
'BuildDefinitionCiTriggerArgs',
|
47
51
|
'BuildDefinitionCiTriggerArgsDict',
|
48
52
|
'BuildDefinitionCiTriggerOverrideArgs',
|
@@ -133,6 +137,10 @@ __all__ = [
|
|
133
137
|
'ServiceendpointMavenAuthenticationBasicArgsDict',
|
134
138
|
'ServiceendpointMavenAuthenticationTokenArgs',
|
135
139
|
'ServiceendpointMavenAuthenticationTokenArgsDict',
|
140
|
+
'ServiceendpointVisualstudiomarketplaceAuthenticationBasicArgs',
|
141
|
+
'ServiceendpointVisualstudiomarketplaceAuthenticationBasicArgsDict',
|
142
|
+
'ServiceendpointVisualstudiomarketplaceAuthenticationTokenArgs',
|
143
|
+
'ServiceendpointVisualstudiomarketplaceAuthenticationTokenArgsDict',
|
136
144
|
'ServicehookStorageQueuePipelinesRunStateChangedEventArgs',
|
137
145
|
'ServicehookStorageQueuePipelinesRunStateChangedEventArgsDict',
|
138
146
|
'ServicehookStorageQueuePipelinesStageStateChangedEventArgs',
|
@@ -1480,6 +1488,108 @@ class BranchPolicyWorkItemLinkingSettingsScopeArgs:
|
|
1480
1488
|
pulumi.set(self, "repository_ref", value)
|
1481
1489
|
|
1482
1490
|
|
1491
|
+
if not MYPY:
|
1492
|
+
class BuildDefinitionBuildCompletionTriggerArgsDict(TypedDict):
|
1493
|
+
branch_filters: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerBranchFilterArgsDict']]]
|
1494
|
+
"""
|
1495
|
+
The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1496
|
+
"""
|
1497
|
+
build_definition_id: pulumi.Input[int]
|
1498
|
+
"""
|
1499
|
+
The ID of the build pipeline will be triggered.
|
1500
|
+
"""
|
1501
|
+
elif False:
|
1502
|
+
BuildDefinitionBuildCompletionTriggerArgsDict: TypeAlias = Mapping[str, Any]
|
1503
|
+
|
1504
|
+
@pulumi.input_type
|
1505
|
+
class BuildDefinitionBuildCompletionTriggerArgs:
|
1506
|
+
def __init__(__self__, *,
|
1507
|
+
branch_filters: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerBranchFilterArgs']]],
|
1508
|
+
build_definition_id: pulumi.Input[int]):
|
1509
|
+
"""
|
1510
|
+
:param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerBranchFilterArgs']]] branch_filters: The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1511
|
+
:param pulumi.Input[int] build_definition_id: The ID of the build pipeline will be triggered.
|
1512
|
+
"""
|
1513
|
+
pulumi.set(__self__, "branch_filters", branch_filters)
|
1514
|
+
pulumi.set(__self__, "build_definition_id", build_definition_id)
|
1515
|
+
|
1516
|
+
@property
|
1517
|
+
@pulumi.getter(name="branchFilters")
|
1518
|
+
def branch_filters(self) -> pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerBranchFilterArgs']]]:
|
1519
|
+
"""
|
1520
|
+
The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1521
|
+
"""
|
1522
|
+
return pulumi.get(self, "branch_filters")
|
1523
|
+
|
1524
|
+
@branch_filters.setter
|
1525
|
+
def branch_filters(self, value: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerBranchFilterArgs']]]):
|
1526
|
+
pulumi.set(self, "branch_filters", value)
|
1527
|
+
|
1528
|
+
@property
|
1529
|
+
@pulumi.getter(name="buildDefinitionId")
|
1530
|
+
def build_definition_id(self) -> pulumi.Input[int]:
|
1531
|
+
"""
|
1532
|
+
The ID of the build pipeline will be triggered.
|
1533
|
+
"""
|
1534
|
+
return pulumi.get(self, "build_definition_id")
|
1535
|
+
|
1536
|
+
@build_definition_id.setter
|
1537
|
+
def build_definition_id(self, value: pulumi.Input[int]):
|
1538
|
+
pulumi.set(self, "build_definition_id", value)
|
1539
|
+
|
1540
|
+
|
1541
|
+
if not MYPY:
|
1542
|
+
class BuildDefinitionBuildCompletionTriggerBranchFilterArgsDict(TypedDict):
|
1543
|
+
excludes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
1544
|
+
"""
|
1545
|
+
List of branch patterns to exclude.
|
1546
|
+
"""
|
1547
|
+
includes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
1548
|
+
"""
|
1549
|
+
List of branch patterns to include.
|
1550
|
+
"""
|
1551
|
+
elif False:
|
1552
|
+
BuildDefinitionBuildCompletionTriggerBranchFilterArgsDict: TypeAlias = Mapping[str, Any]
|
1553
|
+
|
1554
|
+
@pulumi.input_type
|
1555
|
+
class BuildDefinitionBuildCompletionTriggerBranchFilterArgs:
|
1556
|
+
def __init__(__self__, *,
|
1557
|
+
excludes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1558
|
+
includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
1559
|
+
"""
|
1560
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] excludes: List of branch patterns to exclude.
|
1561
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] includes: List of branch patterns to include.
|
1562
|
+
"""
|
1563
|
+
if excludes is not None:
|
1564
|
+
pulumi.set(__self__, "excludes", excludes)
|
1565
|
+
if includes is not None:
|
1566
|
+
pulumi.set(__self__, "includes", includes)
|
1567
|
+
|
1568
|
+
@property
|
1569
|
+
@pulumi.getter
|
1570
|
+
def excludes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
1571
|
+
"""
|
1572
|
+
List of branch patterns to exclude.
|
1573
|
+
"""
|
1574
|
+
return pulumi.get(self, "excludes")
|
1575
|
+
|
1576
|
+
@excludes.setter
|
1577
|
+
def excludes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
1578
|
+
pulumi.set(self, "excludes", value)
|
1579
|
+
|
1580
|
+
@property
|
1581
|
+
@pulumi.getter
|
1582
|
+
def includes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
1583
|
+
"""
|
1584
|
+
List of branch patterns to include.
|
1585
|
+
"""
|
1586
|
+
return pulumi.get(self, "includes")
|
1587
|
+
|
1588
|
+
@includes.setter
|
1589
|
+
def includes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
1590
|
+
pulumi.set(self, "includes", value)
|
1591
|
+
|
1592
|
+
|
1483
1593
|
if not MYPY:
|
1484
1594
|
class BuildDefinitionCiTriggerArgsDict(TypedDict):
|
1485
1595
|
override: NotRequired[pulumi.Input['BuildDefinitionCiTriggerOverrideArgsDict']]
|
@@ -1534,13 +1644,13 @@ class BuildDefinitionCiTriggerArgs:
|
|
1534
1644
|
|
1535
1645
|
if not MYPY:
|
1536
1646
|
class BuildDefinitionCiTriggerOverrideArgsDict(TypedDict):
|
1537
|
-
|
1647
|
+
branch_filters: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverrideBranchFilterArgsDict']]]
|
1538
1648
|
"""
|
1539
|
-
|
1649
|
+
The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1540
1650
|
"""
|
1541
|
-
|
1651
|
+
batch: NotRequired[pulumi.Input[bool]]
|
1542
1652
|
"""
|
1543
|
-
|
1653
|
+
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`.
|
1544
1654
|
"""
|
1545
1655
|
max_concurrent_builds_per_branch: NotRequired[pulumi.Input[int]]
|
1546
1656
|
"""
|
@@ -1564,24 +1674,23 @@ elif False:
|
|
1564
1674
|
@pulumi.input_type
|
1565
1675
|
class BuildDefinitionCiTriggerOverrideArgs:
|
1566
1676
|
def __init__(__self__, *,
|
1677
|
+
branch_filters: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverrideBranchFilterArgs']]],
|
1567
1678
|
batch: Optional[pulumi.Input[bool]] = None,
|
1568
|
-
branch_filters: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverrideBranchFilterArgs']]]] = None,
|
1569
1679
|
max_concurrent_builds_per_branch: Optional[pulumi.Input[int]] = None,
|
1570
1680
|
path_filters: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverridePathFilterArgs']]]] = None,
|
1571
1681
|
polling_interval: Optional[pulumi.Input[int]] = None,
|
1572
1682
|
polling_job_id: Optional[pulumi.Input[str]] = None):
|
1573
1683
|
"""
|
1684
|
+
:param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverrideBranchFilterArgs']]] branch_filters: The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1574
1685
|
:param pulumi.Input[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`.
|
1575
|
-
:param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverrideBranchFilterArgs']]] branch_filters: The branches to include and exclude from the trigger.
|
1576
1686
|
:param pulumi.Input[int] max_concurrent_builds_per_branch: The number of max builds per branch. Defaults to `1`.
|
1577
1687
|
:param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverridePathFilterArgs']]] path_filters: Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
|
1578
1688
|
:param pulumi.Input[int] polling_interval: How often the external repository is polled. Defaults to `0`.
|
1579
1689
|
:param pulumi.Input[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.
|
1580
1690
|
"""
|
1691
|
+
pulumi.set(__self__, "branch_filters", branch_filters)
|
1581
1692
|
if batch is not None:
|
1582
1693
|
pulumi.set(__self__, "batch", batch)
|
1583
|
-
if branch_filters is not None:
|
1584
|
-
pulumi.set(__self__, "branch_filters", branch_filters)
|
1585
1694
|
if max_concurrent_builds_per_branch is not None:
|
1586
1695
|
pulumi.set(__self__, "max_concurrent_builds_per_branch", max_concurrent_builds_per_branch)
|
1587
1696
|
if path_filters is not None:
|
@@ -1591,6 +1700,18 @@ class BuildDefinitionCiTriggerOverrideArgs:
|
|
1591
1700
|
if polling_job_id is not None:
|
1592
1701
|
pulumi.set(__self__, "polling_job_id", polling_job_id)
|
1593
1702
|
|
1703
|
+
@property
|
1704
|
+
@pulumi.getter(name="branchFilters")
|
1705
|
+
def branch_filters(self) -> pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverrideBranchFilterArgs']]]:
|
1706
|
+
"""
|
1707
|
+
The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1708
|
+
"""
|
1709
|
+
return pulumi.get(self, "branch_filters")
|
1710
|
+
|
1711
|
+
@branch_filters.setter
|
1712
|
+
def branch_filters(self, value: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverrideBranchFilterArgs']]]):
|
1713
|
+
pulumi.set(self, "branch_filters", value)
|
1714
|
+
|
1594
1715
|
@property
|
1595
1716
|
@pulumi.getter
|
1596
1717
|
def batch(self) -> Optional[pulumi.Input[bool]]:
|
@@ -1603,18 +1724,6 @@ class BuildDefinitionCiTriggerOverrideArgs:
|
|
1603
1724
|
def batch(self, value: Optional[pulumi.Input[bool]]):
|
1604
1725
|
pulumi.set(self, "batch", value)
|
1605
1726
|
|
1606
|
-
@property
|
1607
|
-
@pulumi.getter(name="branchFilters")
|
1608
|
-
def branch_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverrideBranchFilterArgs']]]]:
|
1609
|
-
"""
|
1610
|
-
The branches to include and exclude from the trigger.
|
1611
|
-
"""
|
1612
|
-
return pulumi.get(self, "branch_filters")
|
1613
|
-
|
1614
|
-
@branch_filters.setter
|
1615
|
-
def branch_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionCiTriggerOverrideBranchFilterArgs']]]]):
|
1616
|
-
pulumi.set(self, "branch_filters", value)
|
1617
|
-
|
1618
1727
|
@property
|
1619
1728
|
@pulumi.getter(name="maxConcurrentBuildsPerBranch")
|
1620
1729
|
def max_concurrent_builds_per_branch(self) -> Optional[pulumi.Input[int]]:
|
@@ -1955,13 +2064,13 @@ class BuildDefinitionPullRequestTriggerForksArgs:
|
|
1955
2064
|
|
1956
2065
|
if not MYPY:
|
1957
2066
|
class BuildDefinitionPullRequestTriggerOverrideArgsDict(TypedDict):
|
1958
|
-
|
2067
|
+
branch_filters: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgsDict']]]
|
1959
2068
|
"""
|
1960
|
-
|
2069
|
+
The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1961
2070
|
"""
|
1962
|
-
|
2071
|
+
auto_cancel: NotRequired[pulumi.Input[bool]]
|
1963
2072
|
"""
|
1964
|
-
|
2073
|
+
. Defaults to `true`.
|
1965
2074
|
"""
|
1966
2075
|
path_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverridePathFilterArgsDict']]]]
|
1967
2076
|
"""
|
@@ -1973,21 +2082,32 @@ elif False:
|
|
1973
2082
|
@pulumi.input_type
|
1974
2083
|
class BuildDefinitionPullRequestTriggerOverrideArgs:
|
1975
2084
|
def __init__(__self__, *,
|
2085
|
+
branch_filters: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs']]],
|
1976
2086
|
auto_cancel: Optional[pulumi.Input[bool]] = None,
|
1977
|
-
branch_filters: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs']]]] = None,
|
1978
2087
|
path_filters: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverridePathFilterArgs']]]] = None):
|
1979
2088
|
"""
|
2089
|
+
:param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs']]] branch_filters: The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
1980
2090
|
:param pulumi.Input[bool] auto_cancel: . Defaults to `true`.
|
1981
|
-
:param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs']]] branch_filters: The branches to include and exclude from the trigger.
|
1982
2091
|
:param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverridePathFilterArgs']]] path_filters: Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
|
1983
2092
|
"""
|
2093
|
+
pulumi.set(__self__, "branch_filters", branch_filters)
|
1984
2094
|
if auto_cancel is not None:
|
1985
2095
|
pulumi.set(__self__, "auto_cancel", auto_cancel)
|
1986
|
-
if branch_filters is not None:
|
1987
|
-
pulumi.set(__self__, "branch_filters", branch_filters)
|
1988
2096
|
if path_filters is not None:
|
1989
2097
|
pulumi.set(__self__, "path_filters", path_filters)
|
1990
2098
|
|
2099
|
+
@property
|
2100
|
+
@pulumi.getter(name="branchFilters")
|
2101
|
+
def branch_filters(self) -> pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs']]]:
|
2102
|
+
"""
|
2103
|
+
The branches to include and exclude from the trigger. A `branch_filter` block as documented below.
|
2104
|
+
"""
|
2105
|
+
return pulumi.get(self, "branch_filters")
|
2106
|
+
|
2107
|
+
@branch_filters.setter
|
2108
|
+
def branch_filters(self, value: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs']]]):
|
2109
|
+
pulumi.set(self, "branch_filters", value)
|
2110
|
+
|
1991
2111
|
@property
|
1992
2112
|
@pulumi.getter(name="autoCancel")
|
1993
2113
|
def auto_cancel(self) -> Optional[pulumi.Input[bool]]:
|
@@ -2000,18 +2120,6 @@ class BuildDefinitionPullRequestTriggerOverrideArgs:
|
|
2000
2120
|
def auto_cancel(self, value: Optional[pulumi.Input[bool]]):
|
2001
2121
|
pulumi.set(self, "auto_cancel", value)
|
2002
2122
|
|
2003
|
-
@property
|
2004
|
-
@pulumi.getter(name="branchFilters")
|
2005
|
-
def branch_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs']]]]:
|
2006
|
-
"""
|
2007
|
-
The branches to include and exclude from the trigger.
|
2008
|
-
"""
|
2009
|
-
return pulumi.get(self, "branch_filters")
|
2010
|
-
|
2011
|
-
@branch_filters.setter
|
2012
|
-
def branch_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs']]]]):
|
2013
|
-
pulumi.set(self, "branch_filters", value)
|
2014
|
-
|
2015
2123
|
@property
|
2016
2124
|
@pulumi.getter(name="pathFilters")
|
2017
2125
|
def path_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionPullRequestTriggerOverridePathFilterArgs']]]]:
|
@@ -2280,13 +2388,13 @@ class BuildDefinitionRepositoryArgs:
|
|
2280
2388
|
|
2281
2389
|
if not MYPY:
|
2282
2390
|
class BuildDefinitionScheduleArgsDict(TypedDict):
|
2283
|
-
|
2391
|
+
branch_filters: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionScheduleBranchFilterArgsDict']]]
|
2284
2392
|
"""
|
2285
|
-
|
2393
|
+
block supports the following:
|
2286
2394
|
"""
|
2287
|
-
|
2395
|
+
days_to_builds: pulumi.Input[Sequence[pulumi.Input[str]]]
|
2288
2396
|
"""
|
2289
|
-
|
2397
|
+
When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.
|
2290
2398
|
"""
|
2291
2399
|
schedule_job_id: NotRequired[pulumi.Input[str]]
|
2292
2400
|
"""
|
@@ -2455,16 +2563,16 @@ elif False:
|
|
2455
2563
|
@pulumi.input_type
|
2456
2564
|
class BuildDefinitionScheduleArgs:
|
2457
2565
|
def __init__(__self__, *,
|
2566
|
+
branch_filters: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionScheduleBranchFilterArgs']]],
|
2458
2567
|
days_to_builds: pulumi.Input[Sequence[pulumi.Input[str]]],
|
2459
|
-
branch_filters: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionScheduleBranchFilterArgs']]]] = None,
|
2460
2568
|
schedule_job_id: Optional[pulumi.Input[str]] = None,
|
2461
2569
|
schedule_only_with_changes: Optional[pulumi.Input[bool]] = None,
|
2462
2570
|
start_hours: Optional[pulumi.Input[int]] = None,
|
2463
2571
|
start_minutes: Optional[pulumi.Input[int]] = None,
|
2464
2572
|
time_zone: Optional[pulumi.Input[str]] = None):
|
2465
2573
|
"""
|
2466
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] days_to_builds: When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.
|
2467
2574
|
:param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionScheduleBranchFilterArgs']]] branch_filters: block supports the following:
|
2575
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] days_to_builds: When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.
|
2468
2576
|
:param pulumi.Input[str] schedule_job_id: The ID of the schedule job
|
2469
2577
|
:param pulumi.Input[bool] schedule_only_with_changes: Schedule builds if the source or pipeline has changed. Defaults to `true`.
|
2470
2578
|
:param pulumi.Input[int] start_hours: Build start hour. Defaults to `0`. Valid values: `0 ~ 23`.
|
@@ -2612,9 +2720,8 @@ class BuildDefinitionScheduleArgs:
|
|
2612
2720
|
`(UTC+13:00) Samoa`,
|
2613
2721
|
`(UTC+14:00) Kiritimati Island`.
|
2614
2722
|
"""
|
2723
|
+
pulumi.set(__self__, "branch_filters", branch_filters)
|
2615
2724
|
pulumi.set(__self__, "days_to_builds", days_to_builds)
|
2616
|
-
if branch_filters is not None:
|
2617
|
-
pulumi.set(__self__, "branch_filters", branch_filters)
|
2618
2725
|
if schedule_job_id is not None:
|
2619
2726
|
pulumi.set(__self__, "schedule_job_id", schedule_job_id)
|
2620
2727
|
if schedule_only_with_changes is not None:
|
@@ -2626,6 +2733,18 @@ class BuildDefinitionScheduleArgs:
|
|
2626
2733
|
if time_zone is not None:
|
2627
2734
|
pulumi.set(__self__, "time_zone", time_zone)
|
2628
2735
|
|
2736
|
+
@property
|
2737
|
+
@pulumi.getter(name="branchFilters")
|
2738
|
+
def branch_filters(self) -> pulumi.Input[Sequence[pulumi.Input['BuildDefinitionScheduleBranchFilterArgs']]]:
|
2739
|
+
"""
|
2740
|
+
block supports the following:
|
2741
|
+
"""
|
2742
|
+
return pulumi.get(self, "branch_filters")
|
2743
|
+
|
2744
|
+
@branch_filters.setter
|
2745
|
+
def branch_filters(self, value: pulumi.Input[Sequence[pulumi.Input['BuildDefinitionScheduleBranchFilterArgs']]]):
|
2746
|
+
pulumi.set(self, "branch_filters", value)
|
2747
|
+
|
2629
2748
|
@property
|
2630
2749
|
@pulumi.getter(name="daysToBuilds")
|
2631
2750
|
def days_to_builds(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
@@ -2638,18 +2757,6 @@ class BuildDefinitionScheduleArgs:
|
|
2638
2757
|
def days_to_builds(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
2639
2758
|
pulumi.set(self, "days_to_builds", value)
|
2640
2759
|
|
2641
|
-
@property
|
2642
|
-
@pulumi.getter(name="branchFilters")
|
2643
|
-
def branch_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionScheduleBranchFilterArgs']]]]:
|
2644
|
-
"""
|
2645
|
-
block supports the following:
|
2646
|
-
"""
|
2647
|
-
return pulumi.get(self, "branch_filters")
|
2648
|
-
|
2649
|
-
@branch_filters.setter
|
2650
|
-
def branch_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionScheduleBranchFilterArgs']]]]):
|
2651
|
-
pulumi.set(self, "branch_filters", value)
|
2652
|
-
|
2653
2760
|
@property
|
2654
2761
|
@pulumi.getter(name="scheduleJobId")
|
2655
2762
|
def schedule_job_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -3162,9 +3269,16 @@ if not MYPY:
|
|
3162
3269
|
"""
|
3163
3270
|
The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`.
|
3164
3271
|
"""
|
3272
|
+
password: NotRequired[pulumi.Input[str]]
|
3273
|
+
"""
|
3274
|
+
The password used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
3275
|
+
|
3276
|
+
~>**Note**
|
3277
|
+
At least `service_connection_id` or `username/password` needs to be set to import private repository.
|
3278
|
+
"""
|
3165
3279
|
service_connection_id: NotRequired[pulumi.Input[str]]
|
3166
3280
|
"""
|
3167
|
-
The
|
3281
|
+
The ID of service connection used to authenticate to a private repository for import initialization. Conflicts with `username` and `password`.
|
3168
3282
|
"""
|
3169
3283
|
source_type: NotRequired[pulumi.Input[str]]
|
3170
3284
|
"""
|
@@ -3174,6 +3288,10 @@ if not MYPY:
|
|
3174
3288
|
"""
|
3175
3289
|
The URL of the source repository. Used if the `init_type` is `Import`.
|
3176
3290
|
"""
|
3291
|
+
username: NotRequired[pulumi.Input[str]]
|
3292
|
+
"""
|
3293
|
+
The username used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
3294
|
+
"""
|
3177
3295
|
elif False:
|
3178
3296
|
GitInitializationArgsDict: TypeAlias = Mapping[str, Any]
|
3179
3297
|
|
@@ -3181,22 +3299,33 @@ elif False:
|
|
3181
3299
|
class GitInitializationArgs:
|
3182
3300
|
def __init__(__self__, *,
|
3183
3301
|
init_type: pulumi.Input[str],
|
3302
|
+
password: Optional[pulumi.Input[str]] = None,
|
3184
3303
|
service_connection_id: Optional[pulumi.Input[str]] = None,
|
3185
3304
|
source_type: Optional[pulumi.Input[str]] = None,
|
3186
|
-
source_url: Optional[pulumi.Input[str]] = None
|
3305
|
+
source_url: Optional[pulumi.Input[str]] = None,
|
3306
|
+
username: Optional[pulumi.Input[str]] = None):
|
3187
3307
|
"""
|
3188
3308
|
:param pulumi.Input[str] init_type: The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`.
|
3189
|
-
:param pulumi.Input[str]
|
3309
|
+
:param pulumi.Input[str] password: The password used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
3310
|
+
|
3311
|
+
~>**Note**
|
3312
|
+
At least `service_connection_id` or `username/password` needs to be set to import private repository.
|
3313
|
+
:param pulumi.Input[str] service_connection_id: The ID of service connection used to authenticate to a private repository for import initialization. Conflicts with `username` and `password`.
|
3190
3314
|
:param pulumi.Input[str] source_type: Type of the source repository. Used if the `init_type` is `Import`. Valid values: `Git`.
|
3191
3315
|
:param pulumi.Input[str] source_url: The URL of the source repository. Used if the `init_type` is `Import`.
|
3316
|
+
:param pulumi.Input[str] username: The username used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
3192
3317
|
"""
|
3193
3318
|
pulumi.set(__self__, "init_type", init_type)
|
3319
|
+
if password is not None:
|
3320
|
+
pulumi.set(__self__, "password", password)
|
3194
3321
|
if service_connection_id is not None:
|
3195
3322
|
pulumi.set(__self__, "service_connection_id", service_connection_id)
|
3196
3323
|
if source_type is not None:
|
3197
3324
|
pulumi.set(__self__, "source_type", source_type)
|
3198
3325
|
if source_url is not None:
|
3199
3326
|
pulumi.set(__self__, "source_url", source_url)
|
3327
|
+
if username is not None:
|
3328
|
+
pulumi.set(__self__, "username", username)
|
3200
3329
|
|
3201
3330
|
@property
|
3202
3331
|
@pulumi.getter(name="initType")
|
@@ -3210,11 +3339,26 @@ class GitInitializationArgs:
|
|
3210
3339
|
def init_type(self, value: pulumi.Input[str]):
|
3211
3340
|
pulumi.set(self, "init_type", value)
|
3212
3341
|
|
3342
|
+
@property
|
3343
|
+
@pulumi.getter
|
3344
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
3345
|
+
"""
|
3346
|
+
The password used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
3347
|
+
|
3348
|
+
~>**Note**
|
3349
|
+
At least `service_connection_id` or `username/password` needs to be set to import private repository.
|
3350
|
+
"""
|
3351
|
+
return pulumi.get(self, "password")
|
3352
|
+
|
3353
|
+
@password.setter
|
3354
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
3355
|
+
pulumi.set(self, "password", value)
|
3356
|
+
|
3213
3357
|
@property
|
3214
3358
|
@pulumi.getter(name="serviceConnectionId")
|
3215
3359
|
def service_connection_id(self) -> Optional[pulumi.Input[str]]:
|
3216
3360
|
"""
|
3217
|
-
The
|
3361
|
+
The ID of service connection used to authenticate to a private repository for import initialization. Conflicts with `username` and `password`.
|
3218
3362
|
"""
|
3219
3363
|
return pulumi.get(self, "service_connection_id")
|
3220
3364
|
|
@@ -3246,6 +3390,18 @@ class GitInitializationArgs:
|
|
3246
3390
|
def source_url(self, value: Optional[pulumi.Input[str]]):
|
3247
3391
|
pulumi.set(self, "source_url", value)
|
3248
3392
|
|
3393
|
+
@property
|
3394
|
+
@pulumi.getter
|
3395
|
+
def username(self) -> Optional[pulumi.Input[str]]:
|
3396
|
+
"""
|
3397
|
+
The username used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
3398
|
+
"""
|
3399
|
+
return pulumi.get(self, "username")
|
3400
|
+
|
3401
|
+
@username.setter
|
3402
|
+
def username(self, value: Optional[pulumi.Input[str]]):
|
3403
|
+
pulumi.set(self, "username", value)
|
3404
|
+
|
3249
3405
|
|
3250
3406
|
if not MYPY:
|
3251
3407
|
class ServiceEndpointArtifactoryAuthenticationBasicArgsDict(TypedDict):
|
@@ -3363,7 +3519,11 @@ if not MYPY:
|
|
3363
3519
|
class ServiceEndpointAzureRMCredentialsArgsDict(TypedDict):
|
3364
3520
|
serviceprincipalid: pulumi.Input[str]
|
3365
3521
|
"""
|
3366
|
-
The service principal application
|
3522
|
+
The service principal application ID
|
3523
|
+
"""
|
3524
|
+
serviceprincipalcertificate: NotRequired[pulumi.Input[str]]
|
3525
|
+
"""
|
3526
|
+
The service principal certificate. This not required if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`.
|
3367
3527
|
"""
|
3368
3528
|
serviceprincipalkey: NotRequired[pulumi.Input[str]]
|
3369
3529
|
"""
|
@@ -3376,12 +3536,16 @@ elif False:
|
|
3376
3536
|
class ServiceEndpointAzureRMCredentialsArgs:
|
3377
3537
|
def __init__(__self__, *,
|
3378
3538
|
serviceprincipalid: pulumi.Input[str],
|
3539
|
+
serviceprincipalcertificate: Optional[pulumi.Input[str]] = None,
|
3379
3540
|
serviceprincipalkey: Optional[pulumi.Input[str]] = None):
|
3380
3541
|
"""
|
3381
|
-
:param pulumi.Input[str] serviceprincipalid: The service principal application
|
3542
|
+
:param pulumi.Input[str] serviceprincipalid: The service principal application ID
|
3543
|
+
:param pulumi.Input[str] serviceprincipalcertificate: The service principal certificate. This not required if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`.
|
3382
3544
|
:param pulumi.Input[str] serviceprincipalkey: The service principal secret. This not required if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`.
|
3383
3545
|
"""
|
3384
3546
|
pulumi.set(__self__, "serviceprincipalid", serviceprincipalid)
|
3547
|
+
if serviceprincipalcertificate is not None:
|
3548
|
+
pulumi.set(__self__, "serviceprincipalcertificate", serviceprincipalcertificate)
|
3385
3549
|
if serviceprincipalkey is not None:
|
3386
3550
|
pulumi.set(__self__, "serviceprincipalkey", serviceprincipalkey)
|
3387
3551
|
|
@@ -3389,7 +3553,7 @@ class ServiceEndpointAzureRMCredentialsArgs:
|
|
3389
3553
|
@pulumi.getter
|
3390
3554
|
def serviceprincipalid(self) -> pulumi.Input[str]:
|
3391
3555
|
"""
|
3392
|
-
The service principal application
|
3556
|
+
The service principal application ID
|
3393
3557
|
"""
|
3394
3558
|
return pulumi.get(self, "serviceprincipalid")
|
3395
3559
|
|
@@ -3397,6 +3561,18 @@ class ServiceEndpointAzureRMCredentialsArgs:
|
|
3397
3561
|
def serviceprincipalid(self, value: pulumi.Input[str]):
|
3398
3562
|
pulumi.set(self, "serviceprincipalid", value)
|
3399
3563
|
|
3564
|
+
@property
|
3565
|
+
@pulumi.getter
|
3566
|
+
def serviceprincipalcertificate(self) -> Optional[pulumi.Input[str]]:
|
3567
|
+
"""
|
3568
|
+
The service principal certificate. This not required if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`.
|
3569
|
+
"""
|
3570
|
+
return pulumi.get(self, "serviceprincipalcertificate")
|
3571
|
+
|
3572
|
+
@serviceprincipalcertificate.setter
|
3573
|
+
def serviceprincipalcertificate(self, value: Optional[pulumi.Input[str]]):
|
3574
|
+
pulumi.set(self, "serviceprincipalcertificate", value)
|
3575
|
+
|
3400
3576
|
@property
|
3401
3577
|
@pulumi.getter
|
3402
3578
|
def serviceprincipalkey(self) -> Optional[pulumi.Input[str]]:
|
@@ -3774,6 +3950,10 @@ if not MYPY:
|
|
3774
3950
|
"""
|
3775
3951
|
The token from a Kubernetes secret object.
|
3776
3952
|
"""
|
3953
|
+
accept_untrusted_certs: NotRequired[pulumi.Input[bool]]
|
3954
|
+
"""
|
3955
|
+
Set this option to allow clients to accept a self-signed certificate. Defaults to `false`.
|
3956
|
+
"""
|
3777
3957
|
elif False:
|
3778
3958
|
ServiceEndpointKubernetesServiceAccountArgsDict: TypeAlias = Mapping[str, Any]
|
3779
3959
|
|
@@ -3781,13 +3961,17 @@ elif False:
|
|
3781
3961
|
class ServiceEndpointKubernetesServiceAccountArgs:
|
3782
3962
|
def __init__(__self__, *,
|
3783
3963
|
ca_cert: pulumi.Input[str],
|
3784
|
-
token: pulumi.Input[str]
|
3964
|
+
token: pulumi.Input[str],
|
3965
|
+
accept_untrusted_certs: Optional[pulumi.Input[bool]] = None):
|
3785
3966
|
"""
|
3786
3967
|
:param pulumi.Input[str] ca_cert: The certificate from a Kubernetes secret object.
|
3787
3968
|
:param pulumi.Input[str] token: The token from a Kubernetes secret object.
|
3969
|
+
:param pulumi.Input[bool] accept_untrusted_certs: Set this option to allow clients to accept a self-signed certificate. Defaults to `false`.
|
3788
3970
|
"""
|
3789
3971
|
pulumi.set(__self__, "ca_cert", ca_cert)
|
3790
3972
|
pulumi.set(__self__, "token", token)
|
3973
|
+
if accept_untrusted_certs is not None:
|
3974
|
+
pulumi.set(__self__, "accept_untrusted_certs", accept_untrusted_certs)
|
3791
3975
|
|
3792
3976
|
@property
|
3793
3977
|
@pulumi.getter(name="caCert")
|
@@ -3813,6 +3997,18 @@ class ServiceEndpointKubernetesServiceAccountArgs:
|
|
3813
3997
|
def token(self, value: pulumi.Input[str]):
|
3814
3998
|
pulumi.set(self, "token", value)
|
3815
3999
|
|
4000
|
+
@property
|
4001
|
+
@pulumi.getter(name="acceptUntrustedCerts")
|
4002
|
+
def accept_untrusted_certs(self) -> Optional[pulumi.Input[bool]]:
|
4003
|
+
"""
|
4004
|
+
Set this option to allow clients to accept a self-signed certificate. Defaults to `false`.
|
4005
|
+
"""
|
4006
|
+
return pulumi.get(self, "accept_untrusted_certs")
|
4007
|
+
|
4008
|
+
@accept_untrusted_certs.setter
|
4009
|
+
def accept_untrusted_certs(self, value: Optional[pulumi.Input[bool]]):
|
4010
|
+
pulumi.set(self, "accept_untrusted_certs", value)
|
4011
|
+
|
3816
4012
|
|
3817
4013
|
if not MYPY:
|
3818
4014
|
class ServiceEndpointPipelineAuthPersonalArgsDict(TypedDict):
|
@@ -4633,6 +4829,87 @@ class ServiceendpointMavenAuthenticationTokenArgs:
|
|
4633
4829
|
pulumi.set(self, "token", value)
|
4634
4830
|
|
4635
4831
|
|
4832
|
+
if not MYPY:
|
4833
|
+
class ServiceendpointVisualstudiomarketplaceAuthenticationBasicArgsDict(TypedDict):
|
4834
|
+
password: pulumi.Input[str]
|
4835
|
+
"""
|
4836
|
+
The password of the marketplace.
|
4837
|
+
"""
|
4838
|
+
username: pulumi.Input[str]
|
4839
|
+
"""
|
4840
|
+
The username of the marketplace.
|
4841
|
+
"""
|
4842
|
+
elif False:
|
4843
|
+
ServiceendpointVisualstudiomarketplaceAuthenticationBasicArgsDict: TypeAlias = Mapping[str, Any]
|
4844
|
+
|
4845
|
+
@pulumi.input_type
|
4846
|
+
class ServiceendpointVisualstudiomarketplaceAuthenticationBasicArgs:
|
4847
|
+
def __init__(__self__, *,
|
4848
|
+
password: pulumi.Input[str],
|
4849
|
+
username: pulumi.Input[str]):
|
4850
|
+
"""
|
4851
|
+
:param pulumi.Input[str] password: The password of the marketplace.
|
4852
|
+
:param pulumi.Input[str] username: The username of the marketplace.
|
4853
|
+
"""
|
4854
|
+
pulumi.set(__self__, "password", password)
|
4855
|
+
pulumi.set(__self__, "username", username)
|
4856
|
+
|
4857
|
+
@property
|
4858
|
+
@pulumi.getter
|
4859
|
+
def password(self) -> pulumi.Input[str]:
|
4860
|
+
"""
|
4861
|
+
The password of the marketplace.
|
4862
|
+
"""
|
4863
|
+
return pulumi.get(self, "password")
|
4864
|
+
|
4865
|
+
@password.setter
|
4866
|
+
def password(self, value: pulumi.Input[str]):
|
4867
|
+
pulumi.set(self, "password", value)
|
4868
|
+
|
4869
|
+
@property
|
4870
|
+
@pulumi.getter
|
4871
|
+
def username(self) -> pulumi.Input[str]:
|
4872
|
+
"""
|
4873
|
+
The username of the marketplace.
|
4874
|
+
"""
|
4875
|
+
return pulumi.get(self, "username")
|
4876
|
+
|
4877
|
+
@username.setter
|
4878
|
+
def username(self, value: pulumi.Input[str]):
|
4879
|
+
pulumi.set(self, "username", value)
|
4880
|
+
|
4881
|
+
|
4882
|
+
if not MYPY:
|
4883
|
+
class ServiceendpointVisualstudiomarketplaceAuthenticationTokenArgsDict(TypedDict):
|
4884
|
+
token: pulumi.Input[str]
|
4885
|
+
"""
|
4886
|
+
The Personal Access Token.
|
4887
|
+
"""
|
4888
|
+
elif False:
|
4889
|
+
ServiceendpointVisualstudiomarketplaceAuthenticationTokenArgsDict: TypeAlias = Mapping[str, Any]
|
4890
|
+
|
4891
|
+
@pulumi.input_type
|
4892
|
+
class ServiceendpointVisualstudiomarketplaceAuthenticationTokenArgs:
|
4893
|
+
def __init__(__self__, *,
|
4894
|
+
token: pulumi.Input[str]):
|
4895
|
+
"""
|
4896
|
+
:param pulumi.Input[str] token: The Personal Access Token.
|
4897
|
+
"""
|
4898
|
+
pulumi.set(__self__, "token", token)
|
4899
|
+
|
4900
|
+
@property
|
4901
|
+
@pulumi.getter
|
4902
|
+
def token(self) -> pulumi.Input[str]:
|
4903
|
+
"""
|
4904
|
+
The Personal Access Token.
|
4905
|
+
"""
|
4906
|
+
return pulumi.get(self, "token")
|
4907
|
+
|
4908
|
+
@token.setter
|
4909
|
+
def token(self, value: pulumi.Input[str]):
|
4910
|
+
pulumi.set(self, "token", value)
|
4911
|
+
|
4912
|
+
|
4636
4913
|
if not MYPY:
|
4637
4914
|
class ServicehookStorageQueuePipelinesRunStateChangedEventArgsDict(TypedDict):
|
4638
4915
|
pipeline_id: NotRequired[pulumi.Input[str]]
|