Skip to content

Commit

Permalink
Automated Pulumi/Pulumi upgrade (#3726)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot authored Nov 25, 2024
1 parent fd3945c commit 147ea9e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .pulumi.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.138.0
3.140.0
1 change: 1 addition & 0 deletions .schema-tools.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.6.0
2 changes: 1 addition & 1 deletion provider/cmd/pulumi-resource-azure-native/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -627326,7 +627326,7 @@
]
},
"azure-native:datamigration:ServiceTask": {
"description": "A task resource\nAzure REST API version: 2021-06-30.\n\nOther available API versions: 2022-03-30-preview, 2023-07-15-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Tasks_CreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var serviceTask = new AzureNative.DataMigration.ServiceTask(\"serviceTask\", new()\n {\n GroupName = \"DmsSdkRg\",\n Properties = \n {\n { \"input\", new AzureNative.DataMigration.Inputs.ConnectToSourcePostgreSqlSyncTaskInputArgs\n {\n ServerVersion = \"NA\",\n } },\n { \"taskType\", \"Service.Check.OCI\" },\n },\n ServiceName = \"DmsSdkService\",\n TaskName = \"DmsSdkTask\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatamigration \"github.com/pulumi/pulumi-azure-native-sdk/datamigration/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := datamigration.NewServiceTask(ctx, \"serviceTask\", \u0026datamigration.ServiceTaskArgs{\nGroupName: pulumi.String(\"DmsSdkRg\"),\nProperties: interface{}{\nInput: \u0026datamigration.MongoDbConnectionInfoArgs{\nServerVersion: \"NA\",\n},\nTaskType: pulumi.String(\"Service.Check.OCI\"),\n},\nServiceName: pulumi.String(\"DmsSdkService\"),\nTaskName: pulumi.String(\"DmsSdkTask\"),\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datamigration.ServiceTask;\nimport com.pulumi.azurenative.datamigration.ServiceTaskArgs;\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 serviceTask = new ServiceTask(\"serviceTask\", ServiceTaskArgs.builder()\n .groupName(\"DmsSdkRg\")\n .properties(ConnectToMongoDbTaskPropertiesArgs.builder()\n .input(MongoDbConnectionInfoArgs.builder()\n .serverVersion(\"NA\")\n .build())\n .taskType(\"Service.Check.OCI\")\n .build())\n .serviceName(\"DmsSdkService\")\n .taskName(\"DmsSdkTask\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst serviceTask = new azure_native.datamigration.ServiceTask(\"serviceTask\", {\n groupName: \"DmsSdkRg\",\n properties: {\n input: {\n serverVersion: \"NA\",\n },\n taskType: \"Service.Check.OCI\",\n },\n serviceName: \"DmsSdkService\",\n taskName: \"DmsSdkTask\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice_task = azure_native.datamigration.ServiceTask(\"serviceTask\",\n group_name=\"DmsSdkRg\",\n properties={\n \"input\": {\n \"server_version\": \"NA\",\n },\n \"task_type\": \"Service.Check.OCI\",\n },\n service_name=\"DmsSdkService\",\n task_name=\"DmsSdkTask\")\n\n```\n\n```yaml\nresources:\n serviceTask:\n type: azure-native:datamigration:ServiceTask\n properties:\n groupName: DmsSdkRg\n properties:\n input:\n serverVersion: NA\n taskType: Service.Check.OCI\n serviceName: DmsSdkService\n taskName: DmsSdkTask\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:datamigration:ServiceTask DmsSdkTask /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName} \n```\n",
"description": "A task resource\nAzure REST API version: 2021-06-30.\n\nOther available API versions: 2022-03-30-preview, 2023-07-15-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Tasks_CreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var serviceTask = new AzureNative.DataMigration.ServiceTask(\"serviceTask\", new()\n {\n GroupName = \"DmsSdkRg\",\n Properties = \n {\n { \"input\", new AzureNative.DataMigration.Inputs.MongoDbConnectionInfoArgs\n {\n ServerVersion = \"NA\",\n } },\n { \"taskType\", \"Service.Check.OCI\" },\n },\n ServiceName = \"DmsSdkService\",\n TaskName = \"DmsSdkTask\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tdatamigration \"github.com/pulumi/pulumi-azure-native-sdk/datamigration/v2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := datamigration.NewServiceTask(ctx, \"serviceTask\", \u0026datamigration.ServiceTaskArgs{\nGroupName: pulumi.String(\"DmsSdkRg\"),\nProperties: interface{}{\nInput: \u0026datamigration.MongoDbConnectionInfoArgs{\nServerVersion: \"NA\",\n},\nTaskType: pulumi.String(\"Service.Check.OCI\"),\n},\nServiceName: pulumi.String(\"DmsSdkService\"),\nTaskName: pulumi.String(\"DmsSdkTask\"),\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.datamigration.ServiceTask;\nimport com.pulumi.azurenative.datamigration.ServiceTaskArgs;\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 serviceTask = new ServiceTask(\"serviceTask\", ServiceTaskArgs.builder()\n .groupName(\"DmsSdkRg\")\n .properties(ConnectToMongoDbTaskPropertiesArgs.builder()\n .input(MongoDbConnectionInfoArgs.builder()\n .serverVersion(\"NA\")\n .build())\n .taskType(\"Service.Check.OCI\")\n .build())\n .serviceName(\"DmsSdkService\")\n .taskName(\"DmsSdkTask\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst serviceTask = new azure_native.datamigration.ServiceTask(\"serviceTask\", {\n groupName: \"DmsSdkRg\",\n properties: {\n input: {\n serverVersion: \"NA\",\n },\n taskType: \"Service.Check.OCI\",\n },\n serviceName: \"DmsSdkService\",\n taskName: \"DmsSdkTask\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice_task = azure_native.datamigration.ServiceTask(\"serviceTask\",\n group_name=\"DmsSdkRg\",\n properties={\n \"input\": {\n \"server_version\": \"NA\",\n },\n \"task_type\": \"Service.Check.OCI\",\n },\n service_name=\"DmsSdkService\",\n task_name=\"DmsSdkTask\")\n\n```\n\n```yaml\nresources:\n serviceTask:\n type: azure-native:datamigration:ServiceTask\n properties:\n groupName: DmsSdkRg\n properties:\n input:\n serverVersion: NA\n taskType: Service.Check.OCI\n serviceName: DmsSdkService\n taskName: DmsSdkTask\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:datamigration:ServiceTask DmsSdkTask /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName} \n```\n",
"properties": {
"etag": {
"type": "string",
Expand Down
6 changes: 3 additions & 3 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ require (
github.com/Azure/go-autorest/autorest v0.11.29
github.com/blang/semver v3.5.1+incompatible
github.com/brianvoe/gofakeit/v6 v6.16.0
github.com/deckarep/golang-set/v2 v2.5.0
github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813
github.com/gkampitakis/go-snaps v0.4.10
github.com/go-openapi/jsonreference v0.19.6
Expand All @@ -29,8 +30,8 @@ require (
github.com/pkg/errors v0.9.1
github.com/pulumi/pulumi-java/pkg v0.17.0
github.com/pulumi/pulumi-yaml v1.11.2
github.com/pulumi/pulumi/pkg/v3 v3.138.0
github.com/pulumi/pulumi/sdk/v3 v3.138.0
github.com/pulumi/pulumi/pkg/v3 v3.140.0
github.com/pulumi/pulumi/sdk/v3 v3.140.0
github.com/schollz/progressbar/v3 v3.5.0
github.com/segmentio/encoding v0.3.5
github.com/stretchr/testify v1.9.0
Expand Down Expand Up @@ -67,7 +68,6 @@ require (
github.com/cloudflare/circl v1.3.7 // indirect
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/deckarep/golang-set/v2 v2.5.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/gkampitakis/ciinfo v0.2.5 // indirect
github.com/gkampitakis/go-diff v1.3.2 // indirect
Expand Down
8 changes: 4 additions & 4 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,10 @@ github.com/pulumi/pulumi-java/pkg v0.17.0 h1:KmaVLrVmlkzShOfaJNJDlckorbFm8dM/C7L
github.com/pulumi/pulumi-java/pkg v0.17.0/go.mod h1:ji4U4H7t81X4aaE88D9+z5CmKH/QoLwQi9N1iGl+2KQ=
github.com/pulumi/pulumi-yaml v1.11.2 h1:MU7TTNbruGCSgNHhaBygjIbLWm3WSbd1q98GpMIgQzE=
github.com/pulumi/pulumi-yaml v1.11.2/go.mod h1:RdXRBupRGGAD1kbYNG1V1h6pyFnXisvQsl0AANvVjGI=
github.com/pulumi/pulumi/pkg/v3 v3.138.0 h1:a+MMvCrvsju4YFVYEwPBtcW7XqsEIV3B+FMblisxEkM=
github.com/pulumi/pulumi/pkg/v3 v3.138.0/go.mod h1:xpaeNeKmM2KLafWwm8TlvJGbWtwEwlrK88U6FvXucpY=
github.com/pulumi/pulumi/sdk/v3 v3.138.0 h1:1feN0YU1dHnbNw+cHaenmx3AgU0DEiKQbvjxaGQuShk=
github.com/pulumi/pulumi/sdk/v3 v3.138.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI=
github.com/pulumi/pulumi/pkg/v3 v3.140.0 h1:/bvHa19HY/6qHWvuAOVII8qr72MDGGczBWlPYlPo3j0=
github.com/pulumi/pulumi/pkg/v3 v3.140.0/go.mod h1:rcTtSyisd7BzZTugNk/s9zlYgX9S0S10+pha3Tko6yM=
github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU=
github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI=
github.com/redis/go-redis/v9 v9.6.1 h1:HHDteefn6ZkTtY5fGUE8tj8uy85AHk6zP7CpzIAM0y4=
github.com/redis/go-redis/v9 v9.6.1/go.mod h1:0C0c6ycQsdpVNQpxb1njEQIqkx5UcsM8FJCQLgE9+RA=
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
Expand Down

0 comments on commit 147ea9e

Please sign in to comment.