pulumi-azuredevops 3.8.0a1742224403__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 +20 -0
  2. pulumi_azuredevops/_inputs.py +1140 -1013
  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 +120 -119
  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 +23 -22
  35. pulumi_azuredevops/get_client_config.py +7 -6
  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 +8 -7
  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 +12 -11
  64. pulumi_azuredevops/get_user.py +14 -13
  65. pulumi_azuredevops/get_users.py +84 -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 +1118 -995
  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 +169 -168
  100. pulumi_azuredevops/service_endpoint_azure_rm.py +195 -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.0a1742224403.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.0a1742224403.dist-info → pulumi_azuredevops-3.9.0.dist-info}/WHEEL +1 -1
  154. pulumi_azuredevops-3.8.0a1742224403.dist-info/RECORD +0 -153
  155. {pulumi_azuredevops-3.8.0a1742224403.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
@@ -48,7 +49,7 @@ class GetServiceendpointSonarcloudResult:
48
49
 
49
50
  @property
50
51
  @pulumi.getter
51
- def authorization(self) -> Mapping[str, str]:
52
+ def authorization(self) -> Mapping[str, builtins.str]:
52
53
  """
53
54
  The Authorization scheme.
54
55
  """
@@ -56,7 +57,7 @@ class GetServiceendpointSonarcloudResult:
56
57
 
57
58
  @property
58
59
  @pulumi.getter
59
- def description(self) -> str:
60
+ def description(self) -> builtins.str:
60
61
  """
61
62
  The description of the Service Endpoint.
62
63
  """
@@ -64,7 +65,7 @@ class GetServiceendpointSonarcloudResult:
64
65
 
65
66
  @property
66
67
  @pulumi.getter
67
- def id(self) -> str:
68
+ def id(self) -> builtins.str:
68
69
  """
69
70
  The provider-assigned unique ID for this managed resource.
70
71
  """
@@ -72,17 +73,17 @@ class GetServiceendpointSonarcloudResult:
72
73
 
73
74
  @property
74
75
  @pulumi.getter(name="projectId")
75
- def project_id(self) -> str:
76
+ def project_id(self) -> builtins.str:
76
77
  return pulumi.get(self, "project_id")
77
78
 
78
79
  @property
79
80
  @pulumi.getter(name="serviceEndpointId")
80
- def service_endpoint_id(self) -> str:
81
+ def service_endpoint_id(self) -> builtins.str:
81
82
  return pulumi.get(self, "service_endpoint_id")
82
83
 
83
84
  @property
84
85
  @pulumi.getter(name="serviceEndpointName")
85
- def service_endpoint_name(self) -> str:
86
+ def service_endpoint_name(self) -> builtins.str:
86
87
  return pulumi.get(self, "service_endpoint_name")
87
88
 
88
89
 
@@ -100,9 +101,9 @@ class AwaitableGetServiceendpointSonarcloudResult(GetServiceendpointSonarcloudRe
100
101
  service_endpoint_name=self.service_endpoint_name)
101
102
 
102
103
 
103
- def get_serviceendpoint_sonarcloud(project_id: Optional[str] = None,
104
- service_endpoint_id: Optional[str] = None,
105
- service_endpoint_name: Optional[str] = None,
104
+ def get_serviceendpoint_sonarcloud(project_id: Optional[builtins.str] = None,
105
+ service_endpoint_id: Optional[builtins.str] = None,
106
+ service_endpoint_name: Optional[builtins.str] = None,
106
107
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceendpointSonarcloudResult:
107
108
  """
108
109
  Use this data source to access information about an existing Sonar Cloud Service Endpoint.
@@ -119,9 +120,9 @@ def get_serviceendpoint_sonarcloud(project_id: Optional[str] = None,
119
120
  ```
120
121
 
121
122
 
122
- :param str project_id: The ID of the project.
123
- :param str service_endpoint_id: the ID of the Service Endpoint.
124
- :param str service_endpoint_name: the Name of the Service Endpoint.
123
+ :param builtins.str project_id: The ID of the project.
124
+ :param builtins.str service_endpoint_id: the ID of the Service Endpoint.
125
+ :param builtins.str service_endpoint_name: the Name of the Service Endpoint.
125
126
 
126
127
  > **NOTE:** One of either `service_endpoint_id` or `service_endpoint_name` must be specified.
127
128
  """
@@ -139,9 +140,9 @@ def get_serviceendpoint_sonarcloud(project_id: Optional[str] = None,
139
140
  project_id=pulumi.get(__ret__, 'project_id'),
140
141
  service_endpoint_id=pulumi.get(__ret__, 'service_endpoint_id'),
141
142
  service_endpoint_name=pulumi.get(__ret__, 'service_endpoint_name'))
142
- def get_serviceendpoint_sonarcloud_output(project_id: Optional[pulumi.Input[str]] = None,
143
- service_endpoint_id: Optional[pulumi.Input[Optional[str]]] = None,
144
- service_endpoint_name: Optional[pulumi.Input[Optional[str]]] = None,
143
+ def get_serviceendpoint_sonarcloud_output(project_id: Optional[pulumi.Input[builtins.str]] = None,
144
+ service_endpoint_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
145
+ service_endpoint_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
145
146
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceendpointSonarcloudResult]:
146
147
  """
147
148
  Use this data source to access information about an existing Sonar Cloud Service Endpoint.
@@ -158,9 +159,9 @@ def get_serviceendpoint_sonarcloud_output(project_id: Optional[pulumi.Input[str]
158
159
  ```
159
160
 
160
161
 
161
- :param str project_id: The ID of the project.
162
- :param str service_endpoint_id: the ID of the Service Endpoint.
163
- :param str service_endpoint_name: the Name of the Service Endpoint.
162
+ :param builtins.str project_id: The ID of the project.
163
+ :param builtins.str service_endpoint_id: the ID of the Service Endpoint.
164
+ :param builtins.str service_endpoint_name: the Name of the Service Endpoint.
164
165
 
165
166
  > **NOTE:** One of either `service_endpoint_id` or `service_endpoint_name` must be specified.
166
167
  """
@@ -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
@@ -39,12 +40,12 @@ class GetStorageKeyResult:
39
40
 
40
41
  @property
41
42
  @pulumi.getter
42
- def descriptor(self) -> str:
43
+ def descriptor(self) -> builtins.str:
43
44
  return pulumi.get(self, "descriptor")
44
45
 
45
46
  @property
46
47
  @pulumi.getter
47
- def id(self) -> str:
48
+ def id(self) -> builtins.str:
48
49
  """
49
50
  The provider-assigned unique ID for this managed resource.
50
51
  """
@@ -52,7 +53,7 @@ class GetStorageKeyResult:
52
53
 
53
54
  @property
54
55
  @pulumi.getter(name="storageKey")
55
- def storage_key(self) -> str:
56
+ def storage_key(self) -> builtins.str:
56
57
  """
57
58
  The Storage Key of the descriptor.
58
59
  """
@@ -70,7 +71,7 @@ class AwaitableGetStorageKeyResult(GetStorageKeyResult):
70
71
  storage_key=self.storage_key)
71
72
 
72
73
 
73
- def get_storage_key(descriptor: Optional[str] = None,
74
+ def get_storage_key(descriptor: Optional[builtins.str] = None,
74
75
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageKeyResult:
75
76
  """
76
77
  Use this data source to access information about an existing Storage Key.
@@ -90,7 +91,7 @@ def get_storage_key(descriptor: Optional[str] = None,
90
91
  - [Azure DevOps Service REST API 7.1 - Storage Key - Get](https://learn.microsoft.com/en-us/rest/api/azure/devops/graph/storage-keys/get?view=azure-devops-rest-7.1)
91
92
 
92
93
 
93
- :param str descriptor: The descriptor that will be resolved to a storage key.
94
+ :param builtins.str descriptor: The descriptor that will be resolved to a storage key.
94
95
  """
95
96
  __args__ = dict()
96
97
  __args__['descriptor'] = descriptor
@@ -101,7 +102,7 @@ def get_storage_key(descriptor: Optional[str] = None,
101
102
  descriptor=pulumi.get(__ret__, 'descriptor'),
102
103
  id=pulumi.get(__ret__, 'id'),
103
104
  storage_key=pulumi.get(__ret__, 'storage_key'))
104
- def get_storage_key_output(descriptor: Optional[pulumi.Input[str]] = None,
105
+ def get_storage_key_output(descriptor: Optional[pulumi.Input[builtins.str]] = None,
105
106
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStorageKeyResult]:
106
107
  """
107
108
  Use this data source to access information about an existing Storage Key.
@@ -121,7 +122,7 @@ def get_storage_key_output(descriptor: Optional[pulumi.Input[str]] = None,
121
122
  - [Azure DevOps Service REST API 7.1 - Storage Key - Get](https://learn.microsoft.com/en-us/rest/api/azure/devops/graph/storage-keys/get?view=azure-devops-rest-7.1)
122
123
 
123
124
 
124
- :param str descriptor: The descriptor that will be resolved to a storage key.
125
+ :param builtins.str descriptor: The descriptor that will be resolved to a storage key.
125
126
  """
126
127
  __args__ = dict()
127
128
  __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
@@ -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
@@ -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
@@ -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,10 +119,10 @@ 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.
@@ -130,12 +131,43 @@ def get_users(features: Optional[Union['GetUsersFeaturesArgs', 'GetUsersFeatures
130
131
 
131
132
 
132
133
  :param Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict'] features: A `features` block as defined below.
133
- :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.
134
135
  <pre>List of possible origins
135
- :param str origin_id: The unique identifier from the system of origin.
136
- :param str principal_name: The PrincipalName of this graph member from the source provider.
137
- :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.
138
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>
139
171
  """
140
172
  __args__ = dict()
141
173
  __args__['features'] = features
@@ -155,10 +187,10 @@ def get_users(features: Optional[Union['GetUsersFeaturesArgs', 'GetUsersFeatures
155
187
  subject_types=pulumi.get(__ret__, 'subject_types'),
156
188
  users=pulumi.get(__ret__, 'users'))
157
189
  def get_users_output(features: Optional[pulumi.Input[Optional[Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict']]]] = None,
158
- origin: Optional[pulumi.Input[Optional[str]]] = None,
159
- origin_id: Optional[pulumi.Input[Optional[str]]] = None,
160
- principal_name: Optional[pulumi.Input[Optional[str]]] = None,
161
- 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,
162
194
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUsersResult]:
163
195
  """
164
196
  Use this data source to access information about an existing users within Azure DevOps.
@@ -167,12 +199,43 @@ def get_users_output(features: Optional[pulumi.Input[Optional[Union['GetUsersFea
167
199
 
168
200
 
169
201
  :param Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict'] features: A `features` block as defined below.
170
- :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.
171
203
  <pre>List of possible origins
172
- :param str origin_id: The unique identifier from the system of origin.
173
- :param str principal_name: The PrincipalName of this graph member from the source provider.
174
- :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.
175
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>
176
239
  """
177
240
  __args__ = dict()
178
241
  __args__['features'] = features