pulumi-ns1 3.5.1__py3-none-any.whl → 3.5.2a1740021428__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/_utilities.py CHANGED
@@ -89,12 +89,16 @@ def _get_semver_version():
89
89
  elif pep440_version.pre_tag == 'rc':
90
90
  prerelease = f"rc.{pep440_version.pre}"
91
91
  elif pep440_version.dev is not None:
92
+ # PEP440 has explicit support for dev builds, while semver encodes them as "prerelease" versions. To bridge
93
+ # between the two, we convert our dev build version into a prerelease tag. This matches what all of our other
94
+ # packages do when constructing their own semver string.
92
95
  prerelease = f"dev.{pep440_version.dev}"
96
+ elif pep440_version.local is not None:
97
+ # PEP440 only allows a small set of prerelease tags, so when converting an arbitrary prerelease,
98
+ # PypiVersion in /pkg/codegen/python/utilities.go converts it to a local version. Therefore, we need to
99
+ # do the reverse conversion here and set the local version as the prerelease tag.
100
+ prerelease = pep440_version.local
93
101
 
94
- # The only significant difference between PEP440 and semver as it pertains to us is that PEP440 has explicit support
95
- # for dev builds, while semver encodes them as "prerelease" versions. In order to bridge between the two, we convert
96
- # our dev build version into a prerelease tag. This matches what all of our other packages do when constructing
97
- # their own semver string.
98
102
  return SemverVersion(major=major, minor=minor, patch=patch, prerelease=prerelease)
99
103
 
100
104
 
pulumi_ns1/api_key.py CHANGED
@@ -1131,6 +1131,8 @@ class APIKey(pulumi.CustomResource):
1131
1131
 
1132
1132
  ## Import
1133
1133
 
1134
+ -> Imported keys will not have their key stored in the state file.
1135
+
1134
1136
  ```sh
1135
1137
  $ pulumi import ns1:index/aPIKey:APIKey `ns1_apikey`
1136
1138
  ```
@@ -1222,6 +1224,8 @@ class APIKey(pulumi.CustomResource):
1222
1224
 
1223
1225
  ## Import
1224
1226
 
1227
+ -> Imported keys will not have their key stored in the state file.
1228
+
1225
1229
  ```sh
1226
1230
  $ pulumi import ns1:index/aPIKey:APIKey `ns1_apikey`
1227
1231
  ```
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "ns1",
4
- "version": "3.5.1"
4
+ "version": "3.5.2-alpha.1740021428"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pulumi_ns1
3
- Version: 3.5.1
3
+ Version: 3.5.2a1740021428
4
4
  Summary: A Pulumi package for creating and managing ns1 cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,9 +1,9 @@
1
1
  pulumi_ns1/__init__.py,sha256=_eTP0wuFVtglSAdvytUPrfk5Q_oE80F8g0Q6fNe-gXY,3811
2
2
  pulumi_ns1/_inputs.py,sha256=Vf4yCrGmSaPTFQSLAU1TaNc-7kvqUg1U0N6s1GvSD24,49302
3
- pulumi_ns1/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
3
+ pulumi_ns1/_utilities.py,sha256=yyuODPikZ9pto3JWJRfMJo98dWmQ5_y45-TVcZG_K8Y,10807
4
4
  pulumi_ns1/account_whitelist.py,sha256=ZAvA1SYB6jtYtlQAy_VxVteOLHAvgvy-AKLzUcKXk6U,9228
5
5
  pulumi_ns1/alert.py,sha256=JQaJ3rk0LlNKh0pQ0ViJdysUJYOkfykenIZSmaOZfaE,21968
6
- pulumi_ns1/api_key.py,sha256=GMBBBmi3iDiptnGfaPW5hIGX-E-vdGUzDoh9a3Idduk,85738
6
+ pulumi_ns1/api_key.py,sha256=FVIkYId6ZJ6hI8A-_XfOIAxR7kuhvD0PLDl4kS2CItM,85890
7
7
  pulumi_ns1/application.py,sha256=cZZJFau7TbQnBea86syhMOvDPku4dnDHq-YMq8P_FAQ,16918
8
8
  pulumi_ns1/data_feed.py,sha256=zhLlzsl_mzGKztrHw8FUsGzkvg0_QIoamslgoK0IVOY,13038
9
9
  pulumi_ns1/data_source.py,sha256=YPgQnaYHb2YnQFjr42aAtR1ZLRA6hBZZkUh5vecUPMQ,11458
@@ -19,7 +19,7 @@ pulumi_ns1/notify_list.py,sha256=u1cxdi7ShHRgZ_hc8EoI4EV5eb1lOCuq7h6JL3tWJN4,112
19
19
  pulumi_ns1/outputs.py,sha256=b-sWb4EOJ7i8YPL6Pp09ca6RRg7zoqI5cHY4426AIoA,46232
20
20
  pulumi_ns1/provider.py,sha256=3OX3CiosEpKCD-nBBfk7y7-lc6u2jWgNYykw3bSrV4o,9822
21
21
  pulumi_ns1/pulsar_job.py,sha256=HotfwogcHFiwx2wB_jt0HBkHZ2aGYTTotj18czT7oOs,17404
22
- pulumi_ns1/pulumi-plugin.json,sha256=3e2Dfmu5RWwiXaNA3k-ILUb_Nw9XayO6YaqpT0HiQGg,62
22
+ pulumi_ns1/pulumi-plugin.json,sha256=4I9nyy559wO6mrNpB7d3VHtp7F97ys3LyXv8HdmlVeg,79
23
23
  pulumi_ns1/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  pulumi_ns1/record.py,sha256=7wr1g9b-81ZxyYZut9a0Nit2JIF6qKrNaWJ7tATog1Y,47024
25
25
  pulumi_ns1/redirect.py,sha256=9LMN9UEPXKQnxDBCivMu6naBRKZVjjdVUUMz0zPf6aY,32507
@@ -31,7 +31,7 @@ pulumi_ns1/zone.py,sha256=qYjOvjzr6JuT81mt237ldmRIWfvw0Pjpaf_ez-So4iA,44034
31
31
  pulumi_ns1/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
32
32
  pulumi_ns1/config/__init__.pyi,sha256=jYEqa6gVguWiQRa3PB-xqKnJAcghY1PJBRTtvM9LB78,975
33
33
  pulumi_ns1/config/vars.py,sha256=0UkqyD5y0pX445AqzZ94LzzyMRDXm1exQGOSVGZmvJA,1680
34
- pulumi_ns1-3.5.1.dist-info/METADATA,sha256=RYvYpnbOYM769M6o_h5bQmE35yv_Mt8U7tIdQ9YCZ6Y,3099
35
- pulumi_ns1-3.5.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
36
- pulumi_ns1-3.5.1.dist-info/top_level.txt,sha256=Sndx9N4MHnSbjpwVT-_JZ8NZ7JzudJUIUQkU2-9GH9U,11
37
- pulumi_ns1-3.5.1.dist-info/RECORD,,
34
+ pulumi_ns1-3.5.2a1740021428.dist-info/METADATA,sha256=5c6bqg47RD5iwE5cEv4kw0cOgFZXJSYi1R0tJrA2IPg,3110
35
+ pulumi_ns1-3.5.2a1740021428.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
36
+ pulumi_ns1-3.5.2a1740021428.dist-info/top_level.txt,sha256=Sndx9N4MHnSbjpwVT-_JZ8NZ7JzudJUIUQkU2-9GH9U,11
37
+ pulumi_ns1-3.5.2a1740021428.dist-info/RECORD,,