pulumi-venafi 1.12.0a1753339650__py3-none-any.whl → 1.12.0a1753398192__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.

Potentially problematic release.


This version of pulumi-venafi might be problematic. Click here for more details.

@@ -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,35 +43,35 @@ class GetCloudKeystoreResult:
44
43
  raise TypeError("Expected argument 'type' to be a str")
45
44
  pulumi.set(__self__, "type", type)
46
45
 
47
- @property
46
+ @_builtins.property
48
47
  @pulumi.getter(name="cloudProviderId")
49
- def cloud_provider_id(self) -> builtins.str:
48
+ def cloud_provider_id(self) -> _builtins.str:
50
49
  return pulumi.get(self, "cloud_provider_id")
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(name="machineIdentitiesCount")
62
- def machine_identities_count(self) -> builtins.int:
61
+ def machine_identities_count(self) -> _builtins.int:
63
62
  """
64
63
  Number of machine identities provisioned to the cloud keystore.
65
64
  """
66
65
  return pulumi.get(self, "machine_identities_count")
67
66
 
68
- @property
67
+ @_builtins.property
69
68
  @pulumi.getter
70
- def name(self) -> builtins.str:
69
+ def name(self) -> _builtins.str:
71
70
  return pulumi.get(self, "name")
72
71
 
73
- @property
72
+ @_builtins.property
74
73
  @pulumi.getter
75
- def type(self) -> builtins.str:
74
+ def type(self) -> _builtins.str:
76
75
  """
77
76
  The cloud keystore type. Either `ACM`, `AKV` or `GCM`.
78
77
  """
@@ -92,8 +91,8 @@ class AwaitableGetCloudKeystoreResult(GetCloudKeystoreResult):
92
91
  type=self.type)
93
92
 
94
93
 
