diff --git a/provider/cmd/pulumi-resource-ovh/schema.json b/provider/cmd/pulumi-resource-ovh/schema.json index 89a0abff..4b60e5cf 100644 --- a/provider/cmd/pulumi-resource-ovh/schema.json +++ b/provider/cmd/pulumi-resource-ovh/schema.json @@ -42,13 +42,13 @@ }, "disableUnionOutputTypes": true, "packageDescription": "A Pulumi package for creating and managing OVH cloud resources.", - "packageName": "@lbrlabs/pulumi_ovh", + "packageName": "@lbrlabs/ovh", "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/ovh/terraform-provider-ovh)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-ovh` repo](https://github.com/lbrlabs/pulumi-ovh/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-ovh` repo](https://github.com/ovh/terraform-provider-ovh/issues).", "typescriptVersion": "" }, "python": { "compatibility": "tfbridge20", - "packageName": "lbrlabs_pulumi_ovh", + "packageName": "lbrlabs_ovh", "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/ovh/terraform-provider-ovh)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-ovh` repo](https://github.com/lbrlabs/pulumi-ovh/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-ovh` repo](https://github.com/ovh/terraform-provider-ovh/issues).", "requires": { "pulumi": "\u003e=3.0.0,\u003c4.0.0" @@ -4947,7 +4947,7 @@ }, "resources": { "ovh:index/cloudProject:CloudProject": { - "description": "Orders a public cloud project.\n\n## Important\n\nThis resource is in beta state. Use with caution.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n description: \"my cloud order cart\",\n});\nconst cloudOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"cloud\",\n planCode: \"project.2018\",\n}));\nconst cloudCloudProject = new ovh.CloudProject(\"cloudCloudProject\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n description: \"my cloud project\",\n paymentMean: \"fidelity\",\n plan: {\n duration: cloudOrderCartProductPlan.then(cloudOrderCartProductPlan =\u003e cloudOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: cloudOrderCartProductPlan.then(cloudOrderCartProductPlan =\u003e cloudOrderCartProductPlan.planCode),\n pricingMode: cloudOrderCartProductPlan.then(cloudOrderCartProductPlan =\u003e cloudOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\",\n description=\"my cloud order cart\")\ncloud_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"cloud\",\n plan_code=\"project.2018\")\ncloud_cloud_project = ovh.CloudProject(\"cloudCloudProject\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n description=\"my cloud project\",\n payment_mean=\"fidelity\",\n plan=ovh.CloudProjectPlanArgs(\n duration=cloud_order_cart_product_plan.selected_prices[0].duration,\n plan_code=cloud_order_cart_product_plan.plan_code,\n pricing_mode=cloud_order_cart_product_plan.selected_prices[0].pricing_mode,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n Description = \"my cloud order cart\",\n });\n\n var cloudOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"cloud\",\n PlanCode = \"project.2018\",\n });\n\n var cloudCloudProject = new Ovh.CloudProject(\"cloudCloudProject\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n Description = \"my cloud project\",\n PaymentMean = \"fidelity\",\n Plan = new Ovh.Inputs.CloudProjectPlanArgs\n {\n Duration = cloudOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = cloudOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = cloudOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t\tDescription: pulumi.StringRef(\"my cloud order cart\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcloudOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"cloud\",\n\t\t\tPlanCode: \"project.2018\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProject(ctx, \"cloudCloudProject\", \u0026ovh.CloudProjectArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tDescription: pulumi.String(\"my cloud project\"),\n\t\t\tPaymentMean: pulumi.String(\"fidelity\"),\n\t\t\tPlan: \u0026CloudProjectPlanArgs{\n\t\t\t\tDuration: pulumi.String(cloudOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(cloudOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(cloudOrderCartProductPlan.SelectedPrices[0].PricingMode),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.CloudProject;\nimport com.pulumi.ovh.CloudProjectArgs;\nimport com.pulumi.ovh.inputs.CloudProjectPlanArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .description(\"my cloud order cart\")\n .build());\n\n final var cloudOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"cloud\")\n .planCode(\"project.2018\")\n .build());\n\n var cloudCloudProject = new CloudProject(\"cloudCloudProject\", CloudProjectArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .description(\"my cloud project\")\n .paymentMean(\"fidelity\")\n .plan(CloudProjectPlanArgs.builder()\n .duration(cloudOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(cloudOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(cloudOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cloudCloudProject:\n type: ovh:CloudProject\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n description: my cloud project\n paymentMean: fidelity\n plan:\n duration: ${cloudOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${cloudOrderCartProductPlan.planCode}\n pricingMode: ${cloudOrderCartProductPlan.selectedPrices[0].pricingMode}\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n description: my cloud order cart\n cloudOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: cloud\n planCode: project.2018\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Orders a public cloud project.\n\n## Important\n\nThis resource is in beta state. Use with caution.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n description: \"my cloud order cart\",\n});\nconst cloudOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"cloud\",\n planCode: \"project.2018\",\n}));\nconst cloudCloudProject = new ovh.CloudProject(\"cloudCloudProject\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n description: \"my cloud project\",\n paymentMean: \"fidelity\",\n plan: {\n duration: cloudOrderCartProductPlan.then(cloudOrderCartProductPlan =\u003e cloudOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: cloudOrderCartProductPlan.then(cloudOrderCartProductPlan =\u003e cloudOrderCartProductPlan.planCode),\n pricingMode: cloudOrderCartProductPlan.then(cloudOrderCartProductPlan =\u003e cloudOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\",\n description=\"my cloud order cart\")\ncloud_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"cloud\",\n plan_code=\"project.2018\")\ncloud_cloud_project = ovh.CloudProject(\"cloudCloudProject\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n description=\"my cloud project\",\n payment_mean=\"fidelity\",\n plan=ovh.CloudProjectPlanArgs(\n duration=cloud_order_cart_product_plan.selected_prices[0].duration,\n plan_code=cloud_order_cart_product_plan.plan_code,\n pricing_mode=cloud_order_cart_product_plan.selected_prices[0].pricing_mode,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n Description = \"my cloud order cart\",\n });\n\n var cloudOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"cloud\",\n PlanCode = \"project.2018\",\n });\n\n var cloudCloudProject = new Ovh.CloudProject(\"cloudCloudProject\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n Description = \"my cloud project\",\n PaymentMean = \"fidelity\",\n Plan = new Ovh.Inputs.CloudProjectPlanArgs\n {\n Duration = cloudOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = cloudOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = cloudOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t\tDescription: pulumi.StringRef(\"my cloud order cart\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcloudOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"cloud\",\n\t\t\tPlanCode: \"project.2018\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProject(ctx, \"cloudCloudProject\", \u0026ovh.CloudProjectArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tDescription: pulumi.String(\"my cloud project\"),\n\t\t\tPaymentMean: pulumi.String(\"fidelity\"),\n\t\t\tPlan: \u0026CloudProjectPlanArgs{\n\t\t\t\tDuration: pulumi.String(cloudOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(cloudOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(cloudOrderCartProductPlan.SelectedPrices[0].PricingMode),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.CloudProject;\nimport com.pulumi.ovh.CloudProjectArgs;\nimport com.pulumi.ovh.inputs.CloudProjectPlanArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .description(\"my cloud order cart\")\n .build());\n\n final var cloudOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"cloud\")\n .planCode(\"project.2018\")\n .build());\n\n var cloudCloudProject = new CloudProject(\"cloudCloudProject\", CloudProjectArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .description(\"my cloud project\")\n .paymentMean(\"fidelity\")\n .plan(CloudProjectPlanArgs.builder()\n .duration(cloudOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(cloudOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(cloudOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cloudCloudProject:\n type: ovh:CloudProject\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n description: my cloud project\n paymentMean: fidelity\n plan:\n duration: ${cloudOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${cloudOrderCartProductPlan.planCode}\n pricingMode: ${cloudOrderCartProductPlan.selectedPrices[0].pricingMode}\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n description: my cloud order cart\n cloudOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: cloud\n planCode: project.2018\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "access": { "type": "string", @@ -5099,7 +5099,7 @@ } }, "ovh:index/cloudProjectContainerRegistry:CloudProjectContainerRegistry": { - "description": "Creates a container registry associated with a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst regcap = ovh.getCloudProjectCapabilitiesContainerFilter({\n serviceName: \"XXXXXX\",\n planName: \"SMALL\",\n region: \"GRA\",\n});\nconst reg = new ovh.CloudProjectContainerRegistry(\"reg\", {\n serviceName: regcap.then(regcap =\u003e regcap.serviceName),\n planId: regcap.then(regcap =\u003e regcap.id),\n region: regcap.then(regcap =\u003e regcap.region),\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\nregcap = ovh.get_cloud_project_capabilities_container_filter(service_name=\"XXXXXX\",\n plan_name=\"SMALL\",\n region=\"GRA\")\nreg = ovh.CloudProjectContainerRegistry(\"reg\",\n service_name=regcap.service_name,\n plan_id=regcap.id,\n region=regcap.region)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var regcap = Ovh.GetCloudProjectCapabilitiesContainerFilter.Invoke(new()\n {\n ServiceName = \"XXXXXX\",\n PlanName = \"SMALL\",\n Region = \"GRA\",\n });\n\n var reg = new Ovh.CloudProjectContainerRegistry(\"reg\", new()\n {\n ServiceName = regcap.Apply(getCloudProjectCapabilitiesContainerFilterResult =\u003e getCloudProjectCapabilitiesContainerFilterResult.ServiceName),\n PlanId = regcap.Apply(getCloudProjectCapabilitiesContainerFilterResult =\u003e getCloudProjectCapabilitiesContainerFilterResult.Id),\n Region = regcap.Apply(getCloudProjectCapabilitiesContainerFilterResult =\u003e getCloudProjectCapabilitiesContainerFilterResult.Region),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tregcap, err := ovh.GetCloudProjectCapabilitiesContainerFilter(ctx, \u0026GetCloudProjectCapabilitiesContainerFilterArgs{\n\t\t\tServiceName: \"XXXXXX\",\n\t\t\tPlanName: \"SMALL\",\n\t\t\tRegion: \"GRA\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProjectContainerRegistry(ctx, \"reg\", \u0026ovh.CloudProjectContainerRegistryArgs{\n\t\t\tServiceName: pulumi.String(regcap.ServiceName),\n\t\t\tPlanId: pulumi.String(regcap.Id),\n\t\t\tRegion: pulumi.String(regcap.Region),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetCloudProjectCapabilitiesContainerFilterArgs;\nimport com.pulumi.ovh.CloudProjectContainerRegistry;\nimport com.pulumi.ovh.CloudProjectContainerRegistryArgs;\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 regcap = OvhFunctions.getCloudProjectCapabilitiesContainerFilter(GetCloudProjectCapabilitiesContainerFilterArgs.builder()\n .serviceName(\"XXXXXX\")\n .planName(\"SMALL\")\n .region(\"GRA\")\n .build());\n\n var reg = new CloudProjectContainerRegistry(\"reg\", CloudProjectContainerRegistryArgs.builder() \n .serviceName(regcap.applyValue(getCloudProjectCapabilitiesContainerFilterResult -\u003e getCloudProjectCapabilitiesContainerFilterResult.serviceName()))\n .planId(regcap.applyValue(getCloudProjectCapabilitiesContainerFilterResult -\u003e getCloudProjectCapabilitiesContainerFilterResult.id()))\n .region(regcap.applyValue(getCloudProjectCapabilitiesContainerFilterResult -\u003e getCloudProjectCapabilitiesContainerFilterResult.region()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n reg:\n type: ovh:CloudProjectContainerRegistry\n properties:\n serviceName: ${regcap.serviceName}\n planId: ${regcap.id}\n region: ${regcap.region}\nvariables:\n regcap:\n Fn::Invoke:\n Function: ovh:getCloudProjectCapabilitiesContainerFilter\n Arguments:\n serviceName: XXXXXX\n planName: SMALL\n region: GRA\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates a container registry associated with a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst regcap = ovh.getCloudProjectCapabilitiesContainerFilter({\n serviceName: \"XXXXXX\",\n planName: \"SMALL\",\n region: \"GRA\",\n});\nconst reg = new ovh.CloudProjectContainerRegistry(\"reg\", {\n serviceName: regcap.then(regcap =\u003e regcap.serviceName),\n planId: regcap.then(regcap =\u003e regcap.id),\n region: regcap.then(regcap =\u003e regcap.region),\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\nregcap = ovh.get_cloud_project_capabilities_container_filter(service_name=\"XXXXXX\",\n plan_name=\"SMALL\",\n region=\"GRA\")\nreg = ovh.CloudProjectContainerRegistry(\"reg\",\n service_name=regcap.service_name,\n plan_id=regcap.id,\n region=regcap.region)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var regcap = Ovh.GetCloudProjectCapabilitiesContainerFilter.Invoke(new()\n {\n ServiceName = \"XXXXXX\",\n PlanName = \"SMALL\",\n Region = \"GRA\",\n });\n\n var reg = new Ovh.CloudProjectContainerRegistry(\"reg\", new()\n {\n ServiceName = regcap.Apply(getCloudProjectCapabilitiesContainerFilterResult =\u003e getCloudProjectCapabilitiesContainerFilterResult.ServiceName),\n PlanId = regcap.Apply(getCloudProjectCapabilitiesContainerFilterResult =\u003e getCloudProjectCapabilitiesContainerFilterResult.Id),\n Region = regcap.Apply(getCloudProjectCapabilitiesContainerFilterResult =\u003e getCloudProjectCapabilitiesContainerFilterResult.Region),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tregcap, err := ovh.GetCloudProjectCapabilitiesContainerFilter(ctx, \u0026GetCloudProjectCapabilitiesContainerFilterArgs{\n\t\t\tServiceName: \"XXXXXX\",\n\t\t\tPlanName: \"SMALL\",\n\t\t\tRegion: \"GRA\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProjectContainerRegistry(ctx, \"reg\", \u0026ovh.CloudProjectContainerRegistryArgs{\n\t\t\tServiceName: pulumi.String(regcap.ServiceName),\n\t\t\tPlanId: pulumi.String(regcap.Id),\n\t\t\tRegion: pulumi.String(regcap.Region),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetCloudProjectCapabilitiesContainerFilterArgs;\nimport com.pulumi.ovh.CloudProjectContainerRegistry;\nimport com.pulumi.ovh.CloudProjectContainerRegistryArgs;\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 regcap = OvhFunctions.getCloudProjectCapabilitiesContainerFilter(GetCloudProjectCapabilitiesContainerFilterArgs.builder()\n .serviceName(\"XXXXXX\")\n .planName(\"SMALL\")\n .region(\"GRA\")\n .build());\n\n var reg = new CloudProjectContainerRegistry(\"reg\", CloudProjectContainerRegistryArgs.builder() \n .serviceName(regcap.applyValue(getCloudProjectCapabilitiesContainerFilterResult -\u003e getCloudProjectCapabilitiesContainerFilterResult.serviceName()))\n .planId(regcap.applyValue(getCloudProjectCapabilitiesContainerFilterResult -\u003e getCloudProjectCapabilitiesContainerFilterResult.id()))\n .region(regcap.applyValue(getCloudProjectCapabilitiesContainerFilterResult -\u003e getCloudProjectCapabilitiesContainerFilterResult.region()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n reg:\n type: ovh:CloudProjectContainerRegistry\n properties:\n serviceName: ${regcap.serviceName}\n planId: ${regcap.id}\n region: ${regcap.region}\nvariables:\n regcap:\n Fn::Invoke:\n Function: ovh:getCloudProjectCapabilitiesContainerFilter\n Arguments:\n serviceName: XXXXXX\n planName: SMALL\n region: GRA\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "createdAt": { "type": "string", @@ -5248,7 +5248,7 @@ } }, "ovh:index/cloudProjectContainerRegistryUser:CloudProjectContainerRegistryUser": { - "description": "Creates a user for a container registry associated with a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst registry = ovh.getCloudProjectContainerRegistry({\n serviceName: \"XXXXXX\",\n registryId: \"yyyy\",\n});\nconst user = new ovh.CloudProjectContainerRegistryUser(\"user\", {\n serviceName: ovh_cloud_project_containerregistry.registry.service_name,\n registryId: ovh_cloud_project_containerregistry.registry.id,\n email: \"foo@bar.com\",\n login: \"foobar\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\nregistry = ovh.get_cloud_project_container_registry(service_name=\"XXXXXX\",\n registry_id=\"yyyy\")\nuser = ovh.CloudProjectContainerRegistryUser(\"user\",\n service_name=ovh_cloud_project_containerregistry[\"registry\"][\"service_name\"],\n registry_id=ovh_cloud_project_containerregistry[\"registry\"][\"id\"],\n email=\"foo@bar.com\",\n login=\"foobar\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var registry = Ovh.GetCloudProjectContainerRegistry.Invoke(new()\n {\n ServiceName = \"XXXXXX\",\n RegistryId = \"yyyy\",\n });\n\n var user = new Ovh.CloudProjectContainerRegistryUser(\"user\", new()\n {\n ServiceName = ovh_cloud_project_containerregistry.Registry.Service_name,\n RegistryId = ovh_cloud_project_containerregistry.Registry.Id,\n Email = \"foo@bar.com\",\n Login = \"foobar\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.LookupCloudProjectContainerRegistry(ctx, \u0026GetCloudProjectContainerRegistryArgs{\n\t\t\tServiceName: \"XXXXXX\",\n\t\t\tRegistryId: \"yyyy\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProjectContainerRegistryUser(ctx, \"user\", \u0026ovh.CloudProjectContainerRegistryUserArgs{\n\t\t\tServiceName: pulumi.Any(ovh_cloud_project_containerregistry.Registry.Service_name),\n\t\t\tRegistryId: pulumi.Any(ovh_cloud_project_containerregistry.Registry.Id),\n\t\t\tEmail: pulumi.String(\"foo@bar.com\"),\n\t\t\tLogin: pulumi.String(\"foobar\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetCloudProjectContainerRegistryArgs;\nimport com.pulumi.ovh.CloudProjectContainerRegistryUser;\nimport com.pulumi.ovh.CloudProjectContainerRegistryUserArgs;\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 registry = OvhFunctions.getCloudProjectContainerRegistry(GetCloudProjectContainerRegistryArgs.builder()\n .serviceName(\"XXXXXX\")\n .registryId(\"yyyy\")\n .build());\n\n var user = new CloudProjectContainerRegistryUser(\"user\", CloudProjectContainerRegistryUserArgs.builder() \n .serviceName(ovh_cloud_project_containerregistry.registry().service_name())\n .registryId(ovh_cloud_project_containerregistry.registry().id())\n .email(\"foo@bar.com\")\n .login(\"foobar\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n user:\n type: ovh:CloudProjectContainerRegistryUser\n properties:\n serviceName: ${ovh_cloud_project_containerregistry.registry.service_name}\n registryId: ${ovh_cloud_project_containerregistry.registry.id}\n email: foo@bar.com\n login: foobar\nvariables:\n registry:\n Fn::Invoke:\n Function: ovh:getCloudProjectContainerRegistry\n Arguments:\n serviceName: XXXXXX\n registryId: yyyy\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates a user for a container registry associated with a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst registry = ovh.getCloudProjectContainerRegistry({\n serviceName: \"XXXXXX\",\n registryId: \"yyyy\",\n});\nconst user = new ovh.CloudProjectContainerRegistryUser(\"user\", {\n serviceName: ovh_cloud_project_containerregistry.registry.service_name,\n registryId: ovh_cloud_project_containerregistry.registry.id,\n email: \"foo@bar.com\",\n login: \"foobar\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\nregistry = ovh.get_cloud_project_container_registry(service_name=\"XXXXXX\",\n registry_id=\"yyyy\")\nuser = ovh.CloudProjectContainerRegistryUser(\"user\",\n service_name=ovh_cloud_project_containerregistry[\"registry\"][\"service_name\"],\n registry_id=ovh_cloud_project_containerregistry[\"registry\"][\"id\"],\n email=\"foo@bar.com\",\n login=\"foobar\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var registry = Ovh.GetCloudProjectContainerRegistry.Invoke(new()\n {\n ServiceName = \"XXXXXX\",\n RegistryId = \"yyyy\",\n });\n\n var user = new Ovh.CloudProjectContainerRegistryUser(\"user\", new()\n {\n ServiceName = ovh_cloud_project_containerregistry.Registry.Service_name,\n RegistryId = ovh_cloud_project_containerregistry.Registry.Id,\n Email = \"foo@bar.com\",\n Login = \"foobar\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.LookupCloudProjectContainerRegistry(ctx, \u0026GetCloudProjectContainerRegistryArgs{\n\t\t\tServiceName: \"XXXXXX\",\n\t\t\tRegistryId: \"yyyy\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProjectContainerRegistryUser(ctx, \"user\", \u0026ovh.CloudProjectContainerRegistryUserArgs{\n\t\t\tServiceName: pulumi.Any(ovh_cloud_project_containerregistry.Registry.Service_name),\n\t\t\tRegistryId: pulumi.Any(ovh_cloud_project_containerregistry.Registry.Id),\n\t\t\tEmail: pulumi.String(\"foo@bar.com\"),\n\t\t\tLogin: pulumi.String(\"foobar\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetCloudProjectContainerRegistryArgs;\nimport com.pulumi.ovh.CloudProjectContainerRegistryUser;\nimport com.pulumi.ovh.CloudProjectContainerRegistryUserArgs;\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 registry = OvhFunctions.getCloudProjectContainerRegistry(GetCloudProjectContainerRegistryArgs.builder()\n .serviceName(\"XXXXXX\")\n .registryId(\"yyyy\")\n .build());\n\n var user = new CloudProjectContainerRegistryUser(\"user\", CloudProjectContainerRegistryUserArgs.builder() \n .serviceName(ovh_cloud_project_containerregistry.registry().service_name())\n .registryId(ovh_cloud_project_containerregistry.registry().id())\n .email(\"foo@bar.com\")\n .login(\"foobar\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n user:\n type: ovh:CloudProjectContainerRegistryUser\n properties:\n serviceName: ${ovh_cloud_project_containerregistry.registry.service_name}\n registryId: ${ovh_cloud_project_containerregistry.registry.id}\n email: foo@bar.com\n login: foobar\nvariables:\n registry:\n Fn::Invoke:\n Function: ovh:getCloudProjectContainerRegistry\n Arguments:\n serviceName: XXXXXX\n registryId: yyyy\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "email": { "type": "string", @@ -5347,7 +5347,7 @@ } }, "ovh:index/cloudProjectDatabase:CloudProjectDatabase": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\nTo deploy a business PostgreSQL service with two nodes on public network:\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst postgresql = new ovh.CloudProjectDatabase(\"postgresql\", {\n description: \"my-first-postgresql\",\n engine: \"postgresql\",\n flavor: \"db1-15\",\n nodes: [\n {\n region: \"GRA\",\n },\n {\n region: \"GRA\",\n },\n ],\n plan: \"business\",\n serviceName: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n version: \"14\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\npostgresql = ovh.CloudProjectDatabase(\"postgresql\",\n description=\"my-first-postgresql\",\n engine=\"postgresql\",\n flavor=\"db1-15\",\n nodes=[\n ovh.CloudProjectDatabaseNodeArgs(\n region=\"GRA\",\n ),\n ovh.CloudProjectDatabaseNodeArgs(\n region=\"GRA\",\n ),\n ],\n plan=\"business\",\n service_name=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n version=\"14\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgresql = new Ovh.CloudProjectDatabase(\"postgresql\", new()\n {\n Description = \"my-first-postgresql\",\n Engine = \"postgresql\",\n Flavor = \"db1-15\",\n Nodes = new[]\n {\n new Ovh.Inputs.CloudProjectDatabaseNodeArgs\n {\n Region = \"GRA\",\n },\n new Ovh.Inputs.CloudProjectDatabaseNodeArgs\n {\n Region = \"GRA\",\n },\n },\n Plan = \"business\",\n ServiceName = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n Version = \"14\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectDatabase(ctx, \"postgresql\", \u0026ovh.CloudProjectDatabaseArgs{\n\t\t\tDescription: pulumi.String(\"my-first-postgresql\"),\n\t\t\tEngine: pulumi.String(\"postgresql\"),\n\t\t\tFlavor: pulumi.String(\"db1-15\"),\n\t\t\tNodes: CloudProjectDatabaseNodeArray{\n\t\t\t\t\u0026CloudProjectDatabaseNodeArgs{\n\t\t\t\t\tRegion: pulumi.String(\"GRA\"),\n\t\t\t\t},\n\t\t\t\t\u0026CloudProjectDatabaseNodeArgs{\n\t\t\t\t\tRegion: pulumi.String(\"GRA\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPlan: pulumi.String(\"business\"),\n\t\t\tServiceName: pulumi.String(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"),\n\t\t\tVersion: pulumi.String(\"14\"),\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.ovh.CloudProjectDatabase;\nimport com.pulumi.ovh.CloudProjectDatabaseArgs;\nimport com.pulumi.ovh.inputs.CloudProjectDatabaseNodeArgs;\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 postgresql = new CloudProjectDatabase(\"postgresql\", CloudProjectDatabaseArgs.builder() \n .description(\"my-first-postgresql\")\n .engine(\"postgresql\")\n .flavor(\"db1-15\")\n .nodes( \n CloudProjectDatabaseNodeArgs.builder()\n .region(\"GRA\")\n .build(),\n CloudProjectDatabaseNodeArgs.builder()\n .region(\"GRA\")\n .build())\n .plan(\"business\")\n .serviceName(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n .version(\"14\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n postgresql:\n type: ovh:CloudProjectDatabase\n properties:\n description: my-first-postgresql\n engine: postgresql\n flavor: db1-15\n nodes:\n - region: GRA\n - region: GRA\n plan: business\n serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n version: 14\n```\n\n\nTo deploy an enterprise MongoDB service with three nodes on private network:\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst mongodb = new ovh.CloudProjectDatabase(\"mongodb\", {\n serviceName: _var.openstack_infos.project_id,\n description: \"my-first-mongodb\",\n engine: \"mongodb\",\n version: \"5.0\",\n plan: \"enterprise\",\n nodes: [\n {\n region: \"SBG\",\n subnetId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n networkId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n {\n region: \"SBG\",\n subnetId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n networkId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n {\n region: \"SBG\",\n subnetId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n networkId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n ],\n flavor: \"db1-30\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nmongodb = ovh.CloudProjectDatabase(\"mongodb\",\n service_name=var[\"openstack_infos\"][\"project_id\"],\n description=\"my-first-mongodb\",\n engine=\"mongodb\",\n version=\"5.0\",\n plan=\"enterprise\",\n nodes=[\n ovh.CloudProjectDatabaseNodeArgs(\n region=\"SBG\",\n subnet_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n network_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n ),\n ovh.CloudProjectDatabaseNodeArgs(\n region=\"SBG\",\n subnet_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n network_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n ),\n ovh.CloudProjectDatabaseNodeArgs(\n region=\"SBG\",\n subnet_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n network_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n ),\n ],\n flavor=\"db1-30\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mongodb = new Ovh.CloudProjectDatabase(\"mongodb\", new()\n {\n ServiceName = @var.Openstack_infos.Project_id,\n Description = \"my-first-mongodb\",\n Engine = \"mongodb\",\n Version = \"5.0\",\n Plan = \"enterprise\",\n Nodes = new[]\n {\n new Ovh.Inputs.CloudProjectDatabaseNodeArgs\n {\n Region = \"SBG\",\n SubnetId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n NetworkId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n new Ovh.Inputs.CloudProjectDatabaseNodeArgs\n {\n Region = \"SBG\",\n SubnetId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n NetworkId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n new Ovh.Inputs.CloudProjectDatabaseNodeArgs\n {\n Region = \"SBG\",\n SubnetId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n NetworkId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n },\n Flavor = \"db1-30\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectDatabase(ctx, \"mongodb\", \u0026ovh.CloudProjectDatabaseArgs{\n\t\t\tServiceName: pulumi.Any(_var.Openstack_infos.Project_id),\n\t\t\tDescription: pulumi.String(\"my-first-mongodb\"),\n\t\t\tEngine: pulumi.String(\"mongodb\"),\n\t\t\tVersion: pulumi.String(\"5.0\"),\n\t\t\tPlan: pulumi.String(\"enterprise\"),\n\t\t\tNodes: CloudProjectDatabaseNodeArray{\n\t\t\t\t\u0026CloudProjectDatabaseNodeArgs{\n\t\t\t\t\tRegion: pulumi.String(\"SBG\"),\n\t\t\t\t\tSubnetId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t\tNetworkId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t},\n\t\t\t\t\u0026CloudProjectDatabaseNodeArgs{\n\t\t\t\t\tRegion: pulumi.String(\"SBG\"),\n\t\t\t\t\tSubnetId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t\tNetworkId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t},\n\t\t\t\t\u0026CloudProjectDatabaseNodeArgs{\n\t\t\t\t\tRegion: pulumi.String(\"SBG\"),\n\t\t\t\t\tSubnetId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t\tNetworkId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFlavor: pulumi.String(\"db1-30\"),\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.ovh.CloudProjectDatabase;\nimport com.pulumi.ovh.CloudProjectDatabaseArgs;\nimport com.pulumi.ovh.inputs.CloudProjectDatabaseNodeArgs;\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 mongodb = new CloudProjectDatabase(\"mongodb\", CloudProjectDatabaseArgs.builder() \n .serviceName(var_.openstack_infos().project_id())\n .description(\"my-first-mongodb\")\n .engine(\"mongodb\")\n .version(\"5.0\")\n .plan(\"enterprise\")\n .nodes( \n CloudProjectDatabaseNodeArgs.builder()\n .region(\"SBG\")\n .subnetId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .networkId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .build(),\n CloudProjectDatabaseNodeArgs.builder()\n .region(\"SBG\")\n .subnetId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .networkId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .build(),\n CloudProjectDatabaseNodeArgs.builder()\n .region(\"SBG\")\n .subnetId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .networkId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .build())\n .flavor(\"db1-30\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mongodb:\n type: ovh:CloudProjectDatabase\n properties:\n serviceName: ${var.openstack_infos.project_id}\n description: my-first-mongodb\n engine: mongodb\n version: 5.0\n plan: enterprise\n nodes:\n - region: SBG\n subnetId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n networkId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n - region: SBG\n subnetId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n networkId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n - region: SBG\n subnetId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n networkId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n flavor: db1-30\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed database clusters can be imported using the `service_name`, `engine`, `id` of the cluster, separated by \"/\" E.g.,\n\n```sh\n $ pulumi import ovh:index/cloudProjectDatabase:CloudProjectDatabase my_database_cluster \u003cservice_name\u003e/\u003cengine\u003e/\u003cid\u003e\n```\n\n ", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\nTo deploy a business PostgreSQL service with two nodes on public network:\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst postgresql = new ovh.CloudProjectDatabase(\"postgresql\", {\n description: \"my-first-postgresql\",\n engine: \"postgresql\",\n flavor: \"db1-15\",\n nodes: [\n {\n region: \"GRA\",\n },\n {\n region: \"GRA\",\n },\n ],\n plan: \"business\",\n serviceName: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n version: \"14\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\npostgresql = ovh.CloudProjectDatabase(\"postgresql\",\n description=\"my-first-postgresql\",\n engine=\"postgresql\",\n flavor=\"db1-15\",\n nodes=[\n ovh.CloudProjectDatabaseNodeArgs(\n region=\"GRA\",\n ),\n ovh.CloudProjectDatabaseNodeArgs(\n region=\"GRA\",\n ),\n ],\n plan=\"business\",\n service_name=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n version=\"14\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgresql = new Ovh.CloudProjectDatabase(\"postgresql\", new()\n {\n Description = \"my-first-postgresql\",\n Engine = \"postgresql\",\n Flavor = \"db1-15\",\n Nodes = new[]\n {\n new Ovh.Inputs.CloudProjectDatabaseNodeArgs\n {\n Region = \"GRA\",\n },\n new Ovh.Inputs.CloudProjectDatabaseNodeArgs\n {\n Region = \"GRA\",\n },\n },\n Plan = \"business\",\n ServiceName = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n Version = \"14\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectDatabase(ctx, \"postgresql\", \u0026ovh.CloudProjectDatabaseArgs{\n\t\t\tDescription: pulumi.String(\"my-first-postgresql\"),\n\t\t\tEngine: pulumi.String(\"postgresql\"),\n\t\t\tFlavor: pulumi.String(\"db1-15\"),\n\t\t\tNodes: CloudProjectDatabaseNodeArray{\n\t\t\t\t\u0026CloudProjectDatabaseNodeArgs{\n\t\t\t\t\tRegion: pulumi.String(\"GRA\"),\n\t\t\t\t},\n\t\t\t\t\u0026CloudProjectDatabaseNodeArgs{\n\t\t\t\t\tRegion: pulumi.String(\"GRA\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPlan: pulumi.String(\"business\"),\n\t\t\tServiceName: pulumi.String(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"),\n\t\t\tVersion: pulumi.String(\"14\"),\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.ovh.CloudProjectDatabase;\nimport com.pulumi.ovh.CloudProjectDatabaseArgs;\nimport com.pulumi.ovh.inputs.CloudProjectDatabaseNodeArgs;\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 postgresql = new CloudProjectDatabase(\"postgresql\", CloudProjectDatabaseArgs.builder() \n .description(\"my-first-postgresql\")\n .engine(\"postgresql\")\n .flavor(\"db1-15\")\n .nodes( \n CloudProjectDatabaseNodeArgs.builder()\n .region(\"GRA\")\n .build(),\n CloudProjectDatabaseNodeArgs.builder()\n .region(\"GRA\")\n .build())\n .plan(\"business\")\n .serviceName(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n .version(\"14\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n postgresql:\n type: ovh:CloudProjectDatabase\n properties:\n description: my-first-postgresql\n engine: postgresql\n flavor: db1-15\n nodes:\n - region: GRA\n - region: GRA\n plan: business\n serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n version: 14\n```\n\n\nTo deploy an enterprise MongoDB service with three nodes on private network:\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\n\nconst mongodb = new ovh.CloudProjectDatabase(\"mongodb\", {\n serviceName: _var.openstack_infos.project_id,\n description: \"my-first-mongodb\",\n engine: \"mongodb\",\n version: \"5.0\",\n plan: \"enterprise\",\n nodes: [\n {\n region: \"SBG\",\n subnetId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n networkId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n {\n region: \"SBG\",\n subnetId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n networkId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n {\n region: \"SBG\",\n subnetId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n networkId: \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n ],\n flavor: \"db1-30\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nmongodb = ovh.CloudProjectDatabase(\"mongodb\",\n service_name=var[\"openstack_infos\"][\"project_id\"],\n description=\"my-first-mongodb\",\n engine=\"mongodb\",\n version=\"5.0\",\n plan=\"enterprise\",\n nodes=[\n ovh.CloudProjectDatabaseNodeArgs(\n region=\"SBG\",\n subnet_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n network_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n ),\n ovh.CloudProjectDatabaseNodeArgs(\n region=\"SBG\",\n subnet_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n network_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n ),\n ovh.CloudProjectDatabaseNodeArgs(\n region=\"SBG\",\n subnet_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n network_id=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n ),\n ],\n flavor=\"db1-30\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mongodb = new Ovh.CloudProjectDatabase(\"mongodb\", new()\n {\n ServiceName = @var.Openstack_infos.Project_id,\n Description = \"my-first-mongodb\",\n Engine = \"mongodb\",\n Version = \"5.0\",\n Plan = \"enterprise\",\n Nodes = new[]\n {\n new Ovh.Inputs.CloudProjectDatabaseNodeArgs\n {\n Region = \"SBG\",\n SubnetId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n NetworkId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n new Ovh.Inputs.CloudProjectDatabaseNodeArgs\n {\n Region = \"SBG\",\n SubnetId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n NetworkId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n new Ovh.Inputs.CloudProjectDatabaseNodeArgs\n {\n Region = \"SBG\",\n SubnetId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n NetworkId = \"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n },\n },\n Flavor = \"db1-30\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectDatabase(ctx, \"mongodb\", \u0026ovh.CloudProjectDatabaseArgs{\n\t\t\tServiceName: pulumi.Any(_var.Openstack_infos.Project_id),\n\t\t\tDescription: pulumi.String(\"my-first-mongodb\"),\n\t\t\tEngine: pulumi.String(\"mongodb\"),\n\t\t\tVersion: pulumi.String(\"5.0\"),\n\t\t\tPlan: pulumi.String(\"enterprise\"),\n\t\t\tNodes: CloudProjectDatabaseNodeArray{\n\t\t\t\t\u0026CloudProjectDatabaseNodeArgs{\n\t\t\t\t\tRegion: pulumi.String(\"SBG\"),\n\t\t\t\t\tSubnetId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t\tNetworkId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t},\n\t\t\t\t\u0026CloudProjectDatabaseNodeArgs{\n\t\t\t\t\tRegion: pulumi.String(\"SBG\"),\n\t\t\t\t\tSubnetId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t\tNetworkId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t},\n\t\t\t\t\u0026CloudProjectDatabaseNodeArgs{\n\t\t\t\t\tRegion: pulumi.String(\"SBG\"),\n\t\t\t\t\tSubnetId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t\tNetworkId: pulumi.String(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFlavor: pulumi.String(\"db1-30\"),\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.ovh.CloudProjectDatabase;\nimport com.pulumi.ovh.CloudProjectDatabaseArgs;\nimport com.pulumi.ovh.inputs.CloudProjectDatabaseNodeArgs;\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 mongodb = new CloudProjectDatabase(\"mongodb\", CloudProjectDatabaseArgs.builder() \n .serviceName(var_.openstack_infos().project_id())\n .description(\"my-first-mongodb\")\n .engine(\"mongodb\")\n .version(\"5.0\")\n .plan(\"enterprise\")\n .nodes( \n CloudProjectDatabaseNodeArgs.builder()\n .region(\"SBG\")\n .subnetId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .networkId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .build(),\n CloudProjectDatabaseNodeArgs.builder()\n .region(\"SBG\")\n .subnetId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .networkId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .build(),\n CloudProjectDatabaseNodeArgs.builder()\n .region(\"SBG\")\n .subnetId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .networkId(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\")\n .build())\n .flavor(\"db1-30\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mongodb:\n type: ovh:CloudProjectDatabase\n properties:\n serviceName: ${var.openstack_infos.project_id}\n description: my-first-mongodb\n engine: mongodb\n version: 5.0\n plan: enterprise\n nodes:\n - region: SBG\n subnetId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n networkId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n - region: SBG\n subnetId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n networkId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n - region: SBG\n subnetId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n networkId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n flavor: db1-30\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed database clusters can be imported using the `service_name`, `engine`, `id` of the cluster, separated by \"/\" E.g.,\n\n```sh\n $ pulumi import ovh:index/cloudProjectDatabase:CloudProjectDatabase my_database_cluster \u003cservice_name\u003e/\u003cengine\u003e/\u003cid\u003e\n```\n\n ", "properties": { "backupTime": { "type": "string", @@ -5529,7 +5529,7 @@ } }, "ovh:index/cloudProjectDatabaseIpRestriction:CloudProjectDatabaseIpRestriction": { - "description": "Apply IP restrictions to an OVHcloud Managed Database cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst db = ovh.getCloudProjectDatabase({\n serviceName: \"XXXX\",\n engine: \"YYYY\",\n clusterId: \"ZZZZ\",\n});\nconst iprestriction = new ovh.CloudProjectDatabaseIpRestriction(\"iprestriction\", {\n serviceName: ovh_cloud_project_database.db.service_name,\n engine: ovh_cloud_project_database.db.engine,\n clusterId: ovh_cloud_project_database.db.cluster_id,\n ip: \"178.97.6.0/24\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\ndb = ovh.get_cloud_project_database(service_name=\"XXXX\",\n engine=\"YYYY\",\n cluster_id=\"ZZZZ\")\niprestriction = ovh.CloudProjectDatabaseIpRestriction(\"iprestriction\",\n service_name=ovh_cloud_project_database[\"db\"][\"service_name\"],\n engine=ovh_cloud_project_database[\"db\"][\"engine\"],\n cluster_id=ovh_cloud_project_database[\"db\"][\"cluster_id\"],\n ip=\"178.97.6.0/24\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var db = Ovh.GetCloudProjectDatabase.Invoke(new()\n {\n ServiceName = \"XXXX\",\n Engine = \"YYYY\",\n ClusterId = \"ZZZZ\",\n });\n\n var iprestriction = new Ovh.CloudProjectDatabaseIpRestriction(\"iprestriction\", new()\n {\n ServiceName = ovh_cloud_project_database.Db.Service_name,\n Engine = ovh_cloud_project_database.Db.Engine,\n ClusterId = ovh_cloud_project_database.Db.Cluster_id,\n Ip = \"178.97.6.0/24\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.LookupCloudProjectDatabase(ctx, \u0026GetCloudProjectDatabaseArgs{\n\t\t\tServiceName: \"XXXX\",\n\t\t\tEngine: \"YYYY\",\n\t\t\tClusterId: \"ZZZZ\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProjectDatabaseIpRestriction(ctx, \"iprestriction\", \u0026ovh.CloudProjectDatabaseIpRestrictionArgs{\n\t\t\tServiceName: pulumi.Any(ovh_cloud_project_database.Db.Service_name),\n\t\t\tEngine: pulumi.Any(ovh_cloud_project_database.Db.Engine),\n\t\t\tClusterId: pulumi.Any(ovh_cloud_project_database.Db.Cluster_id),\n\t\t\tIp: pulumi.String(\"178.97.6.0/24\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetCloudProjectDatabaseArgs;\nimport com.pulumi.ovh.CloudProjectDatabaseIpRestriction;\nimport com.pulumi.ovh.CloudProjectDatabaseIpRestrictionArgs;\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 db = OvhFunctions.getCloudProjectDatabase(GetCloudProjectDatabaseArgs.builder()\n .serviceName(\"XXXX\")\n .engine(\"YYYY\")\n .clusterId(\"ZZZZ\")\n .build());\n\n var iprestriction = new CloudProjectDatabaseIpRestriction(\"iprestriction\", CloudProjectDatabaseIpRestrictionArgs.builder() \n .serviceName(ovh_cloud_project_database.db().service_name())\n .engine(ovh_cloud_project_database.db().engine())\n .clusterId(ovh_cloud_project_database.db().cluster_id())\n .ip(\"178.97.6.0/24\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n iprestriction:\n type: ovh:CloudProjectDatabaseIpRestriction\n properties:\n serviceName: ${ovh_cloud_project_database.db.service_name}\n engine: ${ovh_cloud_project_database.db.engine}\n clusterId: ${ovh_cloud_project_database.db.cluster_id}\n ip: 178.97.6.0/24\nvariables:\n db:\n Fn::Invoke:\n Function: ovh:getCloudProjectDatabase\n Arguments:\n serviceName: XXXX\n engine: YYYY\n clusterId: ZZZZ\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed database cluster IP restrictions can be imported using the `service_name`, `engine`, `cluster_id` and the `ip`, separated by \"/\" E.g.,\n\n```sh\n $ pulumi import ovh:index/cloudProjectDatabaseIpRestriction:CloudProjectDatabaseIpRestriction my_ip_restriction \u003cservice_name\u003e/\u003cengine\u003e/\u003ccluster_id\u003e/178.97.6.0/24\n```\n\n ", + "description": "Apply IP restrictions to an OVHcloud Managed Database cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst db = ovh.getCloudProjectDatabase({\n serviceName: \"XXXX\",\n engine: \"YYYY\",\n clusterId: \"ZZZZ\",\n});\nconst iprestriction = new ovh.CloudProjectDatabaseIpRestriction(\"iprestriction\", {\n serviceName: ovh_cloud_project_database.db.service_name,\n engine: ovh_cloud_project_database.db.engine,\n clusterId: ovh_cloud_project_database.db.cluster_id,\n ip: \"178.97.6.0/24\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\ndb = ovh.get_cloud_project_database(service_name=\"XXXX\",\n engine=\"YYYY\",\n cluster_id=\"ZZZZ\")\niprestriction = ovh.CloudProjectDatabaseIpRestriction(\"iprestriction\",\n service_name=ovh_cloud_project_database[\"db\"][\"service_name\"],\n engine=ovh_cloud_project_database[\"db\"][\"engine\"],\n cluster_id=ovh_cloud_project_database[\"db\"][\"cluster_id\"],\n ip=\"178.97.6.0/24\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var db = Ovh.GetCloudProjectDatabase.Invoke(new()\n {\n ServiceName = \"XXXX\",\n Engine = \"YYYY\",\n ClusterId = \"ZZZZ\",\n });\n\n var iprestriction = new Ovh.CloudProjectDatabaseIpRestriction(\"iprestriction\", new()\n {\n ServiceName = ovh_cloud_project_database.Db.Service_name,\n Engine = ovh_cloud_project_database.Db.Engine,\n ClusterId = ovh_cloud_project_database.Db.Cluster_id,\n Ip = \"178.97.6.0/24\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.LookupCloudProjectDatabase(ctx, \u0026GetCloudProjectDatabaseArgs{\n\t\t\tServiceName: \"XXXX\",\n\t\t\tEngine: \"YYYY\",\n\t\t\tClusterId: \"ZZZZ\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProjectDatabaseIpRestriction(ctx, \"iprestriction\", \u0026ovh.CloudProjectDatabaseIpRestrictionArgs{\n\t\t\tServiceName: pulumi.Any(ovh_cloud_project_database.Db.Service_name),\n\t\t\tEngine: pulumi.Any(ovh_cloud_project_database.Db.Engine),\n\t\t\tClusterId: pulumi.Any(ovh_cloud_project_database.Db.Cluster_id),\n\t\t\tIp: pulumi.String(\"178.97.6.0/24\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetCloudProjectDatabaseArgs;\nimport com.pulumi.ovh.CloudProjectDatabaseIpRestriction;\nimport com.pulumi.ovh.CloudProjectDatabaseIpRestrictionArgs;\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 db = OvhFunctions.getCloudProjectDatabase(GetCloudProjectDatabaseArgs.builder()\n .serviceName(\"XXXX\")\n .engine(\"YYYY\")\n .clusterId(\"ZZZZ\")\n .build());\n\n var iprestriction = new CloudProjectDatabaseIpRestriction(\"iprestriction\", CloudProjectDatabaseIpRestrictionArgs.builder() \n .serviceName(ovh_cloud_project_database.db().service_name())\n .engine(ovh_cloud_project_database.db().engine())\n .clusterId(ovh_cloud_project_database.db().cluster_id())\n .ip(\"178.97.6.0/24\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n iprestriction:\n type: ovh:CloudProjectDatabaseIpRestriction\n properties:\n serviceName: ${ovh_cloud_project_database.db.service_name}\n engine: ${ovh_cloud_project_database.db.engine}\n clusterId: ${ovh_cloud_project_database.db.cluster_id}\n ip: 178.97.6.0/24\nvariables:\n db:\n Fn::Invoke:\n Function: ovh:getCloudProjectDatabase\n Arguments:\n serviceName: XXXX\n engine: YYYY\n clusterId: ZZZZ\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed database cluster IP restrictions can be imported using the `service_name`, `engine`, `cluster_id` and the `ip`, separated by \"/\" E.g.,\n\n```sh\n $ pulumi import ovh:index/cloudProjectDatabaseIpRestriction:CloudProjectDatabaseIpRestriction my_ip_restriction \u003cservice_name\u003e/\u003cengine\u003e/\u003ccluster_id\u003e/178.97.6.0/24\n```\n\n ", "properties": { "clusterId": { "type": "string", @@ -5631,7 +5631,7 @@ } }, "ovh:index/cloudProjectDatabasePostgresSqlUser:CloudProjectDatabasePostgresSqlUser": { - "description": "Creates an user for a postgresql cluster associated with a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst postgresql = ovh.getCloudProjectDatabase({\n serviceName: \"XXXX\",\n engine: \"postgresql\",\n clusterId: \"ZZZZ\",\n});\nconst user = new ovh.CloudProjectDatabasePostgresSqlUser(\"user\", {\n serviceName: ovh_cloud_project_database.postgresql.service_name,\n clusterId: ovh_cloud_project_database.postgresql.id,\n roles: [\"replication\"],\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\npostgresql = ovh.get_cloud_project_database(service_name=\"XXXX\",\n engine=\"postgresql\",\n cluster_id=\"ZZZZ\")\nuser = ovh.CloudProjectDatabasePostgresSqlUser(\"user\",\n service_name=ovh_cloud_project_database[\"postgresql\"][\"service_name\"],\n cluster_id=ovh_cloud_project_database[\"postgresql\"][\"id\"],\n roles=[\"replication\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgresql = Ovh.GetCloudProjectDatabase.Invoke(new()\n {\n ServiceName = \"XXXX\",\n Engine = \"postgresql\",\n ClusterId = \"ZZZZ\",\n });\n\n var user = new Ovh.CloudProjectDatabasePostgresSqlUser(\"user\", new()\n {\n ServiceName = ovh_cloud_project_database.Postgresql.Service_name,\n ClusterId = ovh_cloud_project_database.Postgresql.Id,\n Roles = new[]\n {\n \"replication\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.LookupCloudProjectDatabase(ctx, \u0026GetCloudProjectDatabaseArgs{\n\t\t\tServiceName: \"XXXX\",\n\t\t\tEngine: \"postgresql\",\n\t\t\tClusterId: \"ZZZZ\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProjectDatabasePostgresSqlUser(ctx, \"user\", \u0026ovh.CloudProjectDatabasePostgresSqlUserArgs{\n\t\t\tServiceName: pulumi.Any(ovh_cloud_project_database.Postgresql.Service_name),\n\t\t\tClusterId: pulumi.Any(ovh_cloud_project_database.Postgresql.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"replication\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetCloudProjectDatabaseArgs;\nimport com.pulumi.ovh.CloudProjectDatabasePostgresSqlUser;\nimport com.pulumi.ovh.CloudProjectDatabasePostgresSqlUserArgs;\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 postgresql = OvhFunctions.getCloudProjectDatabase(GetCloudProjectDatabaseArgs.builder()\n .serviceName(\"XXXX\")\n .engine(\"postgresql\")\n .clusterId(\"ZZZZ\")\n .build());\n\n var user = new CloudProjectDatabasePostgresSqlUser(\"user\", CloudProjectDatabasePostgresSqlUserArgs.builder() \n .serviceName(ovh_cloud_project_database.postgresql().service_name())\n .clusterId(ovh_cloud_project_database.postgresql().id())\n .roles(\"replication\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n user:\n type: ovh:CloudProjectDatabasePostgresSqlUser\n properties:\n serviceName: ${ovh_cloud_project_database.postgresql.service_name}\n clusterId: ${ovh_cloud_project_database.postgresql.id}\n roles:\n - replication\nvariables:\n postgresql:\n Fn::Invoke:\n Function: ovh:getCloudProjectDatabase\n Arguments:\n serviceName: XXXX\n engine: postgresql\n clusterId: ZZZZ\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed postgresql clusters users can be imported using the `service_name`, `cluster_id` and `id` of the user, separated by \"/\" E.g.,\n\n```sh\n $ pulumi import ovh:index/cloudProjectDatabasePostgresSqlUser:CloudProjectDatabasePostgresSqlUser my_user \u003cservice_name\u003e/\u003ccluster_id\u003e/\u003cid\u003e\n```\n\n ", + "description": "Creates an user for a postgresql cluster associated with a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst postgresql = ovh.getCloudProjectDatabase({\n serviceName: \"XXXX\",\n engine: \"postgresql\",\n clusterId: \"ZZZZ\",\n});\nconst user = new ovh.CloudProjectDatabasePostgresSqlUser(\"user\", {\n serviceName: ovh_cloud_project_database.postgresql.service_name,\n clusterId: ovh_cloud_project_database.postgresql.id,\n roles: [\"replication\"],\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\npostgresql = ovh.get_cloud_project_database(service_name=\"XXXX\",\n engine=\"postgresql\",\n cluster_id=\"ZZZZ\")\nuser = ovh.CloudProjectDatabasePostgresSqlUser(\"user\",\n service_name=ovh_cloud_project_database[\"postgresql\"][\"service_name\"],\n cluster_id=ovh_cloud_project_database[\"postgresql\"][\"id\"],\n roles=[\"replication\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgresql = Ovh.GetCloudProjectDatabase.Invoke(new()\n {\n ServiceName = \"XXXX\",\n Engine = \"postgresql\",\n ClusterId = \"ZZZZ\",\n });\n\n var user = new Ovh.CloudProjectDatabasePostgresSqlUser(\"user\", new()\n {\n ServiceName = ovh_cloud_project_database.Postgresql.Service_name,\n ClusterId = ovh_cloud_project_database.Postgresql.Id,\n Roles = new[]\n {\n \"replication\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.LookupCloudProjectDatabase(ctx, \u0026GetCloudProjectDatabaseArgs{\n\t\t\tServiceName: \"XXXX\",\n\t\t\tEngine: \"postgresql\",\n\t\t\tClusterId: \"ZZZZ\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProjectDatabasePostgresSqlUser(ctx, \"user\", \u0026ovh.CloudProjectDatabasePostgresSqlUserArgs{\n\t\t\tServiceName: pulumi.Any(ovh_cloud_project_database.Postgresql.Service_name),\n\t\t\tClusterId: pulumi.Any(ovh_cloud_project_database.Postgresql.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"replication\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetCloudProjectDatabaseArgs;\nimport com.pulumi.ovh.CloudProjectDatabasePostgresSqlUser;\nimport com.pulumi.ovh.CloudProjectDatabasePostgresSqlUserArgs;\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 postgresql = OvhFunctions.getCloudProjectDatabase(GetCloudProjectDatabaseArgs.builder()\n .serviceName(\"XXXX\")\n .engine(\"postgresql\")\n .clusterId(\"ZZZZ\")\n .build());\n\n var user = new CloudProjectDatabasePostgresSqlUser(\"user\", CloudProjectDatabasePostgresSqlUserArgs.builder() \n .serviceName(ovh_cloud_project_database.postgresql().service_name())\n .clusterId(ovh_cloud_project_database.postgresql().id())\n .roles(\"replication\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n user:\n type: ovh:CloudProjectDatabasePostgresSqlUser\n properties:\n serviceName: ${ovh_cloud_project_database.postgresql.service_name}\n clusterId: ${ovh_cloud_project_database.postgresql.id}\n roles:\n - replication\nvariables:\n postgresql:\n Fn::Invoke:\n Function: ovh:getCloudProjectDatabase\n Arguments:\n serviceName: XXXX\n engine: postgresql\n clusterId: ZZZZ\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed postgresql clusters users can be imported using the `service_name`, `cluster_id` and `id` of the user, separated by \"/\" E.g.,\n\n```sh\n $ pulumi import ovh:index/cloudProjectDatabasePostgresSqlUser:CloudProjectDatabasePostgresSqlUser my_user \u003cservice_name\u003e/\u003ccluster_id\u003e/\u003cid\u003e\n```\n\n ", "properties": { "clusterId": { "type": "string", @@ -5743,7 +5743,7 @@ } }, "ovh:index/cloudProjectDatabaseUser:CloudProjectDatabaseUser": { - "description": "Creates an user for a database cluster associated with a public cloud project.\n\nWith this resource you can create a user for the following database engine:\n\n * `cassandra`\n * `kafka`\n * `kafkaConnect`\n * `mysql`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst db = ovh.getCloudProjectDatabase({\n serviceName: \"XXXX\",\n engine: \"YYYY\",\n clusterId: \"ZZZZ\",\n});\nconst user = new ovh.CloudProjectDatabaseUser(\"user\", {\n serviceName: ovh_cloud_project_database.db.service_name,\n engine: ovh_cloud_project_database.db.engine,\n clusterId: ovh_cloud_project_database.db.id,\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\ndb = ovh.get_cloud_project_database(service_name=\"XXXX\",\n engine=\"YYYY\",\n cluster_id=\"ZZZZ\")\nuser = ovh.CloudProjectDatabaseUser(\"user\",\n service_name=ovh_cloud_project_database[\"db\"][\"service_name\"],\n engine=ovh_cloud_project_database[\"db\"][\"engine\"],\n cluster_id=ovh_cloud_project_database[\"db\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var db = Ovh.GetCloudProjectDatabase.Invoke(new()\n {\n ServiceName = \"XXXX\",\n Engine = \"YYYY\",\n ClusterId = \"ZZZZ\",\n });\n\n var user = new Ovh.CloudProjectDatabaseUser(\"user\", new()\n {\n ServiceName = ovh_cloud_project_database.Db.Service_name,\n Engine = ovh_cloud_project_database.Db.Engine,\n ClusterId = ovh_cloud_project_database.Db.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.LookupCloudProjectDatabase(ctx, \u0026GetCloudProjectDatabaseArgs{\n\t\t\tServiceName: \"XXXX\",\n\t\t\tEngine: \"YYYY\",\n\t\t\tClusterId: \"ZZZZ\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProjectDatabaseUser(ctx, \"user\", \u0026ovh.CloudProjectDatabaseUserArgs{\n\t\t\tServiceName: pulumi.Any(ovh_cloud_project_database.Db.Service_name),\n\t\t\tEngine: pulumi.Any(ovh_cloud_project_database.Db.Engine),\n\t\t\tClusterId: pulumi.Any(ovh_cloud_project_database.Db.Id),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetCloudProjectDatabaseArgs;\nimport com.pulumi.ovh.CloudProjectDatabaseUser;\nimport com.pulumi.ovh.CloudProjectDatabaseUserArgs;\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 db = OvhFunctions.getCloudProjectDatabase(GetCloudProjectDatabaseArgs.builder()\n .serviceName(\"XXXX\")\n .engine(\"YYYY\")\n .clusterId(\"ZZZZ\")\n .build());\n\n var user = new CloudProjectDatabaseUser(\"user\", CloudProjectDatabaseUserArgs.builder() \n .serviceName(ovh_cloud_project_database.db().service_name())\n .engine(ovh_cloud_project_database.db().engine())\n .clusterId(ovh_cloud_project_database.db().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n user:\n type: ovh:CloudProjectDatabaseUser\n properties:\n serviceName: ${ovh_cloud_project_database.db.service_name}\n engine: ${ovh_cloud_project_database.db.engine}\n clusterId: ${ovh_cloud_project_database.db.id}\nvariables:\n db:\n Fn::Invoke:\n Function: ovh:getCloudProjectDatabase\n Arguments:\n serviceName: XXXX\n engine: YYYY\n clusterId: ZZZZ\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed database clusters users can be imported using the `service_name`, `engine`, `cluster_id` and `id` of the user, separated by \"/\" E.g.,\n\n```sh\n $ pulumi import ovh:index/cloudProjectDatabaseUser:CloudProjectDatabaseUser my_user \u003cservice_name\u003e/\u003cengine\u003e/\u003ccluster_id\u003e/\u003cid\u003e\n```\n\n ", + "description": "Creates an user for a database cluster associated with a public cloud project.\n\nWith this resource you can create a user for the following database engine:\n\n * `cassandra`\n * `kafka`\n * `kafkaConnect`\n * `mysql`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst db = ovh.getCloudProjectDatabase({\n serviceName: \"XXXX\",\n engine: \"YYYY\",\n clusterId: \"ZZZZ\",\n});\nconst user = new ovh.CloudProjectDatabaseUser(\"user\", {\n serviceName: ovh_cloud_project_database.db.service_name,\n engine: ovh_cloud_project_database.db.engine,\n clusterId: ovh_cloud_project_database.db.id,\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\ndb = ovh.get_cloud_project_database(service_name=\"XXXX\",\n engine=\"YYYY\",\n cluster_id=\"ZZZZ\")\nuser = ovh.CloudProjectDatabaseUser(\"user\",\n service_name=ovh_cloud_project_database[\"db\"][\"service_name\"],\n engine=ovh_cloud_project_database[\"db\"][\"engine\"],\n cluster_id=ovh_cloud_project_database[\"db\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var db = Ovh.GetCloudProjectDatabase.Invoke(new()\n {\n ServiceName = \"XXXX\",\n Engine = \"YYYY\",\n ClusterId = \"ZZZZ\",\n });\n\n var user = new Ovh.CloudProjectDatabaseUser(\"user\", new()\n {\n ServiceName = ovh_cloud_project_database.Db.Service_name,\n Engine = ovh_cloud_project_database.Db.Engine,\n ClusterId = ovh_cloud_project_database.Db.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.LookupCloudProjectDatabase(ctx, \u0026GetCloudProjectDatabaseArgs{\n\t\t\tServiceName: \"XXXX\",\n\t\t\tEngine: \"YYYY\",\n\t\t\tClusterId: \"ZZZZ\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewCloudProjectDatabaseUser(ctx, \"user\", \u0026ovh.CloudProjectDatabaseUserArgs{\n\t\t\tServiceName: pulumi.Any(ovh_cloud_project_database.Db.Service_name),\n\t\t\tEngine: pulumi.Any(ovh_cloud_project_database.Db.Engine),\n\t\t\tClusterId: pulumi.Any(ovh_cloud_project_database.Db.Id),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetCloudProjectDatabaseArgs;\nimport com.pulumi.ovh.CloudProjectDatabaseUser;\nimport com.pulumi.ovh.CloudProjectDatabaseUserArgs;\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 db = OvhFunctions.getCloudProjectDatabase(GetCloudProjectDatabaseArgs.builder()\n .serviceName(\"XXXX\")\n .engine(\"YYYY\")\n .clusterId(\"ZZZZ\")\n .build());\n\n var user = new CloudProjectDatabaseUser(\"user\", CloudProjectDatabaseUserArgs.builder() \n .serviceName(ovh_cloud_project_database.db().service_name())\n .engine(ovh_cloud_project_database.db().engine())\n .clusterId(ovh_cloud_project_database.db().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n user:\n type: ovh:CloudProjectDatabaseUser\n properties:\n serviceName: ${ovh_cloud_project_database.db.service_name}\n engine: ${ovh_cloud_project_database.db.engine}\n clusterId: ${ovh_cloud_project_database.db.id}\nvariables:\n db:\n Fn::Invoke:\n Function: ovh:getCloudProjectDatabase\n Arguments:\n serviceName: XXXX\n engine: YYYY\n clusterId: ZZZZ\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed database clusters users can be imported using the `service_name`, `engine`, `cluster_id` and `id` of the user, separated by \"/\" E.g.,\n\n```sh\n $ pulumi import ovh:index/cloudProjectDatabaseUser:CloudProjectDatabaseUser my_user \u003cservice_name\u003e/\u003cengine\u003e/\u003ccluster_id\u003e/\u003cid\u003e\n```\n\n ", "properties": { "clusterId": { "type": "string", @@ -5850,7 +5850,7 @@ } }, "ovh:index/cloudProjectFailoverIpAttach:CloudProjectFailoverIpAttach": { - "description": "Attaches a failover IP address to a compute instance\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst myfailoverip = new ovh.CloudProjectFailoverIpAttach(\"myfailoverip\", {\n ip: \"XXXXXX\",\n routedTo: \"XXXXXX\",\n serviceName: \"XXXXXX\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nmyfailoverip = ovh.CloudProjectFailoverIpAttach(\"myfailoverip\",\n ip=\"XXXXXX\",\n routed_to=\"XXXXXX\",\n service_name=\"XXXXXX\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myfailoverip = new Ovh.CloudProjectFailoverIpAttach(\"myfailoverip\", new()\n {\n Ip = \"XXXXXX\",\n RoutedTo = \"XXXXXX\",\n ServiceName = \"XXXXXX\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectFailoverIpAttach(ctx, \"myfailoverip\", \u0026ovh.CloudProjectFailoverIpAttachArgs{\n\t\t\tIp: pulumi.String(\"XXXXXX\"),\n\t\t\tRoutedTo: pulumi.String(\"XXXXXX\"),\n\t\t\tServiceName: pulumi.String(\"XXXXXX\"),\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.ovh.CloudProjectFailoverIpAttach;\nimport com.pulumi.ovh.CloudProjectFailoverIpAttachArgs;\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 myfailoverip = new CloudProjectFailoverIpAttach(\"myfailoverip\", CloudProjectFailoverIpAttachArgs.builder() \n .ip(\"XXXXXX\")\n .routedTo(\"XXXXXX\")\n .serviceName(\"XXXXXX\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myfailoverip:\n type: ovh:CloudProjectFailoverIpAttach\n properties:\n ip: XXXXXX\n routedTo: XXXXXX\n serviceName: XXXXXX\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Attaches a failover IP address to a compute instance\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst myfailoverip = new ovh.CloudProjectFailoverIpAttach(\"myfailoverip\", {\n ip: \"XXXXXX\",\n routedTo: \"XXXXXX\",\n serviceName: \"XXXXXX\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nmyfailoverip = ovh.CloudProjectFailoverIpAttach(\"myfailoverip\",\n ip=\"XXXXXX\",\n routed_to=\"XXXXXX\",\n service_name=\"XXXXXX\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myfailoverip = new Ovh.CloudProjectFailoverIpAttach(\"myfailoverip\", new()\n {\n Ip = \"XXXXXX\",\n RoutedTo = \"XXXXXX\",\n ServiceName = \"XXXXXX\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectFailoverIpAttach(ctx, \"myfailoverip\", \u0026ovh.CloudProjectFailoverIpAttachArgs{\n\t\t\tIp: pulumi.String(\"XXXXXX\"),\n\t\t\tRoutedTo: pulumi.String(\"XXXXXX\"),\n\t\t\tServiceName: pulumi.String(\"XXXXXX\"),\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.ovh.CloudProjectFailoverIpAttach;\nimport com.pulumi.ovh.CloudProjectFailoverIpAttachArgs;\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 myfailoverip = new CloudProjectFailoverIpAttach(\"myfailoverip\", CloudProjectFailoverIpAttachArgs.builder() \n .ip(\"XXXXXX\")\n .routedTo(\"XXXXXX\")\n .serviceName(\"XXXXXX\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myfailoverip:\n type: ovh:CloudProjectFailoverIpAttach\n properties:\n ip: XXXXXX\n routedTo: XXXXXX\n serviceName: XXXXXX\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "block": { "type": "string", @@ -5975,7 +5975,7 @@ } }, "ovh:index/cloudProjectKube:CloudProjectKube": { - "description": "Creates a OVH Managed Kubernetes Service cluster in a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst mykube = new ovh.CloudProjectKube(\"mykube\", {\n serviceName: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n region: \"GRA7\",\n privateNetworkId: xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx,\n privateNetworkConfiguration: {\n defaultVrackGateway: \"10.4.0.1\",\n privateNetworkRoutingAsDefault: true,\n },\n}, {\n dependsOn: [ovh_cloud_project_network_private.network1],\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nmykube = ovh.CloudProjectKube(\"mykube\",\n service_name=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n region=\"GRA7\",\n private_network_id=xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx,\n private_network_configuration=ovh.CloudProjectKubePrivateNetworkConfigurationArgs(\n default_vrack_gateway=\"10.4.0.1\",\n private_network_routing_as_default=True,\n ),\n opts=pulumi.ResourceOptions(depends_on=[ovh_cloud_project_network_private[\"network1\"]]))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mykube = new Ovh.CloudProjectKube(\"mykube\", new()\n {\n ServiceName = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n Region = \"GRA7\",\n PrivateNetworkId = xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx,\n PrivateNetworkConfiguration = new Ovh.Inputs.CloudProjectKubePrivateNetworkConfigurationArgs\n {\n DefaultVrackGateway = \"10.4.0.1\",\n PrivateNetworkRoutingAsDefault = true,\n },\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n ovh_cloud_project_network_private.Network1,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectKube(ctx, \"mykube\", \u0026ovh.CloudProjectKubeArgs{\n\t\t\tServiceName: pulumi.String(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"),\n\t\t\tRegion: pulumi.String(\"GRA7\"),\n\t\t\tPrivateNetworkId: pulumi.Any(xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx),\n\t\t\tPrivateNetworkConfiguration: \u0026CloudProjectKubePrivateNetworkConfigurationArgs{\n\t\t\t\tDefaultVrackGateway: pulumi.String(\"10.4.0.1\"),\n\t\t\t\tPrivateNetworkRoutingAsDefault: pulumi.Bool(true),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tovh_cloud_project_network_private.Network1,\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.ovh.CloudProjectKube;\nimport com.pulumi.ovh.CloudProjectKubeArgs;\nimport com.pulumi.ovh.inputs.CloudProjectKubePrivateNetworkConfigurationArgs;\nimport com.pulumi.resources.CustomResourceOptions;\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 mykube = new CloudProjectKube(\"mykube\", CloudProjectKubeArgs.builder() \n .serviceName(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n .region(\"GRA7\")\n .privateNetworkId(xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx)\n .privateNetworkConfiguration(CloudProjectKubePrivateNetworkConfigurationArgs.builder()\n .defaultVrackGateway(\"10.4.0.1\")\n .privateNetworkRoutingAsDefault(true)\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn(ovh_cloud_project_network_private.network1())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mykube:\n type: ovh:CloudProjectKube\n properties:\n serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n region: GRA7\n privateNetworkId: ${[\"xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxxx\"]} #ovh_cloud_project_network_private.network1.regions_attributes[index(ovh_cloud_project_network_private.network1.regions_attributes.*.region, \"GRA7\")].openstackid\n privateNetworkConfiguration:\n defaultVrackGateway: 10.4.0.1\n privateNetworkRoutingAsDefault: true\n options:\n dependson:\n - ${ovh_cloud_project_network_private.network1}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed Kubernetes Service clusters can be imported using the `serviceName` and the `id` of the cluster, separated by \"/\" E.g.,\n\n```sh\n $ pulumi import ovh:index/cloudProjectKube:CloudProjectKube my_kube_cluster a6678gggjh76hggjh7f59/a123bc45-a1b2-34c5-678d-678ghg7676ebc\n```\n\n ", + "description": "Creates a OVH Managed Kubernetes Service cluster in a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\n\nconst mykube = new ovh.CloudProjectKube(\"mykube\", {\n serviceName: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n region: \"GRA7\",\n privateNetworkId: xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx,\n privateNetworkConfiguration: {\n defaultVrackGateway: \"10.4.0.1\",\n privateNetworkRoutingAsDefault: true,\n },\n}, {\n dependsOn: [ovh_cloud_project_network_private.network1],\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nmykube = ovh.CloudProjectKube(\"mykube\",\n service_name=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n region=\"GRA7\",\n private_network_id=xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx,\n private_network_configuration=ovh.CloudProjectKubePrivateNetworkConfigurationArgs(\n default_vrack_gateway=\"10.4.0.1\",\n private_network_routing_as_default=True,\n ),\n opts=pulumi.ResourceOptions(depends_on=[ovh_cloud_project_network_private[\"network1\"]]))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mykube = new Ovh.CloudProjectKube(\"mykube\", new()\n {\n ServiceName = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n Region = \"GRA7\",\n PrivateNetworkId = xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx,\n PrivateNetworkConfiguration = new Ovh.Inputs.CloudProjectKubePrivateNetworkConfigurationArgs\n {\n DefaultVrackGateway = \"10.4.0.1\",\n PrivateNetworkRoutingAsDefault = true,\n },\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n ovh_cloud_project_network_private.Network1,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectKube(ctx, \"mykube\", \u0026ovh.CloudProjectKubeArgs{\n\t\t\tServiceName: pulumi.String(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"),\n\t\t\tRegion: pulumi.String(\"GRA7\"),\n\t\t\tPrivateNetworkId: pulumi.Any(xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx),\n\t\t\tPrivateNetworkConfiguration: \u0026CloudProjectKubePrivateNetworkConfigurationArgs{\n\t\t\t\tDefaultVrackGateway: pulumi.String(\"10.4.0.1\"),\n\t\t\t\tPrivateNetworkRoutingAsDefault: pulumi.Bool(true),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tovh_cloud_project_network_private.Network1,\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.ovh.CloudProjectKube;\nimport com.pulumi.ovh.CloudProjectKubeArgs;\nimport com.pulumi.ovh.inputs.CloudProjectKubePrivateNetworkConfigurationArgs;\nimport com.pulumi.resources.CustomResourceOptions;\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 mykube = new CloudProjectKube(\"mykube\", CloudProjectKubeArgs.builder() \n .serviceName(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n .region(\"GRA7\")\n .privateNetworkId(xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx)\n .privateNetworkConfiguration(CloudProjectKubePrivateNetworkConfigurationArgs.builder()\n .defaultVrackGateway(\"10.4.0.1\")\n .privateNetworkRoutingAsDefault(true)\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn(ovh_cloud_project_network_private.network1())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mykube:\n type: ovh:CloudProjectKube\n properties:\n serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n region: GRA7\n privateNetworkId: ${[\"xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxxx\"]} #ovh_cloud_project_network_private.network1.regions_attributes[index(ovh_cloud_project_network_private.network1.regions_attributes.*.region, \"GRA7\")].openstackid\n privateNetworkConfiguration:\n defaultVrackGateway: 10.4.0.1\n privateNetworkRoutingAsDefault: true\n options:\n dependson:\n - ${ovh_cloud_project_network_private.network1}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed Kubernetes Service clusters can be imported using the `serviceName` and the `id` of the cluster, separated by \"/\" E.g.,\n\n```sh\n $ pulumi import ovh:index/cloudProjectKube:CloudProjectKube my_kube_cluster a6678gggjh76hggjh7f59/a123bc45-a1b2-34c5-678d-678ghg7676ebc\n```\n\n ", "properties": { "controlPlaneIsUpToDate": { "type": "boolean", @@ -6158,7 +6158,7 @@ } }, "ovh:index/cloudProjectKubeIpRestrictions:CloudProjectKubeIpRestrictions": { - "description": "Apply IP restrictions to an OVHcloud Managed Kubernetes cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst vrackOnly = new ovh.CloudProjectKubeIpRestrictions(\"vrack_only\", {\n ips: [\"10.42.0.0/16\"],\n kubeId: \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\",\n serviceName: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nvrack_only = ovh.CloudProjectKubeIpRestrictions(\"vrackOnly\",\n ips=[\"10.42.0.0/16\"],\n kube_id=\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\",\n service_name=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vrackOnly = new Ovh.CloudProjectKubeIpRestrictions(\"vrackOnly\", new()\n {\n Ips = new[]\n {\n \"10.42.0.0/16\",\n },\n KubeId = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\",\n ServiceName = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectKubeIpRestrictions(ctx, \"vrackOnly\", \u0026ovh.CloudProjectKubeIpRestrictionsArgs{\n\t\t\tIps: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.42.0.0/16\"),\n\t\t\t},\n\t\t\tKubeId: pulumi.String(\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\"),\n\t\t\tServiceName: pulumi.String(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"),\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.ovh.CloudProjectKubeIpRestrictions;\nimport com.pulumi.ovh.CloudProjectKubeIpRestrictionsArgs;\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 vrackOnly = new CloudProjectKubeIpRestrictions(\"vrackOnly\", CloudProjectKubeIpRestrictionsArgs.builder() \n .ips(\"10.42.0.0/16\")\n .kubeId(\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\")\n .serviceName(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vrackOnly:\n type: ovh:CloudProjectKubeIpRestrictions\n properties:\n ips:\n - 10.42.0.0/16\n kubeId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\n serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed Kubernetes Service cluster IP restrictions can be imported using the `id` of the IP restrictions (which is the same ID as the kubernetes which it depends on),\n\n```sh\n $ pulumi import ovh:index/cloudProjectKubeIpRestrictions:CloudProjectKubeIpRestrictions iprestrictions xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\n```\n\n ", + "description": "Apply IP restrictions to an OVHcloud Managed Kubernetes cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst vrackOnly = new ovh.CloudProjectKubeIpRestrictions(\"vrack_only\", {\n ips: [\"10.42.0.0/16\"],\n kubeId: \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\",\n serviceName: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nvrack_only = ovh.CloudProjectKubeIpRestrictions(\"vrackOnly\",\n ips=[\"10.42.0.0/16\"],\n kube_id=\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\",\n service_name=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vrackOnly = new Ovh.CloudProjectKubeIpRestrictions(\"vrackOnly\", new()\n {\n Ips = new[]\n {\n \"10.42.0.0/16\",\n },\n KubeId = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\",\n ServiceName = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectKubeIpRestrictions(ctx, \"vrackOnly\", \u0026ovh.CloudProjectKubeIpRestrictionsArgs{\n\t\t\tIps: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.42.0.0/16\"),\n\t\t\t},\n\t\t\tKubeId: pulumi.String(\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\"),\n\t\t\tServiceName: pulumi.String(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"),\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.ovh.CloudProjectKubeIpRestrictions;\nimport com.pulumi.ovh.CloudProjectKubeIpRestrictionsArgs;\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 vrackOnly = new CloudProjectKubeIpRestrictions(\"vrackOnly\", CloudProjectKubeIpRestrictionsArgs.builder() \n .ips(\"10.42.0.0/16\")\n .kubeId(\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\")\n .serviceName(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vrackOnly:\n type: ovh:CloudProjectKubeIpRestrictions\n properties:\n ips:\n - 10.42.0.0/16\n kubeId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx\n serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVHcloud Managed Kubernetes Service cluster IP restrictions can be imported using the `id` of the IP restrictions (which is the same ID as the kubernetes which it depends on),\n\n```sh\n $ pulumi import ovh:index/cloudProjectKubeIpRestrictions:CloudProjectKubeIpRestrictions iprestrictions xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\n```\n\n ", "properties": { "ips": { "type": "array", @@ -6230,7 +6230,7 @@ } }, "ovh:index/cloudProjectKubeNodePool:CloudProjectKubeNodePool": { - "description": "Creates a nodepool in a OVH Managed Kubernetes Service cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst pool = new ovh.CloudProjectKubeNodePool(\"pool\", {\n desiredNodes: 3,\n flavorName: \"b2-7\",\n kubeId: \"xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\",\n maxNodes: 3,\n minNodes: 3,\n serviceName: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n template: {\n metadata: {\n annotations: {\n k1: \"v1\",\n k2: \"v2\",\n },\n finalizers: [\n \"F1\",\n \"F2\",\n ],\n labels: {\n k3: \"v3\",\n k4: \"v4\",\n },\n },\n spec: {\n taints: [{\n effect: \"PreferNoSchedule\",\n key: \"k\",\n value: \"v\",\n }],\n unschedulable: false,\n },\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\npool = ovh.CloudProjectKubeNodePool(\"pool\",\n desired_nodes=3,\n flavor_name=\"b2-7\",\n kube_id=\"xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\",\n max_nodes=3,\n min_nodes=3,\n service_name=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n template=ovh.CloudProjectKubeNodePoolTemplateArgs(\n metadata=ovh.CloudProjectKubeNodePoolTemplateMetadataArgs(\n annotations={\n \"k1\": \"v1\",\n \"k2\": \"v2\",\n },\n finalizers=[\n \"F1\",\n \"F2\",\n ],\n labels={\n \"k3\": \"v3\",\n \"k4\": \"v4\",\n },\n ),\n spec=ovh.CloudProjectKubeNodePoolTemplateSpecArgs(\n taints=[{\n \"effect\": \"PreferNoSchedule\",\n \"key\": \"k\",\n \"value\": \"v\",\n }],\n unschedulable=False,\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pool = new Ovh.CloudProjectKubeNodePool(\"pool\", new()\n {\n DesiredNodes = 3,\n FlavorName = \"b2-7\",\n KubeId = \"xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\",\n MaxNodes = 3,\n MinNodes = 3,\n ServiceName = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n Template = new Ovh.Inputs.CloudProjectKubeNodePoolTemplateArgs\n {\n Metadata = new Ovh.Inputs.CloudProjectKubeNodePoolTemplateMetadataArgs\n {\n Annotations = \n {\n { \"k1\", \"v1\" },\n { \"k2\", \"v2\" },\n },\n Finalizers = new[]\n {\n \"F1\",\n \"F2\",\n },\n Labels = \n {\n { \"k3\", \"v3\" },\n { \"k4\", \"v4\" },\n },\n },\n Spec = new Ovh.Inputs.CloudProjectKubeNodePoolTemplateSpecArgs\n {\n Taints = new[]\n {\n \n {\n { \"effect\", \"PreferNoSchedule\" },\n { \"key\", \"k\" },\n { \"value\", \"v\" },\n },\n },\n Unschedulable = false,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectKubeNodePool(ctx, \"pool\", \u0026ovh.CloudProjectKubeNodePoolArgs{\n\t\t\tDesiredNodes: pulumi.Int(3),\n\t\t\tFlavorName: pulumi.String(\"b2-7\"),\n\t\t\tKubeId: pulumi.String(\"xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\"),\n\t\t\tMaxNodes: pulumi.Int(3),\n\t\t\tMinNodes: pulumi.Int(3),\n\t\t\tServiceName: pulumi.String(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"),\n\t\t\tTemplate: \u0026CloudProjectKubeNodePoolTemplateArgs{\n\t\t\t\tMetadata: \u0026CloudProjectKubeNodePoolTemplateMetadataArgs{\n\t\t\t\t\tAnnotations: pulumi.StringMap{\n\t\t\t\t\t\t\"k1\": pulumi.String(\"v1\"),\n\t\t\t\t\t\t\"k2\": pulumi.String(\"v2\"),\n\t\t\t\t\t},\n\t\t\t\t\tFinalizers: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"F1\"),\n\t\t\t\t\t\tpulumi.String(\"F2\"),\n\t\t\t\t\t},\n\t\t\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\t\t\"k3\": pulumi.String(\"v3\"),\n\t\t\t\t\t\t\"k4\": pulumi.String(\"v4\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSpec: \u0026CloudProjectKubeNodePoolTemplateSpecArgs{\n\t\t\t\t\tTaints: pulumi.AnyMapArray{\n\t\t\t\t\t\tpulumi.AnyMap{\n\t\t\t\t\t\t\t\"effect\": pulumi.Any(\"PreferNoSchedule\"),\n\t\t\t\t\t\t\t\"key\": pulumi.Any(\"k\"),\n\t\t\t\t\t\t\t\"value\": pulumi.Any(\"v\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tUnschedulable: pulumi.Bool(false),\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.ovh.CloudProjectKubeNodePool;\nimport com.pulumi.ovh.CloudProjectKubeNodePoolArgs;\nimport com.pulumi.ovh.inputs.CloudProjectKubeNodePoolTemplateArgs;\nimport com.pulumi.ovh.inputs.CloudProjectKubeNodePoolTemplateMetadataArgs;\nimport com.pulumi.ovh.inputs.CloudProjectKubeNodePoolTemplateSpecArgs;\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 pool = new CloudProjectKubeNodePool(\"pool\", CloudProjectKubeNodePoolArgs.builder() \n .desiredNodes(3)\n .flavorName(\"b2-7\")\n .kubeId(\"xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\")\n .maxNodes(3)\n .minNodes(3)\n .serviceName(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n .template(CloudProjectKubeNodePoolTemplateArgs.builder()\n .metadata(CloudProjectKubeNodePoolTemplateMetadataArgs.builder()\n .annotations(Map.ofEntries(\n Map.entry(\"k1\", \"v1\"),\n Map.entry(\"k2\", \"v2\")\n ))\n .finalizers( \n \"F1\",\n \"F2\")\n .labels(Map.ofEntries(\n Map.entry(\"k3\", \"v3\"),\n Map.entry(\"k4\", \"v4\")\n ))\n .build())\n .spec(CloudProjectKubeNodePoolTemplateSpecArgs.builder()\n .taints(Map.ofEntries(\n Map.entry(\"effect\", \"PreferNoSchedule\"),\n Map.entry(\"key\", \"k\"),\n Map.entry(\"value\", \"v\")\n ))\n .unschedulable(false)\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pool:\n type: ovh:CloudProjectKubeNodePool\n properties:\n desiredNodes: 3\n flavorName: b2-7\n kubeId: xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\n maxNodes: 3\n minNodes: 3\n serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n template:\n metadata:\n annotations:\n k1: v1\n k2: v2\n finalizers:\n - F1\n - F2\n labels:\n k3: v3\n k4: v4\n spec:\n taints:\n - effect: PreferNoSchedule\n key: k\n value: v\n unschedulable: false\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates a nodepool in a OVH Managed Kubernetes Service cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst pool = new ovh.CloudProjectKubeNodePool(\"pool\", {\n desiredNodes: 3,\n flavorName: \"b2-7\",\n kubeId: \"xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\",\n maxNodes: 3,\n minNodes: 3,\n serviceName: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n template: {\n metadata: {\n annotations: {\n k1: \"v1\",\n k2: \"v2\",\n },\n finalizers: [\n \"F1\",\n \"F2\",\n ],\n labels: {\n k3: \"v3\",\n k4: \"v4\",\n },\n },\n spec: {\n taints: [{\n effect: \"PreferNoSchedule\",\n key: \"k\",\n value: \"v\",\n }],\n unschedulable: false,\n },\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\npool = ovh.CloudProjectKubeNodePool(\"pool\",\n desired_nodes=3,\n flavor_name=\"b2-7\",\n kube_id=\"xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\",\n max_nodes=3,\n min_nodes=3,\n service_name=\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n template=ovh.CloudProjectKubeNodePoolTemplateArgs(\n metadata=ovh.CloudProjectKubeNodePoolTemplateMetadataArgs(\n annotations={\n \"k1\": \"v1\",\n \"k2\": \"v2\",\n },\n finalizers=[\n \"F1\",\n \"F2\",\n ],\n labels={\n \"k3\": \"v3\",\n \"k4\": \"v4\",\n },\n ),\n spec=ovh.CloudProjectKubeNodePoolTemplateSpecArgs(\n taints=[{\n \"effect\": \"PreferNoSchedule\",\n \"key\": \"k\",\n \"value\": \"v\",\n }],\n unschedulable=False,\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pool = new Ovh.CloudProjectKubeNodePool(\"pool\", new()\n {\n DesiredNodes = 3,\n FlavorName = \"b2-7\",\n KubeId = \"xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\",\n MaxNodes = 3,\n MinNodes = 3,\n ServiceName = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n Template = new Ovh.Inputs.CloudProjectKubeNodePoolTemplateArgs\n {\n Metadata = new Ovh.Inputs.CloudProjectKubeNodePoolTemplateMetadataArgs\n {\n Annotations = \n {\n { \"k1\", \"v1\" },\n { \"k2\", \"v2\" },\n },\n Finalizers = new[]\n {\n \"F1\",\n \"F2\",\n },\n Labels = \n {\n { \"k3\", \"v3\" },\n { \"k4\", \"v4\" },\n },\n },\n Spec = new Ovh.Inputs.CloudProjectKubeNodePoolTemplateSpecArgs\n {\n Taints = new[]\n {\n \n {\n { \"effect\", \"PreferNoSchedule\" },\n { \"key\", \"k\" },\n { \"value\", \"v\" },\n },\n },\n Unschedulable = false,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectKubeNodePool(ctx, \"pool\", \u0026ovh.CloudProjectKubeNodePoolArgs{\n\t\t\tDesiredNodes: pulumi.Int(3),\n\t\t\tFlavorName: pulumi.String(\"b2-7\"),\n\t\t\tKubeId: pulumi.String(\"xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\"),\n\t\t\tMaxNodes: pulumi.Int(3),\n\t\t\tMinNodes: pulumi.Int(3),\n\t\t\tServiceName: pulumi.String(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"),\n\t\t\tTemplate: \u0026CloudProjectKubeNodePoolTemplateArgs{\n\t\t\t\tMetadata: \u0026CloudProjectKubeNodePoolTemplateMetadataArgs{\n\t\t\t\t\tAnnotations: pulumi.StringMap{\n\t\t\t\t\t\t\"k1\": pulumi.String(\"v1\"),\n\t\t\t\t\t\t\"k2\": pulumi.String(\"v2\"),\n\t\t\t\t\t},\n\t\t\t\t\tFinalizers: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"F1\"),\n\t\t\t\t\t\tpulumi.String(\"F2\"),\n\t\t\t\t\t},\n\t\t\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\t\t\"k3\": pulumi.String(\"v3\"),\n\t\t\t\t\t\t\"k4\": pulumi.String(\"v4\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSpec: \u0026CloudProjectKubeNodePoolTemplateSpecArgs{\n\t\t\t\t\tTaints: pulumi.AnyMapArray{\n\t\t\t\t\t\tpulumi.AnyMap{\n\t\t\t\t\t\t\t\"effect\": pulumi.Any(\"PreferNoSchedule\"),\n\t\t\t\t\t\t\t\"key\": pulumi.Any(\"k\"),\n\t\t\t\t\t\t\t\"value\": pulumi.Any(\"v\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tUnschedulable: pulumi.Bool(false),\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.ovh.CloudProjectKubeNodePool;\nimport com.pulumi.ovh.CloudProjectKubeNodePoolArgs;\nimport com.pulumi.ovh.inputs.CloudProjectKubeNodePoolTemplateArgs;\nimport com.pulumi.ovh.inputs.CloudProjectKubeNodePoolTemplateMetadataArgs;\nimport com.pulumi.ovh.inputs.CloudProjectKubeNodePoolTemplateSpecArgs;\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 pool = new CloudProjectKubeNodePool(\"pool\", CloudProjectKubeNodePoolArgs.builder() \n .desiredNodes(3)\n .flavorName(\"b2-7\")\n .kubeId(\"xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\")\n .maxNodes(3)\n .minNodes(3)\n .serviceName(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n .template(CloudProjectKubeNodePoolTemplateArgs.builder()\n .metadata(CloudProjectKubeNodePoolTemplateMetadataArgs.builder()\n .annotations(Map.ofEntries(\n Map.entry(\"k1\", \"v1\"),\n Map.entry(\"k2\", \"v2\")\n ))\n .finalizers( \n \"F1\",\n \"F2\")\n .labels(Map.ofEntries(\n Map.entry(\"k3\", \"v3\"),\n Map.entry(\"k4\", \"v4\")\n ))\n .build())\n .spec(CloudProjectKubeNodePoolTemplateSpecArgs.builder()\n .taints(Map.ofEntries(\n Map.entry(\"effect\", \"PreferNoSchedule\"),\n Map.entry(\"key\", \"k\"),\n Map.entry(\"value\", \"v\")\n ))\n .unschedulable(false)\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pool:\n type: ovh:CloudProjectKubeNodePool\n properties:\n desiredNodes: 3\n flavorName: b2-7\n kubeId: xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx\n maxNodes: 3\n minNodes: 3\n serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n template:\n metadata:\n annotations:\n k1: v1\n k2: v2\n finalizers:\n - F1\n - F2\n labels:\n k3: v3\n k4: v4\n spec:\n taints:\n - effect: PreferNoSchedule\n key: k\n value: v\n unschedulable: false\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "antiAffinity": { "type": "boolean", @@ -6482,7 +6482,7 @@ } }, "ovh:index/cloudProjectKubeOidc:CloudProjectKubeOidc": { - "description": "Creates an OIDC configuration in an OVHcloud Managed Kubernetes cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst my_oidc = new ovh.CloudProjectKubeOidc(\"my-oidc\", {\n serviceName: _var.projectid,\n kubeId: ovh_cloud_project_kube.mykube.id,\n clientId: \"xxx\",\n issuerUrl: \"https://ovh.com\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nmy_oidc = ovh.CloudProjectKubeOidc(\"my-oidc\",\n service_name=var[\"projectid\"],\n kube_id=ovh_cloud_project_kube[\"mykube\"][\"id\"],\n client_id=\"xxx\",\n issuer_url=\"https://ovh.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var my_oidc = new Ovh.CloudProjectKubeOidc(\"my-oidc\", new()\n {\n ServiceName = @var.Projectid,\n KubeId = ovh_cloud_project_kube.Mykube.Id,\n ClientId = \"xxx\",\n IssuerUrl = \"https://ovh.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectKubeOidc(ctx, \"my-oidc\", \u0026ovh.CloudProjectKubeOidcArgs{\n\t\t\tServiceName: pulumi.Any(_var.Projectid),\n\t\t\tKubeId: pulumi.Any(ovh_cloud_project_kube.Mykube.Id),\n\t\t\tClientId: pulumi.String(\"xxx\"),\n\t\t\tIssuerUrl: pulumi.String(\"https://ovh.com\"),\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.ovh.CloudProjectKubeOidc;\nimport com.pulumi.ovh.CloudProjectKubeOidcArgs;\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 my_oidc = new CloudProjectKubeOidc(\"my-oidc\", CloudProjectKubeOidcArgs.builder() \n .serviceName(var_.projectid())\n .kubeId(ovh_cloud_project_kube.mykube().id())\n .clientId(\"xxx\")\n .issuerUrl(\"https://ovh.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n my-oidc:\n type: ovh:CloudProjectKubeOidc\n properties:\n serviceName: ${var.projectid}\n kubeId: ${ovh_cloud_project_kube.mykube.id}\n clientId: xxx\n issuerUrl: https://ovh.com\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates an OIDC configuration in an OVHcloud Managed Kubernetes cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\n\nconst my_oidc = new ovh.CloudProjectKubeOidc(\"my-oidc\", {\n serviceName: _var.projectid,\n kubeId: ovh_cloud_project_kube.mykube.id,\n clientId: \"xxx\",\n issuerUrl: \"https://ovh.com\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nmy_oidc = ovh.CloudProjectKubeOidc(\"my-oidc\",\n service_name=var[\"projectid\"],\n kube_id=ovh_cloud_project_kube[\"mykube\"][\"id\"],\n client_id=\"xxx\",\n issuer_url=\"https://ovh.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var my_oidc = new Ovh.CloudProjectKubeOidc(\"my-oidc\", new()\n {\n ServiceName = @var.Projectid,\n KubeId = ovh_cloud_project_kube.Mykube.Id,\n ClientId = \"xxx\",\n IssuerUrl = \"https://ovh.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectKubeOidc(ctx, \"my-oidc\", \u0026ovh.CloudProjectKubeOidcArgs{\n\t\t\tServiceName: pulumi.Any(_var.Projectid),\n\t\t\tKubeId: pulumi.Any(ovh_cloud_project_kube.Mykube.Id),\n\t\t\tClientId: pulumi.String(\"xxx\"),\n\t\t\tIssuerUrl: pulumi.String(\"https://ovh.com\"),\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.ovh.CloudProjectKubeOidc;\nimport com.pulumi.ovh.CloudProjectKubeOidcArgs;\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 my_oidc = new CloudProjectKubeOidc(\"my-oidc\", CloudProjectKubeOidcArgs.builder() \n .serviceName(var_.projectid())\n .kubeId(ovh_cloud_project_kube.mykube().id())\n .clientId(\"xxx\")\n .issuerUrl(\"https://ovh.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n my-oidc:\n type: ovh:CloudProjectKubeOidc\n properties:\n serviceName: ${var.projectid}\n kubeId: ${ovh_cloud_project_kube.mykube.id}\n clientId: xxx\n issuerUrl: https://ovh.com\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "clientId": { "type": "string", @@ -6559,7 +6559,7 @@ } }, "ovh:index/cloudProjectNetworkPrivate:CloudProjectNetworkPrivate": { - "description": "Creates a private network in a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst net = new ovh.CloudProjectNetworkPrivate(\"net\", {\n regions: [\n \"GRA1\",\n \"BHS1\",\n ],\n serviceName: \"XXXXXX\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nnet = ovh.CloudProjectNetworkPrivate(\"net\",\n regions=[\n \"GRA1\",\n \"BHS1\",\n ],\n service_name=\"XXXXXX\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var net = new Ovh.CloudProjectNetworkPrivate(\"net\", new()\n {\n Regions = new[]\n {\n \"GRA1\",\n \"BHS1\",\n },\n ServiceName = \"XXXXXX\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectNetworkPrivate(ctx, \"net\", \u0026ovh.CloudProjectNetworkPrivateArgs{\n\t\t\tRegions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"GRA1\"),\n\t\t\t\tpulumi.String(\"BHS1\"),\n\t\t\t},\n\t\t\tServiceName: pulumi.String(\"XXXXXX\"),\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.ovh.CloudProjectNetworkPrivate;\nimport com.pulumi.ovh.CloudProjectNetworkPrivateArgs;\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 net = new CloudProjectNetworkPrivate(\"net\", CloudProjectNetworkPrivateArgs.builder() \n .regions( \n \"GRA1\",\n \"BHS1\")\n .serviceName(\"XXXXXX\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n net:\n type: ovh:CloudProjectNetworkPrivate\n properties:\n regions:\n - GRA1\n - BHS1\n serviceName: XXXXXX\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates a private network in a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst net = new ovh.CloudProjectNetworkPrivate(\"net\", {\n regions: [\n \"GRA1\",\n \"BHS1\",\n ],\n serviceName: \"XXXXXX\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nnet = ovh.CloudProjectNetworkPrivate(\"net\",\n regions=[\n \"GRA1\",\n \"BHS1\",\n ],\n service_name=\"XXXXXX\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var net = new Ovh.CloudProjectNetworkPrivate(\"net\", new()\n {\n Regions = new[]\n {\n \"GRA1\",\n \"BHS1\",\n },\n ServiceName = \"XXXXXX\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectNetworkPrivate(ctx, \"net\", \u0026ovh.CloudProjectNetworkPrivateArgs{\n\t\t\tRegions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"GRA1\"),\n\t\t\t\tpulumi.String(\"BHS1\"),\n\t\t\t},\n\t\t\tServiceName: pulumi.String(\"XXXXXX\"),\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.ovh.CloudProjectNetworkPrivate;\nimport com.pulumi.ovh.CloudProjectNetworkPrivateArgs;\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 net = new CloudProjectNetworkPrivate(\"net\", CloudProjectNetworkPrivateArgs.builder() \n .regions( \n \"GRA1\",\n \"BHS1\")\n .serviceName(\"XXXXXX\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n net:\n type: ovh:CloudProjectNetworkPrivate\n properties:\n regions:\n - GRA1\n - BHS1\n serviceName: XXXXXX\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "name": { "type": "string", @@ -6693,7 +6693,7 @@ } }, "ovh:index/cloudProjectNetworkPrivateSubnet:CloudProjectNetworkPrivateSubnet": { - "description": "Creates a subnet in a private network of a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst subnet = new ovh.CloudProjectNetworkPrivateSubnet(\"subnet\", {\n dhcp: true,\n end: \"192.168.168.200\",\n network: \"192.168.168.0/24\",\n networkId: \"0234543\",\n noGateway: false,\n region: \"GRA1\",\n serviceName: \"xxxxx\",\n start: \"192.168.168.100\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nsubnet = ovh.CloudProjectNetworkPrivateSubnet(\"subnet\",\n dhcp=True,\n end=\"192.168.168.200\",\n network=\"192.168.168.0/24\",\n network_id=\"0234543\",\n no_gateway=False,\n region=\"GRA1\",\n service_name=\"xxxxx\",\n start=\"192.168.168.100\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var subnet = new Ovh.CloudProjectNetworkPrivateSubnet(\"subnet\", new()\n {\n Dhcp = true,\n End = \"192.168.168.200\",\n Network = \"192.168.168.0/24\",\n NetworkId = \"0234543\",\n NoGateway = false,\n Region = \"GRA1\",\n ServiceName = \"xxxxx\",\n Start = \"192.168.168.100\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectNetworkPrivateSubnet(ctx, \"subnet\", \u0026ovh.CloudProjectNetworkPrivateSubnetArgs{\n\t\t\tDhcp: pulumi.Bool(true),\n\t\t\tEnd: pulumi.String(\"192.168.168.200\"),\n\t\t\tNetwork: pulumi.String(\"192.168.168.0/24\"),\n\t\t\tNetworkId: pulumi.String(\"0234543\"),\n\t\t\tNoGateway: pulumi.Bool(false),\n\t\t\tRegion: pulumi.String(\"GRA1\"),\n\t\t\tServiceName: pulumi.String(\"xxxxx\"),\n\t\t\tStart: pulumi.String(\"192.168.168.100\"),\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.ovh.CloudProjectNetworkPrivateSubnet;\nimport com.pulumi.ovh.CloudProjectNetworkPrivateSubnetArgs;\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 subnet = new CloudProjectNetworkPrivateSubnet(\"subnet\", CloudProjectNetworkPrivateSubnetArgs.builder() \n .dhcp(true)\n .end(\"192.168.168.200\")\n .network(\"192.168.168.0/24\")\n .networkId(\"0234543\")\n .noGateway(false)\n .region(\"GRA1\")\n .serviceName(\"xxxxx\")\n .start(\"192.168.168.100\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n subnet:\n type: ovh:CloudProjectNetworkPrivateSubnet\n properties:\n dhcp: true\n end: 192.168.168.200\n network: 192.168.168.0/24\n networkId: 0234543\n noGateway: false\n region: GRA1\n serviceName: xxxxx\n start: 192.168.168.100\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates a subnet in a private network of a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst subnet = new ovh.CloudProjectNetworkPrivateSubnet(\"subnet\", {\n dhcp: true,\n end: \"192.168.168.200\",\n network: \"192.168.168.0/24\",\n networkId: \"0234543\",\n noGateway: false,\n region: \"GRA1\",\n serviceName: \"xxxxx\",\n start: \"192.168.168.100\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nsubnet = ovh.CloudProjectNetworkPrivateSubnet(\"subnet\",\n dhcp=True,\n end=\"192.168.168.200\",\n network=\"192.168.168.0/24\",\n network_id=\"0234543\",\n no_gateway=False,\n region=\"GRA1\",\n service_name=\"xxxxx\",\n start=\"192.168.168.100\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var subnet = new Ovh.CloudProjectNetworkPrivateSubnet(\"subnet\", new()\n {\n Dhcp = true,\n End = \"192.168.168.200\",\n Network = \"192.168.168.0/24\",\n NetworkId = \"0234543\",\n NoGateway = false,\n Region = \"GRA1\",\n ServiceName = \"xxxxx\",\n Start = \"192.168.168.100\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectNetworkPrivateSubnet(ctx, \"subnet\", \u0026ovh.CloudProjectNetworkPrivateSubnetArgs{\n\t\t\tDhcp: pulumi.Bool(true),\n\t\t\tEnd: pulumi.String(\"192.168.168.200\"),\n\t\t\tNetwork: pulumi.String(\"192.168.168.0/24\"),\n\t\t\tNetworkId: pulumi.String(\"0234543\"),\n\t\t\tNoGateway: pulumi.Bool(false),\n\t\t\tRegion: pulumi.String(\"GRA1\"),\n\t\t\tServiceName: pulumi.String(\"xxxxx\"),\n\t\t\tStart: pulumi.String(\"192.168.168.100\"),\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.ovh.CloudProjectNetworkPrivateSubnet;\nimport com.pulumi.ovh.CloudProjectNetworkPrivateSubnetArgs;\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 subnet = new CloudProjectNetworkPrivateSubnet(\"subnet\", CloudProjectNetworkPrivateSubnetArgs.builder() \n .dhcp(true)\n .end(\"192.168.168.200\")\n .network(\"192.168.168.0/24\")\n .networkId(\"0234543\")\n .noGateway(false)\n .region(\"GRA1\")\n .serviceName(\"xxxxx\")\n .start(\"192.168.168.100\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n subnet:\n type: ovh:CloudProjectNetworkPrivateSubnet\n properties:\n dhcp: true\n end: 192.168.168.200\n network: 192.168.168.0/24\n networkId: 0234543\n noGateway: false\n region: GRA1\n serviceName: xxxxx\n start: 192.168.168.100\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "cidr": { "type": "string", @@ -6867,7 +6867,7 @@ } }, "ovh:index/cloudProjectUser:CloudProjectUser": { - "description": "Creates a user in a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst user1 = new ovh.CloudProjectUser(\"user1\", {\n serviceName: \"XXX\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nuser1 = ovh.CloudProjectUser(\"user1\", service_name=\"XXX\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var user1 = new Ovh.CloudProjectUser(\"user1\", new()\n {\n ServiceName = \"XXX\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectUser(ctx, \"user1\", \u0026ovh.CloudProjectUserArgs{\n\t\t\tServiceName: pulumi.String(\"XXX\"),\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.ovh.CloudProjectUser;\nimport com.pulumi.ovh.CloudProjectUserArgs;\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 user1 = new CloudProjectUser(\"user1\", CloudProjectUserArgs.builder() \n .serviceName(\"XXX\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n user1:\n type: ovh:CloudProjectUser\n properties:\n serviceName: XXX\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates a user in a public cloud project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst user1 = new ovh.CloudProjectUser(\"user1\", {\n serviceName: \"XXX\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nuser1 = ovh.CloudProjectUser(\"user1\", service_name=\"XXX\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var user1 = new Ovh.CloudProjectUser(\"user1\", new()\n {\n ServiceName = \"XXX\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewCloudProjectUser(ctx, \"user1\", \u0026ovh.CloudProjectUserArgs{\n\t\t\tServiceName: pulumi.String(\"XXX\"),\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.ovh.CloudProjectUser;\nimport com.pulumi.ovh.CloudProjectUserArgs;\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 user1 = new CloudProjectUser(\"user1\", CloudProjectUserArgs.builder() \n .serviceName(\"XXX\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n user1:\n type: ovh:CloudProjectUser\n properties:\n serviceName: XXX\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "creationDate": { "type": "string", @@ -7024,7 +7024,7 @@ } }, "ovh:index/dbaasLogsInput:DbaasLogsInput": { - "description": "Creates a dbaas logs input.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst logstash = ovh.getDbaasLogsInputEngine({\n name: \"logstash\",\n version: \"7.x\",\n});\nconst stream = new ovh.DbaasLogsOutputGraylogStream(\"stream\", {\n serviceName: \"....\",\n title: \"my stream\",\n description: \"my graylog stream\",\n});\nconst input = new ovh.DbaasLogsInput(\"input\", {\n serviceName: stream.serviceName,\n description: stream.description,\n title: stream.title,\n engineId: logstash.then(logstash =\u003e logstash.id),\n streamId: stream.id,\n allowedNetworks: [\"10.0.0.0/16\"],\n exposedPort: \"6154\",\n nbInstance: 2,\n configuration: {\n logstash: {\n inputSection: `beats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"/etc/ssl/private/server.crt\"\n ssl_key =\u003e \"/etc/ssl/private/server.key\"\n}\n`,\n },\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\nlogstash = ovh.get_dbaas_logs_input_engine(name=\"logstash\",\n version=\"7.x\")\nstream = ovh.DbaasLogsOutputGraylogStream(\"stream\",\n service_name=\"....\",\n title=\"my stream\",\n description=\"my graylog stream\")\ninput = ovh.DbaasLogsInput(\"input\",\n service_name=stream.service_name,\n description=stream.description,\n title=stream.title,\n engine_id=logstash.id,\n stream_id=stream.id,\n allowed_networks=[\"10.0.0.0/16\"],\n exposed_port=\"6154\",\n nb_instance=2,\n configuration=ovh.DbaasLogsInputConfigurationArgs(\n logstash=ovh.DbaasLogsInputConfigurationLogstashArgs(\n input_section=\"\"\"beats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"/etc/ssl/private/server.crt\"\n ssl_key =\u003e \"/etc/ssl/private/server.key\"\n}\n\"\"\",\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var logstash = Ovh.GetDbaasLogsInputEngine.Invoke(new()\n {\n Name = \"logstash\",\n Version = \"7.x\",\n });\n\n var stream = new Ovh.DbaasLogsOutputGraylogStream(\"stream\", new()\n {\n ServiceName = \"....\",\n Title = \"my stream\",\n Description = \"my graylog stream\",\n });\n\n var input = new Ovh.DbaasLogsInput(\"input\", new()\n {\n ServiceName = stream.ServiceName,\n Description = stream.Description,\n Title = stream.Title,\n EngineId = logstash.Apply(getDbaasLogsInputEngineResult =\u003e getDbaasLogsInputEngineResult.Id),\n StreamId = stream.Id,\n AllowedNetworks = new[]\n {\n \"10.0.0.0/16\",\n },\n ExposedPort = \"6154\",\n NbInstance = 2,\n Configuration = new Ovh.Inputs.DbaasLogsInputConfigurationArgs\n {\n Logstash = new Ovh.Inputs.DbaasLogsInputConfigurationLogstashArgs\n {\n InputSection = @\"beats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"\"/etc/ssl/private/server.crt\"\"\n ssl_key =\u003e \"\"/etc/ssl/private/server.key\"\"\n}\n\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tlogstash, err := ovh.GetDbaasLogsInputEngine(ctx, \u0026GetDbaasLogsInputEngineArgs{\n\t\t\tName: pulumi.StringRef(\"logstash\"),\n\t\t\tVersion: pulumi.StringRef(\"7.x\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tstream, err := ovh.NewDbaasLogsOutputGraylogStream(ctx, \"stream\", \u0026ovh.DbaasLogsOutputGraylogStreamArgs{\n\t\t\tServiceName: pulumi.String(\"....\"),\n\t\t\tTitle: pulumi.String(\"my stream\"),\n\t\t\tDescription: pulumi.String(\"my graylog stream\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewDbaasLogsInput(ctx, \"input\", \u0026ovh.DbaasLogsInputArgs{\n\t\t\tServiceName: stream.ServiceName,\n\t\t\tDescription: stream.Description,\n\t\t\tTitle: stream.Title,\n\t\t\tEngineId: pulumi.String(logstash.Id),\n\t\t\tStreamId: stream.ID(),\n\t\t\tAllowedNetworks: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t},\n\t\t\tExposedPort: pulumi.String(\"6154\"),\n\t\t\tNbInstance: pulumi.Int(2),\n\t\t\tConfiguration: \u0026DbaasLogsInputConfigurationArgs{\n\t\t\t\tLogstash: \u0026DbaasLogsInputConfigurationLogstashArgs{\n\t\t\t\t\tInputSection: pulumi.String(fmt.Sprintf(`beats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"/etc/ssl/private/server.crt\"\n ssl_key =\u003e \"/etc/ssl/private/server.key\"\n}\n`)),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetDbaasLogsInputEngineArgs;\nimport com.pulumi.ovh.DbaasLogsOutputGraylogStream;\nimport com.pulumi.ovh.DbaasLogsOutputGraylogStreamArgs;\nimport com.pulumi.ovh.DbaasLogsInput;\nimport com.pulumi.ovh.DbaasLogsInputArgs;\nimport com.pulumi.ovh.inputs.DbaasLogsInputConfigurationArgs;\nimport com.pulumi.ovh.inputs.DbaasLogsInputConfigurationLogstashArgs;\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 logstash = OvhFunctions.getDbaasLogsInputEngine(GetDbaasLogsInputEngineArgs.builder()\n .name(\"logstash\")\n .version(\"7.x\")\n .build());\n\n var stream = new DbaasLogsOutputGraylogStream(\"stream\", DbaasLogsOutputGraylogStreamArgs.builder() \n .serviceName(\"....\")\n .title(\"my stream\")\n .description(\"my graylog stream\")\n .build());\n\n var input = new DbaasLogsInput(\"input\", DbaasLogsInputArgs.builder() \n .serviceName(stream.serviceName())\n .description(stream.description())\n .title(stream.title())\n .engineId(logstash.applyValue(getDbaasLogsInputEngineResult -\u003e getDbaasLogsInputEngineResult.id()))\n .streamId(stream.id())\n .allowedNetworks(\"10.0.0.0/16\")\n .exposedPort(\"6154\")\n .nbInstance(2)\n .configuration(DbaasLogsInputConfigurationArgs.builder()\n .logstash(DbaasLogsInputConfigurationLogstashArgs.builder()\n .inputSection(\"\"\"\nbeats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"/etc/ssl/private/server.crt\"\n ssl_key =\u003e \"/etc/ssl/private/server.key\"\n}\n \"\"\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n stream:\n type: ovh:DbaasLogsOutputGraylogStream\n properties:\n serviceName: '....'\n title: my stream\n description: my graylog stream\n input:\n type: ovh:DbaasLogsInput\n properties:\n serviceName: ${stream.serviceName}\n description: ${stream.description}\n title: ${stream.title}\n engineId: ${logstash.id}\n streamId: ${stream.id}\n allowedNetworks:\n - 10.0.0.0/16\n exposedPort: 6154\n nbInstance: 2\n configuration:\n logstash:\n inputSection: |\n beats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"/etc/ssl/private/server.crt\"\n ssl_key =\u003e \"/etc/ssl/private/server.key\"\n }\nvariables:\n logstash:\n Fn::Invoke:\n Function: ovh:getDbaasLogsInputEngine\n Arguments:\n name: logstash\n version: 7.x\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates a dbaas logs input.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst logstash = ovh.getDbaasLogsInputEngine({\n name: \"logstash\",\n version: \"7.x\",\n});\nconst stream = new ovh.DbaasLogsOutputGraylogStream(\"stream\", {\n serviceName: \"....\",\n title: \"my stream\",\n description: \"my graylog stream\",\n});\nconst input = new ovh.DbaasLogsInput(\"input\", {\n serviceName: stream.serviceName,\n description: stream.description,\n title: stream.title,\n engineId: logstash.then(logstash =\u003e logstash.id),\n streamId: stream.id,\n allowedNetworks: [\"10.0.0.0/16\"],\n exposedPort: \"6154\",\n nbInstance: 2,\n configuration: {\n logstash: {\n inputSection: `beats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"/etc/ssl/private/server.crt\"\n ssl_key =\u003e \"/etc/ssl/private/server.key\"\n}\n`,\n },\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\nlogstash = ovh.get_dbaas_logs_input_engine(name=\"logstash\",\n version=\"7.x\")\nstream = ovh.DbaasLogsOutputGraylogStream(\"stream\",\n service_name=\"....\",\n title=\"my stream\",\n description=\"my graylog stream\")\ninput = ovh.DbaasLogsInput(\"input\",\n service_name=stream.service_name,\n description=stream.description,\n title=stream.title,\n engine_id=logstash.id,\n stream_id=stream.id,\n allowed_networks=[\"10.0.0.0/16\"],\n exposed_port=\"6154\",\n nb_instance=2,\n configuration=ovh.DbaasLogsInputConfigurationArgs(\n logstash=ovh.DbaasLogsInputConfigurationLogstashArgs(\n input_section=\"\"\"beats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"/etc/ssl/private/server.crt\"\n ssl_key =\u003e \"/etc/ssl/private/server.key\"\n}\n\"\"\",\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var logstash = Ovh.GetDbaasLogsInputEngine.Invoke(new()\n {\n Name = \"logstash\",\n Version = \"7.x\",\n });\n\n var stream = new Ovh.DbaasLogsOutputGraylogStream(\"stream\", new()\n {\n ServiceName = \"....\",\n Title = \"my stream\",\n Description = \"my graylog stream\",\n });\n\n var input = new Ovh.DbaasLogsInput(\"input\", new()\n {\n ServiceName = stream.ServiceName,\n Description = stream.Description,\n Title = stream.Title,\n EngineId = logstash.Apply(getDbaasLogsInputEngineResult =\u003e getDbaasLogsInputEngineResult.Id),\n StreamId = stream.Id,\n AllowedNetworks = new[]\n {\n \"10.0.0.0/16\",\n },\n ExposedPort = \"6154\",\n NbInstance = 2,\n Configuration = new Ovh.Inputs.DbaasLogsInputConfigurationArgs\n {\n Logstash = new Ovh.Inputs.DbaasLogsInputConfigurationLogstashArgs\n {\n InputSection = @\"beats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"\"/etc/ssl/private/server.crt\"\"\n ssl_key =\u003e \"\"/etc/ssl/private/server.key\"\"\n}\n\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tlogstash, err := ovh.GetDbaasLogsInputEngine(ctx, \u0026GetDbaasLogsInputEngineArgs{\n\t\t\tName: pulumi.StringRef(\"logstash\"),\n\t\t\tVersion: pulumi.StringRef(\"7.x\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tstream, err := ovh.NewDbaasLogsOutputGraylogStream(ctx, \"stream\", \u0026ovh.DbaasLogsOutputGraylogStreamArgs{\n\t\t\tServiceName: pulumi.String(\"....\"),\n\t\t\tTitle: pulumi.String(\"my stream\"),\n\t\t\tDescription: pulumi.String(\"my graylog stream\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewDbaasLogsInput(ctx, \"input\", \u0026ovh.DbaasLogsInputArgs{\n\t\t\tServiceName: stream.ServiceName,\n\t\t\tDescription: stream.Description,\n\t\t\tTitle: stream.Title,\n\t\t\tEngineId: pulumi.String(logstash.Id),\n\t\t\tStreamId: stream.ID(),\n\t\t\tAllowedNetworks: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t},\n\t\t\tExposedPort: pulumi.String(\"6154\"),\n\t\t\tNbInstance: pulumi.Int(2),\n\t\t\tConfiguration: \u0026DbaasLogsInputConfigurationArgs{\n\t\t\t\tLogstash: \u0026DbaasLogsInputConfigurationLogstashArgs{\n\t\t\t\t\tInputSection: pulumi.String(fmt.Sprintf(`beats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"/etc/ssl/private/server.crt\"\n ssl_key =\u003e \"/etc/ssl/private/server.key\"\n}\n`)),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetDbaasLogsInputEngineArgs;\nimport com.pulumi.ovh.DbaasLogsOutputGraylogStream;\nimport com.pulumi.ovh.DbaasLogsOutputGraylogStreamArgs;\nimport com.pulumi.ovh.DbaasLogsInput;\nimport com.pulumi.ovh.DbaasLogsInputArgs;\nimport com.pulumi.ovh.inputs.DbaasLogsInputConfigurationArgs;\nimport com.pulumi.ovh.inputs.DbaasLogsInputConfigurationLogstashArgs;\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 logstash = OvhFunctions.getDbaasLogsInputEngine(GetDbaasLogsInputEngineArgs.builder()\n .name(\"logstash\")\n .version(\"7.x\")\n .build());\n\n var stream = new DbaasLogsOutputGraylogStream(\"stream\", DbaasLogsOutputGraylogStreamArgs.builder() \n .serviceName(\"....\")\n .title(\"my stream\")\n .description(\"my graylog stream\")\n .build());\n\n var input = new DbaasLogsInput(\"input\", DbaasLogsInputArgs.builder() \n .serviceName(stream.serviceName())\n .description(stream.description())\n .title(stream.title())\n .engineId(logstash.applyValue(getDbaasLogsInputEngineResult -\u003e getDbaasLogsInputEngineResult.id()))\n .streamId(stream.id())\n .allowedNetworks(\"10.0.0.0/16\")\n .exposedPort(\"6154\")\n .nbInstance(2)\n .configuration(DbaasLogsInputConfigurationArgs.builder()\n .logstash(DbaasLogsInputConfigurationLogstashArgs.builder()\n .inputSection(\"\"\"\nbeats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"/etc/ssl/private/server.crt\"\n ssl_key =\u003e \"/etc/ssl/private/server.key\"\n}\n \"\"\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n stream:\n type: ovh:DbaasLogsOutputGraylogStream\n properties:\n serviceName: '....'\n title: my stream\n description: my graylog stream\n input:\n type: ovh:DbaasLogsInput\n properties:\n serviceName: ${stream.serviceName}\n description: ${stream.description}\n title: ${stream.title}\n engineId: ${logstash.id}\n streamId: ${stream.id}\n allowedNetworks:\n - 10.0.0.0/16\n exposedPort: 6154\n nbInstance: 2\n configuration:\n logstash:\n inputSection: |\n beats {\n port =\u003e 6514\n ssl =\u003e true\n ssl_certificate =\u003e \"/etc/ssl/private/server.crt\"\n ssl_key =\u003e \"/etc/ssl/private/server.key\"\n }\nvariables:\n logstash:\n Fn::Invoke:\n Function: ovh:getDbaasLogsInputEngine\n Arguments:\n name: logstash\n version: 7.x\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "allowedNetworks": { "type": "array", @@ -7551,7 +7551,7 @@ } }, "ovh:index/dedicatedCephAcl:DedicatedCephAcl": { - "description": "Add a new access ACL for the given network/mask.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst my-ceph = ovh.getDedicatedCeph({\n serviceName: \"94d423da-0e55-45f2-9812-836460a19939\",\n});\nconst my_acl = new ovh.DedicatedCephAcl(\"my-acl\", {\n serviceName: my_ceph.then(my_ceph =\u003e my_ceph.id),\n network: \"1.2.3.4\",\n netmask: \"255.255.255.255\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\nmy_ceph = ovh.get_dedicated_ceph(service_name=\"94d423da-0e55-45f2-9812-836460a19939\")\nmy_acl = ovh.DedicatedCephAcl(\"my-acl\",\n service_name=my_ceph.id,\n network=\"1.2.3.4\",\n netmask=\"255.255.255.255\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var my_ceph = Ovh.GetDedicatedCeph.Invoke(new()\n {\n ServiceName = \"94d423da-0e55-45f2-9812-836460a19939\",\n });\n\n var my_acl = new Ovh.DedicatedCephAcl(\"my-acl\", new()\n {\n ServiceName = my_ceph.Apply(getDedicatedCephResult =\u003e getDedicatedCephResult).Apply(my_ceph =\u003e my_ceph.Apply(getDedicatedCephResult =\u003e getDedicatedCephResult.Id)),\n Network = \"1.2.3.4\",\n Netmask = \"255.255.255.255\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmy_ceph, err := ovh.GetDedicatedCeph(ctx, \u0026GetDedicatedCephArgs{\n\t\t\tServiceName: \"94d423da-0e55-45f2-9812-836460a19939\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewDedicatedCephAcl(ctx, \"my-acl\", \u0026ovh.DedicatedCephAclArgs{\n\t\t\tServiceName: pulumi.String(my_ceph.Id),\n\t\t\tNetwork: pulumi.String(\"1.2.3.4\"),\n\t\t\tNetmask: pulumi.String(\"255.255.255.255\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetDedicatedCephArgs;\nimport com.pulumi.ovh.DedicatedCephAcl;\nimport com.pulumi.ovh.DedicatedCephAclArgs;\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 my-ceph = OvhFunctions.getDedicatedCeph(GetDedicatedCephArgs.builder()\n .serviceName(\"94d423da-0e55-45f2-9812-836460a19939\")\n .build());\n\n var my_acl = new DedicatedCephAcl(\"my-acl\", DedicatedCephAclArgs.builder() \n .serviceName(my_ceph.id())\n .network(\"1.2.3.4\")\n .netmask(\"255.255.255.255\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n my-acl:\n type: ovh:DedicatedCephAcl\n properties:\n serviceName: ${[\"my-ceph\"].id}\n network: 1.2.3.4\n netmask: 255.255.255.255\nvariables:\n my-ceph:\n Fn::Invoke:\n Function: ovh:getDedicatedCeph\n Arguments:\n serviceName: 94d423da-0e55-45f2-9812-836460a19939\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Add a new access ACL for the given network/mask.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst my-ceph = ovh.getDedicatedCeph({\n serviceName: \"94d423da-0e55-45f2-9812-836460a19939\",\n});\nconst my_acl = new ovh.DedicatedCephAcl(\"my-acl\", {\n serviceName: my_ceph.then(my_ceph =\u003e my_ceph.id),\n network: \"1.2.3.4\",\n netmask: \"255.255.255.255\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\nmy_ceph = ovh.get_dedicated_ceph(service_name=\"94d423da-0e55-45f2-9812-836460a19939\")\nmy_acl = ovh.DedicatedCephAcl(\"my-acl\",\n service_name=my_ceph.id,\n network=\"1.2.3.4\",\n netmask=\"255.255.255.255\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var my_ceph = Ovh.GetDedicatedCeph.Invoke(new()\n {\n ServiceName = \"94d423da-0e55-45f2-9812-836460a19939\",\n });\n\n var my_acl = new Ovh.DedicatedCephAcl(\"my-acl\", new()\n {\n ServiceName = my_ceph.Apply(getDedicatedCephResult =\u003e getDedicatedCephResult).Apply(my_ceph =\u003e my_ceph.Apply(getDedicatedCephResult =\u003e getDedicatedCephResult.Id)),\n Network = \"1.2.3.4\",\n Netmask = \"255.255.255.255\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmy_ceph, err := ovh.GetDedicatedCeph(ctx, \u0026GetDedicatedCephArgs{\n\t\t\tServiceName: \"94d423da-0e55-45f2-9812-836460a19939\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewDedicatedCephAcl(ctx, \"my-acl\", \u0026ovh.DedicatedCephAclArgs{\n\t\t\tServiceName: pulumi.String(my_ceph.Id),\n\t\t\tNetwork: pulumi.String(\"1.2.3.4\"),\n\t\t\tNetmask: pulumi.String(\"255.255.255.255\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetDedicatedCephArgs;\nimport com.pulumi.ovh.DedicatedCephAcl;\nimport com.pulumi.ovh.DedicatedCephAclArgs;\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 my-ceph = OvhFunctions.getDedicatedCeph(GetDedicatedCephArgs.builder()\n .serviceName(\"94d423da-0e55-45f2-9812-836460a19939\")\n .build());\n\n var my_acl = new DedicatedCephAcl(\"my-acl\", DedicatedCephAclArgs.builder() \n .serviceName(my_ceph.id())\n .network(\"1.2.3.4\")\n .netmask(\"255.255.255.255\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n my-acl:\n type: ovh:DedicatedCephAcl\n properties:\n serviceName: ${[\"my-ceph\"].id}\n network: 1.2.3.4\n netmask: 255.255.255.255\nvariables:\n my-ceph:\n Fn::Invoke:\n Function: ovh:getDedicatedCeph\n Arguments:\n serviceName: 94d423da-0e55-45f2-9812-836460a19939\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "family": { "type": "string", @@ -7947,7 +7947,7 @@ } }, "ovh:index/domainZone:DomainZone": { - "description": "Creates a domain zone.\n\n## Important\n\nThis resource is in beta state. Use with caution.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n});\nconst zoneOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"dns\",\n planCode: \"zone\",\n}));\nconst zoneDomainZone = new ovh.DomainZone(\"zoneDomainZone\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n paymentMean: \"fidelity\",\n plan: {\n duration: zoneOrderCartProductPlan.then(zoneOrderCartProductPlan =\u003e zoneOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: zoneOrderCartProductPlan.then(zoneOrderCartProductPlan =\u003e zoneOrderCartProductPlan.planCode),\n pricingMode: zoneOrderCartProductPlan.then(zoneOrderCartProductPlan =\u003e zoneOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n configurations: [\n {\n label: \"zone\",\n value: \"myzone.mydomain.com\",\n },\n {\n label: \"template\",\n value: \"minimized\",\n },\n ],\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\")\nzone_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"dns\",\n plan_code=\"zone\")\nzone_domain_zone = ovh.DomainZone(\"zoneDomainZone\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n payment_mean=\"fidelity\",\n plan=ovh.DomainZonePlanArgs(\n duration=zone_order_cart_product_plan.selected_prices[0].duration,\n plan_code=zone_order_cart_product_plan.plan_code,\n pricing_mode=zone_order_cart_product_plan.selected_prices[0].pricing_mode,\n configurations=[\n ovh.DomainZonePlanConfigurationArgs(\n label=\"zone\",\n value=\"myzone.mydomain.com\",\n ),\n ovh.DomainZonePlanConfigurationArgs(\n label=\"template\",\n value=\"minimized\",\n ),\n ],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n });\n\n var zoneOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"dns\",\n PlanCode = \"zone\",\n });\n\n var zoneDomainZone = new Ovh.DomainZone(\"zoneDomainZone\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n PaymentMean = \"fidelity\",\n Plan = new Ovh.Inputs.DomainZonePlanArgs\n {\n Duration = zoneOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = zoneOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = zoneOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n Configurations = new[]\n {\n new Ovh.Inputs.DomainZonePlanConfigurationArgs\n {\n Label = \"zone\",\n Value = \"myzone.mydomain.com\",\n },\n new Ovh.Inputs.DomainZonePlanConfigurationArgs\n {\n Label = \"template\",\n Value = \"minimized\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tzoneOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"dns\",\n\t\t\tPlanCode: \"zone\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewDomainZone(ctx, \"zoneDomainZone\", \u0026ovh.DomainZoneArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tPaymentMean: pulumi.String(\"fidelity\"),\n\t\t\tPlan: \u0026DomainZonePlanArgs{\n\t\t\t\tDuration: pulumi.String(zoneOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(zoneOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(zoneOrderCartProductPlan.SelectedPrices[0].PricingMode),\n\t\t\t\tConfigurations: DomainZonePlanConfigurationArray{\n\t\t\t\t\t\u0026DomainZonePlanConfigurationArgs{\n\t\t\t\t\t\tLabel: pulumi.String(\"zone\"),\n\t\t\t\t\t\tValue: pulumi.String(\"myzone.mydomain.com\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026DomainZonePlanConfigurationArgs{\n\t\t\t\t\t\tLabel: pulumi.String(\"template\"),\n\t\t\t\t\t\tValue: pulumi.String(\"minimized\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.DomainZone;\nimport com.pulumi.ovh.DomainZoneArgs;\nimport com.pulumi.ovh.inputs.DomainZonePlanArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .build());\n\n final var zoneOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"dns\")\n .planCode(\"zone\")\n .build());\n\n var zoneDomainZone = new DomainZone(\"zoneDomainZone\", DomainZoneArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .paymentMean(\"fidelity\")\n .plan(DomainZonePlanArgs.builder()\n .duration(zoneOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(zoneOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(zoneOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .configurations( \n DomainZonePlanConfigurationArgs.builder()\n .label(\"zone\")\n .value(\"myzone.mydomain.com\")\n .build(),\n DomainZonePlanConfigurationArgs.builder()\n .label(\"template\")\n .value(\"minimized\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n zoneDomainZone:\n type: ovh:DomainZone\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n paymentMean: fidelity\n plan:\n duration: ${zoneOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${zoneOrderCartProductPlan.planCode}\n pricingMode: ${zoneOrderCartProductPlan.selectedPrices[0].pricingMode}\n configurations:\n - label: zone\n value: myzone.mydomain.com\n - label: template\n value: minimized\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n zoneOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: dns\n planCode: zone\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates a domain zone.\n\n## Important\n\nThis resource is in beta state. Use with caution.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n});\nconst zoneOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"dns\",\n planCode: \"zone\",\n}));\nconst zoneDomainZone = new ovh.DomainZone(\"zoneDomainZone\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n paymentMean: \"fidelity\",\n plan: {\n duration: zoneOrderCartProductPlan.then(zoneOrderCartProductPlan =\u003e zoneOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: zoneOrderCartProductPlan.then(zoneOrderCartProductPlan =\u003e zoneOrderCartProductPlan.planCode),\n pricingMode: zoneOrderCartProductPlan.then(zoneOrderCartProductPlan =\u003e zoneOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n configurations: [\n {\n label: \"zone\",\n value: \"myzone.mydomain.com\",\n },\n {\n label: \"template\",\n value: \"minimized\",\n },\n ],\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\")\nzone_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"dns\",\n plan_code=\"zone\")\nzone_domain_zone = ovh.DomainZone(\"zoneDomainZone\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n payment_mean=\"fidelity\",\n plan=ovh.DomainZonePlanArgs(\n duration=zone_order_cart_product_plan.selected_prices[0].duration,\n plan_code=zone_order_cart_product_plan.plan_code,\n pricing_mode=zone_order_cart_product_plan.selected_prices[0].pricing_mode,\n configurations=[\n ovh.DomainZonePlanConfigurationArgs(\n label=\"zone\",\n value=\"myzone.mydomain.com\",\n ),\n ovh.DomainZonePlanConfigurationArgs(\n label=\"template\",\n value=\"minimized\",\n ),\n ],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n });\n\n var zoneOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"dns\",\n PlanCode = \"zone\",\n });\n\n var zoneDomainZone = new Ovh.DomainZone(\"zoneDomainZone\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n PaymentMean = \"fidelity\",\n Plan = new Ovh.Inputs.DomainZonePlanArgs\n {\n Duration = zoneOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = zoneOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = zoneOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n Configurations = new[]\n {\n new Ovh.Inputs.DomainZonePlanConfigurationArgs\n {\n Label = \"zone\",\n Value = \"myzone.mydomain.com\",\n },\n new Ovh.Inputs.DomainZonePlanConfigurationArgs\n {\n Label = \"template\",\n Value = \"minimized\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tzoneOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"dns\",\n\t\t\tPlanCode: \"zone\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewDomainZone(ctx, \"zoneDomainZone\", \u0026ovh.DomainZoneArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tPaymentMean: pulumi.String(\"fidelity\"),\n\t\t\tPlan: \u0026DomainZonePlanArgs{\n\t\t\t\tDuration: pulumi.String(zoneOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(zoneOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(zoneOrderCartProductPlan.SelectedPrices[0].PricingMode),\n\t\t\t\tConfigurations: DomainZonePlanConfigurationArray{\n\t\t\t\t\t\u0026DomainZonePlanConfigurationArgs{\n\t\t\t\t\t\tLabel: pulumi.String(\"zone\"),\n\t\t\t\t\t\tValue: pulumi.String(\"myzone.mydomain.com\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026DomainZonePlanConfigurationArgs{\n\t\t\t\t\t\tLabel: pulumi.String(\"template\"),\n\t\t\t\t\t\tValue: pulumi.String(\"minimized\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.DomainZone;\nimport com.pulumi.ovh.DomainZoneArgs;\nimport com.pulumi.ovh.inputs.DomainZonePlanArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .build());\n\n final var zoneOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"dns\")\n .planCode(\"zone\")\n .build());\n\n var zoneDomainZone = new DomainZone(\"zoneDomainZone\", DomainZoneArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .paymentMean(\"fidelity\")\n .plan(DomainZonePlanArgs.builder()\n .duration(zoneOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(zoneOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(zoneOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .configurations( \n DomainZonePlanConfigurationArgs.builder()\n .label(\"zone\")\n .value(\"myzone.mydomain.com\")\n .build(),\n DomainZonePlanConfigurationArgs.builder()\n .label(\"template\")\n .value(\"minimized\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n zoneDomainZone:\n type: ovh:DomainZone\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n paymentMean: fidelity\n plan:\n duration: ${zoneOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${zoneOrderCartProductPlan.planCode}\n pricingMode: ${zoneOrderCartProductPlan.selectedPrices[0].pricingMode}\n configurations:\n - label: zone\n value: myzone.mydomain.com\n - label: template\n value: minimized\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n zoneOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: dns\n planCode: zone\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "dnssecSupported": { "type": "boolean", @@ -8101,7 +8101,7 @@ } }, "ovh:index/domainZoneRecord:DomainZoneRecord": { - "description": "Provides a OVH domain zone record.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\n// Add a record to a sub-domain\nconst test = new ovh.DomainZoneRecord(\"test\", {\n fieldtype: \"A\",\n subdomain: \"test\",\n target: \"0.0.0.0\",\n ttl: 3600,\n zone: \"testdemo.ovh\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\n# Add a record to a sub-domain\ntest = ovh.DomainZoneRecord(\"test\",\n fieldtype=\"A\",\n subdomain=\"test\",\n target=\"0.0.0.0\",\n ttl=3600,\n zone=\"testdemo.ovh\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Add a record to a sub-domain\n var test = new Ovh.DomainZoneRecord(\"test\", new()\n {\n Fieldtype = \"A\",\n Subdomain = \"test\",\n Target = \"0.0.0.0\",\n Ttl = 3600,\n Zone = \"testdemo.ovh\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewDomainZoneRecord(ctx, \"test\", \u0026ovh.DomainZoneRecordArgs{\n\t\t\tFieldtype: pulumi.String(\"A\"),\n\t\t\tSubdomain: pulumi.String(\"test\"),\n\t\t\tTarget: pulumi.String(\"0.0.0.0\"),\n\t\t\tTtl: pulumi.Int(3600),\n\t\t\tZone: pulumi.String(\"testdemo.ovh\"),\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.ovh.DomainZoneRecord;\nimport com.pulumi.ovh.DomainZoneRecordArgs;\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 test = new DomainZoneRecord(\"test\", DomainZoneRecordArgs.builder() \n .fieldtype(\"A\")\n .subdomain(\"test\")\n .target(\"0.0.0.0\")\n .ttl(\"3600\")\n .zone(\"testdemo.ovh\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Add a record to a sub-domain\n test:\n type: ovh:DomainZoneRecord\n properties:\n fieldtype: A\n subdomain: test\n target: 0.0.0.0\n ttl: 3600\n zone: testdemo.ovh\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVH record can be imported using the `id` and the `zone`, eg\n\n```sh\n $ pulumi import ovh:index/domainZoneRecord:DomainZoneRecord test 1234OVH_ID.zone.tld\n```\n\n ", + "description": "Provides a OVH domain zone record.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\n// Add a record to a sub-domain\nconst test = new ovh.DomainZoneRecord(\"test\", {\n fieldtype: \"A\",\n subdomain: \"test\",\n target: \"0.0.0.0\",\n ttl: 3600,\n zone: \"testdemo.ovh\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\n# Add a record to a sub-domain\ntest = ovh.DomainZoneRecord(\"test\",\n fieldtype=\"A\",\n subdomain=\"test\",\n target=\"0.0.0.0\",\n ttl=3600,\n zone=\"testdemo.ovh\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Add a record to a sub-domain\n var test = new Ovh.DomainZoneRecord(\"test\", new()\n {\n Fieldtype = \"A\",\n Subdomain = \"test\",\n Target = \"0.0.0.0\",\n Ttl = 3600,\n Zone = \"testdemo.ovh\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewDomainZoneRecord(ctx, \"test\", \u0026ovh.DomainZoneRecordArgs{\n\t\t\tFieldtype: pulumi.String(\"A\"),\n\t\t\tSubdomain: pulumi.String(\"test\"),\n\t\t\tTarget: pulumi.String(\"0.0.0.0\"),\n\t\t\tTtl: pulumi.Int(3600),\n\t\t\tZone: pulumi.String(\"testdemo.ovh\"),\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.ovh.DomainZoneRecord;\nimport com.pulumi.ovh.DomainZoneRecordArgs;\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 test = new DomainZoneRecord(\"test\", DomainZoneRecordArgs.builder() \n .fieldtype(\"A\")\n .subdomain(\"test\")\n .target(\"0.0.0.0\")\n .ttl(\"3600\")\n .zone(\"testdemo.ovh\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Add a record to a sub-domain\n test:\n type: ovh:DomainZoneRecord\n properties:\n fieldtype: A\n subdomain: test\n target: 0.0.0.0\n ttl: 3600\n zone: testdemo.ovh\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOVH record can be imported using the `id` and the `zone`, eg\n\n```sh\n $ pulumi import ovh:index/domainZoneRecord:DomainZoneRecord test 1234OVH_ID.zone.tld\n```\n\n ", "properties": { "fieldtype": { "type": "string", @@ -8186,7 +8186,7 @@ } }, "ovh:index/domainZoneRedirection:DomainZoneRedirection": { - "description": "Provides a OVH domain zone redirection.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\n// Add a redirection to a sub-domain\nconst test = new ovh.DomainZoneRedirection(\"test\", {\n subdomain: \"test\",\n target: \"http://www.ovh\",\n type: \"visiblePermanent\",\n zone: \"testdemo.ovh\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\n# Add a redirection to a sub-domain\ntest = ovh.DomainZoneRedirection(\"test\",\n subdomain=\"test\",\n target=\"http://www.ovh\",\n type=\"visiblePermanent\",\n zone=\"testdemo.ovh\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Add a redirection to a sub-domain\n var test = new Ovh.DomainZoneRedirection(\"test\", new()\n {\n Subdomain = \"test\",\n Target = \"http://www.ovh\",\n Type = \"visiblePermanent\",\n Zone = \"testdemo.ovh\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewDomainZoneRedirection(ctx, \"test\", \u0026ovh.DomainZoneRedirectionArgs{\n\t\t\tSubdomain: pulumi.String(\"test\"),\n\t\t\tTarget: pulumi.String(\"http://www.ovh\"),\n\t\t\tType: pulumi.String(\"visiblePermanent\"),\n\t\t\tZone: pulumi.String(\"testdemo.ovh\"),\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.ovh.DomainZoneRedirection;\nimport com.pulumi.ovh.DomainZoneRedirectionArgs;\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 test = new DomainZoneRedirection(\"test\", DomainZoneRedirectionArgs.builder() \n .subdomain(\"test\")\n .target(\"http://www.ovh\")\n .type(\"visiblePermanent\")\n .zone(\"testdemo.ovh\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Add a redirection to a sub-domain\n test:\n type: ovh:DomainZoneRedirection\n properties:\n subdomain: test\n target: http://www.ovh\n type: visiblePermanent\n zone: testdemo.ovh\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a OVH domain zone redirection.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\n// Add a redirection to a sub-domain\nconst test = new ovh.DomainZoneRedirection(\"test\", {\n subdomain: \"test\",\n target: \"http://www.ovh\",\n type: \"visiblePermanent\",\n zone: \"testdemo.ovh\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\n# Add a redirection to a sub-domain\ntest = ovh.DomainZoneRedirection(\"test\",\n subdomain=\"test\",\n target=\"http://www.ovh\",\n type=\"visiblePermanent\",\n zone=\"testdemo.ovh\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Add a redirection to a sub-domain\n var test = new Ovh.DomainZoneRedirection(\"test\", new()\n {\n Subdomain = \"test\",\n Target = \"http://www.ovh\",\n Type = \"visiblePermanent\",\n Zone = \"testdemo.ovh\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewDomainZoneRedirection(ctx, \"test\", \u0026ovh.DomainZoneRedirectionArgs{\n\t\t\tSubdomain: pulumi.String(\"test\"),\n\t\t\tTarget: pulumi.String(\"http://www.ovh\"),\n\t\t\tType: pulumi.String(\"visiblePermanent\"),\n\t\t\tZone: pulumi.String(\"testdemo.ovh\"),\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.ovh.DomainZoneRedirection;\nimport com.pulumi.ovh.DomainZoneRedirectionArgs;\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 test = new DomainZoneRedirection(\"test\", DomainZoneRedirectionArgs.builder() \n .subdomain(\"test\")\n .target(\"http://www.ovh\")\n .type(\"visiblePermanent\")\n .zone(\"testdemo.ovh\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Add a redirection to a sub-domain\n test:\n type: ovh:DomainZoneRedirection\n properties:\n subdomain: test\n target: http://www.ovh\n type: visiblePermanent\n zone: testdemo.ovh\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "description": { "type": "string", @@ -8295,7 +8295,7 @@ } }, "ovh:index/ipLoadBalancing:IpLoadBalancing": { - "description": "Orders an IP load balancing.\n\n## Important\n\nThis resource orders an OVH product for a long period of time and may generate heavy costs !\nUse with caution.\n\n__NOTE__ 1: the \"default-payment-mean\" will scan your registered bank accounts, credit card and paypal payment means to find your default payment mean.\n\n__NOTE__ 2: this resource is in beta state. Use with caution.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n description: \"mycart\",\n});\nconst iplb = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"ipLoadbalancing\",\n planCode: \"iplb-lb1\",\n}));\nconst bhs = Promise.all([iplb, iplb, iplb, iplb]).then(([iplb, iplb1, iplb2, iplb3]) =\u003e ovh.getOrderCartProductOptionsPlan({\n cartId: iplb.cartId,\n priceCapacity: iplb1.priceCapacity,\n product: iplb2.product,\n planCode: iplb3.planCode,\n optionsPlanCode: \"iplb-zone-lb1-rbx\",\n}));\nconst iplb_lb1 = new ovh.IpLoadBalancing(\"iplb-lb1\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n displayName: \"my ip loadbalancing\",\n paymentMean: \"ovh-account\",\n plan: {\n duration: iplb.then(iplb =\u003e iplb.selectedPrices?[0]?.duration),\n planCode: iplb.then(iplb =\u003e iplb.planCode),\n pricingMode: iplb.then(iplb =\u003e iplb.selectedPrices?[0]?.pricingMode),\n },\n planOptions: [{\n duration: bhs.then(bhs =\u003e bhs.selectedPrices?[0]?.duration),\n planCode: bhs.then(bhs =\u003e bhs.planCode),\n pricingMode: bhs.then(bhs =\u003e bhs.selectedPrices?[0]?.pricingMode),\n }],\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\",\n description=\"mycart\")\niplb = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"ipLoadbalancing\",\n plan_code=\"iplb-lb1\")\nbhs = ovh.get_order_cart_product_options_plan(cart_id=iplb.cart_id,\n price_capacity=iplb.price_capacity,\n product=iplb.product,\n plan_code=iplb.plan_code,\n options_plan_code=\"iplb-zone-lb1-rbx\")\niplb_lb1 = ovh.IpLoadBalancing(\"iplb-lb1\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n display_name=\"my ip loadbalancing\",\n payment_mean=\"ovh-account\",\n plan=ovh.IpLoadBalancingPlanArgs(\n duration=iplb.selected_prices[0].duration,\n plan_code=iplb.plan_code,\n pricing_mode=iplb.selected_prices[0].pricing_mode,\n ),\n plan_options=[ovh.IpLoadBalancingPlanOptionArgs(\n duration=bhs.selected_prices[0].duration,\n plan_code=bhs.plan_code,\n pricing_mode=bhs.selected_prices[0].pricing_mode,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n Description = \"mycart\",\n });\n\n var iplb = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"ipLoadbalancing\",\n PlanCode = \"iplb-lb1\",\n });\n\n var bhs = Ovh.GetOrderCartProductOptionsPlan.Invoke(new()\n {\n CartId = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.CartId),\n PriceCapacity = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PriceCapacity),\n Product = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.Product),\n PlanCode = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n OptionsPlanCode = \"iplb-zone-lb1-rbx\",\n });\n\n var iplb_lb1 = new Ovh.IpLoadBalancing(\"iplb-lb1\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n DisplayName = \"my ip loadbalancing\",\n PaymentMean = \"ovh-account\",\n Plan = new Ovh.Inputs.IpLoadBalancingPlanArgs\n {\n Duration = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n },\n PlanOptions = new[]\n {\n new Ovh.Inputs.IpLoadBalancingPlanOptionArgs\n {\n Duration = bhs.Apply(getOrderCartProductOptionsPlanResult =\u003e getOrderCartProductOptionsPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = bhs.Apply(getOrderCartProductOptionsPlanResult =\u003e getOrderCartProductOptionsPlanResult.PlanCode),\n PricingMode = bhs.Apply(getOrderCartProductOptionsPlanResult =\u003e getOrderCartProductOptionsPlanResult.SelectedPrices[0]?.PricingMode),\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t\tDescription: pulumi.StringRef(\"mycart\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tiplb, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"ipLoadbalancing\",\n\t\t\tPlanCode: \"iplb-lb1\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tbhs, err := ovh.GetOrderCartProductOptionsPlan(ctx, \u0026GetOrderCartProductOptionsPlanArgs{\n\t\t\tCartId: iplb.CartId,\n\t\t\tPriceCapacity: iplb.PriceCapacity,\n\t\t\tProduct: iplb.Product,\n\t\t\tPlanCode: iplb.PlanCode,\n\t\t\tOptionsPlanCode: \"iplb-zone-lb1-rbx\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewIpLoadBalancing(ctx, \"iplb-lb1\", \u0026ovh.IpLoadBalancingArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tDisplayName: pulumi.String(\"my ip loadbalancing\"),\n\t\t\tPaymentMean: pulumi.String(\"ovh-account\"),\n\t\t\tPlan: \u0026IpLoadBalancingPlanArgs{\n\t\t\t\tDuration: pulumi.String(iplb.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(iplb.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(iplb.SelectedPrices[0].PricingMode),\n\t\t\t},\n\t\t\tPlanOptions: IpLoadBalancingPlanOptionArray{\n\t\t\t\t\u0026IpLoadBalancingPlanOptionArgs{\n\t\t\t\t\tDuration: pulumi.String(bhs.SelectedPrices[0].Duration),\n\t\t\t\t\tPlanCode: pulumi.String(bhs.PlanCode),\n\t\t\t\t\tPricingMode: pulumi.String(bhs.SelectedPrices[0].PricingMode),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductOptionsPlanArgs;\nimport com.pulumi.ovh.IpLoadBalancing;\nimport com.pulumi.ovh.IpLoadBalancingArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingPlanArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingPlanOptionArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .description(\"mycart\")\n .build());\n\n final var iplb = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"ipLoadbalancing\")\n .planCode(\"iplb-lb1\")\n .build());\n\n final var bhs = OvhFunctions.getOrderCartProductOptionsPlan(GetOrderCartProductOptionsPlanArgs.builder()\n .cartId(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.cartId()))\n .priceCapacity(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.priceCapacity()))\n .product(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.product()))\n .planCode(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .optionsPlanCode(\"iplb-zone-lb1-rbx\")\n .build());\n\n var iplb_lb1 = new IpLoadBalancing(\"iplb-lb1\", IpLoadBalancingArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .displayName(\"my ip loadbalancing\")\n .paymentMean(\"ovh-account\")\n .plan(IpLoadBalancingPlanArgs.builder()\n .duration(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .build())\n .planOptions(IpLoadBalancingPlanOptionArgs.builder()\n .duration(bhs.applyValue(getOrderCartProductOptionsPlanResult -\u003e getOrderCartProductOptionsPlanResult.selectedPrices()[0].duration()))\n .planCode(bhs.applyValue(getOrderCartProductOptionsPlanResult -\u003e getOrderCartProductOptionsPlanResult.planCode()))\n .pricingMode(bhs.applyValue(getOrderCartProductOptionsPlanResult -\u003e getOrderCartProductOptionsPlanResult.selectedPrices()[0].pricingMode()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n iplb-lb1:\n type: ovh:IpLoadBalancing\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n displayName: my ip loadbalancing\n paymentMean: ovh-account\n plan:\n duration: ${iplb.selectedPrices[0].duration}\n planCode: ${iplb.planCode}\n pricingMode: ${iplb.selectedPrices[0].pricingMode}\n planOptions:\n - duration: ${bhs.selectedPrices[0].duration}\n planCode: ${bhs.planCode}\n pricingMode: ${bhs.selectedPrices[0].pricingMode}\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n description: mycart\n iplb:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: ipLoadbalancing\n planCode: iplb-lb1\n bhs:\n Fn::Invoke:\n Function: ovh:getOrderCartProductOptionsPlan\n Arguments:\n cartId: ${iplb.cartId}\n priceCapacity: ${iplb.priceCapacity}\n product: ${iplb.product}\n planCode: ${iplb.planCode}\n optionsPlanCode: iplb-zone-lb1-rbx\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Orders an IP load balancing.\n\n## Important\n\nThis resource orders an OVH product for a long period of time and may generate heavy costs !\nUse with caution.\n\n__NOTE__ 1: the \"default-payment-mean\" will scan your registered bank accounts, credit card and paypal payment means to find your default payment mean.\n\n__NOTE__ 2: this resource is in beta state. Use with caution.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n description: \"mycart\",\n});\nconst iplb = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"ipLoadbalancing\",\n planCode: \"iplb-lb1\",\n}));\nconst bhs = Promise.all([iplb, iplb, iplb, iplb]).then(([iplb, iplb1, iplb2, iplb3]) =\u003e ovh.getOrderCartProductOptionsPlan({\n cartId: iplb.cartId,\n priceCapacity: iplb1.priceCapacity,\n product: iplb2.product,\n planCode: iplb3.planCode,\n optionsPlanCode: \"iplb-zone-lb1-rbx\",\n}));\nconst iplb_lb1 = new ovh.IpLoadBalancing(\"iplb-lb1\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n displayName: \"my ip loadbalancing\",\n paymentMean: \"ovh-account\",\n plan: {\n duration: iplb.then(iplb =\u003e iplb.selectedPrices?[0]?.duration),\n planCode: iplb.then(iplb =\u003e iplb.planCode),\n pricingMode: iplb.then(iplb =\u003e iplb.selectedPrices?[0]?.pricingMode),\n },\n planOptions: [{\n duration: bhs.then(bhs =\u003e bhs.selectedPrices?[0]?.duration),\n planCode: bhs.then(bhs =\u003e bhs.planCode),\n pricingMode: bhs.then(bhs =\u003e bhs.selectedPrices?[0]?.pricingMode),\n }],\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\",\n description=\"mycart\")\niplb = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"ipLoadbalancing\",\n plan_code=\"iplb-lb1\")\nbhs = ovh.get_order_cart_product_options_plan(cart_id=iplb.cart_id,\n price_capacity=iplb.price_capacity,\n product=iplb.product,\n plan_code=iplb.plan_code,\n options_plan_code=\"iplb-zone-lb1-rbx\")\niplb_lb1 = ovh.IpLoadBalancing(\"iplb-lb1\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n display_name=\"my ip loadbalancing\",\n payment_mean=\"ovh-account\",\n plan=ovh.IpLoadBalancingPlanArgs(\n duration=iplb.selected_prices[0].duration,\n plan_code=iplb.plan_code,\n pricing_mode=iplb.selected_prices[0].pricing_mode,\n ),\n plan_options=[ovh.IpLoadBalancingPlanOptionArgs(\n duration=bhs.selected_prices[0].duration,\n plan_code=bhs.plan_code,\n pricing_mode=bhs.selected_prices[0].pricing_mode,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n Description = \"mycart\",\n });\n\n var iplb = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"ipLoadbalancing\",\n PlanCode = \"iplb-lb1\",\n });\n\n var bhs = Ovh.GetOrderCartProductOptionsPlan.Invoke(new()\n {\n CartId = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.CartId),\n PriceCapacity = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PriceCapacity),\n Product = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.Product),\n PlanCode = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n OptionsPlanCode = \"iplb-zone-lb1-rbx\",\n });\n\n var iplb_lb1 = new Ovh.IpLoadBalancing(\"iplb-lb1\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n DisplayName = \"my ip loadbalancing\",\n PaymentMean = \"ovh-account\",\n Plan = new Ovh.Inputs.IpLoadBalancingPlanArgs\n {\n Duration = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = iplb.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n },\n PlanOptions = new[]\n {\n new Ovh.Inputs.IpLoadBalancingPlanOptionArgs\n {\n Duration = bhs.Apply(getOrderCartProductOptionsPlanResult =\u003e getOrderCartProductOptionsPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = bhs.Apply(getOrderCartProductOptionsPlanResult =\u003e getOrderCartProductOptionsPlanResult.PlanCode),\n PricingMode = bhs.Apply(getOrderCartProductOptionsPlanResult =\u003e getOrderCartProductOptionsPlanResult.SelectedPrices[0]?.PricingMode),\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t\tDescription: pulumi.StringRef(\"mycart\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tiplb, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"ipLoadbalancing\",\n\t\t\tPlanCode: \"iplb-lb1\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tbhs, err := ovh.GetOrderCartProductOptionsPlan(ctx, \u0026GetOrderCartProductOptionsPlanArgs{\n\t\t\tCartId: iplb.CartId,\n\t\t\tPriceCapacity: iplb.PriceCapacity,\n\t\t\tProduct: iplb.Product,\n\t\t\tPlanCode: iplb.PlanCode,\n\t\t\tOptionsPlanCode: \"iplb-zone-lb1-rbx\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewIpLoadBalancing(ctx, \"iplb-lb1\", \u0026ovh.IpLoadBalancingArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tDisplayName: pulumi.String(\"my ip loadbalancing\"),\n\t\t\tPaymentMean: pulumi.String(\"ovh-account\"),\n\t\t\tPlan: \u0026IpLoadBalancingPlanArgs{\n\t\t\t\tDuration: pulumi.String(iplb.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(iplb.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(iplb.SelectedPrices[0].PricingMode),\n\t\t\t},\n\t\t\tPlanOptions: IpLoadBalancingPlanOptionArray{\n\t\t\t\t\u0026IpLoadBalancingPlanOptionArgs{\n\t\t\t\t\tDuration: pulumi.String(bhs.SelectedPrices[0].Duration),\n\t\t\t\t\tPlanCode: pulumi.String(bhs.PlanCode),\n\t\t\t\t\tPricingMode: pulumi.String(bhs.SelectedPrices[0].PricingMode),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductOptionsPlanArgs;\nimport com.pulumi.ovh.IpLoadBalancing;\nimport com.pulumi.ovh.IpLoadBalancingArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingPlanArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingPlanOptionArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .description(\"mycart\")\n .build());\n\n final var iplb = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"ipLoadbalancing\")\n .planCode(\"iplb-lb1\")\n .build());\n\n final var bhs = OvhFunctions.getOrderCartProductOptionsPlan(GetOrderCartProductOptionsPlanArgs.builder()\n .cartId(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.cartId()))\n .priceCapacity(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.priceCapacity()))\n .product(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.product()))\n .planCode(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .optionsPlanCode(\"iplb-zone-lb1-rbx\")\n .build());\n\n var iplb_lb1 = new IpLoadBalancing(\"iplb-lb1\", IpLoadBalancingArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .displayName(\"my ip loadbalancing\")\n .paymentMean(\"ovh-account\")\n .plan(IpLoadBalancingPlanArgs.builder()\n .duration(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(iplb.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .build())\n .planOptions(IpLoadBalancingPlanOptionArgs.builder()\n .duration(bhs.applyValue(getOrderCartProductOptionsPlanResult -\u003e getOrderCartProductOptionsPlanResult.selectedPrices()[0].duration()))\n .planCode(bhs.applyValue(getOrderCartProductOptionsPlanResult -\u003e getOrderCartProductOptionsPlanResult.planCode()))\n .pricingMode(bhs.applyValue(getOrderCartProductOptionsPlanResult -\u003e getOrderCartProductOptionsPlanResult.selectedPrices()[0].pricingMode()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n iplb-lb1:\n type: ovh:IpLoadBalancing\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n displayName: my ip loadbalancing\n paymentMean: ovh-account\n plan:\n duration: ${iplb.selectedPrices[0].duration}\n planCode: ${iplb.planCode}\n pricingMode: ${iplb.selectedPrices[0].pricingMode}\n planOptions:\n - duration: ${bhs.selectedPrices[0].duration}\n planCode: ${bhs.planCode}\n pricingMode: ${bhs.selectedPrices[0].pricingMode}\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n description: mycart\n iplb:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: ipLoadbalancing\n planCode: iplb-lb1\n bhs:\n Fn::Invoke:\n Function: ovh:getOrderCartProductOptionsPlan\n Arguments:\n cartId: ${iplb.cartId}\n priceCapacity: ${iplb.priceCapacity}\n product: ${iplb.product}\n planCode: ${iplb.planCode}\n optionsPlanCode: iplb-zone-lb1-rbx\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "displayName": { "type": "string", @@ -9014,7 +9014,7 @@ } }, "ovh:index/ipLoadBalancingHttpRoute:IpLoadBalancingHttpRoute": { - "description": "Manage http route for a loadbalancer service\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nRoute which redirect all url to https.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst httpsredirect = new ovh.IpLoadBalancingHttpRoute(\"httpsredirect\", {\n action: {\n status: 302,\n target: \"https://${host}${path}${arguments}\",\n type: \"redirect\",\n },\n displayName: \"Redirect to HTTPS\",\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight: 1,\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nhttpsredirect = ovh.IpLoadBalancingHttpRoute(\"httpsredirect\",\n action=ovh.IpLoadBalancingHttpRouteActionArgs(\n status=302,\n target=f\"https://{host}{path}{arguments}\",\n type=\"redirect\",\n ),\n display_name=\"Redirect to HTTPS\",\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight=1)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var httpsredirect = new Ovh.IpLoadBalancingHttpRoute(\"httpsredirect\", new()\n {\n Action = new Ovh.Inputs.IpLoadBalancingHttpRouteActionArgs\n {\n Status = 302,\n Target = $\"https://{host}{path}{arguments}\",\n Type = \"redirect\",\n },\n DisplayName = \"Redirect to HTTPS\",\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n Weight = 1,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewIpLoadBalancingHttpRoute(ctx, \"httpsredirect\", \u0026ovh.IpLoadBalancingHttpRouteArgs{\n\t\t\tAction: \u0026IpLoadBalancingHttpRouteActionArgs{\n\t\t\t\tStatus: pulumi.Int(302),\n\t\t\t\tTarget: pulumi.String(fmt.Sprintf(\"https://%v%v%v\", host, path, arguments)),\n\t\t\t\tType: pulumi.String(\"redirect\"),\n\t\t\t},\n\t\t\tDisplayName: pulumi.String(\"Redirect to HTTPS\"),\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tWeight: pulumi.Int(1),\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.ovh.IpLoadBalancingHttpRoute;\nimport com.pulumi.ovh.IpLoadBalancingHttpRouteArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingHttpRouteActionArgs;\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 httpsredirect = new IpLoadBalancingHttpRoute(\"httpsredirect\", IpLoadBalancingHttpRouteArgs.builder() \n .action(IpLoadBalancingHttpRouteActionArgs.builder()\n .status(302)\n .target(String.format(\"https://%s%s%s\", host,path,arguments))\n .type(\"redirect\")\n .build())\n .displayName(\"Redirect to HTTPS\")\n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .weight(1)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n httpsredirect:\n type: ovh:IpLoadBalancingHttpRoute\n properties:\n action:\n status: 302\n target: https://${host}${path}${arguments}\n type: redirect\n displayName: Redirect to HTTPS\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n weight: 1\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Manage http route for a loadbalancer service\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nRoute which redirect all url to https.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst httpsredirect = new ovh.IpLoadBalancingHttpRoute(\"httpsredirect\", {\n action: {\n status: 302,\n target: \"https://${host}${path}${arguments}\",\n type: \"redirect\",\n },\n displayName: \"Redirect to HTTPS\",\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight: 1,\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nhttpsredirect = ovh.IpLoadBalancingHttpRoute(\"httpsredirect\",\n action=ovh.IpLoadBalancingHttpRouteActionArgs(\n status=302,\n target=f\"https://{host}{path}{arguments}\",\n type=\"redirect\",\n ),\n display_name=\"Redirect to HTTPS\",\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight=1)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var httpsredirect = new Ovh.IpLoadBalancingHttpRoute(\"httpsredirect\", new()\n {\n Action = new Ovh.Inputs.IpLoadBalancingHttpRouteActionArgs\n {\n Status = 302,\n Target = $\"https://{host}{path}{arguments}\",\n Type = \"redirect\",\n },\n DisplayName = \"Redirect to HTTPS\",\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n Weight = 1,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewIpLoadBalancingHttpRoute(ctx, \"httpsredirect\", \u0026ovh.IpLoadBalancingHttpRouteArgs{\n\t\t\tAction: \u0026IpLoadBalancingHttpRouteActionArgs{\n\t\t\t\tStatus: pulumi.Int(302),\n\t\t\t\tTarget: pulumi.String(fmt.Sprintf(\"https://%v%v%v\", host, path, arguments)),\n\t\t\t\tType: pulumi.String(\"redirect\"),\n\t\t\t},\n\t\t\tDisplayName: pulumi.String(\"Redirect to HTTPS\"),\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tWeight: pulumi.Int(1),\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.ovh.IpLoadBalancingHttpRoute;\nimport com.pulumi.ovh.IpLoadBalancingHttpRouteArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingHttpRouteActionArgs;\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 httpsredirect = new IpLoadBalancingHttpRoute(\"httpsredirect\", IpLoadBalancingHttpRouteArgs.builder() \n .action(IpLoadBalancingHttpRouteActionArgs.builder()\n .status(302)\n .target(String.format(\"https://%s%s%s\", host,path,arguments))\n .type(\"redirect\")\n .build())\n .displayName(\"Redirect to HTTPS\")\n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .weight(1)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n httpsredirect:\n type: ovh:IpLoadBalancingHttpRoute\n properties:\n action:\n status: 302\n target: https://${host}${path}${arguments}\n type: redirect\n displayName: Redirect to HTTPS\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n weight: 1\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "action": { "$ref": "#/types/ovh:index/IpLoadBalancingHttpRouteAction:IpLoadBalancingHttpRouteAction", @@ -9123,7 +9123,7 @@ } }, "ovh:index/ipLoadBalancingHttpRouteRule:IpLoadBalancingHttpRouteRule": { - "description": "Manage rules for HTTP route.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nRoute which redirect all url to https for example.com (Vhost).\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst httpsredirect = new ovh.IpLoadBalancingHttpRoute(\"httpsredirect\", {\n action: {\n status: 302,\n target: \"https://${host}${path}${arguments}\",\n type: \"redirect\",\n },\n displayName: \"Redirect to HTTPS\",\n frontendId: 11111,\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight: 1,\n});\nconst examplerule = new ovh.IpLoadBalancingHttpRouteRule(\"examplerule\", {\n displayName: \"Match example.com host\",\n field: \"host\",\n match: \"is\",\n negate: false,\n pattern: \"example.com\",\n routeId: httpsredirect.id,\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nhttpsredirect = ovh.IpLoadBalancingHttpRoute(\"httpsredirect\",\n action=ovh.IpLoadBalancingHttpRouteActionArgs(\n status=302,\n target=f\"https://{host}{path}{arguments}\",\n type=\"redirect\",\n ),\n display_name=\"Redirect to HTTPS\",\n frontend_id=11111,\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight=1)\nexamplerule = ovh.IpLoadBalancingHttpRouteRule(\"examplerule\",\n display_name=\"Match example.com host\",\n field=\"host\",\n match=\"is\",\n negate=False,\n pattern=\"example.com\",\n route_id=httpsredirect.id,\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var httpsredirect = new Ovh.IpLoadBalancingHttpRoute(\"httpsredirect\", new()\n {\n Action = new Ovh.Inputs.IpLoadBalancingHttpRouteActionArgs\n {\n Status = 302,\n Target = $\"https://{host}{path}{arguments}\",\n Type = \"redirect\",\n },\n DisplayName = \"Redirect to HTTPS\",\n FrontendId = 11111,\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n Weight = 1,\n });\n\n var examplerule = new Ovh.IpLoadBalancingHttpRouteRule(\"examplerule\", new()\n {\n DisplayName = \"Match example.com host\",\n Field = \"host\",\n Match = \"is\",\n Negate = false,\n Pattern = \"example.com\",\n RouteId = httpsredirect.Id,\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\thttpsredirect, err := ovh.NewIpLoadBalancingHttpRoute(ctx, \"httpsredirect\", \u0026ovh.IpLoadBalancingHttpRouteArgs{\n\t\t\tAction: \u0026IpLoadBalancingHttpRouteActionArgs{\n\t\t\t\tStatus: pulumi.Int(302),\n\t\t\t\tTarget: pulumi.String(fmt.Sprintf(\"https://%v%v%v\", host, path, arguments)),\n\t\t\t\tType: pulumi.String(\"redirect\"),\n\t\t\t},\n\t\t\tDisplayName: pulumi.String(\"Redirect to HTTPS\"),\n\t\t\tFrontendId: pulumi.Int(11111),\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tWeight: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewIpLoadBalancingHttpRouteRule(ctx, \"examplerule\", \u0026ovh.IpLoadBalancingHttpRouteRuleArgs{\n\t\t\tDisplayName: pulumi.String(\"Match example.com host\"),\n\t\t\tField: pulumi.String(\"host\"),\n\t\t\tMatch: pulumi.String(\"is\"),\n\t\t\tNegate: pulumi.Bool(false),\n\t\t\tPattern: pulumi.String(\"example.com\"),\n\t\t\tRouteId: httpsredirect.ID(),\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\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.ovh.IpLoadBalancingHttpRoute;\nimport com.pulumi.ovh.IpLoadBalancingHttpRouteArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingHttpRouteActionArgs;\nimport com.pulumi.ovh.IpLoadBalancingHttpRouteRule;\nimport com.pulumi.ovh.IpLoadBalancingHttpRouteRuleArgs;\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 httpsredirect = new IpLoadBalancingHttpRoute(\"httpsredirect\", IpLoadBalancingHttpRouteArgs.builder() \n .action(IpLoadBalancingHttpRouteActionArgs.builder()\n .status(302)\n .target(String.format(\"https://%s%s%s\", host,path,arguments))\n .type(\"redirect\")\n .build())\n .displayName(\"Redirect to HTTPS\")\n .frontendId(11111)\n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .weight(1)\n .build());\n\n var examplerule = new IpLoadBalancingHttpRouteRule(\"examplerule\", IpLoadBalancingHttpRouteRuleArgs.builder() \n .displayName(\"Match example.com host\")\n .field(\"host\")\n .match(\"is\")\n .negate(false)\n .pattern(\"example.com\")\n .routeId(httpsredirect.id())\n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n httpsredirect:\n type: ovh:IpLoadBalancingHttpRoute\n properties:\n action:\n status: 302\n target: https://${host}${path}${arguments}\n type: redirect\n displayName: Redirect to HTTPS\n frontendId: 11111\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n weight: 1\n examplerule:\n type: ovh:IpLoadBalancingHttpRouteRule\n properties:\n displayName: Match example.com host\n field: host\n match: is\n negate: false\n pattern: example.com\n routeId: ${httpsredirect.id}\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n```\n\nRule which match a specific header (same effect as the host match above).\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst examplerule = new ovh.IpLoadBalancingHttpRouteRule(\"examplerule\", {\n displayName: \"Match example.com Host header\",\n field: \"headers\",\n match: \"is\",\n negate: false,\n pattern: \"example.com\",\n routeId: ovh_iploadbalancing_http_route_httpsredirect.id,\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n subField: \"Host\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nexamplerule = ovh.IpLoadBalancingHttpRouteRule(\"examplerule\",\n display_name=\"Match example.com Host header\",\n field=\"headers\",\n match=\"is\",\n negate=False,\n pattern=\"example.com\",\n route_id=ovh_iploadbalancing_http_route[\"httpsredirect\"][\"id\"],\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n sub_field=\"Host\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var examplerule = new Ovh.IpLoadBalancingHttpRouteRule(\"examplerule\", new()\n {\n DisplayName = \"Match example.com Host header\",\n Field = \"headers\",\n Match = \"is\",\n Negate = false,\n Pattern = \"example.com\",\n RouteId = ovh_iploadbalancing_http_route.Httpsredirect.Id,\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n SubField = \"Host\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewIpLoadBalancingHttpRouteRule(ctx, \"examplerule\", \u0026ovh.IpLoadBalancingHttpRouteRuleArgs{\n\t\t\tDisplayName: pulumi.String(\"Match example.com Host header\"),\n\t\t\tField: pulumi.String(\"headers\"),\n\t\t\tMatch: pulumi.String(\"is\"),\n\t\t\tNegate: pulumi.Bool(false),\n\t\t\tPattern: pulumi.String(\"example.com\"),\n\t\t\tRouteId: pulumi.Any(ovh_iploadbalancing_http_route.Httpsredirect.Id),\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tSubField: pulumi.String(\"Host\"),\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.ovh.IpLoadBalancingHttpRouteRule;\nimport com.pulumi.ovh.IpLoadBalancingHttpRouteRuleArgs;\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 examplerule = new IpLoadBalancingHttpRouteRule(\"examplerule\", IpLoadBalancingHttpRouteRuleArgs.builder() \n .displayName(\"Match example.com Host header\")\n .field(\"headers\")\n .match(\"is\")\n .negate(false)\n .pattern(\"example.com\")\n .routeId(ovh_iploadbalancing_http_route.httpsredirect().id())\n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .subField(\"Host\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n examplerule:\n type: ovh:IpLoadBalancingHttpRouteRule\n properties:\n displayName: Match example.com Host header\n field: headers\n match: is\n negate: false\n pattern: example.com\n routeId: ${ovh_iploadbalancing_http_route.httpsredirect.id}\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n subField: Host\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Manage rules for HTTP route.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nRoute which redirect all url to https for example.com (Vhost).\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst httpsredirect = new ovh.IpLoadBalancingHttpRoute(\"httpsredirect\", {\n action: {\n status: 302,\n target: \"https://${host}${path}${arguments}\",\n type: \"redirect\",\n },\n displayName: \"Redirect to HTTPS\",\n frontendId: 11111,\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight: 1,\n});\nconst examplerule = new ovh.IpLoadBalancingHttpRouteRule(\"examplerule\", {\n displayName: \"Match example.com host\",\n field: \"host\",\n match: \"is\",\n negate: false,\n pattern: \"example.com\",\n routeId: httpsredirect.id,\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nhttpsredirect = ovh.IpLoadBalancingHttpRoute(\"httpsredirect\",\n action=ovh.IpLoadBalancingHttpRouteActionArgs(\n status=302,\n target=f\"https://{host}{path}{arguments}\",\n type=\"redirect\",\n ),\n display_name=\"Redirect to HTTPS\",\n frontend_id=11111,\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight=1)\nexamplerule = ovh.IpLoadBalancingHttpRouteRule(\"examplerule\",\n display_name=\"Match example.com host\",\n field=\"host\",\n match=\"is\",\n negate=False,\n pattern=\"example.com\",\n route_id=httpsredirect.id,\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var httpsredirect = new Ovh.IpLoadBalancingHttpRoute(\"httpsredirect\", new()\n {\n Action = new Ovh.Inputs.IpLoadBalancingHttpRouteActionArgs\n {\n Status = 302,\n Target = $\"https://{host}{path}{arguments}\",\n Type = \"redirect\",\n },\n DisplayName = \"Redirect to HTTPS\",\n FrontendId = 11111,\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n Weight = 1,\n });\n\n var examplerule = new Ovh.IpLoadBalancingHttpRouteRule(\"examplerule\", new()\n {\n DisplayName = \"Match example.com host\",\n Field = \"host\",\n Match = \"is\",\n Negate = false,\n Pattern = \"example.com\",\n RouteId = httpsredirect.Id,\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\thttpsredirect, err := ovh.NewIpLoadBalancingHttpRoute(ctx, \"httpsredirect\", \u0026ovh.IpLoadBalancingHttpRouteArgs{\n\t\t\tAction: \u0026IpLoadBalancingHttpRouteActionArgs{\n\t\t\t\tStatus: pulumi.Int(302),\n\t\t\t\tTarget: pulumi.String(fmt.Sprintf(\"https://%v%v%v\", host, path, arguments)),\n\t\t\t\tType: pulumi.String(\"redirect\"),\n\t\t\t},\n\t\t\tDisplayName: pulumi.String(\"Redirect to HTTPS\"),\n\t\t\tFrontendId: pulumi.Int(11111),\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tWeight: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewIpLoadBalancingHttpRouteRule(ctx, \"examplerule\", \u0026ovh.IpLoadBalancingHttpRouteRuleArgs{\n\t\t\tDisplayName: pulumi.String(\"Match example.com host\"),\n\t\t\tField: pulumi.String(\"host\"),\n\t\t\tMatch: pulumi.String(\"is\"),\n\t\t\tNegate: pulumi.Bool(false),\n\t\t\tPattern: pulumi.String(\"example.com\"),\n\t\t\tRouteId: httpsredirect.ID(),\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\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.ovh.IpLoadBalancingHttpRoute;\nimport com.pulumi.ovh.IpLoadBalancingHttpRouteArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingHttpRouteActionArgs;\nimport com.pulumi.ovh.IpLoadBalancingHttpRouteRule;\nimport com.pulumi.ovh.IpLoadBalancingHttpRouteRuleArgs;\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 httpsredirect = new IpLoadBalancingHttpRoute(\"httpsredirect\", IpLoadBalancingHttpRouteArgs.builder() \n .action(IpLoadBalancingHttpRouteActionArgs.builder()\n .status(302)\n .target(String.format(\"https://%s%s%s\", host,path,arguments))\n .type(\"redirect\")\n .build())\n .displayName(\"Redirect to HTTPS\")\n .frontendId(11111)\n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .weight(1)\n .build());\n\n var examplerule = new IpLoadBalancingHttpRouteRule(\"examplerule\", IpLoadBalancingHttpRouteRuleArgs.builder() \n .displayName(\"Match example.com host\")\n .field(\"host\")\n .match(\"is\")\n .negate(false)\n .pattern(\"example.com\")\n .routeId(httpsredirect.id())\n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n httpsredirect:\n type: ovh:IpLoadBalancingHttpRoute\n properties:\n action:\n status: 302\n target: https://${host}${path}${arguments}\n type: redirect\n displayName: Redirect to HTTPS\n frontendId: 11111\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n weight: 1\n examplerule:\n type: ovh:IpLoadBalancingHttpRouteRule\n properties:\n displayName: Match example.com host\n field: host\n match: is\n negate: false\n pattern: example.com\n routeId: ${httpsredirect.id}\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n```\n\nRule which match a specific header (same effect as the host match above).\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst examplerule = new ovh.IpLoadBalancingHttpRouteRule(\"examplerule\", {\n displayName: \"Match example.com Host header\",\n field: \"headers\",\n match: \"is\",\n negate: false,\n pattern: \"example.com\",\n routeId: ovh_iploadbalancing_http_route_httpsredirect.id,\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n subField: \"Host\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nexamplerule = ovh.IpLoadBalancingHttpRouteRule(\"examplerule\",\n display_name=\"Match example.com Host header\",\n field=\"headers\",\n match=\"is\",\n negate=False,\n pattern=\"example.com\",\n route_id=ovh_iploadbalancing_http_route[\"httpsredirect\"][\"id\"],\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n sub_field=\"Host\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var examplerule = new Ovh.IpLoadBalancingHttpRouteRule(\"examplerule\", new()\n {\n DisplayName = \"Match example.com Host header\",\n Field = \"headers\",\n Match = \"is\",\n Negate = false,\n Pattern = \"example.com\",\n RouteId = ovh_iploadbalancing_http_route.Httpsredirect.Id,\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n SubField = \"Host\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewIpLoadBalancingHttpRouteRule(ctx, \"examplerule\", \u0026ovh.IpLoadBalancingHttpRouteRuleArgs{\n\t\t\tDisplayName: pulumi.String(\"Match example.com Host header\"),\n\t\t\tField: pulumi.String(\"headers\"),\n\t\t\tMatch: pulumi.String(\"is\"),\n\t\t\tNegate: pulumi.Bool(false),\n\t\t\tPattern: pulumi.String(\"example.com\"),\n\t\t\tRouteId: pulumi.Any(ovh_iploadbalancing_http_route.Httpsredirect.Id),\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tSubField: pulumi.String(\"Host\"),\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.ovh.IpLoadBalancingHttpRouteRule;\nimport com.pulumi.ovh.IpLoadBalancingHttpRouteRuleArgs;\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 examplerule = new IpLoadBalancingHttpRouteRule(\"examplerule\", IpLoadBalancingHttpRouteRuleArgs.builder() \n .displayName(\"Match example.com Host header\")\n .field(\"headers\")\n .match(\"is\")\n .negate(false)\n .pattern(\"example.com\")\n .routeId(ovh_iploadbalancing_http_route.httpsredirect().id())\n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .subField(\"Host\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n examplerule:\n type: ovh:IpLoadBalancingHttpRouteRule\n properties:\n displayName: Match example.com Host header\n field: headers\n match: is\n negate: false\n pattern: example.com\n routeId: ${ovh_iploadbalancing_http_route.httpsredirect.id}\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n subField: Host\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "displayName": { "type": "string", @@ -9765,7 +9765,7 @@ } }, "ovh:index/ipLoadBalancingTcpRoute:IpLoadBalancingTcpRoute": { - "description": "Manage tcp route for a loadbalancer service\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst tcpreject = new ovh.IpLoadBalancingTcpRoute(\"tcpreject\", {\n action: {\n type: \"reject\",\n },\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight: 1,\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\ntcpreject = ovh.IpLoadBalancingTcpRoute(\"tcpreject\",\n action=ovh.IpLoadBalancingTcpRouteActionArgs(\n type=\"reject\",\n ),\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight=1)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var tcpreject = new Ovh.IpLoadBalancingTcpRoute(\"tcpreject\", new()\n {\n Action = new Ovh.Inputs.IpLoadBalancingTcpRouteActionArgs\n {\n Type = \"reject\",\n },\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n Weight = 1,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewIpLoadBalancingTcpRoute(ctx, \"tcpreject\", \u0026ovh.IpLoadBalancingTcpRouteArgs{\n\t\t\tAction: \u0026IpLoadBalancingTcpRouteActionArgs{\n\t\t\t\tType: pulumi.String(\"reject\"),\n\t\t\t},\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tWeight: pulumi.Int(1),\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.ovh.IpLoadBalancingTcpRoute;\nimport com.pulumi.ovh.IpLoadBalancingTcpRouteArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingTcpRouteActionArgs;\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 tcpreject = new IpLoadBalancingTcpRoute(\"tcpreject\", IpLoadBalancingTcpRouteArgs.builder() \n .action(IpLoadBalancingTcpRouteActionArgs.builder()\n .type(\"reject\")\n .build())\n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .weight(1)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n tcpreject:\n type: ovh:IpLoadBalancingTcpRoute\n properties:\n action:\n type: reject\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n weight: 1\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Manage tcp route for a loadbalancer service\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst tcpreject = new ovh.IpLoadBalancingTcpRoute(\"tcpreject\", {\n action: {\n type: \"reject\",\n },\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight: 1,\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\ntcpreject = ovh.IpLoadBalancingTcpRoute(\"tcpreject\",\n action=ovh.IpLoadBalancingTcpRouteActionArgs(\n type=\"reject\",\n ),\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight=1)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var tcpreject = new Ovh.IpLoadBalancingTcpRoute(\"tcpreject\", new()\n {\n Action = new Ovh.Inputs.IpLoadBalancingTcpRouteActionArgs\n {\n Type = \"reject\",\n },\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n Weight = 1,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewIpLoadBalancingTcpRoute(ctx, \"tcpreject\", \u0026ovh.IpLoadBalancingTcpRouteArgs{\n\t\t\tAction: \u0026IpLoadBalancingTcpRouteActionArgs{\n\t\t\t\tType: pulumi.String(\"reject\"),\n\t\t\t},\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tWeight: pulumi.Int(1),\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.ovh.IpLoadBalancingTcpRoute;\nimport com.pulumi.ovh.IpLoadBalancingTcpRouteArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingTcpRouteActionArgs;\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 tcpreject = new IpLoadBalancingTcpRoute(\"tcpreject\", IpLoadBalancingTcpRouteArgs.builder() \n .action(IpLoadBalancingTcpRouteActionArgs.builder()\n .type(\"reject\")\n .build())\n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .weight(1)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n tcpreject:\n type: ovh:IpLoadBalancingTcpRoute\n properties:\n action:\n type: reject\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n weight: 1\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "action": { "$ref": "#/types/ovh:index/IpLoadBalancingTcpRouteAction:IpLoadBalancingTcpRouteAction", @@ -9874,7 +9874,7 @@ } }, "ovh:index/ipLoadBalancingTcpRouteRule:IpLoadBalancingTcpRouteRule": { - "description": "Manage rules for TCP route.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst reject = new ovh.IpLoadBalancingTcpRoute(\"reject\", {\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight: 1,\n frontendId: 11111,\n action: {\n type: \"reject\",\n },\n});\nconst examplerule = new ovh.IpLoadBalancingTcpRouteRule(\"examplerule\", {\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n routeId: reject.id,\n displayName: \"Match example.com host\",\n field: \"sni\",\n match: \"is\",\n negate: false,\n pattern: \"example.com\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nreject = ovh.IpLoadBalancingTcpRoute(\"reject\",\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight=1,\n frontend_id=11111,\n action=ovh.IpLoadBalancingTcpRouteActionArgs(\n type=\"reject\",\n ))\nexamplerule = ovh.IpLoadBalancingTcpRouteRule(\"examplerule\",\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n route_id=reject.id,\n display_name=\"Match example.com host\",\n field=\"sni\",\n match=\"is\",\n negate=False,\n pattern=\"example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var reject = new Ovh.IpLoadBalancingTcpRoute(\"reject\", new()\n {\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n Weight = 1,\n FrontendId = 11111,\n Action = new Ovh.Inputs.IpLoadBalancingTcpRouteActionArgs\n {\n Type = \"reject\",\n },\n });\n\n var examplerule = new Ovh.IpLoadBalancingTcpRouteRule(\"examplerule\", new()\n {\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n RouteId = reject.Id,\n DisplayName = \"Match example.com host\",\n Field = \"sni\",\n Match = \"is\",\n Negate = false,\n Pattern = \"example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\treject, err := ovh.NewIpLoadBalancingTcpRoute(ctx, \"reject\", \u0026ovh.IpLoadBalancingTcpRouteArgs{\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tWeight: pulumi.Int(1),\n\t\t\tFrontendId: pulumi.Int(11111),\n\t\t\tAction: \u0026IpLoadBalancingTcpRouteActionArgs{\n\t\t\t\tType: pulumi.String(\"reject\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewIpLoadBalancingTcpRouteRule(ctx, \"examplerule\", \u0026ovh.IpLoadBalancingTcpRouteRuleArgs{\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tRouteId: reject.ID(),\n\t\t\tDisplayName: pulumi.String(\"Match example.com host\"),\n\t\t\tField: pulumi.String(\"sni\"),\n\t\t\tMatch: pulumi.String(\"is\"),\n\t\t\tNegate: pulumi.Bool(false),\n\t\t\tPattern: pulumi.String(\"example.com\"),\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.ovh.IpLoadBalancingTcpRoute;\nimport com.pulumi.ovh.IpLoadBalancingTcpRouteArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingTcpRouteActionArgs;\nimport com.pulumi.ovh.IpLoadBalancingTcpRouteRule;\nimport com.pulumi.ovh.IpLoadBalancingTcpRouteRuleArgs;\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 reject = new IpLoadBalancingTcpRoute(\"reject\", IpLoadBalancingTcpRouteArgs.builder() \n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .weight(1)\n .frontendId(11111)\n .action(IpLoadBalancingTcpRouteActionArgs.builder()\n .type(\"reject\")\n .build())\n .build());\n\n var examplerule = new IpLoadBalancingTcpRouteRule(\"examplerule\", IpLoadBalancingTcpRouteRuleArgs.builder() \n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .routeId(reject.id())\n .displayName(\"Match example.com host\")\n .field(\"sni\")\n .match(\"is\")\n .negate(false)\n .pattern(\"example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n reject:\n type: ovh:IpLoadBalancingTcpRoute\n properties:\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n weight: 1\n frontendId: 11111\n action:\n type: reject\n examplerule:\n type: ovh:IpLoadBalancingTcpRouteRule\n properties:\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n routeId: ${reject.id}\n displayName: Match example.com host\n field: sni\n match: is\n negate: false\n pattern: example.com\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Manage rules for TCP route.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\n\nconst reject = new ovh.IpLoadBalancingTcpRoute(\"reject\", {\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight: 1,\n frontendId: 11111,\n action: {\n type: \"reject\",\n },\n});\nconst examplerule = new ovh.IpLoadBalancingTcpRouteRule(\"examplerule\", {\n serviceName: \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n routeId: reject.id,\n displayName: \"Match example.com host\",\n field: \"sni\",\n match: \"is\",\n negate: false,\n pattern: \"example.com\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nreject = ovh.IpLoadBalancingTcpRoute(\"reject\",\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n weight=1,\n frontend_id=11111,\n action=ovh.IpLoadBalancingTcpRouteActionArgs(\n type=\"reject\",\n ))\nexamplerule = ovh.IpLoadBalancingTcpRouteRule(\"examplerule\",\n service_name=\"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n route_id=reject.id,\n display_name=\"Match example.com host\",\n field=\"sni\",\n match=\"is\",\n negate=False,\n pattern=\"example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var reject = new Ovh.IpLoadBalancingTcpRoute(\"reject\", new()\n {\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n Weight = 1,\n FrontendId = 11111,\n Action = new Ovh.Inputs.IpLoadBalancingTcpRouteActionArgs\n {\n Type = \"reject\",\n },\n });\n\n var examplerule = new Ovh.IpLoadBalancingTcpRouteRule(\"examplerule\", new()\n {\n ServiceName = \"loadbalancer-xxxxxxxxxxxxxxxxxx\",\n RouteId = reject.Id,\n DisplayName = \"Match example.com host\",\n Field = \"sni\",\n Match = \"is\",\n Negate = false,\n Pattern = \"example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\treject, err := ovh.NewIpLoadBalancingTcpRoute(ctx, \"reject\", \u0026ovh.IpLoadBalancingTcpRouteArgs{\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tWeight: pulumi.Int(1),\n\t\t\tFrontendId: pulumi.Int(11111),\n\t\t\tAction: \u0026IpLoadBalancingTcpRouteActionArgs{\n\t\t\t\tType: pulumi.String(\"reject\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewIpLoadBalancingTcpRouteRule(ctx, \"examplerule\", \u0026ovh.IpLoadBalancingTcpRouteRuleArgs{\n\t\t\tServiceName: pulumi.String(\"loadbalancer-xxxxxxxxxxxxxxxxxx\"),\n\t\t\tRouteId: reject.ID(),\n\t\t\tDisplayName: pulumi.String(\"Match example.com host\"),\n\t\t\tField: pulumi.String(\"sni\"),\n\t\t\tMatch: pulumi.String(\"is\"),\n\t\t\tNegate: pulumi.Bool(false),\n\t\t\tPattern: pulumi.String(\"example.com\"),\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.ovh.IpLoadBalancingTcpRoute;\nimport com.pulumi.ovh.IpLoadBalancingTcpRouteArgs;\nimport com.pulumi.ovh.inputs.IpLoadBalancingTcpRouteActionArgs;\nimport com.pulumi.ovh.IpLoadBalancingTcpRouteRule;\nimport com.pulumi.ovh.IpLoadBalancingTcpRouteRuleArgs;\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 reject = new IpLoadBalancingTcpRoute(\"reject\", IpLoadBalancingTcpRouteArgs.builder() \n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .weight(1)\n .frontendId(11111)\n .action(IpLoadBalancingTcpRouteActionArgs.builder()\n .type(\"reject\")\n .build())\n .build());\n\n var examplerule = new IpLoadBalancingTcpRouteRule(\"examplerule\", IpLoadBalancingTcpRouteRuleArgs.builder() \n .serviceName(\"loadbalancer-xxxxxxxxxxxxxxxxxx\")\n .routeId(reject.id())\n .displayName(\"Match example.com host\")\n .field(\"sni\")\n .match(\"is\")\n .negate(false)\n .pattern(\"example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n reject:\n type: ovh:IpLoadBalancingTcpRoute\n properties:\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n weight: 1\n frontendId: 11111\n action:\n type: reject\n examplerule:\n type: ovh:IpLoadBalancingTcpRouteRule\n properties:\n serviceName: loadbalancer-xxxxxxxxxxxxxxxxxx\n routeId: ${reject.id}\n displayName: Match example.com host\n field: sni\n match: is\n negate: false\n pattern: example.com\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "displayName": { "type": "string", @@ -10114,7 +10114,7 @@ } }, "ovh:index/ipReverse:IpReverse": { - "description": "Provides a OVH IP reverse.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\n// Set the reverse of an IP\nconst test = new ovh.IpReverse(\"test\", {\n ip: \"192.0.2.0/24\",\n ipReverse: \"192.0.2.1\",\n reverse: \"example.com\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\n# Set the reverse of an IP\ntest = ovh.IpReverse(\"test\",\n ip=\"192.0.2.0/24\",\n ip_reverse=\"192.0.2.1\",\n reverse=\"example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Set the reverse of an IP\n var test = new Ovh.IpReverse(\"test\", new()\n {\n Ip = \"192.0.2.0/24\",\n IpReverseAddress = \"192.0.2.1\",\n Reverse = \"example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewIpReverse(ctx, \"test\", \u0026ovh.IpReverseArgs{\n\t\t\tIp: pulumi.String(\"192.0.2.0/24\"),\n\t\t\tIpReverse: pulumi.String(\"192.0.2.1\"),\n\t\t\tReverse: pulumi.String(\"example.com\"),\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.ovh.IpReverse;\nimport com.pulumi.ovh.IpReverseArgs;\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 test = new IpReverse(\"test\", IpReverseArgs.builder() \n .ip(\"192.0.2.0/24\")\n .ipReverse(\"192.0.2.1\")\n .reverse(\"example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Set the reverse of an IP\n test:\n type: ovh:IpReverse\n properties:\n ip: 192.0.2.0/24\n ipReverse: 192.0.2.1\n reverse: example.com\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a OVH IP reverse.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\n// Set the reverse of an IP\nconst test = new ovh.IpReverse(\"test\", {\n ip: \"192.0.2.0/24\",\n ipReverse: \"192.0.2.1\",\n reverse: \"example.com\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\n# Set the reverse of an IP\ntest = ovh.IpReverse(\"test\",\n ip=\"192.0.2.0/24\",\n ip_reverse=\"192.0.2.1\",\n reverse=\"example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Set the reverse of an IP\n var test = new Ovh.IpReverse(\"test\", new()\n {\n Ip = \"192.0.2.0/24\",\n IpReverseAddress = \"192.0.2.1\",\n Reverse = \"example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewIpReverse(ctx, \"test\", \u0026ovh.IpReverseArgs{\n\t\t\tIp: pulumi.String(\"192.0.2.0/24\"),\n\t\t\tIpReverse: pulumi.String(\"192.0.2.1\"),\n\t\t\tReverse: pulumi.String(\"example.com\"),\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.ovh.IpReverse;\nimport com.pulumi.ovh.IpReverseArgs;\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 test = new IpReverse(\"test\", IpReverseArgs.builder() \n .ip(\"192.0.2.0/24\")\n .ipReverse(\"192.0.2.1\")\n .reverse(\"example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Set the reverse of an IP\n test:\n type: ovh:IpReverse\n properties:\n ip: 192.0.2.0/24\n ipReverse: 192.0.2.1\n reverse: example.com\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "ip": { "type": "string", @@ -10194,7 +10194,7 @@ } }, "ovh:index/ipService:IpService": { - "description": "Orders an ip service.\n\n\n## Important\n\nThis resource orders an OVH product for a long period of time and may generate heavy costs !\nUse with caution.\n\n__NOTE__ 1: the \"default-payment-mean\" will scan your registered bank accounts, credit card and paypal payment means to find your default payment mean.\n\n__NOTE__ 2: this resource is in beta state. Use with caution.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n description: \"order ip block\",\n});\nconst ipblockOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"ip\",\n planCode: \"ip-v4-s30-ripe\",\n}));\nconst ipblockIpService = new ovh.IpService(\"ipblockIpService\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n paymentMean: \"ovh-account\",\n description: \"my ip block\",\n plan: {\n duration: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.planCode),\n pricingMode: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n configurations: [{\n label: \"country\",\n value: \"FR\",\n }],\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\",\n description=\"order ip block\")\nipblock_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"ip\",\n plan_code=\"ip-v4-s30-ripe\")\nipblock_ip_service = ovh.IpService(\"ipblockIpService\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n payment_mean=\"ovh-account\",\n description=\"my ip block\",\n plan=ovh.IpServicePlanArgs(\n duration=ipblock_order_cart_product_plan.selected_prices[0].duration,\n plan_code=ipblock_order_cart_product_plan.plan_code,\n pricing_mode=ipblock_order_cart_product_plan.selected_prices[0].pricing_mode,\n configurations=[ovh.IpServicePlanConfigurationArgs(\n label=\"country\",\n value=\"FR\",\n )],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n Description = \"order ip block\",\n });\n\n var ipblockOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"ip\",\n PlanCode = \"ip-v4-s30-ripe\",\n });\n\n var ipblockIpService = new Ovh.IpService(\"ipblockIpService\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n PaymentMean = \"ovh-account\",\n Description = \"my ip block\",\n Plan = new Ovh.Inputs.IpServicePlanArgs\n {\n Duration = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n Configurations = new[]\n {\n new Ovh.Inputs.IpServicePlanConfigurationArgs\n {\n Label = \"country\",\n Value = \"FR\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t\tDescription: pulumi.StringRef(\"order ip block\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tipblockOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"ip\",\n\t\t\tPlanCode: \"ip-v4-s30-ripe\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewIpService(ctx, \"ipblockIpService\", \u0026ovh.IpServiceArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tPaymentMean: pulumi.String(\"ovh-account\"),\n\t\t\tDescription: pulumi.String(\"my ip block\"),\n\t\t\tPlan: \u0026IpServicePlanArgs{\n\t\t\t\tDuration: pulumi.String(ipblockOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(ipblockOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(ipblockOrderCartProductPlan.SelectedPrices[0].PricingMode),\n\t\t\t\tConfigurations: IpServicePlanConfigurationArray{\n\t\t\t\t\t\u0026IpServicePlanConfigurationArgs{\n\t\t\t\t\t\tLabel: pulumi.String(\"country\"),\n\t\t\t\t\t\tValue: pulumi.String(\"FR\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.IpService;\nimport com.pulumi.ovh.IpServiceArgs;\nimport com.pulumi.ovh.inputs.IpServicePlanArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .description(\"order ip block\")\n .build());\n\n final var ipblockOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"ip\")\n .planCode(\"ip-v4-s30-ripe\")\n .build());\n\n var ipblockIpService = new IpService(\"ipblockIpService\", IpServiceArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .paymentMean(\"ovh-account\")\n .description(\"my ip block\")\n .plan(IpServicePlanArgs.builder()\n .duration(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .configurations(IpServicePlanConfigurationArgs.builder()\n .label(\"country\")\n .value(\"FR\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ipblockIpService:\n type: ovh:IpService\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n paymentMean: ovh-account\n description: my ip block\n plan:\n duration: ${ipblockOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${ipblockOrderCartProductPlan.planCode}\n pricingMode: ${ipblockOrderCartProductPlan.selectedPrices[0].pricingMode}\n configurations:\n - label: country\n value: FR\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n description: order ip block\n ipblockOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: ip\n planCode: ip-v4-s30-ripe\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Orders an ip service.\n\n\n## Important\n\nThis resource orders an OVH product for a long period of time and may generate heavy costs !\nUse with caution.\n\n__NOTE__ 1: the \"default-payment-mean\" will scan your registered bank accounts, credit card and paypal payment means to find your default payment mean.\n\n__NOTE__ 2: this resource is in beta state. Use with caution.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n description: \"order ip block\",\n});\nconst ipblockOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"ip\",\n planCode: \"ip-v4-s30-ripe\",\n}));\nconst ipblockIpService = new ovh.IpService(\"ipblockIpService\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n paymentMean: \"ovh-account\",\n description: \"my ip block\",\n plan: {\n duration: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.planCode),\n pricingMode: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n configurations: [{\n label: \"country\",\n value: \"FR\",\n }],\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\",\n description=\"order ip block\")\nipblock_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"ip\",\n plan_code=\"ip-v4-s30-ripe\")\nipblock_ip_service = ovh.IpService(\"ipblockIpService\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n payment_mean=\"ovh-account\",\n description=\"my ip block\",\n plan=ovh.IpServicePlanArgs(\n duration=ipblock_order_cart_product_plan.selected_prices[0].duration,\n plan_code=ipblock_order_cart_product_plan.plan_code,\n pricing_mode=ipblock_order_cart_product_plan.selected_prices[0].pricing_mode,\n configurations=[ovh.IpServicePlanConfigurationArgs(\n label=\"country\",\n value=\"FR\",\n )],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n Description = \"order ip block\",\n });\n\n var ipblockOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"ip\",\n PlanCode = \"ip-v4-s30-ripe\",\n });\n\n var ipblockIpService = new Ovh.IpService(\"ipblockIpService\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n PaymentMean = \"ovh-account\",\n Description = \"my ip block\",\n Plan = new Ovh.Inputs.IpServicePlanArgs\n {\n Duration = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n Configurations = new[]\n {\n new Ovh.Inputs.IpServicePlanConfigurationArgs\n {\n Label = \"country\",\n Value = \"FR\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t\tDescription: pulumi.StringRef(\"order ip block\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tipblockOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"ip\",\n\t\t\tPlanCode: \"ip-v4-s30-ripe\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewIpService(ctx, \"ipblockIpService\", \u0026ovh.IpServiceArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tPaymentMean: pulumi.String(\"ovh-account\"),\n\t\t\tDescription: pulumi.String(\"my ip block\"),\n\t\t\tPlan: \u0026IpServicePlanArgs{\n\t\t\t\tDuration: pulumi.String(ipblockOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(ipblockOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(ipblockOrderCartProductPlan.SelectedPrices[0].PricingMode),\n\t\t\t\tConfigurations: IpServicePlanConfigurationArray{\n\t\t\t\t\t\u0026IpServicePlanConfigurationArgs{\n\t\t\t\t\t\tLabel: pulumi.String(\"country\"),\n\t\t\t\t\t\tValue: pulumi.String(\"FR\"),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.IpService;\nimport com.pulumi.ovh.IpServiceArgs;\nimport com.pulumi.ovh.inputs.IpServicePlanArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .description(\"order ip block\")\n .build());\n\n final var ipblockOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"ip\")\n .planCode(\"ip-v4-s30-ripe\")\n .build());\n\n var ipblockIpService = new IpService(\"ipblockIpService\", IpServiceArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .paymentMean(\"ovh-account\")\n .description(\"my ip block\")\n .plan(IpServicePlanArgs.builder()\n .duration(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .configurations(IpServicePlanConfigurationArgs.builder()\n .label(\"country\")\n .value(\"FR\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ipblockIpService:\n type: ovh:IpService\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n paymentMean: ovh-account\n description: my ip block\n plan:\n duration: ${ipblockOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${ipblockOrderCartProductPlan.planCode}\n pricingMode: ${ipblockOrderCartProductPlan.selectedPrices[0].pricingMode}\n configurations:\n - label: country\n value: FR\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n description: order ip block\n ipblockOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: ip\n planCode: ip-v4-s30-ripe\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "canBeTerminated": { "type": "boolean", @@ -10379,7 +10379,7 @@ } }, "ovh:index/meIdentityUser:MeIdentityUser": { - "description": "Creates an identity user.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst myUser = new ovh.MeIdentityUser(\"my_user\", {\n description: \"Some custom description\",\n email: \"my_login@example.com\",\n group: \"DEFAULT\",\n login: \"my_login\",\n password: \"super-s3cr3t!password\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nmy_user = ovh.MeIdentityUser(\"myUser\",\n description=\"Some custom description\",\n email=\"my_login@example.com\",\n group=\"DEFAULT\",\n login=\"my_login\",\n password=\"super-s3cr3t!password\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myUser = new Ovh.MeIdentityUser(\"myUser\", new()\n {\n Description = \"Some custom description\",\n Email = \"my_login@example.com\",\n Group = \"DEFAULT\",\n Login = \"my_login\",\n Password = \"super-s3cr3t!password\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewMeIdentityUser(ctx, \"myUser\", \u0026ovh.MeIdentityUserArgs{\n\t\t\tDescription: pulumi.String(\"Some custom description\"),\n\t\t\tEmail: pulumi.String(\"my_login@example.com\"),\n\t\t\tGroup: pulumi.String(\"DEFAULT\"),\n\t\t\tLogin: pulumi.String(\"my_login\"),\n\t\t\tPassword: pulumi.String(\"super-s3cr3t!password\"),\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.ovh.MeIdentityUser;\nimport com.pulumi.ovh.MeIdentityUserArgs;\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 myUser = new MeIdentityUser(\"myUser\", MeIdentityUserArgs.builder() \n .description(\"Some custom description\")\n .email(\"my_login@example.com\")\n .group(\"DEFAULT\")\n .login(\"my_login\")\n .password(\"super-s3cr3t!password\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myUser:\n type: ovh:MeIdentityUser\n properties:\n description: Some custom description\n email: my_login@example.com\n group: DEFAULT\n login: my_login\n password: super-s3cr3t!password\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates an identity user.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst myUser = new ovh.MeIdentityUser(\"my_user\", {\n description: \"Some custom description\",\n email: \"my_login@example.com\",\n group: \"DEFAULT\",\n login: \"my_login\",\n password: \"super-s3cr3t!password\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nmy_user = ovh.MeIdentityUser(\"myUser\",\n description=\"Some custom description\",\n email=\"my_login@example.com\",\n group=\"DEFAULT\",\n login=\"my_login\",\n password=\"super-s3cr3t!password\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myUser = new Ovh.MeIdentityUser(\"myUser\", new()\n {\n Description = \"Some custom description\",\n Email = \"my_login@example.com\",\n Group = \"DEFAULT\",\n Login = \"my_login\",\n Password = \"super-s3cr3t!password\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewMeIdentityUser(ctx, \"myUser\", \u0026ovh.MeIdentityUserArgs{\n\t\t\tDescription: pulumi.String(\"Some custom description\"),\n\t\t\tEmail: pulumi.String(\"my_login@example.com\"),\n\t\t\tGroup: pulumi.String(\"DEFAULT\"),\n\t\t\tLogin: pulumi.String(\"my_login\"),\n\t\t\tPassword: pulumi.String(\"super-s3cr3t!password\"),\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.ovh.MeIdentityUser;\nimport com.pulumi.ovh.MeIdentityUserArgs;\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 myUser = new MeIdentityUser(\"myUser\", MeIdentityUserArgs.builder() \n .description(\"Some custom description\")\n .email(\"my_login@example.com\")\n .group(\"DEFAULT\")\n .login(\"my_login\")\n .password(\"super-s3cr3t!password\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myUser:\n type: ovh:MeIdentityUser\n properties:\n description: Some custom description\n email: my_login@example.com\n group: DEFAULT\n login: my_login\n password: super-s3cr3t!password\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "creation": { "type": "string", @@ -10814,7 +10814,7 @@ } }, "ovh:index/meIpxeScript:MeIpxeScript": { - "description": "Creates an IPXE Script.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst script = new ovh.MeIpxeScript(\"script\", {script: fs.readFileSync(`${path.module}/boot.ipxe`)});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nscript = ovh.MeIpxeScript(\"script\", script=(lambda path: open(path).read())(f\"{path['module']}/boot.ipxe\"))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var script = new Ovh.MeIpxeScript(\"script\", new()\n {\n Script = File.ReadAllText($\"{path.Module}/boot.ipxe\"),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"io/ioutil\"\n\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := ioutil.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\t_, err := ovh.NewMeIpxeScript(ctx, \"script\", \u0026ovh.MeIpxeScriptArgs{\n\t\t\tScript: readFileOrPanic(fmt.Sprintf(\"%v/boot.ipxe\", path.Module)),\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.ovh.MeIpxeScript;\nimport com.pulumi.ovh.MeIpxeScriptArgs;\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 script = new MeIpxeScript(\"script\", MeIpxeScriptArgs.builder() \n .script(Files.readString(Paths.get(String.format(\"%s/boot.ipxe\", path.module()))))\n .build());\n\n }\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates an IPXE Script.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as ovh from \"@lbrlabs/ovh\";\n\nconst script = new ovh.MeIpxeScript(\"script\", {script: fs.readFileSync(`${path.module}/boot.ipxe`)});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nscript = ovh.MeIpxeScript(\"script\", script=(lambda path: open(path).read())(f\"{path['module']}/boot.ipxe\"))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var script = new Ovh.MeIpxeScript(\"script\", new()\n {\n Script = File.ReadAllText($\"{path.Module}/boot.ipxe\"),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"io/ioutil\"\n\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := ioutil.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\t_, err := ovh.NewMeIpxeScript(ctx, \"script\", \u0026ovh.MeIpxeScriptArgs{\n\t\t\tScript: readFileOrPanic(fmt.Sprintf(\"%v/boot.ipxe\", path.Module)),\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.ovh.MeIpxeScript;\nimport com.pulumi.ovh.MeIpxeScriptArgs;\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 script = new MeIpxeScript(\"script\", MeIpxeScriptArgs.builder() \n .script(Files.readString(Paths.get(String.format(\"%s/boot.ipxe\", path.module()))))\n .build());\n\n }\n}\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "description": { "type": "string", @@ -10875,7 +10875,7 @@ } }, "ovh:index/meSshKey:MeSshKey": { - "description": "Creates an SSH Key.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst mykey = new ovh.MeSshKey(\"mykey\", {\n key: \"ssh-ed25519 AAAAC3...\",\n keyName: \"mykey\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nmykey = ovh.MeSshKey(\"mykey\",\n key=\"ssh-ed25519 AAAAC3...\",\n key_name=\"mykey\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mykey = new Ovh.MeSshKey(\"mykey\", new()\n {\n Key = \"ssh-ed25519 AAAAC3...\",\n KeyName = \"mykey\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewMeSshKey(ctx, \"mykey\", \u0026ovh.MeSshKeyArgs{\n\t\t\tKey: pulumi.String(\"ssh-ed25519 AAAAC3...\"),\n\t\t\tKeyName: pulumi.String(\"mykey\"),\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.ovh.MeSshKey;\nimport com.pulumi.ovh.MeSshKeyArgs;\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 mykey = new MeSshKey(\"mykey\", MeSshKeyArgs.builder() \n .key(\"ssh-ed25519 AAAAC3...\")\n .keyName(\"mykey\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mykey:\n type: ovh:MeSshKey\n properties:\n key: ssh-ed25519 AAAAC3...\n keyName: mykey\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Creates an SSH Key.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst mykey = new ovh.MeSshKey(\"mykey\", {\n key: \"ssh-ed25519 AAAAC3...\",\n keyName: \"mykey\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nmykey = ovh.MeSshKey(\"mykey\",\n key=\"ssh-ed25519 AAAAC3...\",\n key_name=\"mykey\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mykey = new Ovh.MeSshKey(\"mykey\", new()\n {\n Key = \"ssh-ed25519 AAAAC3...\",\n KeyName = \"mykey\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewMeSshKey(ctx, \"mykey\", \u0026ovh.MeSshKeyArgs{\n\t\t\tKey: pulumi.String(\"ssh-ed25519 AAAAC3...\"),\n\t\t\tKeyName: pulumi.String(\"mykey\"),\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.ovh.MeSshKey;\nimport com.pulumi.ovh.MeSshKeyArgs;\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 mykey = new MeSshKey(\"mykey\", MeSshKeyArgs.builder() \n .key(\"ssh-ed25519 AAAAC3...\")\n .keyName(\"mykey\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mykey:\n type: ovh:MeSshKey\n properties:\n key: ssh-ed25519 AAAAC3...\n keyName: mykey\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "default": { "type": "boolean", @@ -10937,7 +10937,7 @@ } }, "ovh:index/vrack:Vrack": { - "description": "Orders a vrack.\n\n## Important\n\nThis resource is in beta state. Use with caution.\n\n__NOTE__ : Currently, the OVH api doesn't support Vrack termination. You have to open a support ticket to ask for vrack termination. Otherwise, you may hit vrack quota issues.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n description: \"my vrack order cart\",\n});\nconst vrackOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"vrack\",\n planCode: \"vrack\",\n}));\nconst vrackVrack = new ovh.Vrack(\"vrackVrack\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n paymentMean: \"fidelity\",\n description: \"my vrack\",\n plan: {\n duration: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.planCode),\n pricingMode: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\",\n description=\"my vrack order cart\")\nvrack_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"vrack\",\n plan_code=\"vrack\")\nvrack_vrack = ovh.Vrack(\"vrackVrack\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n payment_mean=\"fidelity\",\n description=\"my vrack\",\n plan=ovh.VrackPlanArgs(\n duration=vrack_order_cart_product_plan.selected_prices[0].duration,\n plan_code=vrack_order_cart_product_plan.plan_code,\n pricing_mode=vrack_order_cart_product_plan.selected_prices[0].pricing_mode,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n Description = \"my vrack order cart\",\n });\n\n var vrackOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"vrack\",\n PlanCode = \"vrack\",\n });\n\n var vrackVrack = new Ovh.Vrack(\"vrackVrack\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n PaymentMean = \"fidelity\",\n Description = \"my vrack\",\n Plan = new Ovh.Inputs.VrackPlanArgs\n {\n Duration = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t\tDescription: pulumi.StringRef(\"my vrack order cart\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvrackOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"vrack\",\n\t\t\tPlanCode: \"vrack\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewVrack(ctx, \"vrackVrack\", \u0026ovh.VrackArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tPaymentMean: pulumi.String(\"fidelity\"),\n\t\t\tDescription: pulumi.String(\"my vrack\"),\n\t\t\tPlan: \u0026VrackPlanArgs{\n\t\t\t\tDuration: pulumi.String(vrackOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(vrackOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(vrackOrderCartProductPlan.SelectedPrices[0].PricingMode),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.Vrack;\nimport com.pulumi.ovh.VrackArgs;\nimport com.pulumi.ovh.inputs.VrackPlanArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .description(\"my vrack order cart\")\n .build());\n\n final var vrackOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"vrack\")\n .planCode(\"vrack\")\n .build());\n\n var vrackVrack = new Vrack(\"vrackVrack\", VrackArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .paymentMean(\"fidelity\")\n .description(\"my vrack\")\n .plan(VrackPlanArgs.builder()\n .duration(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vrackVrack:\n type: ovh:Vrack\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n paymentMean: fidelity\n description: my vrack\n plan:\n duration: ${vrackOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${vrackOrderCartProductPlan.planCode}\n pricingMode: ${vrackOrderCartProductPlan.selectedPrices[0].pricingMode}\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n description: my vrack order cart\n vrackOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: vrack\n planCode: vrack\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Orders a vrack.\n\n## Important\n\nThis resource is in beta state. Use with caution.\n\n__NOTE__ : Currently, the OVH api doesn't support Vrack termination. You have to open a support ticket to ask for vrack termination. Otherwise, you may hit vrack quota issues.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n description: \"my vrack order cart\",\n});\nconst vrackOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"vrack\",\n planCode: \"vrack\",\n}));\nconst vrackVrack = new ovh.Vrack(\"vrackVrack\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n paymentMean: \"fidelity\",\n description: \"my vrack\",\n plan: {\n duration: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.planCode),\n pricingMode: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n },\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\",\n description=\"my vrack order cart\")\nvrack_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"vrack\",\n plan_code=\"vrack\")\nvrack_vrack = ovh.Vrack(\"vrackVrack\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n payment_mean=\"fidelity\",\n description=\"my vrack\",\n plan=ovh.VrackPlanArgs(\n duration=vrack_order_cart_product_plan.selected_prices[0].duration,\n plan_code=vrack_order_cart_product_plan.plan_code,\n pricing_mode=vrack_order_cart_product_plan.selected_prices[0].pricing_mode,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n Description = \"my vrack order cart\",\n });\n\n var vrackOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"vrack\",\n PlanCode = \"vrack\",\n });\n\n var vrackVrack = new Ovh.Vrack(\"vrackVrack\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n PaymentMean = \"fidelity\",\n Description = \"my vrack\",\n Plan = new Ovh.Inputs.VrackPlanArgs\n {\n Duration = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t\tDescription: pulumi.StringRef(\"my vrack order cart\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvrackOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"vrack\",\n\t\t\tPlanCode: \"vrack\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ovh.NewVrack(ctx, \"vrackVrack\", \u0026ovh.VrackArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tPaymentMean: pulumi.String(\"fidelity\"),\n\t\t\tDescription: pulumi.String(\"my vrack\"),\n\t\t\tPlan: \u0026VrackPlanArgs{\n\t\t\t\tDuration: pulumi.String(vrackOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(vrackOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(vrackOrderCartProductPlan.SelectedPrices[0].PricingMode),\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.Vrack;\nimport com.pulumi.ovh.VrackArgs;\nimport com.pulumi.ovh.inputs.VrackPlanArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .description(\"my vrack order cart\")\n .build());\n\n final var vrackOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"vrack\")\n .planCode(\"vrack\")\n .build());\n\n var vrackVrack = new Vrack(\"vrackVrack\", VrackArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .paymentMean(\"fidelity\")\n .description(\"my vrack\")\n .plan(VrackPlanArgs.builder()\n .duration(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vrackVrack:\n type: ovh:Vrack\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n paymentMean: fidelity\n description: my vrack\n plan:\n duration: ${vrackOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${vrackOrderCartProductPlan.planCode}\n pricingMode: ${vrackOrderCartProductPlan.selectedPrices[0].pricingMode}\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n description: my vrack order cart\n vrackOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: vrack\n planCode: vrack\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "description": { "type": "string", @@ -11075,7 +11075,7 @@ } }, "ovh:index/vrackCloudProject:VrackCloudProject": { - "description": "Attach a Public Cloud Project to a VRack.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst vcp = new ovh.VrackCloudProject(\"vcp\", {\n projectId: \"67890\",\n serviceName: \"12345\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nvcp = ovh.VrackCloudProject(\"vcp\",\n project_id=\"67890\",\n service_name=\"12345\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vcp = new Ovh.VrackCloudProject(\"vcp\", new()\n {\n ProjectId = \"67890\",\n ServiceName = \"12345\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewVrackCloudProject(ctx, \"vcp\", \u0026ovh.VrackCloudProjectArgs{\n\t\t\tProjectId: pulumi.String(\"67890\"),\n\t\t\tServiceName: pulumi.String(\"12345\"),\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.ovh.VrackCloudProject;\nimport com.pulumi.ovh.VrackCloudProjectArgs;\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 vcp = new VrackCloudProject(\"vcp\", VrackCloudProjectArgs.builder() \n .projectId(\"67890\")\n .serviceName(\"12345\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vcp:\n type: ovh:VrackCloudProject\n properties:\n projectId: 67890\n serviceName: 12345\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Attach a Public Cloud Project to a VRack.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst vcp = new ovh.VrackCloudProject(\"vcp\", {\n projectId: \"67890\",\n serviceName: \"12345\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nvcp = ovh.VrackCloudProject(\"vcp\",\n project_id=\"67890\",\n service_name=\"12345\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vcp = new Ovh.VrackCloudProject(\"vcp\", new()\n {\n ProjectId = \"67890\",\n ServiceName = \"12345\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewVrackCloudProject(ctx, \"vcp\", \u0026ovh.VrackCloudProjectArgs{\n\t\t\tProjectId: pulumi.String(\"67890\"),\n\t\t\tServiceName: pulumi.String(\"12345\"),\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.ovh.VrackCloudProject;\nimport com.pulumi.ovh.VrackCloudProjectArgs;\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 vcp = new VrackCloudProject(\"vcp\", VrackCloudProjectArgs.builder() \n .projectId(\"67890\")\n .serviceName(\"12345\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vcp:\n type: ovh:VrackCloudProject\n properties:\n projectId: 67890\n serviceName: 12345\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "projectId": { "type": "string", @@ -11124,7 +11124,7 @@ } }, "ovh:index/vrackDedicatedServer:VrackDedicatedServer": { - "description": "Attach a dedicated server to a VRack.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst vds = new ovh.VrackDedicatedServer(\"vds\", {\n serverId: \"67890\",\n serviceName: \"XXXX\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nvds = ovh.VrackDedicatedServer(\"vds\",\n server_id=\"67890\",\n service_name=\"XXXX\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vds = new Ovh.VrackDedicatedServer(\"vds\", new()\n {\n ServerId = \"67890\",\n ServiceName = \"XXXX\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewVrackDedicatedServer(ctx, \"vds\", \u0026ovh.VrackDedicatedServerArgs{\n\t\t\tServerId: pulumi.String(\"67890\"),\n\t\t\tServiceName: pulumi.String(\"XXXX\"),\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.ovh.VrackDedicatedServer;\nimport com.pulumi.ovh.VrackDedicatedServerArgs;\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 vds = new VrackDedicatedServer(\"vds\", VrackDedicatedServerArgs.builder() \n .serverId(\"67890\")\n .serviceName(\"XXXX\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vds:\n type: ovh:VrackDedicatedServer\n properties:\n serverId: 67890\n serviceName: XXXX\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Attach a dedicated server to a VRack.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst vds = new ovh.VrackDedicatedServer(\"vds\", {\n serverId: \"67890\",\n serviceName: \"XXXX\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nvds = ovh.VrackDedicatedServer(\"vds\",\n server_id=\"67890\",\n service_name=\"XXXX\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vds = new Ovh.VrackDedicatedServer(\"vds\", new()\n {\n ServerId = \"67890\",\n ServiceName = \"XXXX\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewVrackDedicatedServer(ctx, \"vds\", \u0026ovh.VrackDedicatedServerArgs{\n\t\t\tServerId: pulumi.String(\"67890\"),\n\t\t\tServiceName: pulumi.String(\"XXXX\"),\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.ovh.VrackDedicatedServer;\nimport com.pulumi.ovh.VrackDedicatedServerArgs;\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 vds = new VrackDedicatedServer(\"vds\", VrackDedicatedServerArgs.builder() \n .serverId(\"67890\")\n .serviceName(\"XXXX\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vds:\n type: ovh:VrackDedicatedServer\n properties:\n serverId: 67890\n serviceName: XXXX\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "serverId": { "type": "string", @@ -11173,7 +11173,7 @@ } }, "ovh:index/vrackDedicatedServerInterface:VrackDedicatedServerInterface": { - "description": "Attach a Dedicated Server Network Interface to a VRack.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst vdsi = new ovh.VrackDedicatedServerInterface(\"vdsi\", {\n interfaceId: \"67890\",\n serviceName: \"12345\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nvdsi = ovh.VrackDedicatedServerInterface(\"vdsi\",\n interface_id=\"67890\",\n service_name=\"12345\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vdsi = new Ovh.VrackDedicatedServerInterface(\"vdsi\", new()\n {\n InterfaceId = \"67890\",\n ServiceName = \"12345\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewVrackDedicatedServerInterface(ctx, \"vdsi\", \u0026ovh.VrackDedicatedServerInterfaceArgs{\n\t\t\tInterfaceId: pulumi.String(\"67890\"),\n\t\t\tServiceName: pulumi.String(\"12345\"),\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.ovh.VrackDedicatedServerInterface;\nimport com.pulumi.ovh.VrackDedicatedServerInterfaceArgs;\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 vdsi = new VrackDedicatedServerInterface(\"vdsi\", VrackDedicatedServerInterfaceArgs.builder() \n .interfaceId(\"67890\")\n .serviceName(\"12345\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vdsi:\n type: ovh:VrackDedicatedServerInterface\n properties:\n interfaceId: 67890\n serviceName: 12345\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Attach a Dedicated Server Network Interface to a VRack.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst vdsi = new ovh.VrackDedicatedServerInterface(\"vdsi\", {\n interfaceId: \"67890\",\n serviceName: \"12345\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nvdsi = ovh.VrackDedicatedServerInterface(\"vdsi\",\n interface_id=\"67890\",\n service_name=\"12345\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var vdsi = new Ovh.VrackDedicatedServerInterface(\"vdsi\", new()\n {\n InterfaceId = \"67890\",\n ServiceName = \"12345\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewVrackDedicatedServerInterface(ctx, \"vdsi\", \u0026ovh.VrackDedicatedServerInterfaceArgs{\n\t\t\tInterfaceId: pulumi.String(\"67890\"),\n\t\t\tServiceName: pulumi.String(\"12345\"),\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.ovh.VrackDedicatedServerInterface;\nimport com.pulumi.ovh.VrackDedicatedServerInterfaceArgs;\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 vdsi = new VrackDedicatedServerInterface(\"vdsi\", VrackDedicatedServerInterfaceArgs.builder() \n .interfaceId(\"67890\")\n .serviceName(\"12345\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vdsi:\n type: ovh:VrackDedicatedServerInterface\n properties:\n interfaceId: 67890\n serviceName: 12345\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "interfaceId": { "type": "string", @@ -11222,7 +11222,7 @@ } }, "ovh:index/vrackIp:VrackIp": { - "description": "Attach a Ip block to a VRack.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\nimport * as pulumi_ovh from \"@lbrlabs/pulumi_ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n description: \"my cart\",\n});\nconst vrackOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"vrack\",\n planCode: \"vrack\",\n}));\nconst vrackVrack = new ovh.Vrack(\"vrackVrack\", {\n description: mycart.then(mycart =\u003e mycart.description),\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n paymentMean: \"fidelity\",\n plan: {\n duration: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.planCode),\n pricingMode: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n },\n});\nconst ipblockOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"ip\",\n planCode: \"ip-v4-s30-ripe\",\n}));\nconst ipblockIpService = new ovh.IpService(\"ipblockIpService\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n paymentMean: \"ovh-account\",\n description: mycart.then(mycart =\u003e mycart.description),\n plan: {\n duration: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.planCode),\n pricingMode: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n configurations: [{\n label: \"country\",\n value: \"FR\",\n }],\n },\n});\nconst vrackblock = new ovh.VrackIp(\"vrackblock\", {\n serviceName: vrackVrack.serviceName,\n block: ipblockIpService.ip,\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\",\n description=\"my cart\")\nvrack_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"vrack\",\n plan_code=\"vrack\")\nvrack_vrack = ovh.Vrack(\"vrackVrack\",\n description=mycart.description,\n ovh_subsidiary=mycart.ovh_subsidiary,\n payment_mean=\"fidelity\",\n plan=ovh.VrackPlanArgs(\n duration=vrack_order_cart_product_plan.selected_prices[0].duration,\n plan_code=vrack_order_cart_product_plan.plan_code,\n pricing_mode=vrack_order_cart_product_plan.selected_prices[0].pricing_mode,\n ))\nipblock_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"ip\",\n plan_code=\"ip-v4-s30-ripe\")\nipblock_ip_service = ovh.IpService(\"ipblockIpService\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n payment_mean=\"ovh-account\",\n description=mycart.description,\n plan=ovh.IpServicePlanArgs(\n duration=ipblock_order_cart_product_plan.selected_prices[0].duration,\n plan_code=ipblock_order_cart_product_plan.plan_code,\n pricing_mode=ipblock_order_cart_product_plan.selected_prices[0].pricing_mode,\n configurations=[ovh.IpServicePlanConfigurationArgs(\n label=\"country\",\n value=\"FR\",\n )],\n ))\nvrackblock = ovh.VrackIp(\"vrackblock\",\n service_name=vrack_vrack.service_name,\n block=ipblock_ip_service.ip)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n Description = \"my cart\",\n });\n\n var vrackOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"vrack\",\n PlanCode = \"vrack\",\n });\n\n var vrackVrack = new Ovh.Vrack(\"vrackVrack\", new()\n {\n Description = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Description),\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n PaymentMean = \"fidelity\",\n Plan = new Ovh.Inputs.VrackPlanArgs\n {\n Duration = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n },\n });\n\n var ipblockOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"ip\",\n PlanCode = \"ip-v4-s30-ripe\",\n });\n\n var ipblockIpService = new Ovh.IpService(\"ipblockIpService\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n PaymentMean = \"ovh-account\",\n Description = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Description),\n Plan = new Ovh.Inputs.IpServicePlanArgs\n {\n Duration = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n Configurations = new[]\n {\n new Ovh.Inputs.IpServicePlanConfigurationArgs\n {\n Label = \"country\",\n Value = \"FR\",\n },\n },\n },\n });\n\n var vrackblock = new Ovh.VrackIp(\"vrackblock\", new()\n {\n ServiceName = vrackVrack.ServiceName,\n Block = ipblockIpService.Ip,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t\tDescription: pulumi.StringRef(\"my cart\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvrackOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"vrack\",\n\t\t\tPlanCode: \"vrack\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvrackVrack, err := ovh.NewVrack(ctx, \"vrackVrack\", \u0026ovh.VrackArgs{\n\t\t\tDescription: pulumi.String(mycart.Description),\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tPaymentMean: pulumi.String(\"fidelity\"),\n\t\t\tPlan: \u0026VrackPlanArgs{\n\t\t\t\tDuration: pulumi.String(vrackOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(vrackOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(vrackOrderCartProductPlan.SelectedPrices[0].PricingMode),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tipblockOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"ip\",\n\t\t\tPlanCode: \"ip-v4-s30-ripe\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tipblockIpService, err := ovh.NewIpService(ctx, \"ipblockIpService\", \u0026ovh.IpServiceArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tPaymentMean: pulumi.String(\"ovh-account\"),\n\t\t\tDescription: pulumi.String(mycart.Description),\n\t\t\tPlan: \u0026IpServicePlanArgs{\n\t\t\t\tDuration: pulumi.String(ipblockOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(ipblockOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(ipblockOrderCartProductPlan.SelectedPrices[0].PricingMode),\n\t\t\t\tConfigurations: IpServicePlanConfigurationArray{\n\t\t\t\t\t\u0026IpServicePlanConfigurationArgs{\n\t\t\t\t\t\tLabel: pulumi.String(\"country\"),\n\t\t\t\t\t\tValue: pulumi.String(\"FR\"),\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\t_, err = ovh.NewVrackIp(ctx, \"vrackblock\", \u0026ovh.VrackIpArgs{\n\t\t\tServiceName: vrackVrack.ServiceName,\n\t\t\tBlock: ipblockIpService.Ip,\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.Vrack;\nimport com.pulumi.ovh.VrackArgs;\nimport com.pulumi.ovh.inputs.VrackPlanArgs;\nimport com.pulumi.ovh.IpService;\nimport com.pulumi.ovh.IpServiceArgs;\nimport com.pulumi.ovh.inputs.IpServicePlanArgs;\nimport com.pulumi.ovh.VrackIp;\nimport com.pulumi.ovh.VrackIpArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .description(\"my cart\")\n .build());\n\n final var vrackOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"vrack\")\n .planCode(\"vrack\")\n .build());\n\n var vrackVrack = new Vrack(\"vrackVrack\", VrackArgs.builder() \n .description(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.description()))\n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .paymentMean(\"fidelity\")\n .plan(VrackPlanArgs.builder()\n .duration(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .build())\n .build());\n\n final var ipblockOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"ip\")\n .planCode(\"ip-v4-s30-ripe\")\n .build());\n\n var ipblockIpService = new IpService(\"ipblockIpService\", IpServiceArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .paymentMean(\"ovh-account\")\n .description(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.description()))\n .plan(IpServicePlanArgs.builder()\n .duration(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .configurations(IpServicePlanConfigurationArgs.builder()\n .label(\"country\")\n .value(\"FR\")\n .build())\n .build())\n .build());\n\n var vrackblock = new VrackIp(\"vrackblock\", VrackIpArgs.builder() \n .serviceName(vrackVrack.serviceName())\n .block(ipblockIpService.ip())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vrackVrack:\n type: ovh:Vrack\n properties:\n description: ${mycart.description}\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n paymentMean: fidelity\n plan:\n duration: ${vrackOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${vrackOrderCartProductPlan.planCode}\n pricingMode: ${vrackOrderCartProductPlan.selectedPrices[0].pricingMode}\n ipblockIpService:\n type: ovh:IpService\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n paymentMean: ovh-account\n description: ${mycart.description}\n plan:\n duration: ${ipblockOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${ipblockOrderCartProductPlan.planCode}\n pricingMode: ${ipblockOrderCartProductPlan.selectedPrices[0].pricingMode}\n configurations:\n - label: country\n value: FR\n vrackblock:\n type: ovh:VrackIp\n properties:\n serviceName: ${vrackVrack.serviceName}\n block: ${ipblockIpService.ip}\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n description: my cart\n vrackOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: vrack\n planCode: vrack\n ipblockOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: ip\n planCode: ip-v4-s30-ripe\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Attach a Ip block to a VRack.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@lbrlabs/ovh\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst mycart = ovh.getOrderCart({\n ovhSubsidiary: \"fr\",\n description: \"my cart\",\n});\nconst vrackOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"vrack\",\n planCode: \"vrack\",\n}));\nconst vrackVrack = new ovh.Vrack(\"vrackVrack\", {\n description: mycart.then(mycart =\u003e mycart.description),\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n paymentMean: \"fidelity\",\n plan: {\n duration: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.planCode),\n pricingMode: vrackOrderCartProductPlan.then(vrackOrderCartProductPlan =\u003e vrackOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n },\n});\nconst ipblockOrderCartProductPlan = mycart.then(mycart =\u003e ovh.getOrderCartProductPlan({\n cartId: mycart.id,\n priceCapacity: \"renew\",\n product: \"ip\",\n planCode: \"ip-v4-s30-ripe\",\n}));\nconst ipblockIpService = new ovh.IpService(\"ipblockIpService\", {\n ovhSubsidiary: mycart.then(mycart =\u003e mycart.ovhSubsidiary),\n paymentMean: \"ovh-account\",\n description: mycart.then(mycart =\u003e mycart.description),\n plan: {\n duration: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.selectedPrices?[0]?.duration),\n planCode: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.planCode),\n pricingMode: ipblockOrderCartProductPlan.then(ipblockOrderCartProductPlan =\u003e ipblockOrderCartProductPlan.selectedPrices?[0]?.pricingMode),\n configurations: [{\n label: \"country\",\n value: \"FR\",\n }],\n },\n});\nconst vrackblock = new ovh.VrackIp(\"vrackblock\", {\n serviceName: vrackVrack.serviceName,\n block: ipblockIpService.ip,\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\nimport pulumi_ovh as ovh\n\nmycart = ovh.get_order_cart(ovh_subsidiary=\"fr\",\n description=\"my cart\")\nvrack_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"vrack\",\n plan_code=\"vrack\")\nvrack_vrack = ovh.Vrack(\"vrackVrack\",\n description=mycart.description,\n ovh_subsidiary=mycart.ovh_subsidiary,\n payment_mean=\"fidelity\",\n plan=ovh.VrackPlanArgs(\n duration=vrack_order_cart_product_plan.selected_prices[0].duration,\n plan_code=vrack_order_cart_product_plan.plan_code,\n pricing_mode=vrack_order_cart_product_plan.selected_prices[0].pricing_mode,\n ))\nipblock_order_cart_product_plan = ovh.get_order_cart_product_plan(cart_id=mycart.id,\n price_capacity=\"renew\",\n product=\"ip\",\n plan_code=\"ip-v4-s30-ripe\")\nipblock_ip_service = ovh.IpService(\"ipblockIpService\",\n ovh_subsidiary=mycart.ovh_subsidiary,\n payment_mean=\"ovh-account\",\n description=mycart.description,\n plan=ovh.IpServicePlanArgs(\n duration=ipblock_order_cart_product_plan.selected_prices[0].duration,\n plan_code=ipblock_order_cart_product_plan.plan_code,\n pricing_mode=ipblock_order_cart_product_plan.selected_prices[0].pricing_mode,\n configurations=[ovh.IpServicePlanConfigurationArgs(\n label=\"country\",\n value=\"FR\",\n )],\n ))\nvrackblock = ovh.VrackIp(\"vrackblock\",\n service_name=vrack_vrack.service_name,\n block=ipblock_ip_service.ip)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = Pulumi.Ovh;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mycart = Ovh.GetOrderCart.Invoke(new()\n {\n OvhSubsidiary = \"fr\",\n Description = \"my cart\",\n });\n\n var vrackOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"vrack\",\n PlanCode = \"vrack\",\n });\n\n var vrackVrack = new Ovh.Vrack(\"vrackVrack\", new()\n {\n Description = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Description),\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n PaymentMean = \"fidelity\",\n Plan = new Ovh.Inputs.VrackPlanArgs\n {\n Duration = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = vrackOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n },\n });\n\n var ipblockOrderCartProductPlan = Ovh.GetOrderCartProductPlan.Invoke(new()\n {\n CartId = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Id),\n PriceCapacity = \"renew\",\n Product = \"ip\",\n PlanCode = \"ip-v4-s30-ripe\",\n });\n\n var ipblockIpService = new Ovh.IpService(\"ipblockIpService\", new()\n {\n OvhSubsidiary = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.OvhSubsidiary),\n PaymentMean = \"ovh-account\",\n Description = mycart.Apply(getOrderCartResult =\u003e getOrderCartResult.Description),\n Plan = new Ovh.Inputs.IpServicePlanArgs\n {\n Duration = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.Duration),\n PlanCode = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.PlanCode),\n PricingMode = ipblockOrderCartProductPlan.Apply(getOrderCartProductPlanResult =\u003e getOrderCartProductPlanResult.SelectedPrices[0]?.PricingMode),\n Configurations = new[]\n {\n new Ovh.Inputs.IpServicePlanConfigurationArgs\n {\n Label = \"country\",\n Value = \"FR\",\n },\n },\n },\n });\n\n var vrackblock = new Ovh.VrackIp(\"vrackblock\", new()\n {\n ServiceName = vrackVrack.ServiceName,\n Block = ipblockIpService.Ip,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi-ovh/sdk/go/ovh\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmycart, err := ovh.GetOrderCart(ctx, \u0026GetOrderCartArgs{\n\t\t\tOvhSubsidiary: \"fr\",\n\t\t\tDescription: pulumi.StringRef(\"my cart\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvrackOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"vrack\",\n\t\t\tPlanCode: \"vrack\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvrackVrack, err := ovh.NewVrack(ctx, \"vrackVrack\", \u0026ovh.VrackArgs{\n\t\t\tDescription: pulumi.String(mycart.Description),\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tPaymentMean: pulumi.String(\"fidelity\"),\n\t\t\tPlan: \u0026VrackPlanArgs{\n\t\t\t\tDuration: pulumi.String(vrackOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(vrackOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(vrackOrderCartProductPlan.SelectedPrices[0].PricingMode),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tipblockOrderCartProductPlan, err := ovh.GetOrderCartProductPlan(ctx, \u0026GetOrderCartProductPlanArgs{\n\t\t\tCartId: mycart.Id,\n\t\t\tPriceCapacity: \"renew\",\n\t\t\tProduct: \"ip\",\n\t\t\tPlanCode: \"ip-v4-s30-ripe\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tipblockIpService, err := ovh.NewIpService(ctx, \"ipblockIpService\", \u0026ovh.IpServiceArgs{\n\t\t\tOvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),\n\t\t\tPaymentMean: pulumi.String(\"ovh-account\"),\n\t\t\tDescription: pulumi.String(mycart.Description),\n\t\t\tPlan: \u0026IpServicePlanArgs{\n\t\t\t\tDuration: pulumi.String(ipblockOrderCartProductPlan.SelectedPrices[0].Duration),\n\t\t\t\tPlanCode: pulumi.String(ipblockOrderCartProductPlan.PlanCode),\n\t\t\t\tPricingMode: pulumi.String(ipblockOrderCartProductPlan.SelectedPrices[0].PricingMode),\n\t\t\t\tConfigurations: IpServicePlanConfigurationArray{\n\t\t\t\t\t\u0026IpServicePlanConfigurationArgs{\n\t\t\t\t\t\tLabel: pulumi.String(\"country\"),\n\t\t\t\t\t\tValue: pulumi.String(\"FR\"),\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\t_, err = ovh.NewVrackIp(ctx, \"vrackblock\", \u0026ovh.VrackIpArgs{\n\t\t\tServiceName: vrackVrack.ServiceName,\n\t\t\tBlock: ipblockIpService.Ip,\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.ovh.OvhFunctions;\nimport com.pulumi.ovh.inputs.GetOrderCartArgs;\nimport com.pulumi.ovh.inputs.GetOrderCartProductPlanArgs;\nimport com.pulumi.ovh.Vrack;\nimport com.pulumi.ovh.VrackArgs;\nimport com.pulumi.ovh.inputs.VrackPlanArgs;\nimport com.pulumi.ovh.IpService;\nimport com.pulumi.ovh.IpServiceArgs;\nimport com.pulumi.ovh.inputs.IpServicePlanArgs;\nimport com.pulumi.ovh.VrackIp;\nimport com.pulumi.ovh.VrackIpArgs;\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 mycart = OvhFunctions.getOrderCart(GetOrderCartArgs.builder()\n .ovhSubsidiary(\"fr\")\n .description(\"my cart\")\n .build());\n\n final var vrackOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"vrack\")\n .planCode(\"vrack\")\n .build());\n\n var vrackVrack = new Vrack(\"vrackVrack\", VrackArgs.builder() \n .description(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.description()))\n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .paymentMean(\"fidelity\")\n .plan(VrackPlanArgs.builder()\n .duration(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(vrackOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .build())\n .build());\n\n final var ipblockOrderCartProductPlan = OvhFunctions.getOrderCartProductPlan(GetOrderCartProductPlanArgs.builder()\n .cartId(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.id()))\n .priceCapacity(\"renew\")\n .product(\"ip\")\n .planCode(\"ip-v4-s30-ripe\")\n .build());\n\n var ipblockIpService = new IpService(\"ipblockIpService\", IpServiceArgs.builder() \n .ovhSubsidiary(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.ovhSubsidiary()))\n .paymentMean(\"ovh-account\")\n .description(mycart.applyValue(getOrderCartResult -\u003e getOrderCartResult.description()))\n .plan(IpServicePlanArgs.builder()\n .duration(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].duration()))\n .planCode(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.planCode()))\n .pricingMode(ipblockOrderCartProductPlan.applyValue(getOrderCartProductPlanResult -\u003e getOrderCartProductPlanResult.selectedPrices()[0].pricingMode()))\n .configurations(IpServicePlanConfigurationArgs.builder()\n .label(\"country\")\n .value(\"FR\")\n .build())\n .build())\n .build());\n\n var vrackblock = new VrackIp(\"vrackblock\", VrackIpArgs.builder() \n .serviceName(vrackVrack.serviceName())\n .block(ipblockIpService.ip())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n vrackVrack:\n type: ovh:Vrack\n properties:\n description: ${mycart.description}\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n paymentMean: fidelity\n plan:\n duration: ${vrackOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${vrackOrderCartProductPlan.planCode}\n pricingMode: ${vrackOrderCartProductPlan.selectedPrices[0].pricingMode}\n ipblockIpService:\n type: ovh:IpService\n properties:\n ovhSubsidiary: ${mycart.ovhSubsidiary}\n paymentMean: ovh-account\n description: ${mycart.description}\n plan:\n duration: ${ipblockOrderCartProductPlan.selectedPrices[0].duration}\n planCode: ${ipblockOrderCartProductPlan.planCode}\n pricingMode: ${ipblockOrderCartProductPlan.selectedPrices[0].pricingMode}\n configurations:\n - label: country\n value: FR\n vrackblock:\n type: ovh:VrackIp\n properties:\n serviceName: ${vrackVrack.serviceName}\n block: ${ipblockIpService.ip}\nvariables:\n mycart:\n Fn::Invoke:\n Function: ovh:getOrderCart\n Arguments:\n ovhSubsidiary: fr\n description: my cart\n vrackOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: vrack\n planCode: vrack\n ipblockOrderCartProductPlan:\n Fn::Invoke:\n Function: ovh:getOrderCartProductPlan\n Arguments:\n cartId: ${mycart.id}\n priceCapacity: renew\n product: ip\n planCode: ip-v4-s30-ripe\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "block": { "type": "string", @@ -11298,7 +11298,7 @@ } }, "ovh:index/vrackIpLoadbalancing:VrackIpLoadbalancing": { - "description": "Attach a ip loadbalancing to a VRack.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst viplb = new ovh.VrackIpLoadbalancing(\"viplb\", {\n ipLoadbalancing: \"yyy\",\n serviceName: \"xxx\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_ovh as ovh\n\nviplb = ovh.VrackIpLoadbalancing(\"viplb\",\n ip_loadbalancing=\"yyy\",\n service_name=\"xxx\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var viplb = new Ovh.VrackIpLoadbalancing(\"viplb\", new()\n {\n IpLoadbalancing = \"yyy\",\n ServiceName = \"xxx\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewVrackIpLoadbalancing(ctx, \"viplb\", \u0026ovh.VrackIpLoadbalancingArgs{\n\t\t\tIpLoadbalancing: pulumi.String(\"yyy\"),\n\t\t\tServiceName: pulumi.String(\"xxx\"),\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.ovh.VrackIpLoadbalancing;\nimport com.pulumi.ovh.VrackIpLoadbalancingArgs;\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 viplb = new VrackIpLoadbalancing(\"viplb\", VrackIpLoadbalancingArgs.builder() \n .ipLoadbalancing(\"yyy\")\n .serviceName(\"xxx\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n viplb:\n type: ovh:VrackIpLoadbalancing\n properties:\n ipLoadbalancing: yyy\n serviceName: xxx\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Attach a ip loadbalancing to a VRack.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ovh from \"@pulumi/ovh\";\n\nconst viplb = new ovh.VrackIpLoadbalancing(\"viplb\", {\n ipLoadbalancing: \"yyy\",\n serviceName: \"xxx\",\n});\n```\n```python\nimport pulumi\nimport lbrlabs_ovh as ovh\n\nviplb = ovh.VrackIpLoadbalancing(\"viplb\",\n ip_loadbalancing=\"yyy\",\n service_name=\"xxx\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Ovh = lbrlabs.Ovh;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var viplb = new Ovh.VrackIpLoadbalancing(\"viplb\", new()\n {\n IpLoadbalancing = \"yyy\",\n ServiceName = \"xxx\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh\"\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 := ovh.NewVrackIpLoadbalancing(ctx, \"viplb\", \u0026ovh.VrackIpLoadbalancingArgs{\n\t\t\tIpLoadbalancing: pulumi.String(\"yyy\"),\n\t\t\tServiceName: pulumi.String(\"xxx\"),\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.ovh.VrackIpLoadbalancing;\nimport com.pulumi.ovh.VrackIpLoadbalancingArgs;\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 viplb = new VrackIpLoadbalancing(\"viplb\", VrackIpLoadbalancingArgs.builder() \n .ipLoadbalancing(\"yyy\")\n .serviceName(\"xxx\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n viplb:\n type: ovh:VrackIpLoadbalancing\n properties:\n ipLoadbalancing: yyy\n serviceName: xxx\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "ipLoadbalancing": { "type": "string", diff --git a/provider/resources.go b/provider/resources.go index 1c5aca96..cb06b78b 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -420,10 +420,10 @@ func Provider() tfbridge.ProviderInfo { "@types/node": "^10.0.0", // so we can access strongly typed node definitions. "@types/mime": "^2.0.0", }, - PackageName: "@lbrlabs/pulumi_ovh", + PackageName: "@lbrlabs/ovh", }, Python: &tfbridge.PythonInfo{ - PackageName: "lbrlabs_pulumi_ovh", + PackageName: "lbrlabs_ovh", Requires: map[string]string{ "pulumi": ">=3.0.0,<4.0.0", }, diff --git a/sdk/java/build/libs/com.pulumi.ovh.jar b/sdk/java/build/libs/com.pulumi.ovh.jar index dc2042b8..4a2b310f 100644 Binary files a/sdk/java/build/libs/com.pulumi.ovh.jar and b/sdk/java/build/libs/com.pulumi.ovh.jar differ diff --git a/sdk/nodejs/cloudProject.ts b/sdk/nodejs/cloudProject.ts index 4f49485c..e973462f 100644 --- a/sdk/nodejs/cloudProject.ts +++ b/sdk/nodejs/cloudProject.ts @@ -16,8 +16,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const mycart = ovh.getOrderCart({ * ovhSubsidiary: "fr", diff --git a/sdk/nodejs/cloudProjectContainerRegistry.ts b/sdk/nodejs/cloudProjectContainerRegistry.ts index a7767794..15d6da47 100644 --- a/sdk/nodejs/cloudProjectContainerRegistry.ts +++ b/sdk/nodejs/cloudProjectContainerRegistry.ts @@ -12,8 +12,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const regcap = ovh.getCloudProjectCapabilitiesContainerFilter({ * serviceName: "XXXXXX", diff --git a/sdk/nodejs/cloudProjectContainerRegistryUser.ts b/sdk/nodejs/cloudProjectContainerRegistryUser.ts index 236c2e3e..9c360b86 100644 --- a/sdk/nodejs/cloudProjectContainerRegistryUser.ts +++ b/sdk/nodejs/cloudProjectContainerRegistryUser.ts @@ -11,8 +11,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const registry = ovh.getCloudProjectContainerRegistry({ * serviceName: "XXXXXX", diff --git a/sdk/nodejs/cloudProjectDatabase.ts b/sdk/nodejs/cloudProjectDatabase.ts index eafb7ed0..adf24ad2 100644 --- a/sdk/nodejs/cloudProjectDatabase.ts +++ b/sdk/nodejs/cloudProjectDatabase.ts @@ -34,7 +34,7 @@ import * as utilities from "./utilities"; * To deploy an enterprise MongoDB service with three nodes on private network: * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; + * import * as ovh from "@lbrlabs/ovh"; * * const mongodb = new ovh.CloudProjectDatabase("mongodb", { * serviceName: _var.openstack_infos.project_id, diff --git a/sdk/nodejs/cloudProjectDatabaseIpRestriction.ts b/sdk/nodejs/cloudProjectDatabaseIpRestriction.ts index f45be5ce..26aa3576 100644 --- a/sdk/nodejs/cloudProjectDatabaseIpRestriction.ts +++ b/sdk/nodejs/cloudProjectDatabaseIpRestriction.ts @@ -11,8 +11,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const db = ovh.getCloudProjectDatabase({ * serviceName: "XXXX", diff --git a/sdk/nodejs/cloudProjectDatabasePostgresSqlUser.ts b/sdk/nodejs/cloudProjectDatabasePostgresSqlUser.ts index d39a811d..fe244c56 100644 --- a/sdk/nodejs/cloudProjectDatabasePostgresSqlUser.ts +++ b/sdk/nodejs/cloudProjectDatabasePostgresSqlUser.ts @@ -11,8 +11,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const postgresql = ovh.getCloudProjectDatabase({ * serviceName: "XXXX", diff --git a/sdk/nodejs/cloudProjectDatabaseUser.ts b/sdk/nodejs/cloudProjectDatabaseUser.ts index 8c3f99e2..e1cc3972 100644 --- a/sdk/nodejs/cloudProjectDatabaseUser.ts +++ b/sdk/nodejs/cloudProjectDatabaseUser.ts @@ -18,8 +18,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const db = ovh.getCloudProjectDatabase({ * serviceName: "XXXX", diff --git a/sdk/nodejs/cloudProjectKube.ts b/sdk/nodejs/cloudProjectKube.ts index 9cea3eb5..e03eacd2 100644 --- a/sdk/nodejs/cloudProjectKube.ts +++ b/sdk/nodejs/cloudProjectKube.ts @@ -12,7 +12,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; + * import * as ovh from "@lbrlabs/ovh"; * * const mykube = new ovh.CloudProjectKube("mykube", { * serviceName: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", diff --git a/sdk/nodejs/cloudProjectKubeOidc.ts b/sdk/nodejs/cloudProjectKubeOidc.ts index 78385147..464676b1 100644 --- a/sdk/nodejs/cloudProjectKubeOidc.ts +++ b/sdk/nodejs/cloudProjectKubeOidc.ts @@ -11,7 +11,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; + * import * as ovh from "@lbrlabs/ovh"; * * const my_oidc = new ovh.CloudProjectKubeOidc("my-oidc", { * serviceName: _var.projectid, diff --git a/sdk/nodejs/dbaasLogsInput.ts b/sdk/nodejs/dbaasLogsInput.ts index dfa93200..e3d23854 100644 --- a/sdk/nodejs/dbaasLogsInput.ts +++ b/sdk/nodejs/dbaasLogsInput.ts @@ -12,8 +12,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const logstash = ovh.getDbaasLogsInputEngine({ * name: "logstash", diff --git a/sdk/nodejs/dedicatedCephAcl.ts b/sdk/nodejs/dedicatedCephAcl.ts index 51f99a1c..a349340e 100644 --- a/sdk/nodejs/dedicatedCephAcl.ts +++ b/sdk/nodejs/dedicatedCephAcl.ts @@ -11,8 +11,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const my-ceph = ovh.getDedicatedCeph({ * serviceName: "94d423da-0e55-45f2-9812-836460a19939", diff --git a/sdk/nodejs/domainZone.ts b/sdk/nodejs/domainZone.ts index 5bb514e1..e2a1496e 100644 --- a/sdk/nodejs/domainZone.ts +++ b/sdk/nodejs/domainZone.ts @@ -16,8 +16,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const mycart = ovh.getOrderCart({ * ovhSubsidiary: "fr", diff --git a/sdk/nodejs/ipLoadBalancing.ts b/sdk/nodejs/ipLoadBalancing.ts index f520cf29..6dfb1051 100644 --- a/sdk/nodejs/ipLoadBalancing.ts +++ b/sdk/nodejs/ipLoadBalancing.ts @@ -21,8 +21,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const mycart = ovh.getOrderCart({ * ovhSubsidiary: "fr", diff --git a/sdk/nodejs/ipLoadBalancingTcpRouteRule.ts b/sdk/nodejs/ipLoadBalancingTcpRouteRule.ts index ce8aea36..413f10c1 100644 --- a/sdk/nodejs/ipLoadBalancingTcpRouteRule.ts +++ b/sdk/nodejs/ipLoadBalancingTcpRouteRule.ts @@ -11,7 +11,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; + * import * as ovh from "@lbrlabs/ovh"; * * const reject = new ovh.IpLoadBalancingTcpRoute("reject", { * serviceName: "loadbalancer-xxxxxxxxxxxxxxxxxx", diff --git a/sdk/nodejs/ipService.ts b/sdk/nodejs/ipService.ts index 2cdbbed5..a1238c1d 100644 --- a/sdk/nodejs/ipService.ts +++ b/sdk/nodejs/ipService.ts @@ -21,8 +21,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const mycart = ovh.getOrderCart({ * ovhSubsidiary: "fr", diff --git a/sdk/nodejs/meIpxeScript.ts b/sdk/nodejs/meIpxeScript.ts index 28b3f666..5e4377c3 100644 --- a/sdk/nodejs/meIpxeScript.ts +++ b/sdk/nodejs/meIpxeScript.ts @@ -12,7 +12,7 @@ import * as utilities from "./utilities"; * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fs from "fs"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; + * import * as ovh from "@lbrlabs/ovh"; * * const script = new ovh.MeIpxeScript("script", {script: fs.readFileSync(`${path.module}/boot.ipxe`)}); * ``` diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index 77074fd0..9a5defe5 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -1,5 +1,5 @@ { - "name": "@lbrlabs/pulumi_ovh", + "name": "@lbrlabs/ovh", "version": "${VERSION}", "description": "A Pulumi package for creating and managing OVH cloud resources.", "keywords": [ diff --git a/sdk/nodejs/vrack.ts b/sdk/nodejs/vrack.ts index 28796e72..db7a0ae5 100644 --- a/sdk/nodejs/vrack.ts +++ b/sdk/nodejs/vrack.ts @@ -18,8 +18,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const mycart = ovh.getOrderCart({ * ovhSubsidiary: "fr", diff --git a/sdk/nodejs/vrackIp.ts b/sdk/nodejs/vrackIp.ts index 75407fe9..fcaa51f0 100644 --- a/sdk/nodejs/vrackIp.ts +++ b/sdk/nodejs/vrackIp.ts @@ -11,8 +11,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as ovh from "@lbrlabs/ovh"; * import * as ovh from "@pulumi/ovh"; - * import * as pulumi_ovh from "@lbrlabs/pulumi_ovh"; * * const mycart = ovh.getOrderCart({ * ovhSubsidiary: "fr", diff --git a/sdk/python/setup.py b/sdk/python/setup.py index e08a6d8d..7c2aab62 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -37,7 +37,7 @@ def readme(): return "ovh Pulumi Package - Development Version" -setup(name='lbrlabs_pulumi_ovh', +setup(name='lbrlabs_ovh', version=VERSION, description="A Pulumi package for creating and managing OVH cloud resources.", long_description=readme(), @@ -53,7 +53,7 @@ def readme(): license='Apache-2.0', packages=find_packages(), package_data={ - 'lbrlabs_pulumi_ovh': [ + 'lbrlabs_ovh': [ 'py.typed', 'pulumi-plugin.json', ]