pulumi-noderings 0.1.3__tar.gz

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 (79) hide show
  1. pulumi_noderings-0.1.3/PKG-INFO +149 -0
  2. pulumi_noderings-0.1.3/README.md +134 -0
  3. pulumi_noderings-0.1.3/pulumi_noderings/__init__.py +287 -0
  4. pulumi_noderings-0.1.3/pulumi_noderings/_inputs.py +905 -0
  5. pulumi_noderings-0.1.3/pulumi_noderings/_utilities.py +328 -0
  6. pulumi_noderings-0.1.3/pulumi_noderings/config/__init__.py +9 -0
  7. pulumi_noderings-0.1.3/pulumi_noderings/config/__init__.pyi +51 -0
  8. pulumi_noderings-0.1.3/pulumi_noderings/config/vars.py +71 -0
  9. pulumi_noderings-0.1.3/pulumi_noderings/dns_geo_record.py +576 -0
  10. pulumi_noderings-0.1.3/pulumi_noderings/dns_record.py +501 -0
  11. pulumi_noderings-0.1.3/pulumi_noderings/dns_zone.py +486 -0
  12. pulumi_noderings-0.1.3/pulumi_noderings/dns_zone_dnssec.py +463 -0
  13. pulumi_noderings-0.1.3/pulumi_noderings/environment_variable.py +286 -0
  14. pulumi_noderings-0.1.3/pulumi_noderings/firewall_address_group.py +326 -0
  15. pulumi_noderings-0.1.3/pulumi_noderings/firewall_ruleset.py +371 -0
  16. pulumi_noderings-0.1.3/pulumi_noderings/firewall_ruleset_attachment.py +264 -0
  17. pulumi_noderings-0.1.3/pulumi_noderings/firewall_ruleset_rules.py +418 -0
  18. pulumi_noderings-0.1.3/pulumi_noderings/game_server.py +1341 -0
  19. pulumi_noderings-0.1.3/pulumi_noderings/game_server_allocation.py +426 -0
  20. pulumi_noderings-0.1.3/pulumi_noderings/game_server_backup.py +478 -0
  21. pulumi_noderings-0.1.3/pulumi_noderings/game_server_database.py +602 -0
  22. pulumi_noderings-0.1.3/pulumi_noderings/game_server_schedule.py +585 -0
  23. pulumi_noderings-0.1.3/pulumi_noderings/get_credit_balance.py +168 -0
  24. pulumi_noderings-0.1.3/pulumi_noderings/get_distros.py +95 -0
  25. pulumi_noderings-0.1.3/pulumi_noderings/get_dns_zone.py +206 -0
  26. pulumi_noderings-0.1.3/pulumi_noderings/get_entitlements.py +113 -0
  27. pulumi_noderings-0.1.3/pulumi_noderings/get_firewall_address_group.py +164 -0
  28. pulumi_noderings-0.1.3/pulumi_noderings/get_firewall_ruleset.py +178 -0
  29. pulumi_noderings-0.1.3/pulumi_noderings/get_firewall_rulesets.py +121 -0
  30. pulumi_noderings-0.1.3/pulumi_noderings/get_game_server.py +418 -0
  31. pulumi_noderings-0.1.3/pulumi_noderings/get_game_server_games.py +209 -0
  32. pulumi_noderings-0.1.3/pulumi_noderings/get_game_server_resources.py +202 -0
  33. pulumi_noderings-0.1.3/pulumi_noderings/get_game_server_startup.py +175 -0
  34. pulumi_noderings-0.1.3/pulumi_noderings/get_game_servers.py +173 -0
  35. pulumi_noderings-0.1.3/pulumi_noderings/get_instant_app.py +256 -0
  36. pulumi_noderings-0.1.3/pulumi_noderings/get_instant_apps.py +159 -0
  37. pulumi_noderings-0.1.3/pulumi_noderings/get_marketplace_addon.py +281 -0
  38. pulumi_noderings-0.1.3/pulumi_noderings/get_marketplace_offer.py +473 -0
  39. pulumi_noderings-0.1.3/pulumi_noderings/get_marketplace_offers.py +307 -0
  40. pulumi_noderings-0.1.3/pulumi_noderings/get_marketplace_plan.py +289 -0
  41. pulumi_noderings-0.1.3/pulumi_noderings/get_marketplace_plan_codes.py +183 -0
  42. pulumi_noderings-0.1.3/pulumi_noderings/get_marketplace_provider.py +267 -0
  43. pulumi_noderings-0.1.3/pulumi_noderings/get_marketplace_providers.py +139 -0
  44. pulumi_noderings-0.1.3/pulumi_noderings/get_marketplace_regions.py +119 -0
  45. pulumi_noderings-0.1.3/pulumi_noderings/get_organization.py +150 -0
  46. pulumi_noderings-0.1.3/pulumi_noderings/get_permission.py +200 -0
  47. pulumi_noderings-0.1.3/pulumi_noderings/get_permissions.py +139 -0
  48. pulumi_noderings-0.1.3/pulumi_noderings/get_role.py +160 -0
  49. pulumi_noderings-0.1.3/pulumi_noderings/get_roles.py +95 -0
  50. pulumi_noderings-0.1.3/pulumi_noderings/get_ssh_key.py +184 -0
  51. pulumi_noderings-0.1.3/pulumi_noderings/get_storefront.py +245 -0
  52. pulumi_noderings-0.1.3/pulumi_noderings/get_subscription.py +314 -0
  53. pulumi_noderings-0.1.3/pulumi_noderings/get_users.py +157 -0
  54. pulumi_noderings-0.1.3/pulumi_noderings/get_virtual_machine.py +525 -0
  55. pulumi_noderings-0.1.3/pulumi_noderings/get_virtual_machine_backups.py +145 -0
  56. pulumi_noderings-0.1.3/pulumi_noderings/get_virtual_machine_snapshots.py +119 -0
  57. pulumi_noderings-0.1.3/pulumi_noderings/get_virtual_machine_tags.py +94 -0
  58. pulumi_noderings-0.1.3/pulumi_noderings/get_virtual_machines.py +163 -0
  59. pulumi_noderings-0.1.3/pulumi_noderings/group.py +285 -0
  60. pulumi_noderings-0.1.3/pulumi_noderings/group_membership.py +324 -0
  61. pulumi_noderings-0.1.3/pulumi_noderings/outputs.py +3161 -0
  62. pulumi_noderings-0.1.3/pulumi_noderings/provider.py +293 -0
  63. pulumi_noderings-0.1.3/pulumi_noderings/pulumi-plugin.json +6 -0
  64. pulumi_noderings-0.1.3/pulumi_noderings/py.typed +0 -0
  65. pulumi_noderings-0.1.3/pulumi_noderings/role.py +311 -0
  66. pulumi_noderings-0.1.3/pulumi_noderings/role_assignment.py +373 -0
  67. pulumi_noderings-0.1.3/pulumi_noderings/secret.py +294 -0
  68. pulumi_noderings-0.1.3/pulumi_noderings/ssh_key.py +348 -0
  69. pulumi_noderings-0.1.3/pulumi_noderings/virtual_machine.py +1551 -0
  70. pulumi_noderings-0.1.3/pulumi_noderings/virtual_machine_additional_ip.py +394 -0
  71. pulumi_noderings-0.1.3/pulumi_noderings/virtual_machine_backup.py +338 -0
  72. pulumi_noderings-0.1.3/pulumi_noderings/virtual_machine_snapshot.py +460 -0
  73. pulumi_noderings-0.1.3/pulumi_noderings.egg-info/PKG-INFO +149 -0
  74. pulumi_noderings-0.1.3/pulumi_noderings.egg-info/SOURCES.txt +77 -0
  75. pulumi_noderings-0.1.3/pulumi_noderings.egg-info/dependency_links.txt +1 -0
  76. pulumi_noderings-0.1.3/pulumi_noderings.egg-info/requires.txt +6 -0
  77. pulumi_noderings-0.1.3/pulumi_noderings.egg-info/top_level.txt +1 -0
  78. pulumi_noderings-0.1.3/pyproject.toml +22 -0
  79. pulumi_noderings-0.1.3/setup.cfg +4 -0