95
- def get_cloud_keystore(cloud_provider_id: Optional[builtins.str] = None,
96
- name: Optional[builtins.str] = None,
94
+ def get_cloud_keystore(cloud_provider_id: Optional[_builtins.str] = None,
95
+ name: Optional[_builtins.str] = None,
97
96
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCloudKeystoreResult:
98
97
  """
99
98
  Use this data source to get the `ID` of a cloud keystore in Venafi Control Plane, referenced by its name and parent
@@ -114,8 +113,8 @@ def get_cloud_keystore(cloud_provider_id: Optional[builtins.str] = None,
114
113
  ```
115
114
 
116
115
 
117
- :param builtins.str cloud_provider_id: ID of the cloud provider whom the cloud keystore to look up belongs to.
118
- :param builtins.str name: Name of the cloud keystore to look up.
116
+ :param _builtins.str cloud_provider_id: ID of the cloud provider whom the cloud keystore to look up belongs to.
117
+ :param _builtins.str name: Name of the cloud keystore to look up.
119
118
  """
120
119
  __args__ = dict()
121
120
  __args__['cloudProviderId'] = cloud_provider_id
@@ -129,8 +128,8 @@ def get_cloud_keystore(cloud_provider_id: Optional[builtins.str] = None,
129
128
  machine_identities_count=pulumi.get(__ret__, 'machine_identities_count'),
130
129
  name=pulumi.get(__ret__, 'name'),
131
130
  type=pulumi.get(__ret__, 'type'))
132
- def get_cloud_keystore_output(cloud_provider_id: Optional[pulumi.Input[builtins.str]] = None,
133
- name: Optional[pulumi.Input[builtins.str]] = None,
131
+ def get_cloud_keystore_output(cloud_provider_id: Optional[pulumi.Input[_builtins.str]] = None,
132
+ name: Optional[pulumi.Input[_builtins.str]] = None,
134
133
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCloudKeystoreResult]:
135
134
  """
136
135
  Use this data source to get the `ID` of a cloud keystore in Venafi Control Plane, referenced by its name and parent
@@ -151,8 +150,8 @@ def get_cloud_keystore_output(cloud_provider_id: Optional[pulumi.Input[builtins.
151
150
  ```
152
151
 
153
152
 
154
- :param builtins.str cloud_provider_id: ID of the cloud provider whom the cloud keystore to look up belongs to.
155
- :param builtins.str name: Name of the cloud keystore to look up.
153
+ :param _builtins.str cloud_provider_id: ID of the cloud provider whom the cloud keystore to look up belongs to.
154
+ :param _builtins.str name: Name of the cloud keystore to look up.
156
155
  """
157
156
  __args__ = dict()
158
157
  __args__['cloudProviderId'] = cloud_provider_id
@@ -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,46 +46,46 @@ class GetCloudProviderResult:
47
46
  raise TypeError("Expected argument 'type' to be a str")
48
47
  pulumi.set(__self__, "type", type)
49
48
 
50
- @property
49
+ @_builtins.property
51
50
  @pulumi.getter
52
- def id(self) -> builtins.str:
51
+ def id(self) -> _builtins.str:
53
52
  """
54
53
  The provider-assigned unique ID for this managed resource.
55
54
  """
56
55
  return pulumi.get(self, "id")
57
56
 
58
- @property
57
+ @_builtins.property
59
58
  @pulumi.getter(name="keystoresCount")
60
- def keystores_count(self) -> builtins.int:
59
+ def keystores_count(self) -> _builtins.int:
61
60
  """
62
61
  Number of Cloud Keystores configured with the Cloud Provider
63
62
  """
64
63
  return pulumi.get(self, "keystores_count")
65
64
 
66
- @property
65
+ @_builtins.property
67
66
  @pulumi.getter
68
- def name(self) -> builtins.str:
67
+ def name(self) -> _builtins.str:
69
68
  return pulumi.get(self, "name")
70
69
 
71
- @property
70
+ @_builtins.property
72
71
  @pulumi.getter
73
- def status(self) -> builtins.str:
72
+ def status(self) -> _builtins.str:
74
73
  """
75
74
  The status of the Cloud Provider. Either `VALIDATED` or `NOT_VALIDATED`.
76
75
  """
77
76
  return pulumi.get(self, "status")
78
77
 
79
- @property
78
+ @_builtins.property
80
79
  @pulumi.getter(name="statusDetails")
81
- def status_details(self) -> builtins.str:
80
+ def status_details(self) -> _builtins.str:
82
81
  """
83
82
  The details of the Cloud Provider status. If the status is `VALIDATED`, this value will be empty.
84
83
  """
85
84
  return pulumi.get(self, "status_details")
86
85
 
87
- @property
86
+ @_builtins.property
88
87
  @pulumi.getter
89
- def type(self) -> builtins.str:
88
+ def type(self) -> _builtins.str:
90
89
  """
91
90
  The Cloud Provider type. Either `AWS`, `AZURE` or `GCP`
92
91
  """
@@ -107,7 +106,7 @@ class AwaitableGetCloudProviderResult(GetCloudProviderResult):
107
106
  type=self.type)
108
107
 
109
108
 
110
- def get_cloud_provider(name: Optional[builtins.str] = None,
109
+ def get_cloud_provider(name: Optional[_builtins.str] = None,
111
110
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCloudProviderResult:
112
111
  """
113
112
  Use this data source to get the `ID` of a cloud provider in Venafi Control Plane, referenced by its name.
@@ -123,7 +122,7 @@ def get_cloud_provider(name: Optional[builtins.str] = None,
123
122
  ```
124
123
 
125
124
 
126
- :param builtins.str name: Name of the Cloud Provider to look up.
125
+ :param _builtins.str name: Name of the Cloud Provider to look up.
127
126
  """
128
127
  __args__ = dict()
129
128
  __args__['name'] = name
@@ -137,7 +136,7 @@ def get_cloud_provider(name: Optional[builtins.str] = None,
137
136
  status=pulumi.get(__ret__, 'status'),
138
137
  status_details=pulumi.get(__ret__, 'status_details'),
139
138
  type=pulumi.get(__ret__, 'type'))
140
- def get_cloud_provider_output(name: Optional[pulumi.Input[builtins.str]] = None,
139
+ def get_cloud_provider_output(name: Optional[pulumi.Input[_builtins.str]] = None,
141
140
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCloudProviderResult]:
142
141
  """
143
142
  Use this data source to get the `ID` of a cloud provider in Venafi Control Plane, referenced by its name.
@@ -153,7 +152,7 @@ def get_cloud_provider_output(name: Optional[pulumi.Input[builtins.str]] = None,
153
152
  ```
154
153
 
155
154
 
156
- :param builtins.str name: Name of the Cloud Provider to look up.
155
+ :param _builtins.str name: Name of the Cloud Provider to look up.
157
156
  """
158
157
  __args__ = dict()
159
158
  __args__['name'] = name
pulumi_venafi/policy.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
@@ -20,14 +19,14 @@ __all__ = ['PolicyArgs', 'Policy']
20
19
  @pulumi.input_type
21
20
  class PolicyArgs:
22
21
  def __init__(__self__, *,
23
- policy_specification: Optional[pulumi.Input[builtins.str]] = None,
24
- zone: Optional[pulumi.Input[builtins.str]] = None):
22
+ policy_specification: Optional[pulumi.Input[_builtins.str]] = None,
23
+ zone: Optional[pulumi.Input[_builtins.str]] = None):
25
24
  """
26
25
  The set of arguments for constructing a Policy resource.
27
- :param pulumi.Input[builtins.str] policy_specification: The JSON-formatted certificate policy specification as documented
26
+ :param pulumi.Input[_builtins.str] policy_specification: The JSON-formatted certificate policy specification as documented
28
27
  [here](https://github.com/Venafi/vcert/blob/master/README-POLICY-SPEC.md). Typically read from a file using the `file`
29
28
  function.
30
- :param pulumi.Input[builtins.str] zone: The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
29
+ :param pulumi.Input[_builtins.str] zone: The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
31
30
  issuing template.
32
31
  """
33
32
  if policy_specification is not None:
@@ -35,9 +34,9 @@ class PolicyArgs:
35
34
  if zone is not None:
36
35
  pulumi.set(__self__, "zone", zone)
37
36
 
38
- @property
37
+ @_builtins.property
39
38
  @pulumi.getter(name="policySpecification")
40
- def policy_specification(self) -> Optional[pulumi.Input[builtins.str]]:
39
+ def policy_specification(self) -> Optional[pulumi.Input[_builtins.str]]:
41
40
  """
42
41
  The JSON-formatted certificate policy specification as documented
43
42
  [here](https://github.com/Venafi/vcert/blob/master/README-POLICY-SPEC.md). Typically read from a file using the `file`
@@ -46,12 +45,12 @@ class PolicyArgs:
46
45
  return pulumi.get(self, "policy_specification")
47
46
 
48
47
  @policy_specification.setter
49
- def policy_specification(self, value: Optional[pulumi.Input[builtins.str]]):
48
+ def policy_specification(self, value: Optional[pulumi.Input[_builtins.str]]):
50
49
  pulumi.set(self, "policy_specification", value)
51
50
 
52
- @property
51
+ @_builtins.property
53
52
  @pulumi.getter
54
- def zone(self) -> Optional[pulumi.Input[builtins.str]]:
53
+ def zone(self) -> Optional[pulumi.Input[_builtins.str]]:
55
54
  """
56
55
  The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
57
56
  issuing template.
@@ -59,21 +58,21 @@ class PolicyArgs:
59
58
  return pulumi.get(self, "zone")
60
59
 
61
60
  @zone.setter
62
- def zone(self, value: Optional[pulumi.Input[builtins.str]]):
61
+ def zone(self, value: Optional[pulumi.Input[_builtins.str]]):
63
62
  pulumi.set(self, "zone", value)
64
63
 
65
64
 
66
65
  @pulumi.input_type
67
66
  class _PolicyState:
68
67
  def __init__(__self__, *,
69
- policy_specification: Optional[pulumi.Input[builtins.str]] = None,
70
- zone: Optional[pulumi.Input[builtins.str]] = None):
68
+ policy_specification: Optional[pulumi.Input[_builtins.str]] = None,
69
+ zone: Optional[pulumi.Input[_builtins.str]] = None):
71
70
  """
72
71
  Input properties used for looking up and filtering Policy resources.
73
- :param pulumi.Input[builtins.str] policy_specification: The JSON-formatted certificate policy specification as documented
72
+ :param pulumi.Input[_builtins.str] policy_specification: The JSON-formatted certificate policy specification as documented
74
73
  [here](https://github.com/Venafi/vcert/blob/master/README-POLICY-SPEC.md). Typically read from a file using the `file`
75
74
  function.
76
- :param pulumi.Input[builtins.str] zone: The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
75
+ :param pulumi.Input[_builtins.str] zone: The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
77
76
  issuing template.
78
77
  """
79
78
  if policy_specification is not None:
@@ -81,9 +80,9 @@ class _PolicyState:
81
80
  if zone is not None:
82
81
  pulumi.set(__self__, "zone", zone)
83
82
 
84
- @property
83
+ @_builtins.property
85
84
  @pulumi.getter(name="policySpecification")
86
- def policy_specification(self) -> Optional[pulumi.Input[builtins.str]]:
85
+ def policy_specification(self) -> Optional[pulumi.Input[_builtins.str]]:
87
86
  """
88
87
  The JSON-formatted certificate policy specification as documented
89
88
  [here](https://github.com/Venafi/vcert/blob/master/README-POLICY-SPEC.md). Typically read from a file using the `file`
@@ -92,12 +91,12 @@ class _PolicyState:
92
91
  return pulumi.get(self, "policy_specification")
93
92
 
94
93
  @policy_specification.setter
95
- def policy_specification(self, value: Optional[pulumi.Input[builtins.str]]):
94
+ def policy_specification(self, value: Optional[pulumi.Input[_builtins.str]]):
96
95
  pulumi.set(self, "policy_specification", value)
97
96
 
98
- @property
97
+ @_builtins.property
99
98
  @pulumi.getter
100
- def zone(self) -> Optional[pulumi.Input[builtins.str]]:
99
+ def zone(self) -> Optional[pulumi.Input[_builtins.str]]:
101
100
  """
102
101
  The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
103
102
  issuing template.
@@ -105,7 +104,7 @@ class _PolicyState:
105
104
  return pulumi.get(self, "zone")
106
105
 
107
106
  @zone.setter
108
- def zone(self, value: Optional[pulumi.Input[builtins.str]]):
107
+ def zone(self, value: Optional[pulumi.Input[_builtins.str]]):
109
108
  pulumi.set(self, "zone", value)
110
109
 
111
110
 
@@ -115,8 +114,8 @@ class Policy(pulumi.CustomResource):
115
114
  def __init__(__self__,
116
115
  resource_name: str,
117
116
  opts: Optional[pulumi.ResourceOptions] = None,
118
- policy_specification: Optional[pulumi.Input[builtins.str]] = None,
119
- zone: Optional[pulumi.Input[builtins.str]] = None,
117
+ policy_specification: Optional[pulumi.Input[_builtins.str]] = None,
118
+ zone: Optional[pulumi.Input[_builtins.str]] = None,
120
119
  __props__=None):
121
120
  """
122
121
  Provides access to read and write certificate policy in Venafi. This can be used to define a new policy (folder in
@@ -154,10 +153,10 @@ class Policy(pulumi.CustomResource):
154
153
 
155
154
  :param str resource_name: The name of the resource.
156
155
  :param pulumi.ResourceOptions opts: Options for the resource.
157
- :param pulumi.Input[builtins.str] policy_specification: The JSON-formatted certificate policy specification as documented
156
+ :param pulumi.Input[_builtins.str] policy_specification: The JSON-formatted certificate policy specification as documented
158
157
  [here](https://github.com/Venafi/vcert/blob/master/README-POLICY-SPEC.md). Typically read from a file using the `file`
159
158
  function.
160
- :param pulumi.Input[builtins.str] zone: The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
159
+ :param pulumi.Input[_builtins.str] zone: The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
161
160
  issuing template.
162
161
  """
163
162
  ...
@@ -215,8 +214,8 @@ class Policy(pulumi.CustomResource):
215
214
  def _internal_init(__self__,
216
215
  resource_name: str,
217
216
  opts: Optional[pulumi.ResourceOptions] = None,
218
- policy_specification: Optional[pulumi.Input[builtins.str]] = None,
219
- zone: Optional[pulumi.Input[builtins.str]] = None,
217
+ policy_specification: Optional[pulumi.Input[_builtins.str]] = None,
218
+ zone: Optional[pulumi.Input[_builtins.str]] = None,
220
219
  __props__=None):
221
220
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
222
221
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -238,8 +237,8 @@ class Policy(pulumi.CustomResource):
238
237
  def get(resource_name: str,
239
238
  id: pulumi.Input[str],
240
239
  opts: Optional[pulumi.ResourceOptions] = None,
241
- policy_specification: Optional[pulumi.Input[builtins.str]] = None,
242
- zone: Optional[pulumi.Input[builtins.str]] = None) -> 'Policy':
240
+ policy_specification: Optional[pulumi.Input[_builtins.str]] = None,
241
+ zone: Optional[pulumi.Input[_builtins.str]] = None) -> 'Policy':
243
242
  """
244
243
  Get an existing Policy resource's state with the given name, id, and optional extra
245
244
  properties used to qualify the lookup.
@@ -247,10 +246,10 @@ class Policy(pulumi.CustomResource):
247
246
  :param str resource_name: The unique name of the resulting resource.
248
247
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
249
248
  :param pulumi.ResourceOptions opts: Options for the resource.
250
- :param pulumi.Input[builtins.str] policy_specification: The JSON-formatted certificate policy specification as documented
249
+ :param pulumi.Input[_builtins.str] policy_specification: The JSON-formatted certificate policy specification as documented
251
250
  [here](https://github.com/Venafi/vcert/blob/master/README-POLICY-SPEC.md). Typically read from a file using the `file`
252
251
  function.
253
- :param pulumi.Input[builtins.str] zone: The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
252
+ :param pulumi.Input[_builtins.str] zone: The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
254
253
  issuing template.
255
254
  """
256
255
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -261,9 +260,9 @@ class Policy(pulumi.CustomResource):
261
260
  __props__.__dict__["zone"] = zone
262
261
  return Policy(resource_name, opts=opts, __props__=__props__)
263
262
 
264
- @property
263
+ @_builtins.property
265
264
  @pulumi.getter(name="policySpecification")
266
- def policy_specification(self) -> pulumi.Output[Optional[builtins.str]]:
265
+ def policy_specification(self) -> pulumi.Output[Optional[_builtins.str]]:
267
266
  """
268
267
  The JSON-formatted certificate policy specification as documented
269
268
  [here](https://github.com/Venafi/vcert/blob/master/README-POLICY-SPEC.md). Typically read from a file using the `file`
@@ -271,9 +270,9 @@ class Policy(pulumi.CustomResource):
271
270
  """
272
271
  return pulumi.get(self, "policy_specification")
273
272
 
274
- @property
273
+ @_builtins.property
275
274
  @pulumi.getter
276
- def zone(self) -> pulumi.Output[Optional[builtins.str]]:
275
+ def zone(self) -> pulumi.Output[Optional[_builtins.str]]:
277
276
  """
278
277
  The *Trust Protection Plaform* policy folder or *Venafi Control Plane* application and
279
278
  issuing template.