pulumi-azuredevops 3.8.0a1741843418__py3-none-any.whl → 3.9.0a1742275439__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_azuredevops/__init__.py +1 -0
- pulumi_azuredevops/_inputs.py +435 -26
- pulumi_azuredevops/build_definition.py +335 -0
- pulumi_azuredevops/get_build_definition.py +43 -1
- pulumi_azuredevops/get_client_config.py +61 -5
- pulumi_azuredevops/get_group_membership.py +131 -0
- pulumi_azuredevops/get_teams.py +2 -2
- pulumi_azuredevops/get_users.py +4 -0
- pulumi_azuredevops/outputs.py +546 -18
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/service_endpoint_azure_ecr.py +12 -12
- pulumi_azuredevops/service_endpoint_azure_rm.py +8 -0
- {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0a1742275439.dist-info}/METADATA +1 -1
- {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0a1742275439.dist-info}/RECORD +16 -15
- {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0a1742275439.dist-info}/WHEEL +1 -1
- {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0a1742275439.dist-info}/top_level.txt +0 -0
pulumi_azuredevops/__init__.py
CHANGED
@@ -39,6 +39,7 @@ from .get_environment import *
|
|
39
39
|
from .get_feed import *
|
40
40
|
from .get_git_repository import *
|
41
41
|
from .get_group import *
|
42
|
+
from .get_group_membership import *
|
42
43
|
from .get_groups import *
|
43
44
|
from .get_identity_group import *
|
44
45
|
from .get_identity_groups import *
|
pulumi_azuredevops/_inputs.py
CHANGED
@@ -57,6 +57,14 @@ __all__ = [
|
|
57
57
|
'BuildDefinitionCiTriggerOverridePathFilterArgsDict',
|
58
58
|
'BuildDefinitionFeatureArgs',
|
59
59
|
'BuildDefinitionFeatureArgsDict',
|
60
|
+
'BuildDefinitionJobArgs',
|
61
|
+
'BuildDefinitionJobArgsDict',
|
62
|
+
'BuildDefinitionJobDependencyArgs',
|
63
|
+
'BuildDefinitionJobDependencyArgsDict',
|
64
|
+
'BuildDefinitionJobTargetArgs',
|
65
|
+
'BuildDefinitionJobTargetArgsDict',
|
66
|
+
'BuildDefinitionJobTargetExecutionOptionsArgs',
|
67
|
+
'BuildDefinitionJobTargetExecutionOptionsArgsDict',
|
60
68
|
'BuildDefinitionPullRequestTriggerArgs',
|
61
69
|
'BuildDefinitionPullRequestTriggerArgsDict',
|
62
70
|
'BuildDefinitionPullRequestTriggerForksArgs',
|
@@ -1921,6 +1929,386 @@ class BuildDefinitionFeatureArgs:
|
|
1921
1929
|
pulumi.set(self, "skip_first_run", value)
|
1922
1930
|
|
1923
1931
|
|
1932
|
+
if not MYPY:
|
1933
|
+
class BuildDefinitionJobArgsDict(TypedDict):
|
1934
|
+
condition: pulumi.Input[str]
|
1935
|
+
"""
|
1936
|
+
Specifies when this job should run. Can **Custom conditions** to specify more complex conditions. Possible values: `succeeded()`, `succeededOrFailed()`, `always()`, `failed()` etc. More details: [Pipeline conditions](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/conditions?view=azure-devops)
|
1937
|
+
"""
|
1938
|
+
name: pulumi.Input[str]
|
1939
|
+
"""
|
1940
|
+
The name of the job.
|
1941
|
+
"""
|
1942
|
+
ref_name: pulumi.Input[str]
|
1943
|
+
"""
|
1944
|
+
The reference name of the job, can be used to define the job dependencies.
|
1945
|
+
"""
|
1946
|
+
target: pulumi.Input['BuildDefinitionJobTargetArgsDict']
|
1947
|
+
"""
|
1948
|
+
A `target` blocks as documented below.
|
1949
|
+
"""
|
1950
|
+
allow_scripts_auth_access_option: NotRequired[pulumi.Input[bool]]
|
1951
|
+
"""
|
1952
|
+
Enables scripts and other processes launched by tasks to access the OAuth token through the `System.AccessToken` variable. Possible values: `true`, `false`. Defaults to `false`. Available when Job type is `AgentJob`
|
1953
|
+
"""
|
1954
|
+
dependencies: NotRequired[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionJobDependencyArgsDict']]]]
|
1955
|
+
"""
|
1956
|
+
A `dependencies` blocks as documented below. Define the job dependencies.
|
1957
|
+
"""
|
1958
|
+
job_authorization_scope: NotRequired[pulumi.Input[str]]
|
1959
|
+
"""
|
1960
|
+
The job authorization scope for builds queued against this definition. Possible values are: `project`, `projectCollection`. Defaults to `projectCollection`.
|
1961
|
+
"""
|
1962
|
+
job_cancel_timeout_in_minutes: NotRequired[pulumi.Input[int]]
|
1963
|
+
"""
|
1964
|
+
The job cancel timeout (in minutes) for builds cancelled by user for this definition. Possible values are between `0` and `60`. Defaults to `0`.
|
1965
|
+
"""
|
1966
|
+
job_timeout_in_minutes: NotRequired[pulumi.Input[int]]
|
1967
|
+
"""
|
1968
|
+
The job execution timeout (in minutes) for builds queued against this definition. Possible values are between `0` and `1000000000`. Defaults to `0`.
|
1969
|
+
"""
|
1970
|
+
elif False:
|
1971
|
+
BuildDefinitionJobArgsDict: TypeAlias = Mapping[str, Any]
|
1972
|
+
|
1973
|
+
@pulumi.input_type
|
1974
|
+
class BuildDefinitionJobArgs:
|
1975
|
+
def __init__(__self__, *,
|
1976
|
+
condition: pulumi.Input[str],
|
1977
|
+
name: pulumi.Input[str],
|
1978
|
+
ref_name: pulumi.Input[str],
|
1979
|
+
target: pulumi.Input['BuildDefinitionJobTargetArgs'],
|
1980
|
+
allow_scripts_auth_access_option: Optional[pulumi.Input[bool]] = None,
|
1981
|
+
dependencies: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionJobDependencyArgs']]]] = None,
|
1982
|
+
job_authorization_scope: Optional[pulumi.Input[str]] = None,
|
1983
|
+
job_cancel_timeout_in_minutes: Optional[pulumi.Input[int]] = None,
|
1984
|
+
job_timeout_in_minutes: Optional[pulumi.Input[int]] = None):
|
1985
|
+
"""
|
1986
|
+
:param pulumi.Input[str] condition: Specifies when this job should run. Can **Custom conditions** to specify more complex conditions. Possible values: `succeeded()`, `succeededOrFailed()`, `always()`, `failed()` etc. More details: [Pipeline conditions](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/conditions?view=azure-devops)
|
1987
|
+
:param pulumi.Input[str] name: The name of the job.
|
1988
|
+
:param pulumi.Input[str] ref_name: The reference name of the job, can be used to define the job dependencies.
|
1989
|
+
:param pulumi.Input['BuildDefinitionJobTargetArgs'] target: A `target` blocks as documented below.
|
1990
|
+
:param pulumi.Input[bool] allow_scripts_auth_access_option: Enables scripts and other processes launched by tasks to access the OAuth token through the `System.AccessToken` variable. Possible values: `true`, `false`. Defaults to `false`. Available when Job type is `AgentJob`
|
1991
|
+
:param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionJobDependencyArgs']]] dependencies: A `dependencies` blocks as documented below. Define the job dependencies.
|
1992
|
+
:param pulumi.Input[str] job_authorization_scope: The job authorization scope for builds queued against this definition. Possible values are: `project`, `projectCollection`. Defaults to `projectCollection`.
|
1993
|
+
:param pulumi.Input[int] job_cancel_timeout_in_minutes: The job cancel timeout (in minutes) for builds cancelled by user for this definition. Possible values are between `0` and `60`. Defaults to `0`.
|
1994
|
+
:param pulumi.Input[int] job_timeout_in_minutes: The job execution timeout (in minutes) for builds queued against this definition. Possible values are between `0` and `1000000000`. Defaults to `0`.
|
1995
|
+
"""
|
1996
|
+
pulumi.set(__self__, "condition", condition)
|
1997
|
+
pulumi.set(__self__, "name", name)
|
1998
|
+
pulumi.set(__self__, "ref_name", ref_name)
|
1999
|
+
pulumi.set(__self__, "target", target)
|
2000
|
+
if allow_scripts_auth_access_option is not None:
|
2001
|
+
pulumi.set(__self__, "allow_scripts_auth_access_option", allow_scripts_auth_access_option)
|
2002
|
+
if dependencies is not None:
|
2003
|
+
pulumi.set(__self__, "dependencies", dependencies)
|
2004
|
+
if job_authorization_scope is not None:
|
2005
|
+
pulumi.set(__self__, "job_authorization_scope", job_authorization_scope)
|
2006
|
+
if job_cancel_timeout_in_minutes is not None:
|
2007
|
+
pulumi.set(__self__, "job_cancel_timeout_in_minutes", job_cancel_timeout_in_minutes)
|
2008
|
+
if job_timeout_in_minutes is not None:
|
2009
|
+
pulumi.set(__self__, "job_timeout_in_minutes", job_timeout_in_minutes)
|
2010
|
+
|
2011
|
+
@property
|
2012
|
+
@pulumi.getter
|
2013
|
+
def condition(self) -> pulumi.Input[str]:
|
2014
|
+
"""
|
2015
|
+
Specifies when this job should run. Can **Custom conditions** to specify more complex conditions. Possible values: `succeeded()`, `succeededOrFailed()`, `always()`, `failed()` etc. More details: [Pipeline conditions](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/conditions?view=azure-devops)
|
2016
|
+
"""
|
2017
|
+
return pulumi.get(self, "condition")
|
2018
|
+
|
2019
|
+
@condition.setter
|
2020
|
+
def condition(self, value: pulumi.Input[str]):
|
2021
|
+
pulumi.set(self, "condition", value)
|
2022
|
+
|
2023
|
+
@property
|
2024
|
+
@pulumi.getter
|
2025
|
+
def name(self) -> pulumi.Input[str]:
|
2026
|
+
"""
|
2027
|
+
The name of the job.
|
2028
|
+
"""
|
2029
|
+
return pulumi.get(self, "name")
|
2030
|
+
|
2031
|
+
@name.setter
|
2032
|
+
def name(self, value: pulumi.Input[str]):
|
2033
|
+
pulumi.set(self, "name", value)
|
2034
|
+
|
2035
|
+
@property
|
2036
|
+
@pulumi.getter(name="refName")
|
2037
|
+
def ref_name(self) -> pulumi.Input[str]:
|
2038
|
+
"""
|
2039
|
+
The reference name of the job, can be used to define the job dependencies.
|
2040
|
+
"""
|
2041
|
+
return pulumi.get(self, "ref_name")
|
2042
|
+
|
2043
|
+
@ref_name.setter
|
2044
|
+
def ref_name(self, value: pulumi.Input[str]):
|
2045
|
+
pulumi.set(self, "ref_name", value)
|
2046
|
+
|
2047
|
+
@property
|
2048
|
+
@pulumi.getter
|
2049
|
+
def target(self) -> pulumi.Input['BuildDefinitionJobTargetArgs']:
|
2050
|
+
"""
|
2051
|
+
A `target` blocks as documented below.
|
2052
|
+
"""
|
2053
|
+
return pulumi.get(self, "target")
|
2054
|
+
|
2055
|
+
@target.setter
|
2056
|
+
def target(self, value: pulumi.Input['BuildDefinitionJobTargetArgs']):
|
2057
|
+
pulumi.set(self, "target", value)
|
2058
|
+
|
2059
|
+
@property
|
2060
|
+
@pulumi.getter(name="allowScriptsAuthAccessOption")
|
2061
|
+
def allow_scripts_auth_access_option(self) -> Optional[pulumi.Input[bool]]:
|
2062
|
+
"""
|
2063
|
+
Enables scripts and other processes launched by tasks to access the OAuth token through the `System.AccessToken` variable. Possible values: `true`, `false`. Defaults to `false`. Available when Job type is `AgentJob`
|
2064
|
+
"""
|
2065
|
+
return pulumi.get(self, "allow_scripts_auth_access_option")
|
2066
|
+
|
2067
|
+
@allow_scripts_auth_access_option.setter
|
2068
|
+
def allow_scripts_auth_access_option(self, value: Optional[pulumi.Input[bool]]):
|
2069
|
+
pulumi.set(self, "allow_scripts_auth_access_option", value)
|
2070
|
+
|
2071
|
+
@property
|
2072
|
+
@pulumi.getter
|
2073
|
+
def dependencies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionJobDependencyArgs']]]]:
|
2074
|
+
"""
|
2075
|
+
A `dependencies` blocks as documented below. Define the job dependencies.
|
2076
|
+
"""
|
2077
|
+
return pulumi.get(self, "dependencies")
|
2078
|
+
|
2079
|
+
@dependencies.setter
|
2080
|
+
def dependencies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionJobDependencyArgs']]]]):
|
2081
|
+
pulumi.set(self, "dependencies", value)
|
2082
|
+
|
2083
|
+
@property
|
2084
|
+
@pulumi.getter(name="jobAuthorizationScope")
|
2085
|
+
def job_authorization_scope(self) -> Optional[pulumi.Input[str]]:
|
2086
|
+
"""
|
2087
|
+
The job authorization scope for builds queued against this definition. Possible values are: `project`, `projectCollection`. Defaults to `projectCollection`.
|
2088
|
+
"""
|
2089
|
+
return pulumi.get(self, "job_authorization_scope")
|
2090
|
+
|
2091
|
+
@job_authorization_scope.setter
|
2092
|
+
def job_authorization_scope(self, value: Optional[pulumi.Input[str]]):
|
2093
|
+
pulumi.set(self, "job_authorization_scope", value)
|
2094
|
+
|
2095
|
+
@property
|
2096
|
+
@pulumi.getter(name="jobCancelTimeoutInMinutes")
|
2097
|
+
def job_cancel_timeout_in_minutes(self) -> Optional[pulumi.Input[int]]:
|
2098
|
+
"""
|
2099
|
+
The job cancel timeout (in minutes) for builds cancelled by user for this definition. Possible values are between `0` and `60`. Defaults to `0`.
|
2100
|
+
"""
|
2101
|
+
return pulumi.get(self, "job_cancel_timeout_in_minutes")
|
2102
|
+
|
2103
|
+
@job_cancel_timeout_in_minutes.setter
|
2104
|
+
def job_cancel_timeout_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
2105
|
+
pulumi.set(self, "job_cancel_timeout_in_minutes", value)
|
2106
|
+
|
2107
|
+
@property
|
2108
|
+
@pulumi.getter(name="jobTimeoutInMinutes")
|
2109
|
+
def job_timeout_in_minutes(self) -> Optional[pulumi.Input[int]]:
|
2110
|
+
"""
|
2111
|
+
The job execution timeout (in minutes) for builds queued against this definition. Possible values are between `0` and `1000000000`. Defaults to `0`.
|
2112
|
+
"""
|
2113
|
+
return pulumi.get(self, "job_timeout_in_minutes")
|
2114
|
+
|
2115
|
+
@job_timeout_in_minutes.setter
|
2116
|
+
def job_timeout_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
2117
|
+
pulumi.set(self, "job_timeout_in_minutes", value)
|
2118
|
+
|
2119
|
+
|
2120
|
+
if not MYPY:
|
2121
|
+
class BuildDefinitionJobDependencyArgsDict(TypedDict):
|
2122
|
+
scope: pulumi.Input[str]
|
2123
|
+
"""
|
2124
|
+
The job reference name that depends on. Reference to `jobs.ref_name`
|
2125
|
+
"""
|
2126
|
+
elif False:
|
2127
|
+
BuildDefinitionJobDependencyArgsDict: TypeAlias = Mapping[str, Any]
|
2128
|
+
|
2129
|
+
@pulumi.input_type
|
2130
|
+
class BuildDefinitionJobDependencyArgs:
|
2131
|
+
def __init__(__self__, *,
|
2132
|
+
scope: pulumi.Input[str]):
|
2133
|
+
"""
|
2134
|
+
:param pulumi.Input[str] scope: The job reference name that depends on. Reference to `jobs.ref_name`
|
2135
|
+
"""
|
2136
|
+
pulumi.set(__self__, "scope", scope)
|
2137
|
+
|
2138
|
+
@property
|
2139
|
+
@pulumi.getter
|
2140
|
+
def scope(self) -> pulumi.Input[str]:
|
2141
|
+
"""
|
2142
|
+
The job reference name that depends on. Reference to `jobs.ref_name`
|
2143
|
+
"""
|
2144
|
+
return pulumi.get(self, "scope")
|
2145
|
+
|
2146
|
+
@scope.setter
|
2147
|
+
def scope(self, value: pulumi.Input[str]):
|
2148
|
+
pulumi.set(self, "scope", value)
|
2149
|
+
|
2150
|
+
|
2151
|
+
if not MYPY:
|
2152
|
+
class BuildDefinitionJobTargetArgsDict(TypedDict):
|
2153
|
+
execution_options: pulumi.Input['BuildDefinitionJobTargetExecutionOptionsArgsDict']
|
2154
|
+
"""
|
2155
|
+
A `execution_options` blocks as documented below.
|
2156
|
+
"""
|
2157
|
+
type: pulumi.Input[str]
|
2158
|
+
"""
|
2159
|
+
The job type. Possible values: `AgentJob`, `AgentlessJob`
|
2160
|
+
"""
|
2161
|
+
demands: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
2162
|
+
"""
|
2163
|
+
A list of demands that represents the agent capabilities required by this build. Example: `git`
|
2164
|
+
"""
|
2165
|
+
elif False:
|
2166
|
+
BuildDefinitionJobTargetArgsDict: TypeAlias = Mapping[str, Any]
|
2167
|
+
|
2168
|
+
@pulumi.input_type
|
2169
|
+
class BuildDefinitionJobTargetArgs:
|
2170
|
+
def __init__(__self__, *,
|
2171
|
+
execution_options: pulumi.Input['BuildDefinitionJobTargetExecutionOptionsArgs'],
|
2172
|
+
type: pulumi.Input[str],
|
2173
|
+
demands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
2174
|
+
"""
|
2175
|
+
:param pulumi.Input['BuildDefinitionJobTargetExecutionOptionsArgs'] execution_options: A `execution_options` blocks as documented below.
|
2176
|
+
:param pulumi.Input[str] type: The job type. Possible values: `AgentJob`, `AgentlessJob`
|
2177
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] demands: A list of demands that represents the agent capabilities required by this build. Example: `git`
|
2178
|
+
"""
|
2179
|
+
pulumi.set(__self__, "execution_options", execution_options)
|
2180
|
+
pulumi.set(__self__, "type", type)
|
2181
|
+
if demands is not None:
|
2182
|
+
pulumi.set(__self__, "demands", demands)
|
2183
|
+
|
2184
|
+
@property
|
2185
|
+
@pulumi.getter(name="executionOptions")
|
2186
|
+
def execution_options(self) -> pulumi.Input['BuildDefinitionJobTargetExecutionOptionsArgs']:
|
2187
|
+
"""
|
2188
|
+
A `execution_options` blocks as documented below.
|
2189
|
+
"""
|
2190
|
+
return pulumi.get(self, "execution_options")
|
2191
|
+
|
2192
|
+
@execution_options.setter
|
2193
|
+
def execution_options(self, value: pulumi.Input['BuildDefinitionJobTargetExecutionOptionsArgs']):
|
2194
|
+
pulumi.set(self, "execution_options", value)
|
2195
|
+
|
2196
|
+
@property
|
2197
|
+
@pulumi.getter
|
2198
|
+
def type(self) -> pulumi.Input[str]:
|
2199
|
+
"""
|
2200
|
+
The job type. Possible values: `AgentJob`, `AgentlessJob`
|
2201
|
+
"""
|
2202
|
+
return pulumi.get(self, "type")
|
2203
|
+
|
2204
|
+
@type.setter
|
2205
|
+
def type(self, value: pulumi.Input[str]):
|
2206
|
+
pulumi.set(self, "type", value)
|
2207
|
+
|
2208
|
+
@property
|
2209
|
+
@pulumi.getter
|
2210
|
+
def demands(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
2211
|
+
"""
|
2212
|
+
A list of demands that represents the agent capabilities required by this build. Example: `git`
|
2213
|
+
"""
|
2214
|
+
return pulumi.get(self, "demands")
|
2215
|
+
|
2216
|
+
@demands.setter
|
2217
|
+
def demands(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
2218
|
+
pulumi.set(self, "demands", value)
|
2219
|
+
|
2220
|
+
|
2221
|
+
if not MYPY:
|
2222
|
+
class BuildDefinitionJobTargetExecutionOptionsArgsDict(TypedDict):
|
2223
|
+
type: pulumi.Input[str]
|
2224
|
+
"""
|
2225
|
+
The execution type of the Job. Possible values are: `None`, `Multi-Configuration`, `Multi-Agent`.
|
2226
|
+
"""
|
2227
|
+
continue_on_error: NotRequired[pulumi.Input[bool]]
|
2228
|
+
"""
|
2229
|
+
Whether to continue the job when an error occurs. Possible values are: `true`, `false`.
|
2230
|
+
"""
|
2231
|
+
max_concurrency: NotRequired[pulumi.Input[int]]
|
2232
|
+
"""
|
2233
|
+
Limit the number of agents to be used. If job type is `AgentlessJob`, the concurrency is not configurable and is fixed to 50.
|
2234
|
+
"""
|
2235
|
+
multipliers: NotRequired[pulumi.Input[str]]
|
2236
|
+
"""
|
2237
|
+
A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables. Available when `execution_options.type` is `Multi-Configuration`.
|
2238
|
+
"""
|
2239
|
+
elif False:
|
2240
|
+
BuildDefinitionJobTargetExecutionOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
2241
|
+
|
2242
|
+
@pulumi.input_type
|
2243
|
+
class BuildDefinitionJobTargetExecutionOptionsArgs:
|
2244
|
+
def __init__(__self__, *,
|
2245
|
+
type: pulumi.Input[str],
|
2246
|
+
continue_on_error: Optional[pulumi.Input[bool]] = None,
|
2247
|
+
max_concurrency: Optional[pulumi.Input[int]] = None,
|
2248
|
+
multipliers: Optional[pulumi.Input[str]] = None):
|
2249
|
+
"""
|
2250
|
+
:param pulumi.Input[str] type: The execution type of the Job. Possible values are: `None`, `Multi-Configuration`, `Multi-Agent`.
|
2251
|
+
:param pulumi.Input[bool] continue_on_error: Whether to continue the job when an error occurs. Possible values are: `true`, `false`.
|
2252
|
+
:param pulumi.Input[int] max_concurrency: Limit the number of agents to be used. If job type is `AgentlessJob`, the concurrency is not configurable and is fixed to 50.
|
2253
|
+
:param pulumi.Input[str] multipliers: A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables. Available when `execution_options.type` is `Multi-Configuration`.
|
2254
|
+
"""
|
2255
|
+
pulumi.set(__self__, "type", type)
|
2256
|
+
if continue_on_error is not None:
|
2257
|
+
pulumi.set(__self__, "continue_on_error", continue_on_error)
|
2258
|
+
if max_concurrency is not None:
|
2259
|
+
pulumi.set(__self__, "max_concurrency", max_concurrency)
|
2260
|
+
if multipliers is not None:
|
2261
|
+
pulumi.set(__self__, "multipliers", multipliers)
|
2262
|
+
|
2263
|
+
@property
|
2264
|
+
@pulumi.getter
|
2265
|
+
def type(self) -> pulumi.Input[str]:
|
2266
|
+
"""
|
2267
|
+
The execution type of the Job. Possible values are: `None`, `Multi-Configuration`, `Multi-Agent`.
|
2268
|
+
"""
|
2269
|
+
return pulumi.get(self, "type")
|
2270
|
+
|
2271
|
+
@type.setter
|
2272
|
+
def type(self, value: pulumi.Input[str]):
|
2273
|
+
pulumi.set(self, "type", value)
|
2274
|
+
|
2275
|
+
@property
|
2276
|
+
@pulumi.getter(name="continueOnError")
|
2277
|
+
def continue_on_error(self) -> Optional[pulumi.Input[bool]]:
|
2278
|
+
"""
|
2279
|
+
Whether to continue the job when an error occurs. Possible values are: `true`, `false`.
|
2280
|
+
"""
|
2281
|
+
return pulumi.get(self, "continue_on_error")
|
2282
|
+
|
2283
|
+
@continue_on_error.setter
|
2284
|
+
def continue_on_error(self, value: Optional[pulumi.Input[bool]]):
|
2285
|
+
pulumi.set(self, "continue_on_error", value)
|
2286
|
+
|
2287
|
+
@property
|
2288
|
+
@pulumi.getter(name="maxConcurrency")
|
2289
|
+
def max_concurrency(self) -> Optional[pulumi.Input[int]]:
|
2290
|
+
"""
|
2291
|
+
Limit the number of agents to be used. If job type is `AgentlessJob`, the concurrency is not configurable and is fixed to 50.
|
2292
|
+
"""
|
2293
|
+
return pulumi.get(self, "max_concurrency")
|
2294
|
+
|
2295
|
+
@max_concurrency.setter
|
2296
|
+
def max_concurrency(self, value: Optional[pulumi.Input[int]]):
|
2297
|
+
pulumi.set(self, "max_concurrency", value)
|
2298
|
+
|
2299
|
+
@property
|
2300
|
+
@pulumi.getter
|
2301
|
+
def multipliers(self) -> Optional[pulumi.Input[str]]:
|
2302
|
+
"""
|
2303
|
+
A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables. Available when `execution_options.type` is `Multi-Configuration`.
|
2304
|
+
"""
|
2305
|
+
return pulumi.get(self, "multipliers")
|
2306
|
+
|
2307
|
+
@multipliers.setter
|
2308
|
+
def multipliers(self, value: Optional[pulumi.Input[str]]):
|
2309
|
+
pulumi.set(self, "multipliers", value)
|
2310
|
+
|
2311
|
+
|
1924
2312
|
if not MYPY:
|
1925
2313
|
class BuildDefinitionPullRequestTriggerArgsDict(TypedDict):
|
1926
2314
|
forks: pulumi.Input['BuildDefinitionPullRequestTriggerForksArgsDict']
|
@@ -2251,11 +2639,7 @@ if not MYPY:
|
|
2251
2639
|
"""
|
2252
2640
|
repo_type: pulumi.Input[str]
|
2253
2641
|
"""
|
2254
|
-
The repository type. Possible values are: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise`. Defaults to `GitHub`. If `repo_type` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.
|
2255
|
-
"""
|
2256
|
-
yml_path: pulumi.Input[str]
|
2257
|
-
"""
|
2258
|
-
The path of the Yaml file describing the build definition.
|
2642
|
+
The repository type. Possible values are: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise` or `Git`. Defaults to `GitHub`. If `repo_type` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.
|
2259
2643
|
"""
|
2260
2644
|
branch_name: NotRequired[pulumi.Input[str]]
|
2261
2645
|
"""
|
@@ -2263,7 +2647,7 @@ if not MYPY:
|
|
2263
2647
|
"""
|
2264
2648
|
github_enterprise_url: NotRequired[pulumi.Input[str]]
|
2265
2649
|
"""
|
2266
|
-
The Github Enterprise URL. Used if `repo_type` is `GithubEnterprise`.
|
2650
|
+
The Github Enterprise URL. Used if `repo_type` is `GithubEnterprise`. Conflict with `url`
|
2267
2651
|
"""
|
2268
2652
|
report_build_status: NotRequired[pulumi.Input[bool]]
|
2269
2653
|
"""
|
@@ -2273,6 +2657,14 @@ if not MYPY:
|
|
2273
2657
|
"""
|
2274
2658
|
The service connection ID. Used if the `repo_type` is `GitHub` or `GitHubEnterprise`.
|
2275
2659
|
"""
|
2660
|
+
url: NotRequired[pulumi.Input[str]]
|
2661
|
+
"""
|
2662
|
+
The URL of the Git repository. Used if `repo_type` is `Git`. Conflict with `github_enterprise_url`
|
2663
|
+
"""
|
2664
|
+
yml_path: NotRequired[pulumi.Input[str]]
|
2665
|
+
"""
|
2666
|
+
The path of the Yaml file describing the build definition.
|
2667
|
+
"""
|
2276
2668
|
elif False:
|
2277
2669
|
BuildDefinitionRepositoryArgsDict: TypeAlias = Mapping[str, Any]
|
2278
2670
|
|
@@ -2281,23 +2673,24 @@ class BuildDefinitionRepositoryArgs:
|
|
2281
2673
|
def __init__(__self__, *,
|
2282
2674
|
repo_id: pulumi.Input[str],
|
2283
2675
|
repo_type: pulumi.Input[str],
|
2284
|
-
yml_path: pulumi.Input[str],
|
2285
2676
|
branch_name: Optional[pulumi.Input[str]] = None,
|
2286
2677
|
github_enterprise_url: Optional[pulumi.Input[str]] = None,
|
2287
2678
|
report_build_status: Optional[pulumi.Input[bool]] = None,
|
2288
|
-
service_connection_id: Optional[pulumi.Input[str]] = None
|
2679
|
+
service_connection_id: Optional[pulumi.Input[str]] = None,
|
2680
|
+
url: Optional[pulumi.Input[str]] = None,
|
2681
|
+
yml_path: Optional[pulumi.Input[str]] = None):
|
2289
2682
|
"""
|
2290
2683
|
:param pulumi.Input[str] repo_id: The id of the repository. For `TfsGit` repos, this is simply the ID of the repository. For `Github` repos, this will take the form of `<GitHub Org>/<Repo Name>`. For `Bitbucket` repos, this will take the form of `<Workspace ID>/<Repo Name>`.
|
2291
|
-
:param pulumi.Input[str] repo_type: The repository type. Possible values are: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise`. Defaults to `GitHub`. If `repo_type` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.
|
2292
|
-
:param pulumi.Input[str] yml_path: The path of the Yaml file describing the build definition.
|
2684
|
+
:param pulumi.Input[str] repo_type: The repository type. Possible values are: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise` or `Git`. Defaults to `GitHub`. If `repo_type` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.
|
2293
2685
|
:param pulumi.Input[str] branch_name: The branch name for which builds are triggered. Defaults to `master`.
|
2294
|
-
:param pulumi.Input[str] github_enterprise_url: The Github Enterprise URL. Used if `repo_type` is `GithubEnterprise`.
|
2686
|
+
:param pulumi.Input[str] github_enterprise_url: The Github Enterprise URL. Used if `repo_type` is `GithubEnterprise`. Conflict with `url`
|
2295
2687
|
:param pulumi.Input[bool] report_build_status: Report build status. Default is true.
|
2296
2688
|
:param pulumi.Input[str] service_connection_id: The service connection ID. Used if the `repo_type` is `GitHub` or `GitHubEnterprise`.
|
2689
|
+
:param pulumi.Input[str] url: The URL of the Git repository. Used if `repo_type` is `Git`. Conflict with `github_enterprise_url`
|
2690
|
+
:param pulumi.Input[str] yml_path: The path of the Yaml file describing the build definition.
|
2297
2691
|
"""
|
2298
2692
|
pulumi.set(__self__, "repo_id", repo_id)
|
2299
2693
|
pulumi.set(__self__, "repo_type", repo_type)
|
2300
|
-
pulumi.set(__self__, "yml_path", yml_path)
|
2301
2694
|
if branch_name is not None:
|
2302
2695
|
pulumi.set(__self__, "branch_name", branch_name)
|
2303
2696
|
if github_enterprise_url is not None:
|
@@ -2306,6 +2699,10 @@ class BuildDefinitionRepositoryArgs:
|
|
2306
2699
|
pulumi.set(__self__, "report_build_status", report_build_status)
|
2307
2700
|
if service_connection_id is not None:
|
2308
2701
|
pulumi.set(__self__, "service_connection_id", service_connection_id)
|
2702
|
+
if url is not None:
|
2703
|
+
pulumi.set(__self__, "url", url)
|
2704
|
+
if yml_path is not None:
|
2705
|
+
pulumi.set(__self__, "yml_path", yml_path)
|
2309
2706
|
|
2310
2707
|
@property
|
2311
2708
|
@pulumi.getter(name="repoId")
|
@@ -2323,7 +2720,7 @@ class BuildDefinitionRepositoryArgs:
|
|
2323
2720
|
@pulumi.getter(name="repoType")
|
2324
2721
|
def repo_type(self) -> pulumi.Input[str]:
|
2325
2722
|
"""
|
2326
|
-
The repository type. Possible values are: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise`. Defaults to `GitHub`. If `repo_type` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.
|
2723
|
+
The repository type. Possible values are: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise` or `Git`. Defaults to `GitHub`. If `repo_type` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.
|
2327
2724
|
"""
|
2328
2725
|
return pulumi.get(self, "repo_type")
|
2329
2726
|
|
@@ -2331,18 +2728,6 @@ class BuildDefinitionRepositoryArgs:
|
|
2331
2728
|
def repo_type(self, value: pulumi.Input[str]):
|
2332
2729
|
pulumi.set(self, "repo_type", value)
|
2333
2730
|
|
2334
|
-
@property
|
2335
|
-
@pulumi.getter(name="ymlPath")
|
2336
|
-
def yml_path(self) -> pulumi.Input[str]:
|
2337
|
-
"""
|
2338
|
-
The path of the Yaml file describing the build definition.
|
2339
|
-
"""
|
2340
|
-
return pulumi.get(self, "yml_path")
|
2341
|
-
|
2342
|
-
@yml_path.setter
|
2343
|
-
def yml_path(self, value: pulumi.Input[str]):
|
2344
|
-
pulumi.set(self, "yml_path", value)
|
2345
|
-
|
2346
2731
|
@property
|
2347
2732
|
@pulumi.getter(name="branchName")
|
2348
2733
|
def branch_name(self) -> Optional[pulumi.Input[str]]:
|
@@ -2359,7 +2744,7 @@ class BuildDefinitionRepositoryArgs:
|
|
2359
2744
|
@pulumi.getter(name="githubEnterpriseUrl")
|
2360
2745
|
def github_enterprise_url(self) -> Optional[pulumi.Input[str]]:
|
2361
2746
|
"""
|
2362
|
-
The Github Enterprise URL. Used if `repo_type` is `GithubEnterprise`.
|
2747
|
+
The Github Enterprise URL. Used if `repo_type` is `GithubEnterprise`. Conflict with `url`
|
2363
2748
|
"""
|
2364
2749
|
return pulumi.get(self, "github_enterprise_url")
|
2365
2750
|
|
@@ -2391,6 +2776,30 @@ class BuildDefinitionRepositoryArgs:
|
|
2391
2776
|
def service_connection_id(self, value: Optional[pulumi.Input[str]]):
|
2392
2777
|
pulumi.set(self, "service_connection_id", value)
|
2393
2778
|
|
2779
|
+
@property
|
2780
|
+
@pulumi.getter
|
2781
|
+
def url(self) -> Optional[pulumi.Input[str]]:
|
2782
|
+
"""
|
2783
|
+
The URL of the Git repository. Used if `repo_type` is `Git`. Conflict with `github_enterprise_url`
|
2784
|
+
"""
|
2785
|
+
return pulumi.get(self, "url")
|
2786
|
+
|
2787
|
+
@url.setter
|
2788
|
+
def url(self, value: Optional[pulumi.Input[str]]):
|
2789
|
+
pulumi.set(self, "url", value)
|
2790
|
+
|
2791
|
+
@property
|
2792
|
+
@pulumi.getter(name="ymlPath")
|
2793
|
+
def yml_path(self) -> Optional[pulumi.Input[str]]:
|
2794
|
+
"""
|
2795
|
+
The path of the Yaml file describing the build definition.
|
2796
|
+
"""
|
2797
|
+
return pulumi.get(self, "yml_path")
|
2798
|
+
|
2799
|
+
@yml_path.setter
|
2800
|
+
def yml_path(self, value: Optional[pulumi.Input[str]]):
|
2801
|
+
pulumi.set(self, "yml_path", value)
|
2802
|
+
|
2394
2803
|
|
2395
2804
|
if not MYPY:
|
2396
2805
|
class BuildDefinitionScheduleArgsDict(TypedDict):
|