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.
Files changed (155) hide show
  1. pulumi_azuredevops/__init__.py +21 -0
  2. pulumi_azuredevops/_inputs.py +1492 -956
  3. pulumi_azuredevops/area_permissions.py +71 -70
  4. pulumi_azuredevops/branch_policy_auto_reviewers.py +43 -42
  5. pulumi_azuredevops/branch_policy_build_validation.py +43 -42
  6. pulumi_azuredevops/branch_policy_comment_resolution.py +43 -42
  7. pulumi_azuredevops/branch_policy_merge_types.py +43 -42
  8. pulumi_azuredevops/branch_policy_min_reviewers.py +43 -42
  9. pulumi_azuredevops/branch_policy_status_check.py +43 -42
  10. pulumi_azuredevops/branch_policy_work_item_linking.py +43 -42
  11. pulumi_azuredevops/build_definition.py +427 -91
  12. pulumi_azuredevops/build_definition_permissions.py +71 -70
  13. pulumi_azuredevops/build_folder.py +43 -42
  14. pulumi_azuredevops/build_folder_permissions.py +78 -70
  15. pulumi_azuredevops/check_approval.py +120 -119
  16. pulumi_azuredevops/check_branch_control.py +120 -119
  17. pulumi_azuredevops/check_business_hours.py +218 -217
  18. pulumi_azuredevops/check_exclusive_lock.py +64 -63
  19. pulumi_azuredevops/check_required_template.py +50 -49
  20. pulumi_azuredevops/check_rest_api.py +218 -217
  21. pulumi_azuredevops/config/__init__.py +1 -0
  22. pulumi_azuredevops/config/__init__.pyi +1 -0
  23. pulumi_azuredevops/config/vars.py +1 -0
  24. pulumi_azuredevops/dashboard.py +78 -77
  25. pulumi_azuredevops/elastic_pool.py +169 -168
  26. pulumi_azuredevops/environment.py +43 -42
  27. pulumi_azuredevops/environment_resource_kubernetes.py +99 -98
  28. pulumi_azuredevops/extension.py +426 -0
  29. pulumi_azuredevops/feed.py +29 -28
  30. pulumi_azuredevops/feed_permission.py +106 -77
  31. pulumi_azuredevops/feed_retention_policy.py +57 -56
  32. pulumi_azuredevops/get_agent_queue.py +13 -12
  33. pulumi_azuredevops/get_area.py +19 -18
  34. pulumi_azuredevops/get_build_definition.py +64 -21
  35. pulumi_azuredevops/get_client_config.py +64 -7
  36. pulumi_azuredevops/get_descriptor.py +8 -7
  37. pulumi_azuredevops/get_environment.py +18 -17
  38. pulumi_azuredevops/get_feed.py +17 -16
  39. pulumi_azuredevops/get_git_repository.py +20 -19
  40. pulumi_azuredevops/get_git_repository_file.py +201 -0
  41. pulumi_azuredevops/get_group.py +16 -15
  42. pulumi_azuredevops/get_group_membership.py +132 -0
  43. pulumi_azuredevops/get_groups.py +7 -6
  44. pulumi_azuredevops/get_identity_group.py +14 -13
  45. pulumi_azuredevops/get_identity_groups.py +7 -6
  46. pulumi_azuredevops/get_identity_users.py +14 -13
  47. pulumi_azuredevops/get_iteration.py +19 -18
  48. pulumi_azuredevops/get_pool.py +10 -9
  49. pulumi_azuredevops/get_pools.py +2 -1
  50. pulumi_azuredevops/get_project.py +18 -17
  51. pulumi_azuredevops/get_projects.py +12 -11
  52. pulumi_azuredevops/get_repositories.py +17 -16
  53. pulumi_azuredevops/get_securityrole_definitions.py +7 -6
  54. pulumi_azuredevops/get_service_endpoint_azure_rm.py +31 -30
  55. pulumi_azuredevops/get_service_endpoint_github.py +19 -18
  56. pulumi_azuredevops/get_service_principal.py +10 -9
  57. pulumi_azuredevops/get_serviceendpoint_azurecr.py +29 -28
  58. pulumi_azuredevops/get_serviceendpoint_bitbucket.py +19 -18
  59. pulumi_azuredevops/get_serviceendpoint_npm.py +20 -19
  60. pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +19 -18
  61. pulumi_azuredevops/get_storage_key.py +8 -7
  62. pulumi_azuredevops/get_team.py +21 -20
  63. pulumi_azuredevops/get_teams.py +14 -13
  64. pulumi_azuredevops/get_user.py +14 -13
  65. pulumi_azuredevops/get_users.py +88 -21
  66. pulumi_azuredevops/get_variable_group.py +14 -13
  67. pulumi_azuredevops/git.py +113 -112
  68. pulumi_azuredevops/git_permissions.py +85 -84
  69. pulumi_azuredevops/git_repository_branch.py +78 -77
  70. pulumi_azuredevops/git_repository_file.py +342 -85
  71. pulumi_azuredevops/group.py +134 -133
  72. pulumi_azuredevops/group_entitlement.py +85 -84
  73. pulumi_azuredevops/group_membership.py +43 -42
  74. pulumi_azuredevops/iterative_permissions.py +71 -70
  75. pulumi_azuredevops/library_permissions.py +57 -56
  76. pulumi_azuredevops/outputs.py +1569 -918
  77. pulumi_azuredevops/pipeline_authorization.py +71 -70
  78. pulumi_azuredevops/pool.py +57 -56
  79. pulumi_azuredevops/project.py +92 -91
  80. pulumi_azuredevops/project_features.py +25 -24
  81. pulumi_azuredevops/project_permissions.py +57 -56
  82. pulumi_azuredevops/project_pipeline_settings.py +99 -98
  83. pulumi_azuredevops/project_tags.py +29 -28
  84. pulumi_azuredevops/provider.py +157 -156
  85. pulumi_azuredevops/pulumi-plugin.json +1 -1
  86. pulumi_azuredevops/queue.py +43 -42
  87. pulumi_azuredevops/repository_policy_author_email_pattern.py +71 -70
  88. pulumi_azuredevops/repository_policy_case_enforcement.py +71 -70
  89. pulumi_azuredevops/repository_policy_check_credentials.py +57 -56
  90. pulumi_azuredevops/repository_policy_file_path_pattern.py +71 -70
  91. pulumi_azuredevops/repository_policy_max_file_size.py +71 -70
  92. pulumi_azuredevops/repository_policy_max_path_length.py +71 -70
  93. pulumi_azuredevops/repository_policy_reserved_names.py +57 -56
  94. pulumi_azuredevops/resource_authorization.py +71 -70
  95. pulumi_azuredevops/securityrole_assignment.py +57 -56
  96. pulumi_azuredevops/service_endpoint_artifactory.py +62 -61
  97. pulumi_azuredevops/service_endpoint_aws.py +144 -143
  98. pulumi_azuredevops/service_endpoint_azure_dev_ops.py +86 -85
  99. pulumi_azuredevops/service_endpoint_azure_ecr.py +175 -174
  100. pulumi_azuredevops/service_endpoint_azure_rm.py +203 -194
  101. pulumi_azuredevops/service_endpoint_bit_bucket.py +72 -71
  102. pulumi_azuredevops/service_endpoint_docker_registry.py +114 -113
  103. pulumi_azuredevops/service_endpoint_generic.py +86 -85
  104. pulumi_azuredevops/service_endpoint_generic_git.py +100 -99
  105. pulumi_azuredevops/service_endpoint_git_hub.py +44 -43
  106. pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +174 -82
  107. pulumi_azuredevops/service_endpoint_git_lab.py +86 -85
  108. pulumi_azuredevops/service_endpoint_kubernetes.py +72 -71
  109. pulumi_azuredevops/service_endpoint_npm.py +76 -75
  110. pulumi_azuredevops/service_endpoint_pipeline.py +58 -57
  111. pulumi_azuredevops/service_endpoint_service_fabric.py +58 -57
  112. pulumi_azuredevops/service_endpoint_sonar_cloud.py +62 -61
  113. pulumi_azuredevops/service_endpoint_sonar_qube.py +76 -75
  114. pulumi_azuredevops/service_endpoint_ssh.py +114 -113
  115. pulumi_azuredevops/service_principal_entitlement.py +71 -70
  116. pulumi_azuredevops/serviceendpoint_argocd.py +62 -61
  117. pulumi_azuredevops/serviceendpoint_azure_service_bus.py +72 -71
  118. pulumi_azuredevops/serviceendpoint_checkmarx_one.py +114 -113
  119. pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +114 -113
  120. pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +142 -141
  121. pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +114 -113
  122. pulumi_azuredevops/serviceendpoint_externaltfs.py +58 -57
  123. pulumi_azuredevops/serviceendpoint_gcp_terraform.py +116 -115
  124. pulumi_azuredevops/serviceendpoint_incomingwebhook.py +86 -85
  125. pulumi_azuredevops/serviceendpoint_jenkins.py +100 -99
  126. pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +62 -61
  127. pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +62 -61
  128. pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +62 -61
  129. pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +62 -61
  130. pulumi_azuredevops/serviceendpoint_maven.py +72 -71
  131. pulumi_azuredevops/serviceendpoint_nexus.py +86 -85
  132. pulumi_azuredevops/serviceendpoint_nuget.py +114 -113
  133. pulumi_azuredevops/serviceendpoint_octopusdeploy.py +86 -85
  134. pulumi_azuredevops/serviceendpoint_openshift.py +688 -0
  135. pulumi_azuredevops/serviceendpoint_permissions.py +71 -70
  136. pulumi_azuredevops/serviceendpoint_snyk.py +72 -71
  137. pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +58 -57
  138. pulumi_azuredevops/servicehook_permissions.py +57 -56
  139. pulumi_azuredevops/servicehook_storage_queue_pipelines.py +85 -84
  140. pulumi_azuredevops/tagging_permissions.py +57 -56
  141. pulumi_azuredevops/team.py +78 -77
  142. pulumi_azuredevops/team_administrators.py +57 -56
  143. pulumi_azuredevops/team_members.py +57 -56
  144. pulumi_azuredevops/user.py +78 -77
  145. pulumi_azuredevops/variable_group.py +57 -56
  146. pulumi_azuredevops/variable_group_permissions.py +71 -70
  147. pulumi_azuredevops/wiki.py +99 -98
  148. pulumi_azuredevops/wiki_page.py +67 -66
  149. pulumi_azuredevops/work_item_query_permissions.py +71 -70
  150. pulumi_azuredevops/workitem.py +113 -112
  151. {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0.dist-info}/METADATA +2 -2
  152. pulumi_azuredevops-3.9.0.dist-info/RECORD +156 -0
  153. {pulumi_azuredevops-3.8.0a1741843418.dist-info → pulumi_azuredevops-3.9.0.dist-info}/WHEEL +1 -1
  154. pulumi_azuredevops-3.8.0a1741843418.dist-info/RECORD +0 -152
  155. {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
@@ -54,7 +55,7 @@ class GetTeamResult:
54
55
 
55
56
  @property
56
57
  @pulumi.getter
57
- def administrators(self) -> Sequence[str]:
58
+ def administrators(self) -> Sequence[builtins.str]:
58
59
  """
59
60
  List of subject descriptors for `administrators` of the team.
60
61
  """
@@ -62,7 +63,7 @@ class GetTeamResult:
62
63
 
63
64
  @property
64
65
  @pulumi.getter
65
- def description(self) -> str:
66
+ def description(self) -> builtins.str:
66
67
  """
67
68
  The description of the team.
68
69
  """
@@ -70,7 +71,7 @@ class GetTeamResult:
70
71
 
71
72
  @property
72
73
  @pulumi.getter
73
- def descriptor(self) -> str:
74
+ def descriptor(self) -> builtins.str:
74
75
  """
75
76
  The descriptor of the Team.
76
77
  """
@@ -78,7 +79,7 @@ class GetTeamResult:
78
79
 
79
80
  @property
80
81
  @pulumi.getter
81
- def id(self) -> str:
82
+ def id(self) -> builtins.str:
82
83
  """
83
84
  The provider-assigned unique ID for this managed resource.
84
85
  """
@@ -86,7 +87,7 @@ class GetTeamResult:
86
87
 
87
88
  @property
88
89
  @pulumi.getter
89
- def members(self) -> Sequence[str]:
90
+ def members(self) -> Sequence[builtins.str]:
90
91
  """
91
92
  List of subject descriptors for `members` of the team.
92
93
  """
@@ -94,18 +95,18 @@ class GetTeamResult:
94
95
 
95
96
  @property
96
97
  @pulumi.getter
97
- def name(self) -> str:
98
+ def name(self) -> builtins.str:
98
99
  return pulumi.get(self, "name")
99
100
 
100
101
  @property
101
102
  @pulumi.getter(name="projectId")
102
- def project_id(self) -> str:
103
+ def project_id(self) -> builtins.str:
103
104
  return pulumi.get(self, "project_id")
104
105
 
105
106
  @property
106
107
  @pulumi.getter
107
108
  @_utilities.deprecated("""This property is deprecated and will be removed in the feature""")
108
- def top(self) -> Optional[int]:
109
+ def top(self) -> Optional[builtins.int]:
109
110
  return pulumi.get(self, "top")
110
111
 
111
112
 
@@ -125,9 +126,9 @@ class AwaitableGetTeamResult(GetTeamResult):
125
126
  top=self.top)
