pulumi-kafka 3.11.0a1753336924__py3-none-any.whl → 3.11.0a1753397760__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_kafka/get_topic.py CHANGED
@@ -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
@@ -44,32 +43,32 @@ class GetTopicResult:
44
43
  raise TypeError("Expected argument 'replication_factor' to be a int")
45
44
  pulumi.set(__self__, "replication_factor", replication_factor)
46
45
 
47
- @property
46
+ @_builtins.property
48
47
  @pulumi.getter
49
- def config(self) -> Mapping[str, builtins.str]:
48
+ def config(self) -> Mapping[str, _builtins.str]:
50
49
  return pulumi.get(self, "config")
51
50
 
52
- @property
51
+ @_builtins.property
53
52
  @pulumi.getter
54
- def id(self) -> builtins.str:
53
+ def id(self) -> _builtins.str:
55
54
  """
56
55
  The provider-assigned unique ID for this managed resource.
57
56
  """
58
57
  return pulumi.get(self, "id")
59
58
 
60
- @property
59
+ @_builtins.property
61
60
  @pulumi.getter
62
- def name(self) -> builtins.str:
61
+ def name(self) -> _builtins.str:
63
62
  return pulumi.get(self, "name")
64
63
 
65
- @property
64
+ @_builtins.property
66
65
  @pulumi.getter
67
- def partitions(self) -> builtins.int:
66
+ def partitions(self) -> _builtins.int:
68
67
  return pulumi.get(self, "partitions")
69
68
 
70
- @property
69
+ @_builtins.property
71
70
  @pulumi.getter(name="replicationFactor")
72
- def replication_factor(self) -> builtins.int:
71
+ def replication_factor(self) -> _builtins.int:
73
72
  return pulumi.get(self, "replication_factor")
74
73
 
75
74
 
@@ -86,7 +85,7 @@ class AwaitableGetTopicResult(GetTopicResult):
86
85
  replication_factor=self.replication_factor)
87
86
 
88
87
 
89
- def get_topic(name: Optional[builtins.str] = None,
88
+ def get_topic(name: Optional[_builtins.str] = None,
90
89
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTopicResult:
91
90
  """
92
91
  Use this data source to access information about an existing resource.
@@ -102,7 +101,7 @@ def get_topic(name: Optional[builtins.str] = None,
102
101
  name=pulumi.get(__ret__, 'name'),
103
102
  partitions=pulumi.get(__ret__, 'partitions'),
104
103
  replication_factor=pulumi.get(__ret__, 'replication_factor'))
105
- def get_topic_output(name: Optional[pulumi.Input[builtins.str]] = None,
104
+ def get_topic_output(name: Optional[pulumi.Input[_builtins.str]] = None,
106
105
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTopicResult]:
107
106
  """
108
107
  Use this data source to access information about an existing resource.