pulumi-consul 3.13.0a1749706342__py3-none-any.whl → 3.14.0a1768432677__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 (71) hide show
  1. pulumi_consul/__init__.py +1 -1
  2. pulumi_consul/_inputs.py +1604 -1605
  3. pulumi_consul/acl_auth_method.py +174 -175
  4. pulumi_consul/acl_binding_rule.py +123 -124
  5. pulumi_consul/acl_policy.py +107 -108
  6. pulumi_consul/acl_role.py +95 -96
  7. pulumi_consul/acl_role_policy_attachment.py +35 -36
  8. pulumi_consul/acl_token.py +154 -155
  9. pulumi_consul/acl_token_policy_attachment.py +35 -36
  10. pulumi_consul/acl_token_role_attachment.py +35 -36
  11. pulumi_consul/admin_partition.py +82 -36
  12. pulumi_consul/agent_service.py +69 -70
  13. pulumi_consul/autopilot_config.py +137 -138
  14. pulumi_consul/catalog_entry.py +114 -73
  15. pulumi_consul/certificate_authority.py +44 -45
  16. pulumi_consul/config/__init__.py +1 -1
  17. pulumi_consul/config/__init__.pyi +6 -12
  18. pulumi_consul/config/outputs.py +24 -25
  19. pulumi_consul/config/vars.py +22 -28
  20. pulumi_consul/config_entry.py +86 -87
  21. pulumi_consul/config_entry_service_defaults.py +275 -224
  22. pulumi_consul/config_entry_service_intentions.py +75 -76
  23. pulumi_consul/config_entry_service_resolver.py +132 -133
  24. pulumi_consul/config_entry_service_router.py +72 -73
  25. pulumi_consul/config_entry_service_splitter.py +72 -73
  26. pulumi_consul/config_entry_v2_exported_services.py +137 -138
  27. pulumi_consul/get_acl_auth_method.py +36 -37
  28. pulumi_consul/get_acl_policy.py +27 -28
  29. pulumi_consul/get_acl_role.py +27 -28
  30. pulumi_consul/get_acl_token.py +32 -33
  31. pulumi_consul/get_acl_token_secret_id.py +29 -30
  32. pulumi_consul/get_agent_config.py +15 -16
  33. pulumi_consul/get_agent_self.py +149 -146
  34. pulumi_consul/get_autopilot_health.py +14 -15
  35. pulumi_consul/get_catalog_nodes.py +45 -12
  36. pulumi_consul/get_catalog_service.py +27 -28
  37. pulumi_consul/get_catalog_services.py +12 -13
  38. pulumi_consul/get_config_entry.py +29 -30
  39. pulumi_consul/get_config_entry_v2_exported_services.py +51 -52
  40. pulumi_consul/get_datacenters.py +73 -6
  41. pulumi_consul/get_key_prefix.py +38 -39
  42. pulumi_consul/get_keys.py +36 -37
  43. pulumi_consul/get_network_area_members.py +22 -23
  44. pulumi_consul/get_network_segments.py +17 -18
  45. pulumi_consul/get_nodes.py +45 -12
  46. pulumi_consul/get_peering.py +25 -26
  47. pulumi_consul/get_peerings.py +8 -9
  48. pulumi_consul/get_service.py +27 -28
  49. pulumi_consul/get_service_health.py +54 -51
  50. pulumi_consul/get_services.py +12 -13
  51. pulumi_consul/intention.py +137 -138
  52. pulumi_consul/key_prefix.py +106 -107
  53. pulumi_consul/keys.py +79 -80
  54. pulumi_consul/license.py +125 -126
  55. pulumi_consul/namespace.py +103 -104
  56. pulumi_consul/namespace_policy_attachment.py +35 -36
  57. pulumi_consul/namespace_role_attachment.py +35 -36
  58. pulumi_consul/network_area.py +86 -87
  59. pulumi_consul/node.py +99 -100
  60. pulumi_consul/outputs.py +1464 -1465
  61. pulumi_consul/peering.py +107 -108
  62. pulumi_consul/peering_token.py +74 -75
  63. pulumi_consul/prepared_query.py +231 -232
  64. pulumi_consul/provider.py +150 -169
  65. pulumi_consul/pulumi-plugin.json +1 -1
  66. pulumi_consul/service.py +251 -205
  67. {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/METADATA +1 -1
  68. pulumi_consul-3.14.0a1768432677.dist-info/RECORD +72 -0
  69. pulumi_consul-3.13.0a1749706342.dist-info/RECORD +0 -72
  70. {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/WHEEL +0 -0
  71. {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -33,8 +32,7 @@ A path to a PEM-encoded certificate authority used to verify the remote agent's
33
32
 
34
33
  caPath: Optional[str]
35
34
  """
36
- A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server
37
- connections. Can also be specified with the `CONSUL_CAPATH` environment variable.
35
+ A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server connections. Can also be specified with the `CONSUL_CAPATH` environment variable.
38
36
  """
39
37
 
40
38
  caPem: Optional[str]
@@ -59,20 +57,17 @@ The datacenter to use. Defaults to that of the agent.
59
57
 
60
58
  headers: Optional[str]
61
59
  """
62
- A configuration block, described below, that provides additional headers to be sent along with all requests to the
63
- Consul server. This block can be specified multiple times.
60
+ A configuration block, described below, that provides additional headers to be sent along with all requests to the Consul server. This block can be specified multiple times.
64
61
  """
65
62
 
66
63
  httpAuth: Optional[str]
67
64
  """
68
- HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or
69
- `user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.
65
+ HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or `user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.
70
66
  """
71
67
 
72
68
  insecureHttps: Optional[bool]
73
69
  """
74
- Boolean value to disable SSL certificate verification; setting this value to true is not recommended for production use.
75
- Only use this with scheme set to "https".
70
+ Boolean value to disable SSL certificate verification; setting this value to true is not recommended for production use. Only use this with scheme set to "https".
76
71
  """
77
72
 
78
73
  keyFile: Optional[str]
@@ -94,7 +89,6 @@ The URL scheme of the agent to use ("http" or "https"). Defaults to "http".
94
89
 
95
90
  token: Optional[str]
96
91
  """
97
- The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or
98
- `CONSUL_TOKEN` as an environment variable.
92
+ The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or `CONSUL_TOKEN` as an environment variable.
99
93
  """
100
94
 
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -23,14 +22,14 @@ __all__ = [
23
22
  @pulumi.output_type
24
23
  class AuthJwt(dict):
25
24
  def __init__(__self__, *,
26
- auth_method: builtins.str,
27
- bearer_token: Optional[builtins.str] = None,
28
- meta: Optional[Mapping[str, builtins.str]] = None,
29
- use_terraform_cloud_workload_identity: Optional[builtins.bool] = None):
25
+ auth_method: _builtins.str,
26
+ bearer_token: Optional[_builtins.str] = None,
27
+ meta: Optional[Mapping[str, _builtins.str]] = None,
28
+ use_terraform_cloud_workload_identity: Optional[_builtins.bool] = None):
30
29
  """
31
- :param builtins.str auth_method: The name of the auth method to use for login.
32
- :param builtins.str bearer_token: The bearer token to present to the auth method during login for authentication purposes. For the Kubernetes auth method this is a [Service Account Token (JWT)](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#service-account-tokens).
33
- :param Mapping[str, builtins.str] meta: Specifies arbitrary KV metadata linked to the token. Can be useful to track origins.
30
+ :param _builtins.str auth_method: The name of the auth method to use for login.
31
+ :param _builtins.str bearer_token: The bearer token to present to the auth method during login for authentication purposes. For the Kubernetes auth method this is a [Service Account Token (JWT)](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#service-account-tokens).
32
+ :param Mapping[str, _builtins.str] meta: Specifies arbitrary KV metadata linked to the token. Can be useful to track origins.
34
33
  """
35
34
  pulumi.set(__self__, "auth_method", auth_method)
36
35
  if bearer_token is not None:
@@ -40,59 +39,59 @@ class AuthJwt(dict):
40
39
  if use_terraform_cloud_workload_identity is not None:
41
40
  pulumi.set(__self__, "use_terraform_cloud_workload_identity", use_terraform_cloud_workload_identity)
42
41
 
43
- @property
42
+ @_builtins.property
44
43
  @pulumi.getter(name="authMethod")
45
- def auth_method(self) -> builtins.str:
44
+ def auth_method(self) -> _builtins.str:
46
45
  """
47
46
  The name of the auth method to use for login.
48
47
  """
49
48
  return pulumi.get(self, "auth_method")
50
49
 
51
- @property
50
+ @_builtins.property
52
51
  @pulumi.getter(name="bearerToken")
53
- def bearer_token(self) -> Optional[builtins.str]:
52
+ def bearer_token(self) -> Optional[_builtins.str]:
54
53
  """
55
54
  The bearer token to present to the auth method during login for authentication purposes. For the Kubernetes auth method this is a [Service Account Token (JWT)](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#service-account-tokens).
56
55
  """
57
56
  return pulumi.get(self, "bearer_token")
58
57
 
59
- @property
58
+ @_builtins.property
60
59
  @pulumi.getter
61
- def meta(self) -> Optional[Mapping[str, builtins.str]]:
60
+ def meta(self) -> Optional[Mapping[str, _builtins.str]]:
62
61
  """
63
62
  Specifies arbitrary KV metadata linked to the token. Can be useful to track origins.
64
63
  """
65
64
  return pulumi.get(self, "meta")
66
65
 
67
- @property
66
+ @_builtins.property
68
67
  @pulumi.getter(name="useTerraformCloudWorkloadIdentity")
69
- def use_terraform_cloud_workload_identity(self) -> Optional[builtins.bool]:
68
+ def use_terraform_cloud_workload_identity(self) -> Optional[_builtins.bool]:
70
69
  return pulumi.get(self, "use_terraform_cloud_workload_identity")
71
70
 
72
71
 
73
72
  @pulumi.output_type
74
73
  class Headers(dict):
75
74
  def __init__(__self__, *,
76
- name: builtins.str,
77
- value: builtins.str):
75
+ name: _builtins.str,
76
+ value: _builtins.str):
78
77
  """
79
- :param builtins.str name: The name of the header.
80
- :param builtins.str value: The value of the header.
78
+ :param _builtins.str name: The name of the header.
79
+ :param _builtins.str value: The value of the header.
81
80
  """
82
81
  pulumi.set(__self__, "name", name)
83
82
  pulumi.set(__self__, "value", value)
84
83
 
85
- @property
84
+ @_builtins.property
86
85
  @pulumi.getter
87
- def name(self) -> builtins.str:
86
+ def name(self) -> _builtins.str:
88
87
  """
89
88
  The name of the header.
90
89
  """
91
90
  return pulumi.get(self, "name")
92
91
 
93
- @property
92
+ @_builtins.property
94
93
  @pulumi.getter
95
- def value(self) -> builtins.str:
94
+ def value(self) -> _builtins.str:
96
95
  """
97
96
  The value of the header.
98
97
  """
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -22,117 +21,112 @@ __config__ = pulumi.Config('consul')
22
21
 
23
22
 
24
23
  class _ExportableConfig(types.ModuleType):
25
- @property
24
+ @_builtins.property
26
25
  def address(self) -> Optional[str]:
27
26
  """
28
27
  The HTTP(S) API address of the agent to use. Defaults to "127.0.0.1:8500".
29
28
  """
30
29
  return __config__.get('address')
31
30
 
32
- @property
31
+ @_builtins.property
33
32
  def auth_jwt(self) -> Optional[str]:
34
33
  """
35
34
  Authenticates to Consul using a JWT authentication method.
36
35
  """
37
36
  return __config__.get('authJwt')
38
37
 
39
- @property
38
+ @_builtins.property
40
39
  def ca_file(self) -> Optional[str]:
41
40
  """
42
41
  A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
43
42
  """
44
43
  return __config__.get('caFile')
45
44
 
46
- @property
45
+ @_builtins.property
47
46
  def ca_path(self) -> Optional[str]:
48
47
  """
49
- A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server
50
- connections. Can also be specified with the `CONSUL_CAPATH` environment variable.
48
+ A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server connections. Can also be specified with the `CONSUL_CAPATH` environment variable.
51
49
  """
52
50
  return __config__.get('caPath')
53
51
 
54
- @property
52
+ @_builtins.property
55
53
  def ca_pem(self) -> Optional[str]:
56
54
  """
57
55
  PEM-encoded certificate authority used to verify the remote agent's certificate.
58
56
  """
59
57
  return __config__.get('caPem')
60
58
 
61
- @property
59
+ @_builtins.property
62
60
  def cert_file(self) -> Optional[str]:
63
61
  """
64
62
  A path to a PEM-encoded certificate provided to the remote agent; requires use of `key_file` or `key_pem`.
65
63
  """
66
64
  return __config__.get('certFile')
67
65
 
68
- @property
66
+ @_builtins.property
69
67
  def cert_pem(self) -> Optional[str]:
70
68
  """
71
69
  PEM-encoded certificate provided to the remote agent; requires use of `key_file` or `key_pem`.
72
70
  """
73
71
  return __config__.get('certPem')
74
72
 
75
- @property
73
+ @_builtins.property
76
74
  def datacenter(self) -> Optional[str]:
77
75
  """
78
76
  The datacenter to use. Defaults to that of the agent.
79
77
  """
80
78
  return __config__.get('datacenter')
81
79
 
82
- @property
80
+ @_builtins.property
83
81
  def headers(self) -> Optional[str]:
84
82
  """
85
- A configuration block, described below, that provides additional headers to be sent along with all requests to the
86
- Consul server. This block can be specified multiple times.
83
+ A configuration block, described below, that provides additional headers to be sent along with all requests to the Consul server. This block can be specified multiple times.
87
84
  """
88
85
  return __config__.get('headers')
89
86
 
90
- @property
87
+ @_builtins.property
91
88
  def http_auth(self) -> Optional[str]:
92
89
  """
93
- HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or
94
- `user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.
90
+ HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or `user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.
95
91
  """
96
92
  return __config__.get('httpAuth')
97
93
 
98
- @property
94
+ @_builtins.property
99
95
  def insecure_https(self) -> Optional[bool]:
100
96
  """
101
- Boolean value to disable SSL certificate verification; setting this value to true is not recommended for production use.
102
- Only use this with scheme set to "https".
97
+ Boolean value to disable SSL certificate verification; setting this value to true is not recommended for production use. Only use this with scheme set to "https".
103
98
  """
104
99
  return __config__.get_bool('insecureHttps')
105
100
 
106
- @property
101
+ @_builtins.property
107
102
  def key_file(self) -> Optional[str]:
108
103
  """
109
104
  A path to a PEM-encoded private key, required if `cert_file` or `cert_pem` is specified.
110
105
  """
111
106
  return __config__.get('keyFile')
112
107
 
113
- @property
108
+ @_builtins.property
114
109
  def key_pem(self) -> Optional[str]:
115
110
  """
116
111
  PEM-encoded private key, required if `cert_file` or `cert_pem` is specified.
117
112
  """
118
113
  return __config__.get('keyPem')
119
114
 
120
- @property
115
+ @_builtins.property
121
116
  def namespace(self) -> Optional[str]:
122
117
  return __config__.get('namespace')
123
118
 
124
- @property
119
+ @_builtins.property
125
120
  def scheme(self) -> Optional[str]:
126
121
  """
127
122
  The URL scheme of the agent to use ("http" or "https"). Defaults to "http".
128
123
  """
129
124
  return __config__.get('scheme')
130
125
 
131
- @property
126
+ @_builtins.property
132
127
  def token(self) -> Optional[str]:
133
128
  """
134
- The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or
135
- `CONSUL_TOKEN` as an environment variable.
129
+ The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or `CONSUL_TOKEN` as an environment variable.
136
130
  """
137
131
  return __config__.get('token')
138
132