126
127
 
127
128
 
128
- def get_team(name: Optional[str] = None,
129
- project_id: Optional[str] = None,
130
- top: Optional[int] = None,
129
+ def get_team(name: Optional[builtins.str] = None,
130
+ project_id: Optional[builtins.str] = None,
131
+ top: Optional[builtins.int] = None,
131
132
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTeamResult:
132
133
  """
133
134
  Use this data source to access information about an existing Team in a Project within Azure DevOps.
@@ -157,9 +158,9 @@ def get_team(name: Optional[str] = None,
157
158
  - **vso.project**: Grants the ability to read projects and teams.
158
159
 
159
160
 
160
- :param str name: The name of the Team.
161
- :param str project_id: The Project ID.
162
- :param int top: The maximum number of teams to return. Defaults to `100`. This property is deprecated and will be removed in the feature
161
+ :param builtins.str name: The name of the Team.
162
+ :param builtins.str project_id: The Project ID.
163
+ :param builtins.int top: The maximum number of teams to return. Defaults to `100`. This property is deprecated and will be removed in the feature
163
164
  """
164
165
  __args__ = dict()
165
166
  __args__['name'] = name
@@ -177,9 +178,9 @@ def get_team(name: Optional[str] = None,
177
178
  name=pulumi.get(__ret__, 'name'),
178
179
  project_id=pulumi.get(__ret__, 'project_id'),
179
180
  top=pulumi.get(__ret__, 'top'))
180
- def get_team_output(name: Optional[pulumi.Input[str]] = None,
181
- project_id: Optional[pulumi.Input[str]] = None,
182
- top: Optional[pulumi.Input[Optional[int]]] = None,
181
+ def get_team_output(name: Optional[pulumi.Input[builtins.str]] = None,
182
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
183
+ top: Optional[pulumi.Input[Optional[builtins.int]]] = None,
183
184
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTeamResult]:
184
185
  """
185
186
  Use this data source to access information about an existing Team in a Project within Azure DevOps.
@@ -209,9 +210,9 @@ def get_team_output(name: Optional[pulumi.Input[str]] = None,
209
210
  - **vso.project**: Grants the ability to read projects and teams.
210
211
 
211
212
 
212
- :param str name: The name of the Team.
213
- :param str project_id: The Project ID.
214
- :param int top: The maximum number of teams to return. Defaults to `100`. This property is deprecated and will be removed in the feature
213
+ :param builtins.str name: The name of the Team.
214
+ :param builtins.str project_id: The Project ID.
215
+ :param builtins.int top: The maximum number of teams to return. Defaults to `100`. This property is deprecated and will be removed in the feature
215
216
  """
216
217
  __args__ = dict()
217
218
  __args__['name'] = name
@@ -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
@@ -43,7 +44,7 @@ class GetTeamsResult:
43
44
 
44
45
  @property
45
46
  @pulumi.getter
46
- def id(self) -> str:
47
+ def id(self) -> builtins.str:
47
48
  """
48
49
  The provider-assigned unique ID for this managed resource.
49
50
  """
@@ -51,7 +52,7 @@ class GetTeamsResult:
51
52
 
52
53
  @property
53
54
  @pulumi.getter(name="projectId")
54
- def project_id(self) -> Optional[str]:
55
+ def project_id(self) -> Optional[builtins.str]:
55
56
  """
56
57
  The ID of the Project.
57
58
  """
@@ -67,7 +68,7 @@ class GetTeamsResult:
67
68
 
68
69
  @property
69
70
  @pulumi.getter
70
- def top(self) -> Optional[int]:
71
+ def top(self) -> Optional[builtins.int]:
71
72
  return pulumi.get(self, "top")
72
73
 
73
74
 
@@ -83,8 +84,8 @@ class AwaitableGetTeamsResult(GetTeamsResult):
83
84
  top=self.top)
84
85
 
85
86
 
86
- def get_teams(project_id: Optional[str] = None,
87
- top: Optional[int] = None,
87
+ def get_teams(project_id: Optional[builtins.str] = None,
88
+ top: Optional[builtins.int] = None,
88
89
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTeamsResult:
89
90
  """
90
91
  Use this data source to access information about existing Teams in a Project or globally within an Azure DevOps organization
@@ -98,7 +99,7 @@ def get_teams(project_id: Optional[str] = None,
98
99
  example = azuredevops.get_teams()
99
100
  pulumi.export("projectId", [__item.project_id for __item in example.teams])
100
101
  pulumi.export("name", [__item.name for __item in example.teams])
101
- pulumi.export("alladministrators", [__item.administrators for __item in example.teams])
102
+ pulumi.export("allAdministrators", [__item.administrators for __item in example.teams])
102
103
  pulumi.export("administrators", [__item.members for __item in example.teams])
103
104
  ```
104
105
 
@@ -111,8 +112,8 @@ def get_teams(project_id: Optional[str] = None,
111
112
  - **vso.project**: Grants the ability to read projects and teams.
112
113
 
113
114
 
114
- :param str project_id: The Project ID. If no project ID all teams of the organization will be returned.
115
- :param int top: The maximum number of teams to return. Defaults to `100`.
115
+ :param builtins.str project_id: The Project ID. If no project ID all teams of the organization will be returned.
116
+ :param builtins.int top: The maximum number of teams to return. Defaults to `100`.
116
117
  """
117
118
  __args__ = dict()
118
119
  __args__['projectId'] = project_id
@@ -125,8 +126,8 @@ def get_teams(project_id: Optional[str] = None,
125
126
  project_id=pulumi.get(__ret__, 'project_id'),
126
127
  teams=pulumi.get(__ret__, 'teams'),
127
128
  top=pulumi.get(__ret__, 'top'))
128
- def get_teams_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
129
- top: Optional[pulumi.Input[Optional[int]]] = None,
129
+ def get_teams_output(project_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
130
+ top: Optional[pulumi.Input[Optional[builtins.int]]] = None,
130
131
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTeamsResult]:
131
132
  """
132
133
  Use this data source to access information about existing Teams in a Project or globally within an Azure DevOps organization
@@ -140,7 +141,7 @@ def get_teams_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
140
141
  example = azuredevops.get_teams()
141
142
  pulumi.export("projectId", [__item.project_id for __item in example.teams])
142
143
  pulumi.export("name", [__item.name for __item in example.teams])
143
- pulumi.export("alladministrators", [__item.administrators for __item in example.teams])
144
+ pulumi.export("allAdministrators", [__item.administrators for __item in example.teams])
144
145
  pulumi.export("administrators", [__item.members for __item in example.teams])
145
146
  ```
146
147
 
@@ -153,8 +154,8 @@ def get_teams_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
153
154
  - **vso.project**: Grants the ability to read projects and teams.
154
155
 
155
156
 
156
- :param str project_id: The Project ID. If no project ID all teams of the organization will be returned.
157
- :param int top: The maximum number of teams to return. Defaults to `100`.
157
+ :param builtins.str project_id: The Project ID. If no project ID all teams of the organization will be returned.
158
+ :param builtins.int top: The maximum number of teams to return. Defaults to `100`.
158
159
  """
159
160
  __args__ = dict()
160
161
  __args__['projectId'] = project_id
@@ -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
@@ -57,12 +58,12 @@ class GetUserResult:
57
58
 
58
59
  @property
59
60
  @pulumi.getter
60
- def descriptor(self) -> str:
61
+ def descriptor(self) -> builtins.str:
61
62
  return pulumi.get(self, "descriptor")
62
63
 
63
64
  @property
64
65
  @pulumi.getter(name="displayName")
65
- def display_name(self) -> str:
66
+ def display_name(self) -> builtins.str:
66
67
  """
67
68
  The display name of the User.
68
69
  """
@@ -70,7 +71,7 @@ class GetUserResult:
70
71
 
71
72
  @property
72
73
  @pulumi.getter
73
- def domain(self) -> str:
74
+ def domain(self) -> builtins.str:
74
75
  """
75
76
  The domain of the user.
76
77
  """
@@ -78,7 +79,7 @@ class GetUserResult:
78
79
 
79
80
  @property
80
81
  @pulumi.getter
81
- def id(self) -> str:
82
+ def id(self) -> builtins.str:
82
83
  """
83
84
  The provider-assigned unique ID for this managed resource.
84
85
  """
@@ -86,7 +87,7 @@ class GetUserResult:
86
87
 
87
88
  @property
88
89
  @pulumi.getter(name="mailAddress")
89
- def mail_address(self) -> str:
90
+ def mail_address(self) -> builtins.str:
90
91
  """
91
92
  The email address of the user.
92
93
  """
@@ -94,7 +95,7 @@ class GetUserResult:
94
95
 
95
96
  @property
96
97
  @pulumi.getter
97
- def origin(self) -> str:
98
+ def origin(self) -> builtins.str:
98
99
  """
99
100
  The type of source provider for the origin identifier (ex:`AD`, `AAD`, `MSA`).
100
101
  """
@@ -102,7 +103,7 @@ class GetUserResult:
102
103
 
103
104
  @property
104
105
  @pulumi.getter(name="originId")
105
- def origin_id(self) -> str:
106
+ def origin_id(self) -> builtins.str:
106
107
  """
107
108
  The origin ID of the user.
108
109
  """
@@ -110,7 +111,7 @@ class GetUserResult:
110
111
 
111
112
  @property
112
113
  @pulumi.getter(name="principalName")
113
- def principal_name(self) -> str:
114
+ def principal_name(self) -> builtins.str:
114
115
  """
115
116
  The principal name of the user.
116
117
  """
@@ -118,7 +119,7 @@ class GetUserResult:
118
119
 
119
120
  @property
120
121
  @pulumi.getter(name="subjectKind")
121
- def subject_kind(self) -> str:
122
+ def subject_kind(self) -> builtins.str:
122
123
  """
123
124
  The subject kind of the user (ex: `Group`, `Scope`, `User`).
124
125
  """
@@ -142,7 +143,7 @@ class AwaitableGetUserResult(GetUserResult):
142
143
  subject_kind=self.subject_kind)
143
144
 
144
145
 
145
- def get_user(descriptor: Optional[str] = None,
146
+ def get_user(descriptor: Optional[builtins.str] = None,
146
147
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserResult:
147
148
  """
148
149
  Use this data source to access information about an existing user within Azure DevOps.
@@ -150,7 +151,7 @@ def get_user(descriptor: Optional[str] = None,
150
151
  ~>**NOTE:** If you only have the Storage Key(UUID) of the user, you can use `get_descriptor` to resolve the Storage Key(UUID) to a `descriptor`.
151
152
 
152
153
 
153
- :param str descriptor: The descriptor of the user.
154
+ :param builtins.str descriptor: The descriptor of the user.
154
155
  """
155
156
  __args__ = dict()
156
157
  __args__['descriptor'] = descriptor
@@ -167,7 +168,7 @@ def get_user(descriptor: Optional[str] = None,
167
168
  origin_id=pulumi.get(__ret__, 'origin_id'),
168
169
  principal_name=pulumi.get(__ret__, 'principal_name'),
169
170
  subject_kind=pulumi.get(__ret__, 'subject_kind'))
170
- def get_user_output(descriptor: Optional[pulumi.Input[str]] = None,
171
+ def get_user_output(descriptor: Optional[pulumi.Input[builtins.str]] = None,
171
172
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserResult]:
172
173
  """
173
174
  Use this data source to access information about an existing user within Azure DevOps.
@@ -175,7 +176,7 @@ def get_user_output(descriptor: Optional[pulumi.Input[str]] = None,
175
176
  ~>**NOTE:** If you only have the Storage Key(UUID) of the user, you can use `get_descriptor` to resolve the Storage Key(UUID) to a `descriptor`.
176
177
 
177
178
 
178
- :param str descriptor: The descriptor of the user.
179
+ :param builtins.str descriptor: The descriptor of the user.
179
180
  """
180
181
  __args__ = dict()
181
182
  __args__['descriptor'] = descriptor
@@ -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
@@ -58,7 +59,7 @@ class GetUsersResult:
58
59
 
59
60
  @property
60
61
  @pulumi.getter
61
- def id(self) -> str:
62
+ def id(self) -> builtins.str:
62
63
  """
63
64
  The provider-assigned unique ID for this managed resource.
64
65
  """
@@ -66,7 +67,7 @@ class GetUsersResult:
66
67
 
67
68
  @property
68
69
  @pulumi.getter
69
- def origin(self) -> Optional[str]:
70
+ def origin(self) -> Optional[builtins.str]:
70
71
  """
71
72
  The type of source provider for the origin identifier (ex:AD, AAD, MSA)
72
73
  """
@@ -74,7 +75,7 @@ class GetUsersResult:
74
75
 
75
76
  @property
76
77
  @pulumi.getter(name="originId")
77
- def origin_id(self) -> Optional[str]:
78
+ def origin_id(self) -> Optional[builtins.str]:
78
79
  """
79
80
  The unique identifier from the system of origin. Typically a sid, object id or Guid. Linking and unlinking operations can cause this value to change for a user because the user is not backed by a different provider and has a different unique id in the new provider.
80
81
  """
@@ -82,7 +83,7 @@ class GetUsersResult:
82
83
 
83
84
  @property
84
85
  @pulumi.getter(name="principalName")
85
- def principal_name(self) -> Optional[str]:
86
+ def principal_name(self) -> Optional[builtins.str]:
86
87
  """
87
88
  This is the PrincipalName of this graph member from the source provider. The source provider may change this field over time and it is not guaranteed to be immutable for the life of the graph member by VSTS.
88
89
  """
@@ -90,7 +91,7 @@ class GetUsersResult:
90
91
 
91
92
  @property
92
93
  @pulumi.getter(name="subjectTypes")
93
- def subject_types(self) -> Optional[Sequence[str]]:
94
+ def subject_types(self) -> Optional[Sequence[builtins.str]]:
94
95
  return pulumi.get(self, "subject_types")
95
96
 
96
97
  @property
@@ -118,22 +119,55 @@ class AwaitableGetUsersResult(GetUsersResult):
118
119
 
119
120
 
120
121
  def get_users(features: Optional[Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict']] = None,
121
- origin: Optional[str] = None,
122
- origin_id: Optional[str] = None,
123
- principal_name: Optional[str] = None,
124
- subject_types: Optional[Sequence[str]] = None,
122
+ origin: Optional[builtins.str] = None,
123
+ origin_id: Optional[builtins.str] = None,
124
+ principal_name: Optional[builtins.str] = None,
125
+ subject_types: Optional[Sequence[builtins.str]] = None,
125
126
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUsersResult:
126
127
  """
127
128
  Use this data source to access information about an existing users within Azure DevOps.
128
129
 
130
+ > **NOTE:** This resource will try to get all the users within the organization which may result in poor performance. `get_identity_users`, `get_user` can be used to replace this resource.
131
+
129
132
 
130
133
  :param Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict'] features: A `features` block as defined below.
131
- :param str origin: The type of source provider for the `origin_id` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
134
+ :param builtins.str origin: The type of source provider for the `origin_id` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
132
135
  <pre>List of possible origins
133
- :param str origin_id: The unique identifier from the system of origin.
134
- :param str principal_name: The PrincipalName of this graph member from the source provider.
135
- :param Sequence[str] subject_types: A list of user subject subtypes to reduce the retrieved results, e.g. `msa`, `aad`, `svc` (service identity), `imp` (imported identity), etc. The supported subject types are listed below.
136
+ ```hcl
137
+ ActiveDirectory = "ad" # Windows Active Directory
138
+ AzureActiveDirectory = "aad" # Azure Active Directory
139
+ MicrosoftAccount = "msa" # Windows Live Account
140
+ VisualStudioTeamServices = "vsts" # DevOps
141
+ GitHubDirectory = "ghb" # GitHub
142
+ ```
143
+ </pre>
144
+ :param builtins.str origin_id: The unique identifier from the system of origin.
145
+ :param builtins.str principal_name: The PrincipalName of this graph member from the source provider.
146
+ :param Sequence[builtins.str] subject_types: A list of user subject subtypes to reduce the retrieved results, e.g. `msa`, `aad`, `svc` (service identity), `imp` (imported identity), etc. The supported subject types are listed below.
136
147
  <pre>List of possible subject types
148
+ ```hcl
149
+ AadUser = "aad" # Azure Active Directory Tenant
150
+ MsaUser = "msa" # Windows Live
151
+ UnknownUser = "unusr"
152
+ BindPendingUser = "bnd" # Invited user with pending redeem status
153
+ WindowsIdentity = "win" # Windows Active Directory user
154
+ UnauthenticatedIdentity = "uauth"
155
+ ServiceIdentity = "svc"
156
+ AggregateIdentity = "agg"
157
+ ImportedIdentity = "imp"
158
+ ServerTestIdentity = "tst"
159
+ GroupScopeType = "scp"
160
+ CspPartnerIdentity = "csp"
161
+ SystemServicePrincipal = "s2s"
162
+ SystemLicense = "slic"
163
+ SystemScope = "sscp"
164
+ SystemCspPartner = "scsp"
165
+ SystemPublicAccess = "spa"
166
+ SystemAccessControl = "sace"
167
+ AcsServiceIdentity = "acs"
168
+ Unknown = "ukn"
169
+ ```
170
+ </pre>
137
171
  """
138
172
  __args__ = dict()
139
173
  __args__['features'] = features
@@ -153,22 +187,55 @@ def get_users(features: Optional[Union['GetUsersFeaturesArgs', 'GetUsersFeatures
153
187
  subject_types=pulumi.get(__ret__, 'subject_types'),
154
188
  users=pulumi.get(__ret__, 'users'))
155
189
  def get_users_output(features: Optional[pulumi.Input[Optional[Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict']]]] = None,
156
- origin: Optional[pulumi.Input[Optional[str]]] = None,
157
- origin_id: Optional[pulumi.Input[Optional[str]]] = None,
158
- principal_name: Optional[pulumi.Input[Optional[str]]] = None,
159
- subject_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
190
+ origin: Optional[pulumi.Input[Optional[builtins.str]]] = None,
191
+ origin_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
192
+ principal_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
193
+ subject_types: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
160
194
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUsersResult]:
161
195
  """
162
196
  Use this data source to access information about an existing users within Azure DevOps.
163
197
 
198
+ > **NOTE:** This resource will try to get all the users within the organization which may result in poor performance. `get_identity_users`, `get_user` can be used to replace this resource.
199
+
164
200
 
165
201
  :param Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict'] features: A `features` block as defined below.
166
- :param str origin: The type of source provider for the `origin_id` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
202
+ :param builtins.str origin: The type of source provider for the `origin_id` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
167
203
  <pre>List of possible origins
168
- :param str origin_id: The unique identifier from the system of origin.
169
- :param str principal_name: The PrincipalName of this graph member from the source provider.
170
- :param Sequence[str] subject_types: A list of user subject subtypes to reduce the retrieved results, e.g. `msa`, `aad`, `svc` (service identity), `imp` (imported identity), etc. The supported subject types are listed below.
204
+ ```hcl
205
+ ActiveDirectory = "ad" # Windows Active Directory
206
+ AzureActiveDirectory = "aad" # Azure Active Directory
207
+ MicrosoftAccount = "msa" # Windows Live Account
208
+ VisualStudioTeamServices = "vsts" # DevOps
209
+ GitHubDirectory = "ghb" # GitHub
210
+ ```
211
+ </pre>
212
+ :param builtins.str origin_id: The unique identifier from the system of origin.
213
+ :param builtins.str principal_name: The PrincipalName of this graph member from the source provider.
214
+ :param Sequence[builtins.str] subject_types: A list of user subject subtypes to reduce the retrieved results, e.g. `msa`, `aad`, `svc` (service identity), `imp` (imported identity), etc. The supported subject types are listed below.
171
215
  <pre>List of possible subject types
216
+ ```hcl
217
+ AadUser = "aad" # Azure Active Directory Tenant
218
+ MsaUser = "msa" # Windows Live
219
+ UnknownUser = "unusr"
220
+ BindPendingUser = "bnd" # Invited user with pending redeem status
221
+ WindowsIdentity = "win" # Windows Active Directory user
222
+ UnauthenticatedIdentity = "uauth"
223
+ ServiceIdentity = "svc"
224
+ AggregateIdentity = "agg"
225
+ ImportedIdentity = "imp"
226
+ ServerTestIdentity = "tst"
227
+ GroupScopeType = "scp"
228
+ CspPartnerIdentity = "csp"
229
+ SystemServicePrincipal = "s2s"
230
+ SystemLicense = "slic"
231
+ SystemScope = "sscp"
232
+ SystemCspPartner = "scsp"
233
+ SystemPublicAccess = "spa"
234
+ SystemAccessControl = "sace"
235
+ AcsServiceIdentity = "acs"
236
+ Unknown = "ukn"
237
+ ```
238
+ </pre>
172
239
  """
173
240
  __args__ = dict()
174
241
  __args__['features'] = features
@@ -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
@@ -52,7 +53,7 @@ class GetVariableGroupResult:
52
53
 
53
54
  @property
54
55
  @pulumi.getter(name="allowAccess")
55
- def allow_access(self) -> bool:
56
+ def allow_access(self) -> builtins.bool:
56
57
  """
57
58
  Boolean that indicate if this Variable Group is shared by all pipelines of this project.
58
59
  """
@@ -60,7 +61,7 @@ class GetVariableGroupResult:
60
61
 
61
62
  @property
62
63
  @pulumi.getter
63
- def description(self) -> str:
64
+ def description(self) -> builtins.str:
64
65
  """
65
66
  The description of the Variable Group.
66
67
  """
@@ -68,7 +69,7 @@ class GetVariableGroupResult:
68
69
 
69
70
  @property
70
71
  @pulumi.getter
71
- def id(self) -> str:
72
+ def id(self) -> builtins.str:
72
73
  """
73
74
  The provider-assigned unique ID for this managed resource.
74
75
  """
@@ -84,7 +85,7 @@ class GetVariableGroupResult:
84
85
 
85
86
  @property
86
87
  @pulumi.getter
87
- def name(self) -> str:
88
+ def name(self) -> builtins.str:
88
89
  """
89
90
  The name of the Azure key vault to link secrets from as variables.
90
91
  """
@@ -92,7 +93,7 @@ class GetVariableGroupResult:
92
93
 
93
94
  @property
94
95
  @pulumi.getter(name="projectId")
95
- def project_id(self) -> str:
96
+ def project_id(self) -> builtins.str:
96
97
  return pulumi.get(self, "project_id")
97
98
 
98
99
  @property
@@ -119,8 +120,8 @@ class AwaitableGetVariableGroupResult(GetVariableGroupResult):
119
120
  variables=self.variables)
120
121
 
121
122
 
122
- def get_variable_group(name: Optional[str] = None,
123
- project_id: Optional[str] = None,
123
+ def get_variable_group(name: Optional[builtins.str] = None,
124
+ project_id: Optional[builtins.str] = None,
124
125
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVariableGroupResult:
125
126
  """
126
127
  Use this data source to access information about existing Variable Groups within Azure DevOps.
@@ -144,8 +145,8 @@ def get_variable_group(name: Optional[str] = None,
144
145
  - [Azure DevOps Service REST API 7.0 - Variable Groups](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/variablegroups?view=azure-devops-rest-7.0)
145
146
 
146
147
 
147
- :param str name: The name of the Variable Group to retrieve.
148
- :param str project_id: The project ID.
148
+ :param builtins.str name: The name of the Variable Group to retrieve.
149
+ :param builtins.str project_id: The project ID.
149
150
  """
150
151
  __args__ = dict()
151
152
  __args__['name'] = name
@@ -161,8 +162,8 @@ def get_variable_group(name: Optional[str] = None,
161
162
  name=pulumi.get(__ret__, 'name'),
162
163
  project_id=pulumi.get(__ret__, 'project_id'),
163
164
  variables=pulumi.get(__ret__, 'variables'))
164
- def get_variable_group_output(name: Optional[pulumi.Input[str]] = None,
165
- project_id: Optional[pulumi.Input[str]] = None,
165
+ def get_variable_group_output(name: Optional[pulumi.Input[builtins.str]] = None,
166
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
166
167
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVariableGroupResult]:
167
168
  """
168
169
  Use this data source to access information about existing Variable Groups within Azure DevOps.
@@ -186,8 +187,8 @@ def get_variable_group_output(name: Optional[pulumi.Input[str]] = None,
186
187
  - [Azure DevOps Service REST API 7.0 - Variable Groups](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/variablegroups?view=azure-devops-rest-7.0)
187
188
 
188
189
 
189
- :param str name: The name of the Variable Group to retrieve.
190
- :param str project_id: The project ID.
190
+ :param builtins.str name: The name of the Variable Group to retrieve.
191
+ :param builtins.str project_id: The project ID.
191
192
  """
192
193
  __args__ = dict()
193
194
  __args__['name'] = name