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
@@ -51,39 +50,39 @@ class GetCatalogNodesResult:
51
50
  raise TypeError("Expected argument 'query_options' to be a list")
52
51
  pulumi.set(__self__, "query_options", query_options)
53
52
 
54
- @property
53
+ @_builtins.property
55
54
  @pulumi.getter
56
- def datacenter(self) -> builtins.str:
55
+ def datacenter(self) -> _builtins.str:
57
56
  """
58
57
  The datacenter the keys are being read from to.
59
58
  """
60
59
  return pulumi.get(self, "datacenter")
61
60
 
62
- @property
61
+ @_builtins.property
63
62
  @pulumi.getter
64
- def id(self) -> builtins.str:
63
+ def id(self) -> _builtins.str:
65
64
  """
66
65
  The provider-assigned unique ID for this managed resource.
67
66
  """
68
67
  return pulumi.get(self, "id")
69
68
 
70
- @property
69
+ @_builtins.property
71
70
  @pulumi.getter(name="nodeIds")
72
- def node_ids(self) -> Sequence[builtins.str]:
71
+ def node_ids(self) -> Sequence[_builtins.str]:
73
72
  """
74
73
  A list of the Consul node IDs.
75
74
  """
76
75
  return pulumi.get(self, "node_ids")
77
76
 
78
- @property
77
+ @_builtins.property
79
78
  @pulumi.getter(name="nodeNames")
80
- def node_names(self) -> Sequence[builtins.str]:
79
+ def node_names(self) -> Sequence[_builtins.str]:
81
80
  """
82
81
  A list of the Consul node names.
83
82
  """
84
83
  return pulumi.get(self, "node_names")
85
84
 
86
- @property
85
+ @_builtins.property
87
86
  @pulumi.getter
88
87
  def nodes(self) -> Sequence['outputs.GetCatalogNodesNodeResult']:
89
88
  """
@@ -92,7 +91,7 @@ class GetCatalogNodesResult:
92
91
  """
93
92
  return pulumi.get(self, "nodes")
94
93
 
95
- @property
94
+ @_builtins.property
96
95
  @pulumi.getter(name="queryOptions")
97
96
  def query_options(self) -> Optional[Sequence['outputs.GetCatalogNodesQueryOptionResult']]:
98
97
  return pulumi.get(self, "query_options")
