pulumi-ns1 3.2.0a1710245297__py3-none-any.whl → 3.6.0a1736834553__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_ns1/tsigkey.py CHANGED
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['TsigkeyArgs', 'Tsigkey']
@@ -135,16 +140,15 @@ class Tsigkey(pulumi.CustomResource):
135
140
 
136
141
  ## Example Usage
137
142
 
138
- <!--Start PulumiCodeChooser -->
139
143
  ```python
140
144
  import pulumi
141
145
  import pulumi_ns1 as ns1
142
146
 
143
147
  example = ns1.Tsigkey("example",
148
+ name="ExampleTsigKey",
144
149
  algorithm="hmac-sha256",
145
150
  secret="Ok1qR5IW1ajVka5cHPEJQIXfLyx5V3PSkFBROAzOn21JumDq6nIpoj6H8rfj5Uo+Ok55ZWQ0Wgrf302fDscHLA==")
146
151
  ```
147
- <!--End PulumiCodeChooser -->
148
152
  ## NS1 Documentation
149
153
 
150
154
  [TSIG Keys Api Doc](https://ns1.com/api/#tsig)
@@ -172,16 +176,15 @@ class Tsigkey(pulumi.CustomResource):
172
176
 
173
177
  ## Example Usage
174
178
 
175
- <!--Start PulumiCodeChooser -->
176
179
  ```python
177
180
  import pulumi
178
181
  import pulumi_ns1 as ns1
179
182
 
180
183
  example = ns1.Tsigkey("example",
184
+ name="ExampleTsigKey",
181
185
  algorithm="hmac-sha256",
182
186
  secret="Ok1qR5IW1ajVka5cHPEJQIXfLyx5V3PSkFBROAzOn21JumDq6nIpoj6H8rfj5Uo+Ok55ZWQ0Wgrf302fDscHLA==")
183
187
  ```
184
- <!--End PulumiCodeChooser -->
185
188
  ## NS1 Documentation
186
189
 
187
190
  [TSIG Keys Api Doc](https://ns1.com/api/#tsig)