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.
- pulumi_azuredevops/__init__.py +20 -0
- pulumi_azuredevops/_inputs.py +1140 -1013
- 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 +120 -119
- 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 +23 -22
- pulumi_azuredevops/get_client_config.py +7 -6
- 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 +8 -7
- 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 +12 -11
- pulumi_azuredevops/get_user.py +14 -13
- pulumi_azuredevops/get_users.py +84 -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 +1118 -995
- 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 +169 -168
- pulumi_azuredevops/service_endpoint_azure_rm.py +195 -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.0a1742224403.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.0a1742224403.dist-info → pulumi_azuredevops-3.9.0.dist-info}/WHEEL +1 -1
- pulumi_azuredevops-3.8.0a1742224403.dist-info/RECORD +0 -153
- {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 GetClientConfigResult:
|
|
48
49
|
|
49
50
|
@property
|
50
51
|
@pulumi.getter
|
51
|
-
def id(self) -> str:
|
52
|
+
def id(self) -> builtins.str:
|
52
53
|
"""
|
53
54
|
The provider-assigned unique ID for this managed resource.
|
54
55
|
"""
|
@@ -56,7 +57,7 @@ class GetClientConfigResult:
|
|
56
57
|
|
57
58
|
@property
|
58
59
|
@pulumi.getter
|
59
|
-
def name(self) -> str:
|
60
|
+
def name(self) -> builtins.str:
|
60
61
|
"""
|
61
62
|
The name of the organization.
|
62
63
|
"""
|
@@ -64,7 +65,7 @@ class GetClientConfigResult:
|
|
64
65
|
|
65
66
|
@property
|
66
67
|
@pulumi.getter(name="organizationUrl")
|
67
|
-
def organization_url(self) -> str:
|
68
|
+
def organization_url(self) -> builtins.str:
|
68
69
|
"""
|
69
70
|
The URL of the organization.
|
70
71
|
"""
|
@@ -72,7 +73,7 @@ class GetClientConfigResult:
|
|
72
73
|
|
73
74
|
@property
|
74
75
|
@pulumi.getter(name="ownerId")
|
75
|
-
def owner_id(self) -> str:
|
76
|
+
def owner_id(self) -> builtins.str:
|
76
77
|
"""
|
77
78
|
The owner ID of the organization.
|
78
79
|
"""
|
@@ -80,7 +81,7 @@ class GetClientConfigResult:
|
|
80
81
|
|
81
82
|
@property
|
82
83
|
@pulumi.getter
|
83
|
-
def status(self) -> str:
|
84
|
+
def status(self) -> builtins.str:
|
84
85
|
"""
|
85
86
|
The status of the organization.
|
86
87
|
"""
|
@@ -88,7 +89,7 @@ class GetClientConfigResult:
|
|
88
89
|
|
89
90
|
@property
|
90
91
|
@pulumi.getter(name="tenantId")
|
91
|
-
def tenant_id(self) -> str:
|
92
|
+
def tenant_id(self) -> builtins.str:
|
92
93
|
"""
|
93
94
|
The Tenant ID of the connected Azure Directory.
|
94
95
|
"""
|
@@ -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,7 +40,7 @@ class GetDescriptorResult:
|
|
39
40
|
|
40
41
|
@property
|
41
42
|
@pulumi.getter
|
42
|
-
def descriptor(self) -> str:
|
43
|
+
def descriptor(self) -> builtins.str:
|
43
44
|
"""
|
44
45
|
The descriptor of the storage key.
|
45
46
|
"""
|
@@ -47,7 +48,7 @@ class GetDescriptorResult:
|
|
47
48
|
|
48
49
|
@property
|
49
50
|
@pulumi.getter
|
50
|
-
def id(self) -> str:
|
51
|
+
def id(self) -> builtins.str:
|
51
52
|
"""
|
52
53
|
The provider-assigned unique ID for this managed resource.
|
53
54
|
"""
|
@@ -55,7 +56,7 @@ class GetDescriptorResult:
|
|
55
56
|
|
56
57
|
@property
|
57
58
|
@pulumi.getter(name="storageKey")
|
58
|
-
def storage_key(self) -> str:
|
59
|
+
def storage_key(self) -> builtins.str:
|
59
60
|
return pulumi.get(self, "storage_key")
|
60
61
|
|
61
62
|
|
@@ -70,7 +71,7 @@ class AwaitableGetDescriptorResult(GetDescriptorResult):
|
|
70
71
|
storage_key=self.storage_key)
|
71
72
|
|
72
73
|
|
73
|
-
def get_descriptor(storage_key: Optional[str] = None,
|
74
|
+
def get_descriptor(storage_key: Optional[builtins.str] = None,
|
74
75
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDescriptorResult:
|
75
76
|
"""
|
76
77
|
Use this data source to access information about an existing Descriptor.
|
@@ -90,7 +91,7 @@ def get_descriptor(storage_key: Optional[str] = None,
|
|
90
91
|
- [Azure DevOps Service REST API 7.1 - Descriptors - Get](https://learn.microsoft.com/en-us/rest/api/azure/devops/graph/descriptors/get?view=azure-devops-rest-7.1)
|
91
92
|
|
92
93
|
|
93
|
-
:param str storage_key: The ID of the resource(`user`, `group`, `scope`, etc.) that will be resolved to a descriptor.
|
94
|
+
:param builtins.str storage_key: The ID of the resource(`user`, `group`, `scope`, etc.) that will be resolved to a descriptor.
|
94
95
|
"""
|
95
96
|
__args__ = dict()
|
96
97
|
__args__['storageKey'] = storage_key
|
@@ -101,7 +102,7 @@ def get_descriptor(storage_key: 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_descriptor_output(storage_key: Optional[pulumi.Input[str]] = None,
|
105
|
+
def get_descriptor_output(storage_key: Optional[pulumi.Input[builtins.str]] = None,
|
105
106
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDescriptorResult]:
|
106
107
|
"""
|
107
108
|
Use this data source to access information about an existing Descriptor.
|
@@ -121,7 +122,7 @@ def get_descriptor_output(storage_key: Optional[pulumi.Input[str]] = None,
|
|
121
122
|
- [Azure DevOps Service REST API 7.1 - Descriptors - Get](https://learn.microsoft.com/en-us/rest/api/azure/devops/graph/descriptors/get?view=azure-devops-rest-7.1)
|
122
123
|
|
123
124
|
|
124
|
-
:param str storage_key: The ID of the resource(`user`, `group`, `scope`, etc.) that will be resolved to a descriptor.
|
125
|
+
:param builtins.str storage_key: The ID of the resource(`user`, `group`, `scope`, etc.) that will be resolved to a descriptor.
|
125
126
|
"""
|
126
127
|
__args__ = dict()
|
127
128
|
__args__['storageKey'] = storage_key
|
@@ -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
|
@@ -45,7 +46,7 @@ class GetEnvironmentResult:
|
|
45
46
|
|
46
47
|
@property
|
47
48
|
@pulumi.getter
|
48
|
-
def description(self) -> str:
|
49
|
+
def description(self) -> builtins.str:
|
49
50
|
"""
|
50
51
|
A description for the Environment.
|
51
52
|
"""
|
@@ -53,12 +54,12 @@ class GetEnvironmentResult:
|
|
53
54
|
|
54
55
|
@property
|
55
56
|
@pulumi.getter(name="environmentId")
|
56
|
-
def environment_id(self) -> Optional[int]:
|
57
|
+
def environment_id(self) -> Optional[builtins.int]:
|
57
58
|
return pulumi.get(self, "environment_id")
|
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 GetEnvironmentResult:
|
|
66
67
|
|
67
68
|
@property
|
68
69
|
@pulumi.getter
|
69
|
-
def name(self) -> str:
|
70
|
+
def name(self) -> builtins.str:
|
70
71
|
"""
|
71
72
|
The name of the Environment.
|
72
73
|
"""
|
@@ -74,7 +75,7 @@ class GetEnvironmentResult:
|
|
74
75
|
|
75
76
|
@property
|
76
77
|
@pulumi.getter(name="projectId")
|
77
|
-
def project_id(self) -> str:
|
78
|
+
def project_id(self) -> builtins.str:
|
78
79
|
return pulumi.get(self, "project_id")
|
79
80
|
|
80
81
|
|
@@ -91,9 +92,9 @@ class AwaitableGetEnvironmentResult(GetEnvironmentResult):
|
|
91
92
|
project_id=self.project_id)
|
92
93
|
|
93
94
|
|
94
|
-
def get_environment(environment_id: Optional[int] = None,
|
95
|
-
name: Optional[str] = None,
|
96
|
-
project_id: Optional[str] = None,
|
95
|
+
def get_environment(environment_id: Optional[builtins.int] = None,
|
96
|
+
name: Optional[builtins.str] = None,
|
97
|
+
project_id: Optional[builtins.str] = None,
|
97
98
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEnvironmentResult:
|
98
99
|
"""
|
99
100
|
Use this data source to access information about an Environment.
|
@@ -126,11 +127,11 @@ def get_environment(environment_id: Optional[int] = None,
|
|
126
127
|
* [Azure DevOps Service REST API 7.0 - Environments](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/environments?view=azure-devops-rest-7.0)
|
127
128
|
|
128
129
|
|
129
|
-
:param int environment_id: The ID of the Environment.
|
130
|
-
:param str name: Name of the Environment.
|
130
|
+
:param builtins.int environment_id: The ID of the Environment.
|
131
|
+
:param builtins.str name: Name of the Environment.
|
131
132
|
|
132
133
|
> **NOTE:** One of either `environment_id` or `name` must be specified.
|
133
|
-
:param str project_id: The ID of the project.
|
134
|
+
:param builtins.str project_id: The ID of the project.
|
134
135
|
"""
|
135
136
|
__args__ = dict()
|
136
137
|
__args__['environmentId'] = environment_id
|
@@ -145,9 +146,9 @@ def get_environment(environment_id: Optional[int] = None,
|
|
145
146
|
id=pulumi.get(__ret__, 'id'),
|
146
147
|
name=pulumi.get(__ret__, 'name'),
|
147
148
|
project_id=pulumi.get(__ret__, 'project_id'))
|
148
|
-
def get_environment_output(environment_id: Optional[pulumi.Input[Optional[int]]] = None,
|
149
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
150
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
149
|
+
def get_environment_output(environment_id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
150
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
151
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
151
152
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEnvironmentResult]:
|
152
153
|
"""
|
153
154
|
Use this data source to access information about an Environment.
|
@@ -180,11 +181,11 @@ def get_environment_output(environment_id: Optional[pulumi.Input[Optional[int]]]
|
|
180
181
|
* [Azure DevOps Service REST API 7.0 - Environments](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/environments?view=azure-devops-rest-7.0)
|
181
182
|
|
182
183
|
|
183
|
-
:param int environment_id: The ID of the Environment.
|
184
|
-
:param str name: Name of the Environment.
|
184
|
+
:param builtins.int environment_id: The ID of the Environment.
|
185
|
+
:param builtins.str name: Name of the Environment.
|
185
186
|
|
186
187
|
> **NOTE:** One of either `environment_id` or `name` must be specified.
|
187
|
-
:param str project_id: The ID of the project.
|
188
|
+
:param builtins.str project_id: The ID of the project.
|
188
189
|
"""
|
189
190
|
__args__ = dict()
|
190
191
|
__args__['environmentId'] = environment_id
|
pulumi_azuredevops/get_feed.py
CHANGED
@@ -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
|
@@ -42,7 +43,7 @@ class GetFeedResult:
|
|
42
43
|
|
43
44
|
@property
|
44
45
|
@pulumi.getter(name="feedId")
|
45
|
-
def feed_id(self) -> Optional[str]:
|
46
|
+
def feed_id(self) -> Optional[builtins.str]:
|
46
47
|
"""
|
47
48
|
The ID of the Feed.
|
48
49
|
"""
|
@@ -50,7 +51,7 @@ class GetFeedResult:
|
|
50
51
|
|
51
52
|
@property
|
52
53
|
@pulumi.getter
|
53
|
-
def id(self) -> str:
|
54
|
+
def id(self) -> builtins.str:
|
54
55
|
"""
|
55
56
|
The provider-assigned unique ID for this managed resource.
|
56
57
|
"""
|
@@ -58,7 +59,7 @@ class GetFeedResult:
|
|
58
59
|
|
59
60
|
@property
|
60
61
|
@pulumi.getter
|
61
|
-
def name(self) -> Optional[str]:
|
62
|
+
def name(self) -> Optional[builtins.str]:
|
62
63
|
"""
|
63
64
|
The name of the Feed.
|
64
65
|
"""
|
@@ -66,7 +67,7 @@ class GetFeedResult:
|
|
66
67
|
|
67
68
|
@property
|
68
69
|
@pulumi.getter(name="projectId")
|
69
|
-
def project_id(self) -> Optional[str]:
|
70
|
+
def project_id(self) -> Optional[builtins.str]:
|
70
71
|
"""
|
71
72
|
The ID of the Project.
|
72
73
|
"""
|
@@ -85,9 +86,9 @@ class AwaitableGetFeedResult(GetFeedResult):
|
|
85
86
|
project_id=self.project_id)
|
86
87
|
|
87
88
|
|
88
|
-
def get_feed(feed_id: Optional[str] = None,
|
89
|
-
name: Optional[str] = None,
|
90
|
-
project_id: Optional[str] = None,
|
89
|
+
def get_feed(feed_id: Optional[builtins.str] = None,
|
90
|
+
name: Optional[builtins.str] = None,
|
91
|
+
project_id: Optional[builtins.str] = None,
|
91
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFeedResult:
|
92
93
|
"""
|
93
94
|
Use this data source to access information about existing Feed within a given project in Azure DevOps.
|
@@ -117,11 +118,11 @@ def get_feed(feed_id: Optional[str] = None,
|
|
117
118
|
- [Azure DevOps Service REST API 7.0 - Feed - Get](https://learn.microsoft.com/en-us/rest/api/azure/devops/artifacts/feed-management/get-feed?view=azure-devops-rest-7.0)
|
118
119
|
|
119
120
|
|
120
|
-
:param str feed_id: The ID of the Feed.
|
121
|
+
:param builtins.str feed_id: The ID of the Feed.
|
121
122
|
|
122
123
|
> **Note** Only one of `name` or `feed_id` can be set at the same time.
|
123
|
-
:param str name: The Name of the Feed.
|
124
|
-
:param str project_id: ID of the Project Feed is created in.
|
124
|
+
:param builtins.str name: The Name of the Feed.
|
125
|
+
:param builtins.str project_id: ID of the Project Feed is created in.
|
125
126
|
"""
|
126
127
|
__args__ = dict()
|
127
128
|
__args__['feedId'] = feed_id
|
@@ -135,9 +136,9 @@ def get_feed(feed_id: Optional[str] = None,
|
|
135
136
|
id=pulumi.get(__ret__, 'id'),
|
136
137
|
name=pulumi.get(__ret__, 'name'),
|
137
138
|
project_id=pulumi.get(__ret__, 'project_id'))
|
138
|
-
def get_feed_output(feed_id: Optional[pulumi.Input[Optional[str]]] = None,
|
139
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
140
|
-
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
139
|
+
def get_feed_output(feed_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
140
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
141
|
+
project_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
141
142
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFeedResult]:
|
142
143
|
"""
|
143
144
|
Use this data source to access information about existing Feed within a given project in Azure DevOps.
|
@@ -167,11 +168,11 @@ def get_feed_output(feed_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
167
168
|
- [Azure DevOps Service REST API 7.0 - Feed - Get](https://learn.microsoft.com/en-us/rest/api/azure/devops/artifacts/feed-management/get-feed?view=azure-devops-rest-7.0)
|
168
169
|
|
169
170
|
|
170
|
-
:param str feed_id: The ID of the Feed.
|
171
|
+
:param builtins.str feed_id: The ID of the Feed.
|
171
172
|
|
172
173
|
> **Note** Only one of `name` or `feed_id` can be set at the same time.
|
173
|
-
:param str name: The Name of the Feed.
|
174
|
-
:param str project_id: ID of the Project Feed is created in.
|
174
|
+
:param builtins.str name: The Name of the Feed.
|
175
|
+
:param builtins.str project_id: ID of the Project Feed is created in.
|
175
176
|
"""
|
176
177
|
__args__ = dict()
|
177
178
|
__args__['feedId'] = feed_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
|
@@ -63,7 +64,7 @@ class GetGitRepositoryResult:
|
|
63
64
|
|
64
65
|
@property
|
65
66
|
@pulumi.getter(name="defaultBranch")
|
66
|
-
def default_branch(self) -> str:
|
67
|
+
def default_branch(self) -> builtins.str:
|
67
68
|
"""
|
68
69
|
The ref of the default branch.
|
69
70
|
"""
|
@@ -71,7 +72,7 @@ class GetGitRepositoryResult:
|
|
71
72
|
|
72
73
|
@property
|
73
74
|
@pulumi.getter
|
74
|
-
def disabled(self) -> bool:
|
75
|
+
def disabled(self) -> builtins.bool:
|
75
76
|
"""
|
76
77
|
Indicates whether the repository is disabled.
|
77
78
|
"""
|
@@ -79,7 +80,7 @@ class GetGitRepositoryResult:
|
|
79
80
|
|
80
81
|
@property
|
81
82
|
@pulumi.getter
|
82
|
-
def id(self) -> str:
|
83
|
+
def id(self) -> builtins.str:
|
83
84
|
"""
|
84
85
|
The provider-assigned unique ID for this managed resource.
|
85
86
|
"""
|
@@ -87,12 +88,12 @@ class GetGitRepositoryResult:
|
|
87
88
|
|
88
89
|
@property
|
89
90
|
@pulumi.getter(name="isFork")
|
90
|
-
def is_fork(self) -> bool:
|
91
|
+
def is_fork(self) -> builtins.bool:
|
91
92
|
return pulumi.get(self, "is_fork")
|
92
93
|
|
93
94
|
@property
|
94
95
|
@pulumi.getter
|
95
|
-
def name(self) -> str:
|
96
|
+
def name(self) -> builtins.str:
|
96
97
|
"""
|
97
98
|
The name of the Git repository.
|
98
99
|
"""
|
@@ -100,7 +101,7 @@ class GetGitRepositoryResult:
|
|
100
101
|
|
101
102
|
@property
|
102
103
|
@pulumi.getter(name="projectId")
|
103
|
-
def project_id(self) -> str:
|
104
|
+
def project_id(self) -> builtins.str:
|
104
105
|
"""
|
105
106
|
Project identifier to which the Git repository belongs.
|
106
107
|
"""
|
@@ -108,7 +109,7 @@ class GetGitRepositoryResult:
|
|
108
109
|
|
109
110
|
@property
|
110
111
|
@pulumi.getter(name="remoteUrl")
|
111
|
-
def remote_url(self) -> str:
|
112
|
+
def remote_url(self) -> builtins.str:
|
112
113
|
"""
|
113
114
|
HTTPS Url to clone the Git repository
|
114
115
|
"""
|
@@ -116,7 +117,7 @@ class GetGitRepositoryResult:
|
|
116
117
|
|
117
118
|
@property
|
118
119
|
@pulumi.getter
|
119
|
-
def size(self) -> int:
|
120
|
+
def size(self) -> builtins.int:
|
120
121
|
"""
|
121
122
|
Compressed size (bytes) of the repository.
|
122
123
|
"""
|
@@ -124,7 +125,7 @@ class GetGitRepositoryResult:
|
|
124
125
|
|
125
126
|
@property
|
126
127
|
@pulumi.getter(name="sshUrl")
|
127
|
-
def ssh_url(self) -> str:
|
128
|
+
def ssh_url(self) -> builtins.str:
|
128
129
|
"""
|
129
130
|
SSH Url to clone the Git repository
|
130
131
|
"""
|
@@ -132,7 +133,7 @@ class GetGitRepositoryResult:
|
|
132
133
|
|
133
134
|
@property
|
134
135
|
@pulumi.getter
|
135
|
-
def url(self) -> str:
|
136
|
+
def url(self) -> builtins.str:
|
136
137
|
"""
|
137
138
|
The details REST API endpoint for the Git Repository.
|
138
139
|
"""
|
@@ -140,7 +141,7 @@ class GetGitRepositoryResult:
|
|
140
141
|
|
141
142
|
@property
|
142
143
|
@pulumi.getter(name="webUrl")
|
143
|
-
def web_url(self) -> str:
|
144
|
+
def web_url(self) -> builtins.str:
|
144
145
|
"""
|
145
146
|
The Url of the Git repository web view
|
146
147
|
"""
|
@@ -166,8 +167,8 @@ class AwaitableGetGitRepositoryResult(GetGitRepositoryResult):
|
|
166
167
|
web_url=self.web_url)
|
167
168
|
|
168
169
|
|
169
|
-
def get_git_repository(name: Optional[str] = None,
|
170
|
-
project_id: Optional[str] = None,
|
170
|
+
def get_git_repository(name: Optional[builtins.str] = None,
|
171
|
+
project_id: Optional[builtins.str] = None,
|
171
172
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGitRepositoryResult:
|
172
173
|
"""
|
173
174
|
Use this data source to access information about a **single** (existing) Git Repository within Azure DevOps.
|
@@ -190,8 +191,8 @@ def get_git_repository(name: Optional[str] = None,
|
|
190
191
|
- [Azure DevOps Service REST API 7.0 - Git API](https://docs.microsoft.com/en-us/rest/api/azure/devops/git/?view=azure-devops-rest-7.0)
|
191
192
|
|
192
193
|
|
193
|
-
:param str name: The Name of the Git repository to retrieve
|
194
|
-
:param str project_id: The ID of project to list Git repositories
|
194
|
+
:param builtins.str name: The Name of the Git repository to retrieve
|
195
|
+
:param builtins.str project_id: The ID of project to list Git repositories
|
195
196
|
"""
|
196
197
|
__args__ = dict()
|
197
198
|
__args__['name'] = name
|
@@ -211,8 +212,8 @@ def get_git_repository(name: Optional[str] = None,
|
|
211
212
|
ssh_url=pulumi.get(__ret__, 'ssh_url'),
|
212
213
|
url=pulumi.get(__ret__, 'url'),
|
213
214
|
web_url=pulumi.get(__ret__, 'web_url'))
|
214
|
-
def get_git_repository_output(name: Optional[pulumi.Input[str]] = None,
|
215
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
215
|
+
def get_git_repository_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
216
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
216
217
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGitRepositoryResult]:
|
217
218
|
"""
|
218
219
|
Use this data source to access information about a **single** (existing) Git Repository within Azure DevOps.
|
@@ -235,8 +236,8 @@ def get_git_repository_output(name: Optional[pulumi.Input[str]] = None,
|
|
235
236
|
- [Azure DevOps Service REST API 7.0 - Git API](https://docs.microsoft.com/en-us/rest/api/azure/devops/git/?view=azure-devops-rest-7.0)
|
236
237
|
|
237
238
|
|
238
|
-
:param str name: The Name of the Git repository to retrieve
|
239
|
-
:param str project_id: The ID of project to list Git repositories
|
239
|
+
:param builtins.str name: The Name of the Git repository to retrieve
|
240
|
+
:param builtins.str project_id: The ID of project to list Git repositories
|
240
241
|
"""
|
241
242
|
__args__ = dict()
|
242
243
|
__args__['name'] = name
|
@@ -0,0 +1,201 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from . import _utilities
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetGitRepositoryFileResult',
|
20
|
+
'AwaitableGetGitRepositoryFileResult',
|
21
|
+
'get_git_repository_file',
|
22
|
+
'get_git_repository_file_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetGitRepositoryFileResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getGitRepositoryFile.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, branch=None, content=None, file=None, id=None, last_commit_message=None, repository_id=None, tag=None):
|
31
|
+
if branch and not isinstance(branch, str):
|
32
|
+
raise TypeError("Expected argument 'branch' to be a str")
|
33
|
+
pulumi.set(__self__, "branch", branch)
|
34
|
+
if content and not isinstance(content, str):
|
35
|
+
raise TypeError("Expected argument 'content' to be a str")
|
36
|
+
pulumi.set(__self__, "content", content)
|
37
|
+
if file and not isinstance(file, str):
|
38
|
+
raise TypeError("Expected argument 'file' to be a str")
|
39
|
+
pulumi.set(__self__, "file", file)
|
40
|
+
if id and not isinstance(id, str):
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
42
|
+
pulumi.set(__self__, "id", id)
|
43
|
+
if last_commit_message and not isinstance(last_commit_message, str):
|
44
|
+
raise TypeError("Expected argument 'last_commit_message' to be a str")
|
45
|
+
pulumi.set(__self__, "last_commit_message", last_commit_message)
|
46
|
+
if repository_id and not isinstance(repository_id, str):
|
47
|
+
raise TypeError("Expected argument 'repository_id' to be a str")
|
48
|
+
pulumi.set(__self__, "repository_id", repository_id)
|
49
|
+
if tag and not isinstance(tag, str):
|
50
|
+
raise TypeError("Expected argument 'tag' to be a str")
|
51
|
+
pulumi.set(__self__, "tag", tag)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def branch(self) -> Optional[builtins.str]:
|
56
|
+
return pulumi.get(self, "branch")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def content(self) -> builtins.str:
|
61
|
+
"""
|
62
|
+
The file content.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "content")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter
|
68
|
+
def file(self) -> builtins.str:
|
69
|
+
return pulumi.get(self, "file")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter
|
73
|
+
def id(self) -> builtins.str:
|
74
|
+
"""
|
75
|
+
The provider-assigned unique ID for this managed resource.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "id")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="lastCommitMessage")
|
81
|
+
def last_commit_message(self) -> builtins.str:
|
82
|
+
"""
|
83
|
+
The commit message for the file.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "last_commit_message")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="repositoryId")
|
89
|
+
def repository_id(self) -> builtins.str:
|
90
|
+
return pulumi.get(self, "repository_id")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter
|
94
|
+
def tag(self) -> Optional[builtins.str]:
|
95
|
+
return pulumi.get(self, "tag")
|
96
|
+
|
97
|
+
|
98
|
+
class AwaitableGetGitRepositoryFileResult(GetGitRepositoryFileResult):
|
99
|
+
# pylint: disable=using-constant-test
|
100
|
+
def __await__(self):
|
101
|
+
if False:
|
102
|
+
yield self
|
103
|
+
return GetGitRepositoryFileResult(
|
104
|
+
branch=self.branch,
|
105
|
+
content=self.content,
|
106
|
+
file=self.file,
|
107
|
+
id=self.id,
|
108
|
+
last_commit_message=self.last_commit_message,
|
109
|
+
repository_id=self.repository_id,
|
110
|
+
tag=self.tag)
|
111
|
+
|
112
|
+
|
113
|
+
def get_git_repository_file(branch: Optional[builtins.str] = None,
|
114
|
+
file: Optional[builtins.str] = None,
|
115
|
+
repository_id: Optional[builtins.str] = None,
|
116
|
+
tag: Optional[builtins.str] = None,
|
117
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGitRepositoryFileResult:
|
118
|
+
"""
|
119
|
+
Use this data source to get an existing Git Repository File.
|
120
|
+
|
121
|
+
## Example Usage
|
122
|
+
|
123
|
+
```python
|
124
|
+
import pulumi
|
125
|
+
import pulumi_azuredevops as azuredevops
|
126
|
+
|
127
|
+
example = azuredevops.get_project(name="Example Project")
|
128
|
+
# Load a specific Git repository by name
|
129
|
+
example_get_git_repository = azuredevops.get_git_repository(project_id=example.id,
|
130
|
+
name="Example Repository")
|
131
|
+
example_get_git_repository_file = azuredevops.get_git_repository_file(repository_id=example_get_git_repository.id,
|
132
|
+
branch="refs/heads/main",
|
133
|
+
file="MyFile.txt")
|
134
|
+
```
|
135
|
+
|
136
|
+
|
137
|
+
:param builtins.str branch: The git branch to use. Conflicts with `tag`; one or the other must be specified.
|
138
|
+
:param builtins.str file: The path of the file to get.
|
139
|
+
:param builtins.str repository_id: The ID of the Git repository.
|
140
|
+
:param builtins.str tag: The tag to use.Conflicts with `branch`; one or the other must be specified.
|
141
|
+
"""
|
142
|
+
__args__ = dict()
|
143
|
+
__args__['branch'] = branch
|
144
|
+
__args__['file'] = file
|
145
|
+
__args__['repositoryId'] = repository_id
|
146
|
+
__args__['tag'] = tag
|
147
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
148
|
+
__ret__ = pulumi.runtime.invoke('azuredevops:index/getGitRepositoryFile:getGitRepositoryFile', __args__, opts=opts, typ=GetGitRepositoryFileResult).value
|
149
|
+
|
150
|
+
return AwaitableGetGitRepositoryFileResult(
|
151
|
+
branch=pulumi.get(__ret__, 'branch'),
|
152
|
+
content=pulumi.get(__ret__, 'content'),
|
153
|
+
file=pulumi.get(__ret__, 'file'),
|
154
|
+
id=pulumi.get(__ret__, 'id'),
|
155
|
+
last_commit_message=pulumi.get(__ret__, 'last_commit_message'),
|
156
|
+
repository_id=pulumi.get(__ret__, 'repository_id'),
|
157
|
+
tag=pulumi.get(__ret__, 'tag'))
|
158
|
+
def get_git_repository_file_output(branch: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
159
|
+
file: Optional[pulumi.Input[builtins.str]] = None,
|
160
|
+
repository_id: Optional[pulumi.Input[builtins.str]] = None,
|
161
|
+
tag: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
162
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGitRepositoryFileResult]:
|
163
|
+
"""
|
164
|
+
Use this data source to get an existing Git Repository File.
|
165
|
+
|
166
|
+
## Example Usage
|
167
|
+
|
168
|
+
```python
|
169
|
+
import pulumi
|
170
|
+
import pulumi_azuredevops as azuredevops
|
171
|
+
|
172
|
+
example = azuredevops.get_project(name="Example Project")
|
173
|
+
# Load a specific Git repository by name
|
174
|
+
example_get_git_repository = azuredevops.get_git_repository(project_id=example.id,
|
175
|
+
name="Example Repository")
|
176
|
+
example_get_git_repository_file = azuredevops.get_git_repository_file(repository_id=example_get_git_repository.id,
|
177
|
+
branch="refs/heads/main",
|
178
|
+
file="MyFile.txt")
|
179
|
+
```
|
180
|
+
|
181
|
+
|
182
|
+
:param builtins.str branch: The git branch to use. Conflicts with `tag`; one or the other must be specified.
|
183
|
+
:param builtins.str file: The path of the file to get.
|
184
|
+
:param builtins.str repository_id: The ID of the Git repository.
|
185
|
+
:param builtins.str tag: The tag to use.Conflicts with `branch`; one or the other must be specified.
|
186
|
+
"""
|
187
|
+
__args__ = dict()
|
188
|
+
__args__['branch'] = branch
|
189
|
+
__args__['file'] = file
|
190
|
+
__args__['repositoryId'] = repository_id
|
191
|
+
__args__['tag'] = tag
|
192
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
193
|
+
__ret__ = pulumi.runtime.invoke_output('azuredevops:index/getGitRepositoryFile:getGitRepositoryFile', __args__, opts=opts, typ=GetGitRepositoryFileResult)
|
194
|
+
return __ret__.apply(lambda __response__: GetGitRepositoryFileResult(
|
195
|
+
branch=pulumi.get(__response__, 'branch'),
|
196
|
+
content=pulumi.get(__response__, 'content'),
|
197
|
+
file=pulumi.get(__response__, 'file'),
|
198
|
+
id=pulumi.get(__response__, 'id'),
|
199
|
+
last_commit_message=pulumi.get(__response__, 'last_commit_message'),
|
200
|
+
repository_id=pulumi.get(__response__, 'repository_id'),
|
201
|
+
tag=pulumi.get(__response__, 'tag')))
|