From 95fe4e2900e3045219dcb926391fc512ee5235d1 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Thu, 21 Mar 2024 13:22:14 +0000 Subject: [PATCH 1/2] make tfgen --- examples/go.mod | 4 +-- examples/go.sum | 8 ++--- .../cmd/pulumi-resource-openstack/schema.json | 32 +++++++++---------- provider/go.mod | 8 ++--- provider/go.sum | 16 +++++----- sdk/go.mod | 2 +- sdk/go.sum | 4 +-- 7 files changed, 37 insertions(+), 37 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index 8cef7587..d4b4368a 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -3,7 +3,7 @@ module github.com/pulumi/pulumi-openstack/examples/v2 go 1.21 require ( - github.com/pulumi/pulumi/pkg/v3 v3.108.1 + github.com/pulumi/pulumi/pkg/v3 v3.111.1 github.com/stretchr/testify v1.8.4 ) @@ -138,7 +138,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.6.2 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.108.1 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.111.1 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index d38fd044..310c9b9d 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -1467,10 +1467,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/pkg/v3 v3.108.1 h1:K1UK40v5IpEPIaJ2un3WNOTBbLQaKR26HbLLh5EmMHY= -github.com/pulumi/pulumi/pkg/v3 v3.108.1/go.mod h1:48uCfxkPXUq/XTBqei9VuR0CRWObnSVlqcLkD6DhII8= -github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= -github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= +github.com/pulumi/pulumi/pkg/v3 v3.111.1 h1:SrVgQE96T7YlZx/AZoFSlXYwur7ZmQUHyjbPI8sH96Q= +github.com/pulumi/pulumi/pkg/v3 v3.111.1/go.mod h1:ZWsq8Y0EMHZ5E2ju92jC+POz97TEXs3BbQ6r2o0U4SA= +github.com/pulumi/pulumi/sdk/v3 v3.111.1 h1:uOeG/b6YxBuL59xHtmFPspMa8BB6ovjHelL7sVCGJZw= +github.com/pulumi/pulumi/sdk/v3 v3.111.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= diff --git a/provider/cmd/pulumi-resource-openstack/schema.json b/provider/cmd/pulumi-resource-openstack/schema.json index 49af7639..743353cb 100644 --- a/provider/cmd/pulumi-resource-openstack/schema.json +++ b/provider/cmd/pulumi-resource-openstack/schema.json @@ -497,7 +497,7 @@ }, "floatingIp": { "type": "string", - "deprecationMessage": "Use the openstack_compute_floatingip_associate_v2 resource instead" + "deprecationMessage": "Use the openstack.compute.FloatingIpAssociate resource instead" }, "mac": { "type": "string" @@ -4656,7 +4656,7 @@ }, "floatingIp": { "type": "string", - "deprecationMessage": "Use the openstack_compute_floatingip_associate_v2 resource instead" + "deprecationMessage": "Use the openstack.compute.FloatingIpAssociate resource instead" }, "forceDelete": { "type": "boolean", @@ -4753,7 +4753,7 @@ "items": { "$ref": "#/types/openstack:compute/InstanceVolume:InstanceVolume" }, - "deprecationMessage": "Use block_device or openstack_compute_volume_attach_v2 instead" + "deprecationMessage": "Use block_device or openstack.compute.VolumeAttach instead" } }, "required": [ @@ -4819,7 +4819,7 @@ }, "floatingIp": { "type": "string", - "deprecationMessage": "Use the openstack_compute_floatingip_associate_v2 resource instead" + "deprecationMessage": "Use the openstack.compute.FloatingIpAssociate resource instead" }, "forceDelete": { "type": "boolean", @@ -4917,7 +4917,7 @@ "items": { "$ref": "#/types/openstack:compute/InstanceVolume:InstanceVolume" }, - "deprecationMessage": "Use block_device or openstack_compute_volume_attach_v2 instead" + "deprecationMessage": "Use block_device or openstack.compute.VolumeAttach instead" } }, "stateInputs": { @@ -4985,7 +4985,7 @@ }, "floatingIp": { "type": "string", - "deprecationMessage": "Use the openstack_compute_floatingip_associate_v2 resource instead" + "deprecationMessage": "Use the openstack.compute.FloatingIpAssociate resource instead" }, "forceDelete": { "type": "boolean", @@ -5087,7 +5087,7 @@ "items": { "$ref": "#/types/openstack:compute/InstanceVolume:InstanceVolume" }, - "deprecationMessage": "Use block_device or openstack_compute_volume_attach_v2 instead" + "deprecationMessage": "Use block_device or openstack.compute.VolumeAttach instead" } }, "type": "object" @@ -10546,7 +10546,7 @@ } }, "openstack:images/imageAccessAccept:ImageAccessAccept": { - "description": "Manages memberships status for the shared OpenStack Glance V2 Image within the\ndestination project, which has a member proposal.\n\n## Example Usage\n\nAccept a shared image membershipship proposal within the current project.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst rancheros = openstack.images.getImage({\n name: \"RancherOS\",\n visibility: \"shared\",\n memberStatus: \"all\",\n});\nconst rancherosMember = new openstack.images.ImageAccessAccept(\"rancherosMember\", {\n imageId: rancheros.then(rancheros =\u003e rancheros.id),\n status: \"accepted\",\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\nrancheros = openstack.images.get_image(name=\"RancherOS\",\n visibility=\"shared\",\n member_status=\"all\")\nrancheros_member = openstack.images.ImageAccessAccept(\"rancherosMember\",\n image_id=rancheros.id,\n status=\"accepted\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var rancheros = OpenStack.Images.GetImage.Invoke(new()\n {\n Name = \"RancherOS\",\n Visibility = \"shared\",\n MemberStatus = \"all\",\n });\n\n var rancherosMember = new OpenStack.Images.ImageAccessAccept(\"rancherosMember\", new()\n {\n ImageId = rancheros.Apply(getImageResult =\u003e getImageResult.Id),\n Status = \"accepted\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/images\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\trancheros, err := images.LookupImage(ctx, \u0026images.LookupImageArgs{\n\t\t\tName: pulumi.StringRef(\"RancherOS\"),\n\t\t\tVisibility: pulumi.StringRef(\"shared\"),\n\t\t\tMemberStatus: pulumi.StringRef(\"all\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = images.NewImageAccessAccept(ctx, \"rancherosMember\", \u0026images.ImageAccessAcceptArgs{\n\t\t\tImageId: *pulumi.String(rancheros.Id),\n\t\t\tStatus: pulumi.String(\"accepted\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.images.ImagesFunctions;\nimport com.pulumi.openstack.images.inputs.GetImageArgs;\nimport com.pulumi.openstack.images.ImageAccessAccept;\nimport com.pulumi.openstack.images.ImageAccessAcceptArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var rancheros = ImagesFunctions.getImage(GetImageArgs.builder()\n .name(\"RancherOS\")\n .visibility(\"shared\")\n .memberStatus(\"all\")\n .build());\n\n var rancherosMember = new ImageAccessAccept(\"rancherosMember\", ImageAccessAcceptArgs.builder() \n .imageId(rancheros.applyValue(getImageResult -\u003e getImageResult.id()))\n .status(\"accepted\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n rancherosMember:\n type: openstack:images:ImageAccessAccept\n properties:\n imageId: ${rancheros.id}\n status: accepted\nvariables:\n rancheros:\n fn::invoke:\n Function: openstack:images:getImage\n Arguments:\n name: RancherOS\n visibility: shared\n memberStatus: all\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImage access acceptance status can be imported using the `image_id`, e.g.\n\n```sh\n$ pulumi import openstack:images/imageAccessAccept:ImageAccessAccept openstack_images_image_access_accept_v2 89c60255-9bd6-460c-822a-e2b959ede9d2\n```\n\n", + "description": "Manages memberships status for the shared OpenStack Glance V2 Image within the\ndestination project, which has a member proposal.\n\n## Example Usage\n\nAccept a shared image membershipship proposal within the current project.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst rancheros = openstack.images.getImage({\n name: \"RancherOS\",\n visibility: \"shared\",\n memberStatus: \"all\",\n});\nconst rancherosMember = new openstack.images.ImageAccessAccept(\"rancherosMember\", {\n imageId: rancheros.then(rancheros =\u003e rancheros.id),\n status: \"accepted\",\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\nrancheros = openstack.images.get_image(name=\"RancherOS\",\n visibility=\"shared\",\n member_status=\"all\")\nrancheros_member = openstack.images.ImageAccessAccept(\"rancherosMember\",\n image_id=rancheros.id,\n status=\"accepted\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var rancheros = OpenStack.Images.GetImage.Invoke(new()\n {\n Name = \"RancherOS\",\n Visibility = \"shared\",\n MemberStatus = \"all\",\n });\n\n var rancherosMember = new OpenStack.Images.ImageAccessAccept(\"rancherosMember\", new()\n {\n ImageId = rancheros.Apply(getImageResult =\u003e getImageResult.Id),\n Status = \"accepted\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/images\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\trancheros, err := images.LookupImage(ctx, \u0026images.LookupImageArgs{\n\t\t\tName: pulumi.StringRef(\"RancherOS\"),\n\t\t\tVisibility: pulumi.StringRef(\"shared\"),\n\t\t\tMemberStatus: pulumi.StringRef(\"all\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = images.NewImageAccessAccept(ctx, \"rancherosMember\", \u0026images.ImageAccessAcceptArgs{\n\t\t\tImageId: pulumi.String(rancheros.Id),\n\t\t\tStatus: pulumi.String(\"accepted\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.images.ImagesFunctions;\nimport com.pulumi.openstack.images.inputs.GetImageArgs;\nimport com.pulumi.openstack.images.ImageAccessAccept;\nimport com.pulumi.openstack.images.ImageAccessAcceptArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var rancheros = ImagesFunctions.getImage(GetImageArgs.builder()\n .name(\"RancherOS\")\n .visibility(\"shared\")\n .memberStatus(\"all\")\n .build());\n\n var rancherosMember = new ImageAccessAccept(\"rancherosMember\", ImageAccessAcceptArgs.builder() \n .imageId(rancheros.applyValue(getImageResult -\u003e getImageResult.id()))\n .status(\"accepted\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n rancherosMember:\n type: openstack:images:ImageAccessAccept\n properties:\n imageId: ${rancheros.id}\n status: accepted\nvariables:\n rancheros:\n fn::invoke:\n Function: openstack:images:getImage\n Arguments:\n name: RancherOS\n visibility: shared\n memberStatus: all\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImage access acceptance status can be imported using the `image_id`, e.g.\n\n```sh\n$ pulumi import openstack:images/imageAccessAccept:ImageAccessAccept openstack_images_image_access_accept_v2 89c60255-9bd6-460c-822a-e2b959ede9d2\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -10650,7 +10650,7 @@ } }, "openstack:keymanager/containerV1:ContainerV1": { - "description": "Manages a V1 Barbican container resource within OpenStack.\n\n## Example Usage\n\n### Simple secret\n\nThe container with the TLS certificates, which can be used by the loadbalancer HTTPS listener.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst certificate1 = new openstack.keymanager.SecretV1(\"certificate1\", {\n payload: fs.readFileSync(\"cert.pem\", \"utf8\"),\n secretType: \"certificate\",\n payloadContentType: \"text/plain\",\n});\nconst privateKey1 = new openstack.keymanager.SecretV1(\"privateKey1\", {\n payload: fs.readFileSync(\"cert-key.pem\", \"utf8\"),\n secretType: \"private\",\n payloadContentType: \"text/plain\",\n});\nconst intermediate1 = new openstack.keymanager.SecretV1(\"intermediate1\", {\n payload: fs.readFileSync(\"intermediate-ca.pem\", \"utf8\"),\n secretType: \"certificate\",\n payloadContentType: \"text/plain\",\n});\nconst tls1 = new openstack.keymanager.ContainerV1(\"tls1\", {\n type: \"certificate\",\n secretRefs: [\n {\n name: \"certificate\",\n secretRef: certificate1.secretRef,\n },\n {\n name: \"private_key\",\n secretRef: privateKey1.secretRef,\n },\n {\n name: \"intermediates\",\n secretRef: intermediate1.secretRef,\n },\n ],\n});\nconst subnet1 = openstack.networking.getSubnet({\n name: \"my-subnet\",\n});\nconst lb1 = new openstack.loadbalancer.LoadBalancer(\"lb1\", {vipSubnetId: subnet1.then(subnet1 =\u003e subnet1.id)});\nconst listener1 = new openstack.loadbalancer.Listener(\"listener1\", {\n protocol: \"TERMINATED_HTTPS\",\n protocolPort: 443,\n loadbalancerId: lb1.id,\n defaultTlsContainerRef: tls1.containerRef,\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\ncertificate1 = openstack.keymanager.SecretV1(\"certificate1\",\n payload=(lambda path: open(path).read())(\"cert.pem\"),\n secret_type=\"certificate\",\n payload_content_type=\"text/plain\")\nprivate_key1 = openstack.keymanager.SecretV1(\"privateKey1\",\n payload=(lambda path: open(path).read())(\"cert-key.pem\"),\n secret_type=\"private\",\n payload_content_type=\"text/plain\")\nintermediate1 = openstack.keymanager.SecretV1(\"intermediate1\",\n payload=(lambda path: open(path).read())(\"intermediate-ca.pem\"),\n secret_type=\"certificate\",\n payload_content_type=\"text/plain\")\ntls1 = openstack.keymanager.ContainerV1(\"tls1\",\n type=\"certificate\",\n secret_refs=[\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"certificate\",\n secret_ref=certificate1.secret_ref,\n ),\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"private_key\",\n secret_ref=private_key1.secret_ref,\n ),\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"intermediates\",\n secret_ref=intermediate1.secret_ref,\n ),\n ])\nsubnet1 = openstack.networking.get_subnet(name=\"my-subnet\")\nlb1 = openstack.loadbalancer.LoadBalancer(\"lb1\", vip_subnet_id=subnet1.id)\nlistener1 = openstack.loadbalancer.Listener(\"listener1\",\n protocol=\"TERMINATED_HTTPS\",\n protocol_port=443,\n loadbalancer_id=lb1.id,\n default_tls_container_ref=tls1.container_ref)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var certificate1 = new OpenStack.KeyManager.SecretV1(\"certificate1\", new()\n {\n Payload = File.ReadAllText(\"cert.pem\"),\n SecretType = \"certificate\",\n PayloadContentType = \"text/plain\",\n });\n\n var privateKey1 = new OpenStack.KeyManager.SecretV1(\"privateKey1\", new()\n {\n Payload = File.ReadAllText(\"cert-key.pem\"),\n SecretType = \"private\",\n PayloadContentType = \"text/plain\",\n });\n\n var intermediate1 = new OpenStack.KeyManager.SecretV1(\"intermediate1\", new()\n {\n Payload = File.ReadAllText(\"intermediate-ca.pem\"),\n SecretType = \"certificate\",\n PayloadContentType = \"text/plain\",\n });\n\n var tls1 = new OpenStack.KeyManager.ContainerV1(\"tls1\", new()\n {\n Type = \"certificate\",\n SecretRefs = new[]\n {\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"certificate\",\n SecretRef = certificate1.SecretRef,\n },\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"private_key\",\n SecretRef = privateKey1.SecretRef,\n },\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"intermediates\",\n SecretRef = intermediate1.SecretRef,\n },\n },\n });\n\n var subnet1 = OpenStack.Networking.GetSubnet.Invoke(new()\n {\n Name = \"my-subnet\",\n });\n\n var lb1 = new OpenStack.LoadBalancer.LoadBalancer(\"lb1\", new()\n {\n VipSubnetId = subnet1.Apply(getSubnetResult =\u003e getSubnetResult.Id),\n });\n\n var listener1 = new OpenStack.LoadBalancer.Listener(\"listener1\", new()\n {\n Protocol = \"TERMINATED_HTTPS\",\n ProtocolPort = 443,\n LoadbalancerId = lb1.Id,\n DefaultTlsContainerRef = tls1.ContainerRef,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager\"\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/loadbalancer\"\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcertificate1, err := keymanager.NewSecretV1(ctx, \"certificate1\", \u0026keymanager.SecretV1Args{\n\t\t\tPayload: readFileOrPanic(\"cert.pem\"),\n\t\t\tSecretType: pulumi.String(\"certificate\"),\n\t\t\tPayloadContentType: pulumi.String(\"text/plain\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tprivateKey1, err := keymanager.NewSecretV1(ctx, \"privateKey1\", \u0026keymanager.SecretV1Args{\n\t\t\tPayload: readFileOrPanic(\"cert-key.pem\"),\n\t\t\tSecretType: pulumi.String(\"private\"),\n\t\t\tPayloadContentType: pulumi.String(\"text/plain\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tintermediate1, err := keymanager.NewSecretV1(ctx, \"intermediate1\", \u0026keymanager.SecretV1Args{\n\t\t\tPayload: readFileOrPanic(\"intermediate-ca.pem\"),\n\t\t\tSecretType: pulumi.String(\"certificate\"),\n\t\t\tPayloadContentType: pulumi.String(\"text/plain\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttls1, err := keymanager.NewContainerV1(ctx, \"tls1\", \u0026keymanager.ContainerV1Args{\n\t\t\tType: pulumi.String(\"certificate\"),\n\t\t\tSecretRefs: keymanager.ContainerV1SecretRefArray{\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"certificate\"),\n\t\t\t\t\tSecretRef: certificate1.SecretRef,\n\t\t\t\t},\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"private_key\"),\n\t\t\t\t\tSecretRef: privateKey1.SecretRef,\n\t\t\t\t},\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"intermediates\"),\n\t\t\t\t\tSecretRef: intermediate1.SecretRef,\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubnet1, err := networking.LookupSubnet(ctx, \u0026networking.LookupSubnetArgs{\n\t\t\tName: pulumi.StringRef(\"my-subnet\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlb1, err := loadbalancer.NewLoadBalancer(ctx, \"lb1\", \u0026loadbalancer.LoadBalancerArgs{\n\t\t\tVipSubnetId: *pulumi.String(subnet1.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = loadbalancer.NewListener(ctx, \"listener1\", \u0026loadbalancer.ListenerArgs{\n\t\t\tProtocol: pulumi.String(\"TERMINATED_HTTPS\"),\n\t\t\tProtocolPort: pulumi.Int(443),\n\t\t\tLoadbalancerId: lb1.ID(),\n\t\t\tDefaultTlsContainerRef: tls1.ContainerRef,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.keymanager.SecretV1;\nimport com.pulumi.openstack.keymanager.SecretV1Args;\nimport com.pulumi.openstack.keymanager.ContainerV1;\nimport com.pulumi.openstack.keymanager.ContainerV1Args;\nimport com.pulumi.openstack.keymanager.inputs.ContainerV1SecretRefArgs;\nimport com.pulumi.openstack.networking.NetworkingFunctions;\nimport com.pulumi.openstack.networking.inputs.GetSubnetArgs;\nimport com.pulumi.openstack.loadbalancer.LoadBalancer;\nimport com.pulumi.openstack.loadbalancer.LoadBalancerArgs;\nimport com.pulumi.openstack.loadbalancer.Listener;\nimport com.pulumi.openstack.loadbalancer.ListenerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var certificate1 = new SecretV1(\"certificate1\", SecretV1Args.builder() \n .payload(Files.readString(Paths.get(\"cert.pem\")))\n .secretType(\"certificate\")\n .payloadContentType(\"text/plain\")\n .build());\n\n var privateKey1 = new SecretV1(\"privateKey1\", SecretV1Args.builder() \n .payload(Files.readString(Paths.get(\"cert-key.pem\")))\n .secretType(\"private\")\n .payloadContentType(\"text/plain\")\n .build());\n\n var intermediate1 = new SecretV1(\"intermediate1\", SecretV1Args.builder() \n .payload(Files.readString(Paths.get(\"intermediate-ca.pem\")))\n .secretType(\"certificate\")\n .payloadContentType(\"text/plain\")\n .build());\n\n var tls1 = new ContainerV1(\"tls1\", ContainerV1Args.builder() \n .type(\"certificate\")\n .secretRefs( \n ContainerV1SecretRefArgs.builder()\n .name(\"certificate\")\n .secretRef(certificate1.secretRef())\n .build(),\n ContainerV1SecretRefArgs.builder()\n .name(\"private_key\")\n .secretRef(privateKey1.secretRef())\n .build(),\n ContainerV1SecretRefArgs.builder()\n .name(\"intermediates\")\n .secretRef(intermediate1.secretRef())\n .build())\n .build());\n\n final var subnet1 = NetworkingFunctions.getSubnet(GetSubnetArgs.builder()\n .name(\"my-subnet\")\n .build());\n\n var lb1 = new LoadBalancer(\"lb1\", LoadBalancerArgs.builder() \n .vipSubnetId(subnet1.applyValue(getSubnetResult -\u003e getSubnetResult.id()))\n .build());\n\n var listener1 = new Listener(\"listener1\", ListenerArgs.builder() \n .protocol(\"TERMINATED_HTTPS\")\n .protocolPort(443)\n .loadbalancerId(lb1.id())\n .defaultTlsContainerRef(tls1.containerRef())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n certificate1:\n type: openstack:keymanager:SecretV1\n properties:\n payload:\n fn::readFile: cert.pem\n secretType: certificate\n payloadContentType: text/plain\n privateKey1:\n type: openstack:keymanager:SecretV1\n properties:\n payload:\n fn::readFile: cert-key.pem\n secretType: private\n payloadContentType: text/plain\n intermediate1:\n type: openstack:keymanager:SecretV1\n properties:\n payload:\n fn::readFile: intermediate-ca.pem\n secretType: certificate\n payloadContentType: text/plain\n tls1:\n type: openstack:keymanager:ContainerV1\n properties:\n type: certificate\n secretRefs:\n - name: certificate\n secretRef: ${certificate1.secretRef}\n - name: private_key\n secretRef: ${privateKey1.secretRef}\n - name: intermediates\n secretRef: ${intermediate1.secretRef}\n lb1:\n type: openstack:loadbalancer:LoadBalancer\n properties:\n vipSubnetId: ${subnet1.id}\n listener1:\n type: openstack:loadbalancer:Listener\n properties:\n protocol: TERMINATED_HTTPS\n protocolPort: 443\n loadbalancerId: ${lb1.id}\n defaultTlsContainerRef: ${tls1.containerRef}\nvariables:\n subnet1:\n fn::invoke:\n Function: openstack:networking:getSubnet\n Arguments:\n name: my-subnet\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Container with the ACL\n\n\u003e **Note** Only read ACLs are supported\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst tls1 = new openstack.keymanager.ContainerV1(\"tls1\", {\n type: \"certificate\",\n secretRefs: [\n {\n name: \"certificate\",\n secretRef: openstack_keymanager_secret_v1.certificate_1.secret_ref,\n },\n {\n name: \"private_key\",\n secretRef: openstack_keymanager_secret_v1.private_key_1.secret_ref,\n },\n {\n name: \"intermediates\",\n secretRef: openstack_keymanager_secret_v1.intermediate_1.secret_ref,\n },\n ],\n acl: {\n read: {\n projectAccess: false,\n users: [\n \"userid1\",\n \"userid2\",\n ],\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\ntls1 = openstack.keymanager.ContainerV1(\"tls1\",\n type=\"certificate\",\n secret_refs=[\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"certificate\",\n secret_ref=openstack_keymanager_secret_v1[\"certificate_1\"][\"secret_ref\"],\n ),\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"private_key\",\n secret_ref=openstack_keymanager_secret_v1[\"private_key_1\"][\"secret_ref\"],\n ),\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"intermediates\",\n secret_ref=openstack_keymanager_secret_v1[\"intermediate_1\"][\"secret_ref\"],\n ),\n ],\n acl=openstack.keymanager.ContainerV1AclArgs(\n read=openstack.keymanager.ContainerV1AclReadArgs(\n project_access=False,\n users=[\n \"userid1\",\n \"userid2\",\n ],\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var tls1 = new OpenStack.KeyManager.ContainerV1(\"tls1\", new()\n {\n Type = \"certificate\",\n SecretRefs = new[]\n {\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"certificate\",\n SecretRef = openstack_keymanager_secret_v1.Certificate_1.Secret_ref,\n },\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"private_key\",\n SecretRef = openstack_keymanager_secret_v1.Private_key_1.Secret_ref,\n },\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"intermediates\",\n SecretRef = openstack_keymanager_secret_v1.Intermediate_1.Secret_ref,\n },\n },\n Acl = new OpenStack.KeyManager.Inputs.ContainerV1AclArgs\n {\n Read = new OpenStack.KeyManager.Inputs.ContainerV1AclReadArgs\n {\n ProjectAccess = false,\n Users = new[]\n {\n \"userid1\",\n \"userid2\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := keymanager.NewContainerV1(ctx, \"tls1\", \u0026keymanager.ContainerV1Args{\n\t\t\tType: pulumi.String(\"certificate\"),\n\t\t\tSecretRefs: keymanager.ContainerV1SecretRefArray{\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"certificate\"),\n\t\t\t\t\tSecretRef: pulumi.Any(openstack_keymanager_secret_v1.Certificate_1.Secret_ref),\n\t\t\t\t},\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"private_key\"),\n\t\t\t\t\tSecretRef: pulumi.Any(openstack_keymanager_secret_v1.Private_key_1.Secret_ref),\n\t\t\t\t},\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"intermediates\"),\n\t\t\t\t\tSecretRef: pulumi.Any(openstack_keymanager_secret_v1.Intermediate_1.Secret_ref),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAcl: \u0026keymanager.ContainerV1AclArgs{\n\t\t\t\tRead: \u0026keymanager.ContainerV1AclReadArgs{\n\t\t\t\t\tProjectAccess: pulumi.Bool(false),\n\t\t\t\t\tUsers: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"userid1\"),\n\t\t\t\t\t\tpulumi.String(\"userid2\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.keymanager.ContainerV1;\nimport com.pulumi.openstack.keymanager.ContainerV1Args;\nimport com.pulumi.openstack.keymanager.inputs.ContainerV1SecretRefArgs;\nimport com.pulumi.openstack.keymanager.inputs.ContainerV1AclArgs;\nimport com.pulumi.openstack.keymanager.inputs.ContainerV1AclReadArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var tls1 = new ContainerV1(\"tls1\", ContainerV1Args.builder() \n .type(\"certificate\")\n .secretRefs( \n ContainerV1SecretRefArgs.builder()\n .name(\"certificate\")\n .secretRef(openstack_keymanager_secret_v1.certificate_1().secret_ref())\n .build(),\n ContainerV1SecretRefArgs.builder()\n .name(\"private_key\")\n .secretRef(openstack_keymanager_secret_v1.private_key_1().secret_ref())\n .build(),\n ContainerV1SecretRefArgs.builder()\n .name(\"intermediates\")\n .secretRef(openstack_keymanager_secret_v1.intermediate_1().secret_ref())\n .build())\n .acl(ContainerV1AclArgs.builder()\n .read(ContainerV1AclReadArgs.builder()\n .projectAccess(false)\n .users( \n \"userid1\",\n \"userid2\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n tls1:\n type: openstack:keymanager:ContainerV1\n properties:\n type: certificate\n secretRefs:\n - name: certificate\n secretRef: ${openstack_keymanager_secret_v1.certificate_1.secret_ref}\n - name: private_key\n secretRef: ${openstack_keymanager_secret_v1.private_key_1.secret_ref}\n - name: intermediates\n secretRef: ${openstack_keymanager_secret_v1.intermediate_1.secret_ref}\n acl:\n read:\n projectAccess: false\n users:\n - userid1\n - userid2\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nContainers can be imported using the container id (the last part of the container reference), e.g.:\n\n```sh\n$ pulumi import openstack:keymanager/containerV1:ContainerV1 container_1 0c6cd26a-c012-4d7b-8034-057c0f1c2953\n```\n", + "description": "Manages a V1 Barbican container resource within OpenStack.\n\n## Example Usage\n\n### Simple secret\n\nThe container with the TLS certificates, which can be used by the loadbalancer HTTPS listener.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst certificate1 = new openstack.keymanager.SecretV1(\"certificate1\", {\n payload: fs.readFileSync(\"cert.pem\", \"utf8\"),\n secretType: \"certificate\",\n payloadContentType: \"text/plain\",\n});\nconst privateKey1 = new openstack.keymanager.SecretV1(\"privateKey1\", {\n payload: fs.readFileSync(\"cert-key.pem\", \"utf8\"),\n secretType: \"private\",\n payloadContentType: \"text/plain\",\n});\nconst intermediate1 = new openstack.keymanager.SecretV1(\"intermediate1\", {\n payload: fs.readFileSync(\"intermediate-ca.pem\", \"utf8\"),\n secretType: \"certificate\",\n payloadContentType: \"text/plain\",\n});\nconst tls1 = new openstack.keymanager.ContainerV1(\"tls1\", {\n type: \"certificate\",\n secretRefs: [\n {\n name: \"certificate\",\n secretRef: certificate1.secretRef,\n },\n {\n name: \"private_key\",\n secretRef: privateKey1.secretRef,\n },\n {\n name: \"intermediates\",\n secretRef: intermediate1.secretRef,\n },\n ],\n});\nconst subnet1 = openstack.networking.getSubnet({\n name: \"my-subnet\",\n});\nconst lb1 = new openstack.loadbalancer.LoadBalancer(\"lb1\", {vipSubnetId: subnet1.then(subnet1 =\u003e subnet1.id)});\nconst listener1 = new openstack.loadbalancer.Listener(\"listener1\", {\n protocol: \"TERMINATED_HTTPS\",\n protocolPort: 443,\n loadbalancerId: lb1.id,\n defaultTlsContainerRef: tls1.containerRef,\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\ncertificate1 = openstack.keymanager.SecretV1(\"certificate1\",\n payload=(lambda path: open(path).read())(\"cert.pem\"),\n secret_type=\"certificate\",\n payload_content_type=\"text/plain\")\nprivate_key1 = openstack.keymanager.SecretV1(\"privateKey1\",\n payload=(lambda path: open(path).read())(\"cert-key.pem\"),\n secret_type=\"private\",\n payload_content_type=\"text/plain\")\nintermediate1 = openstack.keymanager.SecretV1(\"intermediate1\",\n payload=(lambda path: open(path).read())(\"intermediate-ca.pem\"),\n secret_type=\"certificate\",\n payload_content_type=\"text/plain\")\ntls1 = openstack.keymanager.ContainerV1(\"tls1\",\n type=\"certificate\",\n secret_refs=[\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"certificate\",\n secret_ref=certificate1.secret_ref,\n ),\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"private_key\",\n secret_ref=private_key1.secret_ref,\n ),\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"intermediates\",\n secret_ref=intermediate1.secret_ref,\n ),\n ])\nsubnet1 = openstack.networking.get_subnet(name=\"my-subnet\")\nlb1 = openstack.loadbalancer.LoadBalancer(\"lb1\", vip_subnet_id=subnet1.id)\nlistener1 = openstack.loadbalancer.Listener(\"listener1\",\n protocol=\"TERMINATED_HTTPS\",\n protocol_port=443,\n loadbalancer_id=lb1.id,\n default_tls_container_ref=tls1.container_ref)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var certificate1 = new OpenStack.KeyManager.SecretV1(\"certificate1\", new()\n {\n Payload = File.ReadAllText(\"cert.pem\"),\n SecretType = \"certificate\",\n PayloadContentType = \"text/plain\",\n });\n\n var privateKey1 = new OpenStack.KeyManager.SecretV1(\"privateKey1\", new()\n {\n Payload = File.ReadAllText(\"cert-key.pem\"),\n SecretType = \"private\",\n PayloadContentType = \"text/plain\",\n });\n\n var intermediate1 = new OpenStack.KeyManager.SecretV1(\"intermediate1\", new()\n {\n Payload = File.ReadAllText(\"intermediate-ca.pem\"),\n SecretType = \"certificate\",\n PayloadContentType = \"text/plain\",\n });\n\n var tls1 = new OpenStack.KeyManager.ContainerV1(\"tls1\", new()\n {\n Type = \"certificate\",\n SecretRefs = new[]\n {\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"certificate\",\n SecretRef = certificate1.SecretRef,\n },\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"private_key\",\n SecretRef = privateKey1.SecretRef,\n },\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"intermediates\",\n SecretRef = intermediate1.SecretRef,\n },\n },\n });\n\n var subnet1 = OpenStack.Networking.GetSubnet.Invoke(new()\n {\n Name = \"my-subnet\",\n });\n\n var lb1 = new OpenStack.LoadBalancer.LoadBalancer(\"lb1\", new()\n {\n VipSubnetId = subnet1.Apply(getSubnetResult =\u003e getSubnetResult.Id),\n });\n\n var listener1 = new OpenStack.LoadBalancer.Listener(\"listener1\", new()\n {\n Protocol = \"TERMINATED_HTTPS\",\n ProtocolPort = 443,\n LoadbalancerId = lb1.Id,\n DefaultTlsContainerRef = tls1.ContainerRef,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager\"\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/loadbalancer\"\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcertificate1, err := keymanager.NewSecretV1(ctx, \"certificate1\", \u0026keymanager.SecretV1Args{\n\t\t\tPayload: readFileOrPanic(\"cert.pem\"),\n\t\t\tSecretType: pulumi.String(\"certificate\"),\n\t\t\tPayloadContentType: pulumi.String(\"text/plain\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tprivateKey1, err := keymanager.NewSecretV1(ctx, \"privateKey1\", \u0026keymanager.SecretV1Args{\n\t\t\tPayload: readFileOrPanic(\"cert-key.pem\"),\n\t\t\tSecretType: pulumi.String(\"private\"),\n\t\t\tPayloadContentType: pulumi.String(\"text/plain\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tintermediate1, err := keymanager.NewSecretV1(ctx, \"intermediate1\", \u0026keymanager.SecretV1Args{\n\t\t\tPayload: readFileOrPanic(\"intermediate-ca.pem\"),\n\t\t\tSecretType: pulumi.String(\"certificate\"),\n\t\t\tPayloadContentType: pulumi.String(\"text/plain\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttls1, err := keymanager.NewContainerV1(ctx, \"tls1\", \u0026keymanager.ContainerV1Args{\n\t\t\tType: pulumi.String(\"certificate\"),\n\t\t\tSecretRefs: keymanager.ContainerV1SecretRefArray{\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"certificate\"),\n\t\t\t\t\tSecretRef: certificate1.SecretRef,\n\t\t\t\t},\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"private_key\"),\n\t\t\t\t\tSecretRef: privateKey1.SecretRef,\n\t\t\t\t},\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"intermediates\"),\n\t\t\t\t\tSecretRef: intermediate1.SecretRef,\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubnet1, err := networking.LookupSubnet(ctx, \u0026networking.LookupSubnetArgs{\n\t\t\tName: pulumi.StringRef(\"my-subnet\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlb1, err := loadbalancer.NewLoadBalancer(ctx, \"lb1\", \u0026loadbalancer.LoadBalancerArgs{\n\t\t\tVipSubnetId: pulumi.String(subnet1.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = loadbalancer.NewListener(ctx, \"listener1\", \u0026loadbalancer.ListenerArgs{\n\t\t\tProtocol: pulumi.String(\"TERMINATED_HTTPS\"),\n\t\t\tProtocolPort: pulumi.Int(443),\n\t\t\tLoadbalancerId: lb1.ID(),\n\t\t\tDefaultTlsContainerRef: tls1.ContainerRef,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.keymanager.SecretV1;\nimport com.pulumi.openstack.keymanager.SecretV1Args;\nimport com.pulumi.openstack.keymanager.ContainerV1;\nimport com.pulumi.openstack.keymanager.ContainerV1Args;\nimport com.pulumi.openstack.keymanager.inputs.ContainerV1SecretRefArgs;\nimport com.pulumi.openstack.networking.NetworkingFunctions;\nimport com.pulumi.openstack.networking.inputs.GetSubnetArgs;\nimport com.pulumi.openstack.loadbalancer.LoadBalancer;\nimport com.pulumi.openstack.loadbalancer.LoadBalancerArgs;\nimport com.pulumi.openstack.loadbalancer.Listener;\nimport com.pulumi.openstack.loadbalancer.ListenerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var certificate1 = new SecretV1(\"certificate1\", SecretV1Args.builder() \n .payload(Files.readString(Paths.get(\"cert.pem\")))\n .secretType(\"certificate\")\n .payloadContentType(\"text/plain\")\n .build());\n\n var privateKey1 = new SecretV1(\"privateKey1\", SecretV1Args.builder() \n .payload(Files.readString(Paths.get(\"cert-key.pem\")))\n .secretType(\"private\")\n .payloadContentType(\"text/plain\")\n .build());\n\n var intermediate1 = new SecretV1(\"intermediate1\", SecretV1Args.builder() \n .payload(Files.readString(Paths.get(\"intermediate-ca.pem\")))\n .secretType(\"certificate\")\n .payloadContentType(\"text/plain\")\n .build());\n\n var tls1 = new ContainerV1(\"tls1\", ContainerV1Args.builder() \n .type(\"certificate\")\n .secretRefs( \n ContainerV1SecretRefArgs.builder()\n .name(\"certificate\")\n .secretRef(certificate1.secretRef())\n .build(),\n ContainerV1SecretRefArgs.builder()\n .name(\"private_key\")\n .secretRef(privateKey1.secretRef())\n .build(),\n ContainerV1SecretRefArgs.builder()\n .name(\"intermediates\")\n .secretRef(intermediate1.secretRef())\n .build())\n .build());\n\n final var subnet1 = NetworkingFunctions.getSubnet(GetSubnetArgs.builder()\n .name(\"my-subnet\")\n .build());\n\n var lb1 = new LoadBalancer(\"lb1\", LoadBalancerArgs.builder() \n .vipSubnetId(subnet1.applyValue(getSubnetResult -\u003e getSubnetResult.id()))\n .build());\n\n var listener1 = new Listener(\"listener1\", ListenerArgs.builder() \n .protocol(\"TERMINATED_HTTPS\")\n .protocolPort(443)\n .loadbalancerId(lb1.id())\n .defaultTlsContainerRef(tls1.containerRef())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n certificate1:\n type: openstack:keymanager:SecretV1\n properties:\n payload:\n fn::readFile: cert.pem\n secretType: certificate\n payloadContentType: text/plain\n privateKey1:\n type: openstack:keymanager:SecretV1\n properties:\n payload:\n fn::readFile: cert-key.pem\n secretType: private\n payloadContentType: text/plain\n intermediate1:\n type: openstack:keymanager:SecretV1\n properties:\n payload:\n fn::readFile: intermediate-ca.pem\n secretType: certificate\n payloadContentType: text/plain\n tls1:\n type: openstack:keymanager:ContainerV1\n properties:\n type: certificate\n secretRefs:\n - name: certificate\n secretRef: ${certificate1.secretRef}\n - name: private_key\n secretRef: ${privateKey1.secretRef}\n - name: intermediates\n secretRef: ${intermediate1.secretRef}\n lb1:\n type: openstack:loadbalancer:LoadBalancer\n properties:\n vipSubnetId: ${subnet1.id}\n listener1:\n type: openstack:loadbalancer:Listener\n properties:\n protocol: TERMINATED_HTTPS\n protocolPort: 443\n loadbalancerId: ${lb1.id}\n defaultTlsContainerRef: ${tls1.containerRef}\nvariables:\n subnet1:\n fn::invoke:\n Function: openstack:networking:getSubnet\n Arguments:\n name: my-subnet\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Container with the ACL\n\n\u003e **Note** Only read ACLs are supported\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst tls1 = new openstack.keymanager.ContainerV1(\"tls1\", {\n type: \"certificate\",\n secretRefs: [\n {\n name: \"certificate\",\n secretRef: openstack_keymanager_secret_v1.certificate_1.secret_ref,\n },\n {\n name: \"private_key\",\n secretRef: openstack_keymanager_secret_v1.private_key_1.secret_ref,\n },\n {\n name: \"intermediates\",\n secretRef: openstack_keymanager_secret_v1.intermediate_1.secret_ref,\n },\n ],\n acl: {\n read: {\n projectAccess: false,\n users: [\n \"userid1\",\n \"userid2\",\n ],\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\ntls1 = openstack.keymanager.ContainerV1(\"tls1\",\n type=\"certificate\",\n secret_refs=[\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"certificate\",\n secret_ref=openstack_keymanager_secret_v1[\"certificate_1\"][\"secret_ref\"],\n ),\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"private_key\",\n secret_ref=openstack_keymanager_secret_v1[\"private_key_1\"][\"secret_ref\"],\n ),\n openstack.keymanager.ContainerV1SecretRefArgs(\n name=\"intermediates\",\n secret_ref=openstack_keymanager_secret_v1[\"intermediate_1\"][\"secret_ref\"],\n ),\n ],\n acl=openstack.keymanager.ContainerV1AclArgs(\n read=openstack.keymanager.ContainerV1AclReadArgs(\n project_access=False,\n users=[\n \"userid1\",\n \"userid2\",\n ],\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var tls1 = new OpenStack.KeyManager.ContainerV1(\"tls1\", new()\n {\n Type = \"certificate\",\n SecretRefs = new[]\n {\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"certificate\",\n SecretRef = openstack_keymanager_secret_v1.Certificate_1.Secret_ref,\n },\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"private_key\",\n SecretRef = openstack_keymanager_secret_v1.Private_key_1.Secret_ref,\n },\n new OpenStack.KeyManager.Inputs.ContainerV1SecretRefArgs\n {\n Name = \"intermediates\",\n SecretRef = openstack_keymanager_secret_v1.Intermediate_1.Secret_ref,\n },\n },\n Acl = new OpenStack.KeyManager.Inputs.ContainerV1AclArgs\n {\n Read = new OpenStack.KeyManager.Inputs.ContainerV1AclReadArgs\n {\n ProjectAccess = false,\n Users = new[]\n {\n \"userid1\",\n \"userid2\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/keymanager\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := keymanager.NewContainerV1(ctx, \"tls1\", \u0026keymanager.ContainerV1Args{\n\t\t\tType: pulumi.String(\"certificate\"),\n\t\t\tSecretRefs: keymanager.ContainerV1SecretRefArray{\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"certificate\"),\n\t\t\t\t\tSecretRef: pulumi.Any(openstack_keymanager_secret_v1.Certificate_1.Secret_ref),\n\t\t\t\t},\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"private_key\"),\n\t\t\t\t\tSecretRef: pulumi.Any(openstack_keymanager_secret_v1.Private_key_1.Secret_ref),\n\t\t\t\t},\n\t\t\t\t\u0026keymanager.ContainerV1SecretRefArgs{\n\t\t\t\t\tName: pulumi.String(\"intermediates\"),\n\t\t\t\t\tSecretRef: pulumi.Any(openstack_keymanager_secret_v1.Intermediate_1.Secret_ref),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAcl: \u0026keymanager.ContainerV1AclArgs{\n\t\t\t\tRead: \u0026keymanager.ContainerV1AclReadArgs{\n\t\t\t\t\tProjectAccess: pulumi.Bool(false),\n\t\t\t\t\tUsers: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"userid1\"),\n\t\t\t\t\t\tpulumi.String(\"userid2\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.keymanager.ContainerV1;\nimport com.pulumi.openstack.keymanager.ContainerV1Args;\nimport com.pulumi.openstack.keymanager.inputs.ContainerV1SecretRefArgs;\nimport com.pulumi.openstack.keymanager.inputs.ContainerV1AclArgs;\nimport com.pulumi.openstack.keymanager.inputs.ContainerV1AclReadArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var tls1 = new ContainerV1(\"tls1\", ContainerV1Args.builder() \n .type(\"certificate\")\n .secretRefs( \n ContainerV1SecretRefArgs.builder()\n .name(\"certificate\")\n .secretRef(openstack_keymanager_secret_v1.certificate_1().secret_ref())\n .build(),\n ContainerV1SecretRefArgs.builder()\n .name(\"private_key\")\n .secretRef(openstack_keymanager_secret_v1.private_key_1().secret_ref())\n .build(),\n ContainerV1SecretRefArgs.builder()\n .name(\"intermediates\")\n .secretRef(openstack_keymanager_secret_v1.intermediate_1().secret_ref())\n .build())\n .acl(ContainerV1AclArgs.builder()\n .read(ContainerV1AclReadArgs.builder()\n .projectAccess(false)\n .users( \n \"userid1\",\n \"userid2\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n tls1:\n type: openstack:keymanager:ContainerV1\n properties:\n type: certificate\n secretRefs:\n - name: certificate\n secretRef: ${openstack_keymanager_secret_v1.certificate_1.secret_ref}\n - name: private_key\n secretRef: ${openstack_keymanager_secret_v1.private_key_1.secret_ref}\n - name: intermediates\n secretRef: ${openstack_keymanager_secret_v1.intermediate_1.secret_ref}\n acl:\n read:\n projectAccess: false\n users:\n - userid1\n - userid2\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nContainers can be imported using the container id (the last part of the container reference), e.g.:\n\n```sh\n$ pulumi import openstack:keymanager/containerV1:ContainerV1 container_1 0c6cd26a-c012-4d7b-8034-057c0f1c2953\n```\n", "properties": { "acl": { "$ref": "#/types/openstack:keymanager/ContainerV1Acl:ContainerV1Acl", @@ -12967,7 +12967,7 @@ "type": "string" }, "description": "An existing node to add to the pool. Changing this\nupdates the members of the pool. The member object structure is documented\nbelow. Please note that the `member` block is deprecated in favor of the\n`openstack.loadbalancer.MemberV1` resource.\n", - "deprecationMessage": "Use openstack_lb_member_v1 instead" + "deprecationMessage": "Use openstack.loadbalancer.MemberV1 instead" }, "monitorIds": { "type": "array", @@ -13022,7 +13022,7 @@ "type": "string" }, "description": "An existing node to add to the pool. Changing this\nupdates the members of the pool. The member object structure is documented\nbelow. Please note that the `member` block is deprecated in favor of the\n`openstack.loadbalancer.MemberV1` resource.\n", - "deprecationMessage": "Use openstack_lb_member_v1 instead" + "deprecationMessage": "Use openstack.loadbalancer.MemberV1 instead" }, "monitorIds": { "type": "array", @@ -13079,7 +13079,7 @@ "type": "string" }, "description": "An existing node to add to the pool. Changing this\nupdates the members of the pool. The member object structure is documented\nbelow. Please note that the `member` block is deprecated in favor of the\n`openstack.loadbalancer.MemberV1` resource.\n", - "deprecationMessage": "Use openstack_lb_member_v1 instead" + "deprecationMessage": "Use openstack.loadbalancer.MemberV1 instead" }, "monitorIds": { "type": "array", @@ -14697,7 +14697,7 @@ } }, "openstack:networking/portSecGroupAssociate:PortSecGroupAssociate": { - "description": "## Example Usage\n\n### Append a security group to an existing port\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst systemPort = openstack.networking.getPort({\n fixedIp: \"10.0.0.10\",\n});\nconst secgroup = openstack.networking.getSecGroup({\n name: \"secgroup\",\n});\nconst port1 = new openstack.networking.PortSecGroupAssociate(\"port1\", {\n portId: systemPort.then(systemPort =\u003e systemPort.id),\n securityGroupIds: [secgroup.then(secgroup =\u003e secgroup.id)],\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\nsystem_port = openstack.networking.get_port(fixed_ip=\"10.0.0.10\")\nsecgroup = openstack.networking.get_sec_group(name=\"secgroup\")\nport1 = openstack.networking.PortSecGroupAssociate(\"port1\",\n port_id=system_port.id,\n security_group_ids=[secgroup.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var systemPort = OpenStack.Networking.GetPort.Invoke(new()\n {\n FixedIp = \"10.0.0.10\",\n });\n\n var secgroup = OpenStack.Networking.GetSecGroup.Invoke(new()\n {\n Name = \"secgroup\",\n });\n\n var port1 = new OpenStack.Networking.PortSecGroupAssociate(\"port1\", new()\n {\n PortId = systemPort.Apply(getPortResult =\u003e getPortResult.Id),\n SecurityGroupIds = new[]\n {\n secgroup.Apply(getSecGroupResult =\u003e getSecGroupResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsystemPort, err := networking.LookupPort(ctx, \u0026networking.LookupPortArgs{\n\t\t\tFixedIp: pulumi.StringRef(\"10.0.0.10\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsecgroup, err := networking.LookupSecGroup(ctx, \u0026networking.LookupSecGroupArgs{\n\t\t\tName: pulumi.StringRef(\"secgroup\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = networking.NewPortSecGroupAssociate(ctx, \"port1\", \u0026networking.PortSecGroupAssociateArgs{\n\t\t\tPortId: *pulumi.String(systemPort.Id),\n\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\t*pulumi.String(secgroup.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.networking.NetworkingFunctions;\nimport com.pulumi.openstack.networking.inputs.GetPortArgs;\nimport com.pulumi.openstack.networking.inputs.GetSecGroupArgs;\nimport com.pulumi.openstack.networking.PortSecGroupAssociate;\nimport com.pulumi.openstack.networking.PortSecGroupAssociateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var systemPort = NetworkingFunctions.getPort(GetPortArgs.builder()\n .fixedIp(\"10.0.0.10\")\n .build());\n\n final var secgroup = NetworkingFunctions.getSecGroup(GetSecGroupArgs.builder()\n .name(\"secgroup\")\n .build());\n\n var port1 = new PortSecGroupAssociate(\"port1\", PortSecGroupAssociateArgs.builder() \n .portId(systemPort.applyValue(getPortResult -\u003e getPortResult.id()))\n .securityGroupIds(secgroup.applyValue(getSecGroupResult -\u003e getSecGroupResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n port1:\n type: openstack:networking:PortSecGroupAssociate\n properties:\n portId: ${systemPort.id}\n securityGroupIds:\n - ${secgroup.id}\nvariables:\n systemPort:\n fn::invoke:\n Function: openstack:networking:getPort\n Arguments:\n fixedIp: 10.0.0.10\n secgroup:\n fn::invoke:\n Function: openstack:networking:getSecGroup\n Arguments:\n name: secgroup\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Enforce a security group to an existing port\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst systemPort = openstack.networking.getPort({\n fixedIp: \"10.0.0.10\",\n});\nconst secgroup = openstack.networking.getSecGroup({\n name: \"secgroup\",\n});\nconst port1 = new openstack.networking.PortSecGroupAssociate(\"port1\", {\n portId: systemPort.then(systemPort =\u003e systemPort.id),\n enforce: true,\n securityGroupIds: [secgroup.then(secgroup =\u003e secgroup.id)],\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\nsystem_port = openstack.networking.get_port(fixed_ip=\"10.0.0.10\")\nsecgroup = openstack.networking.get_sec_group(name=\"secgroup\")\nport1 = openstack.networking.PortSecGroupAssociate(\"port1\",\n port_id=system_port.id,\n enforce=True,\n security_group_ids=[secgroup.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var systemPort = OpenStack.Networking.GetPort.Invoke(new()\n {\n FixedIp = \"10.0.0.10\",\n });\n\n var secgroup = OpenStack.Networking.GetSecGroup.Invoke(new()\n {\n Name = \"secgroup\",\n });\n\n var port1 = new OpenStack.Networking.PortSecGroupAssociate(\"port1\", new()\n {\n PortId = systemPort.Apply(getPortResult =\u003e getPortResult.Id),\n Enforce = true,\n SecurityGroupIds = new[]\n {\n secgroup.Apply(getSecGroupResult =\u003e getSecGroupResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsystemPort, err := networking.LookupPort(ctx, \u0026networking.LookupPortArgs{\n\t\t\tFixedIp: pulumi.StringRef(\"10.0.0.10\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsecgroup, err := networking.LookupSecGroup(ctx, \u0026networking.LookupSecGroupArgs{\n\t\t\tName: pulumi.StringRef(\"secgroup\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = networking.NewPortSecGroupAssociate(ctx, \"port1\", \u0026networking.PortSecGroupAssociateArgs{\n\t\t\tPortId: *pulumi.String(systemPort.Id),\n\t\t\tEnforce: pulumi.Bool(true),\n\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\t*pulumi.String(secgroup.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.networking.NetworkingFunctions;\nimport com.pulumi.openstack.networking.inputs.GetPortArgs;\nimport com.pulumi.openstack.networking.inputs.GetSecGroupArgs;\nimport com.pulumi.openstack.networking.PortSecGroupAssociate;\nimport com.pulumi.openstack.networking.PortSecGroupAssociateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var systemPort = NetworkingFunctions.getPort(GetPortArgs.builder()\n .fixedIp(\"10.0.0.10\")\n .build());\n\n final var secgroup = NetworkingFunctions.getSecGroup(GetSecGroupArgs.builder()\n .name(\"secgroup\")\n .build());\n\n var port1 = new PortSecGroupAssociate(\"port1\", PortSecGroupAssociateArgs.builder() \n .portId(systemPort.applyValue(getPortResult -\u003e getPortResult.id()))\n .enforce(\"true\")\n .securityGroupIds(secgroup.applyValue(getSecGroupResult -\u003e getSecGroupResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n port1:\n type: openstack:networking:PortSecGroupAssociate\n properties:\n portId: ${systemPort.id}\n enforce: 'true'\n securityGroupIds:\n - ${secgroup.id}\nvariables:\n systemPort:\n fn::invoke:\n Function: openstack:networking:getPort\n Arguments:\n fixedIp: 10.0.0.10\n secgroup:\n fn::invoke:\n Function: openstack:networking:getSecGroup\n Arguments:\n name: secgroup\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Remove all security groups from an existing port\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst systemPort = openstack.networking.getPort({\n fixedIp: \"10.0.0.10\",\n});\nconst port1 = new openstack.networking.PortSecGroupAssociate(\"port1\", {\n portId: systemPort.then(systemPort =\u003e systemPort.id),\n enforce: true,\n securityGroupIds: [],\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\nsystem_port = openstack.networking.get_port(fixed_ip=\"10.0.0.10\")\nport1 = openstack.networking.PortSecGroupAssociate(\"port1\",\n port_id=system_port.id,\n enforce=True,\n security_group_ids=[])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var systemPort = OpenStack.Networking.GetPort.Invoke(new()\n {\n FixedIp = \"10.0.0.10\",\n });\n\n var port1 = new OpenStack.Networking.PortSecGroupAssociate(\"port1\", new()\n {\n PortId = systemPort.Apply(getPortResult =\u003e getPortResult.Id),\n Enforce = true,\n SecurityGroupIds = new[] {},\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsystemPort, err := networking.LookupPort(ctx, \u0026networking.LookupPortArgs{\n\t\t\tFixedIp: pulumi.StringRef(\"10.0.0.10\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = networking.NewPortSecGroupAssociate(ctx, \"port1\", \u0026networking.PortSecGroupAssociateArgs{\n\t\t\tPortId: *pulumi.String(systemPort.Id),\n\t\t\tEnforce: pulumi.Bool(true),\n\t\t\tSecurityGroupIds: pulumi.StringArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.networking.NetworkingFunctions;\nimport com.pulumi.openstack.networking.inputs.GetPortArgs;\nimport com.pulumi.openstack.networking.PortSecGroupAssociate;\nimport com.pulumi.openstack.networking.PortSecGroupAssociateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var systemPort = NetworkingFunctions.getPort(GetPortArgs.builder()\n .fixedIp(\"10.0.0.10\")\n .build());\n\n var port1 = new PortSecGroupAssociate(\"port1\", PortSecGroupAssociateArgs.builder() \n .portId(systemPort.applyValue(getPortResult -\u003e getPortResult.id()))\n .enforce(\"true\")\n .securityGroupIds()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n port1:\n type: openstack:networking:PortSecGroupAssociate\n properties:\n portId: ${systemPort.id}\n enforce: 'true'\n securityGroupIds: []\nvariables:\n systemPort:\n fn::invoke:\n Function: openstack:networking:getPort\n Arguments:\n fixedIp: 10.0.0.10\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPort security group association can be imported using the `id` of the port, e.g.\n\n```sh\n$ pulumi import openstack:networking/portSecGroupAssociate:PortSecGroupAssociate port_1 eae26a3e-1c33-4cc1-9c31-0cd729c438a1\n```\n", + "description": "## Example Usage\n\n### Append a security group to an existing port\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst systemPort = openstack.networking.getPort({\n fixedIp: \"10.0.0.10\",\n});\nconst secgroup = openstack.networking.getSecGroup({\n name: \"secgroup\",\n});\nconst port1 = new openstack.networking.PortSecGroupAssociate(\"port1\", {\n portId: systemPort.then(systemPort =\u003e systemPort.id),\n securityGroupIds: [secgroup.then(secgroup =\u003e secgroup.id)],\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\nsystem_port = openstack.networking.get_port(fixed_ip=\"10.0.0.10\")\nsecgroup = openstack.networking.get_sec_group(name=\"secgroup\")\nport1 = openstack.networking.PortSecGroupAssociate(\"port1\",\n port_id=system_port.id,\n security_group_ids=[secgroup.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var systemPort = OpenStack.Networking.GetPort.Invoke(new()\n {\n FixedIp = \"10.0.0.10\",\n });\n\n var secgroup = OpenStack.Networking.GetSecGroup.Invoke(new()\n {\n Name = \"secgroup\",\n });\n\n var port1 = new OpenStack.Networking.PortSecGroupAssociate(\"port1\", new()\n {\n PortId = systemPort.Apply(getPortResult =\u003e getPortResult.Id),\n SecurityGroupIds = new[]\n {\n secgroup.Apply(getSecGroupResult =\u003e getSecGroupResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsystemPort, err := networking.LookupPort(ctx, \u0026networking.LookupPortArgs{\n\t\t\tFixedIp: pulumi.StringRef(\"10.0.0.10\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsecgroup, err := networking.LookupSecGroup(ctx, \u0026networking.LookupSecGroupArgs{\n\t\t\tName: pulumi.StringRef(\"secgroup\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = networking.NewPortSecGroupAssociate(ctx, \"port1\", \u0026networking.PortSecGroupAssociateArgs{\n\t\t\tPortId: pulumi.String(systemPort.Id),\n\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(secgroup.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.networking.NetworkingFunctions;\nimport com.pulumi.openstack.networking.inputs.GetPortArgs;\nimport com.pulumi.openstack.networking.inputs.GetSecGroupArgs;\nimport com.pulumi.openstack.networking.PortSecGroupAssociate;\nimport com.pulumi.openstack.networking.PortSecGroupAssociateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var systemPort = NetworkingFunctions.getPort(GetPortArgs.builder()\n .fixedIp(\"10.0.0.10\")\n .build());\n\n final var secgroup = NetworkingFunctions.getSecGroup(GetSecGroupArgs.builder()\n .name(\"secgroup\")\n .build());\n\n var port1 = new PortSecGroupAssociate(\"port1\", PortSecGroupAssociateArgs.builder() \n .portId(systemPort.applyValue(getPortResult -\u003e getPortResult.id()))\n .securityGroupIds(secgroup.applyValue(getSecGroupResult -\u003e getSecGroupResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n port1:\n type: openstack:networking:PortSecGroupAssociate\n properties:\n portId: ${systemPort.id}\n securityGroupIds:\n - ${secgroup.id}\nvariables:\n systemPort:\n fn::invoke:\n Function: openstack:networking:getPort\n Arguments:\n fixedIp: 10.0.0.10\n secgroup:\n fn::invoke:\n Function: openstack:networking:getSecGroup\n Arguments:\n name: secgroup\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Enforce a security group to an existing port\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst systemPort = openstack.networking.getPort({\n fixedIp: \"10.0.0.10\",\n});\nconst secgroup = openstack.networking.getSecGroup({\n name: \"secgroup\",\n});\nconst port1 = new openstack.networking.PortSecGroupAssociate(\"port1\", {\n portId: systemPort.then(systemPort =\u003e systemPort.id),\n enforce: true,\n securityGroupIds: [secgroup.then(secgroup =\u003e secgroup.id)],\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\nsystem_port = openstack.networking.get_port(fixed_ip=\"10.0.0.10\")\nsecgroup = openstack.networking.get_sec_group(name=\"secgroup\")\nport1 = openstack.networking.PortSecGroupAssociate(\"port1\",\n port_id=system_port.id,\n enforce=True,\n security_group_ids=[secgroup.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var systemPort = OpenStack.Networking.GetPort.Invoke(new()\n {\n FixedIp = \"10.0.0.10\",\n });\n\n var secgroup = OpenStack.Networking.GetSecGroup.Invoke(new()\n {\n Name = \"secgroup\",\n });\n\n var port1 = new OpenStack.Networking.PortSecGroupAssociate(\"port1\", new()\n {\n PortId = systemPort.Apply(getPortResult =\u003e getPortResult.Id),\n Enforce = true,\n SecurityGroupIds = new[]\n {\n secgroup.Apply(getSecGroupResult =\u003e getSecGroupResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsystemPort, err := networking.LookupPort(ctx, \u0026networking.LookupPortArgs{\n\t\t\tFixedIp: pulumi.StringRef(\"10.0.0.10\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsecgroup, err := networking.LookupSecGroup(ctx, \u0026networking.LookupSecGroupArgs{\n\t\t\tName: pulumi.StringRef(\"secgroup\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = networking.NewPortSecGroupAssociate(ctx, \"port1\", \u0026networking.PortSecGroupAssociateArgs{\n\t\t\tPortId: pulumi.String(systemPort.Id),\n\t\t\tEnforce: pulumi.Bool(true),\n\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(secgroup.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.networking.NetworkingFunctions;\nimport com.pulumi.openstack.networking.inputs.GetPortArgs;\nimport com.pulumi.openstack.networking.inputs.GetSecGroupArgs;\nimport com.pulumi.openstack.networking.PortSecGroupAssociate;\nimport com.pulumi.openstack.networking.PortSecGroupAssociateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var systemPort = NetworkingFunctions.getPort(GetPortArgs.builder()\n .fixedIp(\"10.0.0.10\")\n .build());\n\n final var secgroup = NetworkingFunctions.getSecGroup(GetSecGroupArgs.builder()\n .name(\"secgroup\")\n .build());\n\n var port1 = new PortSecGroupAssociate(\"port1\", PortSecGroupAssociateArgs.builder() \n .portId(systemPort.applyValue(getPortResult -\u003e getPortResult.id()))\n .enforce(\"true\")\n .securityGroupIds(secgroup.applyValue(getSecGroupResult -\u003e getSecGroupResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n port1:\n type: openstack:networking:PortSecGroupAssociate\n properties:\n portId: ${systemPort.id}\n enforce: 'true'\n securityGroupIds:\n - ${secgroup.id}\nvariables:\n systemPort:\n fn::invoke:\n Function: openstack:networking:getPort\n Arguments:\n fixedIp: 10.0.0.10\n secgroup:\n fn::invoke:\n Function: openstack:networking:getSecGroup\n Arguments:\n name: secgroup\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Remove all security groups from an existing port\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as openstack from \"@pulumi/openstack\";\n\nconst systemPort = openstack.networking.getPort({\n fixedIp: \"10.0.0.10\",\n});\nconst port1 = new openstack.networking.PortSecGroupAssociate(\"port1\", {\n portId: systemPort.then(systemPort =\u003e systemPort.id),\n enforce: true,\n securityGroupIds: [],\n});\n```\n```python\nimport pulumi\nimport pulumi_openstack as openstack\n\nsystem_port = openstack.networking.get_port(fixed_ip=\"10.0.0.10\")\nport1 = openstack.networking.PortSecGroupAssociate(\"port1\",\n port_id=system_port.id,\n enforce=True,\n security_group_ids=[])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing OpenStack = Pulumi.OpenStack;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var systemPort = OpenStack.Networking.GetPort.Invoke(new()\n {\n FixedIp = \"10.0.0.10\",\n });\n\n var port1 = new OpenStack.Networking.PortSecGroupAssociate(\"port1\", new()\n {\n PortId = systemPort.Apply(getPortResult =\u003e getPortResult.Id),\n Enforce = true,\n SecurityGroupIds = new[] {},\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsystemPort, err := networking.LookupPort(ctx, \u0026networking.LookupPortArgs{\n\t\t\tFixedIp: pulumi.StringRef(\"10.0.0.10\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = networking.NewPortSecGroupAssociate(ctx, \"port1\", \u0026networking.PortSecGroupAssociateArgs{\n\t\t\tPortId: pulumi.String(systemPort.Id),\n\t\t\tEnforce: pulumi.Bool(true),\n\t\t\tSecurityGroupIds: pulumi.StringArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.openstack.networking.NetworkingFunctions;\nimport com.pulumi.openstack.networking.inputs.GetPortArgs;\nimport com.pulumi.openstack.networking.PortSecGroupAssociate;\nimport com.pulumi.openstack.networking.PortSecGroupAssociateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var systemPort = NetworkingFunctions.getPort(GetPortArgs.builder()\n .fixedIp(\"10.0.0.10\")\n .build());\n\n var port1 = new PortSecGroupAssociate(\"port1\", PortSecGroupAssociateArgs.builder() \n .portId(systemPort.applyValue(getPortResult -\u003e getPortResult.id()))\n .enforce(\"true\")\n .securityGroupIds()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n port1:\n type: openstack:networking:PortSecGroupAssociate\n properties:\n portId: ${systemPort.id}\n enforce: 'true'\n securityGroupIds: []\nvariables:\n systemPort:\n fn::invoke:\n Function: openstack:networking:getPort\n Arguments:\n fixedIp: 10.0.0.10\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPort security group association can be imported using the `id` of the port, e.g.\n\n```sh\n$ pulumi import openstack:networking/portSecGroupAssociate:PortSecGroupAssociate port_1 eae26a3e-1c33-4cc1-9c31-0cd729c438a1\n```\n", "properties": { "allSecurityGroupIds": { "type": "array", @@ -16269,7 +16269,7 @@ "$ref": "#/types/openstack:networking/SubnetHostRoute:SubnetHostRoute" }, "description": "(**Deprecated** - use `openstack.networking.SubnetRoute`\ninstead) An array of routes that should be used by devices\nwith IPs from this subnet (not including local subnet route). The host_route\nobject structure is documented below. Changing this updates the host routes\nfor the existing subnet.\n", - "deprecationMessage": "Use openstack_networking_subnet_route_v2 instead" + "deprecationMessage": "Use openstack.networking.SubnetRoute instead" }, "ipVersion": { "type": "integer", @@ -16393,7 +16393,7 @@ "$ref": "#/types/openstack:networking/SubnetHostRoute:SubnetHostRoute" }, "description": "(**Deprecated** - use `openstack.networking.SubnetRoute`\ninstead) An array of routes that should be used by devices\nwith IPs from this subnet (not including local subnet route). The host_route\nobject structure is documented below. Changing this updates the host routes\nfor the existing subnet.\n", - "deprecationMessage": "Use openstack_networking_subnet_route_v2 instead" + "deprecationMessage": "Use openstack.networking.SubnetRoute instead" }, "ipVersion": { "type": "integer", @@ -16524,7 +16524,7 @@ "$ref": "#/types/openstack:networking/SubnetHostRoute:SubnetHostRoute" }, "description": "(**Deprecated** - use `openstack.networking.SubnetRoute`\ninstead) An array of routes that should be used by devices\nwith IPs from this subnet (not including local subnet route). The host_route\nobject structure is documented below. Changing this updates the host routes\nfor the existing subnet.\n", - "deprecationMessage": "Use openstack_networking_subnet_route_v2 instead" + "deprecationMessage": "Use openstack.networking.SubnetRoute instead" }, "ipVersion": { "type": "integer", diff --git a/provider/go.mod b/provider/go.mod index 59e189c7..3af10d2c 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -3,8 +3,8 @@ module github.com/pulumi/pulumi-openstack/provider/v3 go 1.21 require ( - github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0 - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.78.0 + github.com/pulumi/pulumi/sdk/v3 v3.111.1 github.com/terraform-provider-openstack/terraform-provider-openstack v1.54.1 ) @@ -185,8 +185,8 @@ require ( github.com/pulumi/esc v0.6.2 // indirect github.com/pulumi/pulumi-java/pkg v0.9.9 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect - github.com/pulumi/pulumi-yaml v1.5.0 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.108.1 // indirect + github.com/pulumi/pulumi-yaml v1.6.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.111.1 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect diff --git a/provider/go.sum b/provider/go.sum index af8b29d6..961a2a53 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -2802,16 +2802,16 @@ github.com/pulumi/providertest v0.0.11 h1:mg8MQ7Cq7+9XlHIkBD+aCqQO4mwAJEISngZgVd github.com/pulumi/providertest v0.0.11/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= github.com/pulumi/pulumi-java/pkg v0.9.9 h1:F3xJUtMFDVrTGCxb7Rh2Q8s6tj7gMfM5pcoUthz7vFY= github.com/pulumi/pulumi-java/pkg v0.9.9/go.mod h1:LVF1zeg3UkToHWxb67V+zEIxQc3EdMnlot5NWSt+FpA= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0 h1:BZhD7yNZz7O5MWeM4WofY6XBLjtiA3qH2UJJTg8+Nts= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0/go.mod h1:OCfjEGPU2fbBlda8UZhN/N3FljW6R08SK6lXPXzahwA= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.78.0 h1:zl1nXrx02X7u/w5kNjIVGVUzccEILcMWsIpg4QQanCI= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.78.0/go.mod h1:WpkN/lgtBrDYGrMyG9cmncy5pN95lnowbmjILHWcm0M= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= -github.com/pulumi/pulumi-yaml v1.5.0 h1:HfXu+WSFNpycref9CK935cViYJzXwSgHGWM/RepyrW0= -github.com/pulumi/pulumi-yaml v1.5.0/go.mod h1:AvKSmEQv2EkPbpvAQroR1eP1LkJGC8z5NDM34rVWOtg= -github.com/pulumi/pulumi/pkg/v3 v3.108.1 h1:K1UK40v5IpEPIaJ2un3WNOTBbLQaKR26HbLLh5EmMHY= -github.com/pulumi/pulumi/pkg/v3 v3.108.1/go.mod h1:48uCfxkPXUq/XTBqei9VuR0CRWObnSVlqcLkD6DhII8= -github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= -github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= +github.com/pulumi/pulumi-yaml v1.6.0 h1:mb/QkebWXTa1fR+P3ZkCCHGXOYC6iTN8X8By9eNz8xM= +github.com/pulumi/pulumi-yaml v1.6.0/go.mod h1:RyEPo4MhL363sbAiFMVKRsQmXpQPDCY1S8pGv3E6Ij0= +github.com/pulumi/pulumi/pkg/v3 v3.111.1 h1:SrVgQE96T7YlZx/AZoFSlXYwur7ZmQUHyjbPI8sH96Q= +github.com/pulumi/pulumi/pkg/v3 v3.111.1/go.mod h1:ZWsq8Y0EMHZ5E2ju92jC+POz97TEXs3BbQ6r2o0U4SA= +github.com/pulumi/pulumi/sdk/v3 v3.111.1 h1:uOeG/b6YxBuL59xHtmFPspMa8BB6ovjHelL7sVCGJZw= +github.com/pulumi/pulumi/sdk/v3 v3.111.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= diff --git a/sdk/go.mod b/sdk/go.mod index 911445c1..0461ffaf 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi/sdk/v3 v3.111.1 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index c90bf549..d31a60b8 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= -github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= +github.com/pulumi/pulumi/sdk/v3 v3.111.1 h1:uOeG/b6YxBuL59xHtmFPspMa8BB6ovjHelL7sVCGJZw= +github.com/pulumi/pulumi/sdk/v3 v3.111.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= From 4db913f6b741f13587633ab2d700f879039a1e8c Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Thu, 21 Mar 2024 13:24:06 +0000 Subject: [PATCH 2/2] make build_sdks --- sdk/dotnet/Compute/Instance.cs | 4 +- sdk/dotnet/LoadBalancer/PoolV1.cs | 4 +- sdk/dotnet/Networking/Subnet.cs | 4 +- sdk/go/openstack/compute/instance.go | 24 +++++------ sdk/go/openstack/compute/pulumiTypes.go | 6 +-- sdk/go/openstack/images/image.go | 8 ++-- sdk/go/openstack/images/imageAccessAccept.go | 2 +- sdk/go/openstack/keymanager/containerV1.go | 2 +- sdk/go/openstack/loadbalancer/poolV1.go | 12 +++--- sdk/go/openstack/networking/getSubnet.go | 8 ++-- .../networking/portSecGroupAssociate.go | 10 ++--- sdk/go/openstack/networking/router.go | 12 +++--- sdk/go/openstack/networking/subnet.go | 24 +++++------ .../pulumi/openstack/compute/Instance.java | 8 ++-- .../openstack/compute/InstanceArgs.java | 36 ++++++++--------- .../compute/inputs/InstanceNetworkArgs.java | 16 ++++---- .../compute/inputs/InstanceState.java | 36 ++++++++--------- .../compute/outputs/InstanceNetwork.java | 8 ++-- .../pulumi/openstack/loadbalancer/PoolV1.java | 4 +- .../openstack/loadbalancer/PoolV1Args.java | 20 +++++----- .../loadbalancer/inputs/PoolV1State.java | 20 +++++----- .../pulumi/openstack/networking/Subnet.java | 4 +- .../openstack/networking/SubnetArgs.java | 20 +++++----- .../networking/inputs/SubnetState.java | 20 +++++----- sdk/nodejs/compute/instance.ts | 12 +++--- sdk/nodejs/images/image.ts | 4 +- sdk/nodejs/loadbalancer/poolV1.ts | 6 +-- sdk/nodejs/networking/getSubnet.ts | 6 +-- sdk/nodejs/networking/router.ts | 6 +-- sdk/nodejs/networking/subnet.ts | 12 +++--- sdk/nodejs/types/input.ts | 2 +- sdk/nodejs/types/output.ts | 2 +- .../pulumi_openstack/compute/_inputs.py | 8 ++-- .../pulumi_openstack/compute/instance.py | 40 +++++++++---------- .../pulumi_openstack/compute/outputs.py | 4 +- .../pulumi_openstack/loadbalancer/pool_v1.py | 20 +++++----- .../pulumi_openstack/networking/subnet.py | 20 +++++----- 37 files changed, 227 insertions(+), 227 deletions(-) diff --git a/sdk/dotnet/Compute/Instance.cs b/sdk/dotnet/Compute/Instance.cs index 76870f1b..40f40437 100644 --- a/sdk/dotnet/Compute/Instance.cs +++ b/sdk/dotnet/Compute/Instance.cs @@ -557,7 +557,7 @@ public InputList Tags [Input("volumes")] private InputList? _volumes; - [Obsolete(@"Use block_device or openstack_compute_volume_attach_v2 instead")] + [Obsolete(@"Use block_device or openstack.compute.VolumeAttach instead")] public InputList Volumes { get => _volumes ?? (_volumes = new InputList()); @@ -867,7 +867,7 @@ public InputList Tags [Input("volumes")] private InputList? _volumes; - [Obsolete(@"Use block_device or openstack_compute_volume_attach_v2 instead")] + [Obsolete(@"Use block_device or openstack.compute.VolumeAttach instead")] public InputList Volumes { get => _volumes ?? (_volumes = new InputList()); diff --git a/sdk/dotnet/LoadBalancer/PoolV1.cs b/sdk/dotnet/LoadBalancer/PoolV1.cs index eea898db..d2071f26 100644 --- a/sdk/dotnet/LoadBalancer/PoolV1.cs +++ b/sdk/dotnet/LoadBalancer/PoolV1.cs @@ -316,7 +316,7 @@ public sealed class PoolV1Args : global::Pulumi.ResourceArgs /// below. Please note that the `member` block is deprecated in favor of the /// `openstack.loadbalancer.MemberV1` resource. /// - [Obsolete(@"Use openstack_lb_member_v1 instead")] + [Obsolete(@"Use openstack.loadbalancer.MemberV1 instead")] public InputList Members { get => _members ?? (_members = new InputList()); @@ -406,7 +406,7 @@ public sealed class PoolV1State : global::Pulumi.ResourceArgs /// below. Please note that the `member` block is deprecated in favor of the /// `openstack.loadbalancer.MemberV1` resource. /// - [Obsolete(@"Use openstack_lb_member_v1 instead")] + [Obsolete(@"Use openstack.loadbalancer.MemberV1 instead")] public InputList Members { get => _members ?? (_members = new InputList()); diff --git a/sdk/dotnet/Networking/Subnet.cs b/sdk/dotnet/Networking/Subnet.cs index 980ab250..99123633 100644 --- a/sdk/dotnet/Networking/Subnet.cs +++ b/sdk/dotnet/Networking/Subnet.cs @@ -351,7 +351,7 @@ public InputList DnsNameservers /// object structure is documented below. Changing this updates the host routes /// for the existing subnet. /// - [Obsolete(@"Use openstack_networking_subnet_route_v2 instead")] + [Obsolete(@"Use openstack.networking.SubnetRoute instead")] public InputList HostRoutes { get => _hostRoutes ?? (_hostRoutes = new InputList()); @@ -577,7 +577,7 @@ public InputList DnsNameservers /// object structure is documented below. Changing this updates the host routes /// for the existing subnet. /// - [Obsolete(@"Use openstack_networking_subnet_route_v2 instead")] + [Obsolete(@"Use openstack.networking.SubnetRoute instead")] public InputList HostRoutes { get => _hostRoutes ?? (_hostRoutes = new InputList()); diff --git a/sdk/go/openstack/compute/instance.go b/sdk/go/openstack/compute/instance.go index f29ffd5f..a494c258 100644 --- a/sdk/go/openstack/compute/instance.go +++ b/sdk/go/openstack/compute/instance.go @@ -54,7 +54,7 @@ type Instance struct { // The name of the // desired flavor for the server. Changing this resizes the existing server. FlavorName pulumi.StringOutput `pulumi:"flavorName"` - // Deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead + // Deprecated: Use the compute.FloatingIpAssociate resource instead FloatingIp pulumi.StringPtrOutput `pulumi:"floatingIp"` // Whether to force the OpenStack instance to be // forcefully deleted. This is useful for environments that have reclaim / soft @@ -125,7 +125,7 @@ type Instance struct { // Map of additional vendor-specific options. // Supported options are described below. VendorOptions InstanceVendorOptionsPtrOutput `pulumi:"vendorOptions"` - // Deprecated: Use block_device or openstack_compute_volume_attach_v2 instead + // Deprecated: Use blockDevice or compute.VolumeAttach instead Volumes InstanceVolumeArrayOutput `pulumi:"volumes"` } @@ -206,7 +206,7 @@ type instanceState struct { // The name of the // desired flavor for the server. Changing this resizes the existing server. FlavorName *string `pulumi:"flavorName"` - // Deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead + // Deprecated: Use the compute.FloatingIpAssociate resource instead FloatingIp *string `pulumi:"floatingIp"` // Whether to force the OpenStack instance to be // forcefully deleted. This is useful for environments that have reclaim / soft @@ -277,7 +277,7 @@ type instanceState struct { // Map of additional vendor-specific options. // Supported options are described below. VendorOptions *InstanceVendorOptions `pulumi:"vendorOptions"` - // Deprecated: Use block_device or openstack_compute_volume_attach_v2 instead + // Deprecated: Use blockDevice or compute.VolumeAttach instead Volumes []InstanceVolume `pulumi:"volumes"` } @@ -322,7 +322,7 @@ type InstanceState struct { // The name of the // desired flavor for the server. Changing this resizes the existing server. FlavorName pulumi.StringPtrInput - // Deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead + // Deprecated: Use the compute.FloatingIpAssociate resource instead FloatingIp pulumi.StringPtrInput // Whether to force the OpenStack instance to be // forcefully deleted. This is useful for environments that have reclaim / soft @@ -393,7 +393,7 @@ type InstanceState struct { // Map of additional vendor-specific options. // Supported options are described below. VendorOptions InstanceVendorOptionsPtrInput - // Deprecated: Use block_device or openstack_compute_volume_attach_v2 instead + // Deprecated: Use blockDevice or compute.VolumeAttach instead Volumes InstanceVolumeArrayInput } @@ -436,7 +436,7 @@ type instanceArgs struct { // The name of the // desired flavor for the server. Changing this resizes the existing server. FlavorName *string `pulumi:"flavorName"` - // Deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead + // Deprecated: Use the compute.FloatingIpAssociate resource instead FloatingIp *string `pulumi:"floatingIp"` // Whether to force the OpenStack instance to be // forcefully deleted. This is useful for environments that have reclaim / soft @@ -505,7 +505,7 @@ type instanceArgs struct { // Map of additional vendor-specific options. // Supported options are described below. VendorOptions *InstanceVendorOptions `pulumi:"vendorOptions"` - // Deprecated: Use block_device or openstack_compute_volume_attach_v2 instead + // Deprecated: Use blockDevice or compute.VolumeAttach instead Volumes []InstanceVolume `pulumi:"volumes"` } @@ -545,7 +545,7 @@ type InstanceArgs struct { // The name of the // desired flavor for the server. Changing this resizes the existing server. FlavorName pulumi.StringPtrInput - // Deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead + // Deprecated: Use the compute.FloatingIpAssociate resource instead FloatingIp pulumi.StringPtrInput // Whether to force the OpenStack instance to be // forcefully deleted. This is useful for environments that have reclaim / soft @@ -614,7 +614,7 @@ type InstanceArgs struct { // Map of additional vendor-specific options. // Supported options are described below. VendorOptions InstanceVendorOptionsPtrInput - // Deprecated: Use block_device or openstack_compute_volume_attach_v2 instead + // Deprecated: Use blockDevice or compute.VolumeAttach instead Volumes InstanceVolumeArrayInput } @@ -781,7 +781,7 @@ func (o InstanceOutput) FlavorName() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.FlavorName }).(pulumi.StringOutput) } -// Deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead +// Deprecated: Use the compute.FloatingIpAssociate resource instead func (o InstanceOutput) FloatingIp() pulumi.StringPtrOutput { return o.ApplyT(func(v *Instance) pulumi.StringPtrOutput { return v.FloatingIp }).(pulumi.StringPtrOutput) } @@ -909,7 +909,7 @@ func (o InstanceOutput) VendorOptions() InstanceVendorOptionsPtrOutput { return o.ApplyT(func(v *Instance) InstanceVendorOptionsPtrOutput { return v.VendorOptions }).(InstanceVendorOptionsPtrOutput) } -// Deprecated: Use block_device or openstack_compute_volume_attach_v2 instead +// Deprecated: Use blockDevice or compute.VolumeAttach instead func (o InstanceOutput) Volumes() InstanceVolumeArrayOutput { return o.ApplyT(func(v *Instance) InstanceVolumeArrayOutput { return v.Volumes }).(InstanceVolumeArrayOutput) } diff --git a/sdk/go/openstack/compute/pulumiTypes.go b/sdk/go/openstack/compute/pulumiTypes.go index 8222f015..7c441855 100644 --- a/sdk/go/openstack/compute/pulumiTypes.go +++ b/sdk/go/openstack/compute/pulumiTypes.go @@ -271,7 +271,7 @@ type InstanceNetwork struct { // network. Changing this creates a new server. FixedIpV4 *string `pulumi:"fixedIpV4"` FixedIpV6 *string `pulumi:"fixedIpV6"` - // Deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead + // Deprecated: Use the compute.FloatingIpAssociate resource instead FloatingIp *string `pulumi:"floatingIp"` Mac *string `pulumi:"mac"` // The human-readable @@ -304,7 +304,7 @@ type InstanceNetworkArgs struct { // network. Changing this creates a new server. FixedIpV4 pulumi.StringPtrInput `pulumi:"fixedIpV4"` FixedIpV6 pulumi.StringPtrInput `pulumi:"fixedIpV6"` - // Deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead + // Deprecated: Use the compute.FloatingIpAssociate resource instead FloatingIp pulumi.StringPtrInput `pulumi:"floatingIp"` Mac pulumi.StringPtrInput `pulumi:"mac"` // The human-readable @@ -385,7 +385,7 @@ func (o InstanceNetworkOutput) FixedIpV6() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceNetwork) *string { return v.FixedIpV6 }).(pulumi.StringPtrOutput) } -// Deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead +// Deprecated: Use the compute.FloatingIpAssociate resource instead func (o InstanceNetworkOutput) FloatingIp() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceNetwork) *string { return v.FloatingIp }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/openstack/images/image.go b/sdk/go/openstack/images/image.go index 45af27c2..33e39584 100644 --- a/sdk/go/openstack/images/image.go +++ b/sdk/go/openstack/images/image.go @@ -155,7 +155,7 @@ type Image struct { Tags pulumi.StringArrayOutput `pulumi:"tags"` // (**Deprecated** - use `updatedAt` instead) // - // Deprecated: Use updated_at instead + // Deprecated: Use updatedAt instead UpdateAt pulumi.StringOutput `pulumi:"updateAt"` // The date the image was last updated. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` @@ -294,7 +294,7 @@ type imageState struct { Tags []string `pulumi:"tags"` // (**Deprecated** - use `updatedAt` instead) // - // Deprecated: Use updated_at instead + // Deprecated: Use updatedAt instead UpdateAt *string `pulumi:"updateAt"` // The date the image was last updated. UpdatedAt *string `pulumi:"updatedAt"` @@ -391,7 +391,7 @@ type ImageState struct { Tags pulumi.StringArrayInput // (**Deprecated** - use `updatedAt` instead) // - // Deprecated: Use updated_at instead + // Deprecated: Use updatedAt instead UpdateAt pulumi.StringPtrInput // The date the image was last updated. UpdatedAt pulumi.StringPtrInput @@ -792,7 +792,7 @@ func (o ImageOutput) Tags() pulumi.StringArrayOutput { // (**Deprecated** - use `updatedAt` instead) // -// Deprecated: Use updated_at instead +// Deprecated: Use updatedAt instead func (o ImageOutput) UpdateAt() pulumi.StringOutput { return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.UpdateAt }).(pulumi.StringOutput) } diff --git a/sdk/go/openstack/images/imageAccessAccept.go b/sdk/go/openstack/images/imageAccessAccept.go index 9db47c55..2e17b007 100644 --- a/sdk/go/openstack/images/imageAccessAccept.go +++ b/sdk/go/openstack/images/imageAccessAccept.go @@ -41,7 +41,7 @@ import ( // return err // } // _, err = images.NewImageAccessAccept(ctx, "rancherosMember", &images.ImageAccessAcceptArgs{ -// ImageId: *pulumi.String(rancheros.Id), +// ImageId: pulumi.String(rancheros.Id), // Status: pulumi.String("accepted"), // }) // if err != nil { diff --git a/sdk/go/openstack/keymanager/containerV1.go b/sdk/go/openstack/keymanager/containerV1.go index 260eb365..d60b2be4 100644 --- a/sdk/go/openstack/keymanager/containerV1.go +++ b/sdk/go/openstack/keymanager/containerV1.go @@ -96,7 +96,7 @@ import ( // return err // } // lb1, err := loadbalancer.NewLoadBalancer(ctx, "lb1", &loadbalancer.LoadBalancerArgs{ -// VipSubnetId: *pulumi.String(subnet1.Id), +// VipSubnetId: pulumi.String(subnet1.Id), // }) // if err != nil { // return err diff --git a/sdk/go/openstack/loadbalancer/poolV1.go b/sdk/go/openstack/loadbalancer/poolV1.go index 5340008d..ea595a4b 100644 --- a/sdk/go/openstack/loadbalancer/poolV1.go +++ b/sdk/go/openstack/loadbalancer/poolV1.go @@ -206,7 +206,7 @@ type PoolV1 struct { // below. Please note that the `member` block is deprecated in favor of the // `loadbalancer.MemberV1` resource. // - // Deprecated: Use openstack_lb_member_v1 instead + // Deprecated: Use loadbalancer.MemberV1 instead Members pulumi.StringArrayOutput `pulumi:"members"` // A list of IDs of monitors to associate with the // pool. @@ -282,7 +282,7 @@ type poolV1State struct { // below. Please note that the `member` block is deprecated in favor of the // `loadbalancer.MemberV1` resource. // - // Deprecated: Use openstack_lb_member_v1 instead + // Deprecated: Use loadbalancer.MemberV1 instead Members []string `pulumi:"members"` // A list of IDs of monitors to associate with the // pool. @@ -320,7 +320,7 @@ type PoolV1State struct { // below. Please note that the `member` block is deprecated in favor of the // `loadbalancer.MemberV1` resource. // - // Deprecated: Use openstack_lb_member_v1 instead + // Deprecated: Use loadbalancer.MemberV1 instead Members pulumi.StringArrayInput // A list of IDs of monitors to associate with the // pool. @@ -362,7 +362,7 @@ type poolV1Args struct { // below. Please note that the `member` block is deprecated in favor of the // `loadbalancer.MemberV1` resource. // - // Deprecated: Use openstack_lb_member_v1 instead + // Deprecated: Use loadbalancer.MemberV1 instead Members []string `pulumi:"members"` // A list of IDs of monitors to associate with the // pool. @@ -401,7 +401,7 @@ type PoolV1Args struct { // below. Please note that the `member` block is deprecated in favor of the // `loadbalancer.MemberV1` resource. // - // Deprecated: Use openstack_lb_member_v1 instead + // Deprecated: Use loadbalancer.MemberV1 instead Members pulumi.StringArrayInput // A list of IDs of monitors to associate with the // pool. @@ -531,7 +531,7 @@ func (o PoolV1Output) LbProvider() pulumi.StringOutput { // below. Please note that the `member` block is deprecated in favor of the // `loadbalancer.MemberV1` resource. // -// Deprecated: Use openstack_lb_member_v1 instead +// Deprecated: Use loadbalancer.MemberV1 instead func (o PoolV1Output) Members() pulumi.StringArrayOutput { return o.ApplyT(func(v *PoolV1) pulumi.StringArrayOutput { return v.Members }).(pulumi.StringArrayOutput) } diff --git a/sdk/go/openstack/networking/getSubnet.go b/sdk/go/openstack/networking/getSubnet.go index 45ee5c89..a35548d7 100644 --- a/sdk/go/openstack/networking/getSubnet.go +++ b/sdk/go/openstack/networking/getSubnet.go @@ -56,7 +56,7 @@ type LookupSubnetArgs struct { Cidr *string `pulumi:"cidr"` // Human-readable description of the subnet. Description *string `pulumi:"description"` - // Deprecated: use dhcp_enabled instead + // Deprecated: use dhcpEnabled instead DhcpDisabled *bool `pulumi:"dhcpDisabled"` // If the subnet has DHCP enabled. DhcpEnabled *bool `pulumi:"dhcpEnabled"` @@ -96,7 +96,7 @@ type LookupSubnetResult struct { AllocationPools []GetSubnetAllocationPool `pulumi:"allocationPools"` Cidr string `pulumi:"cidr"` Description string `pulumi:"description"` - // Deprecated: use dhcp_enabled instead + // Deprecated: use dhcpEnabled instead DhcpDisabled *bool `pulumi:"dhcpDisabled"` DhcpEnabled *bool `pulumi:"dhcpEnabled"` // DNS Nameservers of the subnet. @@ -142,7 +142,7 @@ type LookupSubnetOutputArgs struct { Cidr pulumi.StringPtrInput `pulumi:"cidr"` // Human-readable description of the subnet. Description pulumi.StringPtrInput `pulumi:"description"` - // Deprecated: use dhcp_enabled instead + // Deprecated: use dhcpEnabled instead DhcpDisabled pulumi.BoolPtrInput `pulumi:"dhcpDisabled"` // If the subnet has DHCP enabled. DhcpEnabled pulumi.BoolPtrInput `pulumi:"dhcpEnabled"` @@ -211,7 +211,7 @@ func (o LookupSubnetResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupSubnetResult) string { return v.Description }).(pulumi.StringOutput) } -// Deprecated: use dhcp_enabled instead +// Deprecated: use dhcpEnabled instead func (o LookupSubnetResultOutput) DhcpDisabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v LookupSubnetResult) *bool { return v.DhcpDisabled }).(pulumi.BoolPtrOutput) } diff --git a/sdk/go/openstack/networking/portSecGroupAssociate.go b/sdk/go/openstack/networking/portSecGroupAssociate.go index e9d949b4..772e835b 100644 --- a/sdk/go/openstack/networking/portSecGroupAssociate.go +++ b/sdk/go/openstack/networking/portSecGroupAssociate.go @@ -42,9 +42,9 @@ import ( // return err // } // _, err = networking.NewPortSecGroupAssociate(ctx, "port1", &networking.PortSecGroupAssociateArgs{ -// PortId: *pulumi.String(systemPort.Id), +// PortId: pulumi.String(systemPort.Id), // SecurityGroupIds: pulumi.StringArray{ -// *pulumi.String(secgroup.Id), +// pulumi.String(secgroup.Id), // }, // }) // if err != nil { @@ -85,10 +85,10 @@ import ( // return err // } // _, err = networking.NewPortSecGroupAssociate(ctx, "port1", &networking.PortSecGroupAssociateArgs{ -// PortId: *pulumi.String(systemPort.Id), +// PortId: pulumi.String(systemPort.Id), // Enforce: pulumi.Bool(true), // SecurityGroupIds: pulumi.StringArray{ -// *pulumi.String(secgroup.Id), +// pulumi.String(secgroup.Id), // }, // }) // if err != nil { @@ -123,7 +123,7 @@ import ( // return err // } // _, err = networking.NewPortSecGroupAssociate(ctx, "port1", &networking.PortSecGroupAssociateArgs{ -// PortId: *pulumi.String(systemPort.Id), +// PortId: pulumi.String(systemPort.Id), // Enforce: pulumi.Bool(true), // SecurityGroupIds: pulumi.StringArray{}, // }) diff --git a/sdk/go/openstack/networking/router.go b/sdk/go/openstack/networking/router.go index 5f3a6390..979d715c 100644 --- a/sdk/go/openstack/networking/router.go +++ b/sdk/go/openstack/networking/router.go @@ -87,7 +87,7 @@ type Router struct { // will be using floating IPs. Changing this updates the external gateway // of an existing router. // - // Deprecated: use external_network_id instead + // Deprecated: use externalNetworkId instead ExternalGateway pulumi.StringOutput `pulumi:"externalGateway"` // The network UUID of an external gateway // for the router. A router with an external gateway is required if any @@ -185,7 +185,7 @@ type routerState struct { // will be using floating IPs. Changing this updates the external gateway // of an existing router. // - // Deprecated: use external_network_id instead + // Deprecated: use externalNetworkId instead ExternalGateway *string `pulumi:"externalGateway"` // The network UUID of an external gateway // for the router. A router with an external gateway is required if any @@ -254,7 +254,7 @@ type RouterState struct { // will be using floating IPs. Changing this updates the external gateway // of an existing router. // - // Deprecated: use external_network_id instead + // Deprecated: use externalNetworkId instead ExternalGateway pulumi.StringPtrInput // The network UUID of an external gateway // for the router. A router with an external gateway is required if any @@ -324,7 +324,7 @@ type routerArgs struct { // will be using floating IPs. Changing this updates the external gateway // of an existing router. // - // Deprecated: use external_network_id instead + // Deprecated: use externalNetworkId instead ExternalGateway *string `pulumi:"externalGateway"` // The network UUID of an external gateway // for the router. A router with an external gateway is required if any @@ -391,7 +391,7 @@ type RouterArgs struct { // will be using floating IPs. Changing this updates the external gateway // of an existing router. // - // Deprecated: use external_network_id instead + // Deprecated: use externalNetworkId instead ExternalGateway pulumi.StringPtrInput // The network UUID of an external gateway // for the router. A router with an external gateway is required if any @@ -567,7 +567,7 @@ func (o RouterOutput) ExternalFixedIps() RouterExternalFixedIpArrayOutput { // will be using floating IPs. Changing this updates the external gateway // of an existing router. // -// Deprecated: use external_network_id instead +// Deprecated: use externalNetworkId instead func (o RouterOutput) ExternalGateway() pulumi.StringOutput { return o.ApplyT(func(v *Router) pulumi.StringOutput { return v.ExternalGateway }).(pulumi.StringOutput) } diff --git a/sdk/go/openstack/networking/subnet.go b/sdk/go/openstack/networking/subnet.go index 3eae6c79..96435051 100644 --- a/sdk/go/openstack/networking/subnet.go +++ b/sdk/go/openstack/networking/subnet.go @@ -73,7 +73,7 @@ type Subnet struct { // use with DHCP in this subnet. // The `allocationPools` block is documented below. // - // Deprecated: use allocation_pool instead + // Deprecated: use allocationPool instead AllocationPoolsCollection SubnetAllocationPoolsCollectionArrayOutput `pulumi:"allocationPoolsCollection"` // CIDR representing IP range for this subnet, based on IP // version. You can omit this option if you are creating a subnet from a @@ -101,7 +101,7 @@ type Subnet struct { // object structure is documented below. Changing this updates the host routes // for the existing subnet. // - // Deprecated: Use openstack_networking_subnet_route_v2 instead + // Deprecated: Use networking.SubnetRoute instead HostRoutes SubnetHostRouteArrayOutput `pulumi:"hostRoutes"` // IP version, either 4 (default) or 6. Changing this creates a // new subnet. @@ -192,7 +192,7 @@ type subnetState struct { // use with DHCP in this subnet. // The `allocationPools` block is documented below. // - // Deprecated: use allocation_pool instead + // Deprecated: use allocationPool instead AllocationPoolsCollection []SubnetAllocationPoolsCollection `pulumi:"allocationPoolsCollection"` // CIDR representing IP range for this subnet, based on IP // version. You can omit this option if you are creating a subnet from a @@ -220,7 +220,7 @@ type subnetState struct { // object structure is documented below. Changing this updates the host routes // for the existing subnet. // - // Deprecated: Use openstack_networking_subnet_route_v2 instead + // Deprecated: Use networking.SubnetRoute instead HostRoutes []SubnetHostRoute `pulumi:"hostRoutes"` // IP version, either 4 (default) or 6. Changing this creates a // new subnet. @@ -279,7 +279,7 @@ type SubnetState struct { // use with DHCP in this subnet. // The `allocationPools` block is documented below. // - // Deprecated: use allocation_pool instead + // Deprecated: use allocationPool instead AllocationPoolsCollection SubnetAllocationPoolsCollectionArrayInput // CIDR representing IP range for this subnet, based on IP // version. You can omit this option if you are creating a subnet from a @@ -307,7 +307,7 @@ type SubnetState struct { // object structure is documented below. Changing this updates the host routes // for the existing subnet. // - // Deprecated: Use openstack_networking_subnet_route_v2 instead + // Deprecated: Use networking.SubnetRoute instead HostRoutes SubnetHostRouteArrayInput // IP version, either 4 (default) or 6. Changing this creates a // new subnet. @@ -367,7 +367,7 @@ type subnetArgs struct { // use with DHCP in this subnet. // The `allocationPools` block is documented below. // - // Deprecated: use allocation_pool instead + // Deprecated: use allocationPool instead AllocationPoolsCollection []SubnetAllocationPoolsCollection `pulumi:"allocationPoolsCollection"` // CIDR representing IP range for this subnet, based on IP // version. You can omit this option if you are creating a subnet from a @@ -395,7 +395,7 @@ type subnetArgs struct { // object structure is documented below. Changing this updates the host routes // for the existing subnet. // - // Deprecated: Use openstack_networking_subnet_route_v2 instead + // Deprecated: Use networking.SubnetRoute instead HostRoutes []SubnetHostRoute `pulumi:"hostRoutes"` // IP version, either 4 (default) or 6. Changing this creates a // new subnet. @@ -452,7 +452,7 @@ type SubnetArgs struct { // use with DHCP in this subnet. // The `allocationPools` block is documented below. // - // Deprecated: use allocation_pool instead + // Deprecated: use allocationPool instead AllocationPoolsCollection SubnetAllocationPoolsCollectionArrayInput // CIDR representing IP range for this subnet, based on IP // version. You can omit this option if you are creating a subnet from a @@ -480,7 +480,7 @@ type SubnetArgs struct { // object structure is documented below. Changing this updates the host routes // for the existing subnet. // - // Deprecated: Use openstack_networking_subnet_route_v2 instead + // Deprecated: Use networking.SubnetRoute instead HostRoutes SubnetHostRouteArrayInput // IP version, either 4 (default) or 6. Changing this creates a // new subnet. @@ -631,7 +631,7 @@ func (o SubnetOutput) AllocationPools() SubnetAllocationPoolArrayOutput { // use with DHCP in this subnet. // The `allocationPools` block is documented below. // -// Deprecated: use allocation_pool instead +// Deprecated: use allocationPool instead func (o SubnetOutput) AllocationPoolsCollection() SubnetAllocationPoolsCollectionArrayOutput { return o.ApplyT(func(v *Subnet) SubnetAllocationPoolsCollectionArrayOutput { return v.AllocationPoolsCollection }).(SubnetAllocationPoolsCollectionArrayOutput) } @@ -677,7 +677,7 @@ func (o SubnetOutput) GatewayIp() pulumi.StringOutput { // object structure is documented below. Changing this updates the host routes // for the existing subnet. // -// Deprecated: Use openstack_networking_subnet_route_v2 instead +// Deprecated: Use networking.SubnetRoute instead func (o SubnetOutput) HostRoutes() SubnetHostRouteArrayOutput { return o.ApplyT(func(v *Subnet) SubnetHostRouteArrayOutput { return v.HostRoutes }).(SubnetHostRouteArrayOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/openstack/compute/Instance.java b/sdk/java/src/main/java/com/pulumi/openstack/compute/Instance.java index 4c82f569..b778df11 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/compute/Instance.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/compute/Instance.java @@ -222,10 +222,10 @@ public Output flavorName() { } /** * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ @Export(name="floatingIp", refs={String.class}, tree="[0]") private Output floatingIp; @@ -552,10 +552,10 @@ public Output> vendorOptions() { } /** * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ @Export(name="volumes", refs={List.class,InstanceVolume.class}, tree="[0,1]") private Output> volumes; diff --git a/sdk/java/src/main/java/com/pulumi/openstack/compute/InstanceArgs.java b/sdk/java/src/main/java/com/pulumi/openstack/compute/InstanceArgs.java index 1c61b694..bbbdd703 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/compute/InstanceArgs.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/compute/InstanceArgs.java @@ -194,19 +194,19 @@ public Optional> flavorName() { /** * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ @Import(name="floatingIp") private @Nullable Output floatingIp; /** * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ public Optional> floatingIp() { return Optional.ofNullable(this.floatingIp); } @@ -534,19 +534,19 @@ public Optional> vendorOptions() { /** * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ @Import(name="volumes") private @Nullable Output> volumes; /** * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ public Optional>> volumes() { return Optional.ofNullable(this.volumes); } @@ -842,10 +842,10 @@ public Builder flavorName(String flavorName) { * @return builder * * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ public Builder floatingIp(@Nullable Output floatingIp) { $.floatingIp = floatingIp; return this; @@ -855,10 +855,10 @@ public Builder floatingIp(@Nullable Output floatingIp) { * @return builder * * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ public Builder floatingIp(String floatingIp) { return floatingIp(Output.of(floatingIp)); } @@ -1351,10 +1351,10 @@ public Builder vendorOptions(InstanceVendorOptionsArgs vendorOptions) { * @return builder * * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ public Builder volumes(@Nullable Output> volumes) { $.volumes = volumes; return this; @@ -1364,10 +1364,10 @@ public Builder volumes(@Nullable Output> volumes) { * @return builder * * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ public Builder volumes(List volumes) { return volumes(Output.of(volumes)); } @@ -1376,10 +1376,10 @@ public Builder volumes(List volumes) { * @return builder * * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ public Builder volumes(InstanceVolumeArgs... volumes) { return volumes(List.of(volumes)); } diff --git a/sdk/java/src/main/java/com/pulumi/openstack/compute/inputs/InstanceNetworkArgs.java b/sdk/java/src/main/java/com/pulumi/openstack/compute/inputs/InstanceNetworkArgs.java index 9965dc84..b79d6643 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/compute/inputs/InstanceNetworkArgs.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/compute/inputs/InstanceNetworkArgs.java @@ -59,19 +59,19 @@ public Optional> fixedIpV6() { /** * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ @Import(name="floatingIp") private @Nullable Output floatingIp; /** * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ public Optional> floatingIp() { return Optional.ofNullable(this.floatingIp); } @@ -224,10 +224,10 @@ public Builder fixedIpV6(String fixedIpV6) { * @return builder * * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ public Builder floatingIp(@Nullable Output floatingIp) { $.floatingIp = floatingIp; return this; @@ -237,10 +237,10 @@ public Builder floatingIp(@Nullable Output floatingIp) { * @return builder * * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ public Builder floatingIp(String floatingIp) { return floatingIp(Output.of(floatingIp)); } diff --git a/sdk/java/src/main/java/com/pulumi/openstack/compute/inputs/InstanceState.java b/sdk/java/src/main/java/com/pulumi/openstack/compute/inputs/InstanceState.java index b13d4aed..3dac6a2b 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/compute/inputs/InstanceState.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/compute/inputs/InstanceState.java @@ -233,19 +233,19 @@ public Optional> flavorName() { /** * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ @Import(name="floatingIp") private @Nullable Output floatingIp; /** * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ public Optional> floatingIp() { return Optional.ofNullable(this.floatingIp); } @@ -588,19 +588,19 @@ public Optional> vendorOptions() { /** * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ @Import(name="volumes") private @Nullable Output> volumes; /** * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ public Optional>> volumes() { return Optional.ofNullable(this.volumes); } @@ -964,10 +964,10 @@ public Builder flavorName(String flavorName) { * @return builder * * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ public Builder floatingIp(@Nullable Output floatingIp) { $.floatingIp = floatingIp; return this; @@ -977,10 +977,10 @@ public Builder floatingIp(@Nullable Output floatingIp) { * @return builder * * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ public Builder floatingIp(String floatingIp) { return floatingIp(Output.of(floatingIp)); } @@ -1494,10 +1494,10 @@ public Builder vendorOptions(InstanceVendorOptionsArgs vendorOptions) { * @return builder * * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ public Builder volumes(@Nullable Output> volumes) { $.volumes = volumes; return this; @@ -1507,10 +1507,10 @@ public Builder volumes(@Nullable Output> volumes) { * @return builder * * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ public Builder volumes(List volumes) { return volumes(Output.of(volumes)); } @@ -1519,10 +1519,10 @@ public Builder volumes(List volumes) { * @return builder * * @deprecated - * Use block_device or openstack_compute_volume_attach_v2 instead + * Use block_device or openstack.compute.VolumeAttach instead * */ - @Deprecated /* Use block_device or openstack_compute_volume_attach_v2 instead */ + @Deprecated /* Use block_device or openstack.compute.VolumeAttach instead */ public Builder volumes(InstanceVolumeArgs... volumes) { return volumes(List.of(volumes)); } diff --git a/sdk/java/src/main/java/com/pulumi/openstack/compute/outputs/InstanceNetwork.java b/sdk/java/src/main/java/com/pulumi/openstack/compute/outputs/InstanceNetwork.java index d9b051f7..d7a769cc 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/compute/outputs/InstanceNetwork.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/compute/outputs/InstanceNetwork.java @@ -27,10 +27,10 @@ public final class InstanceNetwork { private @Nullable String fixedIpV6; /** * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ private @Nullable String floatingIp; private @Nullable String mac; /** @@ -74,10 +74,10 @@ public Optional fixedIpV6() { } /** * @deprecated - * Use the openstack_compute_floatingip_associate_v2 resource instead + * Use the openstack.compute.FloatingIpAssociate resource instead * */ - @Deprecated /* Use the openstack_compute_floatingip_associate_v2 resource instead */ + @Deprecated /* Use the openstack.compute.FloatingIpAssociate resource instead */ public Optional floatingIp() { return Optional.ofNullable(this.floatingIp); } diff --git a/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/PoolV1.java b/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/PoolV1.java index 50db5482..8c6326ac 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/PoolV1.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/PoolV1.java @@ -116,10 +116,10 @@ public Output lbProvider() { * `openstack.loadbalancer.MemberV1` resource. * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ @Export(name="members", refs={List.class,String.class}, tree="[0,1]") private Output> members; diff --git a/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/PoolV1Args.java b/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/PoolV1Args.java index 42f9085b..bed3e7fb 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/PoolV1Args.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/PoolV1Args.java @@ -60,10 +60,10 @@ public Optional> lbProvider() { * `openstack.loadbalancer.MemberV1` resource. * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ @Import(name="members") private @Nullable Output> members; @@ -74,10 +74,10 @@ public Optional> lbProvider() { * `openstack.loadbalancer.MemberV1` resource. * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ public Optional>> members() { return Optional.ofNullable(this.members); } @@ -279,10 +279,10 @@ public Builder lbProvider(String lbProvider) { * @return builder * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ public Builder members(@Nullable Output> members) { $.members = members; return this; @@ -297,10 +297,10 @@ public Builder members(@Nullable Output> members) { * @return builder * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ public Builder members(List members) { return members(Output.of(members)); } @@ -314,10 +314,10 @@ public Builder members(List members) { * @return builder * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ public Builder members(String... members) { return members(List.of(members)); } diff --git a/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/inputs/PoolV1State.java b/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/inputs/PoolV1State.java index 94f39d9f..e615fed6 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/inputs/PoolV1State.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/loadbalancer/inputs/PoolV1State.java @@ -59,10 +59,10 @@ public Optional> lbProvider() { * `openstack.loadbalancer.MemberV1` resource. * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ @Import(name="members") private @Nullable Output> members; @@ -73,10 +73,10 @@ public Optional> lbProvider() { * `openstack.loadbalancer.MemberV1` resource. * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ public Optional>> members() { return Optional.ofNullable(this.members); } @@ -278,10 +278,10 @@ public Builder lbProvider(String lbProvider) { * @return builder * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ public Builder members(@Nullable Output> members) { $.members = members; return this; @@ -296,10 +296,10 @@ public Builder members(@Nullable Output> members) { * @return builder * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ public Builder members(List members) { return members(Output.of(members)); } @@ -313,10 +313,10 @@ public Builder members(List members) { * @return builder * * @deprecated - * Use openstack_lb_member_v1 instead + * Use openstack.loadbalancer.MemberV1 instead * */ - @Deprecated /* Use openstack_lb_member_v1 instead */ + @Deprecated /* Use openstack.loadbalancer.MemberV1 instead */ public Builder members(String... members) { return members(List.of(members)); } diff --git a/sdk/java/src/main/java/com/pulumi/openstack/networking/Subnet.java b/sdk/java/src/main/java/com/pulumi/openstack/networking/Subnet.java index be29c3a0..cdbc9e85 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/networking/Subnet.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/networking/Subnet.java @@ -236,10 +236,10 @@ public Output gatewayIp() { * for the existing subnet. * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ @Export(name="hostRoutes", refs={List.class,SubnetHostRoute.class}, tree="[0,1]") private Output> hostRoutes; diff --git a/sdk/java/src/main/java/com/pulumi/openstack/networking/SubnetArgs.java b/sdk/java/src/main/java/com/pulumi/openstack/networking/SubnetArgs.java index 9cbe4d74..0c130bc8 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/networking/SubnetArgs.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/networking/SubnetArgs.java @@ -179,10 +179,10 @@ public Optional> gatewayIp() { * for the existing subnet. * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ @Import(name="hostRoutes") private @Nullable Output> hostRoutes; @@ -194,10 +194,10 @@ public Optional> gatewayIp() { * for the existing subnet. * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ public Optional>> hostRoutes() { return Optional.ofNullable(this.hostRoutes); } @@ -711,10 +711,10 @@ public Builder gatewayIp(String gatewayIp) { * @return builder * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ public Builder hostRoutes(@Nullable Output> hostRoutes) { $.hostRoutes = hostRoutes; return this; @@ -730,10 +730,10 @@ public Builder hostRoutes(@Nullable Output> hostRoutes * @return builder * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ public Builder hostRoutes(List hostRoutes) { return hostRoutes(Output.of(hostRoutes)); } @@ -748,10 +748,10 @@ public Builder hostRoutes(List hostRoutes) { * @return builder * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ public Builder hostRoutes(SubnetHostRouteArgs... hostRoutes) { return hostRoutes(List.of(hostRoutes)); } diff --git a/sdk/java/src/main/java/com/pulumi/openstack/networking/inputs/SubnetState.java b/sdk/java/src/main/java/com/pulumi/openstack/networking/inputs/SubnetState.java index 4ac3fc08..9734c255 100644 --- a/sdk/java/src/main/java/com/pulumi/openstack/networking/inputs/SubnetState.java +++ b/sdk/java/src/main/java/com/pulumi/openstack/networking/inputs/SubnetState.java @@ -195,10 +195,10 @@ public Optional> gatewayIp() { * for the existing subnet. * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ @Import(name="hostRoutes") private @Nullable Output> hostRoutes; @@ -210,10 +210,10 @@ public Optional> gatewayIp() { * for the existing subnet. * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ public Optional>> hostRoutes() { return Optional.ofNullable(this.hostRoutes); } @@ -762,10 +762,10 @@ public Builder gatewayIp(String gatewayIp) { * @return builder * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ public Builder hostRoutes(@Nullable Output> hostRoutes) { $.hostRoutes = hostRoutes; return this; @@ -781,10 +781,10 @@ public Builder hostRoutes(@Nullable Output> hostRoutes * @return builder * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ public Builder hostRoutes(List hostRoutes) { return hostRoutes(Output.of(hostRoutes)); } @@ -799,10 +799,10 @@ public Builder hostRoutes(List hostRoutes) { * @return builder * * @deprecated - * Use openstack_networking_subnet_route_v2 instead + * Use openstack.networking.SubnetRoute instead * */ - @Deprecated /* Use openstack_networking_subnet_route_v2 instead */ + @Deprecated /* Use openstack.networking.SubnetRoute instead */ public Builder hostRoutes(SubnetHostRouteArgs... hostRoutes) { return hostRoutes(List.of(hostRoutes)); } diff --git a/sdk/nodejs/compute/instance.ts b/sdk/nodejs/compute/instance.ts index 850ae798..df5478aa 100644 --- a/sdk/nodejs/compute/instance.ts +++ b/sdk/nodejs/compute/instance.ts @@ -97,7 +97,7 @@ export class Instance extends pulumi.CustomResource { */ public readonly flavorName!: pulumi.Output; /** - * @deprecated Use the openstack_compute_floatingip_associate_v2 resource instead + * @deprecated Use the openstack.compute.FloatingIpAssociate resource instead */ public readonly floatingIp!: pulumi.Output; /** @@ -206,7 +206,7 @@ export class Instance extends pulumi.CustomResource { */ public readonly vendorOptions!: pulumi.Output; /** - * @deprecated Use block_device or openstack_compute_volume_attach_v2 instead + * @deprecated Use blockDevice or openstack.compute.VolumeAttach instead */ public readonly volumes!: pulumi.Output; @@ -364,7 +364,7 @@ export interface InstanceState { */ flavorName?: pulumi.Input; /** - * @deprecated Use the openstack_compute_floatingip_associate_v2 resource instead + * @deprecated Use the openstack.compute.FloatingIpAssociate resource instead */ floatingIp?: pulumi.Input; /** @@ -473,7 +473,7 @@ export interface InstanceState { */ vendorOptions?: pulumi.Input; /** - * @deprecated Use block_device or openstack_compute_volume_attach_v2 instead + * @deprecated Use blockDevice or openstack.compute.VolumeAttach instead */ volumes?: pulumi.Input[]>; } @@ -535,7 +535,7 @@ export interface InstanceArgs { */ flavorName?: pulumi.Input; /** - * @deprecated Use the openstack_compute_floatingip_associate_v2 resource instead + * @deprecated Use the openstack.compute.FloatingIpAssociate resource instead */ floatingIp?: pulumi.Input; /** @@ -640,7 +640,7 @@ export interface InstanceArgs { */ vendorOptions?: pulumi.Input; /** - * @deprecated Use block_device or openstack_compute_volume_attach_v2 instead + * @deprecated Use blockDevice or openstack.compute.VolumeAttach instead */ volumes?: pulumi.Input[]>; } diff --git a/sdk/nodejs/images/image.ts b/sdk/nodejs/images/image.ts index b21837fe..32b73165 100644 --- a/sdk/nodejs/images/image.ts +++ b/sdk/nodejs/images/image.ts @@ -208,7 +208,7 @@ export class Image extends pulumi.CustomResource { /** * (**Deprecated** - use `updatedAt` instead) * - * @deprecated Use updated_at instead + * @deprecated Use updatedAt instead */ public /*out*/ readonly updateAt!: pulumi.Output; /** @@ -454,7 +454,7 @@ export interface ImageState { /** * (**Deprecated** - use `updatedAt` instead) * - * @deprecated Use updated_at instead + * @deprecated Use updatedAt instead */ updateAt?: pulumi.Input; /** diff --git a/sdk/nodejs/loadbalancer/poolV1.ts b/sdk/nodejs/loadbalancer/poolV1.ts index 462ef0cb..c80b3bf1 100644 --- a/sdk/nodejs/loadbalancer/poolV1.ts +++ b/sdk/nodejs/loadbalancer/poolV1.ts @@ -161,7 +161,7 @@ export class PoolV1 extends pulumi.CustomResource { * below. Please note that the `member` block is deprecated in favor of the * `openstack.loadbalancer.MemberV1` resource. * - * @deprecated Use openstack_lb_member_v1 instead + * @deprecated Use openstack.loadbalancer.MemberV1 instead */ public readonly members!: pulumi.Output; /** @@ -267,7 +267,7 @@ export interface PoolV1State { * below. Please note that the `member` block is deprecated in favor of the * `openstack.loadbalancer.MemberV1` resource. * - * @deprecated Use openstack_lb_member_v1 instead + * @deprecated Use openstack.loadbalancer.MemberV1 instead */ members?: pulumi.Input[]>; /** @@ -326,7 +326,7 @@ export interface PoolV1Args { * below. Please note that the `member` block is deprecated in favor of the * `openstack.loadbalancer.MemberV1` resource. * - * @deprecated Use openstack_lb_member_v1 instead + * @deprecated Use openstack.loadbalancer.MemberV1 instead */ members?: pulumi.Input[]>; /** diff --git a/sdk/nodejs/networking/getSubnet.ts b/sdk/nodejs/networking/getSubnet.ts index e1d2920d..21fc3000 100644 --- a/sdk/nodejs/networking/getSubnet.ts +++ b/sdk/nodejs/networking/getSubnet.ts @@ -58,7 +58,7 @@ export interface GetSubnetArgs { */ description?: string; /** - * @deprecated use dhcp_enabled instead + * @deprecated use dhcpEnabled instead */ dhcpDisabled?: boolean; /** @@ -130,7 +130,7 @@ export interface GetSubnetResult { readonly cidr: string; readonly description: string; /** - * @deprecated use dhcp_enabled instead + * @deprecated use dhcpEnabled instead */ readonly dhcpDisabled?: boolean; readonly dhcpEnabled?: boolean; @@ -202,7 +202,7 @@ export interface GetSubnetOutputArgs { */ description?: pulumi.Input; /** - * @deprecated use dhcp_enabled instead + * @deprecated use dhcpEnabled instead */ dhcpDisabled?: pulumi.Input; /** diff --git a/sdk/nodejs/networking/router.ts b/sdk/nodejs/networking/router.ts index 640df11d..f6d3f1e4 100644 --- a/sdk/nodejs/networking/router.ts +++ b/sdk/nodejs/networking/router.ts @@ -109,7 +109,7 @@ export class Router extends pulumi.CustomResource { * will be using floating IPs. Changing this updates the external gateway * of an existing router. * - * @deprecated use external_network_id instead + * @deprecated use externalNetworkId instead */ public readonly externalGateway!: pulumi.Output; /** @@ -265,7 +265,7 @@ export interface RouterState { * will be using floating IPs. Changing this updates the external gateway * of an existing router. * - * @deprecated use external_network_id instead + * @deprecated use externalNetworkId instead */ externalGateway?: pulumi.Input; /** @@ -364,7 +364,7 @@ export interface RouterArgs { * will be using floating IPs. Changing this updates the external gateway * of an existing router. * - * @deprecated use external_network_id instead + * @deprecated use externalNetworkId instead */ externalGateway?: pulumi.Input; /** diff --git a/sdk/nodejs/networking/subnet.ts b/sdk/nodejs/networking/subnet.ts index 4a1a9ffb..f1bfb4c8 100644 --- a/sdk/nodejs/networking/subnet.ts +++ b/sdk/nodejs/networking/subnet.ts @@ -79,7 +79,7 @@ export class Subnet extends pulumi.CustomResource { * use with DHCP in this subnet. * The `allocationPools` block is documented below. * - * @deprecated use allocation_pool instead + * @deprecated use allocationPool instead */ public readonly allocationPoolsCollection!: pulumi.Output; /** @@ -119,7 +119,7 @@ export class Subnet extends pulumi.CustomResource { * object structure is documented below. Changing this updates the host routes * for the existing subnet. * - * @deprecated Use openstack_networking_subnet_route_v2 instead + * @deprecated Use openstack.networking.SubnetRoute instead */ public readonly hostRoutes!: pulumi.Output; /** @@ -280,7 +280,7 @@ export interface SubnetState { * use with DHCP in this subnet. * The `allocationPools` block is documented below. * - * @deprecated use allocation_pool instead + * @deprecated use allocationPool instead */ allocationPoolsCollection?: pulumi.Input[]>; /** @@ -320,7 +320,7 @@ export interface SubnetState { * object structure is documented below. Changing this updates the host routes * for the existing subnet. * - * @deprecated Use openstack_networking_subnet_route_v2 instead + * @deprecated Use openstack.networking.SubnetRoute instead */ hostRoutes?: pulumi.Input[]>; /** @@ -409,7 +409,7 @@ export interface SubnetArgs { * use with DHCP in this subnet. * The `allocationPools` block is documented below. * - * @deprecated use allocation_pool instead + * @deprecated use allocationPool instead */ allocationPoolsCollection?: pulumi.Input[]>; /** @@ -449,7 +449,7 @@ export interface SubnetArgs { * object structure is documented below. Changing this updates the host routes * for the existing subnet. * - * @deprecated Use openstack_networking_subnet_route_v2 instead + * @deprecated Use openstack.networking.SubnetRoute instead */ hostRoutes?: pulumi.Input[]>; /** diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 4c453793..cbcefeeb 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -225,7 +225,7 @@ export namespace compute { fixedIpV4?: pulumi.Input; fixedIpV6?: pulumi.Input; /** - * @deprecated Use the openstack_compute_floatingip_associate_v2 resource instead + * @deprecated Use the openstack.compute.FloatingIpAssociate resource instead */ floatingIp?: pulumi.Input; mac?: pulumi.Input; diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 92fe8dfa..6094a3a6 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -205,7 +205,7 @@ export namespace compute { fixedIpV4: string; fixedIpV6: string; /** - * @deprecated Use the openstack_compute_floatingip_associate_v2 resource instead + * @deprecated Use the openstack.compute.FloatingIpAssociate resource instead */ floatingIp: string; mac: string; diff --git a/sdk/python/pulumi_openstack/compute/_inputs.py b/sdk/python/pulumi_openstack/compute/_inputs.py index 3a584a36..3495009f 100644 --- a/sdk/python/pulumi_openstack/compute/_inputs.py +++ b/sdk/python/pulumi_openstack/compute/_inputs.py @@ -276,8 +276,8 @@ def __init__(__self__, *, if fixed_ip_v6 is not None: pulumi.set(__self__, "fixed_ip_v6", fixed_ip_v6) if floating_ip is not None: - warnings.warn("""Use the openstack_compute_floatingip_associate_v2 resource instead""", DeprecationWarning) - pulumi.log.warn("""floating_ip is deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead""") + warnings.warn("""Use the compute.FloatingIpAssociate resource instead""", DeprecationWarning) + pulumi.log.warn("""floating_ip is deprecated: Use the compute.FloatingIpAssociate resource instead""") if floating_ip is not None: pulumi.set(__self__, "floating_ip", floating_ip) if mac is not None: @@ -327,8 +327,8 @@ def fixed_ip_v6(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="floatingIp") def floating_ip(self) -> Optional[pulumi.Input[str]]: - warnings.warn("""Use the openstack_compute_floatingip_associate_v2 resource instead""", DeprecationWarning) - pulumi.log.warn("""floating_ip is deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead""") + warnings.warn("""Use the compute.FloatingIpAssociate resource instead""", DeprecationWarning) + pulumi.log.warn("""floating_ip is deprecated: Use the compute.FloatingIpAssociate resource instead""") return pulumi.get(self, "floating_ip") diff --git a/sdk/python/pulumi_openstack/compute/instance.py b/sdk/python/pulumi_openstack/compute/instance.py index 3716d9eb..f206dd7b 100644 --- a/sdk/python/pulumi_openstack/compute/instance.py +++ b/sdk/python/pulumi_openstack/compute/instance.py @@ -141,8 +141,8 @@ def __init__(__self__, *, if flavor_name is not None: pulumi.set(__self__, "flavor_name", flavor_name) if floating_ip is not None: - warnings.warn("""Use the openstack_compute_floatingip_associate_v2 resource instead""", DeprecationWarning) - pulumi.log.warn("""floating_ip is deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead""") + warnings.warn("""Use the compute.FloatingIpAssociate resource instead""", DeprecationWarning) + pulumi.log.warn("""floating_ip is deprecated: Use the compute.FloatingIpAssociate resource instead""") if floating_ip is not None: pulumi.set(__self__, "floating_ip", floating_ip) if force_delete is not None: @@ -180,8 +180,8 @@ def __init__(__self__, *, if vendor_options is not None: pulumi.set(__self__, "vendor_options", vendor_options) if volumes is not None: - warnings.warn("""Use block_device or openstack_compute_volume_attach_v2 instead""", DeprecationWarning) - pulumi.log.warn("""volumes is deprecated: Use block_device or openstack_compute_volume_attach_v2 instead""") + warnings.warn("""Use block_device or compute.VolumeAttach instead""", DeprecationWarning) + pulumi.log.warn("""volumes is deprecated: Use block_device or compute.VolumeAttach instead""") if volumes is not None: pulumi.set(__self__, "volumes", volumes) @@ -312,8 +312,8 @@ def flavor_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="floatingIp") def floating_ip(self) -> Optional[pulumi.Input[str]]: - warnings.warn("""Use the openstack_compute_floatingip_associate_v2 resource instead""", DeprecationWarning) - pulumi.log.warn("""floating_ip is deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead""") + warnings.warn("""Use the compute.FloatingIpAssociate resource instead""", DeprecationWarning) + pulumi.log.warn("""floating_ip is deprecated: Use the compute.FloatingIpAssociate resource instead""") return pulumi.get(self, "floating_ip") @@ -561,8 +561,8 @@ def vendor_options(self, value: Optional[pulumi.Input['InstanceVendorOptionsArgs @property @pulumi.getter def volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceVolumeArgs']]]]: - warnings.warn("""Use block_device or openstack_compute_volume_attach_v2 instead""", DeprecationWarning) - pulumi.log.warn("""volumes is deprecated: Use block_device or openstack_compute_volume_attach_v2 instead""") + warnings.warn("""Use block_device or compute.VolumeAttach instead""", DeprecationWarning) + pulumi.log.warn("""volumes is deprecated: Use block_device or compute.VolumeAttach instead""") return pulumi.get(self, "volumes") @@ -713,8 +713,8 @@ def __init__(__self__, *, if flavor_name is not None: pulumi.set(__self__, "flavor_name", flavor_name) if floating_ip is not None: - warnings.warn("""Use the openstack_compute_floatingip_associate_v2 resource instead""", DeprecationWarning) - pulumi.log.warn("""floating_ip is deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead""") + warnings.warn("""Use the compute.FloatingIpAssociate resource instead""", DeprecationWarning) + pulumi.log.warn("""floating_ip is deprecated: Use the compute.FloatingIpAssociate resource instead""") if floating_ip is not None: pulumi.set(__self__, "floating_ip", floating_ip) if force_delete is not None: @@ -754,8 +754,8 @@ def __init__(__self__, *, if vendor_options is not None: pulumi.set(__self__, "vendor_options", vendor_options) if volumes is not None: - warnings.warn("""Use block_device or openstack_compute_volume_attach_v2 instead""", DeprecationWarning) - pulumi.log.warn("""volumes is deprecated: Use block_device or openstack_compute_volume_attach_v2 instead""") + warnings.warn("""Use block_device or compute.VolumeAttach instead""", DeprecationWarning) + pulumi.log.warn("""volumes is deprecated: Use block_device or compute.VolumeAttach instead""") if volumes is not None: pulumi.set(__self__, "volumes", volumes) @@ -920,8 +920,8 @@ def flavor_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="floatingIp") def floating_ip(self) -> Optional[pulumi.Input[str]]: - warnings.warn("""Use the openstack_compute_floatingip_associate_v2 resource instead""", DeprecationWarning) - pulumi.log.warn("""floating_ip is deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead""") + warnings.warn("""Use the compute.FloatingIpAssociate resource instead""", DeprecationWarning) + pulumi.log.warn("""floating_ip is deprecated: Use the compute.FloatingIpAssociate resource instead""") return pulumi.get(self, "floating_ip") @@ -1181,8 +1181,8 @@ def vendor_options(self, value: Optional[pulumi.Input['InstanceVendorOptionsArgs @property @pulumi.getter def volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceVolumeArgs']]]]: - warnings.warn("""Use block_device or openstack_compute_volume_attach_v2 instead""", DeprecationWarning) - pulumi.log.warn("""volumes is deprecated: Use block_device or openstack_compute_volume_attach_v2 instead""") + warnings.warn("""Use block_device or compute.VolumeAttach instead""", DeprecationWarning) + pulumi.log.warn("""volumes is deprecated: Use block_device or compute.VolumeAttach instead""") return pulumi.get(self, "volumes") @@ -1679,8 +1679,8 @@ def flavor_name(self) -> pulumi.Output[str]: @property @pulumi.getter(name="floatingIp") def floating_ip(self) -> pulumi.Output[Optional[str]]: - warnings.warn("""Use the openstack_compute_floatingip_associate_v2 resource instead""", DeprecationWarning) - pulumi.log.warn("""floating_ip is deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead""") + warnings.warn("""Use the compute.FloatingIpAssociate resource instead""", DeprecationWarning) + pulumi.log.warn("""floating_ip is deprecated: Use the compute.FloatingIpAssociate resource instead""") return pulumi.get(self, "floating_ip") @@ -1864,8 +1864,8 @@ def vendor_options(self) -> pulumi.Output[Optional['outputs.InstanceVendorOption @property @pulumi.getter def volumes(self) -> pulumi.Output[Optional[Sequence['outputs.InstanceVolume']]]: - warnings.warn("""Use block_device or openstack_compute_volume_attach_v2 instead""", DeprecationWarning) - pulumi.log.warn("""volumes is deprecated: Use block_device or openstack_compute_volume_attach_v2 instead""") + warnings.warn("""Use block_device or compute.VolumeAttach instead""", DeprecationWarning) + pulumi.log.warn("""volumes is deprecated: Use block_device or compute.VolumeAttach instead""") return pulumi.get(self, "volumes") diff --git a/sdk/python/pulumi_openstack/compute/outputs.py b/sdk/python/pulumi_openstack/compute/outputs.py index 85b7e481..38a9d793 100644 --- a/sdk/python/pulumi_openstack/compute/outputs.py +++ b/sdk/python/pulumi_openstack/compute/outputs.py @@ -324,8 +324,8 @@ def fixed_ip_v6(self) -> Optional[str]: @property @pulumi.getter(name="floatingIp") def floating_ip(self) -> Optional[str]: - warnings.warn("""Use the openstack_compute_floatingip_associate_v2 resource instead""", DeprecationWarning) - pulumi.log.warn("""floating_ip is deprecated: Use the openstack_compute_floatingip_associate_v2 resource instead""") + warnings.warn("""Use the compute.FloatingIpAssociate resource instead""", DeprecationWarning) + pulumi.log.warn("""floating_ip is deprecated: Use the compute.FloatingIpAssociate resource instead""") return pulumi.get(self, "floating_ip") diff --git a/sdk/python/pulumi_openstack/loadbalancer/pool_v1.py b/sdk/python/pulumi_openstack/loadbalancer/pool_v1.py index 101388b2..42cbc89b 100644 --- a/sdk/python/pulumi_openstack/loadbalancer/pool_v1.py +++ b/sdk/python/pulumi_openstack/loadbalancer/pool_v1.py @@ -56,8 +56,8 @@ def __init__(__self__, *, if lb_provider is not None: pulumi.set(__self__, "lb_provider", lb_provider) if members is not None: - warnings.warn("""Use openstack_lb_member_v1 instead""", DeprecationWarning) - pulumi.log.warn("""members is deprecated: Use openstack_lb_member_v1 instead""") + warnings.warn("""Use loadbalancer.MemberV1 instead""", DeprecationWarning) + pulumi.log.warn("""members is deprecated: Use loadbalancer.MemberV1 instead""") if members is not None: pulumi.set(__self__, "members", members) if monitor_ids is not None: @@ -132,8 +132,8 @@ def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: below. Please note that the `member` block is deprecated in favor of the `loadbalancer.MemberV1` resource. """ - warnings.warn("""Use openstack_lb_member_v1 instead""", DeprecationWarning) - pulumi.log.warn("""members is deprecated: Use openstack_lb_member_v1 instead""") + warnings.warn("""Use loadbalancer.MemberV1 instead""", DeprecationWarning) + pulumi.log.warn("""members is deprecated: Use loadbalancer.MemberV1 instead""") return pulumi.get(self, "members") @@ -240,8 +240,8 @@ def __init__(__self__, *, if lb_provider is not None: pulumi.set(__self__, "lb_provider", lb_provider) if members is not None: - warnings.warn("""Use openstack_lb_member_v1 instead""", DeprecationWarning) - pulumi.log.warn("""members is deprecated: Use openstack_lb_member_v1 instead""") + warnings.warn("""Use loadbalancer.MemberV1 instead""", DeprecationWarning) + pulumi.log.warn("""members is deprecated: Use loadbalancer.MemberV1 instead""") if members is not None: pulumi.set(__self__, "members", members) if monitor_ids is not None: @@ -293,8 +293,8 @@ def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: below. Please note that the `member` block is deprecated in favor of the `loadbalancer.MemberV1` resource. """ - warnings.warn("""Use openstack_lb_member_v1 instead""", DeprecationWarning) - pulumi.log.warn("""members is deprecated: Use openstack_lb_member_v1 instead""") + warnings.warn("""Use loadbalancer.MemberV1 instead""", DeprecationWarning) + pulumi.log.warn("""members is deprecated: Use loadbalancer.MemberV1 instead""") return pulumi.get(self, "members") @@ -778,8 +778,8 @@ def members(self) -> pulumi.Output[Optional[Sequence[str]]]: below. Please note that the `member` block is deprecated in favor of the `loadbalancer.MemberV1` resource. """ - warnings.warn("""Use openstack_lb_member_v1 instead""", DeprecationWarning) - pulumi.log.warn("""members is deprecated: Use openstack_lb_member_v1 instead""") + warnings.warn("""Use loadbalancer.MemberV1 instead""", DeprecationWarning) + pulumi.log.warn("""members is deprecated: Use loadbalancer.MemberV1 instead""") return pulumi.get(self, "members") diff --git a/sdk/python/pulumi_openstack/networking/subnet.py b/sdk/python/pulumi_openstack/networking/subnet.py index 8e117dc0..bdd69f40 100644 --- a/sdk/python/pulumi_openstack/networking/subnet.py +++ b/sdk/python/pulumi_openstack/networking/subnet.py @@ -115,8 +115,8 @@ def __init__(__self__, *, if gateway_ip is not None: pulumi.set(__self__, "gateway_ip", gateway_ip) if host_routes is not None: - warnings.warn("""Use openstack_networking_subnet_route_v2 instead""", DeprecationWarning) - pulumi.log.warn("""host_routes is deprecated: Use openstack_networking_subnet_route_v2 instead""") + warnings.warn("""Use networking.SubnetRoute instead""", DeprecationWarning) + pulumi.log.warn("""host_routes is deprecated: Use networking.SubnetRoute instead""") if host_routes is not None: pulumi.set(__self__, "host_routes", host_routes) if ip_version is not None: @@ -271,8 +271,8 @@ def host_routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SubnetHost object structure is documented below. Changing this updates the host routes for the existing subnet. """ - warnings.warn("""Use openstack_networking_subnet_route_v2 instead""", DeprecationWarning) - pulumi.log.warn("""host_routes is deprecated: Use openstack_networking_subnet_route_v2 instead""") + warnings.warn("""Use networking.SubnetRoute instead""", DeprecationWarning) + pulumi.log.warn("""host_routes is deprecated: Use networking.SubnetRoute instead""") return pulumi.get(self, "host_routes") @@ -544,8 +544,8 @@ def __init__(__self__, *, if gateway_ip is not None: pulumi.set(__self__, "gateway_ip", gateway_ip) if host_routes is not None: - warnings.warn("""Use openstack_networking_subnet_route_v2 instead""", DeprecationWarning) - pulumi.log.warn("""host_routes is deprecated: Use openstack_networking_subnet_route_v2 instead""") + warnings.warn("""Use networking.SubnetRoute instead""", DeprecationWarning) + pulumi.log.warn("""host_routes is deprecated: Use networking.SubnetRoute instead""") if host_routes is not None: pulumi.set(__self__, "host_routes", host_routes) if ip_version is not None: @@ -702,8 +702,8 @@ def host_routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SubnetHost object structure is documented below. Changing this updates the host routes for the existing subnet. """ - warnings.warn("""Use openstack_networking_subnet_route_v2 instead""", DeprecationWarning) - pulumi.log.warn("""host_routes is deprecated: Use openstack_networking_subnet_route_v2 instead""") + warnings.warn("""Use networking.SubnetRoute instead""", DeprecationWarning) + pulumi.log.warn("""host_routes is deprecated: Use networking.SubnetRoute instead""") return pulumi.get(self, "host_routes") @@ -1314,8 +1314,8 @@ def host_routes(self) -> pulumi.Output[Optional[Sequence['outputs.SubnetHostRout object structure is documented below. Changing this updates the host routes for the existing subnet. """ - warnings.warn("""Use openstack_networking_subnet_route_v2 instead""", DeprecationWarning) - pulumi.log.warn("""host_routes is deprecated: Use openstack_networking_subnet_route_v2 instead""") + warnings.warn("""Use networking.SubnetRoute instead""", DeprecationWarning) + pulumi.log.warn("""host_routes is deprecated: Use networking.SubnetRoute instead""") return pulumi.get(self, "host_routes")