pulumi-azuredevops 3.8.0a1741843418__py3-none-any.whl → 3.9.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 +21 -0
- pulumi_azuredevops/_inputs.py +1492 -956
- pulumi_azuredevops/area_permissions.py +71 -70
- pulumi_azuredevops/branch_policy_auto_reviewers.py +43 -42
- pulumi_azuredevops/branch_policy_build_validation.py +43 -42
- pulumi_azuredevops/branch_policy_comment_resolution.py +43 -42
- pulumi_azuredevops/branch_policy_merge_types.py +43 -42
- pulumi_azuredevops/branch_policy_min_reviewers.py +43 -42
- pulumi_azuredevops/branch_policy_status_check.py +43 -42
- pulumi_azuredevops/branch_policy_work_item_linking.py +43 -42
- pulumi_azuredevops/build_definition.py +427 -91
- pulumi_azuredevops/build_definition_permissions.py +71 -70
- pulumi_azuredevops/build_folder.py +43 -42
- pulumi_azuredevops/build_folder_permissions.py +78 -70
- pulumi_azuredevops/check_approval.py +120 -119
- pulumi_azuredevops/check_branch_control.py +120 -119
- pulumi_azuredevops/check_business_hours.py +218 -217
- pulumi_azuredevops/check_exclusive_lock.py +64 -63
- pulumi_azuredevops/check_required_template.py +50 -49
- pulumi_azuredevops/check_rest_api.py +218 -217
- pulumi_azuredevops/config/__init__.py +1 -0
- pulumi_azuredevops/config/__init__.pyi +1 -0
- pulumi_azuredevops/config/vars.py +1 -0
- pulumi_azuredevops/dashboard.py +78 -77
- pulumi_azuredevops/elastic_pool.py +169 -168
- pulumi_azuredevops/environment.py +43 -42
- pulumi_azuredevops/environment_resource_kubernetes.py +99 -98
- pulumi_azuredevops/extension.py +426 -0
- pulumi_azuredevops/feed.py +29 -28
- pulumi_azuredevops/feed_permission.py +106 -77
- pulumi_azuredevops/feed_retention_policy.py +57 -56
- pulumi_azuredevops/get_agent_queue.py +13 -12
- pulumi_azuredevops/get_area.py +19 -18
- pulumi_azuredevops/get_build_definition.py +64 -21
- pulumi_azuredevops/get_client_config.py +64 -7
- pulumi_azuredevops/get_descriptor.py +8 -7
- pulumi_azuredevops/get_environment.py +18 -17
- pulumi_azuredevops/get_feed.py +17 -16
- pulumi_azuredevops/get_git_repository.py +20 -19
- pulumi_azuredevops/get_git_repository_file.py +201 -0
- pulumi_azuredevops/get_group.py +16 -15
- pulumi_azuredevops/get_group_membership.py +132 -0
- pulumi_azuredevops/get_groups.py +7 -6
- pulumi_azuredevops/get_identity_group.py +14 -13
- pulumi_azuredevops/get_identity_groups.py +7 -6
- pulumi_azuredevops/get_identity_users.py +14 -13
- pulumi_azuredevops/get_iteration.py +19 -18
- pulumi_azuredevops/get_pool.py +10 -9
- pulumi_azuredevops/get_pools.py +2 -1
- pulumi_azuredevops/get_project.py +18 -17
- pulumi_azuredevops/get_projects.py +12 -11
- pulumi_azuredevops/get_repositories.py +17 -16
- pulumi_azuredevops/get_securityrole_definitions.py +7 -6
- pulumi_azuredevops/get_service_endpoint_azure_rm.py +31 -30
- pulumi_azuredevops/get_service_endpoint_github.py +19 -18
- pulumi_azuredevops/get_service_principal.py +10 -9
- pulumi_azuredevops/get_serviceendpoint_azurecr.py +29 -28
- pulumi_azuredevops/get_serviceendpoint_bitbucket.py +19 -18
- pulumi_azuredevops/get_serviceendpoint_npm.py +20 -19
- pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +19 -18
- pulumi_azuredevops/get_storage_key.py +8 -7
- pulumi_azuredevops/get_team.py +21 -20
- pulumi_azuredevops/get_teams.py +14 -13
- pulumi_azuredevops/get_user.py +14 -13
- pulumi_azuredevops/get_users.py +88 -21
- pulumi_azuredevops/get_variable_group.py +14 -13
- pulumi_azuredevops/git.py +113 -112
- pulumi_azuredevops/git_permissions.py +85 -84
- pulumi_azuredevops/git_repository_branch.py +78 -77
- pulumi_azuredevops/git_repository_file.py +342 -85
- pulumi_azuredevops/group.py +134 -133
- pulumi_azuredevops/group_entitlement.py +85 -84
- pulumi_azuredevops/group_membership.py +43 -42
- pulumi_azuredevops/iterative_permissions.py +71 -70
- pulumi_azuredevops/library_permissions.py +57 -56
- pulumi_azuredevops/outputs.py +1569 -918
- pulumi_azuredevops/pipeline_authorization.py +71 -70
- pulumi_azuredevops/pool.py +57 -56
- pulumi_azuredevops/project.py +92 -91
- pulumi_azuredevops/project_features.py +25 -24
- pulumi_azuredevops/project_permissions.py +57 -56
- pulumi_azuredevops/project_pipeline_settings.py +99 -98
- pulumi_azuredevops/project_tags.py +29 -28
- pulumi_azuredevops/provider.py +157 -156
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/queue.py +43 -42
- pulumi_azuredevops/repository_policy_author_email_pattern.py +71 -70
- pulumi_azuredevops/repository_policy_case_enforcement.py +71 -70
- pulumi_azuredevops/repository_policy_check_credentials.py +57 -56
- pulumi_azuredevops/repository_policy_file_path_pattern.py +71 -70
- pulumi_azuredevops/repository_policy_max_file_size.py +71 -70
- pulumi_azuredevops/repository_policy_max_path_length.py +71 -70
- pulumi_azuredevops/repository_policy_reserved_names.py +57 -56
- pulumi_azuredevops/resource_authorization.py +71 -70
- pulumi_azuredevops/securityrole_assignment.py +57 -56
- pulumi_azuredevops/service_endpoint_artifactory.py +62 -61
- pulumi_azuredevops/service_endpoint_aws.py +144 -143
- pulumi_azuredevops/service_endpoint_azure_dev_ops.py +86 -85
- pulumi_azuredevops/service_endpoint_azure_ecr.py +175 -174
- pulumi_azuredevops/service_endpoint_azure_rm.py +203 -194
- pulumi_azuredevops/service_endpoint_bit_bucket.py +72 -71
- pulumi_azuredevops/service_endpoint_docker_registry.py +114 -113
- pulumi_azuredevops/service_endpoint_generic.py +86 -85
- pulumi_azuredevops/service_endpoint_generic_git.py +100 -99
- pulumi_azuredevops/service_endpoint_git_hub.py +44 -43
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +174 -82
- pulumi_azuredevops/service_endpoint_git_lab.py +86 -85
- pulumi_azuredevops/service_endpoint_kubernetes.py +72 -71
- pulumi_azuredevops/service_endpoint_npm.py +76 -75
- pulumi_azuredevops/service_endpoint_pipeline.py +58 -57
- pulumi_azuredevops/service_endpoint_service_fabric.py +58 -57
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +62 -61
- pulumi_azuredevops/service_endpoint_sonar_qube.py +76 -75
- pulumi_azuredevops/service_endpoint_ssh.py +114 -113
- pulumi_azuredevops/service_principal_entitlement.py +71 -70
- pulumi_azuredevops/serviceendpoint_argocd.py +62 -61
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +72 -71
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +114 -113
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +114 -113
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +142 -141
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +114 -113
- pulumi_azuredevops/serviceendpoint_externaltfs.py +58 -57
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +116 -115
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +86 -85
- pulumi_azuredevops/serviceendpoint_jenkins.py +100 -99
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_maven.py +72 -71
- pulumi_azuredevops/serviceendpoint_nexus.py +86 -85
- pulumi_azuredevops/serviceendpoint_nuget.py +114 -113
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +86 -85
- pulumi_azuredevops/serviceendpoint_openshift.py +688 -0
- pulumi_azuredevops/serviceendpoint_permissions.py +71 -70
- pulumi_azuredevops/serviceendpoint_snyk.py +72 -71
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +58 -57
- pulumi_azuredevops/servicehook_permissions.py +57 -56
- pulumi_azuredevops/servicehook_storage_queue_pipelines.py +85 -84
- pulumi_azuredevops/tagging_permissions.py +57 -56
- pulumi_azuredevops/team.py +78 -77
- pulumi_azuredevops/team_administrators.py +57 -56
- pulumi_azuredevops/team_members.py +57 -56
- pulumi_azuredevops/user.py +78 -77
- pulumi_azuredevops/variable_group.py +57 -56
- pulumi_azuredevops/variable_group_permissions.py +71 -70
- pulumi_azuredevops/wiki.py +99 -98
- pulumi_azuredevops/wiki_page.py +67 -66
- pulumi_azuredevops/work_item_query_permissions.py +71 -70
- pulumi_azuredevops/workitem.py +113 -112
- {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0.dist-info}/METADATA +2 -2
- pulumi_azuredevops-3.9.0.dist-info/RECORD +156 -0
- {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0.dist-info}/WHEEL +1 -1
- pulumi_azuredevops-3.8.0a1741843418.dist-info/RECORD +0 -152
- {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,38 +22,38 @@ __all__ = ['ServiceEndpointAzureRMArgs', 'ServiceEndpointAzureRM']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class ServiceEndpointAzureRMArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
azurerm_spn_tenantid: pulumi.Input[str],
|
25
|
-
project_id: pulumi.Input[str],
|
26
|
-
service_endpoint_name: pulumi.Input[str],
|
27
|
-
azurerm_management_group_id: Optional[pulumi.Input[str]] = None,
|
28
|
-
azurerm_management_group_name: Optional[pulumi.Input[str]] = None,
|
29
|
-
azurerm_subscription_id: Optional[pulumi.Input[str]] = None,
|
30
|
-
azurerm_subscription_name: Optional[pulumi.Input[str]] = None,
|
25
|
+
azurerm_spn_tenantid: pulumi.Input[builtins.str],
|
26
|
+
project_id: pulumi.Input[builtins.str],
|
27
|
+
service_endpoint_name: pulumi.Input[builtins.str],
|
28
|
+
azurerm_management_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
29
|
+
azurerm_management_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
30
|
+
azurerm_subscription_id: Optional[pulumi.Input[builtins.str]] = None,
|
31
|
+
azurerm_subscription_name: Optional[pulumi.Input[builtins.str]] = None,
|
31
32
|
credentials: Optional[pulumi.Input['ServiceEndpointAzureRMCredentialsArgs']] = None,
|
32
|
-
description: Optional[pulumi.Input[str]] = None,
|
33
|
-
environment: Optional[pulumi.Input[str]] = None,
|
33
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
34
|
+
environment: Optional[pulumi.Input[builtins.str]] = None,
|
34
35
|
features: Optional[pulumi.Input['ServiceEndpointAzureRMFeaturesArgs']] = None,
|
35
|
-
resource_group: Optional[pulumi.Input[str]] = None,
|
36
|
-
server_url: Optional[pulumi.Input[str]] = None,
|
37
|
-
service_endpoint_authentication_scheme: Optional[pulumi.Input[str]] = None):
|
36
|
+
resource_group: Optional[pulumi.Input[builtins.str]] = None,
|
37
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
38
|
+
service_endpoint_authentication_scheme: Optional[pulumi.Input[builtins.str]] = None):
|
38
39
|
"""
|
39
40
|
The set of arguments for constructing a ServiceEndpointAzureRM resource.
|
40
|
-
:param pulumi.Input[str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
41
|
-
:param pulumi.Input[str] project_id: The ID of the project.
|
42
|
-
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint Name.
|
43
|
-
:param pulumi.Input[str] azurerm_management_group_id: The Management group ID of the Azure targets.
|
44
|
-
:param pulumi.Input[str] azurerm_management_group_name: The Management group Name of the targets.
|
45
|
-
:param pulumi.Input[str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
46
|
-
:param pulumi.Input[str] azurerm_subscription_name: The Subscription Name of the targets.
|
41
|
+
:param pulumi.Input[builtins.str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
42
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
43
|
+
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint Name.
|
44
|
+
:param pulumi.Input[builtins.str] azurerm_management_group_id: The Management group ID of the Azure targets.
|
45
|
+
:param pulumi.Input[builtins.str] azurerm_management_group_name: The Management group Name of the targets.
|
46
|
+
:param pulumi.Input[builtins.str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
47
|
+
:param pulumi.Input[builtins.str] azurerm_subscription_name: The Subscription Name of the targets.
|
47
48
|
:param pulumi.Input['ServiceEndpointAzureRMCredentialsArgs'] credentials: A `credentials` block as defined below.
|
48
|
-
:param pulumi.Input[str] description: Service connection description.
|
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.
|
49
|
+
:param pulumi.Input[builtins.str] description: Service connection description.
|
50
|
+
:param pulumi.Input[builtins.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.
|
50
51
|
:param pulumi.Input['ServiceEndpointAzureRMFeaturesArgs'] features: A `features` block as defined below.
|
51
|
-
:param pulumi.Input[str] resource_group: The resource group used for scope of automatic service endpoint.
|
52
|
-
:param pulumi.Input[str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
52
|
+
:param pulumi.Input[builtins.str] resource_group: The resource group used for scope of automatic service endpoint.
|
53
|
+
:param pulumi.Input[builtins.str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
53
54
|
|
54
55
|
> **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.
|
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.
|
56
|
+
:param pulumi.Input[builtins.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.
|
56
57
|
|
57
58
|
> **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).
|
58
59
|
"""
|
@@ -84,86 +85,86 @@ class ServiceEndpointAzureRMArgs:
|
|
84
85
|
|
85
86
|
@property
|
86
87
|
@pulumi.getter(name="azurermSpnTenantid")
|
87
|
-
def azurerm_spn_tenantid(self) -> pulumi.Input[str]:
|
88
|
+
def azurerm_spn_tenantid(self) -> pulumi.Input[builtins.str]:
|
88
89
|
"""
|
89
90
|
The Tenant ID of the service principal.
|
90
91
|
"""
|
91
92
|
return pulumi.get(self, "azurerm_spn_tenantid")
|
92
93
|
|
93
94
|
@azurerm_spn_tenantid.setter
|
94
|
-
def azurerm_spn_tenantid(self, value: pulumi.Input[str]):
|
95
|
+
def azurerm_spn_tenantid(self, value: pulumi.Input[builtins.str]):
|
95
96
|
pulumi.set(self, "azurerm_spn_tenantid", value)
|
96
97
|
|
97
98
|
@property
|
98
99
|
@pulumi.getter(name="projectId")
|
99
|
-
def project_id(self) -> pulumi.Input[str]:
|
100
|
+
def project_id(self) -> pulumi.Input[builtins.str]:
|
100
101
|
"""
|
101
102
|
The ID of the project.
|
102
103
|
"""
|
103
104
|
return pulumi.get(self, "project_id")
|
104
105
|
|
105
106
|
@project_id.setter
|
106
|
-
def project_id(self, value: pulumi.Input[str]):
|
107
|
+
def project_id(self, value: pulumi.Input[builtins.str]):
|
107
108
|
pulumi.set(self, "project_id", value)
|
108
109
|
|
109
110
|
@property
|
110
111
|
@pulumi.getter(name="serviceEndpointName")
|
111
|
-
def service_endpoint_name(self) -> pulumi.Input[str]:
|
112
|
+
def service_endpoint_name(self) -> pulumi.Input[builtins.str]:
|
112
113
|
"""
|
113
114
|
The Service Endpoint Name.
|
114
115
|
"""
|
115
116
|
return pulumi.get(self, "service_endpoint_name")
|
116
117
|
|
117
118
|
@service_endpoint_name.setter
|
118
|
-
def service_endpoint_name(self, value: pulumi.Input[str]):
|
119
|
+
def service_endpoint_name(self, value: pulumi.Input[builtins.str]):
|
119
120
|
pulumi.set(self, "service_endpoint_name", value)
|
120
121
|
|
121
122
|
@property
|
122
123
|
@pulumi.getter(name="azurermManagementGroupId")
|
123
|
-
def azurerm_management_group_id(self) -> Optional[pulumi.Input[str]]:
|
124
|
+
def azurerm_management_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
124
125
|
"""
|
125
126
|
The Management group ID of the Azure targets.
|
126
127
|
"""
|
127
128
|
return pulumi.get(self, "azurerm_management_group_id")
|
128
129
|
|
129
130
|
@azurerm_management_group_id.setter
|
130
|
-
def azurerm_management_group_id(self, value: Optional[pulumi.Input[str]]):
|
131
|
+
def azurerm_management_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
131
132
|
pulumi.set(self, "azurerm_management_group_id", value)
|
132
133
|
|
133
134
|
@property
|
134
135
|
@pulumi.getter(name="azurermManagementGroupName")
|
135
|
-
def azurerm_management_group_name(self) -> Optional[pulumi.Input[str]]:
|
136
|
+
def azurerm_management_group_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
136
137
|
"""
|
137
138
|
The Management group Name of the targets.
|
138
139
|
"""
|
139
140
|
return pulumi.get(self, "azurerm_management_group_name")
|
140
141
|
|
141
142
|
@azurerm_management_group_name.setter
|
142
|
-
def azurerm_management_group_name(self, value: Optional[pulumi.Input[str]]):
|
143
|
+
def azurerm_management_group_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
143
144
|
pulumi.set(self, "azurerm_management_group_name", value)
|
144
145
|
|
145
146
|
@property
|
146
147
|
@pulumi.getter(name="azurermSubscriptionId")
|
147
|
-
def azurerm_subscription_id(self) -> Optional[pulumi.Input[str]]:
|
148
|
+
def azurerm_subscription_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
148
149
|
"""
|
149
150
|
The Subscription ID of the Azure targets.
|
150
151
|
"""
|
151
152
|
return pulumi.get(self, "azurerm_subscription_id")
|
152
153
|
|
153
154
|
@azurerm_subscription_id.setter
|
154
|
-
def azurerm_subscription_id(self, value: Optional[pulumi.Input[str]]):
|
155
|
+
def azurerm_subscription_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
155
156
|
pulumi.set(self, "azurerm_subscription_id", value)
|
156
157
|
|
157
158
|
@property
|
158
159
|
@pulumi.getter(name="azurermSubscriptionName")
|
159
|
-
def azurerm_subscription_name(self) -> Optional[pulumi.Input[str]]:
|
160
|
+
def azurerm_subscription_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
160
161
|
"""
|
161
162
|
The Subscription Name of the targets.
|
162
163
|
"""
|
163
164
|
return pulumi.get(self, "azurerm_subscription_name")
|
164
165
|
|
165
166
|
@azurerm_subscription_name.setter
|
166
|
-
def azurerm_subscription_name(self, value: Optional[pulumi.Input[str]]):
|
167
|
+
def azurerm_subscription_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
167
168
|
pulumi.set(self, "azurerm_subscription_name", value)
|
168
169
|
|
169
170
|
@property
|
@@ -180,26 +181,26 @@ class ServiceEndpointAzureRMArgs:
|
|
180
181
|
|
181
182
|
@property
|
182
183
|
@pulumi.getter
|
183
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
184
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
184
185
|
"""
|
185
186
|
Service connection description.
|
186
187
|
"""
|
187
188
|
return pulumi.get(self, "description")
|
188
189
|
|
189
190
|
@description.setter
|
190
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
191
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
191
192
|
pulumi.set(self, "description", value)
|
192
193
|
|
193
194
|
@property
|
194
195
|
@pulumi.getter
|
195
|
-
def environment(self) -> Optional[pulumi.Input[str]]:
|
196
|
+
def environment(self) -> Optional[pulumi.Input[builtins.str]]:
|
196
197
|
"""
|
197
198
|
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.
|
198
199
|
"""
|
199
200
|
return pulumi.get(self, "environment")
|
200
201
|
|
201
202
|
@environment.setter
|
202
|
-
def environment(self, value: Optional[pulumi.Input[str]]):
|
203
|
+
def environment(self, value: Optional[pulumi.Input[builtins.str]]):
|
203
204
|
pulumi.set(self, "environment", value)
|
204
205
|
|
205
206
|
@property
|
@@ -216,19 +217,19 @@ class ServiceEndpointAzureRMArgs:
|
|
216
217
|
|
217
218
|
@property
|
218
219
|
@pulumi.getter(name="resourceGroup")
|
219
|
-
def resource_group(self) -> Optional[pulumi.Input[str]]:
|
220
|
+
def resource_group(self) -> Optional[pulumi.Input[builtins.str]]:
|
220
221
|
"""
|
221
222
|
The resource group used for scope of automatic service endpoint.
|
222
223
|
"""
|
223
224
|
return pulumi.get(self, "resource_group")
|
224
225
|
|
225
226
|
@resource_group.setter
|
226
|
-
def resource_group(self, value: Optional[pulumi.Input[str]]):
|
227
|
+
def resource_group(self, value: Optional[pulumi.Input[builtins.str]]):
|
227
228
|
pulumi.set(self, "resource_group", value)
|
228
229
|
|
229
230
|
@property
|
230
231
|
@pulumi.getter(name="serverUrl")
|
231
|
-
def server_url(self) -> Optional[pulumi.Input[str]]:
|
232
|
+
def server_url(self) -> Optional[pulumi.Input[builtins.str]]:
|
232
233
|
"""
|
233
234
|
The server URL of the service endpoint. Changing this forces a new resource to be created.
|
234
235
|
|
@@ -237,12 +238,12 @@ class ServiceEndpointAzureRMArgs:
|
|
237
238
|
return pulumi.get(self, "server_url")
|
238
239
|
|
239
240
|
@server_url.setter
|
240
|
-
def server_url(self, value: Optional[pulumi.Input[str]]):
|
241
|
+
def server_url(self, value: Optional[pulumi.Input[builtins.str]]):
|
241
242
|
pulumi.set(self, "server_url", value)
|
242
243
|
|
243
244
|
@property
|
244
245
|
@pulumi.getter(name="serviceEndpointAuthenticationScheme")
|
245
|
-
def service_endpoint_authentication_scheme(self) -> Optional[pulumi.Input[str]]:
|
246
|
+
def service_endpoint_authentication_scheme(self) -> Optional[pulumi.Input[builtins.str]]:
|
246
247
|
"""
|
247
248
|
Specifies the type of Azure Resource Manager Service Endpoint. Possible values are `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
|
248
249
|
|
@@ -251,54 +252,54 @@ class ServiceEndpointAzureRMArgs:
|
|
251
252
|
return pulumi.get(self, "service_endpoint_authentication_scheme")
|
252
253
|
|
253
254
|
@service_endpoint_authentication_scheme.setter
|
254
|
-
def service_endpoint_authentication_scheme(self, value: Optional[pulumi.Input[str]]):
|
255
|
+
def service_endpoint_authentication_scheme(self, value: Optional[pulumi.Input[builtins.str]]):
|
255
256
|
pulumi.set(self, "service_endpoint_authentication_scheme", value)
|
256
257
|
|
257
258
|
|
258
259
|
@pulumi.input_type
|
259
260
|
class _ServiceEndpointAzureRMState:
|
260
261
|
def __init__(__self__, *,
|
261
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
262
|
-
azurerm_management_group_id: Optional[pulumi.Input[str]] = None,
|
263
|
-
azurerm_management_group_name: Optional[pulumi.Input[str]] = None,
|
264
|
-
azurerm_spn_tenantid: Optional[pulumi.Input[str]] = None,
|
265
|
-
azurerm_subscription_id: Optional[pulumi.Input[str]] = None,
|
266
|
-
azurerm_subscription_name: Optional[pulumi.Input[str]] = None,
|
262
|
+
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
263
|
+
azurerm_management_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
264
|
+
azurerm_management_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
265
|
+
azurerm_spn_tenantid: Optional[pulumi.Input[builtins.str]] = None,
|
266
|
+
azurerm_subscription_id: Optional[pulumi.Input[builtins.str]] = None,
|
267
|
+
azurerm_subscription_name: Optional[pulumi.Input[builtins.str]] = None,
|
267
268
|
credentials: Optional[pulumi.Input['ServiceEndpointAzureRMCredentialsArgs']] = None,
|
268
|
-
description: Optional[pulumi.Input[str]] = None,
|
269
|
-
environment: Optional[pulumi.Input[str]] = None,
|
269
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
270
|
+
environment: Optional[pulumi.Input[builtins.str]] = None,
|
270
271
|
features: Optional[pulumi.Input['ServiceEndpointAzureRMFeaturesArgs']] = None,
|
271
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
272
|
-
resource_group: Optional[pulumi.Input[str]] = None,
|
273
|
-
server_url: Optional[pulumi.Input[str]] = None,
|
274
|
-
service_endpoint_authentication_scheme: Optional[pulumi.Input[str]] = None,
|
275
|
-
service_endpoint_name: Optional[pulumi.Input[str]] = None,
|
276
|
-
service_principal_id: Optional[pulumi.Input[str]] = None,
|
277
|
-
workload_identity_federation_issuer: Optional[pulumi.Input[str]] = None,
|
278
|
-
workload_identity_federation_subject: Optional[pulumi.Input[str]] = None):
|
272
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
273
|
+
resource_group: Optional[pulumi.Input[builtins.str]] = None,
|
274
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
275
|
+
service_endpoint_authentication_scheme: Optional[pulumi.Input[builtins.str]] = None,
|
276
|
+
service_endpoint_name: Optional[pulumi.Input[builtins.str]] = None,
|
277
|
+
service_principal_id: Optional[pulumi.Input[builtins.str]] = None,
|
278
|
+
workload_identity_federation_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
279
|
+
workload_identity_federation_subject: Optional[pulumi.Input[builtins.str]] = None):
|
279
280
|
"""
|
280
281
|
Input properties used for looking up and filtering ServiceEndpointAzureRM resources.
|
281
|
-
:param pulumi.Input[str] azurerm_management_group_id: The Management group ID of the Azure targets.
|
282
|
-
:param pulumi.Input[str] azurerm_management_group_name: The Management group Name of the targets.
|
283
|
-
:param pulumi.Input[str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
284
|
-
:param pulumi.Input[str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
285
|
-
:param pulumi.Input[str] azurerm_subscription_name: The Subscription Name of the targets.
|
282
|
+
:param pulumi.Input[builtins.str] azurerm_management_group_id: The Management group ID of the Azure targets.
|
283
|
+
:param pulumi.Input[builtins.str] azurerm_management_group_name: The Management group Name of the targets.
|
284
|
+
:param pulumi.Input[builtins.str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
285
|
+
:param pulumi.Input[builtins.str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
286
|
+
:param pulumi.Input[builtins.str] azurerm_subscription_name: The Subscription Name of the targets.
|
286
287
|
:param pulumi.Input['ServiceEndpointAzureRMCredentialsArgs'] credentials: A `credentials` block as defined below.
|
287
|
-
:param pulumi.Input[str] description: Service connection description.
|
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.
|
288
|
+
:param pulumi.Input[builtins.str] description: Service connection description.
|
289
|
+
:param pulumi.Input[builtins.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.
|
289
290
|
:param pulumi.Input['ServiceEndpointAzureRMFeaturesArgs'] features: A `features` block as defined below.
|
290
|
-
:param pulumi.Input[str] project_id: The ID of the project.
|
291
|
-
:param pulumi.Input[str] resource_group: The resource group used for scope of automatic service endpoint.
|
292
|
-
:param pulumi.Input[str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
291
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
292
|
+
:param pulumi.Input[builtins.str] resource_group: The resource group used for scope of automatic service endpoint.
|
293
|
+
:param pulumi.Input[builtins.str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
293
294
|
|
294
295
|
> **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.
|
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.
|
296
|
+
:param pulumi.Input[builtins.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.
|
296
297
|
|
297
298
|
> **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).
|
298
|
-
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint Name.
|
299
|
-
:param pulumi.Input[str] service_principal_id: The Application(Client) ID of the Service Principal.
|
300
|
-
:param pulumi.Input[str] workload_identity_federation_issuer: The issuer if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000`, where the GUID is the Organization ID of your Azure DevOps Organisation.
|
301
|
-
:param pulumi.Input[str] workload_identity_federation_subject: The subject if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `sc://<organisation>/<project>/<service-connection-name>`.
|
299
|
+
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint Name.
|
300
|
+
:param pulumi.Input[builtins.str] service_principal_id: The Application(Client) ID of the Service Principal.
|
301
|
+
:param pulumi.Input[builtins.str] workload_identity_federation_issuer: The issuer if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000`, where the GUID is the Organization ID of your Azure DevOps Organisation.
|
302
|
+
:param pulumi.Input[builtins.str] workload_identity_federation_subject: The subject if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `sc://<organisation>/<project>/<service-connection-name>`.
|
302
303
|
"""
|
303
304
|
if authorization is not None:
|
304
305
|
pulumi.set(__self__, "authorization", authorization)
|
@@ -339,71 +340,71 @@ class _ServiceEndpointAzureRMState:
|
|
339
340
|
|
340
341
|
@property
|
341
342
|
@pulumi.getter
|
342
|
-
def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
343
|
+
def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
343
344
|
return pulumi.get(self, "authorization")
|
344
345
|
|
345
346
|
@authorization.setter
|
346
|
-
def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
347
|
+
def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
347
348
|
pulumi.set(self, "authorization", value)
|
348
349
|
|
349
350
|
@property
|
350
351
|
@pulumi.getter(name="azurermManagementGroupId")
|
351
|
-
def azurerm_management_group_id(self) -> Optional[pulumi.Input[str]]:
|
352
|
+
def azurerm_management_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
352
353
|
"""
|
353
354
|
The Management group ID of the Azure targets.
|
354
355
|
"""
|
355
356
|
return pulumi.get(self, "azurerm_management_group_id")
|
356
357
|
|
357
358
|
@azurerm_management_group_id.setter
|
358
|
-
def azurerm_management_group_id(self, value: Optional[pulumi.Input[str]]):
|
359
|
+
def azurerm_management_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
359
360
|
pulumi.set(self, "azurerm_management_group_id", value)
|
360
361
|
|
361
362
|
@property
|
362
363
|
@pulumi.getter(name="azurermManagementGroupName")
|
363
|
-
def azurerm_management_group_name(self) -> Optional[pulumi.Input[str]]:
|
364
|
+
def azurerm_management_group_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
364
365
|
"""
|
365
366
|
The Management group Name of the targets.
|
366
367
|
"""
|
367
368
|
return pulumi.get(self, "azurerm_management_group_name")
|
368
369
|
|
369
370
|
@azurerm_management_group_name.setter
|
370
|
-
def azurerm_management_group_name(self, value: Optional[pulumi.Input[str]]):
|
371
|
+
def azurerm_management_group_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
371
372
|
pulumi.set(self, "azurerm_management_group_name", value)
|
372
373
|
|
373
374
|
@property
|
374
375
|
@pulumi.getter(name="azurermSpnTenantid")
|
375
|
-
def azurerm_spn_tenantid(self) -> Optional[pulumi.Input[str]]:
|
376
|
+
def azurerm_spn_tenantid(self) -> Optional[pulumi.Input[builtins.str]]:
|
376
377
|
"""
|
377
378
|
The Tenant ID of the service principal.
|
378
379
|
"""
|
379
380
|
return pulumi.get(self, "azurerm_spn_tenantid")
|
380
381
|
|
381
382
|
@azurerm_spn_tenantid.setter
|
382
|
-
def azurerm_spn_tenantid(self, value: Optional[pulumi.Input[str]]):
|
383
|
+
def azurerm_spn_tenantid(self, value: Optional[pulumi.Input[builtins.str]]):
|
383
384
|
pulumi.set(self, "azurerm_spn_tenantid", value)
|
384
385
|
|
385
386
|
@property
|
386
387
|
@pulumi.getter(name="azurermSubscriptionId")
|
387
|
-
def azurerm_subscription_id(self) -> Optional[pulumi.Input[str]]:
|
388
|
+
def azurerm_subscription_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
388
389
|
"""
|
389
390
|
The Subscription ID of the Azure targets.
|
390
391
|
"""
|
391
392
|
return pulumi.get(self, "azurerm_subscription_id")
|
392
393
|
|
393
394
|
@azurerm_subscription_id.setter
|
394
|
-
def azurerm_subscription_id(self, value: Optional[pulumi.Input[str]]):
|
395
|
+
def azurerm_subscription_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
395
396
|
pulumi.set(self, "azurerm_subscription_id", value)
|
396
397
|
|
397
398
|
@property
|
398
399
|
@pulumi.getter(name="azurermSubscriptionName")
|
399
|
-
def azurerm_subscription_name(self) -> Optional[pulumi.Input[str]]:
|
400
|
+
def azurerm_subscription_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
400
401
|
"""
|
401
402
|
The Subscription Name of the targets.
|
402
403
|
"""
|
403
404
|
return pulumi.get(self, "azurerm_subscription_name")
|
404
405
|
|
405
406
|
@azurerm_subscription_name.setter
|
406
|
-
def azurerm_subscription_name(self, value: Optional[pulumi.Input[str]]):
|
407
|
+
def azurerm_subscription_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
407
408
|
pulumi.set(self, "azurerm_subscription_name", value)
|
408
409
|
|
409
410
|
@property
|
@@ -420,26 +421,26 @@ class _ServiceEndpointAzureRMState:
|
|
420
421
|
|
421
422
|
@property
|
422
423
|
@pulumi.getter
|
423
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
424
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
424
425
|
"""
|
425
426
|
Service connection description.
|
426
427
|
"""
|
427
428
|
return pulumi.get(self, "description")
|
428
429
|
|
429
430
|
@description.setter
|
430
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
431
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
431
432
|
pulumi.set(self, "description", value)
|
432
433
|
|
433
434
|
@property
|
434
435
|
@pulumi.getter
|
435
|
-
def environment(self) -> Optional[pulumi.Input[str]]:
|
436
|
+
def environment(self) -> Optional[pulumi.Input[builtins.str]]:
|
436
437
|
"""
|
437
438
|
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.
|
438
439
|
"""
|
439
440
|
return pulumi.get(self, "environment")
|
440
441
|
|
441
442
|
@environment.setter
|
442
|
-
def environment(self, value: Optional[pulumi.Input[str]]):
|
443
|
+
def environment(self, value: Optional[pulumi.Input[builtins.str]]):
|
443
444
|
pulumi.set(self, "environment", value)
|
444
445
|
|
445
446
|
@property
|
@@ -456,31 +457,31 @@ class _ServiceEndpointAzureRMState:
|
|
456
457
|
|
457
458
|
@property
|
458
459
|
@pulumi.getter(name="projectId")
|
459
|
-
def project_id(self) -> Optional[pulumi.Input[str]]:
|
460
|
+
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
460
461
|
"""
|
461
462
|
The ID of the project.
|
462
463
|
"""
|
463
464
|
return pulumi.get(self, "project_id")
|
464
465
|
|
465
466
|
@project_id.setter
|
466
|
-
def project_id(self, value: Optional[pulumi.Input[str]]):
|
467
|
+
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
467
468
|
pulumi.set(self, "project_id", value)
|
468
469
|
|
469
470
|
@property
|
470
471
|
@pulumi.getter(name="resourceGroup")
|
471
|
-
def resource_group(self) -> Optional[pulumi.Input[str]]:
|
472
|
+
def resource_group(self) -> Optional[pulumi.Input[builtins.str]]:
|
472
473
|
"""
|
473
474
|
The resource group used for scope of automatic service endpoint.
|
474
475
|
"""
|
475
476
|
return pulumi.get(self, "resource_group")
|
476
477
|
|
477
478
|
@resource_group.setter
|
478
|
-
def resource_group(self, value: Optional[pulumi.Input[str]]):
|
479
|
+
def resource_group(self, value: Optional[pulumi.Input[builtins.str]]):
|
479
480
|
pulumi.set(self, "resource_group", value)
|
480
481
|
|
481
482
|
@property
|
482
483
|
@pulumi.getter(name="serverUrl")
|
483
|
-
def server_url(self) -> Optional[pulumi.Input[str]]:
|
484
|
+
def server_url(self) -> Optional[pulumi.Input[builtins.str]]:
|
484
485
|
"""
|
485
486
|
The server URL of the service endpoint. Changing this forces a new resource to be created.
|
486
487
|
|
@@ -489,12 +490,12 @@ class _ServiceEndpointAzureRMState:
|
|
489
490
|
return pulumi.get(self, "server_url")
|
490
491
|
|
491
492
|
@server_url.setter
|
492
|
-
def server_url(self, value: Optional[pulumi.Input[str]]):
|
493
|
+
def server_url(self, value: Optional[pulumi.Input[builtins.str]]):
|
493
494
|
pulumi.set(self, "server_url", value)
|
494
495
|
|
495
496
|
@property
|
496
497
|
@pulumi.getter(name="serviceEndpointAuthenticationScheme")
|
497
|
-
def service_endpoint_authentication_scheme(self) -> Optional[pulumi.Input[str]]:
|
498
|
+
def service_endpoint_authentication_scheme(self) -> Optional[pulumi.Input[builtins.str]]:
|
498
499
|
"""
|
499
500
|
Specifies the type of Azure Resource Manager Service Endpoint. Possible values are `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
|
500
501
|
|
@@ -503,55 +504,55 @@ class _ServiceEndpointAzureRMState:
|
|
503
504
|
return pulumi.get(self, "service_endpoint_authentication_scheme")
|
504
505
|
|
505
506
|
@service_endpoint_authentication_scheme.setter
|
506
|
-
def service_endpoint_authentication_scheme(self, value: Optional[pulumi.Input[str]]):
|
507
|
+
def service_endpoint_authentication_scheme(self, value: Optional[pulumi.Input[builtins.str]]):
|
507
508
|
pulumi.set(self, "service_endpoint_authentication_scheme", value)
|
508
509
|
|
509
510
|
@property
|
510
511
|
@pulumi.getter(name="serviceEndpointName")
|
511
|
-
def service_endpoint_name(self) -> Optional[pulumi.Input[str]]:
|
512
|
+
def service_endpoint_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
512
513
|
"""
|
513
514
|
The Service Endpoint Name.
|
514
515
|
"""
|
515
516
|
return pulumi.get(self, "service_endpoint_name")
|
516
517
|
|
517
518
|
@service_endpoint_name.setter
|
518
|
-
def service_endpoint_name(self, value: Optional[pulumi.Input[str]]):
|
519
|
+
def service_endpoint_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
519
520
|
pulumi.set(self, "service_endpoint_name", value)
|
520
521
|
|
521
522
|
@property
|
522
523
|
@pulumi.getter(name="servicePrincipalId")
|
523
|
-
def service_principal_id(self) -> Optional[pulumi.Input[str]]:
|
524
|
+
def service_principal_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
524
525
|
"""
|
525
526
|
The Application(Client) ID of the Service Principal.
|
526
527
|
"""
|
527
528
|
return pulumi.get(self, "service_principal_id")
|
528
529
|
|
529
530
|
@service_principal_id.setter
|
530
|
-
def service_principal_id(self, value: Optional[pulumi.Input[str]]):
|
531
|
+
def service_principal_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
531
532
|
pulumi.set(self, "service_principal_id", value)
|
532
533
|
|
533
534
|
@property
|
534
535
|
@pulumi.getter(name="workloadIdentityFederationIssuer")
|
535
|
-
def workload_identity_federation_issuer(self) -> Optional[pulumi.Input[str]]:
|
536
|
+
def workload_identity_federation_issuer(self) -> Optional[pulumi.Input[builtins.str]]:
|
536
537
|
"""
|
537
538
|
The issuer if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000`, where the GUID is the Organization ID of your Azure DevOps Organisation.
|
538
539
|
"""
|
539
540
|
return pulumi.get(self, "workload_identity_federation_issuer")
|
540
541
|
|
541
542
|
@workload_identity_federation_issuer.setter
|
542
|
-
def workload_identity_federation_issuer(self, value: Optional[pulumi.Input[str]]):
|
543
|
+
def workload_identity_federation_issuer(self, value: Optional[pulumi.Input[builtins.str]]):
|
543
544
|
pulumi.set(self, "workload_identity_federation_issuer", value)
|
544
545
|
|
545
546
|
@property
|
546
547
|
@pulumi.getter(name="workloadIdentityFederationSubject")
|
547
|
-
def workload_identity_federation_subject(self) -> Optional[pulumi.Input[str]]:
|
548
|
+
def workload_identity_federation_subject(self) -> Optional[pulumi.Input[builtins.str]]:
|
548
549
|
"""
|
549
550
|
The subject if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `sc://<organisation>/<project>/<service-connection-name>`.
|
550
551
|
"""
|
551
552
|
return pulumi.get(self, "workload_identity_federation_subject")
|
552
553
|
|
553
554
|
@workload_identity_federation_subject.setter
|
554
|
-
def workload_identity_federation_subject(self, value: Optional[pulumi.Input[str]]):
|
555
|
+
def workload_identity_federation_subject(self, value: Optional[pulumi.Input[builtins.str]]):
|
555
556
|
pulumi.set(self, "workload_identity_federation_subject", value)
|
556
557
|
|
557
558
|
|
@@ -560,24 +561,28 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
560
561
|
def __init__(__self__,
|
561
562
|
resource_name: str,
|
562
563
|
opts: Optional[pulumi.ResourceOptions] = None,
|
563
|
-
azurerm_management_group_id: Optional[pulumi.Input[str]] = None,
|
564
|
-
azurerm_management_group_name: Optional[pulumi.Input[str]] = None,
|
565
|
-
azurerm_spn_tenantid: Optional[pulumi.Input[str]] = None,
|
566
|
-
azurerm_subscription_id: Optional[pulumi.Input[str]] = None,
|
567
|
-
azurerm_subscription_name: Optional[pulumi.Input[str]] = None,
|
564
|
+
azurerm_management_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
565
|
+
azurerm_management_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
566
|
+
azurerm_spn_tenantid: Optional[pulumi.Input[builtins.str]] = None,
|
567
|
+
azurerm_subscription_id: Optional[pulumi.Input[builtins.str]] = None,
|
568
|
+
azurerm_subscription_name: Optional[pulumi.Input[builtins.str]] = None,
|
568
569
|
credentials: Optional[pulumi.Input[Union['ServiceEndpointAzureRMCredentialsArgs', 'ServiceEndpointAzureRMCredentialsArgsDict']]] = None,
|
569
|
-
description: Optional[pulumi.Input[str]] = None,
|
570
|
-
environment: Optional[pulumi.Input[str]] = None,
|
570
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
571
|
+
environment: Optional[pulumi.Input[builtins.str]] = None,
|
571
572
|
features: Optional[pulumi.Input[Union['ServiceEndpointAzureRMFeaturesArgs', 'ServiceEndpointAzureRMFeaturesArgsDict']]] = None,
|
572
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
573
|
-
resource_group: Optional[pulumi.Input[str]] = None,
|
574
|
-
server_url: Optional[pulumi.Input[str]] = None,
|
575
|
-
service_endpoint_authentication_scheme: Optional[pulumi.Input[str]] = None,
|
576
|
-
service_endpoint_name: Optional[pulumi.Input[str]] = None,
|
573
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
574
|
+
resource_group: Optional[pulumi.Input[builtins.str]] = None,
|
575
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
576
|
+
service_endpoint_authentication_scheme: Optional[pulumi.Input[builtins.str]] = None,
|
577
|
+
service_endpoint_name: Optional[pulumi.Input[builtins.str]] = None,
|
577
578
|
__props__=None):
|
578
579
|
"""
|
579
580
|
Manages Manual or Automatic Azure Resource Manager service endpoint within Azure DevOps.
|
580
581
|
|
582
|
+
~>**NOTE:**
|
583
|
+
If you receive an error message like:```Failed to obtain the Json Web Token(JWT) using service principal client ID. Exception message: A configuration issue is preventing authentication - check the error message from the server for details.```
|
584
|
+
You should check the secret of this Application or if you recently rotate the secret, wait a few minutes for Azure to propagate the secret.
|
585
|
+
|
581
586
|
## Requirements (Manual AzureRM Service Endpoint)
|
582
587
|
|
583
588
|
Before to create a service end point in Azure DevOps, you need to create a Service Principal in your Azure subscription.
|
@@ -753,24 +758,24 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
753
758
|
|
754
759
|
:param str resource_name: The name of the resource.
|
755
760
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
756
|
-
:param pulumi.Input[str] azurerm_management_group_id: The Management group ID of the Azure targets.
|
757
|
-
:param pulumi.Input[str] azurerm_management_group_name: The Management group Name of the targets.
|
758
|
-
:param pulumi.Input[str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
759
|
-
:param pulumi.Input[str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
760
|
-
:param pulumi.Input[str] azurerm_subscription_name: The Subscription Name of the targets.
|
761
|
+
:param pulumi.Input[builtins.str] azurerm_management_group_id: The Management group ID of the Azure targets.
|
762
|
+
:param pulumi.Input[builtins.str] azurerm_management_group_name: The Management group Name of the targets.
|
763
|
+
:param pulumi.Input[builtins.str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
764
|
+
:param pulumi.Input[builtins.str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
765
|
+
:param pulumi.Input[builtins.str] azurerm_subscription_name: The Subscription Name of the targets.
|
761
766
|
:param pulumi.Input[Union['ServiceEndpointAzureRMCredentialsArgs', 'ServiceEndpointAzureRMCredentialsArgsDict']] credentials: A `credentials` block as defined below.
|
762
|
-
:param pulumi.Input[str] description: Service connection description.
|
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.
|
767
|
+
:param pulumi.Input[builtins.str] description: Service connection description.
|
768
|
+
:param pulumi.Input[builtins.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.
|
764
769
|
:param pulumi.Input[Union['ServiceEndpointAzureRMFeaturesArgs', 'ServiceEndpointAzureRMFeaturesArgsDict']] features: A `features` block as defined below.
|
765
|
-
:param pulumi.Input[str] project_id: The ID of the project.
|
766
|
-
:param pulumi.Input[str] resource_group: The resource group used for scope of automatic service endpoint.
|
767
|
-
:param pulumi.Input[str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
770
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
771
|
+
:param pulumi.Input[builtins.str] resource_group: The resource group used for scope of automatic service endpoint.
|
772
|
+
:param pulumi.Input[builtins.str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
768
773
|
|
769
774
|
> **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.
|
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.
|
775
|
+
:param pulumi.Input[builtins.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.
|
771
776
|
|
772
777
|
> **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).
|
773
|
-
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint Name.
|
778
|
+
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint Name.
|
774
779
|
"""
|
775
780
|
...
|
776
781
|
@overload
|
@@ -781,6 +786,10 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
781
786
|
"""
|
782
787
|
Manages Manual or Automatic Azure Resource Manager service endpoint within Azure DevOps.
|
783
788
|
|
789
|
+
~>**NOTE:**
|
790
|
+
If you receive an error message like:```Failed to obtain the Json Web Token(JWT) using service principal client ID. Exception message: A configuration issue is preventing authentication - check the error message from the server for details.```
|
791
|
+
You should check the secret of this Application or if you recently rotate the secret, wait a few minutes for Azure to propagate the secret.
|
792
|
+
|
784
793
|
## Requirements (Manual AzureRM Service Endpoint)
|
785
794
|
|
786
795
|
Before to create a service end point in Azure DevOps, you need to create a Service Principal in your Azure subscription.
|
@@ -969,20 +978,20 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
969
978
|
def _internal_init(__self__,
|
970
979
|
resource_name: str,
|
971
980
|
opts: Optional[pulumi.ResourceOptions] = None,
|
972
|
-
azurerm_management_group_id: Optional[pulumi.Input[str]] = None,
|
973
|
-
azurerm_management_group_name: Optional[pulumi.Input[str]] = None,
|
974
|
-
azurerm_spn_tenantid: Optional[pulumi.Input[str]] = None,
|
975
|
-
azurerm_subscription_id: Optional[pulumi.Input[str]] = None,
|
976
|
-
azurerm_subscription_name: Optional[pulumi.Input[str]] = None,
|
981
|
+
azurerm_management_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
982
|
+
azurerm_management_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
983
|
+
azurerm_spn_tenantid: Optional[pulumi.Input[builtins.str]] = None,
|
984
|
+
azurerm_subscription_id: Optional[pulumi.Input[builtins.str]] = None,
|
985
|
+
azurerm_subscription_name: Optional[pulumi.Input[builtins.str]] = None,
|
977
986
|
credentials: Optional[pulumi.Input[Union['ServiceEndpointAzureRMCredentialsArgs', 'ServiceEndpointAzureRMCredentialsArgsDict']]] = None,
|
978
|
-
description: Optional[pulumi.Input[str]] = None,
|
979
|
-
environment: Optional[pulumi.Input[str]] = None,
|
987
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
988
|
+
environment: Optional[pulumi.Input[builtins.str]] = None,
|
980
989
|
features: Optional[pulumi.Input[Union['ServiceEndpointAzureRMFeaturesArgs', 'ServiceEndpointAzureRMFeaturesArgsDict']]] = None,
|
981
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
982
|
-
resource_group: Optional[pulumi.Input[str]] = None,
|
983
|
-
server_url: Optional[pulumi.Input[str]] = None,
|
984
|
-
service_endpoint_authentication_scheme: Optional[pulumi.Input[str]] = None,
|
985
|
-
service_endpoint_name: Optional[pulumi.Input[str]] = None,
|
990
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
991
|
+
resource_group: Optional[pulumi.Input[builtins.str]] = None,
|
992
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
993
|
+
service_endpoint_authentication_scheme: Optional[pulumi.Input[builtins.str]] = None,
|
994
|
+
service_endpoint_name: Optional[pulumi.Input[builtins.str]] = None,
|
986
995
|
__props__=None):
|
987
996
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
988
997
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -1026,24 +1035,24 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1026
1035
|
def get(resource_name: str,
|
1027
1036
|
id: pulumi.Input[str],
|
1028
1037
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1029
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1030
|
-
azurerm_management_group_id: Optional[pulumi.Input[str]] = None,
|
1031
|
-
azurerm_management_group_name: Optional[pulumi.Input[str]] = None,
|
1032
|
-
azurerm_spn_tenantid: Optional[pulumi.Input[str]] = None,
|
1033
|
-
azurerm_subscription_id: Optional[pulumi.Input[str]] = None,
|
1034
|
-
azurerm_subscription_name: Optional[pulumi.Input[str]] = None,
|
1038
|
+
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
1039
|
+
azurerm_management_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
1040
|
+
azurerm_management_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
1041
|
+
azurerm_spn_tenantid: Optional[pulumi.Input[builtins.str]] = None,
|
1042
|
+
azurerm_subscription_id: Optional[pulumi.Input[builtins.str]] = None,
|
1043
|
+
azurerm_subscription_name: Optional[pulumi.Input[builtins.str]] = None,
|
1035
1044
|
credentials: Optional[pulumi.Input[Union['ServiceEndpointAzureRMCredentialsArgs', 'ServiceEndpointAzureRMCredentialsArgsDict']]] = None,
|
1036
|
-
description: Optional[pulumi.Input[str]] = None,
|
1037
|
-
environment: Optional[pulumi.Input[str]] = None,
|
1045
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
1046
|
+
environment: Optional[pulumi.Input[builtins.str]] = None,
|
1038
1047
|
features: Optional[pulumi.Input[Union['ServiceEndpointAzureRMFeaturesArgs', 'ServiceEndpointAzureRMFeaturesArgsDict']]] = None,
|
1039
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
1040
|
-
resource_group: Optional[pulumi.Input[str]] = None,
|
1041
|
-
server_url: Optional[pulumi.Input[str]] = None,
|
1042
|
-
service_endpoint_authentication_scheme: Optional[pulumi.Input[str]] = None,
|
1043
|
-
service_endpoint_name: Optional[pulumi.Input[str]] = None,
|
1044
|
-
service_principal_id: Optional[pulumi.Input[str]] = None,
|
1045
|
-
workload_identity_federation_issuer: Optional[pulumi.Input[str]] = None,
|
1046
|
-
workload_identity_federation_subject: Optional[pulumi.Input[str]] = None) -> 'ServiceEndpointAzureRM':
|
1048
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
1049
|
+
resource_group: Optional[pulumi.Input[builtins.str]] = None,
|
1050
|
+
server_url: Optional[pulumi.Input[builtins.str]] = None,
|
1051
|
+
service_endpoint_authentication_scheme: Optional[pulumi.Input[builtins.str]] = None,
|
1052
|
+
service_endpoint_name: Optional[pulumi.Input[builtins.str]] = None,
|
1053
|
+
service_principal_id: Optional[pulumi.Input[builtins.str]] = None,
|
1054
|
+
workload_identity_federation_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
1055
|
+
workload_identity_federation_subject: Optional[pulumi.Input[builtins.str]] = None) -> 'ServiceEndpointAzureRM':
|
1047
1056
|
"""
|
1048
1057
|
Get an existing ServiceEndpointAzureRM resource's state with the given name, id, and optional extra
|
1049
1058
|
properties used to qualify the lookup.
|
@@ -1051,27 +1060,27 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1051
1060
|
:param str resource_name: The unique name of the resulting resource.
|
1052
1061
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1053
1062
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1054
|
-
:param pulumi.Input[str] azurerm_management_group_id: The Management group ID of the Azure targets.
|
1055
|
-
:param pulumi.Input[str] azurerm_management_group_name: The Management group Name of the targets.
|
1056
|
-
:param pulumi.Input[str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
1057
|
-
:param pulumi.Input[str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
1058
|
-
:param pulumi.Input[str] azurerm_subscription_name: The Subscription Name of the targets.
|
1063
|
+
:param pulumi.Input[builtins.str] azurerm_management_group_id: The Management group ID of the Azure targets.
|
1064
|
+
:param pulumi.Input[builtins.str] azurerm_management_group_name: The Management group Name of the targets.
|
1065
|
+
:param pulumi.Input[builtins.str] azurerm_spn_tenantid: The Tenant ID of the service principal.
|
1066
|
+
:param pulumi.Input[builtins.str] azurerm_subscription_id: The Subscription ID of the Azure targets.
|
1067
|
+
:param pulumi.Input[builtins.str] azurerm_subscription_name: The Subscription Name of the targets.
|
1059
1068
|
:param pulumi.Input[Union['ServiceEndpointAzureRMCredentialsArgs', 'ServiceEndpointAzureRMCredentialsArgsDict']] credentials: A `credentials` block as defined below.
|
1060
|
-
:param pulumi.Input[str] description: Service connection description.
|
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.
|
1069
|
+
:param pulumi.Input[builtins.str] description: Service connection description.
|
1070
|
+
:param pulumi.Input[builtins.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.
|
1062
1071
|
:param pulumi.Input[Union['ServiceEndpointAzureRMFeaturesArgs', 'ServiceEndpointAzureRMFeaturesArgsDict']] features: A `features` block as defined below.
|
1063
|
-
:param pulumi.Input[str] project_id: The ID of the project.
|
1064
|
-
:param pulumi.Input[str] resource_group: The resource group used for scope of automatic service endpoint.
|
1065
|
-
:param pulumi.Input[str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
1072
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project.
|
1073
|
+
:param pulumi.Input[builtins.str] resource_group: The resource group used for scope of automatic service endpoint.
|
1074
|
+
:param pulumi.Input[builtins.str] server_url: The server URL of the service endpoint. Changing this forces a new resource to be created.
|
1066
1075
|
|
1067
1076
|
> **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.
|
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.
|
1077
|
+
:param pulumi.Input[builtins.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.
|
1069
1078
|
|
1070
1079
|
> **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).
|
1071
|
-
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint Name.
|
1072
|
-
:param pulumi.Input[str] service_principal_id: The Application(Client) ID of the Service Principal.
|
1073
|
-
:param pulumi.Input[str] workload_identity_federation_issuer: The issuer if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000`, where the GUID is the Organization ID of your Azure DevOps Organisation.
|
1074
|
-
:param pulumi.Input[str] workload_identity_federation_subject: The subject if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `sc://<organisation>/<project>/<service-connection-name>`.
|
1080
|
+
:param pulumi.Input[builtins.str] service_endpoint_name: The Service Endpoint Name.
|
1081
|
+
:param pulumi.Input[builtins.str] service_principal_id: The Application(Client) ID of the Service Principal.
|
1082
|
+
:param pulumi.Input[builtins.str] workload_identity_federation_issuer: The issuer if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000`, where the GUID is the Organization ID of your Azure DevOps Organisation.
|
1083
|
+
:param pulumi.Input[builtins.str] workload_identity_federation_subject: The subject if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `sc://<organisation>/<project>/<service-connection-name>`.
|
1075
1084
|
"""
|
1076
1085
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1077
1086
|
|
@@ -1099,12 +1108,12 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1099
1108
|
|
1100
1109
|
@property
|
1101
1110
|
@pulumi.getter
|
1102
|
-
def authorization(self) -> pulumi.Output[Mapping[str, str]]:
|
1111
|
+
def authorization(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
1103
1112
|
return pulumi.get(self, "authorization")
|
1104
1113
|
|
1105
1114
|
@property
|
1106
1115
|
@pulumi.getter(name="azurermManagementGroupId")
|
1107
|
-
def azurerm_management_group_id(self) -> pulumi.Output[Optional[str]]:
|
1116
|
+
def azurerm_management_group_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
1108
1117
|
"""
|
1109
1118
|
The Management group ID of the Azure targets.
|
1110
1119
|
"""
|
@@ -1112,7 +1121,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1112
1121
|
|
1113
1122
|
@property
|
1114
1123
|
@pulumi.getter(name="azurermManagementGroupName")
|
1115
|
-
def azurerm_management_group_name(self) -> pulumi.Output[Optional[str]]:
|
1124
|
+
def azurerm_management_group_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
1116
1125
|
"""
|
1117
1126
|
The Management group Name of the targets.
|
1118
1127
|
"""
|
@@ -1120,7 +1129,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1120
1129
|
|
1121
1130
|
@property
|
1122
1131
|
@pulumi.getter(name="azurermSpnTenantid")
|
1123
|
-
def azurerm_spn_tenantid(self) -> pulumi.Output[str]:
|
1132
|
+
def azurerm_spn_tenantid(self) -> pulumi.Output[builtins.str]:
|
1124
1133
|
"""
|
1125
1134
|
The Tenant ID of the service principal.
|
1126
1135
|
"""
|
@@ -1128,7 +1137,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1128
1137
|
|
1129
1138
|
@property
|
1130
1139
|
@pulumi.getter(name="azurermSubscriptionId")
|
1131
|
-
def azurerm_subscription_id(self) -> pulumi.Output[Optional[str]]:
|
1140
|
+
def azurerm_subscription_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
1132
1141
|
"""
|
1133
1142
|
The Subscription ID of the Azure targets.
|
1134
1143
|
"""
|
@@ -1136,7 +1145,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1136
1145
|
|
1137
1146
|
@property
|
1138
1147
|
@pulumi.getter(name="azurermSubscriptionName")
|
1139
|
-
def azurerm_subscription_name(self) -> pulumi.Output[Optional[str]]:
|
1148
|
+
def azurerm_subscription_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
1140
1149
|
"""
|
1141
1150
|
The Subscription Name of the targets.
|
1142
1151
|
"""
|
@@ -1152,7 +1161,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1152
1161
|
|
1153
1162
|
@property
|
1154
1163
|
@pulumi.getter
|
1155
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
1164
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
1156
1165
|
"""
|
1157
1166
|
Service connection description.
|
1158
1167
|
"""
|
@@ -1160,7 +1169,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1160
1169
|
|
1161
1170
|
@property
|
1162
1171
|
@pulumi.getter
|
1163
|
-
def environment(self) -> pulumi.Output[Optional[str]]:
|
1172
|
+
def environment(self) -> pulumi.Output[Optional[builtins.str]]:
|
1164
1173
|
"""
|
1165
1174
|
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.
|
1166
1175
|
"""
|
@@ -1176,7 +1185,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1176
1185
|
|
1177
1186
|
@property
|
1178
1187
|
@pulumi.getter(name="projectId")
|
1179
|
-
def project_id(self) -> pulumi.Output[str]:
|
1188
|
+
def project_id(self) -> pulumi.Output[builtins.str]:
|
1180
1189
|
"""
|
1181
1190
|
The ID of the project.
|
1182
1191
|
"""
|
@@ -1184,7 +1193,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1184
1193
|
|
1185
1194
|
@property
|
1186
1195
|
@pulumi.getter(name="resourceGroup")
|
1187
|
-
def resource_group(self) -> pulumi.Output[Optional[str]]:
|
1196
|
+
def resource_group(self) -> pulumi.Output[Optional[builtins.str]]:
|
1188
1197
|
"""
|
1189
1198
|
The resource group used for scope of automatic service endpoint.
|
1190
1199
|
"""
|
@@ -1192,7 +1201,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1192
1201
|
|
1193
1202
|
@property
|
1194
1203
|
@pulumi.getter(name="serverUrl")
|
1195
|
-
def server_url(self) -> pulumi.Output[str]:
|
1204
|
+
def server_url(self) -> pulumi.Output[builtins.str]:
|
1196
1205
|
"""
|
1197
1206
|
The server URL of the service endpoint. Changing this forces a new resource to be created.
|
1198
1207
|
|
@@ -1202,7 +1211,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1202
1211
|
|
1203
1212
|
@property
|
1204
1213
|
@pulumi.getter(name="serviceEndpointAuthenticationScheme")
|
1205
|
-
def service_endpoint_authentication_scheme(self) -> pulumi.Output[Optional[str]]:
|
1214
|
+
def service_endpoint_authentication_scheme(self) -> pulumi.Output[Optional[builtins.str]]:
|
1206
1215
|
"""
|
1207
1216
|
Specifies the type of Azure Resource Manager Service Endpoint. Possible values are `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
|
1208
1217
|
|
@@ -1212,7 +1221,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1212
1221
|
|
1213
1222
|
@property
|
1214
1223
|
@pulumi.getter(name="serviceEndpointName")
|
1215
|
-
def service_endpoint_name(self) -> pulumi.Output[str]:
|
1224
|
+
def service_endpoint_name(self) -> pulumi.Output[builtins.str]:
|
1216
1225
|
"""
|
1217
1226
|
The Service Endpoint Name.
|
1218
1227
|
"""
|
@@ -1220,7 +1229,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1220
1229
|
|
1221
1230
|
@property
|
1222
1231
|
@pulumi.getter(name="servicePrincipalId")
|
1223
|
-
def service_principal_id(self) -> pulumi.Output[str]:
|
1232
|
+
def service_principal_id(self) -> pulumi.Output[builtins.str]:
|
1224
1233
|
"""
|
1225
1234
|
The Application(Client) ID of the Service Principal.
|
1226
1235
|
"""
|
@@ -1228,7 +1237,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1228
1237
|
|
1229
1238
|
@property
|
1230
1239
|
@pulumi.getter(name="workloadIdentityFederationIssuer")
|
1231
|
-
def workload_identity_federation_issuer(self) -> pulumi.Output[str]:
|
1240
|
+
def workload_identity_federation_issuer(self) -> pulumi.Output[builtins.str]:
|
1232
1241
|
"""
|
1233
1242
|
The issuer if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000`, where the GUID is the Organization ID of your Azure DevOps Organisation.
|
1234
1243
|
"""
|
@@ -1236,7 +1245,7 @@ class ServiceEndpointAzureRM(pulumi.CustomResource):
|
|
1236
1245
|
|
1237
1246
|
@property
|
1238
1247
|
@pulumi.getter(name="workloadIdentityFederationSubject")
|
1239
|
-
def workload_identity_federation_subject(self) -> pulumi.Output[str]:
|
1248
|
+
def workload_identity_federation_subject(self) -> pulumi.Output[builtins.str]:
|
1240
1249
|
"""
|
1241
1250
|
The subject if `service_endpoint_authentication_scheme` is set to `WorkloadIdentityFederation`. This looks like `sc://<organisation>/<project>/<service-connection-name>`.
|
1242
1251
|
"""
|