pulumi-azuredevops 3.9.0a1745040263__py3-none-any.whl → 3.10.0a1745299494__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 +19 -0
- pulumi_azuredevops/_inputs.py +152 -26
- pulumi_azuredevops/build_folder_permissions.py +7 -0
- pulumi_azuredevops/extension.py +426 -0
- pulumi_azuredevops/feed_permission.py +28 -0
- pulumi_azuredevops/get_git_repository_file.py +201 -0
- pulumi_azuredevops/git_repository_file.py +256 -0
- pulumi_azuredevops/outputs.py +122 -16
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +122 -31
- pulumi_azuredevops/serviceendpoint_openshift.py +688 -0
- {pulumi_azuredevops-3.9.0a1745040263.dist-info → pulumi_azuredevops-3.10.0a1745299494.dist-info}/METADATA +1 -1
- {pulumi_azuredevops-3.9.0a1745040263.dist-info → pulumi_azuredevops-3.10.0a1745299494.dist-info}/RECORD +15 -12
- {pulumi_azuredevops-3.9.0a1745040263.dist-info → pulumi_azuredevops-3.10.0a1745299494.dist-info}/WHEEL +1 -1
- {pulumi_azuredevops-3.9.0a1745040263.dist-info → pulumi_azuredevops-3.10.0a1745299494.dist-info}/top_level.txt +0 -0
pulumi_azuredevops/__init__.py
CHANGED
@@ -28,6 +28,7 @@ from .dashboard import *
|
|
28
28
|
from .elastic_pool import *
|
29
29
|
from .environment import *
|
30
30
|
from .environment_resource_kubernetes import *
|
31
|
+
from .extension import *
|
31
32
|
from .feed import *
|
32
33
|
from .feed_permission import *
|
33
34
|
from .feed_retention_policy import *
|
@@ -39,6 +40,7 @@ from .get_descriptor import *
|
|
39
40
|
from .get_environment import *
|
40
41
|
from .get_feed import *
|
41
42
|
from .get_git_repository import *
|
43
|
+
from .get_git_repository_file import *
|
42
44
|
from .get_group import *
|
43
45
|
from .get_group_membership import *
|
44
46
|
from .get_groups import *
|
@@ -130,6 +132,7 @@ from .serviceendpoint_maven import *
|
|
130
132
|
from .serviceendpoint_nexus import *
|
131
133
|
from .serviceendpoint_nuget import *
|
132
134
|
from .serviceendpoint_octopusdeploy import *
|
135
|
+
from .serviceendpoint_openshift import *
|
133
136
|
from .serviceendpoint_permissions import *
|
134
137
|
from .serviceendpoint_snyk import *
|
135
138
|
from .serviceendpoint_visualstudiomarketplace import *
|
@@ -335,6 +338,14 @@ _utilities.register(
|
|
335
338
|
"azuredevops:index/environmentResourceKubernetes:EnvironmentResourceKubernetes": "EnvironmentResourceKubernetes"
|
336
339
|
}
|
337
340
|
},
|
341
|
+
{
|
342
|
+
"pkg": "azuredevops",
|
343
|
+
"mod": "index/extension",
|
344
|
+
"fqn": "pulumi_azuredevops",
|
345
|
+
"classes": {
|
346
|
+
"azuredevops:index/extension:Extension": "Extension"
|
347
|
+
}
|
348
|
+
},
|
338
349
|
{
|
339
350
|
"pkg": "azuredevops",
|
340
351
|
"mod": "index/feed",
|
@@ -871,6 +882,14 @@ _utilities.register(
|
|
871
882
|
"azuredevops:index/serviceendpointOctopusdeploy:ServiceendpointOctopusdeploy": "ServiceendpointOctopusdeploy"
|
872
883
|
}
|
873
884
|
},
|
885
|
+
{
|
886
|
+
"pkg": "azuredevops",
|
887
|
+
"mod": "index/serviceendpointOpenshift",
|
888
|
+
"fqn": "pulumi_azuredevops",
|
889
|
+
"classes": {
|
890
|
+
"azuredevops:index/serviceendpointOpenshift:ServiceendpointOpenshift": "ServiceendpointOpenshift"
|
891
|
+
}
|
892
|
+
},
|
874
893
|
{
|
875
894
|
"pkg": "azuredevops",
|
876
895
|
"mod": "index/serviceendpointPermissions",
|
pulumi_azuredevops/_inputs.py
CHANGED
@@ -104,6 +104,8 @@ __all__ = [
|
|
104
104
|
'ServiceEndpointGitHubAuthOauthArgsDict',
|
105
105
|
'ServiceEndpointGitHubAuthPersonalArgs',
|
106
106
|
'ServiceEndpointGitHubAuthPersonalArgsDict',
|
107
|
+
'ServiceEndpointGitHubEnterpriseAuthOauthArgs',
|
108
|
+
'ServiceEndpointGitHubEnterpriseAuthOauthArgsDict',
|
107
109
|
'ServiceEndpointGitHubEnterpriseAuthPersonalArgs',
|
108
110
|
'ServiceEndpointGitHubEnterpriseAuthPersonalArgsDict',
|
109
111
|
'ServiceEndpointKubernetesAzureSubscriptionArgs',
|
@@ -146,6 +148,12 @@ __all__ = [
|
|
146
148
|
'ServiceendpointMavenAuthenticationBasicArgsDict',
|
147
149
|
'ServiceendpointMavenAuthenticationTokenArgs',
|
148
150
|
'ServiceendpointMavenAuthenticationTokenArgsDict',
|
151
|
+
'ServiceendpointOpenshiftAuthBasicArgs',
|
152
|
+
'ServiceendpointOpenshiftAuthBasicArgsDict',
|
153
|
+
'ServiceendpointOpenshiftAuthNoneArgs',
|
154
|
+
'ServiceendpointOpenshiftAuthNoneArgsDict',
|
155
|
+
'ServiceendpointOpenshiftAuthTokenArgs',
|
156
|
+
'ServiceendpointOpenshiftAuthTokenArgsDict',
|
149
157
|
'ServiceendpointVisualstudiomarketplaceAuthenticationBasicArgs',
|
150
158
|
'ServiceendpointVisualstudiomarketplaceAuthenticationBasicArgsDict',
|
151
159
|
'ServiceendpointVisualstudiomarketplaceAuthenticationTokenArgs',
|
@@ -3685,12 +3693,6 @@ if not MYPY:
|
|
3685
3693
|
"""
|
3686
3694
|
The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`.
|
3687
3695
|
"""
|
3688
|
-
password: NotRequired[pulumi.Input[builtins.str]]
|
3689
|
-
"""
|
3690
|
-
The password used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
3691
|
-
|
3692
|
-
~>**Note** At least `service_connection_id` or `username/password` needs to be set to import private repository.
|
3693
|
-
"""
|
3694
3696
|
service_connection_id: NotRequired[pulumi.Input[builtins.str]]
|
3695
3697
|
"""
|
3696
3698
|
The ID of service connection used to authenticate to a private repository for import initialization. Conflicts with `username` and `password`.
|
@@ -3714,24 +3716,18 @@ elif False:
|
|
3714
3716
|
class GitInitializationArgs:
|
3715
3717
|
def __init__(__self__, *,
|
3716
3718
|
init_type: pulumi.Input[builtins.str],
|
3717
|
-
password: Optional[pulumi.Input[builtins.str]] = None,
|
3718
3719
|
service_connection_id: Optional[pulumi.Input[builtins.str]] = None,
|
3719
3720
|
source_type: Optional[pulumi.Input[builtins.str]] = None,
|
3720
3721
|
source_url: Optional[pulumi.Input[builtins.str]] = None,
|
3721
3722
|
username: Optional[pulumi.Input[builtins.str]] = None):
|
3722
3723
|
"""
|
3723
3724
|
:param pulumi.Input[builtins.str] init_type: The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`.
|
3724
|
-
:param pulumi.Input[builtins.str] password: The password used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
3725
|
-
|
3726
|
-
~>**Note** At least `service_connection_id` or `username/password` needs to be set to import private repository.
|
3727
3725
|
:param pulumi.Input[builtins.str] service_connection_id: The ID of service connection used to authenticate to a private repository for import initialization. Conflicts with `username` and `password`.
|
3728
3726
|
:param pulumi.Input[builtins.str] source_type: Type of the source repository. Used if the `init_type` is `Import`. Valid values: `Git`.
|
3729
3727
|
:param pulumi.Input[builtins.str] source_url: The URL of the source repository. Used if the `init_type` is `Import`.
|
3730
3728
|
:param pulumi.Input[builtins.str] username: The username used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
3731
3729
|
"""
|
3732
3730
|
pulumi.set(__self__, "init_type", init_type)
|
3733
|
-
if password is not None:
|
3734
|
-
pulumi.set(__self__, "password", password)
|
3735
3731
|
if service_connection_id is not None:
|
3736
3732
|
pulumi.set(__self__, "service_connection_id", service_connection_id)
|
3737
3733
|
if source_type is not None:
|
@@ -3753,20 +3749,6 @@ class GitInitializationArgs:
|
|
3753
3749
|
def init_type(self, value: pulumi.Input[builtins.str]):
|
3754
3750
|
pulumi.set(self, "init_type", value)
|
3755
3751
|
|
3756
|
-
@property
|
3757
|
-
@pulumi.getter
|
3758
|
-
def password(self) -> Optional[pulumi.Input[builtins.str]]:
|
3759
|
-
"""
|
3760
|
-
The password used to authenticate to a private repository for import initialization. Conflicts with `service_connection_id`.
|
3761
|
-
|
3762
|
-
~>**Note** At least `service_connection_id` or `username/password` needs to be set to import private repository.
|
3763
|
-
"""
|
3764
|
-
return pulumi.get(self, "password")
|
3765
|
-
|
3766
|
-
@password.setter
|
3767
|
-
def password(self, value: Optional[pulumi.Input[builtins.str]]):
|
3768
|
-
pulumi.set(self, "password", value)
|
3769
|
-
|
3770
3752
|
@property
|
3771
3753
|
@pulumi.getter(name="serviceConnectionId")
|
3772
3754
|
def service_connection_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -4084,6 +4066,37 @@ class ServiceEndpointGitHubAuthPersonalArgs:
|
|
4084
4066
|
pulumi.set(self, "personal_access_token", value)
|
4085
4067
|
|
4086
4068
|
|
4069
|
+
if not MYPY:
|
4070
|
+
class ServiceEndpointGitHubEnterpriseAuthOauthArgsDict(TypedDict):
|
4071
|
+
oauth_configuration_id: pulumi.Input[builtins.str]
|
4072
|
+
"""
|
4073
|
+
The OAuth Configuration ID.
|
4074
|
+
"""
|
4075
|
+
elif False:
|
4076
|
+
ServiceEndpointGitHubEnterpriseAuthOauthArgsDict: TypeAlias = Mapping[str, Any]
|
4077
|
+
|
4078
|
+
@pulumi.input_type
|
4079
|
+
class ServiceEndpointGitHubEnterpriseAuthOauthArgs:
|
4080
|
+
def __init__(__self__, *,
|
4081
|
+
oauth_configuration_id: pulumi.Input[builtins.str]):
|
4082
|
+
"""
|
4083
|
+
:param pulumi.Input[builtins.str] oauth_configuration_id: The OAuth Configuration ID.
|
4084
|
+
"""
|
4085
|
+
pulumi.set(__self__, "oauth_configuration_id", oauth_configuration_id)
|
4086
|
+
|
4087
|
+
@property
|
4088
|
+
@pulumi.getter(name="oauthConfigurationId")
|
4089
|
+
def oauth_configuration_id(self) -> pulumi.Input[builtins.str]:
|
4090
|
+
"""
|
4091
|
+
The OAuth Configuration ID.
|
4092
|
+
"""
|
4093
|
+
return pulumi.get(self, "oauth_configuration_id")
|
4094
|
+
|
4095
|
+
@oauth_configuration_id.setter
|
4096
|
+
def oauth_configuration_id(self, value: pulumi.Input[builtins.str]):
|
4097
|
+
pulumi.set(self, "oauth_configuration_id", value)
|
4098
|
+
|
4099
|
+
|
4087
4100
|
if not MYPY:
|
4088
4101
|
class ServiceEndpointGitHubEnterpriseAuthPersonalArgsDict(TypedDict):
|
4089
4102
|
personal_access_token: pulumi.Input[builtins.str]
|
@@ -5242,6 +5255,119 @@ class ServiceendpointMavenAuthenticationTokenArgs:
|
|
5242
5255
|
pulumi.set(self, "token", value)
|
5243
5256
|
|
5244
5257
|
|
5258
|
+
if not MYPY:
|
5259
|
+
class ServiceendpointOpenshiftAuthBasicArgsDict(TypedDict):
|
5260
|
+
password: pulumi.Input[builtins.str]
|
5261
|
+
"""
|
5262
|
+
The password of the user.
|
5263
|
+
"""
|
5264
|
+
username: pulumi.Input[builtins.str]
|
5265
|
+
"""
|
5266
|
+
The name of the user.
|
5267
|
+
"""
|
5268
|
+
elif False:
|
5269
|
+
ServiceendpointOpenshiftAuthBasicArgsDict: TypeAlias = Mapping[str, Any]
|
5270
|
+
|
5271
|
+
@pulumi.input_type
|
5272
|
+
class ServiceendpointOpenshiftAuthBasicArgs:
|
5273
|
+
def __init__(__self__, *,
|
5274
|
+
password: pulumi.Input[builtins.str],
|
5275
|
+
username: pulumi.Input[builtins.str]):
|
5276
|
+
"""
|
5277
|
+
:param pulumi.Input[builtins.str] password: The password of the user.
|
5278
|
+
:param pulumi.Input[builtins.str] username: The name of the user.
|
5279
|
+
"""
|
5280
|
+
pulumi.set(__self__, "password", password)
|
5281
|
+
pulumi.set(__self__, "username", username)
|
5282
|
+
|
5283
|
+
@property
|
5284
|
+
@pulumi.getter
|
5285
|
+
def password(self) -> pulumi.Input[builtins.str]:
|
5286
|
+
"""
|
5287
|
+
The password of the user.
|
5288
|
+
"""
|
5289
|
+
return pulumi.get(self, "password")
|
5290
|
+
|
5291
|
+
@password.setter
|
5292
|
+
def password(self, value: pulumi.Input[builtins.str]):
|
5293
|
+
pulumi.set(self, "password", value)
|
5294
|
+
|
5295
|
+
@property
|
5296
|
+
@pulumi.getter
|
5297
|
+
def username(self) -> pulumi.Input[builtins.str]:
|
5298
|
+
"""
|
5299
|
+
The name of the user.
|
5300
|
+
"""
|
5301
|
+
return pulumi.get(self, "username")
|
5302
|
+
|
5303
|
+
@username.setter
|
5304
|
+
def username(self, value: pulumi.Input[builtins.str]):
|
5305
|
+
pulumi.set(self, "username", value)
|
5306
|
+
|
5307
|
+
|
5308
|
+
if not MYPY:
|
5309
|
+
class ServiceendpointOpenshiftAuthNoneArgsDict(TypedDict):
|
5310
|
+
kube_config: NotRequired[pulumi.Input[builtins.str]]
|
5311
|
+
"""
|
5312
|
+
The kubectl config
|
5313
|
+
"""
|
5314
|
+
elif False:
|
5315
|
+
ServiceendpointOpenshiftAuthNoneArgsDict: TypeAlias = Mapping[str, Any]
|
5316
|
+
|
5317
|
+
@pulumi.input_type
|
5318
|
+
class ServiceendpointOpenshiftAuthNoneArgs:
|
5319
|
+
def __init__(__self__, *,
|
5320
|
+
kube_config: Optional[pulumi.Input[builtins.str]] = None):
|
5321
|
+
"""
|
5322
|
+
:param pulumi.Input[builtins.str] kube_config: The kubectl config
|
5323
|
+
"""
|
5324
|
+
if kube_config is not None:
|
5325
|
+
pulumi.set(__self__, "kube_config", kube_config)
|
5326
|
+
|
5327
|
+
@property
|
5328
|
+
@pulumi.getter(name="kubeConfig")
|
5329
|
+
def kube_config(self) -> Optional[pulumi.Input[builtins.str]]:
|
5330
|
+
"""
|
5331
|
+
The kubectl config
|
5332
|
+
"""
|
5333
|
+
return pulumi.get(self, "kube_config")
|
5334
|
+
|
5335
|
+
@kube_config.setter
|
5336
|
+
def kube_config(self, value: Optional[pulumi.Input[builtins.str]]):
|
5337
|
+
pulumi.set(self, "kube_config", value)
|
5338
|
+
|
5339
|
+
|
5340
|
+
if not MYPY:
|
5341
|
+
class ServiceendpointOpenshiftAuthTokenArgsDict(TypedDict):
|
5342
|
+
token: pulumi.Input[builtins.str]
|
5343
|
+
"""
|
5344
|
+
The API token.
|
5345
|
+
"""
|
5346
|
+
elif False:
|
5347
|
+
ServiceendpointOpenshiftAuthTokenArgsDict: TypeAlias = Mapping[str, Any]
|
5348
|
+
|
5349
|
+
@pulumi.input_type
|
5350
|
+
class ServiceendpointOpenshiftAuthTokenArgs:
|
5351
|
+
def __init__(__self__, *,
|
5352
|
+
token: pulumi.Input[builtins.str]):
|
5353
|
+
"""
|
5354
|
+
:param pulumi.Input[builtins.str] token: The API token.
|
5355
|
+
"""
|
5356
|
+
pulumi.set(__self__, "token", token)
|
5357
|
+
|
5358
|
+
@property
|
5359
|
+
@pulumi.getter
|
5360
|
+
def token(self) -> pulumi.Input[builtins.str]:
|
5361
|
+
"""
|
5362
|
+
The API token.
|
5363
|
+
"""
|
5364
|
+
return pulumi.get(self, "token")
|
5365
|
+
|
5366
|
+
@token.setter
|
5367
|
+
def token(self, value: pulumi.Input[builtins.str]):
|
5368
|
+
pulumi.set(self, "token", value)
|
5369
|
+
|
5370
|
+
|
5245
5371
|
if not MYPY:
|
5246
5372
|
class ServiceendpointVisualstudiomarketplaceAuthenticationBasicArgsDict(TypedDict):
|
5247
5373
|
password: pulumi.Input[builtins.str]
|
@@ -47,6 +47,7 @@ class BuildFolderPermissionsArgs:
|
|
47
47
|
| DeleteBuildDefinition | Delete build pipeline |
|
48
48
|
| OverrideBuildCheckInValidation | Override check-in validation by build |
|
49
49
|
| AdministerBuildPermissions | Administer build permissions |
|
50
|
+
| CreateBuildDefinition | Create build pipeline |
|
50
51
|
:param pulumi.Input[builtins.str] principal: The **group** principal to assign the permissions.
|
51
52
|
:param pulumi.Input[builtins.str] project_id: The ID of the project to assign the permissions.
|
52
53
|
:param pulumi.Input[builtins.bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`.
|
@@ -93,6 +94,7 @@ class BuildFolderPermissionsArgs:
|
|
93
94
|
| DeleteBuildDefinition | Delete build pipeline |
|
94
95
|
| OverrideBuildCheckInValidation | Override check-in validation by build |
|
95
96
|
| AdministerBuildPermissions | Administer build permissions |
|
97
|
+
| CreateBuildDefinition | Create build pipeline |
|
96
98
|
"""
|
97
99
|
return pulumi.get(self, "permissions")
|
98
100
|
|
@@ -167,6 +169,7 @@ class _BuildFolderPermissionsState:
|
|
167
169
|
| DeleteBuildDefinition | Delete build pipeline |
|
168
170
|
| OverrideBuildCheckInValidation | Override check-in validation by build |
|
169
171
|
| AdministerBuildPermissions | Administer build permissions |
|
172
|
+
| CreateBuildDefinition | Create build pipeline |
|
170
173
|
:param pulumi.Input[builtins.str] principal: The **group** principal to assign the permissions.
|
171
174
|
:param pulumi.Input[builtins.str] project_id: The ID of the project to assign the permissions.
|
172
175
|
:param pulumi.Input[builtins.bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`.
|
@@ -217,6 +220,7 @@ class _BuildFolderPermissionsState:
|
|
217
220
|
| DeleteBuildDefinition | Delete build pipeline |
|
218
221
|
| OverrideBuildCheckInValidation | Override check-in validation by build |
|
219
222
|
| AdministerBuildPermissions | Administer build permissions |
|
223
|
+
| CreateBuildDefinition | Create build pipeline |
|
220
224
|
"""
|
221
225
|
return pulumi.get(self, "permissions")
|
222
226
|
|
@@ -374,6 +378,7 @@ class BuildFolderPermissions(pulumi.CustomResource):
|
|
374
378
|
| DeleteBuildDefinition | Delete build pipeline |
|
375
379
|
| OverrideBuildCheckInValidation | Override check-in validation by build |
|
376
380
|
| AdministerBuildPermissions | Administer build permissions |
|
381
|
+
| CreateBuildDefinition | Create build pipeline |
|
377
382
|
:param pulumi.Input[builtins.str] principal: The **group** principal to assign the permissions.
|
378
383
|
:param pulumi.Input[builtins.str] project_id: The ID of the project to assign the permissions.
|
379
384
|
:param pulumi.Input[builtins.bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`.
|
@@ -548,6 +553,7 @@ class BuildFolderPermissions(pulumi.CustomResource):
|
|
548
553
|
| DeleteBuildDefinition | Delete build pipeline |
|
549
554
|
| OverrideBuildCheckInValidation | Override check-in validation by build |
|
550
555
|
| AdministerBuildPermissions | Administer build permissions |
|
556
|
+
| CreateBuildDefinition | Create build pipeline |
|
551
557
|
:param pulumi.Input[builtins.str] principal: The **group** principal to assign the permissions.
|
552
558
|
:param pulumi.Input[builtins.str] project_id: The ID of the project to assign the permissions.
|
553
559
|
:param pulumi.Input[builtins.bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`.
|
@@ -594,6 +600,7 @@ class BuildFolderPermissions(pulumi.CustomResource):
|
|
594
600
|
| DeleteBuildDefinition | Delete build pipeline |
|
595
601
|
| OverrideBuildCheckInValidation | Override check-in validation by build |
|
596
602
|
| AdministerBuildPermissions | Administer build permissions |
|
603
|
+
| CreateBuildDefinition | Create build pipeline |
|
597
604
|
"""
|
598
605
|
return pulumi.get(self, "permissions")
|
599
606
|
|