pulumi-pulumiservice 0.28.0a1736807230__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 (32) hide show
  1. pulumi_pulumiservice/__init__.py +76 -0
  2. pulumi_pulumiservice/_enums.py +228 -0
  3. pulumi_pulumiservice/_inputs.py +1143 -0
  4. pulumi_pulumiservice/_utilities.py +327 -0
  5. pulumi_pulumiservice/access_token.py +137 -0
  6. pulumi_pulumiservice/agent_pool.py +235 -0
  7. pulumi_pulumiservice/config/__init__.py +8 -0
  8. pulumi_pulumiservice/config/__init__.pyi +18 -0
  9. pulumi_pulumiservice/config/vars.py +26 -0
  10. pulumi_pulumiservice/deployment_schedule.py +284 -0
  11. pulumi_pulumiservice/deployment_settings.py +377 -0
  12. pulumi_pulumiservice/drift_schedule.py +258 -0
  13. pulumi_pulumiservice/environment.py +228 -0
  14. pulumi_pulumiservice/environment_version_tag.py +248 -0
  15. pulumi_pulumiservice/org_access_token.py +229 -0
  16. pulumi_pulumiservice/outputs.py +902 -0
  17. pulumi_pulumiservice/provider.py +95 -0
  18. pulumi_pulumiservice/pulumi-plugin.json +5 -0
  19. pulumi_pulumiservice/py.typed +0 -0
  20. pulumi_pulumiservice/stack.py +214 -0
  21. pulumi_pulumiservice/stack_tag.py +245 -0
  22. pulumi_pulumiservice/team.py +300 -0
  23. pulumi_pulumiservice/team_access_token.py +226 -0
  24. pulumi_pulumiservice/team_environment_permission.py +213 -0
  25. pulumi_pulumiservice/team_stack_permission.py +201 -0
  26. pulumi_pulumiservice/template_source.py +216 -0
  27. pulumi_pulumiservice/ttl_schedule.py +258 -0
  28. pulumi_pulumiservice/webhook.py +451 -0
  29. pulumi_pulumiservice-0.28.0a1736807230.dist-info/METADATA +121 -0
  30. pulumi_pulumiservice-0.28.0a1736807230.dist-info/RECORD +32 -0
  31. pulumi_pulumiservice-0.28.0a1736807230.dist-info/WHEEL +5 -0
  32. pulumi_pulumiservice-0.28.0a1736807230.dist-info/top_level.txt +1 -0