@@ -120,6 +119,23 @@ def get_catalog_nodes(query_options: Optional[Sequence[Union['GetCatalogNodesQue
120
119
  different datacenter in the `query_options` it is possible to retrieve a list of
121
120
  nodes from a different WAN-attached Consul datacenter.
122
121
 
122
+ ## Example Usage
123
+
124
+ ```python
125
+ import pulumi
126
+ import pulumi_consul as consul
127
+ import pulumi_example as example
128
+ import pulumi_std as std
129
+
130
+ read_dc1_nodes = consul.get_nodes(query_options=[{
131
+ "datacenter": "dc1",
132
+ }])
133
+ # Set the description to a whitespace delimited list of the node names
134
+ app = example.index.Resource("app", description=std.join(separator= ,
135
+ input=std.formatlist(input=%s,
136
+ args=[node_names]).result).result)
137
+ ```
138
+
123
139
 
124
140
  :param Sequence[Union['GetCatalogNodesQueryOptionArgs', 'GetCatalogNodesQueryOptionArgsDict']] query_options: See below.
125
141
  """
@@ -144,6 +160,23 @@ def get_catalog_nodes_output(query_options: Optional[pulumi.Input[Optional[Seque
144
160
  different datacenter in the `query_options` it is possible to retrieve a list of
145
161
  nodes from a different WAN-attached Consul datacenter.
146
162
 
163
+ ## Example Usage
164
+
165
+ ```python
166
+ import pulumi
167
+ import pulumi_consul as consul
168
+ import pulumi_example as example
169
+ import pulumi_std as std
170
+
171
+ read_dc1_nodes = consul.get_nodes(query_options=[{
172
+ "datacenter": "dc1",
173
+ }])
174
+ # Set the description to a whitespace delimited list of the node names
175
+ app = example.index.Resource("app", description=std.join(separator= ,
176
+ input=std.formatlist(input=%s,
177
+ args=[node_names]).result).result)
178
+ ```
179
+
147
180
 
148
181
  :param Sequence[Union['GetCatalogNodesQueryOptionArgs', 'GetCatalogNodesQueryOptionArgsDict']] query_options: See below.
149
182
  """
@@ -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
@@ -54,41 +53,41 @@ class GetCatalogServiceResult:
54
53
  raise TypeError("Expected argument 'tag' to be a str")
55
54
  pulumi.set(__self__, "tag", tag)
56
55
 
57
- @property
56
+ @_builtins.property
58
57
  @pulumi.getter
59
- def datacenter(self) -> Optional[builtins.str]:
58
+ def datacenter(self) -> Optional[_builtins.str]:
60
59
  """
61
60
  The datacenter the keys are being read from to.
62
61
  """
63
62
  return pulumi.get(self, "datacenter")
64
63
 
65
- @property
64
+ @_builtins.property
66
65
  @pulumi.getter
67
- def filter(self) -> Optional[builtins.str]:
66
+ def filter(self) -> Optional[_builtins.str]:
68
67
  return pulumi.get(self, "filter")
69
68
 
70
- @property
69
+ @_builtins.property
71
70
  @pulumi.getter
72
- def id(self) -> builtins.str:
71
+ def id(self) -> _builtins.str:
73
72
  """
74
73
  The provider-assigned unique ID for this managed resource.
75
74
  """
76
75
  return pulumi.get(self, "id")
77
76
 
78
- @property
77
+ @_builtins.property
79
78
  @pulumi.getter
80
- def name(self) -> builtins.str:
79
+ def name(self) -> _builtins.str:
81
80
  """
82
81
  The name of the service
83
82
  """
84
83
  return pulumi.get(self, "name")
85
84
 
86
- @property
85
+ @_builtins.property
87
86
  @pulumi.getter(name="queryOptions")
88
87
  def query_options(self) -> Optional[Sequence['outputs.GetCatalogServiceQueryOptionResult']]:
89
88
  return pulumi.get(self, "query_options")
90
89
 
91
- @property
90
+ @_builtins.property
92
91
  @pulumi.getter
93
92
  def services(self) -> Sequence['outputs.GetCatalogServiceServiceResult']:
94
93
  """
@@ -98,9 +97,9 @@ class GetCatalogServiceResult:
98
97
  """
99
98
  return pulumi.get(self, "services")
100
99
 
101
- @property
100
+ @_builtins.property
102
101
  @pulumi.getter
103
- def tag(self) -> Optional[builtins.str]:
102
+ def tag(self) -> Optional[_builtins.str]:
104
103
  """
105
104
  The name of the tag used to filter the list of nodes in `service`.
106
105
  """
@@ -122,11 +121,11 @@ class AwaitableGetCatalogServiceResult(GetCatalogServiceResult):
122
121
  tag=self.tag)
123
122
 
124
123
 
125
- def get_catalog_service(datacenter: Optional[builtins.str] = None,
126
- filter: Optional[builtins.str] = None,
127
- name: Optional[builtins.str] = None,
124
+ def get_catalog_service(datacenter: Optional[_builtins.str] = None,
125
+ filter: Optional[_builtins.str] = None,
126
+ name: Optional[_builtins.str] = None,
128
127
  query_options: Optional[Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']]] = None,
129
- tag: Optional[builtins.str] = None,
128
+ tag: Optional[_builtins.str] = None,
130
129
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogServiceResult:
131
130
  """
132
131
  `Service` provides details about a specific Consul service in a
@@ -154,13 +153,13 @@ def get_catalog_service(datacenter: Optional[builtins.str] = None,
154
153
  ```
155
154
 
156
155
 
157
- :param builtins.str datacenter: The Consul datacenter to query. Defaults to the
156
+ :param _builtins.str datacenter: The Consul datacenter to query. Defaults to the
158
157
  same value found in `query_options` parameter specified below, or if that is
159
158
  empty, the `datacenter` value found in the Consul agent that this provider is
160
159
  configured to talk to.
161
- :param builtins.str name: The service name to select.
160
+ :param _builtins.str name: The service name to select.
162
161
  :param Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']] query_options: See below.
163
- :param builtins.str tag: A single tag that can be used to filter the list of nodes
162
+ :param _builtins.str tag: A single tag that can be used to filter the list of nodes
164
163
  to return based on a single matching tag..
165
164
  """
166
165
  pulumi.log.warn("""get_catalog_service is deprecated: getCatalogService has been deprecated in favor of getService""")
@@ -181,11 +180,11 @@ def get_catalog_service(datacenter: Optional[builtins.str] = None,
181
180
  query_options=pulumi.get(__ret__, 'query_options'),
182
181
  services=pulumi.get(__ret__, 'services'),
183
182
  tag=pulumi.get(__ret__, 'tag'))
184
- def get_catalog_service_output(datacenter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
185
- filter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
186
- name: Optional[pulumi.Input[builtins.str]] = None,
183
+ def get_catalog_service_output(datacenter: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
184
+ filter: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
185
+ name: Optional[pulumi.Input[_builtins.str]] = None,
187
186
  query_options: Optional[pulumi.Input[Optional[Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']]]]] = None,
188
- tag: Optional[pulumi.Input[Optional[builtins.str]]] = None,
187
+ tag: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
189
188
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCatalogServiceResult]:
190
189
  """
191
190
  `Service` provides details about a specific Consul service in a
@@ -213,13 +212,13 @@ def get_catalog_service_output(datacenter: Optional[pulumi.Input[Optional[builti
213
212
  ```
214
213
 
215
214
 
216
- :param builtins.str datacenter: The Consul datacenter to query. Defaults to the
215
+ :param _builtins.str datacenter: The Consul datacenter to query. Defaults to the
217
216
  same value found in `query_options` parameter specified below, or if that is
218
217
  empty, the `datacenter` value found in the Consul agent that this provider is
219
218
  configured to talk to.
220
- :param builtins.str name: The service name to select.
219
+ :param _builtins.str name: The service name to select.
221
220
  :param Sequence[Union['GetCatalogServiceQueryOptionArgs', 'GetCatalogServiceQueryOptionArgsDict']] query_options: See below.
222
- :param builtins.str tag: A single tag that can be used to filter the list of nodes
221
+ :param _builtins.str tag: A single tag that can be used to filter the list of nodes
223
222
  to return based on a single matching tag..
224
223
  """
225
224
  pulumi.log.warn("""get_catalog_service is deprecated: getCatalogService has been deprecated in favor of getService""")
@@ -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
@@ -51,40 +50,40 @@ class GetCatalogServicesResult:
51
50
  raise TypeError("Expected argument 'tags' to be a dict")
52
51
  pulumi.set(__self__, "tags", tags)
53
52
 
54
- @property
53
+ @_builtins.property
55
54
  @pulumi.getter
56
- def datacenter(self) -> builtins.str:
55
+ def datacenter(self) -> _builtins.str:
57
56
  """
58
57
  The datacenter the keys are being read from to.
59
58
  """
60
59
  return pulumi.get(self, "datacenter")
61
60
 
62
- @property
61
+ @_builtins.property
63
62
  @pulumi.getter
64
- def id(self) -> builtins.str:
63
+ def id(self) -> _builtins.str:
65
64
  """
66
65
  The provider-assigned unique ID for this managed resource.
67
66
  """
68
67
  return pulumi.get(self, "id")
69
68
 
70
- @property
69
+ @_builtins.property
71
70
  @pulumi.getter
72
- def names(self) -> Sequence[builtins.str]:
71
+ def names(self) -> Sequence[_builtins.str]:
73
72
  return pulumi.get(self, "names")
74
73
 
75
- @property
74
+ @_builtins.property
76
75
  @pulumi.getter(name="queryOptions")
77
76
  def query_options(self) -> Optional[Sequence['outputs.GetCatalogServicesQueryOptionResult']]:
78
77
  return pulumi.get(self, "query_options")
79
78
 
80
- @property
79
+ @_builtins.property
81
80
  @pulumi.getter
82
- def services(self) -> Mapping[str, builtins.str]:
81
+ def services(self) -> Mapping[str, _builtins.str]:
83
82
  return pulumi.get(self, "services")
84
83
 
85
- @property
84
+ @_builtins.property
86
85
  @pulumi.getter
87
- def tags(self) -> Mapping[str, builtins.str]:
86
+ def tags(self) -> Mapping[str, _builtins.str]:
88
87
  """
89
88
  A map of the tags found for each service. If more than one service
90
89
  shares the same tag, unique service names will be joined by whitespace (this
@@ -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
@@ -47,49 +46,49 @@ class GetConfigEntryResult:
47
46
  raise TypeError("Expected argument 'partition' to be a str")
48
47
  pulumi.set(__self__, "partition", partition)
49
48
 
50
- @property
49
+ @_builtins.property
51
50
  @pulumi.getter(name="configJson")
52
- def config_json(self) -> builtins.str:
51
+ def config_json(self) -> _builtins.str:
53
52
  """
54
53
  The configuration of the config entry.
55
54
  """
56
55
  return pulumi.get(self, "config_json")
57
56
 
58
- @property
57
+ @_builtins.property
59
58
  @pulumi.getter
60
- def id(self) -> builtins.str:
59
+ def id(self) -> _builtins.str:
61
60
  """
62
61
  The provider-assigned unique ID for this managed resource.
63
62
  """
64
63
  return pulumi.get(self, "id")
65
64
 
66
- @property
65
+ @_builtins.property
67
66
  @pulumi.getter
68
- def kind(self) -> builtins.str:
67
+ def kind(self) -> _builtins.str:
69
68
  """
70
69
  The kind of config entry to read.
71
70
  """
72
71
  return pulumi.get(self, "kind")
73
72
 
74
- @property
73
+ @_builtins.property
75
74
  @pulumi.getter
76
- def name(self) -> builtins.str:
75
+ def name(self) -> _builtins.str:
77
76
  """
78
77
  The name of the config entry to read.
79
78
  """
80
79
  return pulumi.get(self, "name")
81
80
 
82
- @property
81
+ @_builtins.property
83
82
  @pulumi.getter
84
- def namespace(self) -> Optional[builtins.str]:
83
+ def namespace(self) -> Optional[_builtins.str]:
85
84
  """
86
85
  The namespace the config entry is associated with.
87
86
  """
88
87
  return pulumi.get(self, "namespace")
89
88
 
90
- @property
89
+ @_builtins.property
91
90
  @pulumi.getter
92
- def partition(self) -> Optional[builtins.str]:
91
+ def partition(self) -> Optional[_builtins.str]:
93
92
  """
94
93
  The partition the config entry is associated with.
95
94
  """
@@ -110,18 +109,18 @@ class AwaitableGetConfigEntryResult(GetConfigEntryResult):
110
109
  partition=self.partition)
111
110
 
112
111
 
113
- def get_config_entry(kind: Optional[builtins.str] = None,
114
- name: Optional[builtins.str] = None,
115
- namespace: Optional[builtins.str] = None,
116
- partition: Optional[builtins.str] = None,
112
+ def get_config_entry(kind: Optional[_builtins.str] = None,
113
+ name: Optional[_builtins.str] = None,
114
+ namespace: Optional[_builtins.str] = None,
115
+ partition: Optional[_builtins.str] = None,
117
116
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigEntryResult:
118
117
  """
119
118
  Use this data source to access information about an existing resource.
120
119
 
121
- :param builtins.str kind: The kind of config entry to read.
122
- :param builtins.str name: The name of the config entry to read.
123
- :param builtins.str namespace: The namespace the config entry is associated with.
124
- :param builtins.str partition: The partition the config entry is associated with.
120
+ :param _builtins.str kind: The kind of config entry to read.
121
+ :param _builtins.str name: The name of the config entry to read.
122
+ :param _builtins.str namespace: The namespace the config entry is associated with.
123
+ :param _builtins.str partition: The partition the config entry is associated with.
125
124
  """
126
125
  __args__ = dict()
127
126
  __args__['kind'] = kind
@@ -138,18 +137,18 @@ def get_config_entry(kind: Optional[builtins.str] = None,
138
137
  name=pulumi.get(__ret__, 'name'),
139
138
  namespace=pulumi.get(__ret__, 'namespace'),
140
139
  partition=pulumi.get(__ret__, 'partition'))
141
- def get_config_entry_output(kind: Optional[pulumi.Input[builtins.str]] = None,
142
- name: Optional[pulumi.Input[builtins.str]] = None,
143
- namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
144
- partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
140
+ def get_config_entry_output(kind: Optional[pulumi.Input[_builtins.str]] = None,
141
+ name: Optional[pulumi.Input[_builtins.str]] = None,
142
+ namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
143
+ partition: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
145
144
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConfigEntryResult]:
146
145
  """
147
146
  Use this data source to access information about an existing resource.
148
147
 
149
- :param builtins.str kind: The kind of config entry to read.
150
- :param builtins.str name: The name of the config entry to read.
151
- :param builtins.str namespace: The namespace the config entry is associated with.
152
- :param builtins.str partition: The partition the config entry is associated with.
148
+ :param _builtins.str kind: The kind of config entry to read.
149
+ :param _builtins.str name: The name of the config entry to read.
150
+ :param _builtins.str namespace: The namespace the config entry is associated with.
151
+ :param _builtins.str partition: The partition the config entry is associated with.
153
152
  """
154
153
  __args__ = dict()
155
154
  __args__['kind'] = kind
@@ -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
@@ -56,73 +55,73 @@ class GetConfigEntryV2ExportedServicesResult:
56
55
  raise TypeError("Expected argument 'services' to be a list")
57
56
  pulumi.set(__self__, "services", services)
58
57
 
59
- @property
58
+ @_builtins.property
60
59
  @pulumi.getter
61
- def id(self) -> builtins.str:
60
+ def id(self) -> _builtins.str:
62
61
  """
63
62
  The provider-assigned unique ID for this managed resource.
64
63
  """
65
64
  return pulumi.get(self, "id")
66
65
 
67
- @property
66
+ @_builtins.property
68
67
  @pulumi.getter
69
- def kind(self) -> builtins.str:
68
+ def kind(self) -> _builtins.str:
70
69
  """
71
70
  The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
72
71
  """
73
72
  return pulumi.get(self, "kind")
74
73
 
75
- @property
74
+ @_builtins.property
76
75
  @pulumi.getter
77
- def name(self) -> builtins.str:
76
+ def name(self) -> _builtins.str:
78
77
  """
79
78
  The name of the config entry to read.
80
79
  """
81
80
  return pulumi.get(self, "name")
82
81
 
83
- @property
82
+ @_builtins.property
84
83
  @pulumi.getter
85
- def namespace(self) -> Optional[builtins.str]:
84
+ def namespace(self) -> Optional[_builtins.str]:
86
85
  """
87
86
  The namespace the config entry is associated with.
88
87
  """
89
88
  return pulumi.get(self, "namespace")
90
89
 
91
- @property
90
+ @_builtins.property
92
91
  @pulumi.getter
93
- def partition(self) -> Optional[builtins.str]:
92
+ def partition(self) -> Optional[_builtins.str]:
94
93
  """
95
94
  The partition the config entry is associated with.
96
95
  """
97
96
  return pulumi.get(self, "partition")
98
97
 
99
- @property
98
+ @_builtins.property
100
99
  @pulumi.getter(name="partitionConsumers")
101
- def partition_consumers(self) -> Optional[Sequence[builtins.str]]:
100
+ def partition_consumers(self) -> Optional[Sequence[_builtins.str]]:
102
101
  """
103
102
  The exported service partition consumers.
104
103
  """
105
104
  return pulumi.get(self, "partition_consumers")
106
105
 
107
- @property
106
+ @_builtins.property
108
107
  @pulumi.getter(name="peerConsumers")
109
- def peer_consumers(self) -> Optional[Sequence[builtins.str]]:
108
+ def peer_consumers(self) -> Optional[Sequence[_builtins.str]]:
110
109
  """
111
110
  The exported service peer consumers.
112
111
  """
113
112
  return pulumi.get(self, "peer_consumers")
114
113
 
115
- @property
114
+ @_builtins.property
116
115
  @pulumi.getter(name="samenessGroupConsumers")
117
- def sameness_group_consumers(self) -> Optional[Sequence[builtins.str]]:
116
+ def sameness_group_consumers(self) -> Optional[Sequence[_builtins.str]]:
118
117
  """
119
118
  The exported service sameness group consumers.
120
119
  """
121
120
  return pulumi.get(self, "sameness_group_consumers")
122
121
 
123
- @property
122
+ @_builtins.property
124
123
  @pulumi.getter
125
- def services(self) -> Optional[Sequence[builtins.str]]:
124
+ def services(self) -> Optional[Sequence[_builtins.str]]:
126
125
  """
127
126
  The exported services.
128
127
  """
@@ -146,26 +145,26 @@ class AwaitableGetConfigEntryV2ExportedServicesResult(GetConfigEntryV2ExportedSe
146
145
  services=self.services)
147
146
 
148
147
 
149
- def get_config_entry_v2_exported_services(kind: Optional[builtins.str] = None,
150
- name: Optional[builtins.str] = None,
151
- namespace: Optional[builtins.str] = None,
152
- partition: Optional[builtins.str] = None,
153
- partition_consumers: Optional[Sequence[builtins.str]] = None,
154
- peer_consumers: Optional[Sequence[builtins.str]] = None,
155
- sameness_group_consumers: Optional[Sequence[builtins.str]] = None,
156
- services: Optional[Sequence[builtins.str]] = None,
148
+ def get_config_entry_v2_exported_services(kind: Optional[_builtins.str] = None,
149
+ name: Optional[_builtins.str] = None,
150
+ namespace: Optional[_builtins.str] = None,
151
+ partition: Optional[_builtins.str] = None,
152
+ partition_consumers: Optional[Sequence[_builtins.str]] = None,
153
+ peer_consumers: Optional[Sequence[_builtins.str]] = None,
154
+ sameness_group_consumers: Optional[Sequence[_builtins.str]] = None,
155
+ services: Optional[Sequence[_builtins.str]] = None,
157
156
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigEntryV2ExportedServicesResult:
158
157
  """
159
158
  Use this data source to access information about an existing resource.
160
159
 
161
- :param builtins.str kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
162
- :param builtins.str name: The name of the config entry to read.
163
- :param builtins.str namespace: The namespace the config entry is associated with.
164
- :param builtins.str partition: The partition the config entry is associated with.
165
- :param Sequence[builtins.str] partition_consumers: The exported service partition consumers.
166
- :param Sequence[builtins.str] peer_consumers: The exported service peer consumers.
167
- :param Sequence[builtins.str] sameness_group_consumers: The exported service sameness group consumers.
168
- :param Sequence[builtins.str] services: The exported services.
160
+ :param _builtins.str kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
161
+ :param _builtins.str name: The name of the config entry to read.
162
+ :param _builtins.str namespace: The namespace the config entry is associated with.
163
+ :param _builtins.str partition: The partition the config entry is associated with.
164
+ :param Sequence[_builtins.str] partition_consumers: The exported service partition consumers.
165
+ :param Sequence[_builtins.str] peer_consumers: The exported service peer consumers.
166
+ :param Sequence[_builtins.str] sameness_group_consumers: The exported service sameness group consumers.
167
+ :param Sequence[_builtins.str] services: The exported services.
169
168
  """
170
169
  __args__ = dict()
171
170
  __args__['kind'] = kind
@@ -189,26 +188,26 @@ def get_config_entry_v2_exported_services(kind: Optional[builtins.str] = None,
189
188
  peer_consumers=pulumi.get(__ret__, 'peer_consumers'),
190
189
  sameness_group_consumers=pulumi.get(__ret__, 'sameness_group_consumers'),
191
190
  services=pulumi.get(__ret__, 'services'))
192
- def get_config_entry_v2_exported_services_output(kind: Optional[pulumi.Input[builtins.str]] = None,
193
- name: Optional[pulumi.Input[builtins.str]] = None,
194
- namespace: Optional[pulumi.Input[Optional[builtins.str]]] = None,
195
- partition: Optional[pulumi.Input[Optional[builtins.str]]] = None,
196
- partition_consumers: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
197
- peer_consumers: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
198
- sameness_group_consumers: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
199
- services: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
191
+ def get_config_entry_v2_exported_services_output(kind: Optional[pulumi.Input[_builtins.str]] = None,
192
+ name: Optional[pulumi.Input[_builtins.str]] = None,
193
+ namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
194
+ partition: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
195
+ partition_consumers: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
196
+ peer_consumers: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
197
+ sameness_group_consumers: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
198
+ services: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
200
199
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConfigEntryV2ExportedServicesResult]:
201
200
  """
202
201
  Use this data source to access information about an existing resource.
203
202
 
204
- :param builtins.str kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
205
- :param builtins.str name: The name of the config entry to read.
206
- :param builtins.str namespace: The namespace the config entry is associated with.
207
- :param builtins.str partition: The partition the config entry is associated with.
208
- :param Sequence[builtins.str] partition_consumers: The exported service partition consumers.
209
- :param Sequence[builtins.str] peer_consumers: The exported service peer consumers.
210
- :param Sequence[builtins.str] sameness_group_consumers: The exported service sameness group consumers.
211
- :param Sequence[builtins.str] services: The exported services.
203
+ :param _builtins.str kind: The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
204
+ :param _builtins.str name: The name of the config entry to read.
205
+ :param _builtins.str namespace: The namespace the config entry is associated with.
206
+ :param _builtins.str partition: The partition the config entry is associated with.
207
+ :param Sequence[_builtins.str] partition_consumers: The exported service partition consumers.
208
+ :param Sequence[_builtins.str] peer_consumers: The exported service peer consumers.
209
+ :param Sequence[_builtins.str] sameness_group_consumers: The exported service sameness group consumers.
210
+ :param Sequence[_builtins.str] services: The exported services.
212
211
  """
213
212
  __args__ = dict()
214
213
  __args__['kind'] = kind