@@ -0,0 +1,149 @@
1
+ Metadata-Version: 2.4
2
+ Name: pulumi_noderings
3
+ Version: 0.1.3
4
+ Summary: A Pulumi package for the NodeRings infrastructure marketplace: order and manage compute, networking, DNS, game servers, access control and more.
5
+ License: Apache-2.0
6
+ Project-URL: Homepage, https://noderings.com
7
+ Project-URL: Repository, https://github.com/noderings/pulumi-noderings
8
+ Keywords: noderings,vps,dns,category/cloud
9
+ Requires-Python: >=3.9
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: packaging>=24.0
12
+ Requires-Dist: pulumi<4.0.0,>=3.269.0
13
+ Requires-Dist: semver>=2.8.1
14
+ Requires-Dist: typing-extensions<5,>=4.11; python_version < "3.11"
15
+
16
+ # NodeRings Resource Provider for Pulumi
17
+
18
+ [![CI](https://github.com/noderings/pulumi-noderings/actions/workflows/ci.yml/badge.svg)](https://github.com/noderings/pulumi-noderings/actions/workflows/ci.yml)
19
+ [![npm](https://img.shields.io/npm/v/@noderings/pulumi)](https://www.npmjs.com/package/@noderings/pulumi)
20
+ [![PyPI](https://img.shields.io/pypi/v/pulumi-noderings)](https://pypi.org/project/pulumi-noderings/)
21
+ [![NuGet](https://img.shields.io/nuget/v/NodeRings.Pulumi)](https://www.nuget.org/packages/NodeRings.Pulumi)
22
+ [![Go Reference](https://pkg.go.dev/badge/github.com/noderings/pulumi-noderings/sdk/go/noderings.svg)](https://pkg.go.dev/github.com/noderings/pulumi-noderings/sdk/go/noderings)
23
+ [![Pulumi Registry](https://img.shields.io/badge/pulumi-noderings-8A3391.svg?logo=pulumi)](https://www.pulumi.com/registry/packages/noderings/)
24
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
25
+
26
+ The NodeRings provider lets you manage [NodeRings](https://noderings.com) resources with Pulumi. NodeRings is an infrastructure marketplace: independent hosting providers sell compute, GPU, storage, network and more, and you buy and manage them through one account and one API.
27
+
28
+ New to it? The step-by-step guide [How to use Pulumi on NodeRings to order a VPS](https://noderings.com/blog/pulumi-vps) walks through a first run.
29
+
30
+ With this provider you can:
31
+
32
+ - order a virtual machine by size and city, billed by the hour, and get its IP address back in the same program
33
+ - keep DNS zones, records, GeoDNS answers and DNSSEC in code
34
+ - put firewalls in front of your servers, matched by address, address group or tag
35
+ - run game servers with their allocations, schedules, backups and databases
36
+ - manage SSH keys, roles, groups and secrets for your organization
37
+
38
+ It is built from the [NodeRings Terraform provider](https://github.com/noderings/terraform-provider-noderings) with the [Pulumi Terraform bridge](https://github.com/pulumi/pulumi-terraform-bridge), so both behave the same.
39
+
40
+ ## Installing
41
+
42
+ | Language | Package | Install |
43
+ |---|---|---|
44
+ | TypeScript / JavaScript | [`@noderings/pulumi`](https://www.npmjs.com/package/@noderings/pulumi) | `npm install @noderings/pulumi` |
45
+ | Python | [`pulumi-noderings`](https://pypi.org/project/pulumi-noderings/) | `pip install pulumi-noderings` |
46
+ | Go | [`github.com/noderings/pulumi-noderings/sdk/go/noderings`](https://pkg.go.dev/github.com/noderings/pulumi-noderings/sdk/go/noderings) | `go get github.com/noderings/pulumi-noderings/sdk/go/noderings` |
47
+ | .NET | [`NodeRings.Pulumi`](https://www.nuget.org/packages/NodeRings.Pulumi) | `dotnet add package NodeRings.Pulumi` |
48
+ | YAML | built in | reference `noderings:VirtualMachine` and the other types directly |
49
+
50
+ Pulumi downloads the provider plugin from this repository's [releases](https://github.com/noderings/pulumi-noderings/releases) the first time a program uses it.
51
+
52
+ ## Configuration
53
+
54
+ Create a service account in the NodeRings console (Organization, then Access Control, then Service accounts), give it a role, and generate a token. Then either export it:
55
+
56
+ ```bash
57
+ export NODERINGS_TOKEN=<your token>
58
+ ```
59
+
60
+ or store it encrypted in your stack:
61
+
62
+ ```bash
63
+ pulumi config set noderings:token --secret
64
+ ```
65
+
66
+ | Option | Environment variable | Description |
67
+ |---|---|---|
68
+ | `noderings:token` | `NODERINGS_TOKEN` | Service account token. Required. |
69
+ | `noderings:organizationId` | `NODERINGS_ORGANIZATION_ID` | Organization to act in. Defaults to the token's organization. |
70
+ | `noderings:endpoint` | `NODERINGS_API_URL` | API base URL. Defaults to the public API. |
71
+ | `noderings:maxRetries` | | Retries for rate-limited and transient failures. Defaults to `25`. |
72
+ | `noderings:requestsPerSecond` | | Client-side limit per API operation. Defaults to `2`. |
73
+ | `noderings:httpTimeout` | | Timeout for one HTTP request. Defaults to `60s`. |
74
+ | `noderings:skipOrganizationCheck` | | Skip the token check at startup. Defaults to `false`. |
75
+
76
+ ## Example
77
+
78
+ Order the cheapest hourly 1 vCPU, 1 GB server in Ashburn and point a DNS name at it.
79
+
80
+ ```typescript
81
+ import * as noderings from "@noderings/pulumi";
82
+
83
+ const offer = noderings.getMarketplaceOfferOutput({
84
+ planCode: "SC-GC-1C-1G-20",
85
+ country: "United States",
86
+ city: "Ashburn",
87
+ billingType: "usage",
88
+ });
89
+
90
+ const key = new noderings.SshKey("laptop", {
91
+ name: "laptop",
92
+ publicKey: "ssh-ed25519 AAAA... you@laptop",
93
+ });
94
+
95
+ const web = new noderings.VirtualMachine("web", {
96
+ hostname: "web-1",
97
+ planId: offer.planId,
98
+ regionId: offer.regionId,
99
+ distro: "ubuntu_24_04",
100
+ sshKeyIds: [key.id],
101
+ });
102
+
103
+ const zone = new noderings.DnsZone("site", { name: "example.com" });
104
+
105
+ new noderings.DnsRecord("www", {
106
+ zoneId: zone.id,
107
+ name: "www",
108
+ type: "A",
109
+ ttl: 300,
110
+ records: [web.ipv4],
111
+ });
112
+
113
+ export const ip = web.ipv4;
114
+ export const nameservers = zone.nameservers;
115
+ ```
116
+
117
+ The same program in Python, Go, C# and YAML is in the [documentation](docs/_index.md). Complete, tested programs are in [`examples/`](examples):
118
+
119
+ | Example | Language | What it does | Cost |
120
+ |---|---|---|---|
121
+ | [`dns-ts`](examples/dns-ts) | TypeScript | Zone with A, MX, TXT, CAA and GeoDNS records, plus DNSSEC | Free |
122
+ | [`dns-go`](examples/dns-go) | Go | Zone with an A and an MX record | Free |
123
+ | [`vm-py`](examples/vm-py) | Python | Hourly VM with a firewall and a DNS record | A few cents an hour |
124
+
125
+ ## Things to know
126
+
127
+ - **Billing.** `billingType: "usage"` servers are charged by the hour from prepaid credit and stop billing when deleted. Monthly servers are charged to your card and are cancelled without a refund when deleted, so set `deletionProtection: true` on them.
128
+ - **Replacements.** Changing `hostname`, `distro` or `sshKeyIds` replaces the server (new IP, empty disk) unless `reinstallOnChange: true`, which reinstalls the same server and keeps its addresses. Changing `planId` or `regionId` always replaces it.
129
+ - **Cheaper offers.** `getMarketplaceOffer` runs on every update. When a cheaper offer appears, `planId` changes and Pulumi plans a replacement. Use `ignoreChanges: ["planId", "regionId"]` or pin `providerId` to stay put.
130
+ - **Firewalls.** Rules are evaluated top to bottom and unmatched traffic is accepted, so end a ruleset with a drop rule.
131
+ - **Import.** Existing resources can be adopted with `pulumi import`, for example `pulumi import noderings:index/dnsRecord:DnsRecord www <zone id>/www/A`.
132
+
133
+ ## Reference
134
+
135
+ - [API documentation](https://www.pulumi.com/registry/packages/noderings/api-docs/) on the Pulumi Registry
136
+ - [Provider overview, installation and configuration](docs/_index.md)
137
+ - [NodeRings documentation](https://docs.noderings.com)
138
+
139
+ ## Development
140
+
141
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for building the provider, regenerating the SDKs, and running the unit and live integration tests.
142
+
143
+ ## Support
144
+
145
+ Report bugs and request features in [GitHub issues](https://github.com/noderings/pulumi-noderings/issues). For questions about your NodeRings account or servers, contact NodeRings support from the console.
146
+
147
+ ## License
148
+
149
+ Apache License 2.0. See [LICENSE](LICENSE) and [COPYRIGHT](COPYRIGHT).
@@ -0,0 +1,134 @@
1
+ # NodeRings Resource Provider for Pulumi
2
+
3
+ [![CI](https://github.com/noderings/pulumi-noderings/actions/workflows/ci.yml/badge.svg)](https://github.com/noderings/pulumi-noderings/actions/workflows/ci.yml)
4
+ [![npm](https://img.shields.io/npm/v/@noderings/pulumi)](https://www.npmjs.com/package/@noderings/pulumi)
5
+ [![PyPI](https://img.shields.io/pypi/v/pulumi-noderings)](https://pypi.org/project/pulumi-noderings/)
6
+ [![NuGet](https://img.shields.io/nuget/v/NodeRings.Pulumi)](https://www.nuget.org/packages/NodeRings.Pulumi)
7
+ [![Go Reference](https://pkg.go.dev/badge/github.com/noderings/pulumi-noderings/sdk/go/noderings.svg)](https://pkg.go.dev/github.com/noderings/pulumi-noderings/sdk/go/noderings)
8
+ [![Pulumi Registry](https://img.shields.io/badge/pulumi-noderings-8A3391.svg?logo=pulumi)](https://www.pulumi.com/registry/packages/noderings/)
9
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
10
+
11
+ The NodeRings provider lets you manage [NodeRings](https://noderings.com) resources with Pulumi. NodeRings is an infrastructure marketplace: independent hosting providers sell compute, GPU, storage, network and more, and you buy and manage them through one account and one API.
12
+
13
+ New to it? The step-by-step guide [How to use Pulumi on NodeRings to order a VPS](https://noderings.com/blog/pulumi-vps) walks through a first run.
14
+
15
+ With this provider you can:
16
+
17
+ - order a virtual machine by size and city, billed by the hour, and get its IP address back in the same program
18
+ - keep DNS zones, records, GeoDNS answers and DNSSEC in code
19
+ - put firewalls in front of your servers, matched by address, address group or tag
20
+ - run game servers with their allocations, schedules, backups and databases
21
+ - manage SSH keys, roles, groups and secrets for your organization
22
+
23
+ It is built from the [NodeRings Terraform provider](https://github.com/noderings/terraform-provider-noderings) with the [Pulumi Terraform bridge](https://github.com/pulumi/pulumi-terraform-bridge), so both behave the same.
24
+
25
+ ## Installing
26
+
27
+ | Language | Package | Install |
28
+ |---|---|---|
29
+ | TypeScript / JavaScript | [`@noderings/pulumi`](https://www.npmjs.com/package/@noderings/pulumi) | `npm install @noderings/pulumi` |
30
+ | Python | [`pulumi-noderings`](https://pypi.org/project/pulumi-noderings/) | `pip install pulumi-noderings` |
31
+ | Go | [`github.com/noderings/pulumi-noderings/sdk/go/noderings`](https://pkg.go.dev/github.com/noderings/pulumi-noderings/sdk/go/noderings) | `go get github.com/noderings/pulumi-noderings/sdk/go/noderings` |
32
+ | .NET | [`NodeRings.Pulumi`](https://www.nuget.org/packages/NodeRings.Pulumi) | `dotnet add package NodeRings.Pulumi` |
33
+ | YAML | built in | reference `noderings:VirtualMachine` and the other types directly |
34
+
35
+ Pulumi downloads the provider plugin from this repository's [releases](https://github.com/noderings/pulumi-noderings/releases) the first time a program uses it.
36
+
37
+ ## Configuration
38
+
39
+ Create a service account in the NodeRings console (Organization, then Access Control, then Service accounts), give it a role, and generate a token. Then either export it:
40
+
41
+ ```bash
42
+ export NODERINGS_TOKEN=<your token>
43
+ ```
44
+
45
+ or store it encrypted in your stack:
46
+
47
+ ```bash
48
+ pulumi config set noderings:token --secret
49
+ ```
50
+
51
+ | Option | Environment variable | Description |
52
+ |---|---|---|
53
+ | `noderings:token` | `NODERINGS_TOKEN` | Service account token. Required. |
54
+ | `noderings:organizationId` | `NODERINGS_ORGANIZATION_ID` | Organization to act in. Defaults to the token's organization. |
55
+ | `noderings:endpoint` | `NODERINGS_API_URL` | API base URL. Defaults to the public API. |
56
+ | `noderings:maxRetries` | | Retries for rate-limited and transient failures. Defaults to `25`. |
57
+ | `noderings:requestsPerSecond` | | Client-side limit per API operation. Defaults to `2`. |
58
+ | `noderings:httpTimeout` | | Timeout for one HTTP request. Defaults to `60s`. |
59
+ | `noderings:skipOrganizationCheck` | | Skip the token check at startup. Defaults to `false`. |
60
+
61
+ ## Example
62
+
63
+ Order the cheapest hourly 1 vCPU, 1 GB server in Ashburn and point a DNS name at it.
64
+
65
+ ```typescript
66
+ import * as noderings from "@noderings/pulumi";
67
+
68
+ const offer = noderings.getMarketplaceOfferOutput({
69
+ planCode: "SC-GC-1C-1G-20",
70
+ country: "United States",
71
+ city: "Ashburn",
72
+ billingType: "usage",
73
+ });
74
+
75
+ const key = new noderings.SshKey("laptop", {
76
+ name: "laptop",
77
+ publicKey: "ssh-ed25519 AAAA... you@laptop",
78
+ });
79
+
80
+ const web = new noderings.VirtualMachine("web", {
81
+ hostname: "web-1",
82
+ planId: offer.planId,
83
+ regionId: offer.regionId,
84
+ distro: "ubuntu_24_04",
85
+ sshKeyIds: [key.id],
86
+ });
87
+
88
+ const zone = new noderings.DnsZone("site", { name: "example.com" });
89
+
90
+ new noderings.DnsRecord("www", {
91
+ zoneId: zone.id,
92
+ name: "www",
93
+ type: "A",
94
+ ttl: 300,
95
+ records: [web.ipv4],
96
+ });
97
+
98
+ export const ip = web.ipv4;
99
+ export const nameservers = zone.nameservers;
100
+ ```
101
+
102
+ The same program in Python, Go, C# and YAML is in the [documentation](docs/_index.md). Complete, tested programs are in [`examples/`](examples):
103
+
104
+ | Example | Language | What it does | Cost |
105
+ |---|---|---|---|
106
+ | [`dns-ts`](examples/dns-ts) | TypeScript | Zone with A, MX, TXT, CAA and GeoDNS records, plus DNSSEC | Free |
107
+ | [`dns-go`](examples/dns-go) | Go | Zone with an A and an MX record | Free |
108
+ | [`vm-py`](examples/vm-py) | Python | Hourly VM with a firewall and a DNS record | A few cents an hour |
109
+
110
+ ## Things to know
111
+
112
+ - **Billing.** `billingType: "usage"` servers are charged by the hour from prepaid credit and stop billing when deleted. Monthly servers are charged to your card and are cancelled without a refund when deleted, so set `deletionProtection: true` on them.
113
+ - **Replacements.** Changing `hostname`, `distro` or `sshKeyIds` replaces the server (new IP, empty disk) unless `reinstallOnChange: true`, which reinstalls the same server and keeps its addresses. Changing `planId` or `regionId` always replaces it.
114
+ - **Cheaper offers.** `getMarketplaceOffer` runs on every update. When a cheaper offer appears, `planId` changes and Pulumi plans a replacement. Use `ignoreChanges: ["planId", "regionId"]` or pin `providerId` to stay put.
115
+ - **Firewalls.** Rules are evaluated top to bottom and unmatched traffic is accepted, so end a ruleset with a drop rule.
116
+ - **Import.** Existing resources can be adopted with `pulumi import`, for example `pulumi import noderings:index/dnsRecord:DnsRecord www <zone id>/www/A`.
117
+
118
+ ## Reference
119
+
120
+ - [API documentation](https://www.pulumi.com/registry/packages/noderings/api-docs/) on the Pulumi Registry
121
+ - [Provider overview, installation and configuration](docs/_index.md)
122
+ - [NodeRings documentation](https://docs.noderings.com)
123
+
124
+ ## Development
125
+
126
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for building the provider, regenerating the SDKs, and running the unit and live integration tests.
127
+
128
+ ## Support
129
+
130
+ Report bugs and request features in [GitHub issues](https://github.com/noderings/pulumi-noderings/issues). For questions about your NodeRings account or servers, contact NodeRings support from the console.
131
+
132
+ ## License
133
+
134
+ Apache License 2.0. See [LICENSE](LICENSE) and [COPYRIGHT](COPYRIGHT).
@@ -0,0 +1,287 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ from . import _utilities
7
+ import typing
8
+ # Export this package's modules as members:
9
+ from .dns_geo_record import *
10
+ from .dns_record import *
11
+ from .dns_zone import *
12
+ from .dns_zone_dnssec import *
13
+ from .environment_variable import *
14
+ from .firewall_address_group import *
15
+ from .firewall_ruleset import *
16
+ from .firewall_ruleset_attachment import *
17
+ from .firewall_ruleset_rules import *
18
+ from .game_server import *
19
+ from .game_server_allocation import *
20
+ from .game_server_backup import *
21
+ from .game_server_database import *
22
+ from .game_server_schedule import *
23
+ from .get_credit_balance import *
24
+ from .get_distros import *
25
+ from .get_dns_zone import *
26
+ from .get_entitlements import *
27
+ from .get_firewall_address_group import *
28
+ from .get_firewall_ruleset import *
29
+ from .get_firewall_rulesets import *
30
+ from .get_game_server import *
31
+ from .get_game_server_games import *
32
+ from .get_game_server_resources import *
33
+ from .get_game_server_startup import *
34
+ from .get_game_servers import *
35
+ from .get_instant_app import *
36
+ from .get_instant_apps import *
37
+ from .get_marketplace_addon import *
38
+ from .get_marketplace_offer import *
39
+ from .get_marketplace_offers import *
40
+ from .get_marketplace_plan import *
41
+ from .get_marketplace_plan_codes import *
42
+ from .get_marketplace_provider import *
43
+ from .get_marketplace_providers import *
44
+ from .get_marketplace_regions import *
45
+ from .get_organization import *
46
+ from .get_permission import *
47
+ from .get_permissions import *
48
+ from .get_role import *
49
+ from .get_roles import *
50
+ from .get_ssh_key import *
51
+ from .get_storefront import *
52
+ from .get_subscription import *
53
+ from .get_users import *
54
+ from .get_virtual_machine import *
55
+ from .get_virtual_machine_backups import *
56
+ from .get_virtual_machine_snapshots import *
57
+ from .get_virtual_machine_tags import *
58
+ from .get_virtual_machines import *
59
+ from .group import *
60
+ from .group_membership import *
61
+ from .provider import *
62
+ from .role import *
63
+ from .role_assignment import *
64
+ from .secret import *
65
+ from .ssh_key import *
66
+ from .virtual_machine import *
67
+ from .virtual_machine_additional_ip import *
68
+ from .virtual_machine_backup import *
69
+ from .virtual_machine_snapshot import *
70
+ from ._inputs import *
71
+ from . import outputs
72
+
73
+ # Make subpackages available:
74
+ if typing.TYPE_CHECKING:
75
+ import pulumi_noderings.config as __config
76
+ config = __config
77
+ else:
78
+ config = _utilities.lazy_import('pulumi_noderings.config')
79
+
80
+ _utilities.register(
81
+ resource_modules="""
82
+ [
83
+ {
84
+ "pkg": "noderings",
85
+ "mod": "index/dnsGeoRecord",
86
+ "fqn": "pulumi_noderings",
87
+ "classes": {
88
+ "noderings:index/dnsGeoRecord:DnsGeoRecord": "DnsGeoRecord"
89
+ }
90
+ },
91
+ {
92
+ "pkg": "noderings",
93
+ "mod": "index/dnsRecord",
94
+ "fqn": "pulumi_noderings",
95
+ "classes": {
96
+ "noderings:index/dnsRecord:DnsRecord": "DnsRecord"
97
+ }
98
+ },
99
+ {
100
+ "pkg": "noderings",
101
+ "mod": "index/dnsZone",
102
+ "fqn": "pulumi_noderings",
103
+ "classes": {
104
+ "noderings:index/dnsZone:DnsZone": "DnsZone"
105
+ }
106
+ },
107
+ {
108
+ "pkg": "noderings",
109
+ "mod": "index/dnsZoneDnssec",
110
+ "fqn": "pulumi_noderings",
111
+ "classes": {
112
+ "noderings:index/dnsZoneDnssec:DnsZoneDnssec": "DnsZoneDnssec"
113
+ }
114
+ },
115
+ {
116
+ "pkg": "noderings",
117
+ "mod": "index/environmentVariable",
118
+ "fqn": "pulumi_noderings",
119
+ "classes": {
120
+ "noderings:index/environmentVariable:EnvironmentVariable": "EnvironmentVariable"
121
+ }
122
+ },
123
+ {
124
+ "pkg": "noderings",
125
+ "mod": "index/firewallAddressGroup",
126
+ "fqn": "pulumi_noderings",
127
+ "classes": {
128
+ "noderings:index/firewallAddressGroup:FirewallAddressGroup": "FirewallAddressGroup"
129
+ }
130
+ },
131
+ {
132
+ "pkg": "noderings",
133
+ "mod": "index/firewallRuleset",
134
+ "fqn": "pulumi_noderings",
135
+ "classes": {
136
+ "noderings:index/firewallRuleset:FirewallRuleset": "FirewallRuleset"
137
+ }
138
+ },
139
+ {
140
+ "pkg": "noderings",
141
+ "mod": "index/firewallRulesetAttachment",
142
+ "fqn": "pulumi_noderings",
143
+ "classes": {
144
+ "noderings:index/firewallRulesetAttachment:FirewallRulesetAttachment": "FirewallRulesetAttachment"
145
+ }
146
+ },
147
+ {
148
+ "pkg": "noderings",
149
+ "mod": "index/firewallRulesetRules",
150
+ "fqn": "pulumi_noderings",
151
+ "classes": {
152
+ "noderings:index/firewallRulesetRules:FirewallRulesetRules": "FirewallRulesetRules"
153
+ }
154
+ },
155
+ {
156
+ "pkg": "noderings",
157
+ "mod": "index/gameServer",
158
+ "fqn": "pulumi_noderings",
159
+ "classes": {
160
+ "noderings:index/gameServer:GameServer": "GameServer"
161
+ }
162
+ },
163
+ {
164
+ "pkg": "noderings",
165
+ "mod": "index/gameServerAllocation",
166
+ "fqn": "pulumi_noderings",
167
+ "classes": {
168
+ "noderings:index/gameServerAllocation:GameServerAllocation": "GameServerAllocation"
169
+ }
170
+ },
171
+ {
172
+ "pkg": "noderings",
173
+ "mod": "index/gameServerBackup",
174
+ "fqn": "pulumi_noderings",
175
+ "classes": {
176
+ "noderings:index/gameServerBackup:GameServerBackup": "GameServerBackup"
177
+ }
178
+ },
179
+ {
180
+ "pkg": "noderings",
181
+ "mod": "index/gameServerDatabase",
182
+ "fqn": "pulumi_noderings",
183
+ "classes": {
184
+ "noderings:index/gameServerDatabase:GameServerDatabase": "GameServerDatabase"
185
+ }
186
+ },
187
+ {
188
+ "pkg": "noderings",
189
+ "mod": "index/gameServerSchedule",
190
+ "fqn": "pulumi_noderings",
191
+ "classes": {
192
+ "noderings:index/gameServerSchedule:GameServerSchedule": "GameServerSchedule"
193
+ }
194
+ },
195
+ {
196
+ "pkg": "noderings",
197
+ "mod": "index/group",
198
+ "fqn": "pulumi_noderings",
199
+ "classes": {
200
+ "noderings:index/group:Group": "Group"
201
+ }
202
+ },
203
+ {
204
+ "pkg": "noderings",
205
+ "mod": "index/groupMembership",
206
+ "fqn": "pulumi_noderings",
207
+ "classes": {
208
+ "noderings:index/groupMembership:GroupMembership": "GroupMembership"
209
+ }
210
+ },
211
+ {
212
+ "pkg": "noderings",
213
+ "mod": "index/role",
214
+ "fqn": "pulumi_noderings",
215
+ "classes": {
216
+ "noderings:index/role:Role": "Role"
217
+ }
218
+ },
219
+ {
220
+ "pkg": "noderings",
221
+ "mod": "index/roleAssignment",
222
+ "fqn": "pulumi_noderings",
223
+ "classes": {
224
+ "noderings:index/roleAssignment:RoleAssignment": "RoleAssignment"
225
+ }
226
+ },
227
+ {
228
+ "pkg": "noderings",
229
+ "mod": "index/secret",
230
+ "fqn": "pulumi_noderings",
231
+ "classes": {
232
+ "noderings:index/secret:Secret": "Secret"
233
+ }
234
+ },
235
+ {
236
+ "pkg": "noderings",
237
+ "mod": "index/sshKey",
238
+ "fqn": "pulumi_noderings",
239
+ "classes": {
240
+ "noderings:index/sshKey:SshKey": "SshKey"
241
+ }
242
+ },
243
+ {
244
+ "pkg": "noderings",
245
+ "mod": "index/virtualMachine",
246
+ "fqn": "pulumi_noderings",
247
+ "classes": {
248
+ "noderings:index/virtualMachine:VirtualMachine": "VirtualMachine"
249
+ }
250
+ },
251
+ {
252
+ "pkg": "noderings",
253
+ "mod": "index/virtualMachineAdditionalIp",
254
+ "fqn": "pulumi_noderings",
255
+ "classes": {
256
+ "noderings:index/virtualMachineAdditionalIp:VirtualMachineAdditionalIp": "VirtualMachineAdditionalIp"
257
+ }
258
+ },
259
+ {
260
+ "pkg": "noderings",
261
+ "mod": "index/virtualMachineBackup",
262
+ "fqn": "pulumi_noderings",
263
+ "classes": {
264
+ "noderings:index/virtualMachineBackup:VirtualMachineBackup": "VirtualMachineBackup"
265
+ }
266
+ },
267
+ {
268
+ "pkg": "noderings",
269
+ "mod": "index/virtualMachineSnapshot",
270
+ "fqn": "pulumi_noderings",
271
+ "classes": {
272
+ "noderings:index/virtualMachineSnapshot:VirtualMachineSnapshot": "VirtualMachineSnapshot"
273
+ }
274
+ }
275
+ ]
276
+ """,
277
+ resource_packages="""
278
+ [
279
+ {
280
+ "pkg": "noderings",
281
+ "token": "pulumi:providers:noderings",
282
+ "fqn": "pulumi_noderings",
283
+ "class": "Provider"
284
+ }
285
+ ]
286
+ """
287
+ )