pulumi-azuredevops 3.6.0a1737523387__py3-none-any.whl → 3.7.0__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 +76 -0
- pulumi_azuredevops/_inputs.py +120 -117
- pulumi_azuredevops/_utilities.py +8 -4
- pulumi_azuredevops/area_permissions.py +49 -49
- pulumi_azuredevops/branch_policy_auto_reviewers.py +7 -7
- pulumi_azuredevops/branch_policy_build_validation.py +7 -7
- pulumi_azuredevops/branch_policy_comment_resolution.py +7 -7
- pulumi_azuredevops/branch_policy_merge_types.py +7 -7
- pulumi_azuredevops/branch_policy_status_check.py +7 -7
- pulumi_azuredevops/branch_policy_work_item_linking.py +7 -7
- pulumi_azuredevops/build_definition.py +7 -7
- pulumi_azuredevops/check_branch_control.py +7 -7
- pulumi_azuredevops/check_business_hours.py +7 -7
- pulumi_azuredevops/check_exclusive_lock.py +7 -7
- pulumi_azuredevops/check_rest_api.py +986 -0
- pulumi_azuredevops/dashboard.py +475 -0
- pulumi_azuredevops/feed.py +8 -8
- pulumi_azuredevops/feed_permission.py +9 -9
- pulumi_azuredevops/feed_retention_policy.py +400 -0
- pulumi_azuredevops/get_agent_queue.py +2 -2
- pulumi_azuredevops/get_area.py +1 -1
- pulumi_azuredevops/get_client_config.py +3 -0
- pulumi_azuredevops/get_descriptor.py +133 -0
- pulumi_azuredevops/get_feed.py +4 -4
- pulumi_azuredevops/get_git_repository.py +8 -8
- pulumi_azuredevops/get_group.py +4 -4
- pulumi_azuredevops/get_groups.py +3 -3
- pulumi_azuredevops/get_identity_group.py +23 -6
- pulumi_azuredevops/get_identity_groups.py +3 -3
- pulumi_azuredevops/get_identity_users.py +23 -9
- pulumi_azuredevops/get_pool.py +14 -2
- pulumi_azuredevops/get_pools.py +3 -3
- pulumi_azuredevops/get_project.py +32 -0
- pulumi_azuredevops/get_projects.py +4 -4
- pulumi_azuredevops/get_repositories.py +7 -3
- pulumi_azuredevops/get_securityrole_definitions.py +4 -4
- pulumi_azuredevops/get_service_endpoint_azure_rm.py +5 -5
- pulumi_azuredevops/get_service_endpoint_github.py +6 -6
- pulumi_azuredevops/get_service_principal.py +153 -0
- pulumi_azuredevops/get_serviceendpoint_azurecr.py +1 -1
- pulumi_azuredevops/get_serviceendpoint_bitbucket.py +6 -6
- pulumi_azuredevops/get_serviceendpoint_npm.py +3 -3
- pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +2 -2
- pulumi_azuredevops/get_storage_key.py +133 -0
- pulumi_azuredevops/get_team.py +4 -3
- pulumi_azuredevops/get_teams.py +2 -3
- pulumi_azuredevops/get_user.py +193 -0
- pulumi_azuredevops/get_users.py +5 -9
- pulumi_azuredevops/git.py +7 -7
- pulumi_azuredevops/git_permissions.py +14 -21
- pulumi_azuredevops/git_repository_file.py +7 -14
- pulumi_azuredevops/group.py +21 -7
- pulumi_azuredevops/group_entitlement.py +16 -20
- pulumi_azuredevops/group_membership.py +35 -50
- pulumi_azuredevops/iterative_permissions.py +34 -34
- pulumi_azuredevops/library_permissions.py +75 -75
- pulumi_azuredevops/outputs.py +141 -103
- pulumi_azuredevops/pipeline_authorization.py +7 -7
- pulumi_azuredevops/pool.py +4 -4
- pulumi_azuredevops/project.py +114 -63
- pulumi_azuredevops/project_features.py +87 -45
- pulumi_azuredevops/project_permissions.py +7 -7
- pulumi_azuredevops/project_pipeline_settings.py +28 -35
- pulumi_azuredevops/project_tags.py +263 -0
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/queue.py +7 -14
- pulumi_azuredevops/repository_policy_author_email_pattern.py +21 -14
- pulumi_azuredevops/repository_policy_max_file_size.py +7 -7
- pulumi_azuredevops/resource_authorization.py +35 -35
- pulumi_azuredevops/service_endpoint_artifactory.py +25 -33
- pulumi_azuredevops/service_endpoint_aws.py +3 -17
- pulumi_azuredevops/service_endpoint_azure_dev_ops.py +1 -15
- pulumi_azuredevops/service_endpoint_azure_ecr.py +14 -30
- pulumi_azuredevops/service_endpoint_azure_rm.py +26 -40
- pulumi_azuredevops/service_endpoint_bit_bucket.py +3 -17
- pulumi_azuredevops/service_endpoint_docker_registry.py +3 -17
- pulumi_azuredevops/service_endpoint_generic.py +3 -17
- pulumi_azuredevops/service_endpoint_generic_git.py +5 -23
- pulumi_azuredevops/service_endpoint_git_hub.py +16 -17
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +16 -17
- pulumi_azuredevops/service_endpoint_git_lab.py +1 -15
- pulumi_azuredevops/service_endpoint_kubernetes.py +24 -38
- pulumi_azuredevops/service_endpoint_npm.py +5 -19
- pulumi_azuredevops/service_endpoint_pipeline.py +5 -19
- pulumi_azuredevops/service_endpoint_service_fabric.py +49 -24
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +12 -26
- pulumi_azuredevops/service_endpoint_sonar_qube.py +12 -26
- pulumi_azuredevops/service_endpoint_ssh.py +3 -21
- pulumi_azuredevops/service_principal_entitlement.py +386 -0
- pulumi_azuredevops/serviceendpoint_argocd.py +3 -17
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +3 -17
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +613 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +561 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +660 -0
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +3 -17
- pulumi_azuredevops/serviceendpoint_externaltfs.py +64 -26
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +3 -17
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +3 -17
- pulumi_azuredevops/serviceendpoint_jenkins.py +3 -17
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +19 -33
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +19 -33
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +19 -33
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +19 -33
- pulumi_azuredevops/serviceendpoint_maven.py +3 -17
- pulumi_azuredevops/serviceendpoint_nexus.py +3 -17
- pulumi_azuredevops/serviceendpoint_nuget.py +3 -17
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +3 -17
- pulumi_azuredevops/serviceendpoint_permissions.py +40 -40
- pulumi_azuredevops/serviceendpoint_snyk.py +3 -17
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +5 -21
- pulumi_azuredevops/servicehook_permissions.py +51 -51
- pulumi_azuredevops/servicehook_storage_queue_pipelines.py +4 -4
- pulumi_azuredevops/tagging_permissions.py +49 -49
- pulumi_azuredevops/team.py +76 -56
- pulumi_azuredevops/team_administrators.py +83 -56
- pulumi_azuredevops/team_members.py +56 -49
- pulumi_azuredevops/variable_group.py +4 -2
- pulumi_azuredevops/variable_group_permissions.py +75 -75
- pulumi_azuredevops/wiki.py +15 -2
- pulumi_azuredevops/wiki_page.py +2 -2
- pulumi_azuredevops/work_item_query_permissions.py +7 -7
- {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.7.0.dist-info}/METADATA +1 -1
- pulumi_azuredevops-3.7.0.dist-info/RECORD +152 -0
- {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.7.0.dist-info}/WHEEL +1 -1
- pulumi_azuredevops-3.6.0a1737523387.dist-info/RECORD +0 -140
- {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.7.0.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,6 @@ class ServiceEndpointAzureEcrArgs:
|
|
27
27
|
azurecr_subscription_name: pulumi.Input[str],
|
28
28
|
project_id: pulumi.Input[str],
|
29
29
|
service_endpoint_name: pulumi.Input[str],
|
30
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
31
30
|
credentials: Optional[pulumi.Input['ServiceEndpointAzureEcrCredentialsArgs']] = None,
|
32
31
|
description: Optional[pulumi.Input[str]] = None,
|
33
32
|
resource_group: Optional[pulumi.Input[str]] = None,
|
@@ -40,7 +39,7 @@ class ServiceEndpointAzureEcrArgs:
|
|
40
39
|
:param pulumi.Input[str] azurecr_subscription_name: The subscription name of the Azure targets.
|
41
40
|
:param pulumi.Input[str] project_id: The ID of the project.
|
42
41
|
:param pulumi.Input[str] service_endpoint_name: The name you will use to refer to this service connection in task inputs.
|
43
|
-
:param pulumi.Input['ServiceEndpointAzureEcrCredentialsArgs'] credentials: A `credentials` block.
|
42
|
+
:param pulumi.Input['ServiceEndpointAzureEcrCredentialsArgs'] credentials: A `credentials` block as defined below.
|
44
43
|
:param pulumi.Input[str] resource_group: The resource group to which the container registry belongs.
|
45
44
|
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of azurerm endpoint, either `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility. `ManagedServiceIdentity` has not yet been implemented for this resource.
|
46
45
|
"""
|
@@ -50,8 +49,6 @@ class ServiceEndpointAzureEcrArgs:
|
|
50
49
|
pulumi.set(__self__, "azurecr_subscription_name", azurecr_subscription_name)
|
51
50
|
pulumi.set(__self__, "project_id", project_id)
|
52
51
|
pulumi.set(__self__, "service_endpoint_name", service_endpoint_name)
|
53
|
-
if authorization is not None:
|
54
|
-
pulumi.set(__self__, "authorization", authorization)
|
55
52
|
if credentials is not None:
|
56
53
|
pulumi.set(__self__, "credentials", credentials)
|
57
54
|
if description is not None:
|
@@ -133,20 +130,11 @@ class ServiceEndpointAzureEcrArgs:
|
|
133
130
|
def service_endpoint_name(self, value: pulumi.Input[str]):
|
134
131
|
pulumi.set(self, "service_endpoint_name", value)
|
135
132
|
|
136
|
-
@property
|
137
|
-
@pulumi.getter
|
138
|
-
def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
139
|
-
return pulumi.get(self, "authorization")
|
140
|
-
|
141
|
-
@authorization.setter
|
142
|
-
def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
143
|
-
pulumi.set(self, "authorization", value)
|
144
|
-
|
145
133
|
@property
|
146
134
|
@pulumi.getter
|
147
135
|
def credentials(self) -> Optional[pulumi.Input['ServiceEndpointAzureEcrCredentialsArgs']]:
|
148
136
|
"""
|
149
|
-
A `credentials` block.
|
137
|
+
A `credentials` block as defined below.
|
150
138
|
"""
|
151
139
|
return pulumi.get(self, "credentials")
|
152
140
|
|
@@ -215,7 +203,7 @@ class _ServiceEndpointAzureEcrState:
|
|
215
203
|
:param pulumi.Input[str] azurecr_spn_tenantid: The tenant id of the service principal.
|
216
204
|
:param pulumi.Input[str] azurecr_subscription_id: The subscription id of the Azure targets.
|
217
205
|
:param pulumi.Input[str] azurecr_subscription_name: The subscription name of the Azure targets.
|
218
|
-
:param pulumi.Input['ServiceEndpointAzureEcrCredentialsArgs'] credentials: A `credentials` block.
|
206
|
+
:param pulumi.Input['ServiceEndpointAzureEcrCredentialsArgs'] credentials: A `credentials` block as defined below.
|
219
207
|
:param pulumi.Input[str] project_id: The ID of the project.
|
220
208
|
:param pulumi.Input[str] resource_group: The resource group to which the container registry belongs.
|
221
209
|
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of azurerm endpoint, either `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility. `ManagedServiceIdentity` has not yet been implemented for this resource.
|
@@ -349,7 +337,7 @@ class _ServiceEndpointAzureEcrState:
|
|
349
337
|
@pulumi.getter
|
350
338
|
def credentials(self) -> Optional[pulumi.Input['ServiceEndpointAzureEcrCredentialsArgs']]:
|
351
339
|
"""
|
352
|
-
A `credentials` block.
|
340
|
+
A `credentials` block as defined below.
|
353
341
|
"""
|
354
342
|
return pulumi.get(self, "credentials")
|
355
343
|
|
@@ -465,7 +453,6 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
465
453
|
def __init__(__self__,
|
466
454
|
resource_name: str,
|
467
455
|
opts: Optional[pulumi.ResourceOptions] = None,
|
468
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
469
456
|
azurecr_name: Optional[pulumi.Input[str]] = None,
|
470
457
|
azurecr_spn_tenantid: Optional[pulumi.Input[str]] = None,
|
471
458
|
azurecr_subscription_id: Optional[pulumi.Input[str]] = None,
|
@@ -482,8 +469,7 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
482
469
|
|
483
470
|
## Example Usage
|
484
471
|
|
485
|
-
### Service Principal
|
486
|
-
|
472
|
+
### Authorize with Service Principal
|
487
473
|
```python
|
488
474
|
import pulumi
|
489
475
|
import pulumi_azuredevops as azuredevops
|
@@ -505,7 +491,7 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
505
491
|
azurecr_subscription_name="subscription name")
|
506
492
|
```
|
507
493
|
|
508
|
-
### WorkloadIdentityFederation
|
494
|
+
### Authorize with WorkloadIdentityFederation
|
509
495
|
|
510
496
|
```python
|
511
497
|
import pulumi
|
@@ -554,7 +540,7 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
554
540
|
|
555
541
|
## Import
|
556
542
|
|
557
|
-
Azure DevOps
|
543
|
+
Azure DevOps Azure Container Registry Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
558
544
|
|
559
545
|
```sh
|
560
546
|
$ pulumi import azuredevops:index/serviceEndpointAzureEcr:ServiceEndpointAzureEcr example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -566,7 +552,7 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
566
552
|
:param pulumi.Input[str] azurecr_spn_tenantid: The tenant id of the service principal.
|
567
553
|
:param pulumi.Input[str] azurecr_subscription_id: The subscription id of the Azure targets.
|
568
554
|
:param pulumi.Input[str] azurecr_subscription_name: The subscription name of the Azure targets.
|
569
|
-
:param pulumi.Input[Union['ServiceEndpointAzureEcrCredentialsArgs', 'ServiceEndpointAzureEcrCredentialsArgsDict']] credentials: A `credentials` block.
|
555
|
+
:param pulumi.Input[Union['ServiceEndpointAzureEcrCredentialsArgs', 'ServiceEndpointAzureEcrCredentialsArgsDict']] credentials: A `credentials` block as defined below.
|
570
556
|
:param pulumi.Input[str] project_id: The ID of the project.
|
571
557
|
:param pulumi.Input[str] resource_group: The resource group to which the container registry belongs.
|
572
558
|
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of azurerm endpoint, either `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility. `ManagedServiceIdentity` has not yet been implemented for this resource.
|
@@ -583,8 +569,7 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
583
569
|
|
584
570
|
## Example Usage
|
585
571
|
|
586
|
-
### Service Principal
|
587
|
-
|
572
|
+
### Authorize with Service Principal
|
588
573
|
```python
|
589
574
|
import pulumi
|
590
575
|
import pulumi_azuredevops as azuredevops
|
@@ -606,7 +591,7 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
606
591
|
azurecr_subscription_name="subscription name")
|
607
592
|
```
|
608
593
|
|
609
|
-
### WorkloadIdentityFederation
|
594
|
+
### Authorize with WorkloadIdentityFederation
|
610
595
|
|
611
596
|
```python
|
612
597
|
import pulumi
|
@@ -655,7 +640,7 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
655
640
|
|
656
641
|
## Import
|
657
642
|
|
658
|
-
Azure DevOps
|
643
|
+
Azure DevOps Azure Container Registry Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
659
644
|
|
660
645
|
```sh
|
661
646
|
$ pulumi import azuredevops:index/serviceEndpointAzureEcr:ServiceEndpointAzureEcr example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -676,7 +661,6 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
676
661
|
def _internal_init(__self__,
|
677
662
|
resource_name: str,
|
678
663
|
opts: Optional[pulumi.ResourceOptions] = None,
|
679
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
680
664
|
azurecr_name: Optional[pulumi.Input[str]] = None,
|
681
665
|
azurecr_spn_tenantid: Optional[pulumi.Input[str]] = None,
|
682
666
|
azurecr_subscription_id: Optional[pulumi.Input[str]] = None,
|
@@ -696,7 +680,6 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
696
680
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
697
681
|
__props__ = ServiceEndpointAzureEcrArgs.__new__(ServiceEndpointAzureEcrArgs)
|
698
682
|
|
699
|
-
__props__.__dict__["authorization"] = authorization
|
700
683
|
if azurecr_name is None and not opts.urn:
|
701
684
|
raise TypeError("Missing required property 'azurecr_name'")
|
702
685
|
__props__.__dict__["azurecr_name"] = azurecr_name
|
@@ -720,6 +703,7 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
720
703
|
raise TypeError("Missing required property 'service_endpoint_name'")
|
721
704
|
__props__.__dict__["service_endpoint_name"] = service_endpoint_name
|
722
705
|
__props__.__dict__["app_object_id"] = None
|
706
|
+
__props__.__dict__["authorization"] = None
|
723
707
|
__props__.__dict__["az_spn_role_assignment_id"] = None
|
724
708
|
__props__.__dict__["az_spn_role_permissions"] = None
|
725
709
|
__props__.__dict__["service_principal_id"] = None
|
@@ -765,7 +749,7 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
765
749
|
:param pulumi.Input[str] azurecr_spn_tenantid: The tenant id of the service principal.
|
766
750
|
:param pulumi.Input[str] azurecr_subscription_id: The subscription id of the Azure targets.
|
767
751
|
:param pulumi.Input[str] azurecr_subscription_name: The subscription name of the Azure targets.
|
768
|
-
:param pulumi.Input[Union['ServiceEndpointAzureEcrCredentialsArgs', 'ServiceEndpointAzureEcrCredentialsArgsDict']] credentials: A `credentials` block.
|
752
|
+
:param pulumi.Input[Union['ServiceEndpointAzureEcrCredentialsArgs', 'ServiceEndpointAzureEcrCredentialsArgsDict']] credentials: A `credentials` block as defined below.
|
769
753
|
:param pulumi.Input[str] project_id: The ID of the project.
|
770
754
|
:param pulumi.Input[str] resource_group: The resource group to which the container registry belongs.
|
771
755
|
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of azurerm endpoint, either `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility. `ManagedServiceIdentity` has not yet been implemented for this resource.
|
@@ -854,7 +838,7 @@ class ServiceEndpointAzureEcr(pulumi.CustomResource):
|
|
854
838
|
@pulumi.getter
|
855
839
|
def credentials(self) -> pulumi.Output[Optional['outputs.ServiceEndpointAzureEcrCredentials']]:
|
856
840
|
"""
|
857
|
-
A `credentials` block.
|
841
|
+
A `credentials` block as defined below.
|
858
842
|
"""
|
859
843
|
return pulumi.get(self, "credentials")
|
860
844
|
|
@@ -24,7 +24,6 @@ class ServiceEndpointAzureRMArgs:
|
|
24
24
|
azurerm_spn_tenantid: pulumi.Input[str],
|
25
25
|
project_id: pulumi.Input[str],
|
26
26
|
service_endpoint_name: pulumi.Input[str],
|
27
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
27
|
azurerm_management_group_id: Optional[pulumi.Input[str]] = None,
|
29
28
|
azurerm_management_group_name: Optional[pulumi.Input[str]] = None,
|
30
29
|
azurerm_subscription_id: Optional[pulumi.Input[str]] = None,
|
@@ -45,23 +44,21 @@ class ServiceEndpointAzureRMArgs:
|
|
45
44
|
:param pulumi.Input[str] azurerm_management_group_name: The Management group Name of the targets.
|
46
45
|
:param pulumi.Input[str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
47
46
|
:param pulumi.Input[str] azurerm_subscription_name: The Subscription Name of the targets.
|
48
|
-
:param pulumi.Input['ServiceEndpointAzureRMCredentialsArgs'] credentials: A `credentials` block.
|
47
|
+
:param pulumi.Input['ServiceEndpointAzureRMCredentialsArgs'] credentials: A `credentials` block as defined below.
|
49
48
|
:param pulumi.Input[str] description: Service connection description.
|
50
49
|
:param pulumi.Input[str] environment: The Cloud Environment to use. Defaults to `AzureCloud`. Possible values are `AzureCloud`, `AzureChinaCloud`, `AzureUSGovernment`, `AzureGermanCloud` and `AzureStack`. Changing this forces a new resource to be created.
|
51
|
-
:param pulumi.Input['ServiceEndpointAzureRMFeaturesArgs'] features: A `features` block.
|
50
|
+
:param pulumi.Input['ServiceEndpointAzureRMFeaturesArgs'] features: A `features` block as defined below.
|
52
51
|
:param pulumi.Input[str] resource_group: The resource group used for scope of automatic service endpoint.
|
53
52
|
:param pulumi.Input[str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
54
53
|
|
55
54
|
> **NOTE:** One of either `Subscription` scoped i.e. `azurerm_subscription_id`, `azurerm_subscription_name` or `ManagementGroup` scoped i.e. `azurerm_management_group_id`, `azurerm_management_group_name` values must be specified.
|
56
|
-
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of
|
55
|
+
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of Azure Resource Manager Service Endpoint. Possible values are `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
|
57
56
|
|
58
57
|
> **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).
|
59
58
|
"""
|
60
59
|
pulumi.set(__self__, "azurerm_spn_tenantid", azurerm_spn_tenantid)
|
61
60
|
pulumi.set(__self__, "project_id", project_id)
|
62
61
|
pulumi.set(__self__, "service_endpoint_name", service_endpoint_name)
|
63
|
-
if authorization is not None:
|
64
|
-
pulumi.set(__self__, "authorization", authorization)
|
65
62
|
if azurerm_management_group_id is not None:
|
66
63
|
pulumi.set(__self__, "azurerm_management_group_id", azurerm_management_group_id)
|
67
64
|
if azurerm_management_group_name is not None:
|
@@ -121,15 +118,6 @@ class ServiceEndpointAzureRMArgs:
|
|
121
118
|
def service_endpoint_name(self, value: pulumi.Input[str]):
|
122
119
|
pulumi.set(self, "service_endpoint_name", value)
|
123
120
|
|
124
|
-
@property
|
125
|
-
@pulumi.getter
|
126
|
-
def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
127
|
-
return pulumi.get(self, "authorization")
|
128
|
-
|
129
|
-
@authorization.setter
|
130
|
-
def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
131
|
-
pulumi.set(self, "authorization", value)
|
132
|
-
|
133
121
|
@property
|
134
122
|
@pulumi.getter(name="azurermManagementGroupId")
|
135
123
|
def azurerm_management_group_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -182,7 +170,7 @@ class ServiceEndpointAzureRMArgs:
|
|
182
170
|
@pulumi.getter
|
183
171
|
def credentials(self) -> Optional[pulumi.Input['ServiceEndpointAzureRMCredentialsArgs']]:
|
184
172
|
"""
|
185
|
-
A `credentials` block.
|
173
|
+
A `credentials` block as defined below.
|
186
174
|
"""
|
187
175
|
return pulumi.get(self, "credentials")
|
188
176
|
|
@@ -218,7 +206,7 @@ class ServiceEndpointAzureRMArgs:
|
|
218
206
|
@pulumi.getter
|
219
207
|
def features(self) -> Optional[pulumi.Input['ServiceEndpointAzureRMFeaturesArgs']]:
|
220
208
|
"""
|
221
|
-
A `features` block.
|
209
|
+
A `features` block as defined below.
|
222
210
|
"""
|
223
211
|
return pulumi.get(self, "features")
|
224
212
|
|
@@ -256,7 +244,7 @@ class ServiceEndpointAzureRMArgs:
|
|
256
244
|
@pulumi.getter(name="serviceEndpointAuthenticationScheme")
|
257
245
|
def service_endpoint_authentication_scheme(self) -> Optional[pulumi.Input[str]]:
|
258
246
|
"""
|
259
|
-
Specifies the type of
|
247
|
+
Specifies the type of Azure Resource Manager Service Endpoint. Possible values are `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
|
260
248
|
|
261
249
|
> **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).
|
262
250
|
"""
|
@@ -295,16 +283,16 @@ class _ServiceEndpointAzureRMState:
|
|
295
283
|
:param pulumi.Input[str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
296
284
|
:param pulumi.Input[str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
297
285
|
:param pulumi.Input[str] azurerm_subscription_name: The Subscription Name of the targets.
|
298
|
-
:param pulumi.Input['ServiceEndpointAzureRMCredentialsArgs'] credentials: A `credentials` block.
|
286
|
+
:param pulumi.Input['ServiceEndpointAzureRMCredentialsArgs'] credentials: A `credentials` block as defined below.
|
299
287
|
:param pulumi.Input[str] description: Service connection description.
|
300
288
|
:param pulumi.Input[str] environment: The Cloud Environment to use. Defaults to `AzureCloud`. Possible values are `AzureCloud`, `AzureChinaCloud`, `AzureUSGovernment`, `AzureGermanCloud` and `AzureStack`. Changing this forces a new resource to be created.
|
301
|
-
:param pulumi.Input['ServiceEndpointAzureRMFeaturesArgs'] features: A `features` block.
|
289
|
+
:param pulumi.Input['ServiceEndpointAzureRMFeaturesArgs'] features: A `features` block as defined below.
|
302
290
|
:param pulumi.Input[str] project_id: The ID of the project.
|
303
291
|
:param pulumi.Input[str] resource_group: The resource group used for scope of automatic service endpoint.
|
304
292
|
:param pulumi.Input[str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
305
293
|
|
306
294
|
> **NOTE:** One of either `Subscription` scoped i.e. `azurerm_subscription_id`, `azurerm_subscription_name` or `ManagementGroup` scoped i.e. `azurerm_management_group_id`, `azurerm_management_group_name` values must be specified.
|
307
|
-
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of
|
295
|
+
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of Azure Resource Manager Service Endpoint. Possible values are `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
|
308
296
|
|
309
297
|
> **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).
|
310
298
|
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint Name.
|
@@ -422,7 +410,7 @@ class _ServiceEndpointAzureRMState:
|
|
422
410
|
@pulumi.getter
|
423
411
|
def credentials(self) -> Optional[pulumi.Input['ServiceEndpointAzureRMCredentialsArgs']]:
|
424
412
|
"""
|
425
|
-
A `credentials` block.
|
413
|
+
A `credentials` block as defined below.
|
426
414
|
"""
|
427
415
|
return pulumi.get(self, "credentials")
|
428
416
|
|
@@ -458,7 +446,7 @@ class _ServiceEndpointAzureRMState:
|
|
458
446
|
@pulumi.getter
|
459
447
|
def features(self) -> Optional[pulumi.Input['ServiceEndpointAzureRMFeaturesArgs']]:
|
460
448
|
"""
|
461
|
-
A `features` block.
|
449
|
+
A `features` block as defined below.
|
462
450
|
"""
|
463
451
|
return pulumi.get(self, "features")
|
464
452
|
|
@@ -508,7 +496,7 @@ class _ServiceEndpointAzureRMState:
|
|
508
496
|
@pulumi.getter(name="serviceEndpointAuthenticationScheme")
|
509
497
|
def service_endpoint_authentication_scheme(self) -> Optional[pulumi.Input[str]]:
|
510
498
|
"""
|
511
|
-
Specifies the type of
|
499
|
+
Specifies the type of Azure Resource Manager Service Endpoint. Possible values are `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
|
512
500
|
|
513
501
|
> **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).
|
514
502
|
"""
|
@@ -572,7 +560,6 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
572
560
|
def __init__(__self__,
|
573
561
|
resource_name: str,
|
574
562
|
opts: Optional[pulumi.ResourceOptions] = None,
|
575
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
576
563
|
azurerm_management_group_id: Optional[pulumi.Input[str]] = None,
|
577
564
|
azurerm_management_group_name: Optional[pulumi.Input[str]] = None,
|
578
565
|
azurerm_spn_tenantid: Optional[pulumi.Input[str]] = None,
|
@@ -589,7 +576,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
589
576
|
service_endpoint_name: Optional[pulumi.Input[str]] = None,
|
590
577
|
__props__=None):
|
591
578
|
"""
|
592
|
-
Manages Manual or Automatic
|
579
|
+
Manages Manual or Automatic Azure Resource Manager service endpoint within Azure DevOps.
|
593
580
|
|
594
581
|
## Requirements (Manual AzureRM Service Endpoint)
|
595
582
|
|
@@ -758,7 +745,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
758
745
|
|
759
746
|
## Import
|
760
747
|
|
761
|
-
Azure DevOps
|
748
|
+
Azure DevOps Azure Resource Manager Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
762
749
|
|
763
750
|
```sh
|
764
751
|
$ pulumi import azuredevops:index/serviceEndpointAzureRM:ServiceEndpointAzureRM example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -771,16 +758,16 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
771
758
|
:param pulumi.Input[str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
772
759
|
:param pulumi.Input[str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
773
760
|
:param pulumi.Input[str] azurerm_subscription_name: The Subscription Name of the targets.
|
774
|
-
:param pulumi.Input[Union['ServiceEndpointAzureRMCredentialsArgs', 'ServiceEndpointAzureRMCredentialsArgsDict']] credentials: A `credentials` block.
|
761
|
+
:param pulumi.Input[Union['ServiceEndpointAzureRMCredentialsArgs', 'ServiceEndpointAzureRMCredentialsArgsDict']] credentials: A `credentials` block as defined below.
|
775
762
|
:param pulumi.Input[str] description: Service connection description.
|
776
763
|
:param pulumi.Input[str] environment: The Cloud Environment to use. Defaults to `AzureCloud`. Possible values are `AzureCloud`, `AzureChinaCloud`, `AzureUSGovernment`, `AzureGermanCloud` and `AzureStack`. Changing this forces a new resource to be created.
|
777
|
-
:param pulumi.Input[Union['ServiceEndpointAzureRMFeaturesArgs', 'ServiceEndpointAzureRMFeaturesArgsDict']] features: A `features` block.
|
764
|
+
:param pulumi.Input[Union['ServiceEndpointAzureRMFeaturesArgs', 'ServiceEndpointAzureRMFeaturesArgsDict']] features: A `features` block as defined below.
|
778
765
|
:param pulumi.Input[str] project_id: The ID of the project.
|
779
766
|
:param pulumi.Input[str] resource_group: The resource group used for scope of automatic service endpoint.
|
780
767
|
:param pulumi.Input[str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
781
768
|
|
782
769
|
> **NOTE:** One of either `Subscription` scoped i.e. `azurerm_subscription_id`, `azurerm_subscription_name` or `ManagementGroup` scoped i.e. `azurerm_management_group_id`, `azurerm_management_group_name` values must be specified.
|
783
|
-
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of
|
770
|
+
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of Azure Resource Manager Service Endpoint. Possible values are `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
|
784
771
|
|
785
772
|
> **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).
|
786
773
|
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint Name.
|
@@ -792,7 +779,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
792
779
|
args: ServiceEndpointAzureRMArgs,
|
793
780
|
opts: Optional[pulumi.ResourceOptions] = None):
|
794
781
|
"""
|
795
|
-
Manages Manual or Automatic
|
782
|
+
Manages Manual or Automatic Azure Resource Manager service endpoint within Azure DevOps.
|
796
783
|
|
797
784
|
## Requirements (Manual AzureRM Service Endpoint)
|
798
785
|
|
@@ -961,7 +948,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
961
948
|
|
962
949
|
## Import
|
963
950
|
|
964
|
-
Azure DevOps
|
951
|
+
Azure DevOps Azure Resource Manager Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
965
952
|
|
966
953
|
```sh
|
967
954
|
$ pulumi import azuredevops:index/serviceEndpointAzureRM:ServiceEndpointAzureRM example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -982,7 +969,6 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
982
969
|
def _internal_init(__self__,
|
983
970
|
resource_name: str,
|
984
971
|
opts: Optional[pulumi.ResourceOptions] = None,
|
985
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
986
972
|
azurerm_management_group_id: Optional[pulumi.Input[str]] = None,
|
987
973
|
azurerm_management_group_name: Optional[pulumi.Input[str]] = None,
|
988
974
|
azurerm_spn_tenantid: Optional[pulumi.Input[str]] = None,
|
@@ -1006,7 +992,6 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1006
992
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1007
993
|
__props__ = ServiceEndpointAzureRMArgs.__new__(ServiceEndpointAzureRMArgs)
|
1008
994
|
|
1009
|
-
__props__.__dict__["authorization"] = authorization
|
1010
995
|
__props__.__dict__["azurerm_management_group_id"] = azurerm_management_group_id
|
1011
996
|
__props__.__dict__["azurerm_management_group_name"] = azurerm_management_group_name
|
1012
997
|
if azurerm_spn_tenantid is None and not opts.urn:
|
@@ -1027,6 +1012,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1027
1012
|
if service_endpoint_name is None and not opts.urn:
|
1028
1013
|
raise TypeError("Missing required property 'service_endpoint_name'")
|
1029
1014
|
__props__.__dict__["service_endpoint_name"] = service_endpoint_name
|
1015
|
+
__props__.__dict__["authorization"] = None
|
1030
1016
|
__props__.__dict__["service_principal_id"] = None
|
1031
1017
|
__props__.__dict__["workload_identity_federation_issuer"] = None
|
1032
1018
|
__props__.__dict__["workload_identity_federation_subject"] = None
|
@@ -1070,16 +1056,16 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1070
1056
|
:param pulumi.Input[str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
1071
1057
|
:param pulumi.Input[str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
1072
1058
|
:param pulumi.Input[str] azurerm_subscription_name: The Subscription Name of the targets.
|
1073
|
-
:param pulumi.Input[Union['ServiceEndpointAzureRMCredentialsArgs', 'ServiceEndpointAzureRMCredentialsArgsDict']] credentials: A `credentials` block.
|
1059
|
+
:param pulumi.Input[Union['ServiceEndpointAzureRMCredentialsArgs', 'ServiceEndpointAzureRMCredentialsArgsDict']] credentials: A `credentials` block as defined below.
|
1074
1060
|
:param pulumi.Input[str] description: Service connection description.
|
1075
1061
|
:param pulumi.Input[str] environment: The Cloud Environment to use. Defaults to `AzureCloud`. Possible values are `AzureCloud`, `AzureChinaCloud`, `AzureUSGovernment`, `AzureGermanCloud` and `AzureStack`. Changing this forces a new resource to be created.
|
1076
|
-
:param pulumi.Input[Union['ServiceEndpointAzureRMFeaturesArgs', 'ServiceEndpointAzureRMFeaturesArgsDict']] features: A `features` block.
|
1062
|
+
:param pulumi.Input[Union['ServiceEndpointAzureRMFeaturesArgs', 'ServiceEndpointAzureRMFeaturesArgsDict']] features: A `features` block as defined below.
|
1077
1063
|
:param pulumi.Input[str] project_id: The ID of the project.
|
1078
1064
|
:param pulumi.Input[str] resource_group: The resource group used for scope of automatic service endpoint.
|
1079
1065
|
:param pulumi.Input[str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
1080
1066
|
|
1081
1067
|
> **NOTE:** One of either `Subscription` scoped i.e. `azurerm_subscription_id`, `azurerm_subscription_name` or `ManagementGroup` scoped i.e. `azurerm_management_group_id`, `azurerm_management_group_name` values must be specified.
|
1082
|
-
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of
|
1068
|
+
:param pulumi.Input[str] service_endpoint_authentication_scheme: Specifies the type of Azure Resource Manager Service Endpoint. Possible values are `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
|
1083
1069
|
|
1084
1070
|
> **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).
|
1085
1071
|
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint Name.
|
@@ -1160,7 +1146,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1160
1146
|
@pulumi.getter
|
1161
1147
|
def credentials(self) -> pulumi.Output[Optional['outputs.ServiceEndpointAzureRMCredentials']]:
|
1162
1148
|
"""
|
1163
|
-
A `credentials` block.
|
1149
|
+
A `credentials` block as defined below.
|
1164
1150
|
"""
|
1165
1151
|
return pulumi.get(self, "credentials")
|
1166
1152
|
|
@@ -1184,7 +1170,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1184
1170
|
@pulumi.getter
|
1185
1171
|
def features(self) -> pulumi.Output[Optional['outputs.ServiceEndpointAzureRMFeatures']]:
|
1186
1172
|
"""
|
1187
|
-
A `features` block.
|
1173
|
+
A `features` block as defined below.
|
1188
1174
|
"""
|
1189
1175
|
return pulumi.get(self, "features")
|
1190
1176
|
|
@@ -1218,7 +1204,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1218
1204
|
@pulumi.getter(name="serviceEndpointAuthenticationScheme")
|
1219
1205
|
def service_endpoint_authentication_scheme(self) -> pulumi.Output[Optional[str]]:
|
1220
1206
|
"""
|
1221
|
-
Specifies the type of
|
1207
|
+
Specifies the type of Azure Resource Manager Service Endpoint. Possible values are `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
|
1222
1208
|
|
1223
1209
|
> **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).
|
1224
1210
|
"""
|
@@ -23,7 +23,6 @@ class ServiceEndpointBitBucketArgs:
|
|
23
23
|
project_id: pulumi.Input[str],
|
24
24
|
service_endpoint_name: pulumi.Input[str],
|
25
25
|
username: pulumi.Input[str],
|
26
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
27
26
|
description: Optional[pulumi.Input[str]] = None):
|
28
27
|
"""
|
29
28
|
The set of arguments for constructing a ServiceEndpointBitBucket resource.
|
@@ -36,8 +35,6 @@ class ServiceEndpointBitBucketArgs:
|
|
36
35
|
pulumi.set(__self__, "project_id", project_id)
|
37
36
|
pulumi.set(__self__, "service_endpoint_name", service_endpoint_name)
|
38
37
|
pulumi.set(__self__, "username", username)
|
39
|
-
if authorization is not None:
|
40
|
-
pulumi.set(__self__, "authorization", authorization)
|
41
38
|
if description is not None:
|
42
39
|
pulumi.set(__self__, "description", description)
|
43
40
|
|
@@ -89,15 +86,6 @@ class ServiceEndpointBitBucketArgs:
|
|
89
86
|
def username(self, value: pulumi.Input[str]):
|
90
87
|
pulumi.set(self, "username", value)
|
91
88
|
|
92
|
-
@property
|
93
|
-
@pulumi.getter
|
94
|
-
def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
95
|
-
return pulumi.get(self, "authorization")
|
96
|
-
|
97
|
-
@authorization.setter
|
98
|
-
def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
99
|
-
pulumi.set(self, "authorization", value)
|
100
|
-
|
101
89
|
@property
|
102
90
|
@pulumi.getter
|
103
91
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -209,7 +197,6 @@ class ServiceEndpointBitBucket(pulumi.CustomResource):
|
|
209
197
|
def __init__(__self__,
|
210
198
|
resource_name: str,
|
211
199
|
opts: Optional[pulumi.ResourceOptions] = None,
|
212
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
213
200
|
description: Optional[pulumi.Input[str]] = None,
|
214
201
|
password: Optional[pulumi.Input[str]] = None,
|
215
202
|
project_id: Optional[pulumi.Input[str]] = None,
|
@@ -245,7 +232,7 @@ class ServiceEndpointBitBucket(pulumi.CustomResource):
|
|
245
232
|
|
246
233
|
## Import
|
247
234
|
|
248
|
-
Azure DevOps Service Endpoint
|
235
|
+
Azure DevOps Bitbucket Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
249
236
|
|
250
237
|
```sh
|
251
238
|
$ pulumi import azuredevops:index/serviceEndpointBitBucket:ServiceEndpointBitBucket example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -293,7 +280,7 @@ class ServiceEndpointBitBucket(pulumi.CustomResource):
|
|
293
280
|
|
294
281
|
## Import
|
295
282
|
|
296
|
-
Azure DevOps Service Endpoint
|
283
|
+
Azure DevOps Bitbucket Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
297
284
|
|
298
285
|
```sh
|
299
286
|
$ pulumi import azuredevops:index/serviceEndpointBitBucket:ServiceEndpointBitBucket example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -314,7 +301,6 @@ class ServiceEndpointBitBucket(pulumi.CustomResource):
|
|
314
301
|
def _internal_init(__self__,
|
315
302
|
resource_name: str,
|
316
303
|
opts: Optional[pulumi.ResourceOptions] = None,
|
317
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
318
304
|
description: Optional[pulumi.Input[str]] = None,
|
319
305
|
password: Optional[pulumi.Input[str]] = None,
|
320
306
|
project_id: Optional[pulumi.Input[str]] = None,
|
@@ -329,7 +315,6 @@ class ServiceEndpointBitBucket(pulumi.CustomResource):
|
|
329
315
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
330
316
|
__props__ = ServiceEndpointBitBucketArgs.__new__(ServiceEndpointBitBucketArgs)
|
331
317
|
|
332
|
-
__props__.__dict__["authorization"] = authorization
|
333
318
|
__props__.__dict__["description"] = description
|
334
319
|
if password is None and not opts.urn:
|
335
320
|
raise TypeError("Missing required property 'password'")
|
@@ -343,6 +328,7 @@ class ServiceEndpointBitBucket(pulumi.CustomResource):
|
|
343
328
|
if username is None and not opts.urn:
|
344
329
|
raise TypeError("Missing required property 'username'")
|
345
330
|
__props__.__dict__["username"] = username
|
331
|
+
__props__.__dict__["authorization"] = None
|
346
332
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
347
333
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
348
334
|
super(ServiceEndpointBitBucket, __self__).__init__(
|
@@ -23,7 +23,6 @@ class ServiceEndpointDockerRegistryArgs:
|
|
23
23
|
project_id: pulumi.Input[str],
|
24
24
|
registry_type: pulumi.Input[str],
|
25
25
|
service_endpoint_name: pulumi.Input[str],
|
26
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
27
26
|
description: Optional[pulumi.Input[str]] = None,
|
28
27
|
docker_email: Optional[pulumi.Input[str]] = None,
|
29
28
|
docker_password: Optional[pulumi.Input[str]] = None,
|
@@ -42,8 +41,6 @@ class ServiceEndpointDockerRegistryArgs:
|
|
42
41
|
pulumi.set(__self__, "project_id", project_id)
|
43
42
|
pulumi.set(__self__, "registry_type", registry_type)
|
44
43
|
pulumi.set(__self__, "service_endpoint_name", service_endpoint_name)
|
45
|
-
if authorization is not None:
|
46
|
-
pulumi.set(__self__, "authorization", authorization)
|
47
44
|
if description is not None:
|
48
45
|
pulumi.set(__self__, "description", description)
|
49
46
|
if docker_email is not None:
|
@@ -101,15 +98,6 @@ class ServiceEndpointDockerRegistryArgs:
|
|
101
98
|
def service_endpoint_name(self, value: pulumi.Input[str]):
|
102
99
|
pulumi.set(self, "service_endpoint_name", value)
|
103
100
|
|
104
|
-
@property
|
105
|
-
@pulumi.getter
|
106
|
-
def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
107
|
-
return pulumi.get(self, "authorization")
|
108
|
-
|
109
|
-
@authorization.setter
|
110
|
-
def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
111
|
-
pulumi.set(self, "authorization", value)
|
112
|
-
|
113
101
|
@property
|
114
102
|
@pulumi.getter
|
115
103
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -305,7 +293,6 @@ class ServiceEndpointDockerRegistry(pulumi.CustomResource):
|
|
305
293
|
def __init__(__self__,
|
306
294
|
resource_name: str,
|
307
295
|
opts: Optional[pulumi.ResourceOptions] = None,
|
308
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
309
296
|
description: Optional[pulumi.Input[str]] = None,
|
310
297
|
docker_email: Optional[pulumi.Input[str]] = None,
|
311
298
|
docker_password: Optional[pulumi.Input[str]] = None,
|
@@ -355,7 +342,7 @@ class ServiceEndpointDockerRegistry(pulumi.CustomResource):
|
|
355
342
|
|
356
343
|
## Import
|
357
344
|
|
358
|
-
Azure DevOps Service Endpoint
|
345
|
+
Azure DevOps Docker Registry Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
359
346
|
|
360
347
|
```sh
|
361
348
|
$ pulumi import azuredevops:index/serviceEndpointDockerRegistry:ServiceEndpointDockerRegistry example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -417,7 +404,7 @@ class ServiceEndpointDockerRegistry(pulumi.CustomResource):
|
|
417
404
|
|
418
405
|
## Import
|
419
406
|
|
420
|
-
Azure DevOps Service Endpoint
|
407
|
+
Azure DevOps Docker Registry Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
421
408
|
|
422
409
|
```sh
|
423
410
|
$ pulumi import azuredevops:index/serviceEndpointDockerRegistry:ServiceEndpointDockerRegistry example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -438,7 +425,6 @@ class ServiceEndpointDockerRegistry(pulumi.CustomResource):
|
|
438
425
|
def _internal_init(__self__,
|
439
426
|
resource_name: str,
|
440
427
|
opts: Optional[pulumi.ResourceOptions] = None,
|
441
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
442
428
|
description: Optional[pulumi.Input[str]] = None,
|
443
429
|
docker_email: Optional[pulumi.Input[str]] = None,
|
444
430
|
docker_password: Optional[pulumi.Input[str]] = None,
|
@@ -456,7 +442,6 @@ class ServiceEndpointDockerRegistry(pulumi.CustomResource):
|
|
456
442
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
457
443
|
__props__ = ServiceEndpointDockerRegistryArgs.__new__(ServiceEndpointDockerRegistryArgs)
|
458
444
|
|
459
|
-
__props__.__dict__["authorization"] = authorization
|
460
445
|
__props__.__dict__["description"] = description
|
461
446
|
__props__.__dict__["docker_email"] = docker_email
|
462
447
|
__props__.__dict__["docker_password"] = None if docker_password is None else pulumi.Output.secret(docker_password)
|
@@ -473,6 +458,7 @@ class ServiceEndpointDockerRegistry(pulumi.CustomResource):
|
|
473
458
|
if service_endpoint_name is None and not opts.urn:
|
474
459
|
raise TypeError("Missing required property 'service_endpoint_name'")
|
475
460
|
__props__.__dict__["service_endpoint_name"] = service_endpoint_name
|
461
|
+
__props__.__dict__["authorization"] = None
|
476
462
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["dockerPassword"])
|
477
463
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
478
464
|
super(ServiceEndpointDockerRegistry, __self__).__init__(
|