@@ -0,0 +1,76 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ from . import _utilities
6
+ import typing
7
+ # Export this package's modules as members:
8
+ from ._enums import *
9
+ from .access_token import *
10
+ from .agent_pool import *
11
+ from .deployment_schedule import *
12
+ from .deployment_settings import *
13
+ from .drift_schedule import *
14
+ from .environment import *
15
+ from .environment_version_tag import *
16
+ from .org_access_token import *
17
+ from .provider import *
18
+ from .stack import *
19
+ from .stack_tag import *
20
+ from .team import *
21
+ from .team_access_token import *
22
+ from .team_environment_permission import *
23
+ from .team_stack_permission import *
24
+ from .template_source import *
25
+ from .ttl_schedule import *
26
+ from .webhook import *
27
+ from ._inputs import *
28
+ from . import outputs
29
+
30
+ # Make subpackages available:
31
+ if typing.TYPE_CHECKING:
32
+ import pulumi_pulumiservice.config as __config
33
+ config = __config
34
+ else:
35
+ config = _utilities.lazy_import('pulumi_pulumiservice.config')
36
+
37
+ _utilities.register(
38
+ resource_modules="""
39
+ [
40
+ {
41
+ "pkg": "pulumiservice",
42
+ "mod": "index",
43
+ "fqn": "pulumi_pulumiservice",
44
+ "classes": {
45
+ "pulumiservice:index:AccessToken": "AccessToken",
46
+ "pulumiservice:index:AgentPool": "AgentPool",
47
+ "pulumiservice:index:DeploymentSchedule": "DeploymentSchedule",
48
+ "pulumiservice:index:DeploymentSettings": "DeploymentSettings",
49
+ "pulumiservice:index:DriftSchedule": "DriftSchedule",
50
+ "pulumiservice:index:Environment": "Environment",
51
+ "pulumiservice:index:EnvironmentVersionTag": "EnvironmentVersionTag",
52
+ "pulumiservice:index:OrgAccessToken": "OrgAccessToken",
53
+ "pulumiservice:index:Stack": "Stack",
54
+ "pulumiservice:index:StackTag": "StackTag",
55
+ "pulumiservice:index:Team": "Team",
56
+ "pulumiservice:index:TeamAccessToken": "TeamAccessToken",
57
+ "pulumiservice:index:TeamEnvironmentPermission": "TeamEnvironmentPermission",
58
+ "pulumiservice:index:TeamStackPermission": "TeamStackPermission",
59
+ "pulumiservice:index:TemplateSource": "TemplateSource",
60
+ "pulumiservice:index:TtlSchedule": "TtlSchedule",
61
+ "pulumiservice:index:Webhook": "Webhook"
62
+ }
63
+ }
64
+ ]
65
+ """,
66
+ resource_packages="""
67
+ [
68
+ {
69
+ "pkg": "pulumiservice",
70
+ "token": "pulumi:providers:pulumiservice",
71
+ "fqn": "pulumi_pulumiservice",
72
+ "class": "Provider"
73
+ }
74
+ ]
75
+ """
76
+ )
@@ -0,0 +1,228 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ from enum import Enum
6
+
7
+ __all__ = [
8
+ 'EnvironmentPermission',
9
+ 'PulumiOperation',
10
+ 'TeamStackPermissionScope',
11
+ 'WebhookFilters',
12
+ 'WebhookFormat',
13
+ 'WebhookGroup',
14
+ ]
15
+
16
+
17
+ class EnvironmentPermission(str, Enum):
18
+ NONE = "none"
19
+ """
20
+ No permissions.
21
+ """
22
+ READ = "read"
23
+ """
24
+ Permission to read environment definition only.
25
+ """
26
+ OPEN = "open"
27
+ """
28
+ Permission to open and read the environment.
29
+ """
30
+ WRITE = "write"
31
+ """
32
+ Permission to open, read and update the environment.
33
+ """
34
+ ADMIN = "admin"
35
+ """
36
+ Permission for all operations on the environment.
37
+ """
38
+
39
+
40
+ class PulumiOperation(str, Enum):
41
+ UPDATE = "update"
42
+ """
43
+ Analogous to `pulumi up` command.
44
+ """
45
+ PREVIEW = "preview"
46
+ """
47
+ Analogous to `pulumi preview` command.
48
+ """
49
+ REFRESH = "refresh"
50
+ """
51
+ Analogous to `pulumi refresh` command.
52
+ """
53
+ DESTROY = "destroy"
54
+ """
55
+ Analogous to `pulumi destroy` command.
56
+ """
57
+
58
+
59
+ class TeamStackPermissionScope(float, Enum):
60
+ READ = 101
61
+ """
62
+ Grants read permissions to stack.
63
+ """
64
+ EDIT = 102
65
+ """
66
+ Grants edit permissions to stack.
67
+ """
68
+ ADMIN = 103
69
+ """
70
+ Grants admin permissions to stack.
71
+ """
72
+
73
+
74
+ class WebhookFilters(str, Enum):
75
+ STACK_CREATED = "stack_created"
76
+ """
77
+ Trigger a webhook when a stack is created. Only valid for org webhooks.
78
+ """
79
+ STACK_DELETED = "stack_deleted"
80
+ """
81
+ Trigger a webhook when a stack is deleted. Only valid for org webhooks.
82
+ """
83
+ UPDATE_SUCCEEDED = "update_succeeded"
84
+ """
85
+ Trigger a webhook when a stack update succeeds.
86
+ """
87
+ UPDATE_FAILED = "update_failed"
88
+ """
89
+ Trigger a webhook when a stack update fails.
90
+ """
91
+ PREVIEW_SUCCEEDED = "preview_succeeded"
92
+ """
93
+ Trigger a webhook when a stack preview succeeds.
94
+ """
95
+ PREVIEW_FAILED = "preview_failed"
96
+ """
97
+ Trigger a webhook when a stack preview fails.
98
+ """
99
+ DESTROY_SUCCEEDED = "destroy_succeeded"
100
+ """
101
+ Trigger a webhook when a stack destroy succeeds.
102
+ """
103
+ DESTROY_FAILED = "destroy_failed"
104
+ """
105
+ Trigger a webhook when a stack destroy fails.
106
+ """
107
+ REFRESH_SUCCEEDED = "refresh_succeeded"
108
+ """
109
+ Trigger a webhook when a stack refresh succeeds.
110
+ """
111
+ REFRESH_FAILED = "refresh_failed"
112
+ """
113
+ Trigger a webhook when a stack refresh fails.
114
+ """
115
+ DEPLOYMENT_QUEUED = "deployment_queued"
116
+ """
117
+ Trigger a webhook when a deployment is queued.
118
+ """
119
+ DEPLOYMENT_STARTED = "deployment_started"
120
+ """
121
+ Trigger a webhook when a deployment starts running.
122
+ """
123
+ DEPLOYMENT_SUCCEEDED = "deployment_succeeded"
124
+ """
125
+ Trigger a webhook when a deployment succeeds.
126
+ """
127
+ DEPLOYMENT_FAILED = "deployment_failed"
128
+ """
129
+ Trigger a webhook when a deployment fails.
130
+ """
131
+ DRIFT_DETECTED = "drift_detected"
132
+ """
133
+ Trigger a webhook when drift is detected.
134
+ """
135
+ DRIFT_DETECTION_SUCCEEDED = "drift_detection_succeeded"
136
+ """
137
+ Trigger a webhook when a drift detection run succeeds, regardless of whether drift is detected.
138
+ """
139
+ DRIFT_DETECTION_FAILED = "drift_detection_failed"
140
+ """
141
+ Trigger a webhook when a drift detection run fails.
142
+ """
143
+ DRIFT_REMEDIATION_SUCCEEDED = "drift_remediation_succeeded"
144
+ """
145
+ Trigger a webhook when a drift remediation run succeeds.
146
+ """
147
+ DRIFT_REMEDIATION_FAILED = "drift_remediation_failed"
148
+ """
149
+ Trigger a webhook when a drift remediation run fails.
150
+ """
151
+ ENVIRONMENT_CREATED = "environment_created"
152
+ """
153
+ Trigger a webhook when a new environment is created.
154
+ """
155
+ ENVIRONMENT_DELETED = "environment_deleted"
156
+ """
157
+ Trigger a webhook when an environment is deleted.
158
+ """
159
+ ENVIRONMENT_REVISION_CREATED = "environment_revision_created"
160
+ """
161
+ Trigger a webhook when a new revision is created on an environment.
162
+ """
163
+ ENVIRONMENT_REVISION_RETRACTED = "environment_revision_retracted"
164
+ """
165
+ Trigger a webhook when a revision is retracted on an environment.
166
+ """
167
+ ENVIRONMENT_REVISION_TAG_CREATED = "environment_revision_tag_created"
168
+ """
169
+ Trigger a webhook when a revision tag is created on an environment.
170
+ """
171
+ ENVIRONMENT_REVISION_TAG_DELETED = "environment_revision_tag_deleted"
172
+ """
173
+ Trigger a webhook when a revision tag is deleted on an environment.
174
+ """
175
+ ENVIRONMENT_REVISION_TAG_UPDATED = "environment_revision_tag_updated"
176
+ """
177
+ Trigger a webhook when a revision tag is updated on an environment.
178
+ """
179
+ ENVIRONMENT_TAG_CREATED = "environment_tag_created"
180
+ """
181
+ Trigger a webhook when an environment tag is created.
182
+ """
183
+ ENVIRONMENT_TAG_DELETED = "environment_tag_deleted"
184
+ """
185
+ Trigger a webhook when an environment tag is deleted.
186
+ """
187
+ ENVIRONMENT_TAG_UPDATED = "environment_tag_updated"
188
+ """
189
+ Trigger a webhook when an environment tag is updated.
190
+ """
191
+ IMPORTED_ENVIRONMENT_CHANGED = "imported_environment_changed"
192
+ """
193
+ Trigger a webhook when an imported environment has changed.
194
+ """
195
+
196
+
197
+ class WebhookFormat(str, Enum):
198
+ RAW = "raw"
199
+ """
200
+ The default webhook format.
201
+ """
202
+ SLACK = "slack"
203
+ """
204
+ Messages formatted for consumption by Slack incoming webhooks.
205
+ """
206
+ PULUMI_DEPLOYMENTS = "pulumi_deployments"
207
+ """
208
+ Initiate deployments on a stack from a Pulumi Cloud webhook.
209
+ """
210
+ MICROSOFT_TEAMS = "ms_teams"
211
+ """
212
+ Messages formatted for consumption by Microsoft Teams incoming webhooks.
213
+ """
214
+
215
+
216
+ class WebhookGroup(str, Enum):
217
+ STACKS = "stacks"
218
+ """
219
+ A group of webhooks containing all stack events.
220
+ """
221
+ DEPLOYMENTS = "deployments"
222
+ """
223
+ A group of webhooks containing all deployment events.
224
+ """
225
+ ENVIRONMENTS = "environments"
226
+ """
227
+ A group of webhooks containing all environment events.
228
+ """